Markdown Editor

Technical Debt Register Template (Cost of Delay, DORA, AI Code Debt)

Debt register with Fowler quadrant, AI-generated code debt, interest and cost-of-delay method, priority score, fitness function and DORA instability links, budget, cadence

ArchitectureFullDORA metrics guide (2026); Fowler debt quadrantCC BY 4.0techdebtregistermath

How to use: Use it to record, price and pay down technical debt for a product or team. Agree the interest estimation method and the capacity budget first, then link each entry to a fitness function or delivery metric. The main pitfall is a register without a repayment budget or evidence, which becomes a list nobody acts on.

Preview

Technical Debt Register: [Product, system or team]

Register for recording, prioritising and paying down technical debt: a shared taxonomy (Martin Fowler's technical debt quadrant plus location categories, including debt from AI-generated code), a method for estimating interest and cost of delay, the register itself with a risk-weighted priority score, links to architecture fitness functions and to the DORA instability metrics (change fail rate and deployment rework rate, as defined in the DORA metrics guide at dora.dev, updated January 2026), the triage process, the capacity budget for repayment, the review cadence and reporting. Based on common engineering practice. Replace every [bracketed] value and every row marked Example.

Document control

FieldValue
Document ID[TDR-PRODUCT]
Version[1.0]
Status[Draft / Active / Under review]
Owner[@tech-lead]
Approvers/reviewers[@engineering-manager], [@architect], [@product-manager]
Last updatedYYYY-MM-DD
Classification[Internal]
Scope[Systems, repositories or services covered]
Contributors[Teams]
Review cadence[e.g. Every two weeks in backlog refinement; quarterly summary] (section 8)
Last reviewedYYYY-MM-DD
Payoff horizon HHExample: 12 months
Related[Architecture description], [Fitness functions catalogue], [Risk register], [Delivery performance report]

Approvals

RoleNameDecisionDate
Engineering manager (budget)[@name][Approve / Approve with conditions / Reject]YYYY-MM-DD
Architect (taxonomy, links to fitness functions)[@name][Decision]YYYY-MM-DD
Product manager (capacity share)[@name][Decision]YYYY-MM-DD

Revision history

VersionDateAuthorChange summary
0.1YYYY-MM-DD[@name]First draft
1.0YYYY-MM-DD[@name]Example: Approved with a 20% capacity share
2.02026-10-24[@name]Updated to full weight: document control, AI-generated code debt category, interest and cost-of-delay method, links to fitness functions and DORA instability metrics, review cadence

Contents

1. Purpose and definitions

Technical debt is any design or implementation choice that makes future change slower, riskier or more expensive than it needs to be, compared with a reasonable alternative. Defects with user-visible impact go to the bug tracker; missing features go to the product backlog. A debt entry may reference either when they are a symptom.

The register exists to make debt visible, comparable and funded. It supports three decisions: what to repay next, what to accept knowingly, and whether the team's overall debt load is rising or falling.

TermMeaning in this register
PrincipalEffort to remove the debt, in engineer-hours
InterestRecurring extra cost the debt causes, in engineer-hours per month (slower changes, incidents, manual work, workarounds), estimated with section 3.4
Cost of delayExtra cost of fixing later rather than now, including interest and any step increase at a deadline such as an end-of-support date
Risk factorMultiplier from 1 to 3 for security, compliance or outage exposure not captured by interest
Payoff horizonPeriod over which interest is counted when prioritising; Example: 12 months

2. Debt taxonomy

2.1 Technical debt quadrant

Martin Fowler's quadrant classifies debt by intent (deliberate or inadvertent) and by judgement (prudent or reckless). The descriptions below are written for this template.

DeliberateInadvertent
RecklessThe team knowingly skipped good practice with no plan to repay; example: no tests to hit a demo date and no follow-up ticketThe team did not know a better practice existed; example: hand-built SQL strings because nobody knew about parameterised queries
PrudentThe team chose a shortcut consciously, recorded it and planned repayment; example: single-region launch with a ticket to add a second region before scale-upThe team learned later what the design should have been; example: the domain model only became clear after a year in production

Use the quadrant in retrospectives: reckless entries point to process or skills gaps; prudent-inadvertent entries are a normal result of learning.

2.2 Categories

CodeCategoryTypical examples
ARCArchitectureTight coupling between services, shared database, missing boundaries
CODCodeDuplication, very large classes, dead code, poor naming
TSTTestMissing or flaky tests, slow suites, no contract tests
INFInfrastructureManual provisioning, unpatched base images, snowflake servers
DEPDependenciesEnd-of-life frameworks, unmaintained libraries, pinned old versions
DOCDocumentationMissing runbooks, outdated diagrams, undocumented APIs
SECSecurityHard-coded secrets, weak crypto, missing audit logging
DATDataUnclear ownership, missing constraints, inconsistent schemas
PIPDelivery pipelineManual release steps, slow or flaky pipelines, missing rollback
AIGAI-generated codeAssistant-written code merged without full understanding, tests or review (section 2.3)

2.3 AI-generated code debt

DORA's State of AI-assisted Software Development 2025 describes AI as an amplifier of an organisation's existing strengths and weaknesses. In debt terms, a team with weak tests, reviews or architecture boundaries will accumulate debt faster when assistants increase the volume of change. Record AIG debt when you see these patterns:

PatternSignalTypical repayment
Duplicated logicSimilar functions generated in several places instead of reusing a shared moduleExtract and reuse; add a duplication check to CI
Untested generated codeCoverage drops in files with large assistant-written changesAdd behaviour tests before further change
Unverified dependenciesPackages added by suggestion without intake review, including names that do not exist or are typo variantsApply the dependency intake process; pin and review
Inconsistent patternsSeveral error handling or logging styles in one serviceAgree one pattern, document it, refactor
Unowned codeNobody on the team can explain how a generated component worksPair review and document; rewrite where needed
Prompt-shaped designArchitecture decisions made implicitly by generated scaffoldingWrite an ADR and align the code to it

Controls that slow AIG accumulation: require the author to understand and be able to explain every line they submit, keep pull requests small, apply the same review and test gates to generated code, and track the share of AIG entries in the quarterly report (section 6).

3. Register

3.1 Priority score

Priority compares the interest paid over the payoff horizon with the cost of fixing, adjusted for risk:

P=R×I×HCP = R \times \frac{I \times H}{C}

where II is interest in engineer-hours per month (section 3.4), HH is the payoff horizon in months, CC is principal in engineer-hours and RR is the risk factor (1 to 3). P>1P > 1 means fixing the item is expected to pay back within the horizon. Rank by PP, then by due dates imposed by compliance or end-of-life events.

Example for TD-001 with H=12H = 12: P=1.5×16×1280=1.5×2.4=3.6P = 1.5 \times \frac{16 \times 12}{80} = 1.5 \times 2.4 = 3.6.

Risk factor RRUse when
1.0No security, compliance or availability exposure beyond the interest
1.5Contributes to failed deployments, incidents or a fitness function breach
2.0End-of-support component, or a known path to a security or data issue
3.0Exploitable vulnerability, regulatory non-conformity or credential exposure

3.2 Register table

IDDescriptionLocationQuadrant / categoryImpactSignalsInterest II (h/month)Principal CC (h)RRPriority PPOwnerStatus
TD-001Example: Order and invoice services share one database schema; every schema change needs both teamsorders-db, services order-svc, invoice-svcPrudent-inadvertent / ARCReleases blocked twice a monthFF-02 failing; CFR 15% on order-svc16801.53.6[@team-orders]In progress
TD-002Example: Reporting module duplicates tax calculation logicreporting/tax.pyReckless-inadvertent / CODDivergent totals found twice a yearNone automated41201.00.4[@team-finance]Accepted (not now)
TD-003Example: Payment SDK version reaches end of support in 5 monthspayments/Prudent-deliberate / DEPNo security patches after end of supportFF-04 will fail at end of support10402.06.0[@team-payments]Planned for sprint 42
TD-004Example: Database password in a deployment scriptdeploy/legacy.shReckless-deliberate / SECCredential exposureSecret scanner finding2163.04.5[@platform]Open
TD-005Example: Input validation generated separately in six API handlers, with three different behavioursapi/handlers/Reckless-inadvertent / AIGFixes must be applied six times; one handler missed a fixRework deployments for validation bugs6301.53.6[@team-api]Planned
[TD-nnn][What and why it hurts][Path, service, component][Quadrant / code][Effect][FF-nn, CFR, rework, alerts][h][h][1-3][P][@name][Open / Planned / In progress / Accepted / Closed]

Arithmetic check for the examples: TD-002 =1.0×48/120=0.4= 1.0 \times 48 / 120 = 0.4; TD-003 =2.0×120/40=6.0= 2.0 \times 120 / 40 = 6.0; TD-004 =3.0×24/16=4.5= 3.0 \times 24 / 16 = 4.5; TD-005 =1.5×72/30=3.6= 1.5 \times 72 / 30 = 3.6.

3.3 Status definitions

StatusMeaning
OpenRecorded and estimated, not yet triaged
PlannedAccepted for repayment in a named iteration or quarter
In progressWork has started; link the ticket
AcceptedConsciously left in place; review date set; reason recorded
ClosedRepaid or the affected code was retired; date and evidence recorded

3.4 Interest and cost-of-delay estimation

Estimate interest II as the sum of four monthly components, each in engineer-hours:

ComponentHow to estimateData source
Change frictionExtra hours per change caused by the debt multiplied by changes per month in the affected areaPull requests touching the area; ask two engineers for extra time per change and take the midpoint
Failure costIncidents, failed deployments and rework deployments per month linked to the debt multiplied by average hours spent on eachIncident records, change fail rate and deployment rework rate (section 7)
ToilManual steps or workarounds per month multiplied by their durationRunbooks, on-call logs
CoordinationExtra meetings or cross-team approvals caused by the debtCalendar sample or team estimate

Example for TD-001 (shared database): change friction 3 h per change x 4 changes per month = 12 h; failure cost 2 failed deployments per month (6 in Q1, section 7.2) x 2 h = 4 h; toil 0 h; coordination 0 h (already counted in change friction). I=12+4+0+0=16I = 12 + 4 + 0 + 0 = 16 h per month, matching the register.

Example for TD-005 (AI-generated duplication): change friction 1.5 h per change x 4 changes per month = 6 h; failure cost and toil not yet measured, so recorded as 0 with a note. I=6I = 6 h per month.

Cost of delay with a deadline. When a date changes the cost step wise, such as an end-of-support date, a contract renewal or a regulatory application date, add the step to the comparison instead of relying on PP alone. Cost of delay over the horizon is:

CoD=I×H+S\mathrm{CoD} = I \times H + S

where SS is the expected extra cost if the deadline passes before repayment. Example for TD-003: I×H=10×12=120I \times H = 10 \times 12 = 120 h; after end of support the team would need emergency patching and an unplanned migration under time pressure, estimated at S=60S = 60 h, so CoD=120+60=180\mathrm{CoD} = 120 + 60 = 180 h against a principal of 40 h. The item is planned regardless of PP because the deadline falls inside the horizon (section 4 triggers).

Sequencing by cost of delay divided by duration. When several items compete for the same people, divide cost of delay by the time the fix takes (in weeks) and do the highest ratio first. Example: TD-003 with CoD 180 h and duration 1 week scores 180; TD-001 with CoD 16×12=19216 \times 12 = 192 h and duration 3 weeks scores 64; so TD-003 goes first even though TD-001 has the larger total cost of delay.

Record a confidence level (High, Medium, Low) beside each estimate in the ticket. Items with Low confidence and PP near 1 are measured for one more cycle before a decision.

4. Triage process

  1. Capture. Anyone adds an entry with a description, location and rough impact. Shortcuts taken deliberately during delivery are logged in the same pull request that introduces them.
  2. Estimate. The owning team estimates interest (section 3.4) and principal at the next refinement session. Use ranges when unsure and record the midpoint.
  3. Score. Compute PP and set the risk factor. Security and compliance items with R=3R = 3 are escalated to [@security-lead].
  4. Link. Add the fitness function, delivery metric or alert that shows the debt (section 7), or record that none exists yet.
  5. Decide. At the review, each item becomes Planned, Accepted with a review date, or is merged with another entry.
  6. Verify. When closed, record the evidence (merged change, metric improvement, removed component, fitness function now passing).
TriggerAction
New item with R=3R = 3Review within 5 working days
Item with P≥3P \geq 3 open for more than one quarterEscalate to engineering manager
End-of-life date within 6 monthsPlan regardless of PP
Fitness function failing for two consecutive reviewsCreate or update a debt entry and set R≥1.5R \geq 1.5
Change fail rate or rework rate for a service above its target for a quarterReview debt entries for that service at the next review

5. Budget allocation

ItemValue
Capacity share for debt repaymentExample: 20% of each iteration's planned capacity
Capacity this quarterExample: 6 engineers x 60 days x 6 h x 20% = 432 engineer-hours
Allocation ruleExample: Highest PP first; at least one item with R≥2R \geq 2 per iteration
ExceptionsExample: Budget may be lent to a release for at most one iteration and is repaid in the next
Approver for changes[@engineering-manager]

Planned use this quarter: [list the items and hours]. Example: TD-003 (40 h), TD-004 (16 h), TD-001 (80 h) and TD-005 (30 h), a total of 166 h, leaving 432 - 166 = 266 h for items raised during the quarter.

When debt grows faster than the budget repays it for two quarters in a row (items added exceed items closed and total interest rises), the engineering manager proposes a higher share or a dedicated repayment iteration to the product owner, with the cost-of-delay figures from section 3.4 as evidence.

6. Reporting

MetricDefinitionLast quarterThis quarterTrend
Open itemsCount of Open, Planned and In progressExample: 3429Improving
Total monthly interestSum of II over open items142 h118 hImproving
Items added / closedNew entries versus closures9 / 67 / 12Improving
Budget usedHours spent on repayment / hours allocated380 / 432410 / 432Stable
High-risk items openCount with R=3R = 331Improving
AIG shareAIG items / all open items2 / 344 / 29Worsening
Fitness functions failingCount of failing functions linked to open debt42Improving
[Metric][Definition][ ][ ][ ]

Narrative: [Two or three sentences for leadership on the effect of repayment.] Example: Splitting the shared order database (TD-001) removed the most frequent release blocker; lead time for order changes dropped from 6 to 3 days and the change fail rate for order-svc fell from 15% to 4.4% (section 7.2). AI-generated duplication is a growing share of new debt, so the team added a duplication check to CI.

7. Links to fitness functions and delivery metrics

7.1 Fitness functions

Architecture fitness functions are automated or manual checks that measure how well the system meets an architectural characteristic. Use the Architecture Fitness Functions Catalogue (architecture/fitness-functions) as the source of IDs and thresholds.

Fitness functionCharacteristicDebt it detectsLinked entries
FF-02 (Example)Modularity: no cycles between modulesCoupling and shared schemasTD-001
FF-04 (Example)Security: no dependency with a known critical vulnerability or past its end-of-support dateEnd-of-support and vulnerable dependenciesTD-003
FF-07 (Example)Deployability: lead time from merge to productionManual release steps, slow pipelines[TD-nnn]
[FF-nn][Characteristic][Debt type][TD-nnn]

Rules: a new fitness function that fails on day one creates debt entries for each violation rather than a waiver; a waiver in the fitness functions catalogue must reference the debt entry that will remove it.

7.2 DORA instability metrics

The DORA metrics guide (dora.dev, page updated 2026-01-05) groups five software delivery metrics into throughput (change lead time, deployment frequency, failed deployment recovery time) and instability (change fail rate, deployment rework rate). Debt usually shows up first in the instability metrics. Definitions are paraphrased here; use the measurement method in the Delivery Performance Report (dev/delivery-performance-report) so numbers are consistent.

MetricParaphrased definitionFormula used here
Change fail rateShare of deployments that need immediate intervention afterwards, typically a rollback or hotfixDeployments needing immediate intervention / total deployments
Deployment rework rateShare of deployments that were not planned and happened because of an incident in productionUnplanned deployments caused by production incidents / total deployments

Example for order-svc, before and after repaying TD-001:

QuarterDeploymentsNeeding immediate interventionChange fail rateUnplanned, incident-drivenDeployment rework rate
Before (Q1)4066 / 40 = 15.0%55 / 40 = 12.5%
After (Q3)4522 / 45 = 4.4%22 / 45 = 4.4%

Read the metrics at service level and as trends. One quarter of data from a small number of deployments is a signal to investigate, not proof. Never set a debt team's individual targets on these metrics; they describe the delivery system, not people.

8. Review cadence and governance

ForumCadence (Example)ParticipantsInputsDecisions
Backlog refinementEvery 2 weeksOwning team, tech leadNew entries, estimate updatesEstimates, risk factors, Planned items for the next iteration
Architecture reviewMonthlyArchitect, tech leadsFailing fitness functions, ARC and AIG entriesCross-team debt, ADRs for repayment design
Quarterly debt reviewQuarterlyEngineering manager, product manager, tech leadsSection 6 report, DORA instability metrics, DevEx survey themesBudget share, escalations, Accepted items to revisit
Annual resetYearlyEngineering directorRegister trends, engineering strategyPayoff horizon, risk factor scale, taxonomy changes

Governance rules:

  1. Every open entry has a named owner and a status; entries without an owner after one review are assigned by the tech lead.
  2. Accepted entries carry a review date no more than [two] quarters ahead and the reason for acceptance.
  3. Changes to the method in section 3 or the budget in section 5 are recorded in the revision history with the approver.
  4. Debt raised in postmortems (dev/postmortem) is entered within 5 working days of the postmortem review, with the incident ID.
  5. The register is visible to everyone in engineering and product.

9. Glossary and references

TermMeaning in this register
Principal (CC)Effort to remove the debt, in engineer-hours
Interest (II)Recurring monthly cost of keeping the debt, in engineer-hours
Cost of delay (CoD)Interest over the horizon plus any deadline step cost SS
Priority (PP)Risk-weighted ratio of interest over the horizon to principal
Fitness functionCheck that measures an architectural characteristic objectively
Change fail rateDORA instability metric: share of deployments needing immediate intervention
Deployment rework rateDORA instability metric: share of deployments that are unplanned and caused by a production incident
AIG debtDebt mainly caused by AI-generated code accepted without adequate understanding, tests or review

References:

  • Martin Fowler, "Technical Debt Quadrant", martinfowler.com, 14 October 2009: https://martinfowler.com/bliki/TechnicalDebtQuadrant.html
  • DORA, "DORA's software delivery performance metrics" guide (updated 2026-01-05), CC BY 4.0: https://dora.dev/guides/dora-metrics/
  • DORA, State of AI-assisted Software Development 2025: https://dora.dev/research/2025/dora-report/
  • N. Ford, R. Parsons, P. Kua, Building Evolutionary Architectures (O'Reilly), for the fitness function concept (inspiration only).
  • D. Reinertsen, The Principles of Product Development Flow, for the cost of delay concept (inspiration only).
  • Related templates: Architecture Fitness Functions Catalogue (architecture/fitness-functions), Delivery Performance Report (dev/delivery-performance-report), Developer Experience Survey (dev/developer-experience-survey), Engineering Strategy (dev/engineering-strategy), CI/CD Pipeline Design (dev/ci-cd-pipeline-design).

Standard and licence note

Based on common engineering practice for technical debt management. The technical debt quadrant is a concept by Martin Fowler ("Technical Debt Quadrant", martinfowler.com, 2009), described here in original words. The DORA metric names and definitions are paraphrased from the DORA metrics guide at dora.dev, content licensed by Google LLC under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); the amplifier finding is cited from the DORA State of AI-assisted Software Development 2025. Fitness functions and cost of delay are cited as concepts from the books listed in section 9; no text from them is reproduced. Check the current DORA definitions at dora.dev before relying on this register, as the guide is updated periodically. Original text written for this collection; examples are illustrative. Template licence: MIT.

Related templates