From a464c7215ddbe962ecf30be547fa280e0796e117 Mon Sep 17 00:00:00 2001 From: Brent Rager Date: Sun, 26 Jul 2026 15:40:40 -0400 Subject: [PATCH] Pearl th-147c83: drop legacy inline .claude/hooks (plugin provides them) The smooth-agent@smooth plugin now supplies the worktree/curl/pearls guardrail hooks, so the hand-copied inline hooks block double-fires. Removed; enabledPlugins + marketplace kept. --- .claude/settings.json | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index d948260b..b7581fe5 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,38 +1,5 @@ { "$schema": "https://json.schemastore.org/claude-code-settings.json", - "hooks": { - "PreToolUse": [ - { - "matcher": "Edit|Write", - "hooks": [ - { - "type": "command", - "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/enforce-worktree.sh" - } - ] - }, - { - "matcher": "Bash", - "hooks": [ - { - "type": "command", - "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/enforce-worktree.sh" - } - ] - } - ], - "SessionStart": [ - { - "matcher": "startup", - "hooks": [ - { - "type": "command", - "command": "BRANCH=$(git -C \"$CLAUDE_PROJECT_DIR\" symbolic-ref --short HEAD 2>/dev/null); if [[ \"$BRANCH\" == \"main\" || \"$BRANCH\" == \"master\" ]]; then REPO_NAME=$(basename \"$CLAUDE_PROJECT_DIR\"); echo \"\u26a0\ufe0f You are in the MAIN worktree on the main branch. Do NOT do feature work here. Create a worktree first: git worktree add ../${REPO_NAME}-SMOODEV-XX-desc -b SMOODEV-XX-desc main\"; fi" - } - ] - } - ] - }, "extraKnownMarketplaces": { "smooth": { "source": {