Commit 8cc74f9
committed
fix(claude-code): make claude-unsafe fully bypass permission prompts
Consolidates the redundant claude-bypass/claude-danger aliases into one claude-unsafe (--dangerously-skip-permissions is documented as equivalent to --permission-mode bypassPermissions). That flag alone still honors permissions.nix's explicit ask list (git push, sudo, curl, etc.), so it wasn't actually a no-prompt escape hatch. Add an explicit --settings override with an empty ask array - CLI-arg precedence replaces that array outright - so the alias truly skips all prompts, while deny rules (rm -rf / circuit breaker) still merge across every settings layer and keep applying.1 parent 56f9c92 commit 8cc74f9
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
0 commit comments