| name | full-review-and-fix |
| description | Conduct a thorough multi-model code review in parallel, apply only high-confidence behavior-preserving fixes, and verify the result. Use when the user explicitly asks for a full, deep, or thorough review-and-fix pass over a worktree, branch, commit range, diff, or named files; ordinary read-only review requests should not trigger it. |
Full Review and Fix
Review broadly, fix conservatively. Preserve user changes and externally observable behavior.
1. Resolve the Scope
Honor an explicit target exactly. It may be a worktree, branch, commit/range, diff,
or file set. If none is given:
- A dirty worktree means staged, unstaged, and relevant untracked changes only.
- A clean worktree means the current branch against its merge-base with the
inferred upstream/default branch.
- Ask one short question when the target or base is ambiguous.
For a target not currently checked out, create or reuse an isolated git worktree;
never switch the user's checkout. Pasted code not mapped unambiguously to workspace
files is review-only.
Capture the exact diff command/range, commit list, changed files, initial git status,
and applicable repository instructions. Discover intent from the user's prompt first,
then a readily identifiable PR, issue, or spec. Continue without a spec, but say so.
Trace generated, vendored, lock, and snapshot changes to canonical source; never edit
generated output directly without the documented generator.
2. Size the Review
Review the whole target when coherent. Shard by package or subsystem at roughly 2,000
changed lines, 25 files, or earlier when independent subsystems are obvious. Keep each
shard self-contained and include cross-shard interfaces where relevant. Run at most ten
subagents concurrently, using waves when needed.
3. Dispatch Read-Only Reviewers
Read REVIEWERS.md. In one parallel dispatch per wave, launch:
reviewer-alt-xhigh: correctness, contracts, errors, security, concurrency.
reviewer-alt: simplification, reuse, standards, legibility.
reviewer-fast: tests, edge cases, performance, operational risks.
reviewer-alt: architecture and thermo-nuclear maintainability.
reviewer-primary: an independent architecture and thermo-nuclear review.
Give every reviewer the exact scope, spec/context, applicable standards, and common
contract from REVIEWERS.md. Architecture reviewers must work independently. If these
agents are unavailable, stop and ask the user to restart your agent harness; do not silently
substitute models.
4. Adjudicate
The coordinator must independently open the cited current code and verify each finding.
Deduplicate overlap without hiding disagreement. Do not use majority vote. Resolve
conflicts from code, intent, standards, and tests; report material unresolved disputes.
Report every noteworthy validated finding with severity and confidence. A finding is
eligible for automatic fixing only when all are true:
- confidence is at least 90% and the coordinator independently confirms it;
- the change preserves externally observable behavior and clear invariants;
- the scope is contained, including only necessary adjacent callers, helpers, or tests;
- focused verification can provide meaningful evidence;
- the recommendation is not disputed.
Do not auto-fix behavioral bugs, ambiguous design choices, API changes, migrations, or
product decisions. Report them for approval. Evidence-backed structural refactors are
allowed when they satisfy every condition above.
5. Fix Sequentially
Launch exactly one coder-alt with only the approved fix list, current code
context, local instructions, and verification plan. Recheck git status first. Never
overwrite concurrent/user changes or perform unrelated cleanup. Focused regression or
characterization tests are encouraged. Do not commit.
Run relevant focused tests plus formatter, linter, and type checks where practical. If a
check fails because of a fix, restore only that fix's own hunks, never reset whole files
or unrelated work, and leave the finding unresolved.
6. Verify and Stop
Re-run correctness plus only the reviewer roles whose findings were fixed, against the
resulting diff. Apply at most one follow-up batch through the same single fixer: two fix
cycles maximum. Then stop even if additional opportunities remain.
7. Report
Lead with findings ordered by severity. For each, retain confidence, exact citations,
and mark fixed, remaining, disputed, or verification failed. Then summarize the
edits, checks and results, scope reviewed, and any residual risks or missing spec.