/fix — Fix-Review Loop
Resolve FIX-FIRST gaps from/review. Dispatch a fix subagent, re-review, repeat up to 2 loops, then escalate.
When to Use
/reviewreturned a FIX-FIRST verdict with CRITICAL or HIGH gaps- Orchestrator hands off unresolved gaps after execution review
Flow
- Parse gaps — extract gap list from FIX-FIRST verdict (severity, files, failing checks).
- Dispatch fixer — send gaps + original wish criteria to fix subagent.
- Re-review — dispatch review subagent to validate the fix.
- Evaluate verdict:
- Escalate (if needed) — mark task BLOCKED, report remaining gaps.
Escalation Format
Dispatch
Fix and re-review are separate dispatches — never combined in one subagent.Task Lifecycle Integration
When a PG task exists for the work being fixed, each fix attempt is logged as a task comment:
Task integration is graceful — if no PG task exists, fix loop logging is skipped.
Rules
- Never fix and review in the same session — always separate subagents
- Never exceed 2 fix loops — escalate, don’t spin
- Include original wish criteria in every fix dispatch
- If identical gaps persist across loops, escalate immediately