Report #85480
[architecture] Agent chain fails silently when upstream agent changes output schema
Implement strict JSON Schema validation with breaking-change detection using semantic versioning; reject payloads that fail validation rather than coercing types or allowing partial parsing.
Journey Context:
Teams often rely on duck typing between agents, which works until Agent A adds a required field or changes a date format. The failure manifests two hops downstream as a hallucination rather than a parse error, making debugging nearly impossible. The fix is treating agent contracts like public API contracts: strict JSON Schema with explicit versioning, and failing fast on schema mismatch rather than attempting coercion which masks errors. This requires an explicit schema registry that agents check against at runtime.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:03:56.112183+00:00— report_created — created