feat: Created --dangerously-skip-permissions to skip permissions checks for tool invocations

2026-07-08 15:16:37 -06:00
parent eddf5dfb64
commit ae3d46f5ef
2 changed files with 9 additions and 3 deletions
+8 -2
@@ -202,7 +202,10 @@ open_link https://www.google.com
## guard_operation
Prompt for permission to run an operation.
Can be disabled by setting the environment variable `AUTO_CONFIRM`.
Can be disabled by setting the environment variable `AUTO_CONFIRM` to any non-empty value,
or by starting Coyote with `--dangerously-skip-permissions` (which sets `AUTO_CONFIRM=true`
for the entire session, including all spawned tools and agents). Use the flag with care!
It disables *every* `guard_*` prompt for the invocation.
**Example:**
```bash
@@ -213,7 +216,10 @@ _run_sql
## guard_path
Prompt for permission to perform path operations.
Can be disabled by setting the environment variable `AUTO_CONFIRM`.
Can be disabled by setting the environment variable `AUTO_CONFIRM` to any non-empty value,
or by starting Coyote with `--dangerously-skip-permissions` (which sets `AUTO_CONFIRM=true`
for the entire session, including all spawned tools and agents). Use the flag with care!
It disables *every* `guard_*` prompt for the invocation.
**Example:***
```bash
+1 -1
@@ -114,5 +114,5 @@ can also pass the `--disable-log-colors` flag as well.
# Miscellaneous Variables
| Environment Variable | Description | Default Value |
|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
| `AUTO_CONFIRM` | Bypass all `guard_*` checks in the bash prompt helpers; useful for agent composition and routing | |
| `AUTO_CONFIRM` | Bypass all `guard_*` checks in the bash prompt helpers; useful for agent composition and routing. Can also be enabled for a single invocation by passing `--dangerously-skip-permissions` (Coyote sets `AUTO_CONFIRM=true` for the process and all spawned tools/agents). | |
| `LLM_TOOL_DATA_FILE` | Set automatically by Coyote on Windows. Points to a temporary file containing the JSON tool call data. <br>Tool scripts (`run-tool.sh`, `run-agent.sh`, etc.) read from this file instead of command-line args <br>to avoid JSON escaping issues when data passes through `cmd.exe` → bash. **Not intended to be set by users.** | |