Not nearly all the code. Maybe 5% - the important code. To keep things sane, explore new areas, get a deeper understanding of the system, delete/simplify agent slop, improve test coverage, or make some other foundational change.
Feels like we’re bending over backwards to avoid just doing this. But it seems for me, at least, the way to have the highest leverage on an agent heavy project, it’s fulfilling, it helps the agent, and it keeps me in flow.