How to make AI generated code production safe?
I have been using AI coding agents for few months now and many times, it is hard to trust the code written by AI.
Like once, I was in a situation where AI-generated code assumed certain global variables and it failed in prod once multiple processes started running.
How much of “AI failing in production” do you think comes down to bad or missing context?