Merge pull request #2078 from obra/fix/x6a-sdd-batch-small-tasks

fix(sdd): batch small same-shape tasks into one dispatch
This commit is contained in:
Drew Ritter
2026-08-04 14:26:31 -07:00
committed by GitHub
2 changed files with 14 additions and 0 deletions

View File

@@ -217,6 +217,14 @@ that implementer. Single-file mechanical fixes also take the cheapest tier.
## The Task Loop
**Batch small same-shape work.** When the plan lists several tasks that are
each a small, independent edit of the same kind — the same one-line fix,
constant change, or field addition repeated across files — do not dispatch
one subagent per task. Compose ONE dispatch brief listing every file and
its change, send the whole batch to a single subagent, and review its diff
as one unit. Reserve one-dispatch-per-task for work that needs its own
judgment, its own tests, or its own review surface.
Everything you paste into a dispatch prompt — and everything a subagent
prints back — stays resident in your context for the rest of the session
and is re-read on every later turn. Hand artifacts over as files.