fix/permissions-issue-on-script-run#10
Open
ConVonKnorrisson wants to merge 1 commit intoJuliusBrussee:mainfrom
Open
fix/permissions-issue-on-script-run#10ConVonKnorrisson wants to merge 1 commit intoJuliusBrussee:mainfrom
ConVonKnorrisson wants to merge 1 commit intoJuliusBrussee:mainfrom
Conversation
Author
|
Created the following script for currently installed instances (in case someone needs a fix before any merge gets reviewed) which appeared to work to fix the commands other than /ck:judge run at your own risk though as I've only run it on my machine and i didn't notice any issues: |
jasonminsookim
added a commit
to jasonminsookim/cavekit
that referenced
this pull request
Apr 14, 2026
Ports fixes from JuliusBrussee#10: - allowed-tools: change `Bash(...sh:*)` to `Bash(...sh*)` — trailing `:*` was breaking Claude Code permission checks on clean install - commands/make.md, commands/judge.md: replace fenced ```! blocks with inline Run instructions — fenced form triggered incorrect permission path checks - context/kits/kit-command-gate.md: update example format to match Also applies the :* fix to the codex-review.sh and codex-gate.sh entries added in the previous commit.
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.
Fixes #7 @cri5Castro & #9 Opened by me
Summary
After a clean install and restart,
/ck:judgeand related commands could fail immediately with a Bash permission-check error instead of running the expected script.What changed
```!execution blocks in command files with normal inlineRun "..."script instructionsallowed-toolsentries fromBash(...sh:*)toBash(...sh*)Why
The failing pattern included the leading
!form instead of matching a normal Bash command string. Claude appears to be checking permission against the fenced command block, not just the resolved script path.Result
/ck:judgeshould run after install without requiring manual permission-rule tweaks, and the same fix applies to the relatedsetup-build.shandbp-config.shcommand definitions.Tested
Output /ck:make:
Output /ck:judge:
Output /ck:config list
Output /ck:config list
Individual script runs: