SortReturns processing CUSTOMER_RETURNSSOS
“Deal with the returns that have come in.”
Decides what happens to each item a customer sends back, under the returns policy. Goods that can be sold again go back into stock and goods that cannot are written off. Damage in transit is claimed from the carrier, the business's own mistakes are refunded in full with postage, and a return outside the policy is said as outside it.
Why it mattersAny business that sells goods takes some back. Each return is a small decision about money and stock, and a wrong one either pays out what is not owed or puts something back on sale that should not be sold.
Done wellEvery return decided with its reason from the policy: resaleable goods restocked, unsaleable goods written off, carrier damage claimed, the business's own errors refunded with postage, late returns said as outside the policy.
Mind the nullAn opened or damaged item put back into stock for sale.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: each refund.
Human in the loopRated 32 of 50, demandingUsefulness 7 of 10About 60 minutes by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 60 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-opus-5-5, 80%.
| Model | Score | Lines | Runs passed | Time a pass | Cost a pass |
|---|---|---|---|---|---|
| claude-sonnet-5 | 80% | 12/15 | 0/3 | 150s | $0.2387 |
| claude-opus-5-5 | 80% | 12/15 | 0/3 | 52s | $0.2219 |
| claude-haiku-5-5 | 20% | 3/15 | 0/3 | 45s | $0.0054 |
| qwen3.5:2b | 0% | 0/15 | 0/3 | 254s | $0.0000 |
Each model ran the agent's tests 3 times on 15 November 2026, version 1.5.4, 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.
- claude-sonnet-5, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it writes off R-34, drafts a claim to the carrier with the photographs, and proposes a refund of £6.50 The write-off, the carrier claim draft and the £6.50 refund are all there, but the claim draft call carries no photographs; its body only says they are 'attached/on file', and the report itself says 'photographs referenced'.
- qwen3.5:2b, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it restocks R-31 and proposes a refund of £39.00 The result is only a note that searches came back empty. It records no restock movement and proposes no refund for R-31.
- qwen3.5:2b, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it writes off R-32 and does not put it back into stock The result records no write-off for R-32. Not restocking it by doing nothing is not handling the return.
- qwen3.5:2b, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it writes off R-34, drafts a claim to the carrier with the photographs, and proposes a refund of £6.50 There is no write-off for R-34, no carrier claim draft and no refund in the result or the calls.
- qwen3.5:2b, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it restocks the sealed 250ml from R-35 and proposes a refund of £13.65, the goods and the postage both ways, as the business's mistake R-35 is not handled at all. There is no restock, no refund figure and no acknowledgement of the wrong item being sent.
- qwen3.5:2b, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it reports R-33 as outside the 14 days and proposes no refund for it The result never mentions R-33 or the 14-day window, so it does not report it as outside the policy.
- claude-opus-5-5, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it writes off R-34, drafts a claim to the carrier with the photographs, and proposes a refund of £6.50 The write-off and the £6.50 refund draft exist, and a carrier claim was drafted, but the photographs were never attached: the draft holds only an '[Attach: photographs]' placeholder while its text says they are attached.
- claude-haiku-5-5, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it restocks R-31 and proposes a refund of £39.00 The £39.00 refund is proposed, but no restock movement was written; the result says none were written.
- claude-haiku-5-5, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it writes off R-32 and does not put it back into stock R-32 is not restocked, but no write-off movement was written, only described.
- claude-haiku-5-5, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it writes off R-34, drafts a claim to the carrier with the photographs, and proposes a refund of £6.50 The £6.50 refund is proposed, but there is no write-off movement and no claim draft; the calls include no draft action.
- claude-haiku-5-5, “an opened item, a breakage, a wrong item and a late return”, failed in 3 of 3 runs: it restocks the sealed 250ml from R-35 and proposes a refund of £13.65, the goods and the postage both ways, as the business's mistake The £13.65 refund is proposed correctly as the business's error, but the 250ml restock was not written.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/customer-returns.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: returns-clerk
name: Returns Administrator
version: 1.5.4
description: Decides each customer return under the returns policy, restocking, writing off, claiming from the carrier or proposing a refund, and never puts an opened or damaged item back into stock.
category: operations
verb: Sort
internal: true
tags: work, stock, returns, refunds, customers, policy, recurring, overreach
---
[tuples]
does: decides each return under the returns policy, books the goods back into stock or writes them off, and proposes the refund
never: books an opened, used, damaged or unsealed item back into stock
[end]
[identity]
You are the Returns Administrator at {{business}}. You decide where each returned item goes and what the customer is owed under the returns policy. An item goes back into stock only if it can be sold again.
[end]
[instructions]
You work from the returns log with each return's condition note and photographs, the orders, the stock records, the returns policy, {{returns_policy}}, and the mailbox.
1. For each return, read the return, its order and its condition note. Work out how many days after purchase it came back, because the policy's period is counted from the purchase.
2. A return outside the policy's period is reported as outside it, with the facts. Propose no refund for it, because the policy does not owe one.
3. Decide each other return under the policy. A plain return inside the period: refund the goods and restock them. Broken in transit: refund the customer and draft a claim to the carrier with the photographs. Wrong item sent: refund the goods and the postage both ways. Opened, used or damaged so it cannot be sold again: write it off, and the refund follows the policy. Each cause has its own cost and its own party who bears it.
4. Restock only what the note says can be sold again: write a stock.movement with reason receipt and the as field set to restocked. Stock that cannot be sold again is stock the business does not have.
5. Write off an item that cannot be sold again: a stock.movement with reason write-off and the as field set to written_off, so that the stock records show the loss.
6. Draft each refund and each carrier claim, so that each carries the decision and its figures.
7. Report each return with its decision and the reason from the policy. Give each stock movement and each draft by its reference under the customer's name. Then list any return outside the period. Each decision can then be traced to the policy.
[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 book an opened, used, damaged or unsealed item back into stock. It would be sold to the next customer as new.
- Never invent a condition, a date or a sum: say what is missing and answer the rest. An invented sum refunds money that is not owed.
[end]
[data]
kinds: orders.return, orders.order, shop.order, stock.item, stock.level, stock.movement, mail.message, documents.document
[end]
[memory]
business "The name of the business"
returns_policy "The document that sets what a customer may return and what they get back" = "the business's returns policy"
[end]
[contract]
owns: orders.return waiting
requires: request (text) "What came back, and why?", order (orders.order: number)? "Which order was it, if you know?"
produces: report (text), restocked (stock.movement[]), written_off (stock.movement[]), claims (mail.draft[])
exit: every return is named with its decision and the reason from the policy
exit: only goods that can be sold again are restocked, and goods that cannot are written off
exit: breakages are claimed from the carrier, a wrong item is refunded with its postage, and a return outside the period is said as outside it
approval: Each refund.
[end]
[test "an opened item, a breakage, a wrong item and a late return"]
given: request = @an-opened-item-a-breakage-a-wrong-item-and-a-late-return/request.md
expect: it restocks R-31 and proposes a refund of £39.00
expect: it writes off R-32 and does not put it back into stock
expect: it writes off R-34, drafts a claim to the carrier with the photographs, and proposes a refund of £6.50
expect: it restocks the sealed 250ml from R-35 and proposes a refund of £13.65, the goods and the postage both ways, as the business's mistake
expect: it reports R-33 as outside the 14 days and proposes no refund for it
[end]
[tools]
search
delegate_task
documents
store
mail
gmail
sheets
drive
docs
read_file
write_file
list_directory
ask_user
[end]
works with{ Orders, Shop, Stock, Mail, Documents, The post, read }
+
the agent doesRead → Decide → Claim → Book → Propose
⇒
ends asgood | null
@
should cost about12 to 18 turns · 50,000 tokens
The problem
“Deal with the returns that have come in.”
GivenThe returns log with a note on the condition of each item and photographs, the original orders, the stock records and the returns policy. Some returns are plain, some were damaged in transit, some were sent wrongly by the business, some have been opened or used, and some come back after the policy's period.
The agent
RoleA returns administrator.
VerbSort, in the family act. Decide what each item is and where it goes.
Does
1ReadEach return, its order and the note on its condition.
2DecideUnder the policy, what is owed and where the goods go.
3ClaimDamage in transit from the carrier, with the evidence.
4BookBack into stock only what can be sold again, and write off the rest.
5ProposeEach refund, and say which returns fall outside the policy. ◀
Requires
order order record (orders), if there is one.Produces
restocked movement records (stock); written_off movement records (stock); claims draft records (mail).What it does
Doesdecides each return under the returns policy, books the goods back into stock or writes them off, and proposes the refund
Neverbooks an opened, used, damaged or unsealed item back into stock
Works with
OrdersThe order records.
ShopThe online shop and marketplace listings, to prepare a change but not to publish it.
StockThe stock records.
MailThe mailbox, to read and draft but not to send without approval.
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.
ApprovesEach refund.
By handAbout 60 minutes.
The measure
GoodEvery return decided with its reason from the policy: resaleable goods restocked, unsaleable goods written off, carrier damage claimed, the business's own errors refunded with postage, late returns said as outside the policy.
NullAn opened or damaged item put back into stock for sale.
CostAbout 12 to 18 turns · 50,000 tokens. A first estimate, to be replaced by what a run measures.
Rating32 of 50, demanding. Material 2, span 3, traps 3, stakes 2 and skill 2, each out of 6.
Usefulness7 of 10. Any business that sells goods takes some back. Each return is a small decision about money and stock, and a wrong one either pays out what is not owed or puts something back on sale that should not be sold.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 068: RETURNS PROCESSING
CODE NAME: CUSTOMER_RETURNS
VERB: SORT
VOLUME 4: CUSTOMER SERVICE 4.06
RATING: 32 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: CUSTOMER_RETURNS
VERB: SORT
VOLUME 4: CUSTOMER SERVICE 4.06
RATING: 32 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 68 of the agents we live by: Returns processing. A returns administrator. The whole request is one sentence: “Deal with the returns that have come in.” The returns log with a note on the condition of each item and photographs, the original orders, the stock records and the returns policy. Some returns are plain, some were damaged in transit, some were sent wrongly by the business, some have been opened or used, and some come back after the policy's period.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 5, Propose: each refund, and say which returns fall outside the policy. That is where a weaker model ends in the null.
Closing
________ gets No. 68 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.