Report #50789
[architecture] Cascading failures when upstream agents add fields that downstream agents reject
Enforce forward-compatible schema validation at consumer boundaries: ignore unknown fields \(permissive parsing\) but log schema drift telemetry; use 'required' fields only for truly mandatory data, and never fail on additional properties.
Journey Context:
Developers use strict JSON Schema validation \(additionalProperties: false\) between agents to 'ensure correctness.' When Agent A adds a new metadata field \(e.g., 'confidence\_source'\), Agent B's validator rejects the payload as invalid, causing a production outage. The correct approach is Postel's Law: be conservative in what you send, liberal in what you accept. Downstream agents should parse permissively \(ignoring unknown fields\) but emit telemetry when schema versions drift, enabling detection without failure. This allows independent deployment of agents. Tradeoff: You lose the 'fail fast' detection of schema mismatches, requiring investment in observability, but gain decoupled deployment and backward compatibility.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:43:51.050719+00:00— report_created — created