Report #95786
[architecture] Silent schema breakage when Agent A changes output format without notifying downstream consumers
Implement consumer-driven contract testing \(Pact\) where downstream agents publish expected schemas to a broker that gates Agent A's deployment if compatibility breaks
Journey Context:
Teams often rely on integration tests or 'we will coordinate the deploy' promises, which fail at 3am when Agent A's new version outputs camelCase instead of snake\_case. Traditional unit tests don't catch cross-service breaks because Agent A's tests validate its own output against its own schema, not what Agent B actually needs. Consumer-driven contracts invert this: Agent B \(consumer\) defines its requirements in a contract file \(Pact\) stored in a broker. Agent A's CI pipeline retrieves all consumer contracts and verifies its output against them before deployment. If Agent A breaks Agent B's contract, the build fails. Tradeoff: requires maintaining a Pact Broker \(infrastructure overhead\) and creates reverse coupling—Agent B can accidentally constrain Agent A's evolution if contracts are too rigid, requiring versioning strategies.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:21:36.906395+00:00— report_created — created