Skip to content

fix(ralph-wiggum): add :* to allowed-tools pattern to permit arguments#16522

Merged
amorriscode merged 1 commit intomainfrom
fix/ralph-wiggum-permission-pattern
Jan 6, 2026
Merged

fix(ralph-wiggum): add :* to allowed-tools pattern to permit arguments#16522
amorriscode merged 1 commit intomainfrom
fix/ralph-wiggum-permission-pattern

Conversation

@amorriscode
Copy link
Copy Markdown
Contributor

Summary

Fixes #16398

The /ralph-wiggum:ralph-loop slash command was failing with a permission error because the allowed-tools pattern was missing the :* suffix to permit arguments.

Root Cause

The allowed-tools pattern:

Bash(${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh)

Doesn't match commands with arguments. When users pass arguments like:

/ralph-wiggum:ralph-loop "Simple task" --completion-promise "DONE" --max-iterations 5

The permission check fails because the pattern doesn't allow for the additional arguments.

Fix

Add :* to the pattern to permit any arguments:

Bash(${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh:*)

Testing

Verified the fix works by running the command after updating the plugin cache.

The allowed-tools pattern was missing :* suffix, causing permission check
failures when arguments were passed to the setup script via ```! block.

Fixes #16398
@amorriscode amorriscode merged commit c2022d3 into main Jan 6, 2026
1 check passed
olivier-motium pushed a commit to olivier-motium/claude-code that referenced this pull request Jan 9, 2026
anthropics#16522)

The allowed-tools pattern was missing :* suffix, causing permission check
failures when arguments were passed to the setup script via ```! block.

Fixes anthropics#16398
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.

[BUG] /ralph-wiggum:ralph-loop slash command fails permission check

2 participants