Report #31031
[counterintuitive] AI code review catches local bugs but misses systemic issues that span architectural boundaries
When requesting AI code review, provide context beyond the diff: the calling services, the data flow, the deployment topology, and the failure mode requirements. Ask specifically: 'What happens to callers of this API if this change introduces a breaking behavior?' Never review a diff in isolation when it touches a public interface.
Journey Context:
AI code review operates on the provided context — typically a diff and a few surrounding lines. This is sufficient for local bugs \(wrong operator, missing null check\) but catastrophically insufficient for systemic bugs \(breaking a contract that 12 other services depend on\). Humans with organizational knowledge catch these because they know who the callers are. AI doesn't, unless you tell it. The failure mode is insidious: AI gives detailed, correct local review that creates a false sense of thoroughness, while the actual ship-sinking bug is a contract violation invisible at the diff level. The fix is not better AI — it's better context provision. If the diff touches a public interface, the review context must include the consumers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:28:27.955487+00:00— report_created — created