Ralph Loop plugin: shell permission checker rejects --flags as 'multiple operations'
Resolved 💬 3 comments Opened Mar 23, 2026 by xellerix Closed Apr 21, 2026
Bug
The ralph-loop plugin's /ralph-loop skill fails with a shell permission error when invoked with --completion-promise or --max-iterations flags. The permission checker interprets -- flags as separate shell operations rather than arguments to the script.
Reproduction
/ralph-loop:ralph-loop "Fix bugs" --completion-promise "PATCHED" --max-iterations 10
Error
Error: Shell command permission check failed for pattern "!
"/home/matt/.claude/plugins/cache/claude-plugins-official/ralph-loop/61c0597779bd/scripts/setup-ralph-loop.sh"
"Fix bugs" --completion-promise "PATCHED" --max-iterations 10 ": This Bash command contains multiple operations. The following part requires
approval: --completion-promise "PATCHED" --max-iterations 10
What was tried
- Adding
Bash(/path/to/setup-ralph-loop.sh:*)topermissions.allowin~/.claude/settings.json— no effect, the error occurs before pattern matching - Restarting the session after adding the permission
- Various quoting strategies for the prompt text
Expected behavior
The --completion-promise and --max-iterations flags should be recognized as arguments to the setup script, not as separate shell operations.
Environment
- Claude Code CLI
- Linux (Arch)
- ralph-loop plugin from
claude-plugins-official
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗