Question
Over a quarter, agents have filled out a service where each feature lives in its own module — and each module is fine, but they leak: business logic seeps into HTTP controllers, the DB schema is queried directly from three layers, and there's no clear domain boundary anymore because no single agent run ever 'owned' the architecture. The system works and ships. As the staff engineer, how do you reassert clean abstraction boundaries across a largely machine-written codebase, and what do you change about HOW you delegate so the boundaries hold next quarter?
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.