chore(claude): sandbox bash, deny git push/commit

This commit is contained in:
Kevin Veen-Birkenbach
2026-07-07 09:21:59 +02:00
parent d89a433695
commit 509ed85fb2

20
.claude/settings.json Normal file
View File

@@ -0,0 +1,20 @@
{
"permissions": {
"defaultMode": "dontAsk",
"deny": [
"Bash(git push)",
"Bash(git push:*)",
"Bash(git commit)",
"Bash(git commit:*)",
"Bash(git -C * push)",
"Bash(git -C * push:*)",
"Bash(git -C * commit)",
"Bash(git -C * commit:*)"
]
},
"sandbox": {
"enabled": true,
"autoAllowBashIfSandboxed": true,
"allowUnsandboxedCommands": false
}
}