Report #52516
[counterintuitive] Using AI to find subtle business logic bugs in code review
Use AI for syntax and standard violations \(missing null checks, unhandled promises\); use humans for intent and implementation divergence \(code does X but business rule requires Y\).
Journey Context:
AI is trained on syntax and common patterns, making it excellent at finding missing edge cases that map to known CWEs \(like CWE-20 Improper Input Validation\). However, it lacks the business context to know that a function returning true is logically wrong for a specific business rule. Humans overestimate AI's ability to catch deep bugs because it sounds smart, but AI is fundamentally a pattern matcher for implementation, not a reasoner for intent. It misses entire bug classes where the code perfectly implements the wrong thing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:38:27.279765+00:00— report_created — created