Skip to main content
Alibi ships 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 Redis paid:
  • HTTP still returns 200 and a payment JSON body.
  • But the handler stops updating Redis, or writes amount_cents wrong, or inserts two payment rows.
The contract is the ordered mutations and in-span reads, not the HTTP envelope alone.

Concurrent recorders

  1. Junnu starts Record → checks out sandbox A → orders a latte.
  2. Laddu starts Record → checks out sandbox B → orders an espresso.
  3. Their SQL schemas / Redis prefixes do not collide.
  4. Live sessions stay private.
  5. 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:
  1. Approve — intentional product change; update the golden case from the run.
  2. Re-record — journey path changed; capture a new case.
  3. Fix — bug in the service; ship a fix and re-verify.
  4. Suppress field — volatile id/timestamp; ignore rule, then re-verify.