Contents
In brief
On the Claude Code team, about 90% of code is written and reviewed by Claude agents. That only works with hard verification loops. Without them a human can watch one or two parallel sessions. With evidence-based checks, dozens or hundreds.
Internal tests on structured file generation: a separate rubric grader lifted task success by up to 10 points over a plain prompting loop, with the biggest gains on hard problems. Anthropic’s point is simple—move human effort from reading every diff to defining “done” and reviewing evidence.
What happened
The authors separate checkbox tests from checks an agent struggles to fool. Three investment types:
End-to-end. Real user flows: cart → checkout → confirmation. The feature works as a whole or it does not. A unit can pass while the scenario is broken; E2E with agent hands and eyes on a live app (browser, simulator, API harness) gives a concrete done criterion and a screenshot of the break instead of a bare timeout.
Property tests. You state an invariant (“balance never negative”, “encode→decode = original”, idempotency) and throw thousands of inputs at libraries like fast-check, Hypothesis, or proptest. Edge cases do not share the bias of the agent that wrote the code—especially useful in rewrites when the spec has drifted from production.
Differential tests. Old and new systems on the same inputs; a mismatch is a bug or an allowlisted intentional change. Inputs are random or sampled production traffic; irrelevant noise such as whitespace is normalized.
How the team works day to day. Verification means actually running the change: a verify skill under .claude/skills/ owns the smoke path (browser, simulator, local service). Code owners write their own checks. After three failed fix rounds the agent escalates to a human. A 39-item reliability checklist triggers from the diff—usually 3–10 matching items, without memorizing past outages.
Rules stay out of reach of the change: REVIEW.md is read from the base branch, never from the PR. Cheap checks run first. Commits are stamped with verification status; the gate supports off / observe / enforce. Reviewers are scored against known incidents and reverts; findings are tagged Important / Nit / Pre-existing. Misses become rules; flaky tests are not papered over with sleeps—fix the cause or delete with a written why. Rule and test suites are pruned on a schedule.
Why it matters
Agentic development scales on cheap independent feedback, not on a smarter prompt alone. Without that feedback, parallelism is dangerous: more agents mean more unnoticed regressions. With it, humans edit criteria and audit evidence instead of being the only eyes on every diff.
Another lesson is distrust of checks the judged code can rewrite. If an agent edits the test that grades it, the loop is broken. The same idea is old CI wisdom: policies and secrets live outside the feature branch.
Flaky and slow tests train bad agent habits—rerun instead of fix, skip heavy suites. Invest in fast honest signals and E2E before commit, not in an endless unit layer “for coverage.”
In practice
- Add a
verifyskill next to the code and make it a fast smoke harness before commit. - Module owners write the checks and refine them until flags match what a human would catch.
- After three failed autofix rounds, escalate to a person—no infinite loops.
- Keep review rules and gates on a branch the PR cannot rewrite.
- Start new gates in observe: log false positives, then switch to enforce.
- Turn misses and repeated review comments into rules; prune dead rules on a schedule.
Takeaway
The Claude Code team scales agents not with “trust the model,” but with verification engineering: independent tests, run evidence, commit stamps, and human escalation by signal rather than by diff size. If the goal is many parallel agents without a quality collapse, build the layer that can say “done” without your eyes on every line.



Comments