iiRecord
Agentic AI Atlas · StopFailure (Claude Code)
hook-surface:claude.stop-failurea5c.ai
II.
HookSurface JSON

hook-surface:claude.stop-failure

Structured · live

StopFailure (Claude Code) json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yamlCluster · channels-hooks
Record JSON
{
  "id": "hook-surface:claude.stop-failure",
  "_kind": "HookSurface",
  "_file": "channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yaml",
  "_cluster": "channels-hooks",
  "attributes": {
    "eventName": "StopFailure (Claude Code)",
    "displayName": "StopFailure (Claude Code)",
    "kind": "native",
    "originVendor": "Anthropic",
    "direction": "post",
    "blocking": false,
    "family": "observer",
    "payloadSchema": {
      "type": "object",
      "required": [
        "hook_event_name",
        "error_type",
        "error_message"
      ],
      "properties": {
        "hook_event_name": {
          "type": "string",
          "const": "StopFailure"
        },
        "error_type": {
          "type": "string",
          "enum": [
            "rate_limit",
            "authentication_failed",
            "oauth_org_not_allowed",
            "billing_error",
            "invalid_request",
            "server_error",
            "max_output_tokens",
            "unknown"
          ]
        },
        "error_message": {
          "type": "string"
        }
      }
    },
    "description": "Fires when a turn ends due to an API error (rate limit, auth, billing,\nserver error, etc.). Non-blocking — for telemetry / alerting only.\nOutput and exit code are ignored. Matcher accepts the error_type\nenum value.\n"
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "agent-runtime-impl:claude-code.runtime@1.x",
      "to": "hook-surface:claude.stop-failure",
      "kind": "exposes",
      "attributes": {}
    },
    {
      "from": "hook-mapping:claude-stop-failure",
      "to": "hook-surface:claude.stop-failure",
      "kind": "maps_hook",
      "attributes": {}
    }
  ]
}