Repository navigation
Conversation
…ontinual-learning hook path
This was referenced Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ralph-loop/hooks/hooks.jsonstill addresses its scripts as./hooks/capture-response.shand./hooks/stop-hook.sh. Plugin hooks do not run from the plugin directory, so from any other cwd those commands fail with exit 127 and the hook never runs. #315 fixed the same layout inadvisora month ago and noted that the plugin registry classifies it aspublic-invalid;ralph-loopkept the old form, which may be why/add-plugin ralph-loophas nothing to install (#50). This switches both commands tobash "${CURSOR_PLUGIN_ROOT}/hooks/<script>.sh", the formadvisoruses.While here,
continual-learning/hooks/hooks.jsonalready uses${CURSOR_PLUGIN_ROOT}but unquoted; quoted it so a plugin path with spaces keeps working.loop_limit: nullon the stop hook is left as is: the docs definenullas "no limit", and ralph-loop enforces its ownmax_iterations.No version bump here: #499 already bumps
ralph-loopto 1.0.1 and touches the scripts; this PR only changeshooks.json, so the two merge in either order.Verification
node scripts/validate-plugins.mjs: All plugins validated successfully./tmpwithCURSOR_PLUGIN_ROOT=<repo>/ralph-loopandCURSOR_PROJECT_DIRpointing at an empty directory: both exit 0 with no output (no active loop). The old./hooks/stop-hook.shform from the same cwd:no such file or directory, exit 127.git diff --checkclean.Refs #50.