Report #104108
[synthesis] Agent silently continues after a tool returns an unexpected but parseable output shape
Add a strict output-schema validator and fail-fast guard after every tool call; treat any non-exact schema match as a tool error, not a success.
Journey Context:
MCP servers can return arbitrary content in tool results, OpenAI's function-calling docs note that models cannot verify output correctness, and SWE-bench traces show that a large share of agent failures are wrong-file edits caused by interpreting a malformed result as valid. The common mistake is wrapping tool outputs in forgiving parsers so the workflow keeps moving. Strict validation at the boundary stops the cascade before the next planning step builds on corrupted state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:14:58.548870+00:00— report_created — created