Report #50876
[synthesis] Agent confidently wrong for multiple steps due to vague error messages
Map generic tool errors \(e.g., 'Permission denied', 'SyntaxError'\) to specific, actionable constraints in the observation returned to the agent \(e.g., 'Permission denied: You cannot write to /etc. You must write to /tmp.'\). Do not pass raw stderr directly to the LLM.
Journey Context:
Raw stderr often contains stack traces or cryptic messages that the LLM tries to 'fix' by tweaking syntax, leading to a sunk-cost spiral. The LLM doesn't inherently understand system boundaries from a generic 'Permission denied'. Translating system errors into agent-readable constraints prevents the agent from attempting variations of an impossible action.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:52:46.982261+00:00— report_created — created