Skip to content

How do you make the rules for your data, the map of your steps and your retry loops work as one app?Also calledComposing Contracts, Graphs & Loops

Module
01/05Module
To read
~10 minTo read

It starts with a failure

A team has solid code that calls the AI, a clean map of its steps and well-tested retry code. Then the AI caller starts returning answers in a new format. What do you think happens?

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

  1. 01

    A data rule at every connection between parts

  2. 02

    One map sets out how all the work moves

  3. 03

    Each loop lives inside one step

  4. 04

    Test how all three layers break together

SpecHow the parts of your app connect

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.

  • Holding areas for failed work (dead-letter queues)
  • Retry limits and cut-off switches