Instruction: Describe how you would let a coding agent run commands safely.
Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Describe how you would let a coding agent run commands safely.
Official answer available
Preview the opening of the answer, then unlock the full walkthrough.
I would classify commands by risk and allow them through different paths. Read-only inspection commands are lower risk than build commands, which are lower risk than destructive or networked commands. That classification should shape what the agent may run automatically.
I...
easy
easy
easy
easy
easy
easy