Report #64724
[architecture] Breaking changes in agent output schemas cause downstream parsing failures during deployment
Version all inter-agent schemas explicitly using semantic versioning; deploy new agent versions with backward-compatible readers \(tolerant readers pattern\) and consumer-driven contract tests.
Journey Context:
Agents are deployed independently. When Agent A v2 changes its output format, Agent B \(still running v1\) breaks. The monolithic approach—deploying all agents together—defeats the purpose of distributed agents. The microservices lesson applies: schema versioning. Each agent declares the schema version it produces/consumes. Use semantic versioning \(major.minor.patch\). Breaking changes bump major version. Consumers use the 'tolerant reader' pattern: ignore unknown fields, use defaults for missing ones. Implement consumer-driven contract \(CDC\) tests where downstream agents define their expectations, and CI for Agent A verifies against these before deployment. This allows independent deployment velocities without cascade failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T15:07:19.082146+00:00— report_created — created