There's a complaint I see constantly from developers:

"AI wrote the code but I spent hours debugging it."

I've been using AI heavily in my own projects. And honestly — I don't relate to this experience. Not because the AI I use is magical, but because I've noticed the bugs almost always trace back to one of two things. Neither of them is the AI.

Problem 1 — The Implementation Plan

When I give an AI agent a vague instruction, I get vague code back. That's not a bug. That's math.