TECHNOLOGY

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

In this article
THE QUICK TAKE

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

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

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles