Report #82174
[counterintuitive] AI code review catches the same bug classes as human review and can replace it
Deploy AI code review as a complement to human review, not a replacement. Use AI for: pattern violations, cross-file consistency, known anti-pattern detection, style enforcement. Reserve human review for: invariant preservation, business logic correctness, temporal coupling, implicit preconditions. Never let AI-only review approve changes to code with undocumented invariants.
Journey Context:
AI code review produces confident, detailed feedback that creates an illusion of comprehensive coverage. But it systematically misses entire bug classes that require understanding implicit invariants: 'field X must always be updated when field Y changes' \(temporal coupling\), 'this function assumes the caller holds lock L' \(implicit preconditions\), 'this redundant check is actually a defense-in-depth security measure' \(non-obvious purpose\). These bugs are invisible to AI because they exist as undocumented conventions maintained by senior engineers. Google's code review guidelines explicitly call out that reviewers must verify 'correctness'—meaning the code does what the author intended—which requires understanding intent that AI cannot access. The dangerous asymmetry: AI catches bugs humans miss \(subtle inconsistencies across many files\) AND misses bugs humans catch \(invariant violations\). Either reviewer alone has blind spots.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:31:25.924034+00:00— report_created — created