A shell command the agent wants to run could be useful or destructive. How would you decide?

Instruction: Explain how you would judge whether to allow a risky command.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Explain how you would judge whether to allow a risky command.

Updated

Official answer available

Read the opening below, then unlock the full answer and practical guidance.

I'd inspect the command's effects in its actual environment: executable, arguments, working directory, credentials, network access, and files it can change...

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions