chore: add project allowlist for read-only gh search and npm view#112
chore: add project allowlist for read-only gh search and npm view#112chitcommit merged 1 commit intomainfrom
Conversation
Reduces permission prompts for common read-only commands surfaced by /fewer-permission-prompts (8x gh search, 3x npm view in transcripts). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
chittyfinance | 6f8fe48 | May 01 2026, 07:01 AM |
|
@coderabbitai review Please evaluate:
|
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Code Review — PR #112Overview: Adds ✅ What's Good
|
| Command | Risk | Verdict |
|---|---|---|
gh search * |
Read-only; search code could surface private code |
Low — acceptable for dev workflow |
npm view * |
Read-only registry queries | None |
Verdict
Approve with minor notes. The change is correct and well-motivated. The pattern syntax inconsistency (#1) is worth a follow-up cleanup but isn't a blocker. The gh search code surface (#2) is a known trade-off, acceptable here.
🤖 Reviewed with Claude Code
There was a problem hiding this comment.
Pull request overview
Adds a project-scoped Claude Code permissions allowlist intended to reduce repeated prompts for common read-only CLI queries used during development workflows.
Changes:
- Introduce
.claude/settings.jsonwith an allowlist forgh search *andnpm view *
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "Bash(gh search *)", | ||
| "Bash(npm view *)" |
Summary
.claude/settings.jsonwith read-only allowlist forgh search *andnpm view */fewer-permission-prompts(8xgh search, 3xnpm viewin transcripts)Test plan
.claude/settings.local.json(per-developer)🤖 Generated with Claude Code
Summary by CodeRabbit