Dude, the agent didn't 'confess' anything. It doesn't understand anything, it's just fancy autocomplete. It's a math function we've armed with tools.
Yes that can be very useful, and can speed you up a lot. But someone must check the output.
If you let it operate on a prod system and it messed up, it's on you.