Skip to content

chore(agents): batch graphify doc updates instead of per-PR - #109

Merged
wine-fall merged 1 commit into
mainfrom
zachg-0807--graphify-batch-update
Aug 7, 2026
Merged

chore(agents): batch graphify doc updates instead of per-PR#109
wine-fall merged 1 commit into
mainfrom
zachg-0807--graphify-batch-update

Conversation

@wine-fall

Copy link
Copy Markdown
Owner

What

AGENTS.md's graphify rule required a by-hand /graphify --update after every
spec/doc edit. In practice sessions either forgot it (the #103 logo sat
unindexed for a week) or paid a multi-minute update at the tail of every
doc-touching PR (the retire-invites wrap-up). User call, 2026-08-07: batch it.

New rule: never per-PR — run /graphify --update once ~10 PRs have landed
since the last update, or when a graph query visibly misses recent docs. The
post-commit hook still rebuilds for code changes automatically; nothing else
changes.

Verified

  • pnpm test 45 files / 594 passed; tsc --noEmit clean; oxlint clean
    (doc-only change — gates run as ritual).
  • Peer review (codex gpt-5.5 xhigh): 0 findings — "does not change executable
    code".

AI coding brief

Original request — "改改 CLAUDE.md……不要每次都去 update,起码过了 10 个 PR
再走 update" via /murmur-ship. The why: the per-PR manual update was observed
costing minutes at the end of a doc-heavy PR while ALSO being silently skipped
by other sessions — a rule that is both expensive and unenforced is a bad rule.

Manual interventions — none beyond the request itself.

Retro — trivially scoped ship; the only judgment was wording the trigger
("~10 PRs or a visibly stale query") so the next agent can act on it without
counting commits precisely.

🤖 Generated with Claude Code

Doc/spec edits no longer owe a by-hand /graphify --update on every PR:
the update is batched — run once ~10 PRs have landed since the last one,
or when a graph query visibly misses recent docs. The post-commit hook
still rebuilds for code changes on its own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@wine-fall
wine-fall merged commit 52630a8 into main Aug 7, 2026
3 checks passed
@wine-fall
wine-fall deleted the zachg-0807--graphify-batch-update branch August 7, 2026 03:27
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.

1 participant