Broaden Claude Code permissions to reduce approval prompts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-20 16:44:26 +00:00
parent dd4fa1f851
commit 4e3428f591

View File

@@ -1,6 +1,7 @@
{ {
"permissions": { "permissions": {
"allow": [ "allow": [
"Bash(STORYKIT_PORT=*)",
"Bash(cargo build:*)", "Bash(cargo build:*)",
"Bash(cargo check:*)", "Bash(cargo check:*)",
"Bash(cargo clippy:*)", "Bash(cargo clippy:*)",
@@ -10,22 +11,16 @@
"Bash(cargo watch:*)", "Bash(cargo watch:*)",
"Bash(claude:*)", "Bash(claude:*)",
"Bash(curl:*)", "Bash(curl:*)",
"Bash(git -C:*)", "Bash(cd *)",
"Bash(git add:*)", "Bash(git *)",
"Bash(git branch:*)", "Bash(kill *)",
"Bash(git checkout:*)", "Bash(lsof *)",
"Bash(git commit:*)",
"Bash(git merge:*)",
"Bash(git mv:*)",
"Bash(git push:*)",
"Bash(git rm:*)",
"Bash(git stash:*)",
"Bash(git stash pop:*)",
"Bash(git stash push:*)",
"Bash(git status:*)",
"Bash(git worktree *)",
"Bash(ls:*)", "Bash(ls:*)",
"Bash(lsof:*)", "Bash(mkdir *)",
"Bash(mv *)",
"Bash(ps *)",
"Bash(pwd *)",
"Bash(rm *)",
"Bash(npm run build:*)", "Bash(npm run build:*)",
"Bash(npx @biomejs/biome check:*)", "Bash(npx @biomejs/biome check:*)",
"Bash(npx @playwright/test test:*)", "Bash(npx @playwright/test test:*)",
@@ -37,10 +32,12 @@
"Bash(pnpm build:*)", "Bash(pnpm build:*)",
"Bash(pnpm install:*)", "Bash(pnpm install:*)",
"Bash(pnpm run build:*)", "Bash(pnpm run build:*)",
"Bash(pnpm run test:coverage:*)", "Bash(pnpm run test:*)",
"Bash(pnpm test:*)", "Bash(pnpm test:*)",
"Bash(printf:*)", "Bash(printf:*)",
"Bash(python3:*)", "Bash(python3:*)",
"Bash(sleep *)",
"Bash(touch *)",
"WebFetch(domain:crates.io)", "WebFetch(domain:crates.io)",
"WebFetch(domain:docs.rs)", "WebFetch(domain:docs.rs)",
"WebFetch(domain:github.com)", "WebFetch(domain:github.com)",