Question
An AI agent is migrating a payments service from a synchronous charge flow to an idempotent, queue-based one in Java. The agent can produce a lot of correct-looking code fast. Decide where in this multi-step migration a human MUST review before the agent proceeds, and where you can let it run autonomously. Justify each gate by what's at stake if the agent is wrong there.
Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.
Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.