Reduce subagent overhead in docs/claude delegation rules - #44
Merged
Conversation
Prior thresholds (delegate past ~3 files, fresh-context validation for nearly every change) were tuned for a large/high-risk-change assumption and were burning the token budget on routine tasks in this small, single-maintainer repo. Raise the delegation threshold, make direct work the default, and reserve fresh-context validation for genuinely high-risk changes and edits to protected docs/claude/* files. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
ORCHESTRATION.mdfrom ~3 files/400 lines to ~8 files/1500 lines, and flip the default from "when in doubt, delegate" to "when in doubt, do it directly"JUDGMENT.md's docs/memory checklist no longer requires fresh-context read-back for every memory/README edit — only for edits to protecteddocs/claude/*rule filesMAINTENANCE.mdconsolidation passes only spawn a review agent for large, repo-wide rewritesLESSONS.mdentry explaining whyWhy
The prior rules were tuned for a large/high-risk-change assumption and were causing routine feature work to spawn many subagents and background processes, exhausting the token budget for a fresh session.
Test plan
🤖 Generated with Claude Code