fix: stop injecting managed hooks into claude settings

This commit is contained in:
Affaan Mustafa
2026-04-12 22:39:48 -07:00
parent 28edd197c2
commit 2ece2cfc90
5 changed files with 47 additions and 196 deletions

View File

@@ -705,7 +705,9 @@ cp everything-claude-code/commands/*.md ~/.claude/commands/
#### Add hooks to settings.json
Copy the hooks from `hooks/hooks.json` to your `~/.claude/settings.json`.
Manual install only: copy the hooks from `hooks/hooks.json` to your `~/.claude/settings.json` if you are not installing ECC as a Claude plugin.
If you installed ECC via `/plugin install`, do not copy those hooks into `settings.json`. Claude Code v2.1+ already auto-loads plugin `hooks/hooks.json`, and duplicating them in `settings.json` causes duplicate execution and `${CLAUDE_PLUGIN_ROOT}` resolution failures.
#### Configure MCPs