Skip to content

Commit 8c7d889

Browse files
Add Read, Glob, and Grep tool permissions to D4D Assistant (#72)
The D4D Assistant needs these fundamental tools to operate: - Read: Read files from the repository and /tmp/ai-input/user-prompt.txt - Glob: Find files by pattern when exploring the codebase - Grep: Search file contents for metadata extraction Without Read permission, the assistant cannot even read the user's prompt from /tmp/ai-input/user-prompt.txt, causing permission errors in GitHub Actions. This fixes the permission error: 'Claude requested permissions to read from /tmp/ai-input/user-prompt.txt, but you haven't granted it' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent aa782b1 commit 8c7d889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.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: '["FileEdit", "Edit", "Edit(*)", "Write", "Bash", "Bash(git:*)", "Bash(gh:*)", "Bash(poetry:*)", "Bash(make:*)", "Bash(python:*)", "Bash(uv:*)", "Bash(echo:*)", "Bash(cat:*)", "Bash(mkdir:*)", "Bash(grep:*)", "Bash(head:*)", "Bash(tail:*)", "Bash(sort:*)", "Bash(curl:*)", "mcp__github__*", "mcp__artl__*", "WebSearch", "WebFetch"]'
200+
claude-allowed-tools: '["Read", "Glob", "Grep", "FileEdit", "Edit", "Edit(*)", "Write", "Bash", "Bash(git:*)", "Bash(gh:*)", "Bash(poetry:*)", "Bash(make:*)", "Bash(python:*)", "Bash(uv:*)", "Bash(echo:*)", "Bash(cat:*)", "Bash(mkdir:*)", "Bash(grep:*)", "Bash(head:*)", "Bash(tail:*)", "Bash(sort:*)", "Bash(curl:*)", "mcp__github__*", "mcp__artl__*", "WebSearch", "WebFetch"]'

0 commit comments

Comments
 (0)