Field guide · 20 sources

Field guide: Agent verification

Accepting agent-written work on evidence the agent could not shape: independent oracles, real runs, per-defect grading.

Bottom line

Accept agent work on evidence the agent could not have shaped. In practice that means four things:

The sources make this case mostly by design argument and team practice, not by controlled comparison. An opinion essay argues that only checks you would still trust if the model were trying to fool you count as a harness, so the test runner counts and the author's own assertions do not (R020-f1). Anthropic's post on its Claude Code team describes running checks from the base branch so a change cannot edit its own rules (R182-f2). The measured results point the same way. In one ML bug-repair benchmark, Opus 5.5 often recovered the target metric while leaving injected bugs in place, and per-bug grading changed the ranking (R224-f4).

On the Vero Lean benchmark, in the authors' evaluation, the best configuration (GPT-5.5 xhigh, code-and-proof, 90-minute budget) fully solved 27 of 43 repositories (R045-f1), and the authors state that their audit certifies satisfiability, not that a specification is correct or complete (R045-f7).

One vendor survey points to review load as a pressure: in a verification vendor's self-reported survey of 1,026 developers and managers, 76% said they generate AI code faster than they can verify it (R105-f1). No claim extracted from these sources reports a false-approval rate for an automated reviewer or auto-approver; Qodo's launch post gives none (R141-f5).

Several sources are vendor material. "How this was made" lists them.

Decide first

QuestionIf yesIf noEvidence
Is there a reference implementation or a stated property?Use property-based or differential tests, whose inputs and expected outputs do not come from the agentHave a human write or sign off spec-derived assertions, and use mutation testing to show the tests can fail(R020-f2, R182-f4, R020-f3)
Can the change be run end to end?Run the real app through a repo-local verify skill before acceptingStamp the commit with how it was verified, including "none", as the Claude Code team does(R182-f4, R182-f2)
Can the rule (ordering, safety, completion) be written as code?Enforce it in runtime code or at generation time, not in prose instructionsKeep it as a review checklist item that triggers on the diff(R044-f5, R041-f1, R182-f3)
Does the change touch critical paths, or was it written by an agent?Consider excluding those repositories, paths and authors from auto-approval, as Qodo's guards allow (vendor feature)Automated approval can count as one approval while required reviewers still apply(R141-f2, R141-f3)
Can the property be stated in Lean or another proof checker?Accept machine-checked proofs, but review the formal statement itselfFall back to tests and review(R045-f6, R045-f7, R210-f4)
Is a check still failing after repeated agent attempts?Escalate to a human after three roundsKeep the agent in the loopR182-f5

Do

  1. Put the checks where the change cannot reach them. The Claude Code team runs checks from the base branch so a change cannot modify its own rules (R182-f2). The Vero grader splices only marked agent-editable regions into a fresh copy, applies an axiom allowlist, and screens agent declarations with a rule detector and an LLM judge (R045-f6).

  2. Count only evidence that does not come from the agent's own expectations. The essay's rule is that the test runner counts as harness and assertions written by the code's author do not (R020-f1). Generated inputs count when expected outputs come from a stated property or a reference implementation (R020-f2). Anthropic's post recommends property and differential tests for the same reason: their inputs are not generated with the agent's bias (R182-f4). Both are recommendations without a measured comparison.

  3. Get a human signature on spec tests, and test the tests. The essay recommends that a human write or approve spec-derived assertions, or that a different agent write them and a human review them, with mutation testing to check the tests can fail (R020-f3). A podcast summary reports that Matt Pocock asks agents for proof that their code works, with or without TDD (R220-f1). That is one practitioner's opinion.

  4. Run the change, and let an external check decide when it is done. The Claude Code team runs the real app end to end through a repo-local verify skill (R182-f4). In VHarness, the agent stops when an external visual check judges the rendering complete, not when its own vision does (R133-f4). In the authors' evaluation, in a Claude Code harness with Gemini-3.8-Flash powering the tools, adding five visual tools improved every metric for all four multimodal agents tested, for example Opus 4.8 on Image-to-HTML from 0.7167 to 0.8715 DINOv2 similarity, on 100 cases per task (R133-f1). A text-only model with the tools beat the Opus 4.8 baseline on all three tasks, on a 50-case subset (R133-f2). The authors tested static targets only (R133-f5).

  5. Enforce ordering and completion rules in code. FairyClaw's Formal Skill uses lifecycle hooks to show only the current phase's tools, guard patches, and block completion until verification passes (R044-f4). The authors argue that instructions in a skill document are suggestions the runtime cannot enforce, supported by one case study and no ablation (R044-f5). Two papers report enforcement at generation time, each from the authors' own evaluation. Agent-C raised tool-call policy conformance from 77.4 to 100 (Claude Sonnet 4.5) and from 83.7 to 100 (GPT-5) on retail and airline applications (R041-f1). Type-constrained decoding for TypeScript cut compilation errors by more than half on HumanEval and MBPP (R043-f1). The two results are the authors' own (R041-f4, R043-f4).

  6. Grade each defect, not the metric that summarises them. On BuggyMLEBench-Lite, per-bug checking ranked a 9B curriculum agent above Opus 5.5 at 10 injected bugs, 18.2% vs 13.6% full repair on 22 tasks, a gap of a few tasks (R224-f4). Silent bugs were resolved far less often than visible ones. One label off-by-one kept a 0.953 validation score while the test score fell to 0.017 (R224-f5). Coverage is not completion either: GPT-5.5 xhigh passed 87.3% of Vero specifications in code-and-proof mode, yet 10 of 43 repositories resisted every configuration (R045-f2).

  7. Roll out a new gate in observe mode and record how each commit was verified. The Claude Code team moves a commit gate through off, observe and enforce modes, and stamps each commit with how it was verified, including "none" (R182-f2). Its 39-item reliability checklist has triggers readable from the diff, so Claude checks only the matching items, usually 3 to 10 (R182-f3).

  8. Grade the reviewer itself against past incidents. The same team grades its reviewer against past incidents, with separate recall for raw findings, post-verification and final review, and uses merged stable changes as a control (R182-f5). It reports that a separate rubric grader improved structured file generation success by up to 10 points over a standard prompting loop, from internal testing with no model names or sample sizes (R182-f1).

  9. Move cheap checks into the agent's inner loop. Uber moved simple CI jobs such as lint and build rules into a validate command the agent runs, after CI jobs more than doubled in 12 months (R101-f1). By the time an engineer reviews a change, AI review has run, screenshots or videos are attached where they apply, and a risk score is set, and engineers still review every PR (R101-f2). Both come from a podcast episode summary, secondhand.

  10. Have people check AI findings before anyone else spends time on them. In a GitHub and Microsoft pilot on six open-source projects, a scanner flagged thousands of possible issues. An agent triaged them and seven researchers hand-checked them at about two days per project (R186-f2). The pilot sent 99 private reports with a proof of concept and suggested fix, and maintainers had fixed 55 by 15 November (R186-f1). The vendors recommend checking each finding against the project's threat model before reporting (R186-f4). They say six projects is a small sample and human review does not yet scale (R186-f5).

  11. Let experts audit agent verdicts rather than label from scratch. On DeepFact, PhD experts labeling alone scored 60.8% on hidden known-answer claims (R016-f1). In a simulated Audit-then-Score study run by the paper's authors on claims from deep research reports, with round 0 expert-only plus 3 audit rounds, auditing agent verdicts raised that to 90.9% (R016-f2). Experts were misled by a wrong agent on 2.8% of claims and resisted a wrong agent on 13.3% (R016-f4).

  12. Stop retrying when the errors stop being new. For a Lean prover, the most important feature for predicting whether another attempt would succeed was error diversity, the share of unique compiler error messages. In the authors' evaluation with Goedel-Prover-V2-8B, a router using it cut required compute by 28.9% on average at parity accuracy on a 43-problem PutnamBench test set, over 64 seeds (R042-f1, R042-f3). Attempt count alone saved only 13.1% (R042-f3).

Avoid

Where the evidence disagrees

DisagreementSide ASide BWhat reconciles itWhat would settle it
Can an automated reviewer stand in for a human one?About 90% of code on the Claude Code team is written and reviewed by Claude (R182-f1). Qodo auto-approves PRs with no findings above a set severity and a small blast radius (R141-f1)Uber still has engineers review every PR after AI review has run (R101-f2). In the GitHub pilot, seven researchers hand-checked AI findings before any report went out (R186-f2)Qodo's product lets teams exclude critical paths and authors from auto-approval (R141-f2), Uber runs AI review and a risk score before an engineer reviews (R101-f2), and the Claude Code team escalates to a human after three failed rounds (R182-f5). No source here reports a false-approval rate; Qodo's post gives none (R141-f5)False-approval and miss rates for automated and human review on the same PRs with known defects
Does a formal proof settle acceptance?A checker proven sound means a search bug can only cause a rejection (R208-f1). Vero's best configuration fully solved 27 of 43 repositories (R045-f1)The audit cannot show a specification is correct or complete (R045-f7), and specifications underdetermined the algorithm (R045-f4)A proof moves trust from the code to the statement (R210-f4), which is why Vero's authors reviewed every specification by hand (R045-f7)Independent review or mutation of specifications, with the share of wrong specifications reported
Does a leaner harness give up quality?In its authors' own comparison with gpt-5.4, FairyClaw scored 0.746 on 3.51M tokens against 0.744 and 0.740 for harnesses using 6.29M and 7.28M (R044-f1)With gemini-3.1-pro it scored 0.635, below OpenClaw at 0.689, and ranked third on the two-model mean (R044-f2)Harness rank depends on the model, and no variance was reported (R044-f6)Repeated runs per harness and model, with variance
Should a specialised review pipeline replace a general agent?Open Code Review states higher precision and F1 than Claude Code on the same model at about one ninth of the tokens (R052-f1)Its recall is lower by design, the benchmark is the vendor's own, and the numbers are in an image (R052-f5)The vendor presents lower recall as a deliberate trade-off for precision and cost (R052-f1, R052-f5); no independent source compares the twoThe same PRs reviewed by both, scored by an independent party for precision and recall

Most measured results here come from authors evaluating their own systems or benchmarks (R041-f1, R042-f1, R044-f1, R045-f1, R133-f1, R224-f4, R016-f2), and FairyClaw's comparison reports no variance (R044-f6). The practice sources are one team's or one practitioner's account of their own workflow (R182, R101, R220), a vendor product post (R141), a vendor survey (R105) and a project policy (R102).

Numbers

ClaimResultValueConditionsWhere in source
R045-f1Repositories fully solved, best configuration27 of 43 (code-and-proof), 25 (proof-only)GPT-5.5 xhigh, 90-minute budget, Lean 4.29.1, authors' evaluationVero §4.2
R045-f2Spec pass rate vs repository completion87.3% of specs; 10 of 43 unsolved by allGPT-5.5 xhigh code-and-proof (85.8% proof-only); 743 APIs, 2,705 specifications; 10 unsolved across all 8 configurationsVero §4.2
R045-f3Pass rate by helper-chain depth83.9% vs 50.6% (code-and-proof); 80.1% vs 39.1% (proof-only)No helper vs depth four or more; depth measured in one GPT-5.5 xhigh proof-only solve and applied to the other seven runsVero §4.2, Fig. 5
R045-f5Evaluation cost$2,865 total; $106 per full solveGPT-5.5 xhigh code-and-proof, 43 instances, API ratesVero App. A, App. E
R224-f410-bug full repair under per-bug grading18.2% (9B curriculum agent) vs 13.6% (Opus 5.5); Sonnet 5.5 31.8%BuggyMLEBench-Lite, 22 tasks, gap of a few tasks, authors' benchmarkBuggyMLE §5
R224-f5Silent bug0.953 validation vs 0.017 testLabel off-by-one, pooled tiersBuggyMLE §5 RQ7
R133-f1Visual tools for coding agents0.7167 to 0.8715 DINOv2Opus 4.8, Image-to-HTML, 100 cases per task, Claude Code harness, Gemini-3.8-Flash powering the tools, authors' evaluationVHarness §3.3, Table 1
R041-f1Generation-time policy enforcementConformance 77.4 to 100 and 83.7 to 100Sonnet 4.5 and GPT-5, retail and airlineAgent-C abstract
R043-f1Type-constrained decodingCompile errors cut by more than halfTypeScript, HumanEval and MBPPAbstract
R042-f1Retry router for a Lean prover28.9% average compute reduction at parity accuracy43-problem PutnamBench test set, 64 seeds§4.2, Fig. 3
R042-f4Oracle router ceiling62.0% savingsNoise-free oracle, same test set§4.3.1, Table 1
R044-f3Harness token useAbout 48% below the mean of five others75 tasks, two model families, FairyClaw authors' own comparisonFairyClaw §1
R182-f3Diff-triggered checklist39 items; 3 to 10 checked per changeClaude Code team practiceReliability checks trigger on the diff
R182-f1Separate rubric graderUp to 10 pointsAnthropic internal testing, no sample sizeIntro
R186-f1AI-found vulnerabilities99 reports; 55 fixed; 14 releasedSix projects, vendor pilot, as of 15 NovemberThe process
R186-f3Advisory time with checked report15 minutes vs 30 to 60One ImageMagick maintainer's accountWhat we learned
R016-f2Experts auditing agent verdicts60.8% to 90.9%Hidden known-answer claims; round 0 expert-only plus 3 audit rounds; simulated, authors' studyDeepFact §6.2
R105-f1Generate faster than verify76%; 53% now spend more time reviewing than creating, vs 18% before AI tools1,026 respondents, vendor survey, self-reportedPress release
R105-f2Checked before commit39% completely agree AI code is always checked before commit; 23% have well-defined AI-specific guidelines or automated checksSame surveyPress release
(R208-f3, R208-f4)Conformance suitesSHACL Core 98/98; RDFC 86/86; RDF 1.2 Semantics 16 of 20 certified; OWL 2 inconsistency 27 decided, 91 not decidedW3C suites run by the maintainerLeanRDF README
R101-f1CI load from agentsCI jobs more than doubled in 12 monthsUber, podcast episode summaryTakeaway 8

How this was made

Twenty sources were used:

A Sonnet model extracted 83 claims for the verification set, each tied to a location in the source (a section, table, heading, the abstract, or the whole page). Opus wrote this guide from those claims and the related evals claims, and a separate Opus reader checked every cited sentence against its claim; its 34 fixes are applied.

Limits, and how they were weighted:

Checking the sources found several of our earlier entries wrong, overstated or unverifiable. For example:

Those entries have been corrected at the source (2026-11-23).

Sources in this guide

A field guide synthesizes the Research entries it cites. Each claim id links to the entry it comes from.