diff --git a/.claude/hooks/branch-protection.local.json b/.claude/hooks/branch-protection.local.json new file mode 100644 index 0000000..884dd7a --- /dev/null +++ b/.claude/hooks/branch-protection.local.json @@ -0,0 +1 @@ +{"protectedBranches": ["production"]} diff --git a/.claude/settings.json b/.claude/settings.json index 1f3dfe3..f41f3f0 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,27 +1,37 @@ { "permissions": { - "bypassPermissions": true, + "defaultMode": "bypassPermissions", "additionalDirectories": ["/tmp"] }, - "thinking": { - "enabled": true, - "budgetTokens": 10000 - }, - "effort": "high", "hooks": { "PreToolUse": [ - ".claude/hooks/momo-prod-guard.js", - ".claude/hooks/commit-quality.js", - ".claude/hooks/large-file-warner.js", - ".claude/hooks/mcp-health.js" + { + "matcher": "", + "hooks": [ + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/momo-prod-guard.js"}, + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/commit-quality.js"}, + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/large-file-warner.js"}, + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/mcp-health.js"} + ] + } ], "PostToolUse": [ - ".claude/hooks/audit-log.js", - ".claude/hooks/suggest-compact.js" + { + "matcher": "", + "hooks": [ + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/audit-log.js"}, + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/suggest-compact.js"} + ] + } ], "Stop": [ - ".claude/hooks/cost-tracker.js", - ".claude/hooks/session-summary.js" + { + "matcher": "", + "hooks": [ + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/cost-tracker.js"}, + {"type": "command", "command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/session-summary.js"} + ] + } ] } }