ralph-loop plugin: stop-hook.sh missing execute permission
Resolved 💬 2 comments Opened Mar 27, 2026 by ilganeli Closed Mar 27, 2026
Bug
The ralph-loop plugin from claude-plugins-official marketplace ships its hooks/stop-hook.sh without execute permission (-rw-r--r--). This causes a non-blocking error on every session stop:
Stop hook error: Failed with non-blocking status code: /bin/sh:
/Users/<user>/.claude/plugins/marketplaces/claude-plugins-official/plugins/ralph-loop/hooks/stop-hook.sh: Permission denied
Steps to Reproduce
- Install the
ralph-loopplugin fromclaude-plugins-official - End any Claude Code session
- Observe the permission denied error
Expected Behavior
stop-hook.sh should have execute permission (-rwxr-xr-x) when installed.
Workaround
chmod +x ~/.claude/plugins/marketplaces/claude-plugins-official/plugins/ralph-loop/hooks/stop-hook.sh
This only lasts until the plugin updates/reinstalls, which resets the permission.
Environment
- macOS Darwin 25.0.0
- Claude Code 2.1.84
Suggestion
Either:
- Ship the hook file with execute permission in the marketplace package
- Or have the plugin installer set
+xon hook scripts automatically
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗