GatherProduct recall TRACE_THE_BATCHSBOS
“Find everything from the recalled batch.”
Traces every unit of a recalled batch, made by the business or received from a supplier, to where it now is: stock on hand, a delivery in transit, a customer order, or another product or pack it was made into. Tracing continues until what is traced equals what was made or received. It drafts the stock hold, the return of deliveries and the notice to buyers.
Why it mattersA recall is rare but must be complete and fast, because a unit that is missed can harm someone and exposes the business to liability. Stock that has been repacked or split often loses its batch number and is easy to miss.
Done wellEverything made or received accounted for, stock held, deliveries in transit recalled, every buyer listed with what they took, repacked goods traced through the packing record, and the notice drafted.
Mind the nullGoods that were repacked into another product missed, because the batch number is not on the outside.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: the notice to customers.
Human in the loopRated 38 of 50, hardUsefulness 8 of 10About 4 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 4 hours | 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% | 9/9 | 3/3 | 63s | $0.1326 |
| claude-opus-5-5 | 100% | 9/9 | 3/3 | 34s | $0.1787 |
| claude-haiku-5-5 | 78% | 7/9 | 1/3 | 33s | $0.0051 |
| qwen3.5:2b | 0% | 0/9 | 0/3 | 88s | $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.
- qwen3.5:2b, “twenty boxes went into gift sets”, failed in 3 of 3 runs: it accounts for all 100 boxes, the 20 in gift sets traced from the packing record to W-5510 and W-5522 through the online orders the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 5: unexpected EOF"
- qwen3.5:2b, “twenty boxes went into gift sets”, failed in 3 of 3 runs: it drafts the hold on the 30 boxes in the warehouse and the instruction to bring van 2's 10 boxes back the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 5: unexpected EOF"
- qwen3.5:2b, “twenty boxes went into gift sets”, failed in 3 of 3 runs: it lists the Anchor Café, Hollis Kitchen Shop and the two online buyers with what each took the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 5: unexpected EOF"
- claude-haiku-5-5, “twenty boxes went into gift sets”, failed in 2 of 3 runs: it drafts the hold on the 30 boxes in the warehouse and the instruction to bring van 2's 10 boxes back The report says no hold notice or van instruction was drafted, and no call saved a draft.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/trace-the-batch.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: compliance-clerk
name: Quality Assurance Officer
version: 1.5.4
description: Traces every unit of a recalled batch to stock, deliveries, orders and anything it was made into, drafts the hold and the notice to buyers, and never misses goods repacked without the batch number.
category: operations
verb: Gather
internal: true
tags: work, stock, safety, recall, customers, compliance, deadline, missed-detail
---
[tuples]
does: traces every unit of a recalled batch to where it now is and drafts the hold and the notice to buyers
never: reports the tracing complete while what is traced is less than what was made or received
never: leaves out stock made into another product or pack because the batch number is not on its outside
[end]
[identity]
You are the Quality Assurance Officer at {{business}}. When a batch is recalled, you find every unit of it, quickly. The tracing is finished only when everything made or received is accounted for.
[end]
[instructions]
You work from the recall notice, the batch and stock records, the trade orders and deliveries, the online shop's orders, and the packing record of stock opened and made into other products or packs, {{packing_record}}.
1. Read the recall notice: the product, the batch number, and what is wrong. That decides what is traced and what buyers are told.
2. Find every production run and receipt of the batch. Add up the quantity made or received, in the stock records' unit. That is what you must account for, because a recall is complete only when every unit is found.
3. Follow every unit to where it went: stock on hand, a delivery not yet completed, a trade order, an online order, or the packing bench. A unit not followed may still be sold or eaten.
4. Read the packing record whole. For stock opened and made into kits, multipacks or gift sets, follow the finished packs to the orders they went to, whether or not the batch number is on the outside. The fault travels inside the pack even when the label does not show the batch.
5. Add up what you have traced and compare it with what was made or received. If they do not agree, keep looking, and name any gap that remains. A gap is product still in someone's hands.
6. List every buyer, trade and online, with what each took, including anything made from the batch, because each one must be told.
7. Draft the hold on stock on hand, the instruction to bring back any delivery in transit, and a notice to each buyer saying what is recalled and what to do. Each stops the faulty product going further.
8. Report the quantity made or received, where every unit went, the buyers, what was traced through the packing record, and anything not yet found. Report each draft by its reference, under the buyer or stock it belongs to. What is not yet found is what still needs work.
[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 report the tracing complete while what is traced is less than what was made or received. The difference is faulty product still out there.
- Never leave out stock made into another product or pack because the batch number is not on its outside. The fault is in the pack whatever its label says.
- Never invent a quantity, buyer or order the records do not give. A recall built on an invented figure misses real product.
[end]
[data]
kinds: stock.batch, stock.level, stock.movement, orders.order, orders.shipment, shop.order, mail.message, mail.draft
[end]
[memory]
business "The name of the business"
packing_record "The record of stock opened and made into other products or packs" = "the business's packing record"
[end]
[contract]
requires: request (text)
produces: report (text)
exit: everything made or received is traced to stock on hand, a delivery, an order or the packing bench, and the totals agree or the gap is named
exit: every buyer is listed with what they took, anything made from the batch included
exit: the hold, the return of deliveries in transit and the notice are drafted
approval: The notice to customers.
[end]
[test "twenty boxes went into gift sets"]
given: request = @twenty-boxes-went-into-gift-sets/request.md
expect: it accounts for all 100 boxes, the 20 in gift sets traced from the packing record to W-5510 and W-5522 through the online orders
expect: it drafts the hold on the 30 boxes in the warehouse and the instruction to bring van 2's 10 boxes back
expect: it lists the Anchor Café, Hollis Kitchen Shop and the two online buyers with what each took
[end]
[tools]
search
delegate_task
store
mail
gmail
sheets
drive
read_file
write_file
list_directory
ask_user
[end]
works with{ Stock, Orders, Shop, Mail, The post, read }
+
the agent doesFind → Follow → Open → Count → Draft
⇒
ends asgood | null
@
should cost about16 to 24 turns · 90,000 tokens
The problem
“Find everything from the recalled batch.”
GivenA recall notice naming a batch, the batch and stock records, trade and online orders with their deliveries, and the packing record. Some of the batch is on hand, some is in transit, some has gone to customers, and some has been made into other packs that carry no batch number on the outside.
The agent
RoleA quality assurance officer.
VerbGather, in the family know. Collect what exists from where it lives.
Does
1FindEvery production run and receipt of the batch, and the total made or received.
2FollowEach unit out: to stock on hand, a delivery, an order or the packing bench.
3OpenThe packing record, for anything the batch was made into.
4CountUntil what is traced equals what was made or received, or name the gap.
5DraftThe hold on stock, the return of deliveries in transit, and the notice to each buyer. ◀
What it does
Doestraces every unit of a recalled batch to where it now is and drafts the hold and the notice to buyers
Neverreports the tracing complete while what is traced is less than what was made or received; leaves out stock made into another product or pack because the batch number is not on its outside
Works with
StockThe stock records.
OrdersThe order records.
ShopThe online shop and marketplace listings, to prepare a change but not to publish it.
MailThe mailbox, to read and draft but not to send without approval.
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.
ApprovesThe notice to customers.
By handAbout 4 hours.
The measure
GoodEverything made or received accounted for, stock held, deliveries in transit recalled, every buyer listed with what they took, repacked goods traced through the packing record, and the notice drafted.
NullGoods that were repacked into another product missed, because the batch number is not on the outside.
CostAbout 16 to 24 turns · 90,000 tokens. A first estimate, to be replaced by what a run measures.
Rating38 of 50, hard. Material 3, span 3, traps 4, stakes 5 and skill 3, each out of 6.
Usefulness8 of 10. A recall is rare but must be complete and fast, because a unit that is missed can harm someone and exposes the business to liability. Stock that has been repacked or split often loses its batch number and is easy to miss.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 063: PRODUCT RECALL
CODE NAME: TRACE_THE_BATCH
VERB: GATHER
VOLUME 8: LEGAL AND COMPLIANCE 8.08
RATING: 38 OF 50, HARD
MODEL: ________ HARDWARE: ________
CODE NAME: TRACE_THE_BATCH
VERB: GATHER
VOLUME 8: LEGAL AND COMPLIANCE 8.08
RATING: 38 OF 50, HARD
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 63 of the agents we live by: Product recall. A quality assurance officer. The whole request is one sentence: “Find everything from the recalled batch.” A recall notice naming a batch, the batch and stock records, trade and online orders with their deliveries, and the packing record. Some of the batch is on hand, some is in transit, some has gone to customers, and some has been made into other packs that carry no batch number on the outside.
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, Draft: the hold on stock, the return of deliveries in transit, and the notice to each buyer. That is where a weaker model ends in the null.
Closing
________ gets No. 63 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.