feat: auto-scaled adversarial review by diff size

Replace config-driven Codex review step with automatic adversarial review
that scales by diff size: small (<50 lines) skips adversarial, medium
(50-199) gets cross-model adversarial, large (200+) gets all 4 passes.

Adds Claude adversarial subagent as fallback when Codex unavailable.
Review log uses new "adversarial-review" skill name with source/tier fields.
Dashboard updated to read both adversarial-review and legacy codex-review.
This commit is contained in:
Garry Tan
2026-03-21 11:37:40 -07:00
parent 1f4b6fd7a2
commit 6364915d7d
4 changed files with 146 additions and 121 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ allowed-tools:
- Write
- Grep
- Glob
- Agent
- AskUserQuestion
---
@@ -231,7 +232,7 @@ If no documentation files exist, skip this step silently.
---
{{CODEX_REVIEW_STEP}}
{{ADVERSARIAL_STEP}}
## Important Rules