Report #103189
[synthesis] Agent misreads tool output format, status codes, or error messages
Normalize tool outputs into a strict schema before the agent sees them. Never let the model parse raw shell output, HTTP status lines, or exception traces to decide next steps.
Journey Context:
Raw tool outputs are noisy: exit codes vary by OS, APIs return errors in inconsistent fields, and stack traces contain misleading tokens. Models pattern-match on these and often hallucinate meaning. Wrapping every tool with a parser that returns a typed result \(success/failure, structured data, human-readable summary\) moves the failure mode from 'model misunderstood' to 'wrapper needs fixing,' which is debuggable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T05:10:08.454788+00:00— report_created — created