That's true, although inconvenient for production code that needs to be delivered yesterday.
Sadly, agents don't mind generating gigatons of code instead of refactoring the abstractions.