Technical Debt Repayment Cadence: Enforcing Continuous Engineering Maintenance
Technical Debt Repayment Cadence
Technical debt must be repaid continuously rather than deferred indefinitely.
The project adopts the following minimum repayment cadence:
For every five completed build tickets, at least one technical debt item must be moved to
fixed.
This rule is evaluated over a rolling window of completed build tickets.
Definitions
Build Ticket
A build ticket is a completed ticket whose primary purpose is to add, extend or materially change production capability.
Build tickets normally include:
- New features;
- New packages or services;
- New integrations;
- Material capability extensions;
- Production architecture changes that enable new behaviour.
The following do not normally count as build tickets:
- Documentation-only tickets;
- Administrative tickets;
- Audit-only tickets;
- Investigation spikes;
- Ticket-writing activities;
- Technical debt tickets;
- Defect fixes that do not introduce new capability.
Technical Debt Closure
A technical debt item counts towards the cadence only when:
- The item already exists in the authoritative ledger;
- Its status is changed to
fixed; - The resolution is recorded;
- Verification evidence is recorded;
- The resolving ticket is identified;
- The change materially removes the registered debt.
Changing an item to rejected, known-issue or planned does not count as debt closure.
Registering new debt does not count as debt closure.
Closing a ticket without setting and verifying the corresponding ledger item as fixed does not count as debt closure.
Enforcement
After every completed build ticket, the project should review the number of build tickets completed since the most recent qualifying debt closure.
No more than five build tickets may be completed without at least one qualifying technical debt item being fixed.
The debt item may be resolved:
- As a dedicated technical debt ticket;
- Within a build ticket, when explicitly included in scope;
- As part of a refactoring or hardening ticket.
The ledger, rather than ticket labels or titles, determines whether the repayment requirement has been satisfied.
Selection of Debt
The repayment cadence does not require selection of the easiest available item.
Debt should be prioritised using:
- Priority;
- Behavioural risk;
- Accumulated interest;
- Relevance to upcoming work;
- Architectural impact;
- Cost of continued deferral.
Repeatedly closing trivial low-impact items while high-risk debt continues to accumulate does not satisfy the intent of this rule.
Where practical, the selected item should be relevant to the area affected by the recent build tickets.
Exceptions
An exception may be made when:
- Urgent security work is required;
- A production incident requires immediate remediation;
- A regulatory or contractual deadline takes precedence;
- No registered debt item can be safely resolved within the current architectural sequence;
- Debt resolution is temporarily blocked by an explicit dependency.
An exception must:
- Be recorded in the relevant ticket;
- Identify the reason;
- State how many build tickets are being exempted;
- Identify when the missed debt repayment will be recovered;
- Be reflected in the ledger notes where relevant.
Exceptions defer the repayment obligation; they do not permanently remove it.
Recovery
When the five-build-ticket limit is reached without a qualifying debt closure:
- The next eligible engineering ticket must address registered technical debt;
- Further non-exempt build tickets should not be started;
- The selected debt item must be resolved and verified before the build cadence resumes.
Cadence Reporting
The technical debt handling agent should report:
- Build tickets completed since the last qualifying debt closure;
- The most recently fixed debt item;
- Whether the project is currently within cadence;
- Whether repayment is due before another build ticket;
- Any active exception and its recovery requirement.
Example:
Technical debt cadence: 4 of 5 build tickets completed
Last qualifying debt closure: TD-0012 under LOS-53
Current state: within cadence
Required action: one debt item must be fixed before completion of the second subsequent build ticket
Purpose of the Cadence
The cadence exists to ensure that:
- Technical debt is repaid continuously;
- New capability does not indefinitely displace maintenance;
- The ledger produces engineering action rather than passive documentation;
- Architectural risk is reduced alongside feature development;
- Debt repayment becomes part of normal delivery rather than exceptional cleanup.