{ "$schema": "https://json.schemastore.org/claude-code-settings.json", "permissions": { "allow": [ "Bash(git status *)", "Bash(git diff *)", "Bash(git log *)", "Bash(git show *)" ], "ask": [ "Bash(git push *)", "Bash(git commit *)", "Bash(npm publish *)", "Bash(docker *)", "Bash(kubectl *)", "Bash(terraform *)" ], "deny": [ "Read(.env)", "Read(.env.*)", "Read(**/*.pem)", "Read(**/*.key)", "Read(**/id_rsa*)", "Read(**/id_ed25519*)", "Read(./secrets/**)", "Read(~/.ssh/**)", "Read(~/.aws/**)", "Edit(.env)", "Edit(.env.*)", "Bash(git push --force *)", "Bash(git push -f *)", "Bash(git reset --hard *)", "Bash(git clean *)", "Bash(rm -rf *)", "Bash(sudo *)" ], "disableBypassPermissionsMode": "disable" }, "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/guard.sh" } ] } ] } }