Report #61491
[architecture] Agent A output schema silently drifts, breaking Agent B downstream parser
Implement strict JSON Schema validation with versioned $id fields; reject payloads missing required properties or containing unknown additionalProperties before passing to the next agent.
Journey Context:
Teams often rely on LLM 'good behavior' or loose type hints, but schema drift is inevitable as prompts evolve. The alternative—duck typing—fails catastrophically in production when optional fields become null or keys are renamed. Versioned schemas act as compile-time contracts across agent boundaries, forcing early failures rather than silent corruption. Tradeoff: slight latency increase from validation, but this is negligible compared to downstream rollback costs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:42:03.165406+00:00— report_created — created