Code Room
Vibe codingHardvc-g070
Subject Ai tool orchestrationLevel Senior–Staff~20 minCommon in Algorithms & data structures interviewsIndustries Software development, Technology

Question

Your team wants to wire AI into the everyday pull-request workflow for a TypeScript product: one tool drafts implementation from a ticket, another reviews diffs, another generates tests. A teammate proposes chaining them so the test-generator and reviewer both run on the implementer's output with no human in between, auto-merging if all three 'agree'. Critique this orchestration and propose where the human gates actually belong.

What a strong answer looks like

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.

Describe your solution

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.

Run or narrate your approach, then ask the coach.