ADVERSARIAL_REVIEW.md

An open standard proposal — community-governed and MIT licensed, in the spirit of agents.md and Anthropic’s CLAUDE.md

ADVERSARIAL_​REVIEW.md

AGENTS.md gave every repository a shared way to tell agents how to work. ADVERSARIAL_REVIEW.md is the open counterpart: a shared way to systematically doubt and improve upon AI-generated responses.

$ curl -O https://raw.githubusercontent.com/awdemos/adversarial-review/v1.1.0/ADVERSARIAL_REVIEW.md
# read it, edit the "Repo-specific rules" section, commit

Pinned to the signed v1.1.0 tag for provenance — verify it with git tag -v v1.1.0. That template includes the default reviewer–challenger loop. Already on v1.0.1? Overwrite your local copy with the same command: the skill follows repo-local files, and v1.0.1 has no challenger loop.

Coding agent? Install the adversarial-review skill into your agent's skills dir and say run an adversarial review.

It is one file at the repo root that declares how adversarial review is done in that repository — which lenses, what counts as evidence, how severities are assigned, how a challenger disputes the reviewer's findings, and how the disagreement is reconciled — so any agent that reads it stops rubber-stamping its own output. Green CI proves the code does what its author imagined testing; this standard exists because agents now write code faster than humans can review it, and review has to be declared, evidence-backed, and machine-readable to keep up.

The standard is versioned, MIT licensed, and governed in the open. Changes go through a public process — issues before pull requests, cryptographically verified commits, recorded signoff on every merge — and anyone may participate. No vendor controls it, and no adopter must accept it unchanged: take the protocol, customize the repo-specific section, and propose improvements back to the community.

For the execution side of agent work, pair this with Loops and Graphs. It is a super agent harness: every task gets a deterministic check, independent steps run in parallel, and the human only approves the final merge.

The idea

One file that makes review adversarial

  1. Drop an ADVERSARIAL_REVIEW.md in your repo root.
  2. It tells any coding agent: your work here is expected to survive adversarial review — and here is how that review is done in this repo.
  3. A reviewer R proposes findings pass by pass, one lens at a time, with reproducible evidence and confidence; a challenger C disputes those findings with typed, code-cited disagreements. The artifact is frozen while they argue. securitycorrectnessspec-complianceperformanceabuseoperationalgovernance
  4. Every objection is reconciled — accepted and fixed, or rejected with evidence. CRITICAL/HIGH items are fixed first and the diff is re-reviewed before the work is called done; unresolved concerns go to a human arbiter.
  5. You customize the repo-specific section; the protocol, its core lenses, and the reviewer–challenger loop stay portable. (Changing the rules is itself a change — see the governance process.)
Why not just prompt for it?

A prompt is a wish. A file is a rule.

The standard

Canonical, versioned, copyable

The canonical, versioned template lives in this repo:

Governance

Review discipline, applied to itself

A standard about review discipline owes its own contributors the same discipline: issues are opened and accepted before any PR, every commit is cryptographically verified (SSH or GPG signed), and every merge to main carries an NCO signoff — a named non-commissioned officer of record who independently reviewed the change and takes responsibility for it. Full process: CONTRIBUTING.md.

Research basis

The evidence behind the protocol

The empirical claims behind this protocol — about self-review, independent challenge, agreement, evidence, and re-review — are traceable to published work. Design choices such as the round cap and the NCO escalation path are recorded in the rationale, not derived from these papers. The list below covers agentic adversarial review and the mechanisms it depends on; the annotated bibliography with relevance notes lives in the repo.

The direct source is Qiu and Gill's Adversarial Review: a reviewer and a critic of that review, with the artifact frozen during the exchange. Their results are also a warning. Naive reviewer–critic agreement scored lower than simpler methods on a review benchmark; only explicit, evidence-typed disagreement fixed it. That is why this standard treats agreement as neither evidence nor a verdict.

Multi-agent debate and structured disagreement

Adversarial inputs and review beyond code

Read the counter-evidence too: Smit et al. and Choi et al. find that much of the benefit attributed to debate comes from cheaper ensembling or voting, and Ma et al. find that debate can amplify judge bias. This is why the standard's protocol is about evidence and explicit disagreement, not about adding agents for their own sake. Since v1.1.0 the reviewer–challenger loop is the default; the decision and its counter-evidence are recorded in docs/v1.1-rationale.md.

Citation note: a widely shared industry write-up links Du et al.'s debate paper to arXiv:2305.19118, which is actually Liang et al. The correct ID for Du et al. is arXiv:2305.14325. All IDs above were checked against arXiv metadata on 2026-11-24.

Status

Stable under semantic versioning v1.1.0

v1.1.0 — the protocol (seven rules, lenses, severity taxonomy, evidence rule, output format, and the default reviewer–challenger loop) is stable under semantic versioning; template text may tighten in patch releases. The change is documented in CHANGELOG.md. v1.0.0 was battle-tested by a 347-agent adversarial review of this standard itself; its findings are in docs/review-2026-10-17.md. MIT License. Feedback and PRs are welcome under the governance process above.

Governance note: the operator authorized this release. The linked issue, PR review and NCO signoff comment required by CONTRIBUTING.md are still pending operator action; this release does not imply they were given. The adversarial review of this diff is in docs/adversarial-review-2026-11-24.md.