{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "exec_command",
        "hooks": [
          {
            "type": "command",
            "command": "bun ${PLUGIN_ROOT}/hooks/revela_material_notice.ts",
            "statusMessage": "Checking Revela material intake"
          }
        ]
      },
      {
        "matcher": "apply_patch",
        "hooks": [
          {
            "type": "command",
            "command": "bun ${PLUGIN_ROOT}/hooks/revela_guard.ts",
            "statusMessage": "Checking Revela controlled files"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "apply_patch",
        "hooks": [
          {
            "type": "command",
            "command": "bun ${PLUGIN_ROOT}/hooks/revela_post_write_notice.ts",
            "statusMessage": "Running Revela post-write QA"
          }
        ]
      }
    ]
  }
}
