AI Didn't Replace the Architecture Decisions — It Eliminated the Tax
typescript
dev.to
Last month I refactored a legacy NestJS service layer — 47 files, 15,000 lines of code tangled with circular dependencies, god services, and business logic buried inside controllers. The old me would have blocked out 3+ hours, put on headphones, and ground through it file by file. Instead, I finished in 20 minutes. Not because AI wrote the code for me — but because it eliminated the tax I used to pay just to execute decisions I'd already made. Here's the workflow, the real before/after code, a