Start sessions with --dangerously-skip-permissions #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "session/test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sessions started by
sessions-ctlnow runclaude --dangerously-skip-permissions, so an unattended session no longer stops at every tool approval.Changes
claude_args()adds the flag to both first launch and--resume; the unit test asserts it for both.skipDangerousModePermissionPrompt: truein~/.claude/settings.jsonsuppresses it (already set on the dev box). As a fallback,status/listnow report it inneeds_attention, like the folder-trust prompt. The text was taken from the installed claude binary (2.1.285).Tests:
dev/tests20 OK,web/tests7 OK.Deployed ahead of merge:
dev/install.shwas already run from this branch on the dev box. Re-running it frommainbefore this merges would revert the flag. Running sessions pick it up on their next restart.🤖 Generated with Claude Code
https://claude.ai/code/session_01CyWXJ3BVzrZ9VWk5c2CoAr