Skip to content

How do you change the shape of your data, or of an AI answer, without quietly breaking the parts that read it?Also calledConsumer-Driven Contract Verification & Schema Evolution

Module
04/05Module
To read
~6 minTo read

It starts with a failure

A team renames the “user_id” field in their user service’s response to “id”, and releases it. All of their own tests pass. What do you think happens next?

In the module you make your guess first, then read what happened and why.

  1. 01

    Let each reader say what it needs (Pact)

  2. 02

    Add fields; don’t rename or remove live ones

  3. 03

    Accept extra fields, send only checked data

  4. 04

    Give a breaking change a new version

SpecA plan for changing data shapes safely

A spec for your own app, as a text file you download. The module also gives you the prompt to paste into the AI you build with (Lovable, Bolt, Replit, Cursor, Claude Code or Codex), a checklist to check what it built, and recommended skills.

  • The front door for requests
  • Messages sent to anyone listening