傢俱零售商 AI 助理承諾保留梳化,令 611 件可售庫存帳外凍結且庫存團隊不知情
A customer asked you to hold a sofa until payday — your AI froze 611 sellable units and never told inventory
一家傢俱零售商的 AI 助理無法寫入庫存帳本,卻在聊天中承諾保留商品,結果有 611 件可售庫存帶有沒有帳本紀錄的保留承諾。90 日內,1,984 次聊天承諾中只有 214 次(11%)列有到期日,31 宗取消造成 $64,400 流失收入。作者建議把保留分成意向備註、限時保留、訂金保留和訂單,並只在庫存寫入成功後回覆顧客。
A furniture retailer — three showrooms, one warehouse, roughly 1,840 sellable units at any given time — had a chat assistant on the website and on the showroom tablets. It was polite, it was fast, and it had one habit that cost them a quarter.
Here is a real thread:
Customer: I love the Alvar linen sofa, the floor model in the Ryde showroom. I get paid Friday. Can you hold it for me?
AI: Absolutely! I've put the Alvar sofa on hold for you. It's yours — just come in Friday and we'll sort out the paperwork.
Ninety-four words of warmth, one word of commitment: hold. In this company's systems, a hold is a reservation against inventory — a decision not to sell that unit to anyone else. The assistant could not create one. It had no write path to the stock ledger. What it could do was type into a chat window.
So the store did sell that sofa, on Wednesday, to a couple paying cash. And on Friday the first customer stood in the showroom being told that "the system shows it available" while a transcript on a tablet said the opposite.
That was not the expensive part. The expensive part was the eleven hundred other holds.
What the ninety days looked like
- 2,620 hold requests arrived in chat across the quarter: "can you hold it", "put my name on it", "reserve one for me", "don't sell it please", "I'll be in Saturday"
- 1,984 holds were "granted" in chat. Only 214 of them (11%) had any expiry date, and 402 involved money of any kind
- On the day the stock controller finally ran a manual audit, 611 units — 33% of active sellable inventory — were carrying a chat promise with no ledger record. Median age of the promise: 23 days. 186 were older than 60 days. 41 were older than 120
- That is $186,000 of stock at cost sitting in a state where the only thing preventing a sale was a conversation nobody in the warehouse could read
- Meanwhile the sales floor quoted from the stock ledger, which still said available. 294 orders were written against units that a chat had already promised to someone else
- 88 of those reached the pick stage. 47 became "sorry, that one's spoken for" phone calls. 31 cancellations, $64,400 in lost revenue — and in 22 of the 31, the customer was told about the conflict by a person who had never seen the promise
- 118 of the promised units were discontinued or clearance stock. These are the units customers ask you to hold because they're the last ones. Holding them froze the markdown calendar: six weeks of planned clearance ran with a third of the SKUs "reserved" by people who never came back
- 22 accounts had learned the pattern. Median 9 concurrent holds each; one had 31 units held under one name across three showrooms
- Nine double-sell incidents ended with a deposit refunded twice — once to the person who paid, once as goodwill to the person who was promised. Total: $4,100 in refunds against $0 of revenue
- The showroom manager's version, when I asked: "Every Saturday someone shows me a phone with our own chatbot on it, saying we'd hold something. I've started assuming the chat is lying. That's not a great way to open a conversation."
The last one is the actual damage. A hold that isn't in the ledger doesn't just lose a sale — it teaches your floor staff to distrust the system that's supposed to help them.
"Hold" is four different commitments wearing one word
This is the whole failure, and it's linguistic before it's technical. When a customer says "hold it", they mean don't sell it to anyone else. When a retailer says "hold", it means one of four quite different things, with different money, different duration, and different authority.
| What the customer said | What it actually is | Money involved | Who may grant it | Enforceable in inventory |
|---|---|---|---|---|
| "I'm interested, I'll think about it" | Interest note — a CRM remark | None | AI | No — and it must never be called a hold |
| "Hold it until Friday" | Timed hold — stock reserved, expiry enforced, no money | None | AI, within limits | Yes, with expires_at
|
| "Hold it, here's $200" | Deposit hold — stock reserved, money captured, terms disclosed | Deposit | AI up to a value band, then human | Yes, with expires_at + payment id |
| "I'll take it, invoice me" | Order — allocation, not a hold | Full price | Human, or AI with an order write path | Yes, as an allocation |
Row one is the only row an assistant should ever reach without a write path. Rows two, three, and four all consume sellable inventory, which means they all transfer value from the company to one customer and away from every other customer. That is a credit decision with a shelf attached, and it was being made in the tone of a helpful concierge.
The company had a policy document with a section called "Customer Holds" that said holds are limited to 48 hours and require a manager override beyond that. The assistant had never read it, because nobody had ever put it anywhere the assistant could see. Policy in a PDF is not policy. Policy is a branch in an execution path.
The bug is in the write path, not the wording
You can spend a quarter rewriting prompts to say "I can't guarantee availability" and you will still lose the sale, because the customer's request was reasonable and the answer they need is a real one: yes, for 48 hours, and here's what happens after.
The fix is not a phrase. It is that the reply must be generated from the result of an inventory write. Not from an intention to write.
Customer: "can you hold it"
│
├─ classify → interest_note | timed_hold | deposit_hold | order_request
│
├─ look up the actual unit (sku + location + condition)
│ └─ if not resolvable → no hold language at all; offer a callback
│
├─ check limits (per customer, per value band, per location)
│ └─ exceeded → human queue, and say so plainly
│
├─ WRITE the hold record ──────────────► ledger
│ └─ write fails → do not say "hold"
│
└─ only now generate the sentence, from the record
"I've held the Alvar sofa at Ryde until Friday 6pm,
reference H-40218. After that it goes back on the floor."
The order matters more than anything else in this article. If the sentence can be produced before the write, the sentence will eventually be produced without the write. That's not a jailbreak problem; it's a sequencing problem, and it's the same one that shows up in refund promises, delivery dates, and free return visits.
A hold_record that makes the promise auditable:
{
"hold_id": "H-40218",
"created_by": "ai_agent",
"channel": "webchat",
"customer_id": "C-88214",
"unit": {
"sku": "ALV-LIN-3S",
"location": "RYDE_FLOOR",
"condition": "floor_model",
"serial_or_tag": "FM-2291"
},
"hold_class": "timed_hold",
"expires_at": "2026-11-27T18:00:00+11:00",
"deposit": { "required": false, "amount": 0, "payment_id": null },
"disclosure": {
"expiry_stated_to_customer": true,
"release_policy_stated": true,
"verbatim_reply_id": "msg_77120"
},
"authority": { "max_hours_allowed": 72, "requires_override": false },
"status": "active"
}
Four fields carry all the weight. expires_at because a hold without an expiry is a permanent lien. serial_or_tag because "we held a sofa" is not the same as "we held that sofa" — floor models have one unit and a scratch on the left arm. disclosure.expiry_stated_to_customer because a hold the customer doesn't know has a deadline is a broken promise waiting for Friday. And status because the release has to be an event, not a deletion.
The gate that reads it:
hold_gate(request, unit, customer):
if unit.unresolvable: → ASK_WHICH_UNIT # never hold "a sofa"
if hold_class == interest_note: → CRM_NOTE_ONLY # no hold words, ever
if active_holds(customer) >= 3: → HUMAN_QUEUE
if unit.value_band == clearance: → HUMAN_QUEUE # markdown interaction
if hold_class == deposit_hold and value > 1500:
→ HUMAN_QUEUE # take payment, not promise
if requested_expiry > 72h: → OFFER_48H # counter, don't refuse
if ledger.write_fails: → NO_HOLD_LANGUAGE # the branch everyone skips
else: → CREATE_HOLD, reply from record
The clearance branch is the one that saved the most money after we shipped it. Discontinued stock is precisely what customers ask you to hold, and it's precisely what you cannot afford to hold, because a frozen unit never reaches its markdown.
The weekly audit
Five queries, ten minutes, run every Monday morning before the floor opens.
-- 1. Holds with no expiry. This is the disease.
SELECT hold_class, COUNT(*), SUM(unit_value) AS at_cost
FROM holds WHERE status = 'active' AND expires_at IS NULL
GROUP BY hold_class ORDER BY at_cost DESC;
-- target: 0 rows
-- 2. Holds older than their stated limit
SELECT h.hold_id, h.customer_id, h.unit_sku,
NOW() - h.created_at AS age
FROM holds h
WHERE h.status = 'active'
AND h.created_at < NOW() - (h.authority->>'max_hours_allowed')::interval
ORDER BY age DESC;
-- every row is a promise the company already broke
-- 3. Promises with no ledger record — the inverse failure
SELECT c.conversation_id, c.customer_id
FROM chat_messages c
WHERE c.sender = 'ai'
AND c.body ~* '\b(i'')?ve (put|held|reserved)\b|\bon hold\b|\bit''s yours\b'
AND NOT EXISTS (
SELECT 1 FROM holds h
WHERE h.customer_id = c.customer_id
AND h.created_at BETWEEN c.sent_at - interval '5 minutes'
AND c.sent_at + interval '5 minutes'
);
-- this is the list that explains the showroom arguments
-- 4. Holds by customer, active and concurrent
SELECT customer_id, COUNT(*) AS concurrent_holds,
SUM(unit_value) AS value
FROM holds WHERE status = 'active'
GROUP BY customer_id HAVING COUNT(*) > 3
ORDER BY concurrent_holds DESC;
-- 5. Sold units that were held for someone else at the time of sale
SELECT o.order_id, o.sold_at, h.hold_id, h.customer_id AS promised_to
FROM orders o
JOIN holds h ON h.unit_sku = o.sku AND h.location = o.location
WHERE o.sold_at BETWEEN h.created_at AND COALESCE(h.expires_at, h.released_at)
AND h.customer_id <> o.customer_id;
-- target: 0 rows; anything here is a double-sell you haven't heard about yet
Query 3 is the one nobody writes, because it's the only one that looks at the transcript instead of the database. It's also the one that finds the problem in week one — before the audit, before the cancellations, while the units are still on the floor.
The 12-line checklist
- "Hold" is a reservation of sellable inventory, not a courtesy phrase — treat every use as a value transfer
- Separate four things in your vocabulary and your schema: interest note, timed hold, deposit hold, order
- A hold always names a specific unit — SKU plus location plus condition or tag, never "a sofa"
- No expiry, no hold. Default 48 hours; anything longer is a counter-offer, not a refusal
- The reply is generated after the ledger write returns, never before; write failure means no hold language
- The customer is told the expiry and what happens after it, in the same message
- Three concurrent holds per customer is a limit, not a suggestion; the fourth goes to a human
- Clearance and discontinued stock are human-only — a frozen unit never reaches markdown
- Deposit holds above a value band require real payment, not a promise of payment
- Sold-against-a-hold is a weekly reconciliation, and every hit is either a refund or a save call, chosen deliberately
- Release is an event with a timestamp and a reason, not a row deletion — you will need the history in the dispute
- Showroom staff can see the hold in the tool they actually use; if the promise lives only in a transcript, they will learn to distrust the system
None of the 1,984 promises was malicious. Each one was a polite answer to a polite question, delivered by something that had no way to make it true — and the truth was being kept in a different room.
A hold is not a softer word for a sale. It's an inventory obligation with a clock on it. Write it down, or don't say it.
If you're deploying AI agents on customer-facing work, I write up a new failure mode like this one every day — with the schema, the gate, and the audit queries — at https://whop.com/agentfast-04b6/.
來源:DEV Community · dev.to