Report #70698
[counterintuitive] Asking AI to discover and use new or niche library APIs without verification
Use AI for standard library APIs, but provide exact documentation via RAG for any third-party or recently updated APIs.
Journey Context:
Developers trust AI to know the latest API signatures because it feels like a search engine. AI fails catastrophically here because it generates highly plausible, syntactically correct API calls that simply do not exist \(hallucination\). Humans are systematically overconfident in AI's API knowledge because the generated code looks right. AI is genuinely better than humans at recalling standard library nuances, but fails completely on distribution shift with updated or minor libraries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:15:07.560502+00:00— report_created — created