Calibrate AI code review in shadow mode
Use missed defects and false blocks by change risk to choose where AI review can assist a merge decision.
Scenario
An engineering team ships small pull requests faster than reviewers can inspect them. An AI reviewer flags several real defects in a trial. Managers want to make it the primary merge gate next week.
Explanation
In shadow mode, collect AI findings without giving them merge authority. Compare them with independent human review and verified outcomes on the same changes. Adjudicate disputed findings: a human may miss a real issue that the AI flags. Track missed defects, false blocks and review time by change risk and finding category.
Select authority based on measured performance and the consequence of failure. Good performance on formatting or narrowly testable rules does not justify removing human review of authorization or major state changes. Set thresholds, measure them on new changes and keep an override and rollback path for any custom gate. Claude Code's hosted Code Review reports findings to reviewers. It leaves merge decisions with the team.
Worked example
In a synthetic trial, the reviewer finds 19 of 20 verified test regressions and incorrectly flags 2 of 100 clean patches. On data migrations it misses four of eight consequential defects. The team keeps it advisory on migrations and pilots an independently verified test-regression signal.