I can totally see doing this incrementally, but this seems extremely risky to do for the entire codebase in one shot on anything in production. Especially if you don’t have really thoughtful e2e tests of the whole system.
The AGENTS.md also orders the agents to create relevant tests with each added code, so the tests are already present to catch regressions. The benchmarks themselves also serve as de facto tests since they'll typically break if the refactor is done incorrectly.
The AGENTS.md also orders the agents to create relevant tests with each added code, so the tests are already present to catch regressions. The benchmarks themselves also serve as de facto tests since they'll typically break if the refactor is done incorrectly.