From f7e417b3df92e189155a0093d0322fbb35f4f35a Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 1 Mar 2026 14:20:38 -0500 Subject: [PATCH] fix(mma-exec): add --dangerously-skip-permissions for headless file writes Tier 3 workers need to read/write files in headless mode. Without this flag, all file tool calls are blocked waiting for interactive permission. Co-Authored-By: Claude Sonnet 4.6 --- scripts/claude_mma_exec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/claude_mma_exec.py b/scripts/claude_mma_exec.py index 6528aa2..9a786ed 100644 --- a/scripts/claude_mma_exec.py +++ b/scripts/claude_mma_exec.py @@ -191,7 +191,7 @@ def execute_agent(role: str, prompt: str, docs: list[str]) -> str: ps_command = ( "if (Test-Path 'C:\\projects\\misc\\setup_claude.ps1') " "{ . 'C:\\projects\\misc\\setup_claude.ps1' }; " - f"claude --model {model} --print" + f"claude --model {model} --print --dangerously-skip-permissions" ) cmd = ['powershell.exe', '-NoProfile', '-Command', ps_command] try: