Skip to content

Allowlist the rebar3 verification loop in project settings - #54

Merged
david-w-t merged 1 commit into
davidwt-com:mainfrom
david-w-t:develop
Aug 9, 2026
Merged

Allowlist the rebar3 verification loop in project settings#54
david-w-t merged 1 commit into
davidwt-com:mainfrom
david-w-t:develop

Conversation

@david-w-t

Copy link
Copy Markdown
Contributor

Adds five entries to .claude/settings.jsonpermissions.allow, covering the
commands that dominate permission prompts in this repo:

Bash(./rebar3 ct:*)
Bash(./rebar3 compile:*)
Bash(./rebar3 eunit:*)
Bash(./rebar3 xref:*)
Bash(make test-ct-parallel:*)

These are the project's verification loop. ./rebar3 xref in particular became a
CI 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 git and gh
subcommands, plus grep/head/tail/cat/ls/find/sed, are already
auto-allowed and were deliberately left out.

Excluded on purpose:

  • Anything granting arbitrary code execution./rebar3 shell, bash,
    python3, erl, ssh. A wildcard Bash(./rebar3 *) would have covered the
    four entries above in one line but would also have allowed ./rebar3 shell,
    hence the four narrow prefixes instead.
  • Mutating git commandsgit add/commit/push/reset/fetch.
  • Machine-specific paths. The plugin-cache script paths that account for the
    most prompts are user-local and stay in .claude/settings.local.json, which is
    gitignored — 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

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
@david-w-t
david-w-t merged commit 0f7c79d into davidwt-com:main Aug 9, 2026
1 check passed
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