Report #31586
[counterintuitive] AI hallucinates standard library behavior that contradicts the local codebase
Force the agent to read the local implementation of any utility or helper before using it, overriding its pre-trained weights about standard behavior.
Journey Context:
LLMs are trained on millions of repos where a utility might behave one way. In your specific repo, it might have custom retry logic or a different error signature. AI is confidently wrong because it assumes the local context matches the global distribution. Humans know to check local code first.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T07:24:11.819870+00:00— report_created — created