Why?
Are people actually using AI to do programmatic refactors over million line codebases directly? That is far more insane.
Using AI to write ruff rules or clang-tidy rules with fixes is literally the same thing and obviously best practice over running AI in a pre-commit hook to do those checks and refactors...