feat(ragkit) 0.1.5: session-start bootstrap hook (command-less skills active on CodeBuddy)#88
Merged
Merged
Conversation
…ithout commands on CodeBuddy) 0.1.4 dropped commands + made skills user-invocable. On Claude Code that's enough (it natively discovers plugin skills → /ragkit:* shows). But on CodeBuddy a plugin's skills stay INERT without a session-start bootstrap — no command surfaces and the model won't reach for them (superpowers' porting guide: "the bootstrap is the entire integration; without it the skill files are inert"). superpowers works command-less precisely because it HAS this hook; ragkit lacked it. Adds: hooks/hooks.json (SessionStart), hooks/run-hook.sh (specode's proven python-probe launcher, no uv), scripts/ragkit_hooks.py (injects the bootstrap, mirrors spec_hooks.py). The bootstrap announces the 4 skills AND carries the hard anti-improvisation guardrail (invoke by name; never search the filesystem for skill/script files; never read .ragkit vectors / install numpy / hand-roll retrieval; fail loud on script errors) — directly closing the Record-2 hole. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
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.
The missing piece. 0.1.4 dropped commands + made skills user-invocable. On Claude Code that's enough — it natively discovers plugin skills, so
/ragkit:*shows. On CodeBuddy, a plugin's skills stay inert without a session-start bootstrap (no command surfaces, the model won't auto-invoke) — superpowers' porting guide: "the bootstrap is the entire integration; without it the skill files are inert." superpowers works command-less because it has this hook; ragkit lacked it — that's the whole difference (verified: identical skill frontmatter + plugin.json; superpowers hashooks/, ragkit didn't).Adds:
hooks/hooks.json— SessionStarthooks/run-hook.sh— specode's proven python-probe launcher (no uv)scripts/ragkit_hooks.py— injects the bootstrap (mirrors spec_hooks.py emit shape)The bootstrap announces the 4 skills and carries the hard anti-improvisation guardrail (invoke by name; never search the filesystem for skill/script files; never read
.ragkitvectors / install numpy / hand-roll retrieval; fail loud) — closing the Record-2 hole.Validated; hook emits valid JSON locally.
🤖 Generated with Claude Code