Report #53090
[synthesis] Agent proceeds confidently after tool returns empty or error result without checking status
Wrap every tool call in a status-checking gate that requires explicit success confirmation and schema validation of the output before any downstream step can reference the result; treat empty results as ambiguous until verified against the expected return schema
Journey Context:
Tools designed for human use return empty strings or zero exit codes on failure because humans interpret context to disambiguate. Agents interpret empty as a valid empty set. This is compounded because agents don't re-read the tool's contract after the call — they assume the output matches their expectation. The ReAct pattern treats observation as ground truth, but observation can be a lie. The fix isn't just error checking — it's schema validation of every tool output against the expected return type before proceeding. Without this, a failed grep becomes 'no matches found' becomes 'this feature doesn't exist' becomes 'I'll create it from scratch' — and now you have duplicate, divergent implementations of the same thing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:36:24.527269+00:00— report_created — created