borg/.claude/settings.json
Thomas Waldmann 75206485d6
add Claude Code config (CLAUDE.md, settings, .gitignore)
Add project guidance in .claude/CLAUDE.md and a shared .claude/settings.json
permission set. Machine-specific bits (local virtualenv path, GPG signing) live
in a gitignored .claude/CLAUDE.local.md; gitignore the personal settings.local.json
and CLAUDE.local.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dg49arm61F42gHR4aFD4ac
2026-07-22 18:52:29 +02:00

48 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"permissions": {
"allow": [
"Read",
"Grep",
"Glob",
"Bash(ls:*)",
"Bash(cat:*)",
"Bash(rg:*)",
"Bash(find:*)",
"Bash(which:*)",
"Bash(pytest:*)",
"Bash(python -m pytest:*)",
"Bash(ruff:*)",
"Bash(tox:*)",
"Bash(fakeroot -u tox:*)",
"Bash(pre-commit run:*)",
"Bash(python scripts/make.py:*)",
"Bash(git status:*)",
"Bash(git diff:*)",
"Bash(git log:*)",
"Bash(git show:*)",
"Bash(git branch:*)",
"Bash(git blame:*)",
"Bash(git stash list:*)",
"Bash(PAGER=cat gh:*)"
],
"ask": [
"Bash(git push:*)",
"Bash(gh pr create:*)",
"Bash(gh pr merge:*)",
"Bash(pip install:*)"
],
"deny": [
"Bash(git add -A:*)",
"Bash(git add --all:*)",
"Bash(git add .)",
"Bash(rm -rf /:*)",
"Bash(rm -rf ~:*)",
"Read(.env)",
"Read(.env.*)",
"Read(**/.ssh/**)",
"Read(**/*_key)",
"Read(**/*.pem)"
]
}
}