Running Subagent Reviews
Overview
Run calibrated fresh-context reviewer passes, then reconcile the findings into concrete fixes or explicit non-blocking risks. A subagent review is not a single broad "looks good" check; it is a set of independent, lens-specific reviews over raw artifacts.
Workflow
- Identify the artifact under review: design/spec/plan, implementation diff, PR, fix diff, writing draft, or release/rollout checklist.
- Gather raw artifacts reviewers can inspect without chat history:
- requirements, plan, or spec text
- file paths or git range (
BASE_SHA..HEAD_SHA) when code exists
- diff stat and relevant full diff
- verification already run, with command names and result summaries
- known constraints, target branch, rollout requirements, and explicit user concerns
- Choose distinct review lenses. Do not send multiple reviewers the same vague prompt.
- Spawn the requested number of reviewers. If the user did not specify a count, use 2 reviewers for narrow work and 3-4 for broad cross-surface work.
- Reconcile findings yourself:
- Fix valid Critical issues before proceeding.
- Fix valid Important issues unless there is a concrete reason to defer.
- Treat Minor issues as optional notes.
- Push back on incorrect findings with code, requirements, or test evidence.
- Re-run relevant verification after fixes.
- Run a follow-up review only on materially changed risk areas or the fix diff. Do not run identical rounds over unchanged artifacts unless the user explicitly asked for them.
- Stop when the requested lenses are covered and no valid Critical or Important issues remain, or when unresolved items are explicitly called out as residual risk.
Lens Selection
For design or implementation plans:
- architecture and sequencing
- data model, migrations, permissions, and compatibility
- API/runtime contracts and cross-repo drift
- verification, rollout, and operational recovery
For implementation diffs before PR:
- product and requirements correctness
- production risk: auth, security, data integrity, migrations, rollback, observability
- architecture, maintainability, concurrency, and performance
- tests and verification quality
For docs, specs, or writing:
- factual correctness and missing assumptions
- structure, audience fit, and actionability
- risky overclaims, stale references, and unclear acceptance criteria
Reviewer Prompt
Use this shape. Fill it with raw artifacts; do not pass your conclusions as ground truth.
You are a fresh-context senior reviewer. Do not rely on chat history.
Review only the artifacts below.
Goal:
Find concrete issues before {PR|implementation|handoff}. Prefer high-signal findings over broad commentary.
Artifacts:
- Requirements / plan / spec:
{PLAN_OR_REQUIREMENTS}
- Git range or files:
{BASE_SHA}..{HEAD_SHA} or {FILE_PATHS}
- Diff stat / full diff when applicable:
{DIFF_STAT}
{DIFF}
- Verification already run:
{COMMANDS_AND_RESULTS}
- Constraints and known concerns:
{CONSTRAINTS}
Review lens:
{FOCUSED_LENS}
Check:
- Does the artifact satisfy the requirements?
- What can break in this lens?
- Are edge cases, compatibility, rollout, and tests adequate?
- Are there missing steps or over-scoped assumptions?
Severity:
- Critical: must fix before proceeding; broken behavior, data loss, security, unsafe migration, serious production regression.
- Important: should fix before proceeding; missed requirement, meaningful correctness gap, fragile integration, poor error handling, real test gap.
- Minor: optional cleanup, style, docs polish, small maintainability note.
Output:
### Verdict
Ready | Ready with minor notes | Blocked
### Findings
For each finding:
- Severity
- File:line or section reference
- Issue
- Why it matters
- Suggested fix
### Non-blocking Notes
Only if useful.
Do not invent issues. If you cannot point to code, requirements, or a concrete missing verification step, say so.
For a follow-up round after fixes, narrow the prompt:
Review the fixes made after prior subagent review.
Artifacts:
- Prior validated Critical/Important findings:
{VALIDATED_FINDINGS}
- Fix diff:
{FIX_DIFF}
- Updated verification:
{COMMANDS_AND_RESULTS}
Task:
Confirm whether the fixes address the validated findings and whether the changed areas introduce new Critical or Important risk. Stay scoped to the fix diff unless you find evidence that the fix invalidates a wider surface.
Final Report
Report the result, not every subagent transcript:
Ran {N} fresh-context subagent review passes over {artifact/range}: {lenses}.
Results:
- Critical: {count}; {fixed/none/open with reason}
- Important: {count}; {fixed/deferred with reason}
- Minor: {count}; {noted/not blocking}
Verification after fixes:
- {command}: {pass/fail}
Follow-up review:
- {none needed | fix-diff review found no remaining Critical/Important issues | remaining issue}
Status: {ready for PR/ready for implementation/blocked}
Residual risk: {short concrete note}
Common Mistakes
- Running one broad reviewer when the user asked for rounds.
- Passing the whole conversation instead of raw artifacts.
- Asking reviewers to "make sure it looks okay" instead of assigning a lens.
- Treating every reviewer claim as valid without checking it.
- Fixing issues without rerunning relevant verification.
- Re-reviewing the entire unchanged artifact repeatedly when only a focused fix diff changed.
- Omitting residual risk when a valid issue is deferred.
1---2name: running-subagent-reviews-23description: Use when the user asks for subagent review, fresh-context review, multiple review rounds or passes, several reviewer agents, or exhausting critical surfaces before a PR, merge, implementation, or plan handoff.4---56# Running Subagent Reviews78## Overview910Run calibrated fresh-context reviewer passes, then reconcile the findings into concrete fixes or explicit non-blocking risks. A subagent review is not a single broad "looks good" check; it is a set of independent, lens-specific reviews over raw artifacts.1112## Workflow13141. Identify the artifact under review: design/spec/plan, implementation diff, PR, fix diff, writing draft, or release/rollout checklist.152. Gather raw artifacts reviewers can inspect without chat history:16 - requirements, plan, or spec text17 - file paths or git range (`BASE_SHA..HEAD_SHA`) when code exists18 - diff stat and relevant full diff19 - verification already run, with command names and result summaries20 - known constraints, target branch, rollout requirements, and explicit user concerns213. Choose distinct review lenses. Do not send multiple reviewers the same vague prompt.224. Spawn the requested number of reviewers. If the user did not specify a count, use 2 reviewers for narrow work and 3-4 for broad cross-surface work.235. Reconcile findings yourself:24 - Fix valid Critical issues before proceeding.25 - Fix valid Important issues unless there is a concrete reason to defer.26 - Treat Minor issues as optional notes.27 - Push back on incorrect findings with code, requirements, or test evidence.286. Re-run relevant verification after fixes.297. Run a follow-up review only on materially changed risk areas or the fix diff. Do not run identical rounds over unchanged artifacts unless the user explicitly asked for them.308. Stop when the requested lenses are covered and no valid Critical or Important issues remain, or when unresolved items are explicitly called out as residual risk.3132## Lens Selection3334For design or implementation plans:35- architecture and sequencing36- data model, migrations, permissions, and compatibility37- API/runtime contracts and cross-repo drift38- verification, rollout, and operational recovery3940For implementation diffs before PR:41- product and requirements correctness42- production risk: auth, security, data integrity, migrations, rollback, observability43- architecture, maintainability, concurrency, and performance44- tests and verification quality4546For docs, specs, or writing:47- factual correctness and missing assumptions48- structure, audience fit, and actionability49- risky overclaims, stale references, and unclear acceptance criteria5051## Reviewer Prompt5253Use this shape. Fill it with raw artifacts; do not pass your conclusions as ground truth.5455```text56You are a fresh-context senior reviewer. Do not rely on chat history.57Review only the artifacts below.5859Goal:60Find concrete issues before {PR|implementation|handoff}. Prefer high-signal findings over broad commentary.6162Artifacts:63- Requirements / plan / spec:64 {PLAN_OR_REQUIREMENTS}65- Git range or files:66 {BASE_SHA}..{HEAD_SHA} or {FILE_PATHS}67- Diff stat / full diff when applicable:68 {DIFF_STAT}69 {DIFF}70- Verification already run:71 {COMMANDS_AND_RESULTS}72- Constraints and known concerns:73 {CONSTRAINTS}7475Review lens:76{FOCUSED_LENS}7778Check:79- Does the artifact satisfy the requirements?80- What can break in this lens?81- Are edge cases, compatibility, rollout, and tests adequate?82- Are there missing steps or over-scoped assumptions?8384Severity:85- Critical: must fix before proceeding; broken behavior, data loss, security, unsafe migration, serious production regression.86- Important: should fix before proceeding; missed requirement, meaningful correctness gap, fragile integration, poor error handling, real test gap.87- Minor: optional cleanup, style, docs polish, small maintainability note.8889Output:90### Verdict91Ready | Ready with minor notes | Blocked9293### Findings94For each finding:95- Severity96- File:line or section reference97- Issue98- Why it matters99- Suggested fix100101### Non-blocking Notes102Only if useful.103104Do not invent issues. If you cannot point to code, requirements, or a concrete missing verification step, say so.105```106107For a follow-up round after fixes, narrow the prompt:108109```text110Review the fixes made after prior subagent review.111112Artifacts:113- Prior validated Critical/Important findings:114 {VALIDATED_FINDINGS}115- Fix diff:116 {FIX_DIFF}117- Updated verification:118 {COMMANDS_AND_RESULTS}119120Task:121Confirm whether the fixes address the validated findings and whether the changed areas introduce new Critical or Important risk. Stay scoped to the fix diff unless you find evidence that the fix invalidates a wider surface.122```123124## Final Report125126Report the result, not every subagent transcript:127128```text129Ran {N} fresh-context subagent review passes over {artifact/range}: {lenses}.130131Results:132- Critical: {count}; {fixed/none/open with reason}133- Important: {count}; {fixed/deferred with reason}134- Minor: {count}; {noted/not blocking}135136Verification after fixes:137- {command}: {pass/fail}138139Follow-up review:140- {none needed | fix-diff review found no remaining Critical/Important issues | remaining issue}141142Status: {ready for PR/ready for implementation/blocked}143Residual risk: {short concrete note}144```145146## Common Mistakes147148- Running one broad reviewer when the user asked for rounds.149- Passing the whole conversation instead of raw artifacts.150- Asking reviewers to "make sure it looks okay" instead of assigning a lens.151- Treating every reviewer claim as valid without checking it.152- Fixing issues without rerunning relevant verification.153- Re-reviewing the entire unchanged artifact repeatedly when only a focused fix diff changed.154- Omitting residual risk when a valid issue is deferred.