Claude-perms: ensure /commit-msg files can be written!

Gud Boi 2026-04-23 16:48:06 -04:00
parent fe89169f1c
commit a4d6318ca7
1 changed files with 14 additions and 8 deletions

View File

@ -1,8 +1,16 @@
{ {
"permissions": { "permissions": {
"allow": [ "allow": [
"Bash(date *)",
"Bash(cp .claude/*)", "Bash(cp .claude/*)",
"Read(.claude/**)",
"Read(.claude/skills/run-tests/**)",
"Write(.claude/**/*commit_msg*)",
"Write(.claude/git_commit_msg_LATEST.md)",
"Skill(run-tests)",
"Skill(close-wkt)",
"Skill(open-wkt)",
"Skill(prompt-io)",
"Bash(date *)",
"Bash(git diff *)", "Bash(git diff *)",
"Bash(git log *)", "Bash(git log *)",
"Bash(git status)", "Bash(git status)",
@ -23,14 +31,12 @@
"Bash(UV_PROJECT_ENVIRONMENT=py* uv sync:*)", "Bash(UV_PROJECT_ENVIRONMENT=py* uv sync:*)",
"Bash(UV_PROJECT_ENVIRONMENT=py* uv run:*)", "Bash(UV_PROJECT_ENVIRONMENT=py* uv run:*)",
"Bash(echo EXIT:$?:*)", "Bash(echo EXIT:$?:*)",
"Write(.claude/*commit_msg*)", "Bash(echo \"EXIT=$?\")",
"Write(.claude/git_commit_msg_LATEST.md)", "Read(//tmp/**)"
"Skill(run-tests)",
"Skill(close-wkt)",
"Skill(open-wkt)",
"Skill(prompt-io)"
], ],
"deny": [], "deny": [],
"ask": [] "ask": []
} },
"prefersReducedMotion": false,
"outputStyle": "default"
} }