Dark title card with a small orange pixel-style Claude icon at left, a boxed Engineering label, and the headline How the Claude Code team thinks about verification in large white type.
Title card from the 16 November 2026 claude.dev Engineering post "How the Claude Code team thinks about verification.", claude.dev / Anthropic

要点

  • On 16 November 2026, Addy Osmani published "How the Claude Code team thinks about verification" on the claude.dev Engineering blog. The Claude Code team says the vast majority of its code, about 90%, is written and reviewed by Claude. That figure is the team's own claim. Osmani presents verification loops, repeated checks that produce evidence the work is right, as what lets the team hand over more work. Without them, he writes, you can really only run one or two Claudes at a time, because a person has to check everything. With them, you can run dozens or hundreds in parallel.
  • The tests he says are most worth investing in are end-to-end tests of real user flows, property tests that throw generated inputs at rules that should always hold, and differential tests that treat the old system as the source of correct answers. He warns that flaky tests, which fail on and off for reasons unrelated to the change, train the agent to rerun them rather than fix the code, and that slow tests mean fewer tests in each batch.
  • Team practice, he writes, starts from a plain instruction. "Verification means running the change." A verify skill in the repo's .claude/skills/ folder is used before a commit, which is "how we test nearly all changes at Anthropic." If a check is still failing after three rounds, Claude stops and brings in a human. The people who own the code write their own checks. A reliability checklist has 39 items, each with a trigger that can be read from a diff. Claude checks only the matching items, usually 3 to 10.
  • Changes cannot modify their own checks. The team's Code Review system reads REVIEW.md, the file that tells the reviewer what to watch for, from the base or default branch, never from the pull request. Reviews are reserved for commits, because a passing review on an out-of-date commit means nothing. Cheap checks run first. Claude runs the tests, the build, and the linter before opening a pull request.
  • Each commit is stamped with how it was verified, including "none." A commit gate, a rule that can block a commit, can stop a change if the session lacked /code-review or /verify, and can run in off, observe, or enforce mode. Observe logs what would have been blocked. Enforce blocks, though a commit may carry an explanation for why it was not verified, and if commits have been blocked twice in the session, the next one is allowed through so Claude does not get stuck. The team reviews the reviewers against merged-then-reverted changes and a formal evaluation built from earlier incidents. In internal testing around structured file generation, a separate grader checking work against a rubric improved task success by up to 10 points over a standard prompting loop. That result, like the 90% claim, remains internal.

On 16 November 2026, Addy Osmani published "How the Claude Code team thinks about verification" on Anthropic's claude.dev Engineering blog. The opening claim is the team's own. On that team, about 90% of the code is written and reviewed by Claude.

If that is even roughly right, the scarce resource in this style of programming, where coding agents write and revise the software, is not another burst of generated code. It is a verifier, a check that can decide whether the work is actually correct, and that the agent cannot rewrite or fool. The post is a process account of how the team tries to build that kind of check, not a public study of industry-wide results.

Without verification loops, he writes, you can really only run one or two Claudes at a time, because a person has to check everything. With them, you can run dozens or hundreds in parallel.

[1]

Osmani argues that some tests are easier for an agent to satisfy without solving the real problem. Unit tests can pass while the feature is still broken. He says to pick end-to-end tests of real user flows, which are harder to fool. He wants the agent to have hands and eyes on the running system, using tools such as CDP, which can drive a browser, plus simulators or scripts that drive an API. A feature map from the user's point of view can also be used as a grading rubric. Property tests use libraries such as fast-check, Hypothesis, or proptest to throw generated inputs at rules that should always hold, including round-trip encoding, invariants, idempotency, and equivalence. Differential tests treat the old system as the oracle, the source of correct answers, using random or production-sample inputs, normalizing irrelevant differences, and listing approved intentional changes. Flaky tests train the agent to rerun them rather than fix the code.

Verification means running the change. A verify skill in a .claude/skills/ folder, close to the relevant code, is used before a commit. This, Osmani writes, is how the team tests nearly all changes at Anthropic. If a check is still failing after three rounds, Claude stops and a human is brought in. The people who own the code write the checks. A reliability checklist has 39 items, each with a trigger readable from a diff, such as "--resume loads old transcripts" when session storage or message types change. Claude checks only matching items, usually 3 to 10. One reviewer works from REVIEW.md, and later rounds build on earlier context. If a change can modify the check that judges it, the check is broken. Code Review reads REVIEW.md from the base or default branch, never from the pull request. Reviews are reserved for commits, because a passing review on an out-of-date commit means nothing. Claude runs the tests, the build, and the linter before opening a pull request. An earlier claude.dev post covered code review at Anthropic.

[1]

These are internal claims, not industry measurements. Osmani says about 90% of the team's code is written and reviewed by Claude, with no time window, repository list, or definition of what counts as written by Claude. In internal testing around structured file generation, a separate grader checking Claude's work against a rubric improved task success by up to 10 points over a standard prompting loop, with the largest gains on the hardest problems. The post does not publish the task set, the sample size, or the spread around that "up to 10 points."

Each commit is stamped with how it was verified, including "none." A commit gate can block a commit if the session did not contain /code-review or /verify, and can run in off, observe, or enforce mode. Observe logs what would have been blocked. Enforce blocks, though a commit may carry an explanation of why it was not verified, and if commits have been blocked twice in the session, the next one is allowed through so Claude does not get stuck. Misses become rules only if a pattern appears in at least two pull requests and can be identified from a diff. Three agents try to disprove the candidate rule, and a human must approve it in a pull request. The other method replays three bug-finding agents against a pull request tied to a known incident, and treats the bug as detectable if at least two find it. The team reviews the reviewers by tracking merged-then-reverted changes, maintainer rejections, and a size-matched clean subset. A formal evaluation from the Code Review team, described in the earlier review post, recreates the repository state, gives a one-sentence answer key, and scores only findings that correctly describe the bug. Merged stable changes are a control against over-flagging. Recall, the share of real bugs still caught, is measured separately for raw findings, after verification, and at final review. Findings are tagged Important, Nit, or Pre-existing, the last for a bug already present.

[1]

A fair reading is that the team is applying familiar tools to a known failure mode. Base-branch review rules stop a pull request from editing the checks that run against it. Starting a gate in observe mode, and letting a third commit through after two blocks, is a concession to deadlock and false positives, which Osmani states plainly. If the 90% claim is even approximately true, a human cannot be the default checker, so the process is a way to keep handing work to the agent without letting it rewrite the exam. Claude cannot skip flaky tests, add sleeps, or retry until they pass. If it cannot find the root cause, it deletes the test and writes down why. Rules are pruned, so test suites and markdown files do not only grow.

[1]

Those design choices are coherent. They do not turn the 90% claim or the 10-point grader gain into a result other labs can rerun. Both numbers are internal, and the grader result covers only structured file generation. The method is the news, not a measured industry result.

Over the next six months, watch whether this process becomes checkable from outside Anthropic. That would include a public description of the grader test, figures on how often enforce-mode gates block commits and how often the two-block escape is used, and other teams publishing a similar rule that the change under review cannot edit the check that judges it, with a recall number on real reverts. If those disclosures do not appear, the industry will have a playbook and no independent measure of whether it holds. If they do, the test is whether the checks catch later reverts.

[1]