Code Room
Vibe codingMediumvc-g369
Subject Ai tool selectionLevel Mid–Senior~14 minCommon in Algorithms & data structures interviewsIndustries Software development

Question

Your team has 40 TypeScript files using a deprecated `logger.warn(msg, meta)` signature that needs to become `logger.warn({ msg, meta })`. A colleague kicks off an autonomous coding agent and tells it to 'migrate all logger calls across the repo,' then watches it churn for 20 minutes, re-reading files and second-guessing edits. Would you have reached for an autonomous agent here? Lay out how you'd actually approach this and why.

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.