Booking failure test bench
A plumbing call where the booking system refuses one detail. Nothing is confirmed, only that detail is asked again, and the visit is booked.
Independent example based on Rescue Residential Group’s public website. Fictional caller. Simulated bookings. Not affiliated.
Service call
Plumbing, Wed, Nov 25
- Customer
Dana Whitfield
- Cell
(510) 555-0187
sent as 5105550187
dana.whitfield@gmail.com
dana.whitfield@outlook.com
- Service address
3120 Walnut Avenue, Fremont 94538
city accepted by the demo service-area check (Alameda County)
- Problem
“my water heater is leaking in the garage”
the caller's words, sent as the description
- Requested
Thursday, Nov 26, 8 to 11 a.m. PST
America/Los_Angeles
“Thursday”, “between 8 and 11 in the morning”
Injected backend rejection. Nothing was confirmed to the caller. Only the email was asked again; the 10 other details were kept, read back and agreed.
What the caller heard
“You're booked for Thursday, November 26, between 8 and 11 a.m., at 3120 Walnut Avenue, Fremont. Your confirmation number is RB-40217.”
Built by code from the booking system’s answer, re-checked against the request.
Three failures, run live.
Claude Sonnet 5 plays the agent: it records the caller’s details and chooses what to say. Every sentence the caller hears is written by code, from checked details and the booking system’s state.
Real model, real latency
The booking is saved but the answer never arrives. Neither success nor failure is claimed, and nothing is booked twice.
The call
Prepared run: scripted model turns on a simulated clock
- 0.0CallerCaller
Hi, my water heater is leaking in the garage. Could someone come out Thursday, between 8 and 11 in the morning? I'm Dana Whitfield, at 3120 Walnut Avenue in Fremont, 94538. My cell is (510) 555-0187, home phone 510-555-0142, and my email is dana.whitfield@gmail.com.
- 0.1AgentAgent
Here is what I have: Dana Whitfield, at 3120 Walnut Avenue, Fremont 94538. Cell (510) 555-0187, email dana.whitfield@gmail.com. The problem, in your words: my water heater is leaking in the garage. The visit: Thursday, November 26, between 8 and 11 a.m. Shall I book it?
Act chosen by the model: read back. Words written by code.
- 0.1CallerCaller
Yes, that's right. Please go ahead and book it.
- 1.3AgentAgent
One moment while I put that into the booking system.
Hold phrase from the scheduler, while the booking system was busy
- 4.9
“Are you still there?” held back: the caller had been silent for 4.8 s, but the booking was still in flight.
- 8.1AgentAgent
The booking system didn't answer in time, so I'm checking whether it saved your visit before I tell you anything.
Said by the booking layer: the outcome is not known yet
- 8.3AgentAgent
You're booked for Thursday, November 26, between 8 and 11 a.m., at 3120 Walnut Avenue, Fremont. Your confirmation number is RB-61375.
Confirmation built from the booking system’s answer, re-checked against the request
- 8.3CallerCaller
Perfect, thank you.
Decisions and trace
- Hold phrase after 1.2 s in flight.
- “Are you still there?” held back: the booking was in flight.
- No answer after 8.0 s. The booking system holds 1 booking; the outcome is held as unknown.
- Lookup by key found the original booking. No second create.
- Confirmed to the caller after re-checking it: RB-61375.
Now: booked (RB-61375); the booking system holds 1 booking.
- 0.0
Caller’s details recorded
- 11 recorded fields, with their source quotes and validation results.
Arguments and answer as JSONHide the JSON
What the model asked for
{ "details": [ { "field": "first_name", "value": "Dana", "caller_words": "I'm Dana Whitfield" }, { "field": "last_name", "value": "Whitfield", "caller_words": "I'm Dana Whitfield" }, { "field": "cell_phone", "value": "(510) 555-0187", "caller_words": "My cell is (510) 555-0187" }, { "field": "home_phone", "value": "510-555-0142", "caller_words": "home phone 510-555-0142" }, { "field": "email", "value": "dana.whitfield@gmail.com", "caller_words": "my email is dana.whitfield@gmail.com" }, { "field": "street", "value": "3120 Walnut Avenue", "caller_words": "at 3120 Walnut Avenue" }, { "field": "city", "value": "Fremont", "caller_words": "in Fremont" }, { "field": "zip", "value": "94538", "caller_words": "94538" }, { "field": "problem", "value": "Water heater leaking in the garage", "caller_words": "my water heater is leaking in the garage" }, { "field": "date", "value": "2026-11-26", "caller_words": "Thursday" }, { "field": "window", "value": "08:00-11:00", "caller_words": "between 8 and 11 in the morning" } ] }After this step: not booked; the booking system holds 0 bookings.
- 0.1
City accepted by the demo service-area check: Alameda County
- The check reads the city and its county. It does not verify the street or the ZIP code, and it returns no appointment times.
- Alameda County is one of the four counties the company publishes.
Arguments and answer as JSONHide the JSON
Sent to the booking system
{ "street": "3120 Walnut Avenue", "city": "Fremont", "zip": "94538" }The booking system’s answer
{ "status": "in_area", "city": "Fremont", "county": "Alameda", "times": [] }After this step: not booked; the booking system holds 0 bookings.
- 8.1
No response after 8.0 s: outcome unknown
- Attempt 1, assembled from the recorded values.
- Agreed by the caller: “Yes, that's right. Please go ahead and book it.”, in answer to read-back rb-1.
- The request may or may not have been saved. The caller hears neither a success nor a failure.
- Next: read the booking back by its idempotency key. Never a create under a new key.
- Demo setting
- Hold phrase after 1.2 s in flight; idle prompt after 4.0 s of silence; wait limit 8.0 s.
- Observed
- hold phrase at 1.20 s; “are you still there?” held back at 4.77 s; no answer at 8.00 s (simulated clock).
Arguments and answer as JSONHide the JSON
What the model asked for
{ "readback_id": "rb-1" }Sent to the booking system
{ "idempotency_key": "bk-prepared-lost-4dcdfac8", "readback": "rb-1", "request": { "customer": { "first_name": "Dana", "last_name": "Whitfield", "email": "dana.whitfield@gmail.com", "cell_phone": "5105550187", "cell_country_code": "1", "home_phone": "5105550142" }, "service_address": { "street": "3120 Walnut Avenue", "city": "Fremont", "state": "CA", "zip": "94538" }, "service": { "trade": "plumbing", "description": "my water heater is leaking in the garage", "caller_words": "my water heater is leaking in the garage" }, "requested_window": { "date": "2026-11-26", "start": "08:00", "end": "11:00", "time_zone": "America/Los_Angeles" } } }The booking system’s answer
{ "response": "none received" }After this step: outcome unknown; the booking system holds 1 booking.
- 8.3
Found: RB-61375, saved before the response was lost
- Read attempt 1 back by its idempotency key: bk-prepared-lost-4dcdfac8.
- The booking exists. No second create: 1 in the store.
- Re-checked before speaking: same window, same address, same details, this call.
- The caller hears the confirmation built from the booking system's record, read back by its key.
- Demo setting
- Hold phrase after 1.2 s in flight; idle prompt after 4.0 s of silence; wait limit 8.0 s.
- Observed
- answer at 0.12 s (simulated clock).
Arguments and answer as JSONHide the JSON
Sent to the booking system
{ "lookup": { "idempotency_key": "bk-prepared-lost-4dcdfac8" } }The booking system’s answer
{ "reference": "RB-61375", "window": { "date": "2026-11-26", "start": "08:00", "end": "11:00", "time_zone": "America/Los_Angeles" }, "service_address": { "street": "3120 Walnut Avenue", "city": "Fremont", "state": "CA", "zip": "94538" }, "sms_to": "5105550187", "created": false }After this step: booked; the booking system holds 1 booking.
Demo settings and the example backendHide the demo settings
Demo settings: a hold phrase after 1.2 s in flight; “are you still there?” after 4.0 s of caller silence, never while a booking is in flight; a wait limit of 8.0 s; a simulated delay of 6.0 s in “Delay the response”; a booking needs a clear yes to the latest read-back of exactly these details; no automatic booking outside Alameda, San Mateo, Santa Clara and Contra Costa counties (demo policy).
Example backend, simulated. Its contract is this example’s own: the service-area check reads the city and returns no times; the cell phone travels as 10 digits, country code apart; every create carries an idempotency key and can be read back by it; “Reject the booking” injects its rejection.
The tests behind it.
Deterministic injections, no model. Each one feeds the booking layer a hostile or broken input and checks what the caller would hear and what the booking system holds.
All 15 checks passed when this page loaded.
All 3 negative controls failed, as they must. Each switches one guard off in an isolated copy. If its check still passed, the check would prove nothing.
Ran on Nov 25 at 2:06:37 AM PST, on this page’s server, in 66 ms.
Negative controls, which must fail
Not covered here: telephony, speech on a live line, and any real booking system. What is covered is the layer between a model and a booking API, which stays the same whichever model and whichever phone line sit around it.