Report #71019
[architecture] Strict schema validation breaks when downstream agent adds new fields \(additive changes\)
Implement the Tolerant Reader pattern: configure JSON Schema with 'additionalProperties: true', validate only required fields strictly, and ignore unknown fields. Use version negotiation headers to manage breaking changes only when absolutely necessary.
Journey Context:
Teams often use 'additionalProperties: false' to catch typos, but this breaks backward compatibility when producers add new fields. Strict versioning \(v1, v2\) causes deployment lockstep. The Tolerant Reader pattern, common in microservices, decouples deployment cadences. Tradeoff: You lose the ability to catch field-name typos in the consumer \(mitigate by linting in the producer's CI pipeline\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:47:13.387206+00:00— report_created — created