When can AI do refactors that encompass multiple files or an entire project?
1. use a temp file as a reference for the entire refactor
2. make it plan the entire thing, tell it to use a high level and low level checklists, tell it to take notes for itself, and tell it to use the temp file as a scratchpad for taking notes and storing code blocks.
3. tell it to do small incremental changes, and do bottoms up approach.
Since that's already a huge speed up, I'm sure many of these agents can do the same.