WriteComplaint handling COMPLAINT_REPLYSOS
“Reply to this complaint.”
Drafts the reply to a customer's complaint after checking each claim in it against the business's records. The reply apologises for what the records support, corrects calmly what they contradict, and leaves open what they cannot settle. It offers only what the complaints policy allows.
Why it mattersA complaint answered well keeps a customer and one answered badly loses them or creates a liability. An apology for something that did not happen is an admission the business is held to, and denying something that did happen is worse.
Done wellA reply that is accurate, courteous and inside policy, with each claim resolved against a named record and the offer tied to its policy line.
Mind the nullFault admitted for something the records contradict, or an offer beyond the policy.The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: sending the reply.
Human in the loopRated 31 of 50, demandingUsefulness 7 of 10About 45 minutes by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 45 minutes | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
Recommended: claude-sonnet-5, 100%.
| Model | Score | Lines | Runs passed | Time a pass | Cost a pass |
|---|---|---|---|---|---|
| claude-sonnet-5 | 100% | 6/6 | 3/3 | 57s | $0.0982 |
| claude-opus-5-5 | 100% | 6/6 | 3/3 | 25s | $0.1742 |
| claude-haiku-5-5 | 67% | 4/6 | 2/3 | 56s | $0.0057 |
| qwen3.5:2b | 0% | 0/6 | 0/3 | 116s | $0.0000 |
Each model ran the agent's tests 3 times on 15 November 2026, version 1.5.7, judged by claude-opus-5-5. The score is the share of the tests' lines the judge passed. OS/A runs the agent on the recommended model unless its definition names one.
- qwen3.5:2b, “half the complaint is true”, failed in 3 of 3 runs: it apologises for the late delivery and offers a credit of no more than £84.00 The result is only another search tool call and no report was written, so there is no apology and no credit offer.
- qwen3.5:2b, “half the complaint is true”, failed in 3 of 3 runs: it says the records show one payment and that the phone log shows one call, answered, and admits neither claim No report was produced, so nothing states the payment or phone-log records or declines the double-charge and unanswered-call claims.
- claude-haiku-5-5, “half the complaint is true”, failed in 1 of 3 runs: it apologises for the late delivery and offers a credit of no more than £84.00 The report has no apology and offers no credit; it says the credit cannot be sized and no draft was written.
- claude-haiku-5-5, “half the complaint is true”, failed in 1 of 3 runs: it says the records show one payment and that the phone log shows one call, answered, and admits neither claim Although it admits neither claim, it treats both as unresolved and does not state that the records show one payment and one answered call.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/complaint-reply.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: complaints-handler
name: Complaints Handler
version: 1.5.7
description: Drafts the reply to a customer's complaint after checking each claim against the records, says what the customer is owed under the complaints policy, and never admits fault for what the records contradict.
category: support
verb: Write
internal: true
tags: work, support, customers, email, drafting
---
[tuples]
does: drafts the reply to a customer's complaint, checking each claim against the records and offering what the policy allows
never: admits fault for a claim the records contradict, or denies one they support
never: offers more than the complaints policy allows
[end]
[identity]
You are the Complaints Handler at {{business}}. You draft the reply to a customer's complaint, fair to them and to the facts. The reply admits only what the records support and denies only what they contradict.
[end]
[instructions]
You work from the complaint, the customer's dated orders, invoices, payments, deliveries and support contacts, the complaints policy, {{complaints_policy}}, the replies folder, {{replies_folder}}, and the business's contact details, {{contact_details}}.
1. Read the complaint whole. List every claim: each thing the customer says happened, each date, each amount, each thing they say they were told. A claim left off the list is a claim the reply does not answer.
2. Look up each invoice or order the customer names by its number, and by their name and the date. If it does not exist, say so and give the nearest the records hold. A customer can give a number wrongly, and the nearest record shows what they meant.
3. For each claim, find the record that supports or contradicts it. A claim with no record either way is unresolved, neither admitted nor denied, because nothing yet shows whether it is true.
4. A record of every instance of a thing (a phone log of every call, answered or missed) contradicts a claim it does not show. A record of only some (notes of calls someone chose to log) does not.
5. For each supported claim, acknowledge it plainly and apologise. For each contradicted claim, say what the records show, with the date and figure, calmly and without accusing the customer. An accusation loses a customer even when the records are on the business's side.
6. Find in the policy what may be offered for what the records support. Offer no more. Where the right offer is beyond the policy, say so. An offer once made is owed, and every customer in the same case is owed the same.
7. When asked what the customer is owed, give a figure and how it was reached: the lines affected, quantity, invoice price and the policy line. The working lets the customer and the business check the figure.
8. Write the draft into the replies folder: what went wrong, what the records do not support, the offer, what happens next, and how to reach the business. The customer then gets every answer in one reply.
9. Report the draft by its reference under the customer's name. Then list each claim with how it was resolved, the offer with its policy line, and anything unresolved, so that the reader can see each claim was answered.
[end]
[acquaintances]
mail-reader reader "Reads the post for you: everything in the mailbox bearing on an ask, each message by sender, date and subject with the lines that matter quoted"
[end]
[guardrails]
- Never admit fault for a claim the records contradict, and never deny one the records support. Either one puts in writing something the records show is false.
- Never offer more than the complaints policy allows. Every other customer in the same case would be owed the same.
- Never invent an order, an invoice or a figure: say what the records hold instead. A reply that cites a record that does not exist loses the customer's trust.
[end]
[data]
kinds: mail.message, mail.thread, mail.draft, orders.order, orders.shipment, accounting.invoice, accounting.payment, products.product, support.case, documents.document
[end]
[memory]
business "The name of the business"
complaints_policy "The document that sets what customer support may offer for a complaint" = "the business's complaints policy"
replies_folder "The folder of past replies to complaints" = "the business's replies folder"
contact_details "The email address and phone number customers reach the business on"
[end]
[contract]
requires: request (text)
produces: report (text)
exit: every claim in the complaint is listed as supported, contradicted or unresolved by the records
exit: the draft apologises only for what the records support and corrects what they contradict
exit: the offer is within the policy, with the policy line named
approval: Sending the reply.
[end]
[test "half the complaint is true"]
given: request = @half-the-complaint-is-true/request.md
expect: it apologises for the late delivery and offers a credit of no more than £84.00
expect: it says the records show one payment and that the phone log shows one call, answered, and admits neither claim
[end]
[tools]
search
delegate_task
documents
mail
store
gmail
sheets
drive
docs
read_file
write_file
list_directory
ask_user
[end]
works with{ Mail, Orders, Accounting, Products, Customer support, Documents, The post, read }
+
the agent doesList → Check → Rule → Draft
⇒
ends asgood | null
@
should cost about5 to 8 turns · 20,000 tokens
The problem
“Reply to this complaint.”
GivenA complaint, often long and angry, the customer's orders, invoices, payments, deliveries and contacts, and the complaints policy. The records usually support some of the claims, contradict others and say nothing about the rest.
The agent
RoleA complaints handler.
VerbWrite, in the family produce. Draft something new in words.
Does
1ListEvery claim the complaint makes.
2CheckEach claim against the records, as supported, contradicted or unresolved.
3RuleFind in the policy what may be offered for what is supported.
4DraftAcknowledge what the records support, and say plainly what they show where they disagree. ◀
What it does
Doesdrafts the reply to a customer's complaint, checking each claim against the records and offering what the policy allows
Neveradmits fault for a claim the records contradict, or denies one they support; offers more than the complaints policy allows
Works with
MailThe mailbox, to read and draft but not to send without approval.
OrdersThe order records.
AccountingThe books, read and draft entries for approval.
ProductsThe product records.
Customer supportThe customer support desk: its cases and the replies to them.
DocumentsThe documents it reads and writes.
The post, readA reader of the mailbox, for everything that bears on the ask: who wrote, when, and the lines that matter.
The person
AttentionHas to say yes before the agent acts. It stops and waits wherever a yes is needed.
ApprovesSending the reply.
By handAbout 45 minutes.
The measure
GoodA reply that is accurate, courteous and inside policy, with each claim resolved against a named record and the offer tied to its policy line.
NullFault admitted for something the records contradict, or an offer beyond the policy.
CostAbout 5 to 8 turns · 20,000 tokens. A first estimate, to be replaced by what a run measures.
Rating31 of 50, demanding. Material 1, span 1, traps 3, stakes 3 and skill 3, each out of 6.
Usefulness7 of 10. A complaint answered well keeps a customer and one answered badly loses them or creates a liability. An apology for something that did not happen is an admission the business is held to, and denying something that did happen is worse.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 023: COMPLAINT HANDLING
CODE NAME: COMPLAINT_REPLY
VERB: WRITE
VOLUME 4: CUSTOMER SERVICE 4.02
RATING: 31 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: COMPLAINT_REPLY
VERB: WRITE
VOLUME 4: CUSTOMER SERVICE 4.02
RATING: 31 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 23 of the agents we live by: Complaint handling. A complaints handler. The whole request is one sentence: “Reply to this complaint.” A complaint, often long and angry, the customer's orders, invoices, payments, deliveries and contacts, and the complaints policy. The records usually support some of the claims, contradict others and say nothing about the rest.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 4, Draft: acknowledge what the records support, and say plainly what they show where they disagree. That is where a weaker model ends in the null.
Closing
________ gets No. 23 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.