TJ's Desk

Draft. This note is unfinished and unlisted. It can change or disappear, so please do not share it yet. All drafts

Anthropic Built My Code Reviewer. Separately.

I sat in Anthropic's webinar on how they review code and kept recognizing my own review kit on the slides. Eleven parts matched, five were ahead of me, and the one I care about most is the one neither of us has finished: deciding how much risk needs a human.

ai code-review workflow claude

I approved a pull request I had not read

Not a big one. A few lines, a renamed prop, a test that still passed, and my review kit had already been through it and found nothing worth saying. I clicked approve on the strength of that silence, and about four seconds later I realized I could not have told you what the change did.

It was fine. That is not the point. The point is that I had become a rubber stamp with a GitHub login, and the reviewer I built to save my attention had quietly trained me to stop paying it.

So in the week before Anthropic ran its webinar, How the Claude Code team does code review, I had one question on a sticky note. Which pull requests actually need my eyes, and can the rest stop waiting for me?

I went in expecting to take notes. I came out with a scorecard.

Then Morgan Lunt put my architecture on a slide

The webinar was given by Morgan Lunt, a Member of Technical Staff on Claude Code, and it walked through the reviewer Anthropic runs on its own pull requests. The same design is written up in their public post, Solving code review at Anthropic, and the product side lives in the Claude Code code review docs. Everything I say about their reviewer below comes from those two pages, so you can check me.

About ten minutes in I stopped taking notes and started ticking boxes. Several finder agents running side by side, each looking for a different kind of problem. Mine runs six lenses in parallel: security, accessibility, a staff-engineer read, tests, migrations and React performance. Verifiers whose job is to knock findings down. Mine sends skeptics after every finding, in batches of six on Sonnet, with a dedicated skeptic for anything that would block a merge. Style and cleanup filtered out. I had dropped nits from verification entirely, because when I measured them they were the category most often wrong.

That is a strange feeling, by the way. Half pride, half the suspicion that I had just spent three months reinventing something a team with far more people had already shipped. Both halves are true.

Eleven of sixteen

Here is the whole comparison, laid out the way I scored it on the night. The left column is my kit as it stood the day of the webinar, before the change I made afterwards. The right column is Anthropic's reviewer as their post describes it.

My review kit against Anthropic's reviewer Mine, the day of the webinar Theirs, from the public post Six lenses in parallel Skeptics told to refute Nits dropped on precision 6 comments, about 3,000 characters An increment tier A flagged-history file Three alike become one comment An outcomes log Disposition evals, fixture replays A calibrate skill Never approves No round cap (added since) One skeptic per blocking finding No known-clean evals No Pre-existing label Reverts not mined Several finder agents Verifiers that vote Style and cleanup filtered out Severity labels, capped nits Review only the new diff Never post a finding twice Flag the bug class Fixed, wrong, intentional, not worth it Daily incident and revert evals Fix at the source Never approves; findings hold merge Stops at three rounds Several verifiers vote Evals on PRs known to be clean A Pre-existing severity Reverts become eval cases Eleven matched before I had seen theirs. Five were ahead of me.

Filled is a choice we both made. Hollow is a place their reviewer was ahead of mine.

A few of the matches are close enough to be funny. My kit keeps a file of everything it has already flagged on a pull request so it never posts the same finding twice, and their post says the same thing in nearly the same words. Mine collapses three or more findings that share one fix into a single comment, and theirs flags the bug class rather than every instance of it. Mine caps a review at six inline comments, about three thousand characters and three nits, and says out loud how many it cut. Theirs labels severity and caps the nits.

None of that is because I am clever. It is because both of us ran into the same wall, which is that a reviewer who talks too much stops being read. Once you take that wall seriously, the design mostly writes itself. I wrote about how mine got there, one wrong turn at a time, in Seven Hundred Commits to Teach a Reviewer It Was Wrong.

Where theirs was ahead

Five places, and I want to be specific about them, because a scorecard where I only list my wins is a press release.

They cap the rounds. Their reviewer stops after three rounds on a pull request. Mine kept going for as long as the author kept pushing, which meant a long-lived branch could collect review after review, each one finding slightly different things to say. Their post reports what the cap did, and it is the cleanest number in the whole piece.

What a three-round cap did, on Anthropic's numbers Mean reviews before a pull request passed 2.08 before 1.32 after Pull requests that needed five or more rounds 8.9% before 1.5% after Stopping at three rounds made review converge, and almost nothing dragged on.

Their numbers, from their post. Mine have only just started counting.

I have since added a round cap and a convergence metric to my kit, so it now tracks how many reviews a pull request takes to pass. I do not have enough pull requests through it yet to draw my own version of that chart, and I am not going to borrow their bars and pretend they are mine.

Their verifiers vote. Mine sends one skeptic after each blocking finding. Theirs puts several verifiers on a finding and lets them vote, which is the obvious next step for a design that already trusts disagreement. I just had not taken it.

They test on clean code. My evals are balanced between findings that should be raised and findings that should be dropped, and I replay old fixtures to make sure a fix stays fixed. What I do not have is a set of pull requests that are known to be clean, where the right answer is silence. That is the eval that would catch a reviewer slowly getting chattier, and I did not have it.

They label the old stuff. Their reviewer has an explicit severity for a problem that was already in the code before the pull request touched it. Mine handles that case in prose, which works, but a label is easier to filter and easier to count.

They mine their reverts. Every revert and every incident becomes an eval case, daily. Mine learns from what the author did with each comment. It does not yet learn from the changes that got merged, shipped and then pulled back, which is the most honest signal a reviewer could ask for.

The part I came in for

None of those five was on my sticky note. The sticky note said risk.

Here is what I want, stated as plainly as I can. A pull request that renames a prop and touches nothing else should not sit in my queue waiting for me to click a button I am not really pressing. A pull request that changes how a migration runs, or what a permission check lets through, should find me fast and tell me why. Today both arrive the same way, and both wait.

The webinar described the same idea from the other side. Anthropic scales human approval by risk, and it watches the result with guardrails, not trust: how many human approvals each pull request gets, and the revert and incident rates afterwards. If the guardrails move the wrong way, the line moves back.

That is the design I am building for my review kit's board now. It is not finished, and here is the shape it is heading towards.

A pull request opens My review kit reviews it It scores the risk (being built) Small and low risk approve without me? Needs my eyes flagged to me, with why The guardrails approvals per PR, reverts, incidents the guardrails move the threshold

The dashed box is a question, not a feature. The kit does not approve anything, and it will not.

I want to be careful about that dashed box, because it is the easiest thing in this note to overread. My review kit never approves a pull request. It comments, it can ask for changes, and it can mark its own threads resolved once a fix lands, and that is where its authority stops. Anthropic's reviewer does not approve either. It posts findings, and inside Anthropic an open finding holds the merge until someone deals with it. Whether a small, low-risk pull request should ever merge without a human click is a policy decision, and at Career Team it is a decision for people, made in a room, with the guardrail numbers on the table. The kit's job is to make that decision cheap to take and cheap to reverse, by being right about which pull requests are which.

What I have built so far is the first half. The board can already show me which reviews found nothing, and the risk tier on top of it is in progress. What I have not built is any evidence that the tier is right, and I will not have that until enough pull requests have gone through it to compare its calls against what actually got reverted.

What I have not shown

The match itself proves less than it feels like it does. Two teams arriving at the same design is a good sign that the design is sensible, and it is no sign at all that mine works as well as theirs. They have revert and incident evals running daily on far more pull requests than I will ever see. I have an outcomes log, a few months of scored comments and a team small enough that one busy week moves every number.

The round cap is new. I can tell you it is there. I cannot yet tell you it did for me what it did for them.

And the risk tier is a plan with a diagram, which is the stage where everything looks right. The guardrails are the honest part of it, because they are the bit designed to tell me when I am wrong.

Back to the sticky note

I still have it. It still says the same thing, which pull requests need my eyes and can the rest stop waiting for me, and the webinar did not answer it. It did something more useful. It showed me that the people who build the model I review with landed on the same question, drew the same guardrails around it, and kept a human in the loop while they figured it out.

So that is what I am doing, slowly and with the numbers on. The next pull request that renames a prop will still wait for me. The difference is that this time I am going to read it.


The judgment is human. The typing, by design, is not.