Alex: Welcome to Anthropic Blogcast. Today we are looking at a developer post from October fifteenth, twenty twenty-six, about how the Claude Code team handles code review when agents are writing most of the code.
Jordan: That is what makes this one so interesting. If a tool is producing a huge share of its own codebase, the old model of a person slowly reading every line before anything ships just cannot keep up.
Alex: The team is clear that they did not solve that by removing review. They moved most of the routine reading to automated systems, they protected human attention for decisions that really need a person, and they made it fast to undo a mistake when something slips through.
Jordan: The scale explains why. Merged pull requests to the Claude Code codebase more than doubled between June and September, while the share that had to be reverted fell by more than forty percent. In the wider Anthropic monorepo, changes landing each day rose from about two thousand five hundred in May to more than thirty thousand in September.
Alex: At that volume you need a system, not just good intentions. So the team reframed the question. Instead of asking whether a human read the code, they ask what could go wrong with a particular change, and which check, automated or human, is best placed to catch that kind of problem.
Jordan: That also changed when review happens. It used to be a gate at the end, after the code was written. Now it runs earlier and more continuously, a bit like spellcheck while you are writing, so many routine issues are fixed before a person is asked to look at all.
Alex: And they measure whether the trade is working, tracking human approvals, human comments, and waiting time, with reverts and incidents as the guardrail. Their goal is that most pull requests merge with at most one human in the loop, who can be the author, without more reverts or incidents. Let us walk through the layers.
Alex: The first layer happens before anyone else sees the work. Before a pull request exists, the author gives Claude something it can actually run, like a test suite, a build, or a screenshot to compare against a design, and asks it to show the output rather than just claim the work is done. Then a separate subagent reviews the diff with fresh context.
Jordan: They also run a few internal skills before opening the pull request. One looks for bugs, one tries to simplify the diff, and one checks behavior end to end. Interface changes get an extra check against design guidelines. Giving the system a way to verify its own work is presented as the single most important habit, making the final result two to three times better.
Alex: There is a useful feedback loop here. When the automated reviewer keeps flagging the same kind of problem, the team fixes it at the source, in a skill, a lint rule, or the instruction files that every review loads, instead of arguing with the same comment each time.
Jordan: Two of those files matter a lot. One tells the model what the project is, its stack, its conventions, and its goals. The other is written by code owners for their part of the codebase and tells the reviewer what failure actually looks like there. The good versions are short, they limit minor style complaints, they list paths to skip, and they ask for evidence with a file and line rather than a guess.
Alex: The second layer is an automated review on every pull request. It reads the diff in the context of the whole repository and the stated intent, and asks whether the change solves its problem, fits the system, and avoids breaking something else. For a bug fix, it also looks for the root cause.
Jordan: After the early preview, the share of internal pull requests getting substantive review comments rose from sixteen percent to fifty-four percent. Most pull requests over one thousand lines get findings, while most small ones come back clean. Teams can choose quick, standard, or deep review, depending on how costly a missed bug would be.
Alex: Findings are verified by other agents before a person sees them. Several agents hunt for bugs in parallel, then a separate group votes, and a finding is only posted if enough of them agree it is real. What survives shows up sorted by severity, tagged as important, as a minor nit, or as pre-existing, and every finding has to be answered, either by fixing it or by closing the thread with a reason.
Jordan: The third layer is a separate security review that can block a merge, and the fourth is the familiar set of blocking checks, like lint, type checks, tests on every platform, and a build. A typical pull request may run dozens of checks, and the template asks how the change was tested and how it can be undone.
Alex: Then comes human approval, scaled by risk. Low risk changes, like documentation, copy, and additive changes behind a flag, need no human approval once automated and security checks are green. Medium risk changes, like ordinary product work and changes to sensitive areas such as caching or the auto-updater, need one person. High risk changes need two people.
Jordan: The change sets the tier, not the author. A classifier picks the tier, and a second classifier asks whether this specific change needs another person anyway. Some paths always need a person, and only trusted authors get the lighter paths. An agent approval never counts as a human approval, and whoever directed an agent to make a change is accountable for it, just as if they had typed the code themselves.
Alex: The final layers are about merging safely and recovering fast. A merge queue re-runs every check against the main branch with the change applied, so two pull requests that pass separately cannot combine into a broken main. New behavior ships behind a flag to employees first, then gradually outward. Flags can be turned off without a deployment, and incident reviews ask which earlier layer should have caught the problem.
Jordan: The team also works hard to make the reviewer itself better. They built an evaluation set from past pull requests that caused incidents, along with their fixes and reverts, and they run the reviewer against that set every day, so every incident becomes a test.
Alex: They watch noise just as carefully, by looking at what people actually do with the comments. Did they fix it, say it was wrong, say the behavior was intentional, or decide it did not matter? Their stated priority is catching real bugs first, and cutting review rounds second.
Jordan: Noise matters even more when the author is an agent, because a person can dismiss a minor point in seconds, while an agent will go fix it, creating another commit and another round of review. One pull request went through more than fifty rounds overnight before its author stopped it, and most of what kept being flagged was old code from the first pass, not new bugs.
Alex: So they made review converge. After three rounds, the reviewer asks the author to step back and reconsider the approach. Later re-review looks only at the new diff, findings are grouped by the class of bug so every instance gets fixed, and the reviewer does not repeat findings it already posted.
Jordan: That leaves the human role, which the post is careful to protect. People have moved away from reading every diff and toward decisions machines are bad at, like whether something should be built at all, risky areas like billing and release workflows, architecture that sets a pattern others will copy, and reading the evidence well enough to say what the checks would miss.
Alex: Underneath all of that is ownership. A person is accountable for every change that ships, no matter who or what typed it. The team norm is that if you land a small or medium change and something goes wrong, you usually fix it, which works because changes are small, almost everything is reversible, and regressions surface fast.
Jordan: There is also the second job of review, spreading understanding of the codebase. Nobody keeps a complete mental model, so when someone wants to understand a slice, they ask Claude to write an explainer for exactly that slice, reflecting the code as it is today. That teaches more than reading a trivial one line diff.
Alex: For teams who want to adopt this, the shape is clear. Give your agent checks it can run, run local review before the pull request, add testing, risk, and revert sections to your template, start an automated reviewer on one repository and tune it before widening it, match depth to risk, cap review rounds, and after merging use a merge queue, flags, staged releases, and one step rollback.
Alex: So the takeaway is not that review disappears when agents write code. It is that review has to become layered, risk based, and designed to converge, with human attention reserved for direction, architecture, risky code, and accountability. If you try one thing first, make it verification before review. Give the agent a way to prove its work, and fix problems at the source when the same finding keeps coming back.
Jordan: That habit is what makes the rest of the system trustworthy enough to move fast. Thanks for listening, and we will be back with the next post from Anthropic and the developer blog.