Report #30930
[architecture] Agent output fails validation against downstream consumer schema after micro-version update
Implement JSON Schema with explicit version pinning and backward-compatibility checks using "additionalProperties": false and semantic versioning constraints in the $id field
Journey Context:
Teams often use loose typing or LLM "validation" which fails on edge cases. The alternative is protobuf or OpenAPI, but JSON Schema offers the most flexible middle ground for LLM outputs. The critical mistake is omitting "additionalProperties": false which allows schema drift to pass silently. Version pinning in the schema URI prevents silent consumption of breaking changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:18:17.363693+00:00— report_created — created