You will always be able to ask the agent to do refactors for you - and it can do mega ones that exhaust you to think about!

Two problems: I will not get my pleasure, and I will still not know how the code works.

Agentic refactoring is very questionable if you want to maintain quality, as it will rewrite all your code to be more average.

Or you can do it yourself. Use AI as a prototyping tool or for boring throw away tasks. There's no reason everyone has to succumb to vibe coding.