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

  1. Install the ralph-loop plugin from claude-plugins-official
  2. End any Claude Code session
  3. 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:

  1. Ship the hook file with execute permission in the marketplace package
  2. Or have the plugin installer set +x on hook scripts automatically

View original on GitHub ↗

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