[Feature Request] Add Windows-compatible alternative to shell script Ralph loop plugin
Resolved 💬 3 comments Opened Jan 16, 2026 by sathwikkuncham Closed Jan 20, 2026
Bug Description
The ralph-loop plugin's Stop hook uses a bash shell script (stop-hook.sh) that fails on Windows systems when the user profile path contains spaces.
Root Cause
The hook is defined in hooks/hooks.json as:
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.sh"
}
When ${CLAUDE_PLUGIN_ROOT} expands to a Windows path with spaces (e.g., C:\Users\Sathwik Kuncham\.claude\plugins\...), bash incorrectly parses the path due to:
- Backslashes being stripped or misinterpreted
- Spaces causing word-splitting
Error Message
Stop hook error: Failed with non-blocking status code: /bin/bash: C:UsersSathwik: No such file or directory
Additional Windows Compatibility Issues in stop-hook.sh
- Uses #!/bin/bash shebang (Unix-only)
- Uses Unix path separators (/) for file paths
- Depends on Unix utilities: sed, awk, grep, perl, jq
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗