How do you change the shape of your data, or of an AI answer, without quietly breaking the parts that read it?Consumer-Driven Contract Verification & Schema Evolution
- Module
- 04/05
- To read
- ~6 min
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.
Let each reader say what it needs (Pact)
Add fields; don’t rename or remove live ones
Accept extra fields, send only checked data
Give a breaking change a new version
A 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