{
  "permissions": {
    "deny": [
      "mcp__task-master-local__update_task",
      "mcp__task-master-local__update",
      "mcp__task-master-local__update_subtask",
      "mcp__task-master-local__expand_task",
      "mcp__task-master-local__expand_all",
      "mcp__task-master-local__analyze_project_complexity",
      "mcp__task-master-local__research",
      "mcp__task-master-local__parse_prd",
      "mcp__task-master-local__scope_up_task",
      "mcp__task-master-local__scope_down_task"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PROJECT_DIR}/scripts/spec-guard.sh"
          }
        ]
      }
    ],
    "WorktreeRemove": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "jq -r '.tool_input.path // empty' | { read -r wt; [ -n \"$wt\" ] && git worktree remove --force \"$wt\" 2>/dev/null; git worktree prune 2>/dev/null; } || true"
          }
        ]
      }
    ]
  },
  "worktree": {
    "baseRef": "fresh",
    "symlinkDirectories": ["web-ui/node_modules"]
  }
}
