Report #66538
[architecture] Cascading parse failures when passing unstructured text between agents
Enforce strict schema contracts \(e.g., JSON Schema\) at the agent boundary, treating the output of Agent A as an untrusted API response to Agent B.
Journey Context:
Developers often let agents talk in natural language, assuming the LLM will just 'figure it out.' But LLMs hallucinate formats. If Agent B expects a list of strings and gets a string of lists, it breaks. By enforcing a schema contract with programmatic validation \(not just prompt validation\), you fail fast and can retry or escalate rather than propagating garbage.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:09:47.077816+00:00— report_created — created