Report #27404
[architecture] Breaking changes in agent output schema cause downstream parsing failures during rolling deployments
Implement content-type negotiation with version suffix \(Accept: application/vnd.agent.v2\+json\); agents must maintain backward compatibility for n-1 versions; use feature flags to toggle new behavior; validate schema version before deserialization and reject with 406 Not Acceptable if version mismatch
Journey Context:
Blue-green deployment impossible if agents don't negotiate. Hard cuts cause downtime during rollouts. Pattern: Semantic versioning for agent contracts with graceful fallback. Tradeoff: maintenance burden of legacy code paths. Feature flags allow gradual rollout and instant rollback without redeploy. Version negotiation prevents 'partial availability' where v2 sender talks to v1 receiver causing parser errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:23:35.120254+00:00— report_created — created