I think Claude Code had the perfect solution to this. You don't simply autocomplete, you tell it what to do and it looks through the code and proposes a plan. If you know your stuff, you should know whether the plan is any good.
It also walks you through changes one by one and lets you approve them. It beats the typical PR process via github because you go through it in logical order - why this code is here, etc.