Parent umbrella issue: #408
Source audit: Weekly tech debt audit: dispatch - 2026-06-17
Source audit date: 2026-06-17
Original recommendation
P2 — Migrate the hardcoded Lane = "normal" | "escalated" | "backlog" literals in issue-reconciliation.ts, issue-lane.ts, and types/index.ts:VALID_LANES to use the new lane-config.ts helpers.
Matched top finding
src/lib/lane-config.ts was added in PR #391 as the foundation for configurable lanes, but a grep -RIn "lane-config" src/ shows that only its own test file imports from it. The hardcoded "normal" | "escalated" | "backlog" literals in src/lib/issue-reconciliation.ts:14, src/lib/issue-lane.ts:8, and src/types/index.ts:VALID_LANES are unchanged. This means the new module is dead code until #383 ("refactor: replace hardcoded lane constants with lane helpers") lands.
Evidence:
Parent umbrella issue: #408
Source audit: Weekly tech debt audit: dispatch - 2026-06-17
Source audit date: 2026-06-17
Original recommendation
P2 — Migrate the hardcoded
Lane = "normal" | "escalated" | "backlog"literals inissue-reconciliation.ts,issue-lane.ts, andtypes/index.ts:VALID_LANESto use the newlane-config.tshelpers.Matched top finding
src/lib/lane-config.tswas added in PR #391 as the foundation for configurable lanes, but agrep -RIn "lane-config" src/shows that only its own test file imports from it. The hardcoded"normal" | "escalated" | "backlog"literals insrc/lib/issue-reconciliation.ts:14,src/lib/issue-lane.ts:8, andsrc/types/index.ts:VALID_LANESare unchanged. This means the new module is dead code until #383 ("refactor: replace hardcoded lane constants with lane helpers") lands.Evidence:
grep -RIn "lane-config" src/lib/ src/app/ 2>/dev/nullreturns onlysrc/lib/lane-config.test.ts:12.src/lib/issue-reconciliation.ts:14andsrc/lib/issue-lane.ts:8still use the inline union type.