Skip to content

chore(claude): commit .claude/settings.json and allow gh commands for subagents#481

Merged
RobertLD merged 1 commit intomainfrom
chore/allow-gh-in-settings
Mar 22, 2026
Merged

chore(claude): commit .claude/settings.json and allow gh commands for subagents#481
RobertLD merged 1 commit intomainfrom
chore/allow-gh-in-settings

Conversation

@RobertLD
Copy link
Copy Markdown
Owner

Summary

  • Commits .claude/settings.json to the repo (it was previously untracked/floating)
  • Adds gh pr*, gh issue*, gh run*, gh api* to the allowlist so agents running in isolated worktrees can create PRs without manual intervention
  • The hooks (format-ts.sh, guard-bash.sh) and CLAUDE.md are already committed — this completes the Claude Code project configuration

Why this matters

Agents running in --isolation worktree mode get a fresh git checkout, so they never saw the untracked .claude/settings.json. Without it, every agent had to ask the user to create the PR manually.

🤖 Generated with Claude Code

Worktree agents only see .claude/settings.json (committed), not
settings.local.json (gitignored). Adding gh commands here lets agents
create PRs and query CI without needing manual intervention.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
libscope Ignored Ignored Mar 22, 2026 0:56am

@sonarqubecloud
Copy link
Copy Markdown

@RobertLD RobertLD merged commit 0112881 into main Mar 22, 2026
10 checks passed
@RobertLD RobertLD deleted the chore/allow-gh-in-settings branch March 22, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant