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.
One file that makes review adversarial
- Drop an ADVERSARIAL_REVIEW.md in your repo root.
- 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.
- 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
- 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.
- 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.)
A prompt is a wish. A file is a rule.
-
Persistence
A prompt is forgotten; a file in the repo binds every future session — provided the agent is configured to read repo convention files, exactly the mechanism that makes
AGENTS.mdwork. -
Portability
Any agent that reads repo conventions picks it up with no integration; nothing about the standard is tied to one vendor’s tool.
-
Accountability
The protocol demands reproducible, severity-rated findings and explicit “checked and clean” verdicts per lens — the difference between a review and a vibe check.
-
Repo-owned rules
The repo declares its own invariants, known weak spots, and required checks. Generic review becomes this codebase’s review.
Canonical, versioned, copyable
The canonical, versioned template lives in this repo:
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.
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.
Agentic adversarial review
- Adversarial Review: Structured Disagreement for Grounded Agentic Code ReviewarXiv:2608.18167 · Qiu and Gill, 2026reviewer + critic; false consensus; typed disagreement
- Refute-or-Promote: An Adversarial Stage-Gated Multi-Agent Review Methodology for High-Precision LLM-Assisted Defect DiscoveryarXiv:2604.19049 · Agarwal, 2026kill mandates; cold start; cross-model critic
- When Single Agent Is Enough: Rethinking Multi-Agent Systems for Automated Code ReviewarXiv:2611.23283 · Li, Dam and Ahmed, 2026counter-evidence: multi-agent is not always better
- Human-AI Synergy in Agentic Code ReviewarXiv:2603.15911 · Zhong et al., 2026AI suggestions adopted less; human oversight matters
- The End of Code Review: Coding Agents Supersede Human InspectionarXiv:2606.13175 · Monperrus, 2026counterpoint to the human-arbiter rule
Multi-agent debate and structured disagreement
- Improving Factuality and Reasoning in Language Models through Multiagent DebatearXiv:2305.14325 · Du et al., ICML 2024foundational debate result
- Should we be going MAD? A Look at Multi-Agent Debate Strategies for LLMsarXiv:2311.17371 · Smit et al., ICML 2024debate often loses to cheaper baselines
- Encouraging Divergent Thinking in Large Language Models through Multi-Agent DebatearXiv:2305.19118 · Liang et al., EMNLP 2024Degeneration-of-Thought; tit-for-tat plus judge
- Debate or Vote: Which Yields Better Decisions in Multi-Agent Large Language Models?arXiv:2508.17536 · Choi, Zhu and Li, 2025voting explains most of the gain
- Can LLM Agents Really Debate? A Controlled Study of Multi-Agent Debate in Logical ReasoningarXiv:2511.07784 · Wu, Li and Li, 2025majority pressure suppresses correction
- CortexDebate: Debating Sparsely and Equally for Multi-Agent DebatearXiv:2507.03928 · Sun et al., Findings ACL 2025sparse, equal participation
- Group Perspective Matters: Regulating Debate Relationships Can Mitigate Blind Conformity in Multi-Agent DebatearXiv:2608.03648 · Wu et al., 2026blind conformity as a design failure
- Free-MAD: Consensus-Free Multi-Agent DebatearXiv:2509.11035 · Cui et al., 2025against forced consensus
- DynaDebate: Breaking Homogeneity in Multi-Agent Debate with Dynamic Path GenerationarXiv:2601.05746 · Li et al., 2026homogeneous agents share errors
- Multi-Agent Debate Strategies: Survey, Taxonomy, and ChallengesarXiv:2607.26212 · Motger et al., 2026taxonomy of 141 debate studies
- Epistemic Gain, Aleatoric Cost: Uncertainty Decomposition in Multi-Agent Debate for Math ReasoningarXiv:2603.01221 · Qiao et al., 2026when interaction pays for itself
- On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty AgentsarXiv:2408.00989 · Huang et al., 2024a critic must survive a bad reviewer
Self-refinement and its limits
Multi-agent review and coding systems
- CodeAgent: Autonomous Communicative Agents for Code ReviewarXiv:2402.02172 · Tang et al., 2024QA-Checker keeps review on question
- MARS: Toward More Efficient Multi-Agent Collaboration for LLM ReasoningarXiv:2509.20502 · Wang et al., 2025structured reviews; meta-reviewer
- MapCoder: Multi-Agent Code Generation for Competitive Problem SolvingarXiv:2405.11403 · Islam et al., ACL 2024staged review and repair
- AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and OptimisationarXiv:2312.13010 · Huang et al., 2023separate tester, external feedback
- CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and DebuggingarXiv:2502.05664 · Islam et al., NAACL 2025simulation before finalizing code
- CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code GenerationarXiv:2501.07811 · Pan, Zhang and Liu, 2025intermediate-output gates
Judging bias and arbitration
- Self-Preference Bias in LLM-as-a-JudgearXiv:2410.21819 · Wataoka, Takahashi and Ri, 2024judges favor familiar text
- Judging the Judges: A Systematic Study of Position Bias in LLM-as-a-JudgearXiv:2406.07791 · Shi et al., 2024150k evaluations; systematic bias
- Judging with Many Minds: Do More Perspectives Mean Less Prejudice? On Bias Amplifications and Resistance in Multi-Agent Based LLM-as-JudgearXiv:2505.19477 · Ma et al., Findings EMNLP 2025debate can amplify judge bias
- From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgearXiv:2411.16594 · Li et al., 2024survey of judging and benchmarking
Benchmarks
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues?arXiv:2310.06770 · Jimenez et al., ICLR 2024executable ground truth for patches
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for CodearXiv:2403.07974 · Jain et al., 2024contamination-resistant coding tasks
- SWE-PRBench: Benchmarking AI Code Review Quality Against Pull Request FeedbackarXiv:2603.26130 · Kumar, 2026human review ground truth; κ = 0.75 judge
- Code Review Agent BenchmarkarXiv:2603.23448 · Zhang et al., 2026c-CRAB: agents reviewing PRs
- AI-to-AI Code Reviews of GitHub Pull RequestsarXiv:2608.21311 · Selvanayagam and Ghaleb, ESEM 2026248,641 AI-authored PRs
Adversarial inputs and review beyond code
- Prompt Injection attack against LLM-integrated ApplicationsarXiv:2306.05499 · Liu et al., 2023untrusted repo content can steer a reviewer
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM AgentsarXiv:2406.13352 · Debenedetti et al., NeurIPS 2024tool-using agents under adversarial data
- Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM AgentsarXiv:2503.00061 · Zhan et al., Findings NAACL 2025prompt-only defenses are insufficient
- Prompt Injection Attack to Tool Selection in LLM AgentsarXiv:2504.19793 · Shi et al., NDSS 2026malicious tool docs hijack tool choice
- Generative Adversarial Reviews: When LLMs Become the CriticarXiv:2412.10415 · Bougie and Watanabe, 2024adversarial review of scientific work
- AgentReview: Exploring Peer Review Dynamics with LLM AgentsarXiv:2406.12708 · Jin et al., EMNLP 2024review, rebuttal, meta-review dynamics
- ReviewAgents: Bridging the Gap Between Human and AI-Generated Paper ReviewsarXiv:2503.08506 · Gao et al., 2025reviewer plus area-chair agent
- SafeReview: Defending LLM-based Review Systems Against Adversarial Hidden PromptsarXiv:2604.26506 · Xin et al., 2026hidden prompts in submissions
- Breaking the Reviewer: Assessing the Vulnerability of Large Language Models in Automated Peer Review Under Textual Adversarial AttacksarXiv:2506.11113 · Lin et al., Findings EMNLP 2025text perturbations distort review scores
- Can AI Be a Good Peer Reviewer? A Survey of Peer Review Process, Evaluation, and the FuturearXiv:2604.27924 · Wu et al., 2026review → re-review protocol survey
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.
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.