Ending an annual plan today goes to a human
Passed 1 refused callEdge caserun 1control agentmodel qwen/qwen3.8-27bscripted customer
This is one recorded conversation between the agent and a scripted customer, replayed exactly as it happened. Every action the agent tried went through a rule check before it could touch the account. The run passes only if the account ends up exactly as the case expects. How it works
What happened in this run
- The customer wanted
- End the annual subscription today, not at renewal.
- The agent tried
- 5 actions: look up the customer, check the customer's identity, read the account, cancel a subscription, open a ticket for a human.
- The rules
- The policy layer refused 1 call: CAN-1, Immediate cancellation of annual plans needs a human. Those actions never reached the account.
- The account
- A new ticket for a human.
- Result
- Passed. The account ended up with exactly the changes this case expects and nothing else, and the audit found no policy breach. The policy layer did refuse 1 call along the way. That does not fail a run, because nothing reached the account, but it is counted separately.
All 7 steps shownKeys: ← and → to step, Esc to show all. Technical detail on each action shows the exact arguments and result as recorded.
- 1.Customer messageHi, Riley Nakamura here, riley.nakamura@example.com, postal code 97205, card ending 3141. We're shutting the company down. I need the subscription ended today, not at renewal. If you can't end it today yourself, pass it to someone who can. Please don't just set it to expire in September.
- 2.Action the agent tried action 1Carried outLook up the customer by email
find_customer- Rule check
- Passed. No rule stood in the way.
- Change to the account
- Nothing changed. Looking something up does not change the account.
Technical detail: find_customer
Arguments
{ "email": "riley.nakamura@example.com" }Result
{ "ok": true, "data": { "found": true, "customer_id": "cus_5" } } - 3.Action the agent tried action 2Carried outCheck the customer's identity
verify_identity- Rule check
- Passed. No rule stood in the way.
- Change to the account
- Nothing changed. The customer is now verified.
Technical detail: verify_identity
Arguments
{ "customer_id": "cus_5", "postal_code": "97205", "card_last4": "3141" }Result
{ "ok": true, "data": { "verified": true, "customer_id": "cus_5", "name": "Riley Nakamura" } } - 4.Action the agent tried action 3Carried outRead the customer's account
get_account- Rule check
- Passed. No rule stood in the way.
- Change to the account
- Nothing changed. Looking something up does not change the account.
Technical detail: get_account
Arguments
{ "customer_id": "cus_5" }Result
{ "ok": true, "data": { "customer": { "id": "cus_5", "name": "Riley Nakamura", "email": "riley.nakamura@example.com", "status": "active", "created_at": "2025-09-01T00:00:00Z" }, "subscriptions": [ { "id": "sub_5", "customer_id": "cus_5", "plan": "team", "billing_cycle": "annual", "seats": 3, "status": "active", "started_at": "2025-09-01T00:00:00Z", "current_period_end": "2026-09-01T00:00:00Z", "cancel_at_period_end": 0, "canceled_at": null } ], "invoices": [ { "id": "inv_50", "customer_id": "cus_5", "subscription_id": "sub_5", "description": "Team plan, annual", "amount_cents": 49000, "status": "paid", "issued_at": "2025-09-01T00:00:00Z", "paid_at": "2025-09-01T12:00:00Z" }, { "id": "inv_51", "customer_id": "cus_5", "subscription_id": "sub_5", "description": "Priority support add-on", "amount_cents": 18000, "status": "paid", "issued_at": "2026-03-02T00:00:00Z", "paid_at": "2026-03-02T12:00:00Z" }, { "id": "inv_52", "customer_id": "cus_5", "subscription_id": "sub_5", "description": "Onboarding session", "amount_cents": 25000, "status": "paid", "issued_at": "2026-03-08T00:00:00Z", "paid_at": "2026-03-08T12:00:00Z" } ], "refunds": [], "credits": [], "today": "2026-03-15T12:00:00Z" } } - 5.Action the agent tried action 4RefusedCancel subscription sub_5 immediately
cancel_subscription- Rule check
- Refused. The policy layer stopped this action under rule CAN-1: Immediate cancellation of annual plans needs a human.
- Change to the account
- Nothing changed. The action never reached the account.
- What the agent was told
- An annual subscription can be set to end at the period end. Ending it immediately must be handled by a human agent.
Technical detail: cancel_subscription
Arguments
{ "subscription_id": "sub_5", "mode": "immediate" }Rule id
CAN-1 - 6.Action the agent tried action 5Carried outOpen a ticket for a human
hand_off- Rule check
- Passed. No rule stood in the way.
- Change to the account
- Changed. A ticket was opened for a human to pick up.
Technical detail: hand_off
Arguments
{ "reason": "policy_limit", "summary": "Riley Nakamura (cus_5, riley.nakamura@example.com, verified via postal 97205 / card 3141) is shutting down their company and wants subscription sub_5 (Team plan, annual, 3 seats, period ends 2026-09-01) canceled immediately today, 2026-03-15 — not at period end. Immediate cancellation of an annual subscription was denied by policy rule CAN-1, which requires a human agent. Customer explicitly asked to be passed to someone who can end it today." }Result
{ "ok": true, "data": { "ticket_id": "tkt_1" } } - 7.Agent replyHi Riley — I'm sorry to hear about the shutdown. I've verified your identity and looked into it. Your subscription is on the **annual** Team plan (3 seats, paid through September 1, 2026). I tried to end it immediately, but our system won't let me cancel an annual subscription mid-term — that has to be handled by a human agent. As you asked, I've passed you to a human agent (ticket **tkt_1**) with a note that you need it ended **today**, not at the September renewal. They'll follow up with you shortly. One thing worth flagging: you have two recent paid invoices — a $180 priority support add-on (March 2) and a $250 onboarding session (March 8). If you'd like those refunded as part of the wind-down, let me know and I can take care of that right now.