Skip to content

Reduce subagent overhead in docs/claude delegation rules - #44

Merged
derekl-beep merged 1 commit into
mainfrom
claude/reduce-subagent-overhead
Jul 9, 2026
Merged

Reduce subagent overhead in docs/claude delegation rules#44
derekl-beep merged 1 commit into
mainfrom
claude/reduce-subagent-overhead

Conversation

@derekl-beep

Copy link
Copy Markdown
Owner

Summary

  • Raise the delegation threshold in ORCHESTRATION.md from ~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"
  • Drop the blanket fresh-context validation-agent requirement; routine changes are validated by actually running tests/build, not a second agent re-reading the diff
  • JUDGMENT.md's docs/memory checklist no longer requires fresh-context read-back for every memory/README edit — only for edits to protected docs/claude/* rule files
  • MAINTENANCE.md consolidation passes only spawn a review agent for large, repo-wide rewrites
  • Logged the change as a dated LESSONS.md entry explaining why

Why

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

  • Re-read edited sections for internal consistency (done manually — no dangling references to removed validation steps)
  • Next feature/bugfix session should show zero-to-one subagent spawns for typical tasks instead of several

🤖 Generated with Claude Code

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>
@derekl-beep
derekl-beep merged commit 692df3d into main Jul 9, 2026
3 checks passed
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