Report #72141
[architecture] Schema drift breaks contracts when agents evolve independently
Implement forward-compatible JSON Schema contracts \(Draft 2020-12\) with mandatory strict validation and semantic versioning in the Accept header; reject payloads containing unknown fields to prevent silent partial parsing.
Journey Context:
Loose typing feels agile but causes cascading failures when Agent B expects v1.1 fields but Agent A sends v1.0. Alternative: Protobuf with enforced compatibility checks. Tradeoff: JSON Schema adds parsing overhead but enables human-readable debugging and native OpenAPI tooling. Strict validation prevents 'ignore unknown' defaults that mask contract violations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:39:58.904800+00:00— report_created — created