From ae3d46f5ef1a0c9aa29e90bcf840d1f3b1c97ac5 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Wed, 8 Jul 2026 15:16:37 -0600 Subject: [PATCH] feat: Created --dangerously-skip-permissions to skip permissions checks for tool invocations --- Bash-Prompt-Helpers.md | 10 ++++++++-- Environment-Variables.md | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Bash-Prompt-Helpers.md b/Bash-Prompt-Helpers.md index 900ee99..d94f1bd 100644 --- a/Bash-Prompt-Helpers.md +++ b/Bash-Prompt-Helpers.md @@ -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 diff --git a/Environment-Variables.md b/Environment-Variables.md index b5b71ef..4de4f90 100644 --- a/Environment-Variables.md +++ b/Environment-Variables.md @@ -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.
Tool scripts (`run-tool.sh`, `run-agent.sh`, etc.) read from this file instead of command-line args
to avoid JSON escaping issues when data passes through `cmd.exe` → bash. **Not intended to be set by users.** | |