Question
You need to add a CSV export feature to an internal admin tool in Java: query the data, stream it to a file, upload to S3, and email the user a signed link. A colleague plans to give an AI agent the whole thing as one prompt and merge whatever it returns. Propose how you'd instead decompose this for the agent so that trust is verifiable at each step — and identify which single sub-task you'd refuse to let it fully own.
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.