{
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "timeout": 5,
            "command": "sh \"$CLAUDE_PROJECT_DIR/.claude/skills/agentic-traffic-control/scripts/atc-session-start\""
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "PostToolUse": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "PostToolUseFailure": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "PermissionRequest": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "PermissionDenied": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "Notification": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "SubagentStart": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "SubagentStop": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "PreCompact": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "Stop": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "StopFailure": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ],
    "SessionEnd": [
      { "hooks": [ { "type": "http", "url": "https://agentictrafficcontrol.com/v1/hooks/claude", "timeout": 5, "headers": { "Authorization": "Bearer $ATC_TOKEN", "X-ATC-Ticket": "$ATC_TICKET", "X-ATC-Runtime": "$ATC_RUNTIME" }, "allowedEnvVars": ["ATC_TOKEN", "ATC_TICKET", "ATC_RUNTIME"] } ] }
    ]
  }
}
