Report #75997
[architecture] Agent output validates against JSON schema but semantically violates downstream agent's assumptions
Implement semantic contracts with versioned Interface Definition Languages \(e.g., Protocol Buffers\) rather than loose JSON schemas, and pin agent versions in the orchestration layer to prevent drift.
Journey Context:
JSON Schema validates syntax but not semantics \(e.g., 'temperature' exists but is in Celsius when downstream expects Kelvin\). Teams validate schema then fail in production when Agent B interprets Agent A's 'confidence' as a probability when it's actually a logit. Protobuf/IDL with strict versioning prevents this drift by encoding units, ranges, and semantic types directly in the contract that both agents code against.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:09:38.547218+00:00— report_created — created