Most organisations use "technical debt" to mean "code we are embarrassed by", which makes it a mood rather than a decision. The metaphor is more useful than that, if you take it literally. Debt is a financing instrument: you take delivery of something now and pay for it later, with interest, on terms. Senior engineers go wrong in two opposite ways. They borrow without writing down the terms, or they treat every loan as a moral failing and repay the cheap ones while the expensive ones compound. This chapter is about pricing debt: what kind it is, what rate it charges, who pays, and when repaying it beats spending the same engineers on anything else.
Ward Cunningham's 1992 framing was narrow. You ship code that reflects your current, incomplete understanding of the domain, and you repay by refactoring it as your understanding improves. Fowler's reckless/prudent, deliberate/inadvertent quadrant is how most teams now describe it, and it answers the wrong question. Whether a debt was prudent tells you how to feel about the past. What you need for the next decision is how the interest is charged.
Sort the things people call debt by that property and five instruments fall out. Local code debt charges a fixed rate each time someone changes that code, and nothing otherwise. Structural debt, meaning a wrong boundary, a shared database or a tenancy model that leaks, charges interest on every cross-cutting change. Its principal also grows, because each new feature is built in the wrong shape and has to be moved later. Decay charges by the calendar. The code does not change, but the runtime, framework and dependency tree it sits on do, and a vendor's EOL date or a CVE sets the rate. Latent risk is not debt at all in the interest-paying sense. It is closer to having sold an option: you pay nothing most days and everything on one day. Knowledge debt is a step function that triggers when one person leaves.
Instrument
Rate profile
Interest charged
Typical form
Right response
Local code debt
fixed rate
per change that touches it
god-class, copy-pasted handler, missing tests on one module
repay in the path of the next feature
Structural debt
compounding
per cross-cutting change; principal grows as code is built on it
wrong aggregate boundary, shared DB between services, leaky tenancy model
fund as a project, before more is built on top
Decay / drift
variable, set by others
by the calendar, even if nobody touches it
EOL runtime, pinned framework major, unpatched transitive dependency
central deadline with teeth; never per-team
Latent risk
not interest: a sold option
all at once, on a bad day
dead code behind a flag, no restore test, single-AZ state
price as expected loss; cap exposure first
Knowledge debt
step function
when one person leaves or is on leave
only one engineer can deploy the billing batch
pairing and runbooks, cheapest to repay
A single "tech debt" backlog mixes all five, and then ranks them by how annoying they are. They need different accounting: the first two are priced in engineering hours, decay by a calendar date someone else controls, latent risk by probability times impact, knowledge debt by who is about to leave.
The distinction matters because every mechanism organisations use to manage debt is tuned to the first instrument. Hours-based estimates, "leave it better than you found it" rules and a 20% allocation all assume that interest shows up as friction the team feels. Decay and latent risk produce no friction at all until they come due. Knight Capital in 2012 is the textbook case of the fourth instrument. Retired order-routing code was still on the servers. A deployment reached only seven of eight machines, a repurposed flag reactivated the dead path on the eighth, and the firm lost more than $440 million in under an hour. That code had cost nothing to carry for years. Equifax in 2017 is the textbook decay default: the Apache Struts fix had been public for about two months when attackers first used the hole. Neither was a code-quality problem, and no amount of refactoring budget would have scheduled either.
Architect's note · what is not debt
The central, non-obvious fact about code debt is that you only pay interest when you touch it. A tangled module nobody has changed in two years costs nothing. A mildly awkward module that every feature passes through can cost a quarter of a team. That makes the interest rate roughly (changes per quarter) × (extra hours per change), and change frequency follows a steep power law. In most mature repositories a few percent of files take most of the commits. Adam Tornhill's hotspot analysis, change frequency from version control crossed with a complexity proxy, is the most useful single tool here because it measures the thing that bills you. Static-analysis "debt days" scores do not. They estimate remediation effort, which is principal, across the whole codebase, and they rank a frozen legacy package the same as the checkout path.
Some illustrative arithmetic. A payments module gets 40 PRs a quarter, and each one pays about 3 extra hours in review, in manually re-testing edge cases nobody trusts, and in coordinating a risky deploy. That is 120 hours a quarter, around a quarter of one engineer's focused time, permanently. If a clean seam and a contract test suite cost 240 hours, payback is two quarters. The identical mess in a module touched twice a year takes twenty years to pay back, which in practice means never.
The break-even for structural debt looks later than for local debt — but the dashed line is the trap: the cost of repaying it rises every quarter as more code is built on the wrong shape, so waiting for the break-even to "prove" itself means paying a larger principal when you finally act. Decay debt is nearly free to carry until the day it is not, and then it is repaid under a deadline, at a premium.
Hours are not the most expensive interest, though. Estimate variance is. Debt-heavy areas do not only make work slower. They make it unpredictable, because the extra cost depends on which hidden coupling the next change runs into. A team whose median lead time is fine but whose p90 is three times the median loses the trust of the people planning around it, and that shows up as padded roadmaps, parallel "safety" projects and executives routing work around the team. When you want the business to see debt, the ratio of p90 to median lead time in the affected area is often a more persuasive number than hours, and it is harder to dismiss as engineers wanting to polish things.
One correction to the hotspot method, because it fails in exactly the places that matter. Change frequency is endogenous: teams route around code they are afraid of. A billing engine nobody dares touch shows low churn, not because it is cheap, but because its interest is being paid somewhere else, as a workaround in the calling service, a duplicate calculation in the data warehouse, or a feature product quietly stopped asking for. Hotspot data measures interest paid in a module and misses suppressed demand. The tell is a cold module surrounded by warm adapters, or roadmap items that keep getting re-scoped to avoid it. When you see that pattern, price the debt by the workarounds and the dropped features, not by the module's own commit history.
How do you get the "extra hours per change" figure without a time-tracking regime nobody will tolerate? Three sources, cheapest first. Sampling, not logging: for one sprint a quarter, ask the author of every merged PR in the suspect areas a single question, "how many hours of this was caused by the area rather than the task?", and accept rough answers. Thirty to fifty answers a quarter per area is enough to separate 1 hour from 5, which is the only resolution the decision needs. Lead-time decomposition: split cycle time into coding, review wait, review rounds and deploy, by directory. Debt shows up as review rounds and deploy retries, not as coding time. Incident attribution: tag postmortems with the register entry they touch. One incident a quarter traced to the same module usually outweighs every hour estimate, because it carries customer-visible cost and executive attention. What you should not do is trust a single engineer's estimate of interest on code they want to rewrite. Nobody is neutral about their own irritants.
The variance number deserves its own arithmetic, because it is what planners actually pay. Suppose an area's median change takes 4 days and its p90 takes 12 (illustrative). A product manager committing to a date on a five-change feature with 85% confidence cannot plan on 20 days. With a skew that heavy the mean change is nearer 6 days than 4, and modelling each change as lognormal puts the 85th percentile of the five-change sum at roughly 40 days. Those 20 padded days are consumed by the plan whether or not the tail materialises, because work expands to the committed date and the next item is scheduled behind it. Cut the p90 to 6 days with the median unchanged and the same calculation gives about 24: nearly four working weeks returned per feature, with no change in median speed at all. That is the argument that lands with a planning function: not "we will be faster", but "our dates will mean something".
rate
changes/q × extra h/change
p90 ÷ p50
lead-time spread in the area
principal↑
structural: grows while you wait
0 → all
latent risk: nothing, then everything
Borrowing is often right. Time has option value: shipping six weeks earlier can decide whether a market window, a design partner or a funding round happens at all, and a lot of code is written to test a hypothesis that will kill it. The expected cost of a shortcut is P(code survives) × interest rate × expected life. For code with a real chance of deletion, that number is small enough that doing it properly is the mistake. The classic senior-engineer error here is not borrowing recklessly. It is gold-plating an experiment.
The criterion that separates cheap loans from ruinous ones is location. A shortcut inside a module, behind an interface you control, is a fixed-rate loan. You can repay it any afternoon, and its cost does not grow as other teams build. A shortcut at a boundary is a different animal. That includes a public API, an event schema, a persisted data format, the identity or tenancy model, or anything another team will read. Its principal scales with every consumer that couples to it and every row written in the wrong shape, and you cannot repay it alone, because repayment needs everyone else's roadmap. Borrow inside, never at the edges. When you have to cut a corner at a boundary, make the interface right and the implementation cheap. A correct schema backed by a naive implementation is the best-value shortcut in software.
Q1
Is the shortcut at a boundary others will depend on — public API, event schema, persisted format, tenancy or identity model?
Do not borrow on the contract. Principal scales with every consumer and every row written, and you cannot repay it unilaterally. Get the interface right; cut corners only behind it.
↓ no
Q2
Is the code likely to be deleted within ~12 months (experiment, one-off migration, product bet with a kill date)?
Borrow freely. Expected interest = P(survives) × rate × life; for doomed code it rounds to zero.
↓ no
Q3
Are you unable to name a repayment trigger (a condition, not a date) and a team, not a person, that owns it?
Do not borrow. Without a trigger you are not borrowing, you are defaulting in advance.
↓ no
Q4
Is what you learn or win by shipping earlier worth more than the interest you will pay until that trigger fires?
Borrow, on terms: owner, trigger, a covenant against new dependents, and the debt sealed behind a seam.
↓ no
Otherwise: do it properly. The shortcut buys nothing you need and its interest has no end date.
A deliberate loan has terms, and teams usually write down only the first. The terms are an owner, which should be a team because people move. A repayment trigger stated as a condition rather than a date: "before the second market", "before tenant 50", "before this data leaves the region". Dates get slipped without anyone noticing, while conditions correspond to the moment the interest actually jumps. Then a covenant that stops the debt spreading while it is outstanding: no new consumers of the shortcut, enforced by a lint rule, a CODEOWNERS entry or a schema-registry check, not by goodwill. Finally, the record, which is the ADR that Writing That Drives Decisions covers, linked from the code where the next engineer will actually see it.
Documented loans still default. The composite below is a pattern, not a single company. A payments company launched with a single-currency ledger to hit a six-week window, which was a defensible call. They wrote an ADR and set a trigger. Then the author moved teams, three services started reading the amount column directly, and when the second market arrived nobody reopened the ADR. The loan was called by an audit finding, not by a plan.
Every step was reasonable and the original decision was documented. What failed was that the trigger was a sentence in a document rather than a check that fires, and that nobody stopped new readers of the column from coupling to the shortcut while it was outstanding.
Two lessons generalise. Triggers have to be executable: a check in the launch checklist for a new market, a test that fails when tenant count passes a threshold, or a calendar event owned by a team rather than a person. And the covenant, no new dependents, was the term that mattered most, because it was what turned a three-week fix into a two-quarter migration.
The deeper reason debt stays invisible is that unpriced items lose every prioritisation. A roadmap item arrives with revenue, a customer name and a date. A ticket titled "refactor order model" arrives with none of those, so it loses on every rational comparison, and engineers learn to smuggle the work into feature estimates, which destroys the estimates. The fix is a short debt register where every entry is priced in whichever unit fits its instrument. Code and structural debt go in engineering hours per quarter and lead-time spread. Decay goes in days to a hard external date. Latent risk goes in expected annual loss, probability times impact, with the probability stated even when it is a guess. Knowledge debt is keyed to named people and their likely tenure.
Item
Kind
Interest
Principal
Business-visible cost
Call trigger
Order model shared by 4 services
structural
~110 h/q · rising
6 eng-wks
4 quarterly roadmap items touch it
next schema change to orders
Checkout module, no contract tests
local
~60 h/q · +2 d lead time
3 eng-wks
p90 lead time 9 d vs 4 d elsewhere
pay with next checkout feature
Runtime one major behind, EOL in 7 mo
decay
~5 h/q until EOL
5 eng-wks now
after EOL: unpatched CVEs, audit exception
hard deadline: EOL − 60 d
Restores never tested for ledger DB
latent risk
0 until it is not
2 eng-wks
illustrative: 5%/yr × 2 d outage
cap before next SOC 2 window
Batch billing: one engineer knows it
knowledge
0 until they leave
1 eng-wk
month-end close at risk
now: owner has given notice
Five rows, not two hundred. The register holds only items someone is prepared to price; everything else stays in the code as TODO and is repaid in passing or never. Note that the two riskiest rows have zero measured interest, which is exactly why an hours-based backlog never schedules them.
A priced register creates its own failure mode within about two cycles: once prices win funding, prices inflate. Teams learn that "120 h/q" gets a project and "30 h/q" does not, and the estimates drift upward accordingly. The countermeasure is the one finance uses on capital projects: a post-repayment review. Every funded item states, before work starts, the observable it will move (review rounds in the directory, p90 lead time, incident count, deploy rollback rate) and by how much. Two quarters after completion someone other than the proposer checks. Teams whose claimed savings keep failing to show up get their next estimate discounted, openly. You will find that realised savings run well below claims on most items and far above them on a few, usually the structural ones, which is itself useful information about where to aim next.
The register also has to hold the covenants as live checks, not text. Each outstanding loan should point at the rule that stops it spreading: a CODEOWNERS entry on the shortcut, a lint that fails on new imports of the deprecated module, an allow-list of consumers in the schema registry. The simplest leading indicator of a loan going bad is the count of dependents on the shortcut rising while the entry is open. If that count moves, the loan is being refinanced at a worse rate without anyone deciding to.
Pitfall · the two-hundred-row backlog
The test is a present-value comparison. Repay if principal < Σ interest over the expected remaining life, discounted. Teams leave out the discount rate, and it is what makes the right answer depend on the stage of the company. An engineering hour spent now does not cost the same as an hour next year. At a company tripling revenue annually, today's hour competes with work that compounds growth. At a flat, mature business it competes with much less.
Illustrative numbers, over eight quarters. A 240-hour fix that saves 120 hours a quarter is worth roughly 960 hours undiscounted. At a steep startup hurdle rate of 30% a quarter (roughly 185% a year) it is worth about 350, and at a mature 5% about 775. It pays everywhere. The same fix saving 30 hours a quarter breaks even undiscounted, is worth roughly 195 hours at 5%, and is worth under 90 at 30%. At a hyper-growth company that second item should not be repaid. At a mature one it is marginal. Engineers moving from a large company to a startup often bring the mature company's hurdle rate with them and spend a year repaying debt that the company should have left alone. People moving the other way make the opposite mistake. Multiply the life term by the probability the code survives, and also by the probability the product does.
interest saved
0% / q
no discount
5% / q
mature, flat
15% / q
growing
30% / q
hyper-growth
30 h/q
0
PV 240
-46
PV 194
-105
PV 135
-152
PV 88
60 h/q
+240
PV 480
+148
PV 388
+29
PV 269
-65
PV 175
120 h/q
+720
PV 960
+536
PV 776
+298
PV 538
+111
PV 351
Net = present value of interest avoided minus the 240-hour principal. The 60 h/q item is a clear yes at a mature company and roughly a coin-flip at a hyper-growth one. Survival probability multiplies straight through: a 50% chance the code is deleted within the window turns the 120 h/q row into the 60 h/q row.
Where does a quarterly hurdle rate come from in practice? Not from a finance textbook. The honest proxy is the return on the best feature work the same engineers would otherwise do. If the next roadmap item is expected to move a metric that the company values at, say, three times the engineering cost within a year, that is your opportunity cost, and debt repayment has to beat it. A company that cannot articulate that return for its roadmap has a low effective hurdle rate whether it admits it or not, and repayment should win more often there. The second input is horizon. Eight quarters is generous for a seed-stage company with eighteen months of runway, where any saving after month eighteen is contingent on raising again; it is conservative for a platform that will run for a decade. Shorten the window and the grid moves one column to the right.
Just fix it, in flow
High interest · low principal. Pay it with the next feature that touches the area; no ticket, no negotiation.
e.g. contract tests around checkout
Fund it as a project
High interest · high principal. Write a business case with payback and a finish line; staff it to completion or do not start.
e.g. split the shared order model
Leave it
Low interest · low principal. Fix it if you are already there. Scheduling this is where engineering-quality budgets quietly go to waste.
e.g. ugly but frozen admin screen
Ring-fence and write off
Low interest · high principal. Seal it behind an interface, stop new dependencies, and let it die with the product. Most 'we should rewrite X' lives here.
e.g. stable legacy report generator
The matrix leaves out latent risk and decay on purpose. Latent risk is compared on expected loss against the cost of capping exposure, and capping is usually far cheaper than repayment. You delete the dead code path rather than refactor it, and you test one restore rather than rebuild the backup system. Decay is not optional, and it does not sit in a quadrant: it has a date. The only choice is whether you repay it early at list price or late at the premium a deadline charges, and the premium is steep, because deadline migrations happen during freezes, with contractors, and under audit exceptions. When Red Hat announced in December 2020 that CentOS 8's end of life was moving from 2029 to the end of 2021, every team carrying that decay learned that someone else sets the rate on this instrument.
Decay has one more property the calendar framing hides: its principal grows with version distance, and superlinearly. One major upgrade done in cadence is a bounded job with good tooling. Three majors at once is not three of those jobs. You have skipped the releases whose deprecation warnings told you what to change, the vendor's migration guides and codemods assume adjacent versions, and your transitive dependencies have dropped support for where you are, so the runtime jump drags a dependency-tree migration with it. Then add the deadline premium, since jumps usually happen because an EOL or a CVE forced them.
The superlinearity is mechanical, not moral. Skipping a major skips the release whose deprecation warnings told you what to change, the vendor's codemods target adjacent versions only, and the transitive dependencies you need have dropped support for your starting point, so the jump drags a dependency-tree migration along with it.
The model in the diagram is illustrative, but the shape is what matters for policy. With it, a team four majors behind faces roughly 640 hours under a deadline versus 160 spent in cadence over the same period: four times the cost for the privilege of deferring. That is why the right unit for decay is not "is it EOL yet?" but majors behind current, tracked per service, with a threshold, usually N−1 supported, N−2 on notice, beyond which the platform team stops absorbing the cost. Some teams use "libyears" (summed age of each dependency behind its latest release) as the aggregate. It is crude, but it trends in the right direction and it is computable from a lockfile in CI, which beats a better metric nobody computes.
Latent risk needs a different picture again, because two items with the same expected loss can demand opposite decisions. Price each item on two axes: annual probability and impact per event. Expected loss, the product, is the right ranking below the impact the company can absorb. Above that line it is the wrong tool entirely.
Below the ruin line, rank by expected loss against the cost of capping. Above it, expected value is the wrong tool: a 1%-a-year event that ends the company is not "worth $500k a year", because you only get to play once. The top item is the Knight Capital shape.
Work one row. Ledger restores that have never been tested: say a 5% annual chance you need one, and if it fails, two days of degraded operation plus manual reconstruction at an illustrative $400k. Expected loss is $20k a year. Capping it, which here means one scripted restore into a scratch environment, run quarterly and alerted on, is about two engineer-weeks, which at a fully loaded rate of the order of $150 an hour (illustrative) is roughly $12k once and a few hours a quarter after that. Payback under a year, so it is funded, but it is not urgent against a feature with a clear return. The dead order path is different in kind. A 1% annual probability looks negligible until you note the impact sits above the ruin line. No expected-value argument licenses carrying it, and the cap, deleting the code and the flag, is usually cheaper than the meeting about it. The rule of thumb: below the ruin line, rank by expected loss per hour of capping; above it, cap first and argue afterwards.
Architect's note · repay with the feature
The common policy is to reserve a fixed share of capacity, 15 to 30 percent, for "engineering health". It fails in three predictable ways. It gets spent on what the team finds annoying rather than what is expensive, which means the low-interest, low-principal quadrant, since that is where irritation is felt and projects are small. It spreads across too many items, so the big ones never finish, and half-finished repayment is worse than none (see 2.7). And it is the first thing cut when a deadline lands, because it has no named beneficiary. A budget with no price attached cannot defend itself.
The second structural failure is externality. The team that takes a shortcut at a boundary is rarely the team that pays for it. In the composite below, one team publishes an event that embeds its raw table row. Its own cost is zero and repaying costs it three weeks. Four consuming teams each pay a small, ongoing tax, too small for any of them to escalate. Summed, the interest is large. Team-level prioritisation cannot see it, and that is why boundary debt is the category that most needs staff-plus attention. Getting teams you do not manage to take on that repayment is the craft covered in Leading Without Authority.
Team-local prioritisation is structurally incapable of repaying this: the borrower sees a three-week cost and no benefit, each payer sees a nuisance too small to escalate. Only someone who sees the sum across the consumers — a staff engineer, an architecture forum, a platform owner — can price it correctly.
The fix for an externality is accounting, not exhortation. Book the interest where the principal lives: each consuming team logs its cost against the producer's register entry, so the entry reads "~3 eng-weeks to fix, ~70 h/q paid by four other teams" (illustrative) rather than "0 h/q". Once the sum is on the borrower's ledger, the item wins its own prioritisation in about two quarters of payback and nobody has to argue from principle. If the producer still will not fund it, the alternative is to move the principal: a platform or staff-led team does the repayment and the producer accepts the new contract. What does not work is asking each consumer to escalate, because none of them individually crosses the threshold.
The 20% budget has a second, quieter defect: it arrives fragmented. One day a week per engineer is a lot of hours in aggregate and almost no contiguous time, while structural repayment needs a few people holding the whole boundary in their heads for several weeks. Fragmented capacity self-selects for the small items, which is how the budget ends up in the low-value quadrant even when the team knows better. If you keep an allocation, allocate it as whole people for whole quarters on named items, and let local debt be paid in flow.
What replaces the flat tax depends on scale. Below roughly 30 engineers, debt is tacit and most people feel the same interest. A register is overhead, so repay in the path of features and police the boundaries. From around 30 to a few hundred, you need the priced register, hotspot data, a quarterly review alongside the roadmap, and funded projects for the high-interest, high-principal quadrant with a finish line and a named owner. Beyond a few hundred, decay dominates: dozens of services on different runtime versions and dependency trees. At that point the only mechanism that works is a central deprecation policy with teeth, published support windows, automated upgrade PRs, and a date after which the platform stops supporting the old version. Decay is a commons problem. Each team rationally defers, and the last team on the old runtime keeps the build images, CI runners, security exceptions and on-call expertise for it alive for everyone.
Where the conventional advice is wrong
Context · regulated environments
Not every debt should be repaid. The options are the same as in finance. You can write it off: ring-fence the code, forbid new dependents, and let it retire with the product, which is the right call for most low-interest, high-principal legacy. You can restructure: repay incrementally by routing traffic to a new implementation and deleting the old one piece by piece. Or you can declare bankruptcy and rewrite. The mistake that costs the most in practice is a restructuring that gets abandoned partway.
During a migration every change must be reasoned about in both worlds, every incident responder must know both, and every new hire learns both. A migration abandoned at 70% is almost always worse than never starting: you have spent the principal and raised the interest rate.
While both paths are live, interest on the area is higher than before you started. Every change is reasoned about twice, incident responders must know both, and new hires learn both. If reprioritisation stops the migration at 70%, you have spent most of the principal and raised the rate permanently. Organisations accumulate these over time: three generations of deploy tooling, two auth libraries, and a message bus that exists only for the last four consumers. Migrations stall at 70% for a structural reason, not a motivational one. The easy consumers move first and generate visible progress, while the value is almost entirely realised at deletion, when the second code path, its on-call knowledge and its build and CI surface disappear. Progress measured as "percent of traffic migrated" therefore rises fastest exactly when the benefit is still near zero, and it gives a planning meeting a convincing reason to declare victory. Track percent of old code deleted instead. It stays embarrassingly flat until the end, which is the honest picture. Hence the rule: do not start a restructuring you cannot staff to deletion. Scope it so the old path's deletion is the definition of done, put the deletion date in the plan, and treat the final 20%, the awkward consumers, as the real project rather than cleanup.
A rewrite is the right call less often than engineers want and more often than Joel Spolsky's well-known essay on Netscape suggests. It is justified when the debt is in the model rather than the code, meaning the core domain assumptions are wrong in a way incremental change cannot fix. It is also justified when the platform is dead and nothing can be carried forward, and when you can run old and new side by side against the same inputs with an automatic comparison, so parity is measured rather than argued about. GitHub's open-source Scientist library, built for rewriting its permissions code, is the canonical shape: the old path stays authoritative, the new one runs as a candidate, and every mismatch is recorded. Without that comparison a rewrite chases a moving target. The old system keeps shipping features, the new one keeps falling behind, and the finish line recedes at the speed of the roadmap. Freeze features on the old system or budget for the chase explicitly. There is no third option. Deciding to build nothing at all, which is often the better write-off, is covered in Knowing What Not to Build.
Put arithmetic on the chase, because it is what decides between "freeze" and "budget". Suppose (illustratively) the rewrite team can close 10% of the functional gap per month, and the old system's team ships new behaviour equal to 3% of the original scope per month. The net closing rate is 7% a month, so the finish line sits about fourteen months out, not ten, and every month the old team ships more, the rewrite team also inherits one more thing to port. If the old system's feature rate is 8%, the rewrite closes at 2% a month and will not finish on any horizon a business will fund. The decision criterion is therefore explicit: rewrite only if its closing rate is at least twice the old system's feature rate, or you freeze the old system. Staffing the rewrite by taking engineers from the old team helps on both sides of the inequality at once, which is why that is the usual shape of the ones that finish.
write off
ring-fence · no new dependents
restructure
staff it to deletion
rewrite
only with a parity oracle
cap
for latent risk: delete, test, isolate
Questions to ask in a design review
Where next