Writing code used to take enough time that prioritization was unavoidable. You had a deadline, users needed something, and the refactor would have to wait. You shipped with some tech debt because delivering value mattered more than getting everything exactly right.
AI makes it easier to revisit those compromises. You can reorganize a module, replace an awkward helper, and build that dev tool. Work that used to need a convincing justification now seems small enough to just do.
I think this is a trap we’re going to fall into. We can spend the productivity gains on cleanup and emerge with a nicer codebase, delivering roughly the same value at roughly the same pace. Each cleanup might seem reasonable while taking time away from something users need more.
That includes work that helps the team. Tests can catch costly failures, maintenance can reduce operational risk, and tooling can remove a recurring bottleneck. We still need to compare those benefits with the other work waiting to be done.
We need to get into the habit of reprioritizing when AI saves us time. If a feature takes three days instead of five, look at the backlog again before spending the other two days. Fixing something that keeps slowing us down might be the best use of that time. So might shipping the next feature. We need to make that choice instead of automatically filling the time with cleanup.