back out bypassPermissions: claude refuses it under root uid

claude-code rejects --dangerously-skip-permissions / defaultMode=
bypassPermissions when running as root, which all hyperhive
containers do. revert to the previous explicit allow-list plumbing
(per-flavor list spliced into permissions.allow + --tools enable
list), keep TodoWrite out of the built-in allow set, and keep the
deny list (TodoWrite, WebFetch, WebSearch, Task) as belt-and-braces
in case anything sneaks past the allow gate.
This commit is contained in:
müde 2026-05-16 15:58:41 +02:00
parent 36c7f3d1c7
commit 7ec658851a
3 changed files with 82 additions and 27 deletions

View file

@ -1,9 +1,5 @@
{
"autoCompactEnabled": false,
"autoMemoryEnabled": false,
"effortLevel": "medium",
"permissions": {
"defaultMode": "bypassPermissions",
"deny": ["WebFetch", "WebSearch", "Task", "TodoWrite"]
}
"effortLevel": "medium"
}