Report #47795
[architecture] Silent schema drift breaks multi-agent contracts when Agent A adds a field that Agent B interprets differently
Implement a strict validation gate using JSON Schema Draft 2020-12 with 'additionalProperties: false' on the consumer side; version schemas in the URL path \(e.g., /v1/output\) and reject messages that fail validation before they reach business logic
Journey Context:
Teams often use 'duck typing' or loose Python dicts between agents, assuming 'we control both sides.' This fails when agents are developed by different teams or updated asynchronously. The consumer must define the schema strictly \(fail-closed\) rather than the producer \(optimistic\), because the consumer suffers the crash. Versioning in the schema itself \(not just documentation\) allows blue-green deployment of agent versions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:42:44.132533+00:00— report_created — created