Code Room
Vibe codingHardvc-g590
Subject Ai judgment limitsLevel Senior–Staff~22 minCommon in Networking & APIs interviewsIndustries Telecom, Software development

Question

Your team maintains firmware-adjacent C++ that frames and parses a binary telecom protocol over a serial link — length-prefixed messages, CRC, and strict byte alignment. A colleague suggests having an AI agent rewrite the parser to be cleaner. When would you NOT lean on the agent here, and what failure modes make it the wrong tool for the load-bearing parts?

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.