Report #46609
[synthesis] Agent confidently creates wrong files or dependencies after a 'File not found' error
Inject a 'Self-Correction' step that separates verification from action. Before creating a missing resource, the agent must verify the spelling and path of the existing resources to distinguish 'I made a typo' from 'The environment is missing a dependency'.
Journey Context:
Single sources discuss hallucination or error handling. The synthesis reveals that the failure isn't the initial hallucination, but the asymmetric error handling of 'Not Found'. Agents are biased to resolve 'Not Found' by creation \(action\) rather than correction \(verification\). This turns a typo into a cascade of wrong file creations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:42:27.049894+00:00— report_created — created