In-house teams negotiate time for refactoring informally. With an external pod working against a sprint-based scope, that informal channel does not exist. Every sprint is planned against client priorities, and work that no stakeholder asked for tends to disappear. The result is a codebase that slows down a little each quarter, until the client concludes that the external team has become less productive. The answer is a technical debt budget: a fixed, agreed share of sprint capacity, governed through a visible debt register and reported like any other deliverable.
The size of the problem
Technical debt is expensive at every scale. McKinsey reports that CIOs estimate technical debt at 20 to 40 percent of the value of their entire technology estate before depreciation, that companies pay an additional 10 to 20 percent on top of project costs to address it, and that 30 percent of surveyed CIOs believe more than 20 percent of their budget for new products is diverted to resolving it. At the team level, Stripe's Developer Coefficient study from 2018 estimated that developers spend more than 17 hours a week on maintenance and infrastructure issues.
The risk is shifting with AI-assisted coding. Google's DORA 2024 report associated higher AI adoption with an estimated 7.2 percent reduction in delivery stability. More code produced faster can mean more code to maintain, unless review and refactoring keep pace. Interestingly, Atlassian's State of Developer Experience Report 2025 found that technical debt dropped out of developers' top five friction points, overtaken by organisational issues. That does not mean debt has gone away. It means it is easier to overlook.
Why external delivery needs an explicit budget
Three structural reasons make debt management harder with an external team:
- Scope is defined by the client. A pod working under a Leistungsbeschreibung builds what is specified. Unrequested refactoring can look like scope creep or padding.
- Incentives point to visible output. Sprint reviews reward demonstrable features. Refactoring rarely demos well.
- Ownership is long-term on one side only. The client will live with the code for years. Without an explicit mechanism, nobody on the vendor side is accountable for its health beyond the current increment.
An explicit budget resolves all three. It is part of the agreed scope, it is reported like features, and it makes the client's long-term interest a standing item in every sprint.
The debt register
Start with a register, kept in the client's ticketing system with a dedicated label. Each entry records:
| Field | Purpose |
|---|---|
| Description and location | What the debt is and where in the codebase it sits |
| Origin | Deliberate shortcut, outdated dependency, missing tests, design that no longer fits, inherited code |
| Interest | How it hurts today: slower changes, incidents, security exposure, onboarding cost |
| Principal | Estimated effort to resolve, in story points or person-days |
| Risk if ignored | Low, medium, high, with a one-line reason |
| Decision | Fix now, schedule, accept and monitor, or retire with the component |
Any engineer, on either side, may add an entry. Only the client's product owner and architect, advised by the pod's Senior Consultant, decide on priority.
Inherited debt at the start of an engagement
A pod that takes over an existing codebase inherits its debt. Make that visible in the first two sprints with a short baseline assessment: dependency ages, test coverage by module, build and deployment times, known incident hotspots. The findings seed the register and give both sides a reference point. Without a baseline, every later slowdown risks being attributed to the new team, and every improvement is hard to prove.
Allocation rules
We recommend agreeing a default share of sprint capacity at the start of the engagement, typically in the range of 10 to 20 percent, adjusted to the age and condition of the codebase. This is a planning convention, not a benchmark. Four rules keep it disciplined:
- Budget is planned, not borrowed. Debt items are selected at sprint planning from the register, with the same Definition of Ready as features.
- Unused budget does not roll over silently. If a sprint uses less, the reason is recorded. If the budget is cut for a release, the cut is a documented client decision.
- New deliberate shortcuts are registered at the time. If the client accepts a faster solution under deadline pressure, the pod adds the resulting debt to the register the same day.
- High-risk items bypass the budget. Security vulnerabilities above an agreed severity are handled as defects, not as debt.
Making debt work acceptable
Under a Werkvertrag with sprint-based Abnahme, debt items need acceptance criteria just like features. That is easier than it sounds. Typical criteria are measurable: a dependency upgraded to a supported version with all tests passing, test coverage on a module raised to an agreed level, a deprecated interface removed with no remaining callers, build time reduced below a threshold. Written this way, debt reduction becomes a verifiable deliverable rather than an act of faith.
Metrics to report each quarter
- Number of open register entries, by risk level, and trend over the quarter.
- Share of sprint capacity spent on debt versus the agreed budget.
- Age of the oldest high-risk entry.
- Delivery stability indicators such as change failure rate and time to restore, to show whether debt work is paying off.
- Number of supported versus end-of-life dependencies.
These numbers give the CTO a basis for decisions and make the conversation with finance concrete: debt has a principal, an interest and a repayment plan.
Warning signs
- The budget is cut in three consecutive sprints "for this release only".
- The register grows while no high-risk items close.
- Velocity on comparable features declines quarter on quarter.
- The pod starts estimating simple changes higher, citing "complexity".
The remarks on contracts and acceptance in this article are general information, not legal advice.
Technical debt is not a sign of a poor team. Unmanaged debt is a sign of a missing mechanism. In a niogod™ pod, the Senior Consultant maintains the debt register with your architect, and debt items are planned, accepted and reported within the sprint structure like any other part of the Leistungsbeschreibung. If you expect your codebase to support the business for years, this budget belongs in the contract from the start.
Talk to niogod™
Planning engineering capacity in DACH? Book a 30-minute consultation with the niogod™ team.
Book consultation