ralph-wiggum plugin: /ralph-loop command fails due to multiline bash block

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Dec 29, 2025 · closed Jan 2, 2026

Description

The /ralph-loop command in the ralph-wiggum plugin fails with an error about multiline bash commands.

Error Message

Bash command permission check failed: Command contains newlines that could separate multiple commands

Root Cause

The command file commands/ralph-loop.md contains a multiline bash block that includes an if statement for displaying the completion promise. Claude Code's security model blocks multiline bash commands entirely.

Workaround

Running the setup script directly works.

Suggested Fix

Move the if block logic into setup-ralph-loop.sh itself.

Environment

  • Claude Code CLI on Linux
  • ralph-wiggum plugin version: 6d3752c000e2

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗