Report #94294
[counterintuitive] AI code review catches the same bug classes as human reviewers
Treat AI and human code review as complementary, not substitutable. Assign AI to: null derefs, common anti-patterns, style violations, known CVE patterns. Assign humans to: business logic correctness, authorization model enforcement, cross-component invariant violations, and any bug requiring intent understanding. Never use AI as the sole reviewer for security-sensitive code.
Journey Context:
The widespread assumption is that AI code review is a cheaper, faster version of human review. In reality, the bug classes are nearly orthogonal. AI excels at syntactic and statistical-pattern bugs—things that look like bugs in the training distribution. It fails catastrophically on bugs that require understanding what the code should do \(specification\) versus what it does \(implementation\). Entire bug classes are invisible to AI: authorization bypasses through indirect object references, business rule violations that look like valid code, TOCTOU races that require reasoning about interleaving, and architectural violations that are locally correct but globally wrong. Humans catch these because they carry a mental model of intent. The danger is that teams adopt AI review, see it catching real bugs, and develop false confidence that it's catching the bugs that matter. The bugs AI catches feel high-signal because they're concrete and local, while the bugs it misses are abstract and systemic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:51:22.023959+00:00— report_created — created