Code Room
Vibe codingHardvc-g584
Subject Ai decompositionLevel Senior–Staff~22 minCommon in Security interviewsIndustries Software development, IT services

Question

Your service needs to add OAuth2 'sign in with provider X' plus session management to a Go backend, and you want an AI agent to build most of it. How do you decompose the work, which parts do you keep versus delegate, and where do human checkpoints belong before this touches production?

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.