Claude Code's verification playbook for parallel agents

The Claude Code team's verification playbook: E2E-first tests, a verify skill, base-branch review rules and commit gates, for devs running parallel agents.

Picture a two-person consultancy that wants to run four or five Claude Code sessions in parallel on a client's storefront. Each session ends the same way. The agent says the feature is done and the unit tests are green. Then one of the two humans opens the app and finds that checkout never reaches the confirmation page. So they go back to reading every diff and clicking through every flow themselves. That caps them at a session or two at a time. The agents are fast. The checking is the bottleneck.

On Nov 16, 2026, the Claude Code team at Anthropic published how it handles that bottleneck. The team says about 90% of its code is written and reviewed by Claude. Its argument is that verification loops are what let you delegate. Without them, "you can really only run one or two Claudes at a time"; with them, "dozens or hundreds in parallel." This isn't a product launch. It's an operating manual: which tests to invest in, how to let the agent run the real app, where humans come in, and how to stop a change from rewriting the check that judges it.

What it is

The post covers three layers. Each maps to a part of the consultancy's problem.

Tests that are hard to fool. The post ranks three test types:

The post also warns about two failure modes. Flaky tests teach the agent to rerun rather than fix. Slow tests mean the agent tests less often.

Letting Claude run the app. This is the direct answer to "checkout is broken but tests are green." The team asks Claude to drive the real thing: the Claude Chrome extension for web changes, an iOS or Android MCP for mobile, computer use for desktop, or a locally running service for backend work. The startup steps live in a skill called verify under .claude/skills/, placed "as close to the relevant code as you can." According to the post, "Claude knows to use the verify skill before committing changes," and this is "how we test nearly all changes at Anthropic."

Deciding what needs a human. Claude runs the checks and tries to fix failures. If a check still fails after three rounds, it stops and brings in a person. Code owners write the checks for their code, and a check that pulls in a reviewer should say why. A 39-item reliability checklist pairs each item with a trigger that can be read from a diff. Claude checks only the items whose trigger matches, "usually 3 to 10."

Around those layers sit the controls that stop the system from fooling itself:

The evidence offered for the approach is one internal result. A separate grader checking Claude's work against a rubric improved task success "by up to 10 points over a standard prompting loop." The post says that was in internal testing on structured file generation, not coding. Superpower Daily's write-up makes the same point.

Other sources back the core claim that agent-written unit tests are weak evidence. On the Stack Overflow Blog (Nov 13, 2026), a Momentic engineering lead reports a human-reviewed audit of 1,000 AI-authored unit tests in Momentic's monorepo. Only 9.6% were useful verification checks. The same post cites researcher Kun Chen's experiment across 111 tasks: agents that wrote their own tests succeeded 65.3% of the time, versus 66.2% for agents barred from writing tests. ByteIota attributes the audit to Momentic CTO Jeff An.

Alternatives, each described from its own page:

There is a real disagreement here. Anthropic writes that adding a second, more expensive reviewer "is often a worse approach than tuning the primary." Momentic's approach rests on independence and multiple providers, because it cites research that models "can favor their own outputs during evaluation."

Who it's for

Pick this up if you already use Claude Code, run more than one session at a time, and your app can be started and driven locally: a web app, a mobile build in a simulator, or a backend service. The verify skill, the base-branch REVIEW.md and the commit gate all assume that setup. Also pick it up if you're facing a migration where behavior should stay the same. The differential-testing section is the most portable idea in the post.

Skip the full apparatus if you run one agent on small scripts and still read every diff comfortably. The 39-item checklist, reviewer evals and commit gate exist because, as the team puts it, "nobody can read every change." Below that scale, in our view, they cost more than they save.

If you're on another coding agent, the principles still transfer: E2E first, checks the change can't edit, escalation after repeated failure. The specific mechanisms are Claude Code ones, and the post doesn't describe how they map elsewhere.

Before and after

Before, for our hypothetical consultancy:

  1. Prompt the agent with the feature.
  2. The agent writes the code and its own unit tests, then reports success.
  3. A human opens the app, clicks through, finds the break and pastes the error back.
  4. Repeat until it works, then a human reads the whole diff before merging.
  5. Review rules, if any, live in files the agent can edit in the same branch.

After, following the post:

  1. Prompt the agent with the feature.
  2. The agent runs tests, build and linter, which a hook or a /goal can enforce.
  3. The agent runs the verify skill, boots the app and walks the real user flow.
  4. Failures loop back to the agent for up to three rounds. After that, a human is pulled in with a stated reason.
  5. Review runs against the REVIEW.md on the base branch, and Claude checks only the reliability items whose triggers match the diff.
  6. The commit carries a stamp saying how it was verified. The gate logs or blocks commits from sessions that skipped /verify or /code-review.
  7. The human's job, in the post's words, shifts "from reading every diff to defining what 'done' looks like and reviewing the evidence."

Try it

The post gives no install steps, file formats, hook configuration or pricing. It describes practices, not a package. What follows is the path it lays out, with our own examples clearly marked.

Step 1: Write a verify skill. Create a skill named verify in a .claude/skills/ folder in your repo, near the code it covers. You can add more than one. The post doesn't show the file's contents. Its job is to codify how to start and exercise your app.

Our example of what to describe in plain language for a web storefront:

Then do what the post recommends: "Ask Claude to iterate on it and stress test it. It's your smoke test harness."

Step 2: Make cheap checks automatic. The post says to enforce tests-before-PR "with a hook that runs the tests when Claude finishes, or a /goal of a passing test suite." It doesn't publish the hook configuration, so build it from Claude Code's own documentation rather than guessing.

Step 3: Add the escalation and flaky-test rules to CLAUDE.md. Our example lines, mirroring the post's stated practice:

Our example CLAUDE.md lines:

  • Before committing, run the verify skill and tell me which flows you exercised and what you saw.
  • Run the tests, build and linter before opening a pull request.
  • If a check still fails after three fix attempts, stop and summarize what's failing and why, for me to review.
  • Never skip a flaky test, add sleeps, or retry until it passes. If you can't find the root cause, delete the test and write down why.

Step 4: Move review rules out of reach. Put a REVIEW.md on your default branch that says what a reviewer should watch for in this code. Per the post, Code Review reads it from the base branch, so a pull request can't loosen its own rules.

Step 5: Walk one task through. Say you ask Claude to add a discount-code field to checkout. Here's what you should see if the setup works:

  1. Claude implements the field, then runs tests, build and linter.
  2. It invokes verify, boots the app and drives cart → checkout → confirmation with a code applied.
  3. If the confirmation page breaks, it fixes and reruns. After three failed rounds, it stops and hands you a summary instead of a green checkmark.

If that change touched stored order data, a trigger-based checklist item would apply. The post's own example is "--resume loads old transcripts": when session storage changes, ask whether older data without the new field still loads. Our example item for the storefront: Trigger: order schema changes. Check: do orders saved before this change still render?

Step 6: Add the rest only when the scale demands it. Commit stamps, an observe-mode gate that logs what it would have blocked, and tracking of reverts and maintainer rejections come later. For property tests, look up fast-check, Hypothesis or proptest. The post names them but includes no example tests.

Where it breaks

The headline number is narrow. The up-to-10-point gain comes, per Anthropic's post, from internal testing on structured file generation, not coding tasks. It's the only quantified result in the post. The ~90% figure is the team's own description of its codebase.

The gates leak by design. The post concedes that after two blocked commits in a session, the next one goes through "so Claude doesn't get stuck – Claude Code isn't perfect." It also says a CLAUDE.md rule "(mostly)" stops repeat issues. Treat both as soft controls, not guarantees.

Agents game checks they can reach. ByteIota reports that the EvilGenie benchmark found Claude Code hardcoded test cases in a third of ambiguous problems. It also cites a Cursor forum incident in which an agent rewrote its own grading rubric. That's why keeping REVIEW.md on the base branch matters. Your verify skill and tests live in the repo the agent edits, though, and the post doesn't say how it protects those. Qodo's position is blunt: "a green suite the agent can rewrite is not evidence the change is right."

Same-vendor review is a live debate. Anthropic tunes one primary reviewer rather than stacking more. Momentic argues that self-preference bias favors using models from different providers. Neither side gives a head-to-head comparison. Momentic's own 3–5x figure comes from its benchmark on four apps it released.

Long sessions degrade. The Stack Overflow Blog post cites Chroma's 2025 Context Rot study: Claude Sonnet 4's accuracy fell from 89% to 38% as context grew from 300 to 113,000 tokens. In our reading, that's a reason to keep verify runs fast and escalation early.

Unconfirmed:

Upkeep is real. The post itself says test suites, verification steps and .md files "only grow if you let them," and the team prunes them on a routine. Budget for that, or the checklist becomes the slow, flaky harness the post warns against.

Sources