Code RoomAgent repo access scope
HardPrep Room Coding #4181

Agent repo access scope

Vibe & agenticSecuritySenior–Staff~20 min

Your org wants to roll out an autonomous coding agent across all repos. To be 'helpful', the proposed setup gives the agent read access to every private repo (so it has full context), the ability to open PRs, and a tool that lets it run arbitrary shell commands in CI to test its changes. Several repos hold customer-data pipelines and signing keys. As the engineer reviewing this rollout, what risks do you raise and what scoping would you require?

Implement
review_agent_grants(grant_requests: list[str]) → list[str]
Examples
in[["billing|internal|read","keys-vault|secrets|read","payments|customer_data|shell"]]out["allow","deny","deny"]
in[["www|public|open_pr","www|public|self_merge","etl|customer_data|read"]]out["allow_with_review","deny","allow_in_vpc"]
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 20 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.