Report #91915
[architecture] Silent schema drift in multi-agent pipelines causing downstream agent failures
Enforce strict Pydantic v2 models with \`extra='forbid'\` and JSON Schema $id references at every agent boundary; implement contract versioning with semantic versioning in the schema URL.
Journey Context:
Teams often use loose dicts or \`extra='ignore'\` for flexibility, but this masks breaking changes when Agent A adds a field that Agent B misinterprets. The alternative—dynamic schema validation—is slower and harder to debug. Strict contracts with explicit versioning allow agents to negotiate compatibility \(e.g., Agent B can request v1.2 if it doesn't support v2.0 fields\) and fail fast with clear 422 errors rather than silent data corruption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:52:13.351392+00:00— report_created — created