The argument for domain investment is unconvincing in the abstract and obvious
once the same defect is costed against a technical one.
Two defects, both shipped in the same release.
TECHNICAL DEFECT
Cause an unbounded query on the orders table
Found by latency alert, 40 minutes after deploy
Blast p99 checkout latency, one afternoon
Fix one index, one hotfix deploy
Total ~4 engineer-hours, no external exposure
DOMAIN DEFECT
Cause "cancelled" was implemented as a terminal state, because
nobody said a cancellation can be rescinded within 14 days
Found by an operations analyst, 11 weeks later, when a customer
asked why their reinstated policy had no cover
Blast 2,300 policies cancelled and manually reinstated by
creating NEW policies with new numbers and new start dates
Consequences
- cover gap of 1-6 days on 2,300 policies, some with
claims in the gap
- premium recalculated wrongly for all of them
- regulatory reporting overstated new business by 2,300
- the audit trail now says the customer bought twice
Fix model change, backfill, 2 claims reviewed by legal, a
report correction, and an explanation to the regulator
Total ~14 engineer-weeks plus legal and compliance time
The arithmetic is not the point; the shape is. The technical defect was bounded
by the time it took to notice, and noticing was automatic. The domain defect had
no detector at all, because the system was behaving exactly as specified and
every monitor was green.
The second thing to read from the ledger is that the remediation is mostly not
engineering. Once wrong behaviour has been applied to real records, the cost is
in reconstructing what should have happened, explaining it to people with
authority, and repairing data that other systems have already consumed. A model
change is the cheapest line in the block.
Notice where the requirement was: a single sentence nobody said out loud, because
to the underwriting team a rescinded cancellation is Tuesday. That is the
recurring pattern — the missing knowledge was not obscure to anyone who does the
job, it was simply never worth writing down.
The line worth taking from this into an interview is that domain knowledge is a
defect-prevention investment with a measurable counterfactual, not a cultural
nicety. It buys you the question that would have been asked in week one.