[
  {
    "case": "refusal",
    "stopReason": "refusal",
    "runStatus": "failed",
    "providerTurnStatus": [
      "failed"
    ],
    "foregroundTools": [
      {
        "type": "command_execution",
        "status": "completed"
      },
      {
        "type": "command_execution",
        "status": "failed"
      }
    ],
    "child": null
  },
  {
    "case": "tokens",
    "stopReason": "max_tokens",
    "runStatus": "failed",
    "providerTurnStatus": [
      "failed"
    ],
    "foregroundTools": [
      {
        "type": "command_execution",
        "status": "completed"
      },
      {
        "type": "command_execution",
        "status": "failed"
      }
    ],
    "child": null
  },
  {
    "case": "requests",
    "stopReason": "max_turn_requests",
    "runStatus": "failed",
    "providerTurnStatus": [
      "failed"
    ],
    "foregroundTools": [
      {
        "type": "command_execution",
        "status": "completed"
      },
      {
        "type": "command_execution",
        "status": "failed"
      }
    ],
    "child": null
  },
  {
    "case": "fallback",
    "stopReason": "refusal",
    "runStatus": "failed",
    "providerTurnStatus": [
      "failed"
    ],
    "foregroundTools": [
      {
        "type": "command_execution",
        "status": "completed"
      }
    ],
    "child": null
  },
  {
    "case": "native",
    "stopReason": "refusal",
    "runStatus": "failed",
    "providerTurnStatus": [
      "failed"
    ],
    "foregroundTools": [
      {
        "type": "command_execution",
        "status": "completed"
      },
      {
        "type": "command_execution",
        "status": "failed"
      }
    ],
    "child": {
      "status": "failed",
      "reason": "The agent refused this request. The agent's next turn won't include this message or its reply.",
      "assistantReplies": []
    }
  },
  {
    "case": "claude",
    "stopReason": "max_tokens",
    "runStatus": "failed",
    "providerTurnStatus": [
      "failed"
    ],
    "foregroundTools": [
      {
        "type": "command_execution",
        "status": "completed"
      },
      {
        "type": "command_execution",
        "status": "failed"
      }
    ],
    "child": {
      "status": "failed",
      "reason": "The agent stopped because its reply reached the output token limit.",
      "assistantReplies": []
    }
  },
  {
    "case": "failedReply",
    "stopReason": "error",
    "runStatus": "failed",
    "providerTurnStatus": [
      "failed"
    ],
    "foregroundTools": [
      {
        "type": "command_execution",
        "status": "completed"
      },
      {
        "type": "command_execution",
        "status": "failed"
      }
    ],
    "child": {
      "status": "failed",
      "reason": "Synthetic child failure",
      "assistantReplies": []
    }
  }
]