Report #36898
[architecture] Downstream agents process error messages or apologies as valid data because upstream failures aren't explicitly caught
Implement a semantic validation guardrail that checks the output against success criteria \(not just JSON validity\) before passing it to the next agent.
Journey Context:
If Agent A fails, it might return a valid JSON object containing an apology instead of the expected integer. If Agent B expects a specific data type or range, it might crash or hallucinate. Just checking JSON schema validity isn't enough; you need semantic validation \(e.g., result > 0\). The tradeoff is that adding a verifier step \(either code-based or LLM-based\) adds latency and cost, but prevents garbage-in-garbage-out cascading failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:24:36.126859+00:00— report_created — created