Skip to content

Commit c646e65

Browse files
justaddcoffeeclaude
andcommitted
Fix D4D Assistant file creation permissions
Add explicit file editing permissions to both local settings and GitHub Actions: - FileEdit, Edit, Edit(*), Write - for file creation/editing tools - Bash - allow all bash commands - Bash(echo:*), Bash(cat:*), Bash(mkdir:*) - specific commands for file operations This resolves the permission error where d4dassistant could not create D4D YAML files in the GitHub Actions environment. Fixes #58 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f1d611f commit c646e65

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.claude/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,25 @@
99
},
1010
"permissions": {
1111
"allow": [
12+
"FileEdit",
13+
"Edit",
14+
"Edit(*)",
15+
"Write",
16+
"Bash",
1217
"Bash(git:*)",
1318
"Bash(gh:*)",
1419
"Bash(poetry:*)",
1520
"Bash(make:*)",
1621
"Bash(python:*)",
1722
"Bash(uv:*)",
23+
"Bash(echo:*)",
24+
"Bash(cat:*)",
25+
"Bash(mkdir:*)",
26+
"Bash(grep:*)",
27+
"Bash(head:*)",
28+
"Bash(tail:*)",
29+
"Bash(sort:*)",
30+
"Bash(curl:*)",
1831
"mcp__github__*",
1932
"mcp__artl__*",
2033
"WebSearch",

.github/workflows/d4d-agent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,4 @@ jobs:
197197
enable-obo-scripts: 'true'
198198
enable-python-tools: 'true'
199199
python-packages: 'aurelian jinja2-cli "wrapt>=1.17.2"'
200-
claude-allowed-tools: '["Bash(git:*)", "Bash(gh:*)", "FileSystem(*)"]'
200+
claude-allowed-tools: '["FileEdit", "Edit", "Edit(*)", "Write", "Bash", "Bash(git:*)", "Bash(gh:*)", "Bash(echo:*)", "Bash(cat:*)", "Bash(mkdir:*)"]'

0 commit comments

Comments
 (0)