The package’s learning feature writes rules and hooks during normal agent lifecycle events, and promotion can silently remove Claude’s disableAllHooks setting. This is a meaningful agent-configuration risk, though setup is explicit and the behavior supports the package’s stated function.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
After the user explicitly installs the plugin, tool-use or session-stop lifecycle events can trigger learning and hook promotion.
Impact
This can override a user’s setting that disables hooks and allow hooks to run in that workspace.
Mechanism
The ledger writes learned rules or skills and updates agent hook configuration; its Claude settings writer deletes `disableAllHooks` when adding a promoted hook.
Evidence
src/cli/init.mjshooks/hooks.jsonhooks/stop.mjssrc/core/rsl_ledger.mjs.agents/rules/rsl-<slug>.md.agents/skills/rsl-<slug>/SKILL.md.agents/hooks.json.claude/rules/rsl-<slug>.md.claude/skills/rsl-<slug>/SKILL.md