chrismdp / counting-house-live

Fernwick Air: a live contact, rebook after a missed connection

Public ·
Version 2 of 2
  1. #2 · chrismdp · · 0.6ShowingLatest
  2. #1 · chrismdp · · 0.6
Fork
tokenisedFernwick staffopsFernwick staffthe messagetokens only, under Fernwick'sdata rule · loosens no companyto anthropic onlythe intent's row[within the policy row]each reply sentthe write intentthe cap[refused] the reason code[eligible][under the cap][within limits]each rebooking, with how toundo it[over the cap][yes]the reply sentthe rebooking madetokens only, under Fernwick'sdata rule · loosens no companyto anthropic onlyTrigger · untrustedA customer writes in: rebookme after a missed connectionUsed by chrismdp/counting-house-exceptionsConnection · untrustedFernwick's contact centre:email and chatUsed by chrismdp/counting-house-exceptionsConnectionFernwick's booking system,liveCode · bring-inPII gateway: swap names,booking references andcontact details for tokensDataThe PII vault: the real valuebehind each tokenDataThe tokenised caseLinked to chrismdp/counting-house-promotion#policy_tableDataThe policy table: each intent'smodel, tier, SOP, tools andapproversConnectionFlight status and seats, readonly, through the MCPgatewayAI · draftThe clerk drafts a reply and awrite intent for the rebookingDataThe clerk's answerCode · doPII gateway: swap the realvalues back into the clerk'sreply and send itPerson · standing approvalCX and legal's standingapproval: replies on this intentonly, risk accepted on theOctober scored set(judge-graded exam abovethe human baseline)Outside actionReply to the customerAskSurfaceEach reply the clerk sent, forQA to sampleCode · checkOrchestrator: pass on only thewrite intent's bookingreference and new flight, oncethey match its schema and thelive booking system shows thebooking is this customer's, theconnection was missed andthe seat is freeCode · doOrchestrator: file the refusalwith its reason codeUsed by chrismdp/counting-house-exceptions and chrismdp/counting-house-ongoingDataThe exception queue: eachrefusal with its reason codeand booking referenceCode · doOrchestrator: run therebooking saga once peridempotency key, readingback each write and undoingevery step if one failsPerson · standing approvalCustomer ops' standingapproval: same-cabinrebookings, fare difference upto 200 pounds eachSurfaceEach rebooking made underthe cap, with how to undo itPerson · reviewA supervisor's yes to the exactrebooking, over the capOutside actionRebook the passengerAskThe new itinerary goes to the customer from the booking system when the ticket is reissued, as one of the saga's stepsCode · bring-inPII gateway: tokenise theclosed caseUsed by chrismdp/counting-house-gold and chrismdp/counting-house-ongoingDataClosed cases, tokenised: whatwas asked, what the clerkanswered, what was sent anddone