Skip to content

Commit 76d1206

Browse files
committed
Claude-perms: ensure /commit-msg files can be written!
1 parent 506617c commit 76d1206

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

.claude/settings.local.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
{
22
"permissions": {
33
"allow": [
4-
"Bash(date *)",
54
"Bash(cp .claude/*)",
5+
"Read(.claude/**)",
6+
"Read(.claude/skills/run-tests/**)",
7+
"Write(.claude/**/*commit_msg*)",
8+
"Write(.claude/git_commit_msg_LATEST.md)",
9+
"Skill(run-tests)",
10+
"Skill(close-wkt)",
11+
"Skill(open-wkt)",
12+
"Skill(prompt-io)",
13+
"Bash(date *)",
614
"Bash(git diff *)",
715
"Bash(git log *)",
816
"Bash(git status)",
@@ -23,14 +31,12 @@
2331
"Bash(UV_PROJECT_ENVIRONMENT=py* uv sync:*)",
2432
"Bash(UV_PROJECT_ENVIRONMENT=py* uv run:*)",
2533
"Bash(echo EXIT:$?:*)",
26-
"Write(.claude/*commit_msg*)",
27-
"Write(.claude/git_commit_msg_LATEST.md)",
28-
"Skill(run-tests)",
29-
"Skill(close-wkt)",
30-
"Skill(open-wkt)",
31-
"Skill(prompt-io)"
34+
"Bash(echo \"EXIT=$?\")",
35+
"Read(//tmp/**)"
3236
],
3337
"deny": [],
3438
"ask": []
35-
}
39+
},
40+
"prefersReducedMotion": false,
41+
"outputStyle": "default"
3642
}

0 commit comments

Comments
 (0)