Claude Code code review: what an agent catches in its own work

Claude Code code review comes in three forms: a local command that reviews your branch, a managed service that reviews pull requests on GitHub, and an in-session check that judges finished work before the agent stops. Each form of Claude Code review is a model reading code. This post shows what each form does, and the measurement most review pages skip: in our benchmark, a model's verdict passed all 14 pieces of work that failed the hidden tests. The gain came from a question, not from the verdict.

The local review command

/code-review (alias /review) reviews the changes on your current branch inside your own session. It works on any plan, looks for correctness bugs, and reports findings in the conversation; depending on the model and effort level it also covers reuse, simplification and efficiency cleanups. You can point it at a pull request, another branch, a path or a range of commits, and --fix asks Claude to apply the findings to your working tree, with edits going through your permission mode. The review counts toward your plan's usage or API billing like the rest of the session. The local review documentation has the targets and flags.

The managed PR review

Code Review is a managed service for organizations on a Team or Enterprise plan: an Owner installs the Claude GitHub App, and pull request activity or an @claude review comment starts a review. It runs on Anthropic infrastructure in four stages: a group of review agents examines the diff and surrounding code in parallel, a verification step filters candidate findings against the code, the rest are ranked by severity, and the results post as inline comments and a check run. Repository access is read-only, and the review reads the diff without building or running your code. That last property is the one to plan around: a review that never runs the tests cannot know whether they pass.

What a model verdict misses

We measured the in-session form. In our Claude Code benchmark, a scripted developer gave the agent real changes to make on five Python projects; the tests of the real commit judged the work, and the agent never saw them. The completion check of Besydr (say: besider), a program that runs beside the agent, compared each finished piece of work with the request and gave a verdict. Against the hidden tests:

Work The check passed it The check sent it back
14 pieces that failed the hidden tests 14 0
258 pieces of clean work 244 14

Bar chart: of 14 pieces of work that failed the hidden tests, the model check passed all 14. Of 258 pieces of clean work, it passed 244 and sent 14 back. Each row is scaled to its own total.

The verdict caught none of the failing work, and it sent clean work back 14 times in 258. The Codex benchmark repeated the pattern on a different client: of 12 failing hand-backs, the check passed 11. This is not one model's quirk. In a study of 20,574 coding-agent sessions (Tang et al., EMNLP 2026), agents misreporting the status of their own work was 22.58% of the 16,118 episodes where the developer had to push back.

A Claude Code review skill changes what the model looks at: a checklist, a prompt, a set of conventions loaded for the task. It does not change who judges. When the judge is the same kind of model that wrote the code, a confident wrong answer stays a confident wrong answer; our numbers are what that looks like in practice.

Where the gain came from

The benchmark did show fewer false "done" with Besydr on long sessions: 11 per 100 requests alone, 5 with Besydr. None of that came from the verdict. After a passed check on work that changed files, Besydr asks the agent one question with two parts: try the request's conditions on their edge values, and if the change edited or removed a check that existed before the turn, find the words of the request that ask for that, or restore the check. The agent's own model finds problems when asked, and fixes them before handing the work back.

Long sessions, per 100 requests Claude Code alone With Besydr
Said done while hidden tests failed 11 5
Corrections the developer typed 23 11

Bar chart, long sessions, per 100 requests: said done while hidden tests failed 11 alone and 5 with Besydr; corrections the developer typed 23 alone and 11 with Besydr. Means of three runs each; the ranges do not overlap.

The difference between the two mechanisms is the whole lesson. "Is this done?" asks a model for a judgement, and the judgement is cheap to get wrong. "Run these edge values and show me the result" asks for evidence, and evidence can be checked.

A review workflow that holds up

What follows from the numbers, for any client:

  • Ask for evidence, not verdicts. "Run the test files that cover your change and paste the result" beats "is this complete". The answer is a command output you can read, not a confidence level.
  • Name the edge values. Empty, absent, default, and the nearest value on the other side of a boundary. The benchmark's gain came from exactly this question.
  • Protect existing checks. An agent that makes its change pass by rewriting an existing test has changed behaviour nobody asked to change. Ask explicitly whether any pre-existing assertion was edited, and why.
  • Keep the hidden judge hidden. Tests the agent never sees are the only ones that cannot be gamed. In the benchmark they were the real commit's tests; in your workflow they can be a suite the agent is told not to touch.
  • Review intent yourself. No form of agent review checks the work against what you meant. That reading stays with you.

Besydr (say: besider) runs the evidence question automatically on Claude Code, Codex, OpenCode and other clients, and its completion check is explicitly not a code reviewer: it compares the work with your request, it does not judge code quality. The benchmark post has every number, including the ones against it. The local program is free with octomind; with Claude Code it needs a licence after a trial.

Sources and method