An AI agent rarely fails in the middle of a task.
It fails in the first thirty seconds, before it writes anything, because it starts working without the decisions your team already made.
Here is how that looks in practice.
You ask your agent to add pagination to an API endpoint. It writes clean, plausible code. Offset-based, new helper function, tidy tests.
Three problems:






