Stress-test a plan by having another model attack it
When to use: Before touching code on a migration or risky refactor, you want a second model to poke holes.
Flow
-
Draft a plan with ClaudeWrite a plan.md for migrating our auth module from JWT to session cookies.✓ Copied→ Step-by-step plan written to plan.md
-
Trigger adversarial review/plan-review plan.md✓ Copied→ Codex returns critique with risks Claude missed
-
Iterate until both agreeIncorporate Codex's critique, re-submit, repeat until clean.✓ Copied→ Plan reaches stable state
Outcome: A plan that has survived real adversarial review, not just self-grading.
Pitfalls
- Endless review loops — Cap at 3 rounds — diminishing returns after