From d19703b0a19608df0261fdc5e24bc6891ec2dac9 Mon Sep 17 00:00:00 2001 From: jesse Date: Sun, 15 Mar 2026 18:28:55 +0000 Subject: fix: stop firing SessionStart hook on --resume Resumed sessions already have injected context in their conversation history. Re-firing the hook was redundant and could cause issues. The hook now fires only on startup, clear, and compact. Co-Authored-By: Claude Opus 4.6 --- hooks/hooks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks/hooks.json') diff --git a/hooks/hooks.json b/hooks/hooks.json index 7e3d30d..79d8cee 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -2,7 +2,7 @@ "hooks": { "SessionStart": [ { - "matcher": "startup|resume|clear|compact", + "matcher": "startup|clear|compact", "hooks": [ { "type": "command", -- cgit