Report #42164
[architecture] Hard-coding expected output schemas in agent prompts or code without versioning and backward compatibility
Implement explicit schema versioning \(e.g., OpenAPI spec per agent\) and a compatibility layer. Producers tag output with \`schema\_version\` \(e.g., \`application/vnd.agent.v2\+json\`\). Consumers use a parser that handles \`N\` previous versions \(backward compatibility\) or rejects with explicit error for major version mismatch, triggering a circuit breaker rather than parsing failure.
Journey Context:
Unlike monoliths, you cannot update all agents simultaneously. Breaking changes \(renaming a field from \`user\_id\` to \`customer\_id\`\) cause silent failures or exceptions in downstream agents. Postel's Law \('be conservative in what you do, be liberal in what you accept'\) applies across agent boundaries. Tradeoff: maintenance burden of compatibility shims and deprecation schedules.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:14:37.385057+00:00— report_created — created