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.
I tried to make Claude Code run a review before its code leaves the laptop. The first hook watched the wrong thing, the second one broke twice in production, and what is left checks the files themselves at push.