{
  "$comment": "Generated from MSW-Git/msw-ai-coding-plugins-official by `npm run sync:official-pack`. Commands are normalized for ai-cli cross-agent fan-out.",
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/mlua-lsp/mlua-session-start.cjs\"",
            "timeout": 120
          }
        ]
      },
      {
        "matcher": "startup|resume",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/update-check/update-check.cjs\"",
            "timeout": 10
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/skill-router-reminder/skill-router-reminder.cjs\"",
            "timeout": 5
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/skill-read-guard/skill-read-guard.cjs\"",
            "timeout": 5
          },
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/structured-file-guard/structured-file-guard.cjs\"",
            "timeout": 5
          }
        ]
      },
      {
        "matcher": "Read|Edit|Write|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/structured-file-guard/structured-file-guard.cjs\"",
            "timeout": 5
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "apply_patch|Edit|MultiEdit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/mlua-lsp/mlua-diagnose-post-tool-use.cjs\"",
            "timeout": 120
          },
          {
            "type": "mcp_tool",
            "server": "msw-maker-mcp",
            "tool": "maker_refresh_workspace"
          }
        ]
      },
      {
        "matcher": "Read|Skill",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/skill-log/skill-log.cjs\"",
            "async": true,
            "timeout": 5
          }
        ]
      },
      {
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/mcp-log/mcp-log.cjs\"",
            "async": true,
            "timeout": 5
          }
        ]
      }
    ],
    "InstructionsLoaded": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/skill-log/skill-log.cjs\"",
            "async": true,
            "timeout": 5
          }
        ]
      }
    ],
    "SessionEnd": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node \"${HOOKS_ROOT}/scripts/mlua-lsp/mlua-session-end.cjs\"",
            "timeout": 20
          }
        ]
      }
    ]
  }
}
