apps/demo-coffee-py (FastAPI) and apps/demo-coffee (Express): a tiny coffee shop with real Postgres and Redis side effects.
Journey (Junnu’s latte)
Smoke path after Compose:
What mocks alone miss
Suppose a teammate “simplifies” payment while Junnu’s case still expects Redispaid:
- HTTP still returns
200and a payment JSON body. - But the handler stops updating Redis, or writes
amount_centswrong, or inserts two payment rows.
The contract is the ordered mutations and in-span reads, not the HTTP envelope alone.
Concurrent recorders
- Junnu starts Record → checks out sandbox A → orders a latte.
- Laddu starts Record → checks out sandbox B → orders an espresso.
- Their SQL schemas / Redis prefixes do not collide.
- Live sessions stay private.
- After Junnu saves a case, Laddu sees it project-wide and can verify-live or approve.
Failure resolution
When verify-live fails on Junnu’s case:- Approve — intentional product change; update the golden case from the run.
- Re-record — journey path changed; capture a new case.
- Fix — bug in the service; ship a fix and re-verify.
- Suppress field — volatile id/timestamp; ignore rule, then re-verify.