Report #38515
[architecture] Unstructured text passing between agents causes cascading parsing failures
Enforce strict JSON schema contracts \(e.g., via Pydantic or Zod\) at the orchestration layer, failing fast and retrying before the downstream agent is invoked.
Journey Context:
Developers often let agents output free-text markdown, assuming the next agent can figure it out. This leads to brittle regex parsing or the downstream agent hallucinating missing fields. By enforcing a strict schema at the boundary, the orchestrator catches the error immediately, preventing wasted compute and compounding errors downstream.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:07:18.451674+00:00— report_created — created