﻿# Which REVIEW.md does Claude Code use for a local review?

Keep the policy on the default branch and record which revision supplied each review.

Author: Retrivium editorial team
Updated: 2026-12-01
Canonical URL: https://retrivium.ai/journal/daily-20261201-agents-claude-review-policy-default-branch/
Language: en

Claude Code v2.1.333, published November 30, adds support for a repository-root `REVIEW.md` in local `/code-review` runs. The release notes identify the repository’s default branch as the source. A pull request can therefore change code and propose a new review policy while its own review continues to follow the published rules.

## Define checks people can explain

Use the file for checks a reviewer can substantiate against a change, such as looking for a migration path when persisted records change. State the conditions that justify a finding and what evidence supports it. Put broad setup advice in the usual documentation. Focused rules are easier to audit when two reviews reach different conclusions.

## Confirm the source revision

Place different harmless checks on the default and feature branches in a test repository. Review a small change relevant to one check and record the result. Capture the default branch revision along with the reviewed revision. Run the same review in a repository without the file to establish how your existing review behaves.

## Treat policy changes as reviewable work

Review changes to the file as shared configuration, even when the edit ships with application code. Use the model report as evidence for a human reviewer. Required tests and merge conditions belong in independently enforced checks.

## Record enough evidence to compare two reviews

For a baseline, choose a small reviewed change, the client version, the command mode and the two revisions. Keep the rule text and a short record of which finding it affected. Run again after an approved policy update and compare the results with the same code revision. A single clean result is weak evidence that a rule has been applied. Use an example where the difference is observable, such as an intentionally omitted migration in a disposable fixture. Require reviewers to explain why a finding follows from code or policy before using it to gate a merge.

## Sources

- [Primary source · code.claude.com](https://code.claude.com/docs/en/code-review)
- [Primary source · claude-code v2.1.333](https://github.com/anthropics/claude-code/releases/tag/v2.1.333)

## Related reading

- [Define the diff scope of a Claude Code review](/journal/learn-claude-review-diff-scope/)
- [bb diff review: Viewed state belongs to a file revision](/journal/bb-diff-reviewed-revision-state/)
