From 131a32971f76fc8637c689b4164cccbd93d0177a Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Mon, 19 Jan 2026 16:33:41 +0100 Subject: [PATCH 1/2] chore(repo): Add Claude Code settings with basic permissions Adds .claude/settings.json to enable Claude Code with: - Basic bash commands (find, ls, git, grep, mv) - WebFetch access to GitHub and Sentry documentation sites Co-Authored-By: Claude Sonnet 4.5 --- .claude/settings.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000000..444d98d6d8 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,15 @@ +{ + "permissions": { + "allow": [ + "Bash(find:*)", + "Bash(ls:*)", + "Bash(git:*)", + "WebFetch(domain:github.com)", + "WebFetch(domain:docs.sentry.io)", + "WebFetch(domain:develop.sentry.dev)", + "Bash(grep:*)", + "Bash(mv:*)" + ], + "deny": [] + } +} From e4896a19b7ee0341419080ac68226f0c22cc317a Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Mon, 19 Jan 2026 16:43:56 +0100 Subject: [PATCH 2/2] Add git and gh command permissions to Claude settings --- .claude/settings.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.claude/settings.json b/.claude/settings.json index 444d98d6d8..ac6b69b143 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -4,6 +4,25 @@ "Bash(find:*)", "Bash(ls:*)", "Bash(git:*)", + "Bash(git status:*)", + "Bash(git log:*)", + "Bash(git diff:*)", + "Bash(git show:*)", + "Bash(git branch:*)", + "Bash(git remote:*)", + "Bash(git tag:*)", + "Bash(git stash list:*)", + "Bash(git rev-parse:*)", + "Bash(gh pr view:*)", + "Bash(gh pr list:*)", + "Bash(gh pr checks:*)", + "Bash(gh pr diff:*)", + "Bash(gh issue view:*)", + "Bash(gh issue list:*)", + "Bash(gh run view:*)", + "Bash(gh run list:*)", + "Bash(gh run logs:*)", + "Bash(gh repo view:*)", "WebFetch(domain:github.com)", "WebFetch(domain:docs.sentry.io)", "WebFetch(domain:develop.sentry.dev)",