From Dev.to
Refactor with a local model, and review it as a diff
AI refactors are fast and confidently wrong in small ways. The fix isn't to stop using them. It's to make "did the behaviour change?" something you can see, then read the diff like a reviewer. Here's...
