Technical Debt Agile | Sprint Allocation & Paydown
Balance feature development with debt repayment in agile teams. GitScrum tracks debt inventory, priority scoring, and 15-20% sprint capacity allocation.
7 min read
Technical debt is inevitable - letting it grow out of control isn't. GitScrum helps teams track, prioritize, and pay down technical debt systematically while maintaining delivery momentum.
Understanding Technical Debt
Types of Debt
TECHNICAL DEBT CATEGORIES:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β DELIBERATE DEBT (Tactical choices): β
β "We know this isn't ideal, but we're shipping" β
β β’ Shortcuts for deadline β
β β’ MVP decisions β
β β’ Temporary solutions β
β Risk: Low if tracked and planned for β
β β
β ACCIDENTAL DEBT (Learning gaps): β
β "We didn't know better at the time" β
β β’ Outdated patterns β
β β’ Poor early decisions β
β β’ Better approach discovered later β
β Risk: Medium, accumulates silently β
β β
β BIT ROT (Entropy): β
β "The world changed, our code didn't" β
β β’ Outdated dependencies β
β β’ Legacy integrations β
β β’ Deprecated APIs β
β Risk: High if security-related β
β β
β CRUFT (Accumulated mess): β
β "It just grew over time" β
β β’ Dead code β
β β’ Duplicated code β
β β’ Inconsistent patterns β
β Risk: Medium, slows development β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Debt Symptoms
SIGNS OF TECHNICAL DEBT:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β DEVELOPER EXPERIENCE: β
β β’ "Simple changes take forever" β
β β’ "I'm afraid to touch that code" β
β β’ "We need to work around this" β
β β’ "Nobody knows how this works" β
β β’ "Tests are flaky/slow/missing" β
β β
β VELOCITY IMPACT: β
β β’ Features take longer than expected β
β β’ Bugs appear in unrelated areas β
β β’ Onboarding takes too long β
β β’ Same problems keep recurring β
β β
β QUALITY IMPACT: β
β β’ High bug rates in certain areas β
β β’ Difficult to test β
β β’ Incidents from aging infrastructure β
β β’ Security vulnerabilities β
β β
β DEBT INTEREST: β
β Like financial debt, tech debt compounds: β
β β
β Year 1: Feature takes 1 week β
β Year 2: Feature takes 2 weeks (debt) β
β Year 3: Feature takes 3 weeks (more debt) β
β β
β Eventually: "It would be faster to rewrite" β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Debt Management
Making Debt Visible
DEBT INVENTORY:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Technical Debt Backlog β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ID β Description β Area β Impact β Effort β
ββββββββΌββββββββββββββββββββββββΌββββββββββΌβββββββββΌβββββββββ
β TD-1 β Auth system on β Auth β High β Large β
β β deprecated library β β β β
ββββββββΌββββββββββββββββββββββββΌββββββββββΌβββββββββΌβββββββββ
β TD-2 β No tests for payment β Payment β High β Medium β
β β module β β β β
ββββββββΌββββββββββββββββββββββββΌββββββββββΌβββββββββΌβββββββββ
β TD-3 β Duplicated user β Users β Medium β Small β
β β validation logic β β β β
ββββββββΌββββββββββββββββββββββββΌββββββββββΌβββββββββΌβββββββββ
β TD-4 β Hardcoded config β Global β Low β Small β
β β values β β β β
ββββββββΌββββββββββββββββββββββββΌββββββββββΌβββββββββΌβββββββββ
β TD-5 β N+1 queries in β Reports β Medium β Medium β
β β reporting β β β β
β β
β DEBT SCORING: β
β Impact Γ Frequency of Area Change = Priority β
β β
β TD-2 scores highest: β
β High impact + Payment area changes frequently β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Capacity Allocation
SPRINT CAPACITY SPLIT:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β RECOMMENDED ALLOCATION: β
β β
β [ββββββββββββββββββββββββββββββ] 100% β
β β β β β
β β Features 65-70% β Debt β Bugs β
β β β 15-20% β 10-15% β
β β
β EXAMPLE - 40 POINT SPRINT: β
β β
β Features: 28 points (70%) β
β Tech Debt: 6 points (15%) β
β Bugs/Maint: 6 points (15%) β
β β
β WHEN TO ADJUST: β
β β
β MORE DEBT WORK (25-30%): β
β β’ Before major feature development in affected area β
β β’ When velocity is noticeably declining β
β β’ When security debt is high β
β β
β LESS DEBT WORK (10%): β
β β’ During critical deadline pushes β
β β’ When debt level is manageable β
β β’ Temporary - should return to normal β
β β
β NEVER 0% DEBT: β
β Debt compounds if ignored completely β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Prioritization
Impact-Based Priority
DEBT PRIORITIZATION MATRIX:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β HIGH CHANGE + HIGH IMPACT = Priority 1 (Fix Now) β
β β’ Areas we work in frequently β
β β’ Significant slowdown or risk β
β β
β LOW CHANGE + HIGH IMPACT = Priority 2 (Plan Soon) β
β β’ Critical but stable areas β
β β’ Security concerns β
β β
β HIGH CHANGE + LOW IMPACT = Priority 3 (Opportunistic) β
β β’ Fix when working in area β
β β’ Scout rule applies β
β β
β LOW CHANGE + LOW IMPACT = Priority 4 (Accept or Ignore) β
β β’ May never need fixing β
β β’ Cost to fix > benefit β
β β
β β HIGH CHANGE β LOW CHANGE β
β βββββββββββββββΌββββββββββββββββββΌβββββββββββββββββ β
β HIGH IMPACT β 1: FIX NOW β 2: PLAN SOON β
β βββββββββββββββΌββββββββββββββββββΌβββββββββββββββββ β
β LOW IMPACT β 3: OPPORTUNISTICβ 4: ACCEPT β
β β
β EXAMPLE: β
β Payment module (high change, high impact) β Priority 1 β
β Legacy report (low change, low impact) β Priority 4 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Paydown Strategies
DEBT REDUCTION APPROACHES:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β SCOUT RULE: β
β "Leave code better than you found it" β
β β’ Small improvements with each change β
β β’ No dedicated time needed β
β β’ Prevents debt growth β
β β
β CONTINUOUS PAYDOWN: β
β β’ Regular allocation each sprint (15-20%) β
β β’ Consistent progress β
β β’ Team maintains skills in debt areas β
β β
β DEBT SPRINT: β
β β’ Periodic sprint focused on debt β
β β’ Usually quarterly β
β β’ Tackles larger items β
β β
β REWRITE (Last Resort): β
β β’ When debt exceeds value β
β β’ Requires careful planning β
β β’ Higher risk approach β
β β
β RECOMMENDED MIX: β
β β’ Scout rule: Always β
β β’ Continuous: 15-20% per sprint β
β β’ Debt sprint: 1 per quarter β
β β’ Rewrite: When truly necessary β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Tracking Progress
Debt Metrics
DEBT TRACKING DASHBOARD:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β DEBT INVENTORY: β
β Total items: 23 β
β High priority: 5 β
β Estimated effort: 180 points β
β β
β SPRINT PROGRESS: β
β Items resolved this sprint: 3 β
β Items added this sprint: 2 β
β Net change: -1 (improving!) β
β β
β TREND (6 months): β
β Itemsβ β
β 30β β²β² β
β 25β β²β²β² β
β 20β β²β²β²β² β
β 15β β²β²β² β
β 10β β
β ββββββββββββββββββββββββββββββββββββββββββ β
β Jan Feb Mar Apr May Jun β
β β
β VELOCITY CORRELATION: β
β β’ Debt decreased 30% over 6 months β
β β’ Average velocity increased 15% β
β β
β TIME SPENT: β
β β’ Avg 18% of capacity on debt (target: 15-20%) β
β β’ ROI: Every 1 pt debt work = 0.8 pts future velocity β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ