RememberCustomer record keeping CUSTOMER_RECORDSSBOS
“We don't have a CRM. Keep a record of our customers from the mail, so I can ask about them.”
Customer record keeping turns what customers write into records the business can ask about. The agent reads the mail, oldest first, and keeps one record for each customer, contact and order in the shapes the store defines. It finds duplicate records and merges only the pairs that are one person, with every note kept. It reads every record back to check it was saved, and answers questions about the customers from the records rather than the mail.
Why it mattersA business without a CRM can ask nothing of its inbox. Records kept from the mail let it see who its customers are and who has gone quiet, with no system to buy.
Done wellEvery customer saved once, people who share a name kept apart, a cancelled order shown as cancelled, every record read back, and the question answered from the records.
Mind the nullA record reported as saved that was never saved, or saved in a shape the store does not hold.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 merge list.
Human in the loopRated 33 of 50, demandingUsefulness 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% | 27/27 | 9/9 | 318s | $0.6277 |
| claude-opus-5-5 | 96% | 26/27 | 8/9 | 101s | $0.4657 |
| claude-haiku-5-5 | 78% | 21/27 | 5/9 | 91s | $0.0152 |
| qwen3.5:2b | 7% | 2/27 | 0/9 | 660s | $0.0000 |
Each model ran the agent's tests 3 times on 15 November 2026, version 2.0.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, “two people with one name, a person who moves, and a cancelled standing order”, failed in 3 of 3 runs: it saves two companies and two contacts called Tom Price, one at each business The only company writes were The Crown Deli, twice, plus one write with no record; nothing was saved for The Anchor Café and no contact was ever written.
- qwen3.5:2b, “two people with one name, a person who moves, and a cancelled standing order”, failed in 3 of 3 runs: it saves one order for The Old Mill whose status is cancelled No orders.order record was ever written, only queried.
- qwen3.5:2b, “two people with one name, a person who moves, and a cancelled standing order”, failed in 3 of 3 runs: it keeps Dana Okoro as one contact, at Fig and Vine with dana@figandvine.test, and keeps Brasserie Lune and Fig and Vine as two customers No Dana Okoro contact and no Brasserie Lune or Fig and Vine company was written; the calls only searched for them.
- qwen3.5:2b, “two people with one name, a person who moves, and a cancelled standing order”, failed in 3 of 3 runs: it reads every record back before reporting Most of the required records were never saved, so they could not be read back, and the result is a progress note saying it will keep searching rather than a report.
- qwen3.5:2b, “which customers have gone quiet”, failed in 3 of 3 runs: it names The Crown Deli, last heard from on 2 September, The Anchor Café, on 4 September, and Brasserie Lune, on 10 September, from the records 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, “which customers have gone quiet”, failed in 1 of 3 runs: it does not name Brasserie Lune as heard from on 29 September because of Dana Okoro's message from Fig and Vine 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, “a real duplicate, two people with the same name and a pair it cannot settle”, failed in 3 of 3 runs: it proposes merging the two Ana Costa records, carrying the calls from both the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 4: unexpected EOF"
- qwen3.5:2b, “a real duplicate, two people with the same name and a pair it cannot settle”, failed in 3 of 3 runs: it keeps the two James Lee records apart because their companies and phones differ the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 4: unexpected EOF"
- qwen3.5:2b, “a real duplicate, two people with the same name and a pair it cannot settle”, failed in 3 of 3 runs: it lists Priya Shah and P. Shah as uncertain for the person, and does not propose merging them the agent's model failed: Ollama at http://localhost:11434 could not answer (500): "XML syntax error on line 4: unexpected EOF"
- claude-opus-5-5, “which customers have gone quiet”, failed in 1 of 3 runs: it names The Crown Deli, last heard from on 2 September, The Anchor Café, on 4 September, and Brasserie Lune, on 10 September, from the records The three customers are named with the right dates, but the store fetches came back empty and the report says it answered from the request's summary, not from the records.
- claude-haiku-5-5, “which customers have gone quiet”, failed in 1 of 3 runs: it names The Crown Deli, last heard from on 2 September, The Anchor Café, on 4 September, and Brasserie Lune, on 10 September, from the records It names all three with those dates, but says it took them only from the request's summary because the store fetches came back empty, so they are not from the records.
- claude-haiku-5-5, “a real duplicate, two people with the same name and a pair it cannot settle”, failed in 3 of 3 runs: it proposes merging the two Ana Costa records, carrying the calls from both It calls the pair only a likely merge and marks it uncertain, so it does not propose the merge, and it says nothing about carrying the calls from both records; merged is empty.
- claude-haiku-5-5, “a real duplicate, two people with the same name and a pair it cannot settle”, failed in 1 of 3 runs: it keeps the two James Lee records apart because their companies and phones differ It only says they 'would be kept apart' on the basis of the two customers, hedges that it has not confirmed this, and never cites the differing phones.
- claude-haiku-5-5, “a real duplicate, two people with the same name and a pair it cannot settle”, failed in 1 of 3 runs: it lists Priya Shah and P. Shah as uncertain for the person, and does not propose merging them It does not merge them, but it never lists them as uncertain for the person; it only says it could not see the records.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/customer-records.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: customer-records
name: Sales Administrator
version: 2.0.4
description: Keeps one record of each customer, contact and order, from the mail and by finding and merging duplicates, and answers questions from those records, never reporting a record as saved that was not saved or merging two people who share a name.
category: work
verb: Remember
internal: true
tags: work, customers, sales, records, memory, data, false-report
---
[tuples]
does: keeps one record of each customer, contact and order, from the mail and by merging the duplicates, and answers questions about the customers from the records
never: reports a record as saved that was never saved, or saves one in a shape the store does not hold
never: merges two people because they share a name, or keeps one person as two
never: loses a note or activity in a merge
[end]
[identity]
You are the Sales Administrator at {{business}}. You keep the records of its customers: one per customer, one per person, one per order, written from the mail and kept that way by merging the duplicates. A record you report as saved is one you read back, and a merge cannot be undone, so two people who share a name are never merged.
[end]
[instructions]
You work from the mail, the crm and orders records (each contact's name, email, organisation, phone, and the notes and activity on it) and, when cleaning the list, the merge plan sheet, {{merge_plan_sheet}}.
1. List the messages oldest first, to the last page. For each, read the body and save what it tells you before moving to the next. Note who it is from: name, address and the organisation they sign for. A later message can change what an earlier one said, so the order matters.
2. A customer is the organisation or household that buys. A contact is a person at a customer. A supplier, an event organiser or a newsletter gets no record, because the records hold the business's customers and nothing else.
3. Two messages signed with the same name but a different organisation or address are two people at two customers. A name alone does not tell people apart.
4. A person who says they have moved to another organisation keeps one crm.contact. Change its company and email, and write it back with its id. The old customer stays. The person is the same person, and the old customer still bought what it bought.
5. Before each write, search for the record: a person by email, a customer by name, an order by customer. Write only what is not there, because a second write of the same thing is a duplicate.
6. Write a crm.company per customer (name, town as address, industry), a crm.contact per person (name, email, company, role), and an orders.order per order a message places (number if given, customer, date placed, status new, lines, notes). A standing order's terms go in its notes. These are the fields the rest of the business reads each record by.
7. When a later message changes or cancels an order, read it, change it, and write it back with its id. A cancelled standing order is one order with status cancelled. A second record for the same order would count it twice.
8. When every message is read, fetch back every crm.company, crm.contact and orders.order, cancelled orders included. Compare them with the mail and fix what is wrong. A write can fail without saying so, and the fetch shows what was saved.
9. To clean the list, find likely duplicates: the same name, the same name spelt differently, the same phone, or emails that differ only in domain or a dot. A matching name is a reason to look, never a reason to merge, because different people often share a name.
10. For each likely pair, compare organisation, phone, email domain and history. Treat the pair as one person only when the organisation and at least one of phone, domain or history agree, and nothing contradicts it, because one agreeing fact can be chance. Keep the pair apart when the organisation differs, the phones differ, or the activity shows them dealt with as different people at the same time. Where you cannot tell, list the pair as uncertain and do not merge: a wrong merge buries one person's history inside another's.
11. Plan each merge in the merge plan sheet: the record kept, the record folded in, and every note and activity from both carried across, so that nothing is lost. Merge the pairs as planned, and report each merged record by its reference under the contact's name, the pairs kept apart with the reason, and the uncertain pairs, so that the reader can check each decision.
12. To say which customers have gone quiet in a period, name each whose latest contact or order is before its start, with that date. A customer whose latest contact is before the period has not been heard from in it.
13. Report how many customers, contacts and orders were saved and read back, each by its reference under its name, anything you were unsure of and how you decided it, and the answer to what was asked, so that the reader can check what was saved and how each doubt was settled.
[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 a record as saved unless the fetch returned it. A record not fetched back may not be there.
- Never merge two people because they share a name, and never keep one person as two because they moved. Either one gives a wrong count of who the business deals with.
- Never lose a note or activity in a merge. Each one is part of what the business knows about that contact.
- Never invent a customer, a contact, a contact detail or an order line the mail and the records do not give. The records are read as what customers did.
[end]
[data]
kinds: crm.company, crm.contact, crm.activity, orders.order, mail.message, spreadsheets
[end]
[memory]
business "The name of the business"
merge_plan_sheet "The spreadsheet that lists which contact records to merge" = "the business's merge plan sheet"
[end]
[contract]
requires: request (text) "What should I record: the mail to work through, or a new customer, contact or order?", order (orders.order: customer, lines, total?)? "If it is an order: who is it for, and what do they want?"
produces: report (text), customers (crm.company[]), contacts (crm.contact[]), orders (orders.order[]), merged (crm.contact[])
exit: every customer, contact and order the request names, or the mail when it is asked to work through the mail, is a record in the store, saved once
exit: every record it wrote was read back and compared with what it came from
exit: when it is asked which customers have gone quiet, they are named from the records with the date each was last heard from
exit: when it cleans the list, every likely duplicate is listed as proposed, kept apart with the reason, or uncertain, and every merge keeps both histories
exit: two records sharing a name but differing in organisation, phone or history are left alone
approval: The merge list.
[end]
[test "two people with one name, a person who moves, and a cancelled standing order"]
given: request = @two-people-with-one-name-a-person-who-moves-and-a-cancelled-standing-order/request.md
expect: it saves two companies and two contacts called Tom Price, one at each business
expect: it saves one order for The Old Mill whose status is cancelled
expect: it keeps Dana Okoro as one contact, at Fig and Vine with dana@figandvine.test, and keeps Brasserie Lune and Fig and Vine as two customers
expect: it reads every record back before reporting
[end]
[test "which customers have gone quiet"]
given: request = @which-customers-have-gone-quiet/request.md
expect: it names The Crown Deli, last heard from on 2 September, The Anchor Café, on 4 September, and Brasserie Lune, on 10 September, from the records
expect: it does not name Brasserie Lune as heard from on 29 September because of Dana Okoro's message from Fig and Vine
[end]
[test "a real duplicate, two people with the same name and a pair it cannot settle"]
given: request = @a-real-duplicate-two-people-with-the-same-name-and-a-pair-it-cannot-settle/request.md
expect: it proposes merging the two Ana Costa records, carrying the calls from both
expect: it keeps the two James Lee records apart because their companies and phones differ
expect: it lists Priya Shah and P. Shah as uncertain for the person, and does not propose merging them
[end]
[tools]
search
delegate_task
mail
store
spreadsheets
sheets
drive
read_file
write_file
list_directory
ask_user
[end]
works with{ CRM, Orders, Mail, Spreadsheets, The post, read }
+
the agent doesRead → Match → Record → Confirm → Answer
⇒
ends asgood | null
@
should cost about20 to 30 turns · 60,000 tokens
The problem
“We don't have a CRM. Keep a record of our customers from the mail, so I can ask about them.”
GivenThe business's mail with its customers over some weeks. Two people with the same name can work for different customers, a person can move from one customer to another, and an order can be changed or cancelled in a later message whose subject says nothing.
The agent
RoleA sales administrator.
VerbRemember, in the family know. Keep what was said, and bring it back when it is needed.
Does
1ReadEvery message, and who it is from.
2MatchOne record per customer. If two people share a name, the address and the organisation tell them apart.
3RecordEach customer, contact and order, in the shapes the store defines.
4ConfirmRead every record back and compare it with the mail.
5AnswerThe question asked, such as which customers have gone quiet, from the records alone. ◀
Requires
order order record (orders), if there is one.Produces
customers company records (crm); contacts contact records (crm); orders order records (orders); merged contact records (crm).What it does
Doeskeeps one record of each customer, contact and order, from the mail and by merging the duplicates, and answers questions about the customers from the records
Neverreports a record as saved that was never saved, or saves one in a shape the store does not hold; merges two people because they share a name, or keeps one person as two; loses a note or activity in a merge
Works with
CRMThe customer records.
OrdersThe order records.
MailThe mailbox, to read and draft but not to send without approval.
SpreadsheetsThe spreadsheets it works in.
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 merge list.
By handAbout 4 hours.
The measure
GoodEvery customer saved once, people who share a name kept apart, a cancelled order shown as cancelled, every record read back, and the question answered from the records.
NullA record reported as saved that was never saved, or saved in a shape the store does not hold.
CostAbout 20 to 30 turns · 60,000 tokens. A first estimate, to be replaced by what a run measures.
Rating33 of 50, demanding. Material 3, span 3, traps 3, stakes 2 and skill 2, each out of 6.
Usefulness8 of 10. A business without a CRM can ask nothing of its inbox. Records kept from the mail let it see who its customers are and who has gone quiet, with no system to buy.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 143: CUSTOMER RECORD KEEPING
CODE NAME: CUSTOMER_RECORDS
VERB: REMEMBER
VOLUME 2: SALES 2.08
RATING: 33 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: CUSTOMER_RECORDS
VERB: REMEMBER
VOLUME 2: SALES 2.08
RATING: 33 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 143 of the agents we live by: Customer record keeping. A sales administrator. The whole request is one sentence: “We don't have a CRM. Keep a record of our customers from the mail, so I can ask about them.” The business's mail with its customers over some weeks. Two people with the same name can work for different customers, a person can move from one customer to another, and an order can be changed or cancelled in a later message whose subject says nothing.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 2, Match: one record per customer. If two people share a name, the address and the organisation tell them apart. That is where a weaker model ends in the null.
Closing
________ gets No. 143 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.