Learning Path
The main ContextBrew learning path follows one example: a flight booking app. Each stage of this path adds exactly one capability to it, so the only thing that changes as you learn is complexity. Walk the stages in order; skip nothing except what you already know.
For a focused lesson, start with Learning with models and the model chooser. Each guide also offers four practice exercise briefs. Their dedicated CtxBazaar recipes and browser launch actions are planned; the checkpoint downloads below are available now.
Watch the first optional illustrated film, The last seat: a 55-second DDD lesson with narration, captions and a descriptive transcript. Further films are planned. Each model guide also contains a text walkthrough and a question to predict before continuing. The text and checkpoints below are complete without watching a movie.
The path
Section titled “The path”| # | Stage | Read | Do | Checkpoint |
|---|---|---|---|---|
| 1 | Orientation | Introduction · Core Concepts · The Brew Path | Install the CLI | — |
| 2 | Your first model | DDD | Quick Start — one aggregate, one requirement | step-1-domain |
| 3 | Stories → requirements | USM · CBRL · CBRL syntax | Add personas, stories, then formal requirements | step-2-stories · step-3-requirements |
| 4 | Screens & data | SCM · DSM | Add the screen map and the data model | step-4-screens · step-5-data |
| 5 | Integration | SIM | Split the domain into services with contracts | step-6-integration |
| 6 | Compile & gate | Recipes · Gates · Drift | Generate artifacts; wire ctxbrew check --gate into CI |
— |
| 7 | Serve agents | MCP · Execution Engine · Brew Maturity | ctxbrew mcp setup and pour context to an agent |
— |
The checkpoints are the worked example — the finished
Travel Booking project packed as a
.ctxbrew archive after each model joins. Download any of them, open it
in Studio (or unpack it — it is a ZIP), and see exactly what your project
should look like at that point.
What you can do afterwards
Section titled “What you can do afterwards”- After stage 3: write requirements an agent cannot quietly ignore — every acceptance criterion compiles to a failing-first test.
- After stage 5: model a multi-service system where the contracts between services are checked, not assumed (see the Multi-Service SaaS tutorial).
- After stage 6: a refactor that breaks an invariant fails CI before any human notices.
- After stage 7: an AI coding agent consumes compiled, provenance- carrying context from your models — and you know exactly how fresh it is.
Where this comes from
Section titled “Where this comes from”The stage order is the Brew Path — the same
seven stages every ContextBrew project walks in production. The worked
example is samples/travel-booking/ in the repo, guarded by the corpus
tests so the models you learn from can never silently rot.
