evaluate_command_safety
Determine if a terminal command can run autonomously, needs human approval, or is destructive and must be denied. Returns a clear safety policy for agent execution.
Instructions
Evaluates terminal/shell command safety for autonomous agents. Determines whether a command is destructive, requires human approval, or can execute autonomously using Noul, Score, and Choice certainty calibration. Returns policy: ALLOW_AUTONOMOUS, REQUIRE_HUMAN_APPROVAL, or DENY_DESTRUCTIVE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Terminal command string to evaluate. | |
| timeout | No | HTTP request timeout in seconds (default: 30.0). | |
| working_dir | No | Working directory for execution context (optional). | |
| bypass_cache | No | Bypass deterministic cache lookup. | |
| elevated_privileges | No | Whether execution uses sudo or administrative privileges (optional, default: false). |