Agents running in git worktrees weren't inheriting permissions from settings.local.json since it's path-specific. Moving the allowlist to the committed settings.json ensures all worktrees get pre-approved permissions automatically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(cargo build:*)",
|
|
"Bash(cargo check:*)",
|
|
"Bash(cargo clippy:*)",
|
|
"Bash(cargo llvm-cov:*)",
|
|
"Bash(cargo nextest run:*)",
|
|
"Bash(cargo test:*)",
|
|
"Bash(cargo watch:*)",
|
|
"Bash(claude:*)",
|
|
"Bash(curl:*)",
|
|
"Bash(git -C:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git branch:*)",
|
|
"Bash(git checkout:*)",
|
|
"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(lsof:*)",
|
|
"Bash(npm run build:*)",
|
|
"Bash(npx @biomejs/biome check:*)",
|
|
"Bash(npx @playwright/test test:*)",
|
|
"Bash(npx biome check:*)",
|
|
"Bash(npx playwright test:*)",
|
|
"Bash(npx tsc:*)",
|
|
"Bash(npx vitest:*)",
|
|
"Bash(pnpm add:*)",
|
|
"Bash(pnpm build:*)",
|
|
"Bash(pnpm install:*)",
|
|
"Bash(pnpm run build:*)",
|
|
"Bash(pnpm run test:coverage:*)",
|
|
"Bash(pnpm test:*)",
|
|
"Bash(printf:*)",
|
|
"Bash(python3:*)",
|
|
"WebFetch(domain:crates.io)",
|
|
"WebFetch(domain:docs.rs)",
|
|
"WebFetch(domain:github.com)",
|
|
"WebFetch(domain:portkey.ai)",
|
|
"WebFetch(domain:www.shuttle.dev)",
|
|
"WebSearch",
|
|
"mcp__story-kit__*"
|
|
]
|
|
},
|
|
"enabledMcpjsonServers": [
|
|
"story-kit"
|
|
]
|
|
}
|