Migrating a legacy codebase of any reasonable complexity has always been challenging, but AI tools have fundamentally changed the economics of the process. Generating code is now cheap and fast, but we still need confidence that the generated code is as good as, or better than, code we'd write ourselves.