Repository navigation
Description
`⎿ Error: Bash command permission check failed for pattern "```!
"/home/furkan/.claude/plugins/cache/claude-plugins-official/ralph-wiggum/6d3752c000e2/scripts/setup-ralph-loop.sh" "Build a hello world API" --completion-promise "DONE" --max-iterations 10
# Extract and display completion promise if set
if [ -f .claude/ralph-loop.local.md ]; then
PROMISE=$(grep '^completion_promise:' .claude/ralph-loop.local.md | sed 's/completion_promise: *//' | sed 's/^"\(.*\)"$/\1/')
if [ -n "$PROMISE" ] && [ "$PROMISE" != "null" ]; then
echo ""
echo "═══════════════════════════════════════════════════════════"
echo "CRITICAL - Ralph Loop Completion Promise"
echo "═══════════════════════════════════════════════════════════"
echo ""
echo "To complete this loop, output this EXACT text:"
echo " <promise>$PROMISE</promise>"
echo ""
echo "STRICT REQUIREMENTS (DO NOT VIOLATE):"
echo " ✓ Use <promise> XML tags EXACTLY as shown above"
echo " ✓ The statement MUST be completely and unequivocally TRUE"
echo " ✓ Do NOT output false statements to exit the loop"
echo " ✓ Do NOT lie even if you think you should exit"
echo ""
echo "IMPORTANT - Do not circumvent the loop:"
echo " Even if you believe you're stuck, the task is impossible,"
echo " or you've been running too long - you MUST NOT output a"
echo " false promise statement. The loop is designed to continue"
echo " until the promise is GENUINELY TRUE. Trust the process."
echo ""
echo " If the loop should stop, the promise statement will become"
echo " true naturally. Do not force it by lying."
echo "═══════════════════════════════════════════════════════════"
fi
fi
```": Command contains newlines that could separate multiple commands`
Description
When attempting to run the /ralph-wiggum:ralph-loop skill, the command fails with a permission check error because the bash script contains newlines.
Steps to Reproduce
- Have the ralph-wiggum plugin installed
- Run /ralph-wiggum:ralph-loop "Build a hello world API" --completion-promise "DONE" --max-iterations 10
Error Message
Error: Bash command permission check failed for pattern "```!
"/home/furkan/.claude/plugins/cache/claude-plugins-official/ralph-wiggum/6d3752c000e2/scripts/setup-ralph-loop.sh" "Build a hello world API" --completion-promise "DONE" --max-iterations 10
Extract and display completion promise if set
if [ -f .claude/ralph-loop.local.md ]; then
PROMISE=$(grep '^completion_promise:' .claude/ralph-loop.local.md | sed 's/completion_promise: //' | sed 's/^"(.)"$/\1/')
...
Expected Behavior
The ralph-wiggum plugin should execute its setup script without being blocked by the newline security check.
Actual Behavior
The command is rejected because the multi-line bash script triggers the security check that prevents commands with newlines.
Environment
- Platform: Linux (WSL2)
- OS Version: Linux 6.6.87.2-microsoft-standard-WSL2
- Plugin: ralph-wiggum@claude-plugins-official
Activity
ErvinXie commentedon Jan 4, 2026
I got the same error message
PMStander commentedon Jan 5, 2026
Same error...
xones267 commentedon Jan 7, 2026
Error: Bash command permission check failed for pattern "```!
keeps getting this error
sipotat commentedon Jan 29, 2026
Happened to me as well. When I copied the prompt to an editor I noticed that there are extra spaces at the end of each line. I removed them, copy the prompt back and it worked.