{
  "revision": "313ca2715f",
  "fixture": "Claude CLI stdio fixture through real dev server, not a live exhausted gateway",
  "threadId": "d6949668-50be-4896-8238-7460181b716e",
  "runs": [
    {
      "id": "run:thread:d6949668-50be-4896-8238-7460181b716e:ordinal:1",
      "threadId": "d6949668-50be-4896-8238-7460181b716e",
      "ordinal": 1,
      "providerInstanceId": "claudeAgent",
      "modelSelection": {
        "instanceId": "claudeAgent",
        "model": "claude-opus-5-5",
        "options": [
          {
            "id": "fastMode",
            "value": false
          }
        ]
      },
      "providerThreadId": "provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A1",
      "userMessageId": "c05749de-baf1-4f4c-9359-8115273d81dc",
      "rootNodeId": "node:run:run%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A1:root",
      "activeAttemptId": "run-attempt:run:run%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A1:attempt:1",
      "status": "failed",
      "queuePosition": null,
      "requestedAt": "2026-10-25T22:16:20.608Z",
      "startedAt": "2026-10-25T22:16:20.850Z",
      "completedAt": "2026-10-25T22:16:21.558Z",
      "checkpointId": null,
      "contextHandoffId": null,
      "workspacePreparation": {
        "type": "root",
        "branch": "fix/issue-25021"
      }
    },
    {
      "id": "run:thread:d6949668-50be-4896-8238-7460181b716e:ordinal:2",
      "threadId": "d6949668-50be-4896-8238-7460181b716e",
      "ordinal": 2,
      "providerInstanceId": "claudeAgent",
      "modelSelection": {
        "instanceId": "claudeAgent",
        "model": "claude-opus-5-5",
        "options": [
          {
            "id": "fastMode",
            "value": false
          }
        ]
      },
      "providerThreadId": "provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A1",
      "userMessageId": "message:thread:d6949668-50be-4896-8238-7460181b716e:ordinal:1:8a40eb3f-c194-4f95-9fac-d00e7303543c",
      "rootNodeId": "node:run:run%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A2:root",
      "activeAttemptId": "run-attempt:run:run%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A2:attempt:1",
      "status": "failed",
      "queuePosition": null,
      "requestedAt": "2026-10-25T22:16:22.543Z",
      "startedAt": "2026-10-25T22:16:22.603Z",
      "completedAt": "2026-10-25T22:16:23.005Z",
      "checkpointId": null,
      "contextHandoffId": null,
      "workStartedAt": "2026-10-25T22:16:20.850Z"
    }
  ],
  "errors": [
    {
      "id": "turn-item:provider:claudeAgent:native-item:terminal-failure%3Aprovider-turn%3Aprovider%3AclaudeAgent%3Anative-turn%3Aturn%253Arun-attempt%253Arun%253Arun%25253Athread%25253Ad6949668-50be-4896-8238-7460181b716e%25253Aordinal%25253A1%253Aattempt%253A1",
      "threadId": "d6949668-50be-4896-8238-7460181b716e",
      "runId": "run:thread:d6949668-50be-4896-8238-7460181b716e:ordinal:1",
      "nodeId": "node:run:run%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A1:root",
      "providerThreadId": "provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A1",
      "providerTurnId": "provider-turn:provider:claudeAgent:native-turn:turn%3Arun-attempt%3Arun%3Arun%253Athread%253Ad6949668-50be-4896-8238-7460181b716e%253Aordinal%253A1%3Aattempt%3A1",
      "nativeItemRef": null,
      "parentItemId": null,
      "ordinal": 1000003,
      "status": "failed",
      "title": "Usage limit reached",
      "startedAt": "2026-10-25T22:16:21.555Z",
      "completedAt": "2026-10-25T22:16:21.555Z",
      "updatedAt": "2026-10-25T22:16:21.555Z",
      "type": "error",
      "failure": {
        "class": "usage_limit",
        "message": "Claude API rate limit reached. Try again later.",
        "code": "api_error_429",
        "retryable": true,
        "resetAt": "2026-10-25T22:16:31.529Z"
      }
    },
    {
      "id": "turn-item:provider:claudeAgent:native-item:terminal-failure%3Aprovider-turn%3Aprovider%3AclaudeAgent%3Anative-turn%3Aturn%253Arun-attempt%253Arun%253Arun%25253Athread%25253Ad6949668-50be-4896-8238-7460181b716e%25253Aordinal%25253A2%253Aattempt%253A1",
      "threadId": "d6949668-50be-4896-8238-7460181b716e",
      "runId": "run:thread:d6949668-50be-4896-8238-7460181b716e:ordinal:2",
      "nodeId": "node:run:run%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A2:root",
      "providerThreadId": "provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Ad6949668-50be-4896-8238-7460181b716e%3Aordinal%3A1",
      "providerTurnId": "provider-turn:provider:claudeAgent:native-turn:turn%3Arun-attempt%3Arun%3Arun%253Athread%253Ad6949668-50be-4896-8238-7460181b716e%253Aordinal%253A2%3Aattempt%3A1",
      "nativeItemRef": null,
      "parentItemId": null,
      "ordinal": 2000002,
      "status": "failed",
      "title": "Usage limit reached",
      "startedAt": "2026-10-25T22:16:23.003Z",
      "completedAt": "2026-10-25T22:16:23.003Z",
      "updatedAt": "2026-10-25T22:16:23.003Z",
      "type": "error",
      "failure": {
        "class": "usage_limit",
        "message": "Claude API rate limit reached. Try again later.",
        "code": "api_error_429",
        "retryable": true,
        "resetAt": "2026-10-25T22:17:22.987Z"
      }
    }
  ],
  "frames": [
    {
      "at": "2026-10-25T22:16:21.522Z",
      "frame": {
        "uuid": "1f44c49f-3091-42a6-b8b4-64e305f30217",
        "session_id": "f077b41a-c01c-4906-9e37-dd25f81c2fb6",
        "type": "control_response",
        "response": {
          "subtype": "success",
          "request_id": "aecj4rug5mv",
          "response": {
            "commands": [],
            "models": [],
            "account": {}
          }
        }
      }
    },
    {
      "at": "2026-10-25T22:16:21.524Z",
      "frame": {
        "uuid": "aa722a74-8bef-4e8e-a657-f2b4c221788a",
        "session_id": "f077b41a-c01c-4906-9e37-dd25f81c2fb6",
        "type": "control_response",
        "response": {
          "subtype": "success",
          "request_id": "6dfu554opu7",
          "response": {
            "added": [],
            "removed": [],
            "errors": {}
          }
        }
      }
    },
    {
      "at": "2026-10-25T22:16:21.527Z",
      "frame": {
        "uuid": "0f74e4a8-1e1f-4dce-9237-9b5973d0c6b8",
        "session_id": "f077b41a-c01c-4906-9e37-dd25f81c2fb6",
        "type": "system",
        "subtype": "init"
      }
    },
    {
      "at": "2026-10-25T22:16:21.527Z",
      "frame": {
        "uuid": "15f7cafe-e311-44d1-aabc-66e732587b1d",
        "session_id": "f077b41a-c01c-4906-9e37-dd25f81c2fb6",
        "type": "system",
        "subtype": "task_started",
        "task_id": "repro-background",
        "tool_use_id": "toolu_repro",
        "description": "Controlled background command",
        "is_backgrounded": true,
        "task_type": "local_bash"
      }
    },
    {
      "at": "2026-10-25T22:16:21.527Z",
      "frame": {
        "uuid": "2dad64b4-1080-4e26-8ccc-006371034739",
        "session_id": "f077b41a-c01c-4906-9e37-dd25f81c2fb6",
        "type": "result",
        "subtype": "success",
        "duration_ms": 10,
        "duration_api_ms": 10,
        "is_error": true,
        "num_turns": 1,
        "result": "API Error: 503 [cpa/claude-opus-5-5] [429]: {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"All credentials cooling down\"}} (reset after 10s).",
        "stop_reason": "end_turn",
        "total_cost_usd": 0,
        "usage": {
          "input_tokens": 1,
          "output_tokens": 1,
          "cache_creation_input_tokens": 0,
          "cache_read_input_tokens": 0
        },
        "modelUsage": {},
        "permission_denials": [],
        "terminal_reason": "api_error",
        "api_error_status": 503
      }
    },
    {
      "at": "2026-10-25T22:16:22.529Z",
      "frame": {
        "uuid": "60f4ec26-64b2-46a6-83b9-cce938422dbf",
        "session_id": "f077b41a-c01c-4906-9e37-dd25f81c2fb6",
        "type": "system",
        "subtype": "task_notification",
        "task_id": "repro-background",
        "tool_use_id": "toolu_repro",
        "status": "completed",
        "output_file": "/tmp/issue-25021/task.output",
        "summary": "Background command completed"
      }
    },
    {
      "at": "2026-10-25T22:16:22.529Z",
      "frame": {
        "uuid": "b535b4d7-0ab2-4afd-947f-8692ea8cf411",
        "session_id": "f077b41a-c01c-4906-9e37-dd25f81c2fb6",
        "type": "result",
        "subtype": "success",
        "duration_ms": 10,
        "duration_api_ms": 10,
        "is_error": true,
        "num_turns": 1,
        "result": "API Error: 503 [cpa/claude-opus-5-5] [429]: {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"All credentials cooling down\"}} (reset after 1m).",
        "stop_reason": "end_turn",
        "total_cost_usd": 0,
        "usage": {
          "input_tokens": 1,
          "output_tokens": 1,
          "cache_creation_input_tokens": 0,
          "cache_read_input_tokens": 0
        },
        "modelUsage": {},
        "permission_denials": [],
        "terminal_reason": "api_error",
        "origin": {
          "kind": "task-notification"
        },
        "api_error_status": 503
      }
    }
  ]
}