feat: ship role protocols as per-role plugin skills - #69
Draft
notdp wants to merge 5 commits into
Draft
Conversation
…group Role protocol text now lives in plugins/hive/skills/hive/references/ and reaches both Claude and Codex panes through the marketplace auto-update chain, so spec iteration no longer rides on a CLI release. The skills command group and core_assets/specs are removed outright (single-user cutover, no compatibility path); birth prompts, adoption hints, and init `next` fields route through the hive skill's references instead.
Each role ships as its own plugin skill (hive:duo-worker, hive:core, ...) instead of reference files inside one skill. Spawned panes get the role skill activated as line one of the launch turn (Agent.spawn skill kwarg), so the birth prompt shrinks to identity + idle discipline and no path is ever constructed by the model; dispatched running panes are told to invoke the skill by name. Resumed sessions keep skill=none — their protocol already lives in the session.
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.
Role protocol text — the nine duo/squad role specs — now ships as per-role plugin skills (
hive:duo-worker,hive:core, …) over the marketplace auto-update chain, so spec iteration reaches live Claude and Codex panes without cutting a CLI release. Previously every prose tweak rode on a version bump plus pipx upgrade.Design decisions worth reviewing:
hiveskill. Spawned panes get their role skill activated by name as line one of the launch turn, so the birth prompt shrinks to identity + idle discipline and the model never constructs a spec path itself.skill=none— their protocol already lives in the session history.hive skillscommand group andsrc/hive/core_assets/specs/are removed outright: single-user cutover, no compatibility shim.Validation: accepted by a codex validator after three review rounds, including a real-install loop —
codex plugin addmaterializes the per-role skills under the plugin cache, and a source-spawned pane loads its role skill by name from that install.