Trying something out: told an AI to help with a refactor, but not write any code for me. Instead, it should prompt me for each place I'll need to update, and check my work. (I told it not to write code snippets for me to copy and paste either.)
I'm hoping this'll solve the thing I hate most about refactors (worrying about missing something, holding the holistic list of changes in my head), but make sure I fully internalise all the changes to the codebase.