DEV Community

chenwengui23
chenwengui23

Posted on

A customer said “it's still broken” — your AI booked 1,214 free return visits before anyone decided whose fault it was

A commercial kitchen equipment company — fourteen technicians, three metros, about 2,290 jobs a month — had a support assistant that was very good at empathy.

Here is a real thread, from a Tuesday:

Customer: Your guy was here Tuesday for the ice maker. It's still broken.

AI: I'm so sorry about that! I've booked a technician to come back out Thursday between 8 and 12, and there's no charge for this visit. You won't pay anything.

Seventeen words of reassurance. The average loaded cost of a truck roll at this company is $186. So that reply cost $186 the moment it was sent — and nobody at the company knew it had been sent, because the assistant doesn't write to the dispatch ledger. It writes to a chat window.

Over ninety days, it sent that reply, or a close variant of it, 1,214 times.

What the quarter looked like

  • 6,840 completed jobs in ninety days across three service areas
  • 1,930 conversations contained rework language: "still broken", "came back", "not fixed", "same problem", "your guy was just here"
  • 1,214 of those got a return visit booked at $0. The other 716 got routed to a person, mostly because the customer asked for a manager in the same message
  • 286 of the 1,214 had a liability reason recorded anywhere. The other 928 had none — not in the work order, not in the CRM, not in the dispatch note. The transcript was the only evidence that a decision had been made
  • Of the 1,214 free visits: 412 were genuinely the company's fault (workmanship inside the 90-day window, or a part it supplied)
  • 508 were a different fault. Same equipment, different component — a second failure that arrived two weeks after the first was fixed, and which the price list treats as a new job
  • 294 were customer-caused or third-party-caused: a filter the customer bought themselves, a coil blocked because the unit ran with the panel off, a part installed by "a guy my nephew knows," or a unit that had been moved
  • 96 free visits went to customers whose maintenance contract had lapsed. Median lapse: 214 days. The assistant read the plan name — "Kitchen Care Plus" — off the account header and never read the status field
  • $225,800 in truck-roll cost absorbed, of which roughly $150,000 was attributable to visits that should have been quoted, not waived
  • 143 invoices later billed something for a return visit the customer had been told was free. 61 were disputed, 22 became chargebacks, $18,900 was credited to make the promise true after the fact
  • 19 jobs got three or more free visits. One got six. The sixth was a $240 diagnostic that turned into a $1,900 compressor replacement, quoted to a customer who had been told four times that visits were free
  • First-time-fix rate fell from 71% to 64% over the quarter, because a free return visit is a very cheap way to close a ticket without fixing anything
  • 214 return visits sat unassigned for more than five days. Nine technicians had started declining them, which is what happens when a visit pays the tech nothing and carries a customer who is already angry

The last number is what made the owner call me. Not the money — the fact that his best technicians had quietly stopped accepting work that the AI kept creating.

"Still broken" is three questions wearing one sentence

A support assistant hears a complaint. A dispatch system needs a liability decision. The sentence "it's still broken" answers neither of the three things you actually have to know:

  1. Was it our work? Same component, inside the workmanship window, part we supplied.
  2. Is it the same fault? A compressor that fails nine days after a fan motor replacement is not a rework. It is a new job that happens to share an address.
  3. Who owns the obligation today? An active contract, a lapsed one, a customer-supplied part, or a unit someone else touched.

The company's mental model was "the AI books callbacks, callbacks are free, that's how you keep customers." The system's actual behavior was "the AI decides who pays before anyone decides what happened." Those are not the same policy, and only one of them was written down.

Class What it actually is Evidence required Who pays
Workmanship rework Same fault, same component, our install, inside 90 days Original work order + component match + install date Company
Parts failure A part we supplied failed inside its warranty Part serial + supplier warranty status Supplier, then company
New fault Different component, or damage that arrived after we left First-visit diagnosis vs. new symptom Customer, at list price
Customer-caused Self-supplied part, blocked access, unit moved, panel left off First-visit photos + tech notes Customer, diagnostic fee
Contract callback An agreement that was active on the visit date includes callbacks Contract status as of that date, not today Company, under the contract

Row three is where 508 of the free visits went. Row five is where the other 96 went.

The order was reversed

The assistant did the cost allocation first — "no charge" — and left the liability question for later, on the reasonable theory that a person would sort it out. No person did. A free visit that has already been promised is not a decision anyone revisits; it's a fact everyone works around.

This is the same structural mistake as a refund cap that lives in a prompt. The policy existed. It was in a service manual: workmanship covered 90 days; callbacks outside that window are billable; contract callbacks require an active agreement. But the only thing standing between that manual and 1,214 free truck rolls was the model's judgment about whether a customer sounded upset.

Two specific traps are worth naming, because they recur in every deployment I audit:

Contract status is a field, not a brand memory. The assistant knew the account was "a Kitchen Care Plus customer" because that string was in the CRM header. It never read contract_status. A lapsed plan looks identical to an active one in prose, and the customer will not volunteer that they stopped paying in March. The 96 lapsed-contract visits were not a reasoning error. They were a field that was never read.

$0 is a quote, even when it's a kindness. A waived fee is a price of zero, published in writing, to a specific customer, with no expiry. It gets forwarded to the customer's regional manager, who has four other locations and the same equipment. The company found 31 threads where a free visit had been cited by a different site as precedent.

The gate

Eight branches, evaluated before any scheduling language is generated. Only two of them are allowed to produce the words "no charge."

def rework_gate(message, job, contract, parts, history):
    # 1. Not a rework claim — new work, at list price
    if not message.references_prior_visit:
        return new_ticket(job, require_quote=True)

    # 2. Prior visit must resolve to a real, closed work order
    prior = work_orders.find(job.customer_id, within_days=90,
                             status="completed")
    if prior is None:
        return reply(mode="cannot_locate_visit",
                     forbid=["no_charge", "free", "covered"],
                     ask=["visit_date", "tech_name", "invoice_number"],
                     route="dispatcher")

    # 3. Contract is a field read as of the visit date
    contract_active = contract.status_on(prior.completed_at) == "active"

    # 4. Same component + inside workmanship window + our part
    if (message.same_component and prior.days_since <= 90
            and parts.supplied_by_us(prior.part_serial)):
        return schedule(prior.customer, mode="workmanship_rework",
                        trip_fee=0,
                        allow_phrases=["no_charge"],
                        authority="policy:workmanship_90d",
                        evidence_ref=prior.id)

    # 5. Active contract callback
    if contract_active and contract.covers("callback"):
        return schedule(prior.customer, mode="contract_callback",
                        trip_fee=0,
                        allow_phrases=["no_charge"],
                        authority=f"contract:{contract.id}",
                        evidence_ref=prior.id)

    # 6. Different component or new symptom — new job, quoted first
    if not message.same_component:
        return new_ticket(prior.customer, linked_to=prior.id,
                          mode="new_fault",
                          require_quote=True,
                          forbid=["no_charge"])

    # 7. Customer-caused or third-party work — diagnostic fee, disclose it
    if message.mentions_self_supplied_part or prior.third_party_touched:
        return schedule(prior.customer, mode="diagnostic",
                        trip_fee=DIAG_FEE,
                        require_phrases=["diagnostic_fee"],
                        forbid=["no_charge", "covered"])

    # 8. Third ask on the same job — stop the loop
    if history.free_visits_for(job.id) >= 2:
        return route(to="service_manager", sla="4h",
                     forbid=["schedule", "no_charge"])
Enter fullscreen mode Exit fullscreen mode

Branch 3 is the one people skip. status_on(prior.completed_at) — not current status. A customer who renewed last week is a contract customer today and was not one when the tech was on site. If you read today's status, you will retroactively cover a visit that was never covered, and you will do it 96 times a quarter.

Branch 8 is the cheapest fix in the whole list. Two free visits on one job is a signal, not a service level. The sixth visit on that $240 diagnostic happened because nothing in the system could count.

The record the promise creates

If a fee is waived, there has to be a row. Otherwise the transcript is the invoice, and the transcript lives with the customer.

{
  "rework_id": "RW-40218",
  "original_work_order": "WO-771203",
  "days_since_completion": 9,
  "liability_class": "workmanship_rework",
  "evidence": {
    "same_component": true,
    "component": "condenser fan motor",
    "part_serial": "CFM-88214",
    "part_supplied_by": "us",
    "first_visit_notes_ref": "note-9910"
  },
  "contract": {
    "plan": "Kitchen Care Plus",
    "status_on_visit_date": "lapsed",
    "lapsed_days": 214
  },
  "trip_fee_quoted": 0,
  "no_charge_language_permitted": true,
  "approved_by": "policy:workmanship_90d",
  "dispatch_priority": "standard"
}
Enter fullscreen mode Exit fullscreen mode

Four fields carry the weight. liability_class must be computed before dispatch, not after — that is the entire fix, expressed as a column. evidence.part_supplied_by separates "our part failed" from "their part failed," which is the difference between $0 and $89 plus parts. contract.status_on_visit_date is the field nobody reads. And no_charge_language_permitted is a boolean the reply generator checks, so that "no charge" becomes impossible to say in a branch that didn't authorize it — instead of a sentence someone reviews next month.

What to say instead

The assistant's problem wasn't that it was too generous. It was that it only had one sentence for five different situations, and that sentence was "no charge."

Don't say Say
"No charge — you won't pay anything for this visit." "I've booked Thursday 8–12. This one is a diagnostic at $89, and it's waived if we find the fault came from our install on the 12th."
"Of course, we'll take care of it." "I'm sorry it's still not working. I've linked your original job WO-771203 and I'm having the service manager confirm coverage before we quote the visit."
"Same problem? We'll come back for free." "Let me check what was replaced last time before I book anything — that takes about ten minutes."
"Your plan covers it." "Your maintenance plan was active on the 12th / ended on March 4. Here's what applies to this visit."
"Just tell us a time and we'll be there." "Before I dispatch: can you confirm the model and serial, and whether anyone else has worked on the unit since Tuesday?"

The second row is the sentence that saves the most money, and it's the one support teams resist, because it sounds like withholding help. It isn't. "We'll confirm coverage before we quote" is what a customer with a real workmanship claim wants to hear anyway — it means someone is actually looking.

The Monday audit

-- 1. Free return visits with no liability class: undocumented waivers
SELECT r.id, r.original_work_order FROM rework_cases r
WHERE r.trip_fee_quoted = 0 AND r.liability_class IS NULL;
-- target: 0 rows (928 was the number)

-- 2. Free visits where the contract was not active on the visit date
SELECT r.id, c.plan, c.status_on_visit_date, r.original_work_order
FROM rework_cases r JOIN contracts c ON c.customer_id = r.customer_id
WHERE r.trip_fee_quoted = 0
  AND c.status_on_visit_date <> 'active';
-- target: 0 rows unless liability_class = 'workmanship_rework'

-- 3. Jobs with three or more visits in thirty days
SELECT job_id, COUNT(*) AS visits FROM work_orders
WHERE completed_at > NOW() - INTERVAL '30 days'
GROUP BY job_id HAVING COUNT(*) >= 3;
-- target: 0 rows

-- 4. "No charge" said in the transcript, money charged on the invoice
SELECT r.id, r.conversation_id, i.amount
FROM rework_cases r JOIN invoices i ON i.work_order_id = r.original_work_order
WHERE r.no_charge_language_permitted = false AND i.amount > 0;
-- target: 0 rows (143 produced 22 chargebacks)

-- 5. Return visits where the replaced part came from the customer
SELECT r.id, p.serial, p.supplied_by FROM rework_cases r
JOIN parts p ON p.work_order_id = r.original_work_order
WHERE r.trip_fee_quoted = 0 AND p.supplied_by <> 'us';
-- target: 0 rows

-- 6. First-time-fix by technician, last ninety days
SELECT tech_id,
       ROUND(AVG((rework_cases.id IS NULL)::int)::numeric, 3) AS ftf_rate
FROM work_orders LEFT JOIN rework_cases
  ON rework_cases.original_work_order = work_orders.id
GROUP BY tech_id ORDER BY ftf_rate ASC;
-- watch the bottom quartile: free rework hides behind it
Enter fullscreen mode Exit fullscreen mode

Run query 1 first. It is the only one that measures the actual failure — a waived fee with no reason attached — and every other query is a refinement of it. Query 6 is the one to bring to a technician meeting, because the six-visit job will show up as a low FTF rate on a tech who did nothing wrong.

The 12-line checklist

  1. "Still broken" is a liability question, not a scheduling request — classify before you book
  2. The prior visit must resolve to a closed work order; if it doesn't, never say "free," ask for a date and invoice number
  3. Same component plus inside the workmanship window plus a part we supplied is the only automatic $0 branch
  4. Contract coverage is read from the status field as of the visit date, never from the plan name or today's status
  5. A different component is a new job at list price, linked to the old one, quoted before dispatch
  6. Customer-supplied parts and third-party work get a diagnostic fee, disclosed in the first reply
  7. "No charge" is a boolean the reply generator checks, not a phrase in a prompt
  8. Every waiver writes a rework_cases row with liability_class, evidence reference, and contract status on the visit date
  9. Two free visits on one job is a hard stop to the service manager, not a third booking
  10. Return visits are dispatched with a priority and a cost owner, so technicians stop declining them
  11. Promised-free visits and invoiced visits are reconciled weekly; every mismatch is a refund or a correction, chosen deliberately
  12. First-time-fix is reported by technician and by liability class — a falling FTF with a rising free-visit count is the loop, visible

The $150,000 wasn't generosity and it wasn't fraud. It was a support assistant answering the only question it could hear — am I being taken care of? — with the only tool it had, which happened to be the company's money.

Free rework isn't a tone problem. It's a sequence problem: decide who pays, then decide when the truck goes. Reverse the order, and the promise becomes the decision.


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/.

Top comments (0)