Adversarial Code Review
Use an independent reviewer to challenge completed changes against the agreed plan or specification, so that the final result has verified alignment and clear follow-up actions.
Workflow
- Spawn a new (non-forked) independent sub-agent to review the changes against the agreed plan/spec.
- The reviewer sub-agent must be able to echo back how the current implementation works and how it aligns/deviates from the plan/spec.
- Present the findings with a consistent verdict, deviation, and recommendation structure.
The recommendations section is particularly critical because it determines the possible next phase of the work.