feat(advisor): packs vocabulary, profile set only on a project without profile

The advisor emits tokens (SET / ENABLE / DISABLE); the plugin gate checks
them against closed lists, prints what a set turns off and on, applies
at the git root only, set first. USAGE and onboard follow; plugin-dev gone.
This commit is contained in:
bchanot committed 2026-11-11 19:00:14 +01:00
1 parent 80f56ef815
commit 9b12b1226c
6 files changed
+211 -175

No files matched your search

+3 -2
View File
@@ -12,8 +12,9 @@ plugin-probe (sonnet) → validation checkpoint → dispatch plugin-advisor
dispatched, gates in this loop).
/plugin-check is READ-ONLY advisory: SKIP the gate's step 5 (apply) — show
the advisor's exact commands for the user instead. Never write: the user runs
them (`lib/profile.sh` `set <profile>` / `enable <pack>` writes the
the commands the main loop builds from the gate's step-5 templates (`set` /
`enable` / `disable`, with `-C "<PROJECT_ROOT>"`), after the gate's token
check, for the user instead. Never write: the user runs them (`lib/profile.sh` `set <profile>` / `enable <pack>` writes the
project's `.claude/settings.local.json`, never the user scope).
If `$HOME/.claude/lib/plugin-gate.md` unreachable: emit `Plugin gate include