Report #44334
[architecture] Silent schema drift when agent B consumes agent A's output with extra fields
Mandate JSON Schema with "additionalProperties": false and "required" arrays in inter-agent contracts; version schemas via OpenAPI tags
Journey Context:
Without strict schema rejection, "benign" field additions by upstream LLMs become breaking changes downstream. Teams often use loose validation to avoid breaking changes, but this masks semantic drift where Agent B misinterprets Agent A's new field as an old one. The alternative—permissive schemas with field deprecation notices—fails with LLM-generated outputs that don't respect deprecation headers. Strict validation with explicit versioning \(OpenAPI 3.1\) forces explicit contract negotiation and immediate failure on unexpected input, preventing silent data corruption in chains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:53:06.272254+00:00— report_created — created