Code Room
Vibe codingMediumvc-g218
Subject Ai risk judgmentLevel Mid–Senior~16 minCommon in Algorithms & data structures interviewsIndustries Software development, IT services

Question

Support engineers keep hitting a bug only reproducible with a specific customer's account state. One proposes a slick workflow: when a ticket is stuck, export the customer's full record (settings, message history, transaction list) into an AI agent and ask it to write a repro script and suggest a fix. It would massively speed up support. As tech lead, how do you respond, and what would a safe version look like?

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.