Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

fix: use ${CLAUDE_PLUGIN_ROOT} for hook script paths

Affaan Mustafa73bda1aad6ca
diff --git a/hooks/hooks.json b/hooks/hooks.json
index 4b3f41554..b09b5bb1d 100644
--- a/hooks/hooks.json
+++ b/hooks/hooks.json
@@ -47,7 +47,7 @@
"hooks": [
{
"type": "command",
- "command": "./hooks/strategic-compact/suggest-compact.sh"
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/strategic-compact/suggest-compact.sh"
}
],
"description": "Suggest manual compaction at logical intervals"
@@ -59,7 +59,7 @@
"hooks": [
{
"type": "command",
- "command": "./hooks/memory-persistence/pre-compact.sh"
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/memory-persistence/pre-compact.sh"
}
],
"description": "Save state before context compaction"
@@ -71,7 +71,7 @@
"hooks": [
{
"type": "command",
- "command": "./hooks/memory-persistence/session-start.sh"
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/memory-persistence/session-start.sh"
}
],
"description": "Load previous context on new session"
@@ -135,7 +135,7 @@
"hooks": [
{
"type": "command",
- "command": "./hooks/memory-persistence/session-end.sh"
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/memory-persistence/session-end.sh"
}
],
"description": "Persist session state on end"
@@ -145,7 +145,7 @@
"hooks": [
{
"type": "command",
- "command": "./skills/continuous-learning/evaluate-session.sh"
+ "command": "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning/evaluate-session.sh"
}
],
"description": "Evaluate session for extractable patterns"