isn’t this just like one of the few problems that is completely solvable today with LLM coding agents?

Ideally, a codemod would fix this, but the two module systems are incompatible for dynamic programming reasons.

right, those transformations are a little too tricky for a codemod, but definitely still mechanical enough for LLMs to chug through is my guess.