forked from bchanot/claude
fix(agents): close the 10 prose BUGS-FOUND items, root quoting and $HOME refusal
Handover: rooted reads, whole-line PROJECT_ROOT read with a one-line pre-paste rule, BDR status filter. plugin-gate: single-quoted templates, unsafe roots printed never run, apply check against the git common dir, $HOME refused (and in profile.sh). Advisor: minimal only from project signals, no extras token, ctx7 wording, print-only plugin remedy. Packs vocabulary in onboard/tour; graphify labels match the trap.
This commit is contained in:
1 parent
a967fd93dc
commit
77041e5360
17 files changed
+192
-98
No files matched your search
@@ -13,9 +13,13 @@ dispatched, gates in this loop).
|
||||
|
||||
/plugin-check is READ-ONLY advisory: SKIP the gate's step 5 (apply) — show
|
||||
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).
|
||||
`enable` / `disable`, with `-C '<PROJECT_ROOT>'`), after the gate's token
|
||||
check, for the user instead. A PROJECT_ROOT holding `'`, a newline or a
|
||||
control character is never substituted: print the commands with the root shown as `'<root>'` and a warning that
|
||||
the user must quote it by hand, run nothing.
|
||||
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
|
||||
missing.` and STOP.
|
||||
|
||||
Reference in new issue
Block a user