Code Room
Vibe codingMediumvc-g586
Subject Ai decompositionLevel Mid–Senior~18 minCommon in Reliability & on-call interviewsIndustries Software development, Technology

Question

You're adding structured logging, metrics, and distributed tracing to an existing Python microservice and want an AI agent to do most of the instrumentation. How do you break this into pieces for the agent, what do you keep versus delegate, and where do you put human checkpoints?

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.