After an AI drafts code or research notes, asking it to “review this” is common. That pass is useful for polish.

📑Table of Contents
  1. What adversarial verification is
  2. Ordinary review vs adversarial verification
  3. How to run it in Claude Code
  4. When to use it — cost and failure modes
  5. Practical checklist — humans decide acceptance
  6. FAQ
  7. Summary — what to do next

But self-evaluation in the same conversation often softens critique and leaves weak release criteria.

What this article covers

This article explains adversarial verification (also called adversarial review) for Claude agent workflows, grounded in Anthropic’s named pattern plus independent sources.

You will get:

  • the contrast with ordinary review
  • Claude Code startup patterns
  • token-cost bounds
  • a human accept/weaken/reject checklist

Bottom line: keep “review this” for light first passes.

For high rework-cost deliverables, add adversarial verification that assumes defects, challenges the artifact, and returns a verdict plus evidence.


What adversarial verification is

Definition

Adversarial verification means a second viewpoint—separate from the implementer—stress-tests the artifact on the assumption that something is wrong.

It then returns severity-tagged findings with rationale.

Key contrast:

  • It is not a generic list of “nice improvements.”
  • It is a controlled challenge against a rubric or acceptance criteria.

Anthropic’s named pattern

Anthropic’s Claude Code blog defines Adversarial verification as a named dynamic-workflow pattern.

In practice:

  • Whenever one agent produces work, a second spawned agent challenges that output against an explicit rubric or acceptance criteria.
  • Deep-research style skills may search first, adversarially check claims, then synthesize.

Practical properties

That definition implies three practical properties:

  1. Independence — the evaluator sees the artifact and criteria, not the implementer’s self-justifying narrative.
  2. Adversarial premise — look for failure modes first, not optional polish.
  3. Actionable output — severity, evidence, and confidence so a human can decide.

The analogy to red teams or a devil’s advocate is fine at a high level; operationally, what matters is fixing criteria + fresh context + decision-ready output.


Terminology note — not the same as security-exam “adversarial” attacks


Exam and security senses of “adversarial”

In security and ML exam prep, “adversarial” often names attacker-side techniques, not an agent quality workflow. A short Japanese exam-prep video on attack methods (Information Security Specialist / Information Security Management style terminology) lists names such as the table below.


Example attacker-side terms

Exam / security term Rough attacker goal
Adversarial Examples attack Tiny input perturbations that still look normal to humans but flip a model’s decision
Model Inversion attack Infer or reconstruct training-data traits from model I/O
Adaptively Chosen Message attack Choose the next query using prior responses (adaptive crypto/signing-style attack family)
DRDoS (Distributed Reflection DoS) Distributed denial of service via reflection/amplification

For a concise walkthrough of those attack names, see this educational video (Toppakou channel, ~3 minutes).


Contrast with adversarial verification in this article

That cluster is not the topic of this article.

Term Target Goal
Adversarial-example and related exam attacks Model inputs, queries, or infrastructure Fool, extract, or disrupt (attacker view)
Adversarial verification (this article) AI-produced artifacts (code, research notes) Challenge the artifact and return verdict + evidence (quality workflow)

Search and sharing wording

When sharing or searching, prefer “adversarial verification / adversarial review.” Broad queries on “adversarial” alone often surface exam attack pages (examples, inversion, DRDoS) unrelated to this workflow.


Ordinary review vs adversarial verification

Dimension Ordinary “review this” In-Claude adversarial verification Cross-model (e.g., Codex adversarial)
Premise Find improvements Assume defects; try to falsify Another model attacks weaknesses/design
Context Same conversation bias Fresh subagent / separate role Separate runtime and model family
Output Mostly a finding list Verdict, severity, evidence Aggressive review; optional review gate
Cost Relatively low Higher under multi-agent Extra quota/time cost
Best fit Light polish, first pass Pre-ship, research verification, ADRs High-risk design, auth, competitive claims

Sources and when each fits

Sources (as of July 2026):

Ordinary review still belongs in the toolkit. Adversarial verification is the deeper pass when the question is “is this safe to ship or publish?”


Independence in Japanese practice write-ups

Japanese practice write-ups describe:

  • splitting implementer and evaluator
  • instructing the evaluator to assume the code is wrong and list critiques first
  • withholding the implementer’s self-justification notes

See Clawd / note. That matches the official preference for fresh-context independence.


How to run it in Claude Code

Fastest path

Fastest path after a deliverable is ready:

  • “Adversarially verify this artifact. Assume defects, falsify claims, and return verdict + severity + evidence.”
  • Optionally: “Use a subagent so implementation context does not leak into the review.”

Official best-practice step

Official Claude Code best practices recommend an adversarial review step before treating work as done: have a subagent review the diff in a fresh context and report gaps.

Key points:

  • the reviewer sees the diff and criteria—not the original reasoning
  • for correctness-focused reviews, the bundled /code-review skill is cited as an example
  • for plan conformance, spell out the target, the plan, and what counts as a finding

Source: Claude Code best practices — Add an adversarial review step


Outside Claude Code

Outside Claude Code, recreate independence operationally:

  1. Open a new session (avoid continuing the builder thread).
  2. Paste only the artifact (omit implementer rationalization notes).
  3. Give a skeptic prompt (independence, adversarial role, primary-source grounding, decision-ready format).
  4. For each finding, record accept / weaken / reject as a human.

Generator-then-critic framing

Independent analyses (e.g., MindStudio) frame adversarial verification as a generator-then-critic loop:

  • a critic challenges output before trust
  • the same pattern applies to research claim fact-checking, not only code
  • it tends to pay for itself on high-stakes work—shipping broken code, locking a bad design decision, or publishing a wrong analysis

When to use it — cost and failure modes

Token cost

Adversarial verification is not free. Anthropic reports multi-agent implementations often use about 3–10× more tokens than single-agent approaches for equivalent tasks.

Drivers include:

  • duplicated context
  • coordination messages
  • handoff summaries
Anthropic multi-agent systems blog discussing token cost tradeoffs
Official multi-agent guidance notes roughly 3–10× token use versus single-agent tasks (claude.com)

Source

Source: Building multi-agent systems: when and how to use them (Anthropic blog, Jan 2026).


High rework-cost targets

Reserve the technique for high rework-cost artifacts:

  • Pre-publish articles or research notes where factual errors go public
  • Pre-release code, especially auth/permissions paths
  • ADRs and decision docs that are expensive to reverse
  • Merge-time review after multi-worktree changes

Skip it for trivial diffs already covered by strong tests.


Failure modes

Watch three failure modes:


Over-flagging

  1. Over-flagging – Gap-seeking reviewers often invent findings even when work is sound. – Official guidance: flag only correctness/requirements gaps; treat the rest as optional. – Chasing everything produces over-engineering.

Lazy pass

  1. Lazy pass – The verifier may rubber-stamp “looks fine.” – Treat a clean bill of health as input, not proof; re-check critical claims against primary sources yourself.

Shared model blind spots

  1. Shared model blind spots – Same-family models may miss the same classes of defects. – For high-risk design, cross-model adversarial review (for example via the Codex plugin path described by Chase AI and THE DECODER) is a candidate escalation. – That path includes more aggressive review and optional review gates that block finalizing changes until review completes.

Practical checklist — humans decide acceptance

The point is not to implement every AI finding. It is to give a human better decision material.

Procedure

  1. Freeze the artifact version (design note / PR diff / research report).
  2. Run adversarial verification in a fresh context.
  3. Require primary-source grounding for factual claims (with URLs).
  4. Record accept / weaken / reject per finding.
  5. Do not chase findings that do not affect correctness or requirements.

Decision table

Decision table template:

Finding Severity Evidence Decision (accept/weaken/reject) Change made
Example: missing auth guard High No guard on path X Accept Add guard in PR
Example: verbose naming Low Style preference Reject None

Next actions

Suggested next actions:

  • Try “adversarially verify this” once on a real artifact
  • For code, use a fresh subagent or /code-review on the diff
  • Attach “ground claims in primary sources” to factual work
  • Log accept / weaken / reject in a finding table
  • Limit routine use to high rework-cost deliverables
  • Escalate to cross-model adversarial review only when needed

Related reading

Related reading on Claude Code × Codex collaboration and sandbox boundaries:


FAQ

Is “review this” obsolete?

Q1.

No. It remains useful for light polish and first passes. Adversarial verification is the deeper option when you need falsification and a decision-ready verdict.


Can I do this without Claude Code?

Q2.

Yes. Open a new session, paste only the artifact, and run a skeptic prompt that enforces independence and evidence-backed findings.


Should I fix every finding?

Q3.

No. Official best practices warn that gap-seeking often over-reports. Chase only correctness- and requirements-relevant items.


How expensive is it?

Q4.

Multi-agent setups can cost roughly 3–10× tokens versus single-agent work. Keep routine use on high-value artifacts.


Is cross-model review mandatory?

Q5.

No. Start with fresh-context verification inside Claude. Escalate to another model’s adversarial review for high-risk design or suspected shared blind spots.


Is this the same as adversarial-example attacks?

Q6.

No. Exam-prep attack lists often group adversarial examples, model inversion, adaptively chosen message attacks, and DRDoS as attacker-side techniques. Adversarial verification in this article is a workflow that challenges AI-produced artifacts and returns a verdict with evidence. For a short exam-prep overview of those attack names, see this video.


Summary — what to do next

Ordinary AI review is not always enough for ship/publish decisions. Anthropic’s named adversarial verification pattern adds a second, adversarial pass that returns verdict and evidence.

Token cost rises under multi-agent orchestration, and both over-flagging and lazy passes are real.

Run the technique once on a live artifact, decide findings with a human table, reserve routine use for high rework-cost work, and add cross-model review only when the risk justifies it.

Related articles:

Related new article:

krona23

Author

krona23

Over 20 years in the IT industry, serving as Division Head and CTO at multiple companies running large-scale web services in Japan. Experienced across Windows, iOS, Android, and web development. Currently focused on AI-native transformation. At DevGENT, sharing practical guides on AI code editors, automation tools, and LLMs in three languages.

DevGENT about →

Leave a Reply

Trending

Discover more from DevGENT

Subscribe now to keep reading and get access to the full archive.

Continue reading