Code RoomAI boundaries in payments service
HardPrep Room Coding #4246

AI boundaries in payments service

Vibe & agenticAlgorithms & data structuresSenior–Staff~25 min

Your team owns a payments service in Go: an HTTP API layer, a core ledger/double-entry module, a fraud-scoring service, a pile of glue (CSV importers, internal admin tooling), and the test suite. Engineering leadership wants a one-page policy declaring which parts of THIS codebase AI agents may write freely, which require a human author with AI as assistant, and which are off-limits to agent generation entirely. Draw those lines for these five areas and defend the boundary you'd be most criticized for.

Implement
assign_ai_authoring_policy(blast_radius: list[int], trust_boundary: list[bool], machine_checkable: list[bool]) → list[str]
Examples
in[[4,5,3,1,1],[true,false,false,false,false],[true,true,true,true,false]]out["human_authored_ai_assist","agent_draft_gated_by_checks","agent_draft_gated_by_checks","agent_free_rein","agent_free_rein"]
in[[5],[false],[false]]out["human_authored_ai_assist"]
in[[2],[true],[true]]out["human_authored_ai_assist"]
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.

0:00 of about 25 min

Vibe & agentic: describe the solution in plain language (or narrate it) and the coach grades your approach.

Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.