Case 03

The 90-day policy that expired

03.Temporal retrieval

The 90-day policy that expired

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.

  • Inspector: naive vs temporal
  • Gate: WITHIN_WINDOW fails
  • Store credit alternative

The customer writes

“I'd like to return the merino throw blanket from order ORD-7350. It's unused. Your returns policy gives me 90 days, so I'm well within it.”
Starting

LangGraph.js · Postgres checkpoints

Agent graph

unclearautoover limitapprovedeniedN1 · Triagegpt-oss-20bAskclarify · end turnN2 · Context4 mock APIs · parallelN3 · Retrievedate filter · BM25 · dense · RRFN4a · Plangpt-oss-120bN4b · Policy gatecode decides · tokensN5 · Humaninterrupt()N6 · Sagapivot · compensateN7 · RespondLLM + verifier

Send a message and watch each node light up. Click any node to see what it produced.

Mock services · this sandbox only

Saga & chaos

MOCK SERVICE

healthy · no calls yet

healthy · no calls yet

healthy · no calls yet

healthy · no calls yet

healthy · no calls yet

healthy · no calls yet

Saga ledger

The saga log appears once an approved plan executes.

Case 03

The 90-day policy that expired

03.Temporal retrieval

The 90-day policy that expired

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.

  • Inspector: naive vs temporal
  • Gate: WITHIN_WINDOW fails
  • Store credit alternative

The customer writes

“I'd like to return the merino throw blanket from order ORD-7350. It's unused. Your returns policy gives me 90 days, so I'm well within it.”
Starting