subagent-driven-development
Skill0 starsChanged 6 days agoMITView on GitHub
Use when executing implementation plans with independent tasks in the current session
- Deletes or force-pushes
189 other projects use a version of this, 80 of them edited.
Adopted by
Most recently taken up by
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- hybridlabor-api/aostheir own version, first seen Nov 29, 2026
- autohandai/community-skillstheir own version, first seen Nov 29, 2026
- MorningStar0709/trae-agent-enhancementstheir own version, first seen Nov 29, 2026
- b-mendoza/agent-skillsedited, first seen Nov 23, 2026
- ariadoss/superskillsedited, first seen Nov 23, 2026
Used with
Projects with it also use chinese-git-workflow, chinese-code-review and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Leodorareluctant259Skillchinese-git-workflow
适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖
Also in 9 projects that use this
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 19 projects that use this
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 5 projects that use this
math-incSkillpokemon-player
Play Pokemon games autonomously via headless emulation. Starts a game server, reads structured game state from RAM, makes strategic decisions, and sends button inputs — all from the terminal.
Also in 5 projects that use this
- +3 more from Leodorareluctant259
- +3 more from math-inc
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 80
- obra/superpowers★ 314k52% same
- mdiri-ai/SoduWork★ 9.1k64% same
- openai/plugins★ 8.4k65% same
- farm-fe/farm★ 5.6k17% same
- lingyired/status-trio★ 2.2k53% same
- GanyuanRan/Aegis★ 1.5k16% same
- pcvelz/superpowers★ 1.3k48% same
- koaning/wigglystuff★ 51041% same
- coco-research/coco★ 32414% same
- LayneChai/superpowers-dsh★ 15052% same
70 more not listed
Wrote their own version · 109
- jnMetaCode/superpowers-zh★ 8.6ksame name
- DemonDamon/AgenticX★ 1.3ksame name
- math-inc/OpenGauss★ 1.3ksame name
- Tommy-yw/RunbookHermes★ 546same name
- derHaken/SuperAntigravity★ 439same name
- Ibrahim-3d/conductor-orchestrator-superpowers★ 381same name
- Ibrahim-3d/orchestrator-supaconductor★ 378same name
- Asvarox/allkaraoke★ 271same name
- KbWen/agentic-os★ 245same name
- RedWoodOG/Hermes-Desktop★ 177same name
99 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- finishing-a-development-branchSkill
- kickoffSkill
- plan-reviewSkill
- reviewSkill
- spec-reviewSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- typesafe-aiSkill
- verification-before-completionSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
32 rules. 0 are common, 22 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
22
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Use for a reviewed plan with independent tasks.
- Distinctive: line 44
Read the runtime adapter before delegation.
- Distinctive: line 55
Never start implementation on a main/master branch without your human partner's explicit consent.
- Very specific: line 68
Check for this plan's ledger at <workspace>/progress.md.
- Very specific: line 75
Create the ledger with its identity as the first line: # SDD ledger — plan: <plan file path>.
- Distinctive: line 83
Read the plan once, note its context and Global Constraints, and create a todo per task.
- Distinctive: line 89
Before dispatching Task 1, scan the plan once for conflicts, writing down what you checked as you check it:
- Distinctive: line 103
Write the table to the ledger.
- Very specific: line 113
Before dispatching, read the runtime adapter.
- Distinctive: line 131
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 …
- Distinctive: line 143
Waiting on dispatched subagents: never poll a wait interface with short timeouts, and never sit in one silent, open-ended wait either.
- Distinctive: line 147
When you are genuinely idle, wait in bounded stretches (up to 60 seconds, or less when your host requires), and between stretches post one …
- Very specific: line 158
Task brief: before dispatching an implementer, run this skill's bash scripts/task-brief PLAN_FILE N — it extracts the task's text to a …
- Distinctive: line 191
If an earlier task parked a finding in the area this task touches, carry a pointer to that ledger entry in the dispatch.
- Distinctive: line 212
If it's a context problem, provide more context and re-dispatch with the same model
- Very specific: line 213
If the task requires more reasoning, re-dispatch a fresh implementer with a sharper brief — on model = opus when the blocked one ran on the …
- Distinctive: line 214
If the task is too large, break it into smaller pieces
- Distinctive: line 215
If the plan itself is wrong, rule on the correction, ledger it, and re-dispatch with the ruling carried in the dispatch
- Distinctive: line 219
If the implementer asks questions — before starting or mid-task — answer clearly and completely, provide additional context if needed, and …
- Very specific: line 232
Docs-only tasks skip the task review: When the review package's printed line ends in docs-only (every changed path is .md, .mdx, .markdown, …
- Distinctive: line 260
Do not add open-ended directives like "check all uses" or "run race tests if useful" without a concrete, task-specific reason
- Distinctive: line 262
Do not ask a reviewer to re-run tests the implementer already ran on the same code — the implementer's report carries the test evidence
- Distinctive: line 264
Do not pre-judge findings for the reviewer — never instruct a reviewer to ignore or not flag a specific issue.
- Distinctive: line 284
Before the loop starts, two routes leave it immediately:
- Distinctive: line 315
Before re-dispatching the reviewer, confirm the fix report contains the covering tests, the command run, and the output.
- Very specific: line 321
The re-review is scoped: Run bash scripts/review-package PLAN_FILE FIX_BASE HEAD where FIX_BASE is the head the previous review saw (with …
- Distinctive: line 336
Never fix findings yourself in the controller session — your context stays clean for coordination, and controller fixes skip review.
- Distinctive: line 339
The breaker: When round 5's re-review still leaves findings open, stop dispatching.
- Distinctive: line 361
When the review comes back clean — or every open finding is parked with a ruling at the cap — append the completion line to the ledger in …
- Very specific: line 378
Run scripts/review-package PLAN_FILE MERGE_BASE HEAD (MERGE_BASE = git merge-base main HEAD) so the package exists for reference.
- Very specific: line 387
Before you delete anything, collect every ledger line containing Ruling: — preflight rulings, parked findings, breaker adjudications, all …
- Very specific: line 401
When the final whole-branch review is clean and its fixes are merged, delete this plan's workspace with this skill's bash …
“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Subagent-Driven Development
Execute plan by dispatching a fresh implementer subagent per task, a task review (spec compliance + code quality) after each, and a broad whole-branch review at the end.
Why subagents: You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
Core principle: Fresh subagent per task + task review (spec + quality) + broad final review = high quality, fast iteration
Narration: between tool calls, narrate at most one short line — the ledger and the tool results carry the record.
Continuous execution: Do not pause to check in with your human partner between tasks. Execute all tasks from the plan without stopping. The only reasons to stop are the four named below, or all tasks complete. "Should I continue?" prompts and progress summaries waste their time — they asked you to execute the plan, so execute it.
Rulings, not stalls. A running plan does not wait on a human. Conflicts,
ambiguities, plan defects, a cap you would have asked to exceed — decide
them. The spec is the binding authority, the plan is its argument, and your
judgment settles what neither answers. Record every decision in the ledger as
Ruling: <what you decided> — <why> — <what it costs if wrong>, and keep
going. A wrong ruling costs rework your human partner can see and undo; a
session parked on a question costs their whole day and buys nothing.
Four things stop you, and only these: an irreversible or destructive operation; a security-sensitive action; a side effect outside this worktree that norms say you ask about first (a merge, a push to a shared branch, a publish); and a plan so broken that every path forward is a guess. For those, stop and ask.
When to Use
Use for a reviewed plan with independent tasks. This is the distro's delegated execution path. For illustrative flow diagrams and a worked example, see workflow-examples.md; the rules below are the execution contract.
Setup
Resolve this loaded skill's physical directory as SDD_DIR. Run its
helpers as bash "$SDD_DIR/scripts/<helper>" … from the target worktree;
bash scripts/… below is shorthand for that absolute resource path.
Read the runtime adapter before delegation.
Work in an Orca worktree: the current checkout, or one made with
orca worktree create --no-parent when the session runs in the main
checkout. An extra branch spawned from an Orca worktree is made with
orca worktree create --parent-worktree current, so Orca nests it under
the task's workspace instead of beside it. Never git worktree add by hand. Set WORKTREE to the absolute path of the
branch's worktree and BRANCH to its branch. If WORKTREE is not the
session's directory, run every command of this skill with
cd "$WORKTREE" && …, and fill [WORKTREE]/[BRANCH] in every implementer
prompt — subagents start in the session's directory, not in the worktree.
Never start implementation on a main/master branch without your human
partner's explicit consent.
Conversation memory does not survive compaction. In real sessions, controllers that lost their place have re-dispatched entire completed task sequences — the single most expensive failure observed. Track progress in a ledger file, not only in todos.
- Each plan owns a workspace: at skill start, run this skill's
bash scripts/sdd-workspace PLAN_FILE— it prints the plan's git-ignored directory (under<repo-root>/.superpowers/sdd/), home to every artifact for THIS plan: ledger, briefs, reports, review packages. Another plan's directory is never yours to read or write. - Check for this plan's ledger at
<workspace>/progress.md. If its first line names your plan file, tasks with aTask <N>: completeline are DONE — do not re-dispatch them; resume at the first task without one. A task whose last line is a fix round is mid-loop: resume the loop at the next round. A ledger whose first line names a different plan file — or a stray ledger at the old flat path.superpowers/sdd/progress.md— is another plan's progress: leave it in place and start your own, fresh. - Create the ledger with its identity as the first line:
# SDD ledger — plan: <plan file path>. - The ledger is your recovery map: the commits it names exist in git even
when your context no longer remembers creating them. After compaction,
trust the ledger and
git logover your own recollection. git clean -fdxwill destroy the workspace (it's git-ignored scratch); if that happens, recover fromgit log.
Read the plan once, note its context and Global Constraints, and create a todo per task. If the plan names a Spec, read that too: the spec is the authority the plan argues from, and conflicts inside the plan resolve against it. A plan with no reachable spec gets a ledger note saying so — rulings made without one are provisional.
Before dispatching Task 1, scan the plan once for conflicts, writing down what you checked as you check it:
- tasks that contradict each other or the plan's Global Constraints
- anything the plan explicitly mandates that the review rubric treats as a defect (a test that asserts nothing, verbatim duplication of a logic block)
The scan's output is a table, not a verdict. One row for every pair of tasks that share a file or an interface: the two tasks, what one produces against what the other consumes, and what you found. One row for every task: whether its own text agrees with itself — the tests it specifies against the code it specifies, the files it creates against the files it later touches. "The scan is clean" without those rows is not a scan you ran.
Write the table to the ledger. Rule on everything you find before execution begins — each finding against the plan text that mandates it — and record each ruling in the ledger. If the scan is clean, proceed without comment. Rule on each conflict it surfaces — the spec is the binding authority, the plan is its argument — record the ruling beside its row, and dispatch Task 1. The review loop remains the net for conflicts that only emerge from implementation.
Model Selection
Before dispatching, read the runtime adapter.
Role bodies in agents/verus-*.md are shared by both hosts:
- Claude Code: implementers use
verus-worker(verus-skills:verus-workerwhen installed as a plugin); task reviewers and re-reviewers useverus-reviewer(verus-skills:verus-reviewerwhen installed as a plugin), each assubagent_type. Defaults come fromconfig/models.json: workers run on Sonnet at high effort, reviewers on Opus. Do not pass amodelparameter for an ordinary task: it would override the agent's configured model. The one exception is below. - Hard tasks go to Opus. The controller decides per task, when it writes the dispatch, and only for a task that is hard in one of these ways: architecture or a new abstraction other tasks build on; a data migration or schema change; security or access (auth, secrets, permissions, crypto); or a retry after a Sonnet implementer ended BLOCKED or failed its review twice on the same point. For those, dispatch the same
verus-workerwithmodel=opus(the agent keeps its effort setting) and record the reason in the ledger. Everything else stays on the default; do not upgrade a task just because it is long. Haiku and Fable never implement code. - Codex: prepend the role file body to the prompt and use
spawn_agentwith fresh context where supported (fork_turns="none"). Do not pass model/effort overrides unless requested; Codex host defaults apply.config/models.jsonsubagent tiers configure Claude, not Codex.
In Claude Code use background subagents without the teammate name.
In Codex supply a required task label when the tool needs one. Collect
reports by agent ID; for fixes resume the implementer by that ID using
the host's follow-up/resume tool. Release finished agents when supported
after their review/fix cycle is settled.
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.
Waiting on dispatched subagents: never poll a wait interface with short timeouts, and never sit in one silent, open-ended wait either. While you have local work — ledger updates, packaging the next review, reading reports — keep working; child results arrive on their own. When you are genuinely idle, wait in bounded stretches (up to 60 seconds, or less when your host requires), and between stretches post one line of status and reconcile your live children: list them, and chase any that finished without reporting. A bounded stretch keeps nearly all of a long wait's efficiency while guaranteeing a stuck or lost child is noticed within minutes, not at the end of the session.
1. Dispatch the implementer
Record BASE (git rev-parse HEAD) before dispatching — the review package
and fix-round diffs need it.
- Task brief: before dispatching an implementer, run this skill's
bash scripts/task-brief PLAN_FILE N— it extracts the task's text to a uniquely named file and prints the path. Compose the dispatch so the brief stays the single source of requirements. A brief is capped at ~10 KB: every subagent of the task reads it, and a 52 KB brief read by seven of them is 360 KB of tokens. Over the cap the script writes a pointer brief — the task's intro and one line per step with its line range in the plan — and readers open only the sections they need. Never write a brief by hand, and never paste plan text into a brief or a dispatch: point at the plan file and line range. Your dispatch should contain: (1) one line on where this task fits in the project; (2) the brief path, introduced as "read this first — it is your requirements, with the exact values to use verbatim"; (3) interfaces and decisions from earlier tasks that the brief cannot know; (4) your resolution of any ambiguity you noticed in the brief; (5) the report-file path and report contract. Exact values (numbers, magic strings, signatures, test cases) appear only in the brief. Never make a subagent read the whole plan file. - Report file: name the implementer's report file after the brief
(brief
…/task-N-brief.md→ report…/task-N-report.md) and put it in the dispatch prompt. The implementer writes the full report there and returns only status, commits, a one-line test summary, and concerns. - A dispatch prompt describes one task, not the session's history. Do not paste accumulated prior-task summaries ("state after Tasks 1-3") into later dispatches — a real session's dispatch hit 42k chars of which 99% was pasted history. A fresh subagent needs its task, the interfaces it touches, and the global constraints. Nothing else.
- The dispatch carries the no-subagents contract (it is in the implementer template): the implementer never dispatches subagents — not helpers, and never a reviewer. Review arrives from you, after the report. In real sessions, every reviewer a worker spawned duplicated the task review the controller dispatched anyway — a full extra review seat per task.
- If an earlier task parked a finding in the area this task touches, carry a pointer to that ledger entry in the dispatch.
- Record the implementer's agent identity from the dispatch result — fix-loop rounds 1-3 resume this agent.
- Run implementers one at a time by default. Dispatch tasks in parallel only when they are independent (no shared files, no interface one needs from the other) and never more than 3 implementers at once. Give each its own file list and tell it to commit only those paths (
git commit -- <paths>; nogit add -A, stash or reset) and to run only its own tests; the full suite runs once per batch, from the controller. Their commits interleave in the history, so review each task withreview-package --commitson that task's own commits. A task that depends on a running one waits for it.
Template: implementer-prompt.md
2. Handle the report
Implementer subagents report one of four statuses. Handle each appropriately:
Every report has a Not verified and why part. A report without it is incomplete: send it back and wait for the part before going on. Read the part first: an item that decides whether the task is correct (a test not run, a path nothing covers) is closed — by you, with the check — before review; the rest goes into the ledger as Not verified: lines for the final summary.
DONE: Generate the review package (bash scripts/review-package PLAN_FILE BASE HEAD, from this skill's directory — it prints the unique file path it wrote; BASE is the commit you recorded before dispatching the implementer — never HEAD~1, which silently drops all but the last commit of a multi-commit task), then dispatch the task reviewer with the printed path — unless the printed line ends in docs-only (see step 3).
DONE_WITH_CONCERNS: The implementer completed the work but flagged doubts. Read the concerns before proceeding. If the concerns are about correctness or scope, address them before review. If they're observations (e.g., "this file is getting large"), note them and proceed to review.
NEEDS_CONTEXT: The implementer needs information that wasn't provided. Provide the missing context and re-dispatch.
BLOCKED: The implementer cannot complete the task. Assess the blocker:
- If it's a context problem, provide more context and re-dispatch with the same model
- If the task requires more reasoning, re-dispatch a fresh implementer with a sharper brief — on
model=opuswhen the blocked one ran on the default Sonnet - If the task is too large, break it into smaller pieces
- If the plan itself is wrong, rule on the correction, ledger it, and re-dispatch with the ruling carried in the dispatch
Never ignore an escalation or force the same model to retry without changes. If the implementer said it's stuck, something needs to change.
If the implementer asks questions — before starting or mid-task — answer clearly and completely, provide additional context if needed, and don't rush it into implementation.
3. Review the task
Per-task reviews are task-scoped gates. The broad review happens once, at the final whole-branch review. Never skip the task review of a task that changes code, scripts or config, and never accept a report missing either verdict — spec compliance AND task quality are both required. Implementer self-review never replaces the task review; both are needed.
- Docs-only tasks skip the task review. When the review package's
printed line ends in
docs-only(every changed path is.md,.mdx,.markdown,.rstor.adoc— no code, no scripts, no config), do not dispatch a reviewer: the branch-levelreviewcovers it. Ledger it asTask <N>: complete (commits <base7>..<head7>, docs-only, no task review). - Hand the reviewer its diff as a file: run this skill's
bash scripts/review-package PLAN_FILE BASE HEADand pass the reviewer the file path it prints (or, without bash:git log --oneline,git diff --stat, andgit difffor the range, redirected to one uniquely named file). The output never enters your own context, and the reviewer sees the commit list, stat summary, and the changed hunks in one Read call — hunks, not whole files and not the whole branch. Use the BASE you recorded before dispatching the implementer — neverHEAD~1, which silently truncates multi-commit tasks. When other tasks' commits are interleaved in BASE..HEAD, add--commits <sha>,<sha>with the commits the implementer reported, so the package holds this task's commits only. Never dispatch a task reviewer without a diff file. - Reviewer inputs: the task reviewer gets three paths — the same brief file, the report file, and the review package — plus the global constraints that bind the task.
- The global-constraints block you hand the reviewer is its attention lens. Copy the binding requirements verbatim from the plan's Global Constraints section or the spec: exact values, exact formats, and the stated relationships between components ("same layout as X", "matches Y"). The reviewer's template already carries the process rules (YAGNI, test hygiene, review method) — the constraints block is for what THIS project's spec demands.
- Do not add open-ended directives like "check all uses" or "run race tests if useful" without a concrete, task-specific reason
- Do not ask a reviewer to re-run tests the implementer already ran on the same code — the implementer's report carries the test evidence
- Do not pre-judge findings for the reviewer — never instruct a reviewer to ignore or not flag a specific issue. If you believe a finding would be a false positive, let the reviewer raise it and adjudicate it in the review loop. If the prompt you are writing contains "do not flag," "don't treat X as a defect," "at most Minor," or "the plan chose" — stop: you are pre-judging, usually to spare yourself a review loop. The task reviewer may report "⚠️ Cannot verify from diff" items — requirements that live in unchanged code or span tasks. These do not block the rest of the review, but you must resolve each one yourself before marking the task complete: you hold the plan and cross-task context the reviewer lacks. If you confirm an item is a real gap, treat it as a failed spec review — it enters the fix loop with the other findings.
Template: task-reviewer-prompt.md
4. The fix loop
The loop triggers when the review reports spec ❌, any Critical or Important finding, or a ⚠️ item you confirmed as a real gap.
Before the loop starts, two routes leave it immediately:
- Record Minor findings in the progress ledger as you go
(
Task <N>: minor (deferred): <one-liner>), and point the final whole-branch review at that list so it can triage which must be fixed before merge. A roll-up nobody reads is a silent discard. Minor findings never enter the loop. - A finding labeled plan-mandated — or any finding that conflicts with what the plan's text requires — is yours to rule on: weigh the finding against the plan text, decide with the spec as the binding authority, and ledger the ruling before you act on it. Do not dismiss the finding because the plan mandates it, and do not dispatch a fix that contradicts the plan without a recorded ruling. Everything else enters the loop. A fix round is one fix dispatch plus one scoped re-review. Five rounds maximum per task:
Rounds 1-3 — resume the original implementer. Send it the open findings verbatim. Its context is intact: it knows the task, the code, and its own choices. If your harness cannot send another message to a live subagent, dispatch a fresh implementer carrying the brief path, the report-file path, and the findings — the report file is the persistent memory either way.
Rounds 4-5 — dispatch a fresh implementer, with the brief path, the report-file path, the open findings, and this framing: "A prior implementer attempted this task [N] times; you own it now. Read the report file for what was tried." A loop that survives three resumes usually means the implementer cannot see its own problem — fresh eyes in one move.
Every round, either way: the implementer fixes, re-runs the tests
covering the amended code, appends its fix report to the same report file
under a ## Fix round <R> heading, and returns the short contract.
Before re-dispatching the reviewer, confirm
the fix report contains the covering tests, the command run, and the
output; dispatch the re-review once all three are present. Name the
covering test files in the fix message — a one-line fix does not need the
whole suite.
The re-review is scoped. Run bash scripts/review-package PLAN_FILE FIX_BASE HEAD
where FIX_BASE is the head the previous review saw (with --commits and
the fix commits when other tasks' commits are interleaved), and dispatch
re-review-prompt.md with the findings list, the
printed diff path, and the report file, of which it reads only the latest
## Fix round section. It does not re-read the brief or the first review
package: the findings carry what it verifies. The re-reviewer verdicts
each finding ADDRESSED or NOT ADDRESSED and flags new breakage in the fix
diff only. New Critical/Important breakage in the fix diff joins the open
findings list. Out-of-scope observations go to the ledger as deferred
minors — they never extend the loop.
After each round, append to the ledger:
Task <N>: fix round <R>/5 (<X> addressed, <Y> open — <finding one-liners>; commits <a7>..<b7>)
Never fix findings yourself in the controller session — your context stays clean for coordination, and controller fixes skip review.
The breaker. When round 5's re-review still leaves findings open, stop dispatching. Adjudicate each open finding yourself — you hold the plan and the cross-task context the reviewer lacks:
- The reviewer is wrong, or the point is contestable: park it —
Task <N>: parked — <finding> — Ruling: <why the code stands>. The final review sees both sides. - Real, but nothing downstream builds on it: park it the same way, with a ruling that says it's real and deferred.
- Real and load-bearing — a later task builds on it, or it reveals a
plan defect: rule on the smallest change that unblocks the dependent work,
ledger it as
Task <N>: Ruling: <finding> — <what you decided and why>, and carry it into the next task's dispatch. Parking a structural failure silently lets every dependent task build on it. Stop only when the defect leaves every path forward a guess.
Adjudicate only at the cap. Adjudicating earlier to end a loop is pre-judging with a different name. Every adjudication is a ledger entry — a silent discard is forbidden.
5. Complete the task
When the review comes back clean — or every open finding is parked with a ruling at the cap — append the completion line to the ledger in the same message as your other bookkeeping:
Task <N>: complete (commits <base7>..<head7>, review clean)Task <N>: complete (commits <base7>..<head7>, <K> parked)after a tripped breaker
Then mark the todo complete and move on. Never move to the next task while the review has open Critical/Important issues that are neither fixed nor parked-with-ruling at the cap.
Final Review
The final whole-branch review is done by an external reviewer through the
review skill. After the last task:
- Run
scripts/review-package PLAN_FILE MERGE_BASE HEAD(MERGE_BASE =git merge-base main HEAD) so the package exists for reference. - Invoke the
review(verus-skills:reviewwhen installed as a plugin) skill with the merge base:review <MERGE_BASE>. It launches Codex (via Orca, thencodex exec, then a fallback reviewer agent), routes findings through the TypeSafe judge, applies accepted fixes with ONE fix subagent, and runs exactly one re-review round. It reads this plan's ledger itself, from.superpowers/sdd/<plan basename without .md>/progress.md, and sends the reviewer everyMinor (deferred),Rulingandparkedline — so leave those lines in the ledger rather than summarising them into the invocation. reviewhands off tofinishing-a-development-branch(verus-skills:finishing-a-development-branchwhen installed as a plugin) itself in branch scope and full mode. Invoke it yourself only ifreviewstopped without handing off (report-only mode, or a red suite).
There is no second fix wave here; residual findings surface to your human partner when finishing-a-development-branch presents the options.
Finish
Before you delete anything, collect every ledger line containing Ruling: —
preflight rulings, parked findings, breaker adjudications, all of them — into
your final message under "Rulings I made", in the order you made them, each
with what it costs if wrong. The list is exhaustive: if the ledger holds a
ruling, the list holds it. That list is the only place the decisions you
took on your human partner's behalf reach them — they read it and rework
whatever you got wrong. A ruling that dies with the workspace was a decision
made in secret.
Your final message also carries Not verified and why: the Not verified:
ledger lines, plus what the final review's report lists under its own
"Not verified and why", merged and deduplicated, each with the reason. Do
not claim a check that no run in this session backs.
When the final whole-branch review is clean and its fixes are merged,
delete this plan's workspace with this skill's
bash scripts/sdd-workspace --remove PLAN_FILE — the git history is
the record now. Never put rm in a command for it: permission settings
often deny rm, and a denial drops the whole compound command. The script
removes this plan's directory only; sibling directories belong to other
plans.
review invokes finishing-a-development-branch (verus-skills:finishing-a-development-branch when installed as a plugin) itself; invoke it here only if review stopped without handing off.
Common Rationalizations
| Excuse | Reality |
| "Close enough on spec compliance" | Reviewer found spec gaps = not done. Fix or hit the cap and adjudicate — those are the only exits. |
| "I'll fix it myself, dispatching is overhead" | Controller fixes pollute your context and skip review. Resume the implementer. |
| "One more round will converge" | Past the cap, rounds don't converge — the failure is structural. Adjudicate and route. |
| "The reviewer will just find something new anyway" | Scoped re-reviews verify fixes; they cannot wander. New findings on untouched code go to the ledger, not the loop. |
| "This finding is obviously wrong, I'll drop it" | You adjudicate only at the cap, and every ruling is a ledger entry. Silent discards are forbidden. |
| "The fix was small, skip the re-review" | Unreviewed fixes are how regressions land. Every round ends with a scoped re-review. |
| "Reviews slow the loop down" | The loop without reviews is just unverified churn. Reviews are the loop's brakes and steering. |
| "Ledger bookkeeping is overhead" | The ledger is what survives compaction. Controllers without one have re-dispatched entire completed task sequences. |
| "The implementer spawned its own reviewer — free extra assurance" | It's a duplicate seat reviewing the same diff; the task review is the gate. A worker-spawned reviewer is a defect to flag, not rigor. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

