From 3f79288b5466d602b654f572d74877bc8d73adba Mon Sep 17 00:00:00 2001 From: lmiranda Date: Sun, 25 Jan 2026 15:48:41 -0500 Subject: [PATCH] fix(data-platform): use separate hooks.json file (not inline) Cherry-pick fix from hotfix/data-platform-hooks to development. Hooks must be in separate hooks/hooks.json file (auto-discovered), NOT inline in plugin.json. Co-Authored-By: Claude Opus 4.5 --- plugins/data-platform/.claude-plugin/plugin.json | 8 -------- plugins/data-platform/hooks/hooks.json | 10 ++++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 plugins/data-platform/hooks/hooks.json diff --git a/plugins/data-platform/.claude-plugin/plugin.json b/plugins/data-platform/.claude-plugin/plugin.json index 00bae91..489fcee 100644 --- a/plugins/data-platform/.claude-plugin/plugin.json +++ b/plugins/data-platform/.claude-plugin/plugin.json @@ -18,14 +18,6 @@ "etl", "dataframe" ], - "hooks": { - "SessionStart": [ - { - "type": "command", - "command": "${CLAUDE_PLUGIN_ROOT}/hooks/startup-check.sh" - } - ] - }, "commands": ["./commands/"], "mcpServers": ["./.mcp.json"] } diff --git a/plugins/data-platform/hooks/hooks.json b/plugins/data-platform/hooks/hooks.json new file mode 100644 index 0000000..529b5ec --- /dev/null +++ b/plugins/data-platform/hooks/hooks.json @@ -0,0 +1,10 @@ +{ + "hooks": { + "SessionStart": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/hooks/startup-check.sh" + } + ] + } +}