Skip to content

docs(agents): note graphify update cadence is periodic, not per-edit - #497

Merged
mforce merged 4 commits into
mainfrom
claude/github-issue-413-2t0jgw
Aug 10, 2026
Merged

mforce merged 4 commits into
mainfrom
claude/github-issue-413-2t0jgw

Conversation

@mforce

@mforce mforce commented Aug 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • AGENTS.md's graphify rules said to run graphify update . after every code change. That's changed to note the graph should be updated periodically, with the exact cadence still unknown.

Test plan

  • Docs-only change; no build/test impact.

claude added 4 commits August 4, 2026 00:00
…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.
@mforce
mforce merged commit fb53d1f into main Aug 10, 2026
9 checks passed
@mforce
mforce deleted the claude/github-issue-413-2t0jgw branch August 10, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants