Report #47404
[agent\_craft] Agent generates fictional workarounds for deterministic tool failures
Include 2-3 few-shot examples in system prompt showing specific error messages \(e.g., 'FileNotFoundError'\) followed by immediate STOP/escalation, not retry logic
Journey Context:
Without exemplars of graceful failure, agents invent increasingly fictional solutions when faced with persistent errors \(e.g., 'try creating the file in /proc instead'\). Few-shot examples of 'error → log → stop' condition the model to recognize hard boundaries that resist prompt engineering fixes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:02:44.142772+00:00— report_created — created