From b2218cbbf2190eab8dc5847c4c72b6a09bd9f19e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Mon, 2 Feb 2026 13:30:25 +0100 Subject: [PATCH] fix: add file editing and git tools to Claude allowed_tools Claude was blocked from writing files, using git/gh, and fetching web content because only a few Bash patterns were pre-approved. Add Edit, Write, WebFetch, git, gh, sed, and python3 to the allowed_tools list. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/claude.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 85684ad50cb..4b7585af600 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -60,7 +60,7 @@ jobs: with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} claude_args: "--max-turns 50 --model opus" - allowed_tools: "Bash(bash packages/twenty-utils/setup-dev-env.sh),Bash(npx nx *),Bash(npx jest *),Bash(yarn *)" + allowed_tools: "Edit,Write,Bash(bash packages/twenty-utils/setup-dev-env.sh),Bash(npx nx *),Bash(npx jest *),Bash(yarn *),Bash(git *),Bash(gh *),Bash(sed *),Bash(python3 *),WebFetch" settings: | { "env": { @@ -123,7 +123,7 @@ jobs: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} prompt: ${{ steps.prompt.outputs.prompt }} claude_args: "--max-turns 50 --model opus" - allowed_tools: "Bash(bash packages/twenty-utils/setup-dev-env.sh),Bash(npx nx *),Bash(npx jest *),Bash(yarn *)" + allowed_tools: "Edit,Write,Bash(bash packages/twenty-utils/setup-dev-env.sh),Bash(npx nx *),Bash(npx jest *),Bash(yarn *),Bash(git *),Bash(gh *),Bash(sed *),Bash(python3 *),WebFetch" settings: | { "env": {