summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-10-09 13:07:39 -0700
committerJesse Vincent <jesse@fsck.com>2025-10-09 13:07:39 -0700
commit2d20c951d74f6c905852b34fd08080eccb4660f1 (patch)
tree86920d2f97f14e1c5e9247f616a9872e0261c6d9
parentdd013f6c1d70e6b3486244be70ccb1b44f7979d4 (diff)
Fix SessionStart hook: add hookEventName field
The hookSpecificOutput requires hookEventName to be set.
-rw-r--r--hooks/hooks.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/hooks.json b/hooks/hooks.json
index e904ce5..d16776d 100644
--- a/hooks/hooks.json
+++ b/hooks/hooks.json
@@ -12,6 +12,7 @@
{
"type": "json",
"hookSpecificOutput": {
+ "hookEventName": "SessionStart",
"additionalContext": "<EXTREMELY_IMPORTANT>\nYou have superpowers.\n\nBefore ANY task, search for relevant skills:\n\n${CLAUDE_PLUGIN_ROOT}/skills/getting-started/skills-search PATTERN\n\n**Skills are mandatory when they exist, not optional.**\n\nFailed searches are logged to: ~/.superpowers/search-log.jsonl\n\n**Skills location**: ${CLAUDE_PLUGIN_ROOT}/skills/\n\nCategories:\n- testing/ - TDD, async testing, anti-patterns\n- debugging/ - Systematic debugging, root cause tracing, verification\n- collaboration/ - Brainstorming, planning, code review, parallel agents\n- meta/ - Creating, testing, and contributing skills\n\n**Critical**: Skills exist and you didn't use them = failed task.\n\n**RIGHT NOW, go read**: ${CLAUDE_PLUGIN_ROOT}/skills/getting-started/SKILL.md\n</EXTREMELY_IMPORTANT>"
}
}