{
  "hooks": {
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node ai/commands/codex-hook.mjs --codex-stdin UserPromptSubmit",
            "timeout": 10,
            "statusMessage": "Registering Runtime work intent"
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Bash|exec_command|functions.exec_command|write_stdin|functions.write_stdin|apply_patch|functions.apply_patch|Edit|Write|multi_tool_use.parallel|mcp__.*",
        "hooks": [
          {
            "type": "command",
            "command": "node ai/commands/codex-hook.mjs --codex-stdin PreToolUse",
            "timeout": 10,
            "statusMessage": "Checking Runtime work registration"
          }
        ]
      }
    ],
    "PermissionRequest": [
      {
        "matcher": "Bash|exec_command|functions.exec_command|write_stdin|functions.write_stdin|apply_patch|functions.apply_patch|Edit|Write|multi_tool_use.parallel|mcp__.*",
        "hooks": [
          {
            "type": "command",
            "command": "node ai/commands/codex-hook.mjs --codex-stdin PermissionRequest",
            "timeout": 10,
            "statusMessage": "Checking Runtime work policy"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Bash|exec_command|functions.exec_command|write_stdin|functions.write_stdin|apply_patch|functions.apply_patch|Edit|Write|multi_tool_use.parallel|mcp__.*",
        "hooks": [
          {
            "type": "command",
            "command": "node ai/commands/codex-hook.mjs --codex-stdin PostToolUse",
            "timeout": 10,
            "statusMessage": "Recording Runtime work evidence"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node ai/commands/codex-hook.mjs --codex-stdin Stop",
            "timeout": 10,
            "statusMessage": "Recording Runtime work stop"
          }
        ]
      }
    ]
  }
}
