AI code review leaves noisy comments because it lacks context. How do I filter to the good ones?
Filter in four layers. Tell the reviewer what counts as a real bug and cap the nits. Skip generated files and anything CI already checks. Give it the context it is missing, such as past PR discussions and migrations. Then track how many comments lead to a fix, and cut whole classes of comment that never do.
Noisy AI code review is mostly a setup problem, so most of the fix is setup too. Write down what counts as a real bug, cap the minor comments, and skip files and checks that other tools already cover. Give the reviewer the history it is guessing at. Then count which comments lead to a code change and delete the classes that never do. Accept rate is the share of AI review comments that end in a fix or a resolved thread because someone agreed. It is the one number that tells you whether filtering worked.
The problem is common. An April 2026 study of code review agents (CRAs) found that "12 of 13 CRAs exhibit average signal ratios below 60%" (Chowdhury et al., arXiv). Its methodology sorted pull requests by who reviewed them, and 60.2% of closed ones reviewed only by agents sat in the 0 to 30% signal range (arXiv).
Write down what counts as important, and cap the rest#
Most reviewers ship with a general idea of severity that does not match your repo. Fix that first, in a file the reviewer reads on every pull request. A severity rule is a written line that says which kinds of finding block a merge in this repo and which are optional. Claude's Code Review marks each finding as Important ("a bug that should be fixed before merging"), Nit or Pre-existing (Claude Code docs). Its REVIEW.md file lets you redefine those levels, and the docs say plainly that this is "how you cut nit volume" (Claude Code docs). Their example caps the nits ("Report at most five Nits per review") and says style and naming are "Nit at most."
GitHub Copilot code review reads .github/copilot-instructions.md for repo-wide rules and *.instructions.md files for specific paths. It also reads CLAUDE.md and REVIEW.md if they exist (GitHub docs). So one well-written file can steer more than one reviewer. For example, a payments service might block a merge only on these:
- A query not scoped to the caller's account.
- A migration that cannot be rolled back.
- Personal data written to logs.
- A retry loop with no limit.
Everything else is optional, and the file says so.
Stop comments on code nobody maintains by hand#
The cheapest noise to remove is a comment on a file no person wrote. Lockfiles, generated clients, vendored code and formatting are already covered by other tools or left alone on purpose. Claude's example REVIEW.md lists "Anything CI already enforces: lint, formatting, type errors" under "Do not report," along with generated files and lockfiles (Claude Code docs). For paths that need some review but not much, it suggests a higher bar ("only report if near-certain and severe").
Unblocked reads your .gitattributes and skips any file marked with GitHub's Linguist generated or vendored markers (Unblocked docs). Whatever tool you run, make the skip list a file in the repo, not a setting one admin remembers. Then a new engineer can read why the reviewer stays quiet on src/gen/.
Give the reviewer the context it is guessing at#
A reviewer that sees only the diff will flag a query that looks slow even when a migration last month added the index. It will suggest a pattern your team argued against in a PR two years ago, the same gap behind coding agents that keep reinventing rejected approaches.
The fix is to let the reviewer read what a senior engineer would check. That means past PR threads, the tickets behind the change, the Slack discussion, the migration history. Unblocked Code Review draws on "your code, team discussions, and past pull request conversations to understand the changes and your team's conventions" (Unblocked docs). Abhinav Rastogi, Staff Software Engineer at RB Global, put the result this way: "I like that Unblocked's code review is not noisy. It leaves fewer comments, and the model is usually much more aware of the context. For example, when it comments on database queries, it understands migrations and existing optimizations."
What teams have the reviewer ask before it comments#
Teams we work with have the reviewer ask a few narrow questions about the changed files first. Paraphrased from their review automations:
- A PR removes a production config value. What incident follow-ups or earlier decisions apply to it?
- A PR turns on a release flag. What did the team decide about when it can be enabled?
- A bot proposes a dependency upgrade. Why were earlier attempts closed without merging?
Each answer either gives the author a linked thread to check, or keeps the reviewer quiet because the change matches a decision. Some teams run Unblocked Code Review, which pulls in past PRs, docs, conversations and issues before each review (Unblocked). Others keep CodeRabbit or Copilot code review and connect it to Unblocked MCP, since both can call MCP servers during a review (CodeRabbit docs, GitHub docs). A few call the Unblocked CLI from a GitHub Actions job, which returns JSON (Unblocked docs).
To catch the same problems while the code is being written, see the guide to checking AI code against your conventions.
Track accept rate and delete what never lands#
Filtering without a measurement quickly turns into an argument about opinions. A comment class is a group of review comments that share a type, such as naming, null checks or query cost. Pick one measure and check it every two weeks: of the comments the reviewer posted, how many led to a code change or a thread resolved because someone agreed. Break it down by comment class. The class that almost never lands is your next rule in REVIEW.md or your next skip.
Use the feedback buttons on individual comments, but do not count on them alone. GitHub says Copilot uses thumbs up and down "to improve the product." It also says that on a re-review "Copilot may repeat the same comments again," even after a thumbs down (GitHub docs). Unblocked saves a reply that says how future reviews should handle a pattern as a rule, after checking it against the code, which "can reduce repeated comments about accepted patterns" (Unblocked docs). Either way, a repeated bad comment means the rule belongs in a repo file.
The last line of Claude's check-run details holds the severity counts as JSON, which a CI script can read to fail only on Important findings (Claude Code docs). That is a good default gate. Nits stay advice rather than a blocker. For how the main tools compare on context depth, see the best AI code review tools in 2026.


