Repository navigation
docs(agents): note graphify update cadence is periodic, not per-edit - #497
Merged
Merged
Conversation
…s to ~4.3k words AGENTS.md is @-imported by CLAUDE.md, so it loads into every agent session. It had grown to 13,291 words (~16-18k tokens spent before any work starts). This is a pure relocation/compression pass (#413): same rules, same rationale, reachable by link, but no longer resident. - Move the earned narrative from every oversized Conventions bullet, the "Writing a guard" section, "CI security gates", and "Releases" into per-topic records under docs/decisions/ (verbatim, so nothing is lost), plus an index at docs/decisions/README.md. - Leave each bullet as rule + one-line consequence + link. No Conventions bullet now exceeds ~150 words; the five already-short bullets keep their rationale inline. - Keep the canonical release-provenance boundary paragraph resident in AGENTS.md; README.md and the ci.yml comment still summarise and point to it, so the three copies stay in agreement. The releases record defers that one paragraph back up rather than forking a fourth copy. - README.md release section is marked as the how-to half and cross-links the AGENTS.md invariants + the internals record. Word counts: AGENTS.md 13,291 -> 4,337 (67% reduction, target ~6,000); docs/decisions total 12,329 across 18 files. Unchanged AGENTS.md sections verified byte-identical; all decision-doc links resolve. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LSkqgsC9Sj4arUdevUSJfJ
The rule read as "after every code change," which doesn't match how the graph is actually kept current. Frequency isn't settled yet.
# Conflicts: # AGENTS.md # docs/decisions/277-spa-e2e.md # docs/decisions/351-releases.md # docs/decisions/README.md
Bundling a graph regeneration into every code-change commit inflates PRs with unrelated changed lines, working against keeping PRs small.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AGENTS.md's graphify rules said to rungraphify update .after every code change. That's changed to note the graph should be updated periodically, with the exact cadence still unknown.Test plan