Adversarial Execution banner
blader blader

Adversarial Execution

Productivity community

Description

Adversarial Execution — an execution-time review gate: two independent strong models must both prove your work actually works before it's marked done. A Claude Code / Codex skill.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Adversarial Execution

An execution-time review gate: before any task or plan is marked done, two independent strong models review the *actual work* adversarially — gathering their own evidence, including browser-driven screenshots — and you loop until both converge on "intent achieved and the work actually works."

This is the execution-time counterpart to [adversarial-planning](https://github.com/blader/adversarial-planning). Where adversarial-planning bakes a review gate into the plan text, this skill *runs* that gate during execution.

Why

Green tests and a clean diff hide three failure modes. The gate sits between "I think I'm done" and "this is done" to catch them:

  1. Intent not achieved. It compiles and tests pass, but the work doesn't do what the task actually asked for.
  2. Not accurate in reality. The code reads right but the running product misbehaves — the button does nothing, the number is wrong, the layout breaks. Code reading can't see this.
  3. Plan-intent drift. The task closed green, but the work undermines the plan's overall goal.

How it works

  1. Run two independent reviewers as fresh processes — no shared context with the executor or each other:
    • Claude Code — Opus 4.8, max thinking
    • Codex — gpt-5.5, xhigh reasoning (read-only)
  2. Each reviewer gets the full original plan, the stated intent/acceptance criteria, and access to the real working state (repo, running app, logs, tests).
  3. For any user-facing surface, the review drives the product in a browser and captures screenshots as evidence — "looks right in the code" is not a pass.
  4. Each reviewer answers all three questions — intent achieved? actually works? advances the plan? — and returns either an explicit pass with evidence or a concrete gap list.
  5. Loop until convergence: close every gap, then re-review with fresh sessions for both. Done only when a fresh round from both reviewers surfaces no new gaps.

**Both reviewers must pas