On the one hand, this is kinda perfect task for something like Claude Code, provided you have the guardrails in place via a checklist it can follow.
And this refactoring needed to be done for a LONG time, but I was never going to be able to get the mental energy to do it myself because of the sheer size of the component and how complex and interconnected all the state was. Especially given everything else I need to do during the day.