Allowlist the rebar3 verification loop in project settings - #54
Merged
Conversation
Adds the five read-only-enough commands that dominate the permission prompts in this repo: ./rebar3 ct/compile/eunit/xref and make test-ct-parallel. Machine-specific plugin-cache paths stay in settings.local.json, which is gitignored. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EWukKCbrN8GybaScJGU2kF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds five entries to
.claude/settings.json→permissions.allow, covering thecommands that dominate permission prompts in this repo:
These are the project's verification loop.
./rebar3 xrefin particular became aCI gate in the SP2 branch, so it now runs on essentially every change.
Why these and not more
Derived from a scan of recent session transcripts. The large majority of the
Bash traffic in this repo needs no rule at all — read-only
gitandghsubcommands, plus
grep/head/tail/cat/ls/find/sed, are alreadyauto-allowed and were deliberately left out.
Excluded on purpose:
./rebar3 shell,bash,python3,erl,ssh. A wildcardBash(./rebar3 *)would have covered thefour entries above in one line but would also have allowed
./rebar3 shell,hence the four narrow prefixes instead.
git add/commit/push/reset/fetch.most prompts are user-local and stay in
.claude/settings.local.json, which isgitignored — they have no business in a file other contributors receive.
No functional change to the codebase.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EWukKCbrN8GybaScJGU2kF