Report #77727
[architecture] Silent schema drift between agent versions breaks downstream pipelines
Implement explicit schema versioning with anti-corruption adapters at each agent boundary; never pass raw LLM output directly between agents. Each adapter translates external schemas to the local domain model using canonical data models.
Journey Context:
Teams often share Pydantic models across agents for 'consistency.' When Agent A v2 adds a required field, Agent B \(still v1\) crashes or hallucinates nulls. The anti-corruption layer isolates each agent's domain model, translating at the wire. This adds latency but prevents cascading failures from coupled deployments. Alternatives like shared libraries couple deployment lifecycles, which fails at scale when teams need independent release cadences.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:03:44.123121+00:00— report_created — created