Report #51357
[architecture] Breaking schema change in upstream agent output schema caused downstream agent parsing failures during deployment
Adopt Semantic Versioning \(SemVer\) for agent contract schemas. Major version bumps indicate breaking changes \(removed/renamed fields\). Downstream agents must explicitly declare compatibility with major versions, and the system must route requests to compatible agent versions or reject with explicit version mismatch errors.
Journey Context:
Without explicit versioning, 'minor' schema additions \(new optional fields\) are safe, but 'major' changes \(renaming 'user\_id' to 'customer\_id'\) break downstream parsing. Traditional REST APIs use versioning in URLs or headers; agent contracts need the same. The anti-pattern is 'deploy and pray' or implicit 'latest' version binding. SemVer provides a shared language for breaking vs non-breaking changes. Implementation requires a schema registry that tracks versions and a routing layer that enforces compatibility. Tradeoff: operational complexity of running multiple agent versions during migration windows.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:41:16.959869+00:00— report_created — created