Rewriting old code with AI: a script that checks every answer
We moved a working prototype to a new language with Claude Code writing most of the code. What kept it honest was a script that asked the old and the new system the same questions and failed the work when one answer was different.