claude: permissions allowlist + python CLAUDE.md; drop blanket skip alias
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Read(*)",
|
||||
"Bash(ls:*)",
|
||||
"Bash(find:*)",
|
||||
"Bash(grep:*)",
|
||||
"Bash(rg:*)",
|
||||
"Bash(head:*)",
|
||||
"Bash(tail:*)",
|
||||
"Bash(wc:*)",
|
||||
"Bash(git status:*)",
|
||||
"Bash(git diff:*)",
|
||||
"Bash(git log:*)",
|
||||
"Bash(git show:*)",
|
||||
"Bash(git add:*)",
|
||||
"Bash(git commit:*)",
|
||||
"Bash(git push:*)",
|
||||
"Bash(git pull:*)",
|
||||
"Bash(git checkout:*)",
|
||||
"Bash(git switch:*)",
|
||||
"Bash(git branch:*)",
|
||||
"Bash(git stash:*)",
|
||||
"Bash(git fetch:*)",
|
||||
"Bash(git restore:*)",
|
||||
"Bash(uv:*)",
|
||||
"Bash(uv run:*)",
|
||||
"Bash(uv add:*)",
|
||||
"Bash(uv sync:*)",
|
||||
"Bash(uv pip:*)",
|
||||
"Bash(pytest:*)",
|
||||
"Bash(uv run pytest:*)",
|
||||
"Bash(ruff:*)",
|
||||
"Bash(uv run ruff:*)",
|
||||
"Bash(ty:*)",
|
||||
"Bash(uv run ty:*)",
|
||||
"Bash(pre-commit:*)",
|
||||
"Bash(uv run pre-commit:*)"
|
||||
],
|
||||
"deny": [
|
||||
"Bash(sudo rm:*)",
|
||||
"Bash(rm -rf /:*)",
|
||||
"Bash(rm -rf /*)",
|
||||
"Bash(rm -rf ~:*)",
|
||||
"Bash(git push --force:*)",
|
||||
"Bash(git push -f:*)",
|
||||
"Bash(git reset --hard:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user