My First Paying Customer Failed 4 Times: Quality Is Not a Final Check
The interesting part is the last field. The first three fields are engineering. The last one is product definition surfacing as an enum — if the pipeline cannot return one of those three answers, the boundary, the authority, or the failure state is still missing.
What the recovery run surfaced
Recovering the customer meant retrying the same project in production. I deliberately did not blind-loop. Each production attempt targeted exactly one defect that was already reproduced, regression-tested, independently reviewed, and deployed — and a terminal failure returned to diagnosis.
That controlled sequence surfaced four independent defects in the retry chain itself:
- A database claim contract that drifted. The new retry type was accepted at creation but rejected at claim time — the schema said yes, the claim function said no.
- An exact-text validator that false-flagged adjacent CJK spans because of unconditional newline joins. Two legitimate Chinese characters touching across a line break looked like a corruption.
- A fixed 120s provider deadline that could not cover a ~67-minute source across two sequential providers. The deadline was tuned for short audio and simply did not scale.
- A false-ready result whose final cue ended early while ~930s of trailing speech remained — caught by independent acceptance before any export or email.
Each one went through the same loop: reproduce → a failing regression test (RED) → minimal fix → independent review → controlled deploy → production verification. No step was “let’s try and see.”
The customer was never wrong
Japanese audio + Chinese translated script is not an edge case invented to embarrass a QA suite. It is a standard subtitle production workflow. The first-generation product never answered the question “what is the script, and what is its relationship to the audio?” — so the implementation answered it with the cheapest assumption.
This is the actual root cause: not a developer who wrote a bad check, but a product that had not defined its input boundary. The cheapest time to define a product boundary is before the first paying customer. The second cheapest is right after they teach you where it was missing.
Recovery was also engineering
For the affected customer, the recovery process left immutable evidence at every step:
- Containment. Affected projects entered a neutral “I am reviewing this, no action needed” state. UI, APIs, exports, and email paths all fail closed.
- Usage correction. The mistakenly reserved 67 minutes were restored via an append-only record.
- Compensation. A non-expiring +60 minute service-recovery credit, additive to the plan, visible separately, and impossible to duplicate.
- Delivery. An independently reviewed 660-cue result was attached through an append-only receipt — zero new charges, all seven export formats verified, and the SRT byte-identical to the approved artifact.
- Notification. One combined email — apology, root cause, result link, compensation — sent exactly once and confirmed delivered.
The operating principles: compensation precedes notification, an email failure never revokes compensation, historical failures are never automatically replayed, and every action leaves a verifiable receipt. Compensation was deliberately bounded — not an open-ended habit.
Where I stand
Here is where TimedSubs, the script-first subtitle tool, stands after this incident:
Shipped:
- Language probe + conflict interception (a bounded Deepgram language-detection probe over the first 60 seconds; a confirmed conflict at ≥0.7 confidence blocks delivery);
- Failed-result retention and same-project immutable retry;
- Single duration authority, layered QA, completeness-based delivery checks;
- Customer recovery and compensation closed, email confirmed delivered.
Still in progress — stated honestly:
- The cross-language main chain is specified but not yet implemented;
- The no-charge intercept on the legacy pipeline is not yet in place — do not read this post as claiming it is;
- Paying-customer journey monitoring is still manual; automation is the next item on my list;
- Two older incident projects remain in their contained state, pending a valid result or an honest close.
Takeaways
- Quality is product definition, not a final check. Define the input boundary, the authority of each fact, the failure states, and the meaning of your metrics before you write the implementation.
- One fact, one source of truth. The difference between 3983 and 3982.699 seconds became four failed uploads and a painstaking diagnosis.
- Make failure a state, not a dead end. A rejected candidate that disappears is a bug the customer will re-trigger for you.
- A score without a semantic check is a dashboard number. Structure and format checks are not content checks.
- Customer care must be automated, not manual. I checked on the first paying customer because I cared. The second and third paying customers will not get that luxury unless monitoring does the checking for me.
A gate that rejects bad output is table stakes. A product that defines its boundaries, owns its facts, designs its failure states, and makes its scores meaningful is what keeps a customer from ever standing at the gate in the first place.
If you are building a pipeline where the input has hidden relationships — a script and an audio file, a design and a codebase, a prompt and a model — ask the boundary question now, before your first paying customer asks it for you. The gate will catch the bad output either way. Only product definition can keep the customer from ever reaching it.
Fuente: Artículo original