llms are great at medium-sized refactors. also there are exponential returns in time and cost to improving the 'traversability', or 'grokability' of your codebase FOR an llm. so I find the returns to doing medium-sized refactors early and often to be high.