Shattered, then charged twice
A Platinum customer's glass kit arrives shattered and the card shows two captures. The plan is valid, but $640 of exposure is above the $100 VIP auto-limit, so the run checkpoints in Postgres and waits for a supervisor.
It refunds, replaces and ships — and it can't be talked into it. The LLM proposes. Code decides. A supervisor signs off on anything big, and a saga makes every change stick or unwind cleanly.
Demo mode replays real recorded model runs — no API key needed.
How it works
Every design choice answers a question an interviewer — or an attacker — will ask. Pick a column.
PILLAR 01
Seven nodes in LangGraph.js. Three call an LLM and must return zod-valid JSON (with a bounded repair loop); the rest are plain code. Every node checkpoints to Postgres, so a run can stop in one request and finish in another.
Measured by task success against the final database state, and pass^k.
Each case runs for real in your own sandbox: mock billing, orders, carriers and tickets, with chaos switches you control.
A Platinum customer's glass kit arrives shattered and the card shows two captures. The plan is valid, but $640 of exposure is above the $100 VIP auto-limit, so the run checkpoints in Postgres and waits for a supervisor.
Three faults, three behaviours: a carrier outage fails over, an orders outage before the refund rolls everything back, and a refund whose response is lost is paid exactly once.
An unused blanket bought 68 days ago. The customer quotes last year's 90-day window. Naive retrieval would cite it; the temporal filter keeps only the 30-day clause in effect on the order date, and the gate denies the refund but allows store credit.
A message that claims authority and pastes a tool call. The firewall flags it, triage marks the signals, the gate checks the real order (paid $129, not $5,000) — and a forged tool call with no token is rejected at the boundary.
A refund can't truly be undone — reversing one means charging the customer again. So every reversible step runs first, and the refund is the pivot. Before it, any failure unwinds in reverse. After it, we never claw money back: we retry, then hand the rest to an operations outbox and tell the customer the truth.
← fails here: compensate 4 → 3 → 2 → 1, nothing charged
unknown outcome: reconcile against the ledger
fails here: keep the refund, retry, write to the outbox →
No invented numbers. Each figure is read from a committed result file, with its sample size, date and commit. Evals run locally — the public site never burns the shared quota.
Full tables, confidence intervals and failure taxonomy are in the console's Evals drawer and in docs/EVALS.md.