>Now, since it's impossible to code review the tens of thousands of lines of code that AI produces

I would simply not ask the AI to write me more code until I'm satisfied with the code it's already written! But it is true there's more of an opportunity to let the thing rip if you can give the harness the ability to meaningfully verify its own work.