{
  "initial": {
    "t3_thread_list_includeSubagents_true": {
      "projectId": null,
      "currentThreadId": null,
      "threads": [
        {
          "threadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Parent archive demonstration",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/mcp%3Abf7e6553-1e8f-4b51-870d-c3a915145945",
          "createdBy": "agent",
          "creationSource": "mcp",
          "status": "completed",
          "latestRunId": "run:thread:mcp%3Abf7e6553-1e8f-4b51-870d-c3a915145945:ordinal:3",
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": false,
          "settledAt": null,
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": null,
          "relationshipToParent": null,
          "itemCount": 15,
          "createdAt": "2026-11-13T07:14:13.236Z",
          "updatedAt": "2026-11-13T07:27:38.056Z"
        },
        {
          "threadId": "thread:subagent:4789b56efd44e4bd",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Deep leaf",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3A4789b56efd44e4bd",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:21:36.760Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "relationshipToParent": "subagent",
          "itemCount": 2,
          "createdAt": "2026-11-13T07:19:00.071Z",
          "updatedAt": "2026-11-13T07:21:36.760Z"
        },
        {
          "threadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Reply OK grandchild",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Adelegated-task%3Acommand%253Amcp%253Ab555cd58-96e8-41de-8943-17d853c6608c%253Adelegate-task%253A410d85b9-9d93-4690-b1ee-403da0323683",
          "createdBy": "agent",
          "creationSource": "mcp",
          "status": "completed",
          "latestRunId": "run:thread:thread%3Adelegated-task%3Acommand%253Amcp%253Ab555cd58-96e8-41de-8943-17d853c6608c%253Adelegate-task%253A410d85b9-9d93-4690-b1ee-403da0323683:ordinal:2",
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.316Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 7,
          "createdAt": "2026-11-13T07:14:25.705Z",
          "updatedAt": "2026-11-13T07:20:20.316Z"
        },
        {
          "threadId": "thread:subagent:5d19edec5a4a2b6b",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Reply OK child",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3A5d19edec5a4a2b6b",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.314Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 3,
          "createdAt": "2026-11-13T07:14:20.968Z",
          "updatedAt": "2026-11-13T07:20:20.314Z"
        },
        {
          "threadId": "thread:subagent:d5b6452efaa45269",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Nested branch",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3Ad5b6452efaa45269",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.282Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 3,
          "createdAt": "2026-11-13T07:17:57.140Z",
          "updatedAt": "2026-11-13T07:20:20.282Z"
        }
      ],
      "nextCursor": null,
      "total": 5
    },
    "persistedThreadState": [
      {
        "id": "thread:subagent:4789b56efd44e4bd",
        "title": "Deep leaf",
        "lineage": {
          "parentThreadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "thread:subagent:b2b5ac8f05ec0554",
        "title": "Keep archived child",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": "2026-11-13T07:19:33.970Z",
        "creationSource": "provider"
      },
      {
        "id": "thread:subagent:d5b6452efaa45269",
        "title": "Nested branch",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
        "title": "Parent archive demonstration",
        "lineage": {
          "parentThreadId": null,
          "relationshipToParent": null,
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "mcp"
      },
      {
        "id": "thread:subagent:5d19edec5a4a2b6b",
        "title": "Reply OK child",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
        "title": "Reply OK grandchild",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "mcp"
      }
    ]
  },
  "archived": {
    "t3_thread_list_includeSubagents_true": {
      "projectId": null,
      "currentThreadId": null,
      "threads": [
        {
          "threadId": "thread:subagent:4789b56efd44e4bd",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Deep leaf",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3A4789b56efd44e4bd",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:21:36.760Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "relationshipToParent": "subagent",
          "itemCount": 2,
          "createdAt": "2026-11-13T07:19:00.071Z",
          "updatedAt": "2026-11-13T07:21:36.760Z"
        },
        {
          "threadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Reply OK grandchild",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Adelegated-task%3Acommand%253Amcp%253Ab555cd58-96e8-41de-8943-17d853c6608c%253Adelegate-task%253A410d85b9-9d93-4690-b1ee-403da0323683",
          "createdBy": "agent",
          "creationSource": "mcp",
          "status": "completed",
          "latestRunId": "run:thread:thread%3Adelegated-task%3Acommand%253Amcp%253Ab555cd58-96e8-41de-8943-17d853c6608c%253Adelegate-task%253A410d85b9-9d93-4690-b1ee-403da0323683:ordinal:2",
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.316Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 7,
          "createdAt": "2026-11-13T07:14:25.705Z",
          "updatedAt": "2026-11-13T07:20:20.316Z"
        },
        {
          "threadId": "thread:subagent:5d19edec5a4a2b6b",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Reply OK child",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3A5d19edec5a4a2b6b",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.314Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 3,
          "createdAt": "2026-11-13T07:14:20.968Z",
          "updatedAt": "2026-11-13T07:20:20.314Z"
        },
        {
          "threadId": "thread:subagent:d5b6452efaa45269",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Nested branch",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3Ad5b6452efaa45269",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.282Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 3,
          "createdAt": "2026-11-13T07:17:57.140Z",
          "updatedAt": "2026-11-13T07:20:20.282Z"
        }
      ],
      "nextCursor": null,
      "total": 4
    },
    "persistedThreadState": [
      {
        "id": "thread:subagent:4789b56efd44e4bd",
        "title": "Deep leaf",
        "lineage": {
          "parentThreadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "thread:subagent:b2b5ac8f05ec0554",
        "title": "Keep archived child",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": "2026-11-13T07:19:33.970Z",
        "creationSource": "provider"
      },
      {
        "id": "thread:subagent:d5b6452efaa45269",
        "title": "Nested branch",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
        "title": "Parent archive demonstration",
        "lineage": {
          "parentThreadId": null,
          "relationshipToParent": null,
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": "2026-11-13T07:30:13.088Z",
        "creationSource": "mcp"
      },
      {
        "id": "thread:subagent:5d19edec5a4a2b6b",
        "title": "Reply OK child",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
        "title": "Reply OK grandchild",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "mcp"
      }
    ]
  },
  "restored": {
    "t3_thread_list_includeSubagents_true": {
      "projectId": null,
      "currentThreadId": null,
      "threads": [
        {
          "threadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Parent archive demonstration",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/mcp%3Abf7e6553-1e8f-4b51-870d-c3a915145945",
          "createdBy": "agent",
          "creationSource": "mcp",
          "status": "completed",
          "latestRunId": "run:thread:mcp%3Abf7e6553-1e8f-4b51-870d-c3a915145945:ordinal:3",
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": false,
          "settledAt": null,
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": null,
          "relationshipToParent": null,
          "itemCount": 15,
          "createdAt": "2026-11-13T07:14:13.236Z",
          "updatedAt": "2026-11-13T07:30:22.671Z"
        },
        {
          "threadId": "thread:subagent:4789b56efd44e4bd",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Deep leaf",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3A4789b56efd44e4bd",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:21:36.760Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "relationshipToParent": "subagent",
          "itemCount": 2,
          "createdAt": "2026-11-13T07:19:00.071Z",
          "updatedAt": "2026-11-13T07:21:36.760Z"
        },
        {
          "threadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Reply OK grandchild",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Adelegated-task%3Acommand%253Amcp%253Ab555cd58-96e8-41de-8943-17d853c6608c%253Adelegate-task%253A410d85b9-9d93-4690-b1ee-403da0323683",
          "createdBy": "agent",
          "creationSource": "mcp",
          "status": "completed",
          "latestRunId": "run:thread:thread%3Adelegated-task%3Acommand%253Amcp%253Ab555cd58-96e8-41de-8943-17d853c6608c%253Adelegate-task%253A410d85b9-9d93-4690-b1ee-403da0323683:ordinal:2",
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.316Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 7,
          "createdAt": "2026-11-13T07:14:25.705Z",
          "updatedAt": "2026-11-13T07:20:20.316Z"
        },
        {
          "threadId": "thread:subagent:5d19edec5a4a2b6b",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Reply OK child",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3A5d19edec5a4a2b6b",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.314Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 3,
          "createdAt": "2026-11-13T07:14:20.968Z",
          "updatedAt": "2026-11-13T07:20:20.314Z"
        },
        {
          "threadId": "thread:subagent:d5b6452efaa45269",
          "projectId": "e29687e0-7625-4b7c-a163-41eb14e2cc39",
          "title": "Nested branch",
          "link": "https://app.t3.codes/threads/3ca5dad9-c08a-43e2-aaa2-d81c8c600b3b/thread%3Asubagent%3Ad5b6452efaa45269",
          "createdBy": "agent",
          "creationSource": "provider",
          "status": "idle",
          "latestRunId": null,
          "providerInstanceId": "opencode",
          "model": "openai/gpt-6-luna",
          "runtimeMode": "full-access",
          "interactionMode": "default",
          "linkedPullRequest": null,
          "pullRequests": [],
          "pullRequestCount": 0,
          "settled": true,
          "settledAt": "2026-11-13T07:20:20.282Z",
          "snoozed": false,
          "snoozedUntil": null,
          "blockedOnThreadWait": false,
          "pendingBackgroundTasks": [],
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "itemCount": 3,
          "createdAt": "2026-11-13T07:17:57.140Z",
          "updatedAt": "2026-11-13T07:20:20.282Z"
        }
      ],
      "nextCursor": null,
      "total": 5
    },
    "persistedThreadState": [
      {
        "id": "thread:subagent:4789b56efd44e4bd",
        "title": "Deep leaf",
        "lineage": {
          "parentThreadId": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "thread:subagent:b2b5ac8f05ec0554",
        "title": "Keep archived child",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": "2026-11-13T07:19:33.970Z",
        "creationSource": "provider"
      },
      {
        "id": "thread:subagent:d5b6452efaa45269",
        "title": "Nested branch",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
        "title": "Parent archive demonstration",
        "lineage": {
          "parentThreadId": null,
          "relationshipToParent": null,
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "mcp"
      },
      {
        "id": "thread:subagent:5d19edec5a4a2b6b",
        "title": "Reply OK child",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "provider"
      },
      {
        "id": "thread:delegated-task:command%3Amcp%3Ab555cd58-96e8-41de-8943-17d853c6608c%3Adelegate-task%3A410d85b9-9d93-4690-b1ee-403da0323683",
        "title": "Reply OK grandchild",
        "lineage": {
          "parentThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945",
          "relationshipToParent": "subagent",
          "rootThreadId": "mcp:bf7e6553-1e8f-4b51-870d-c3a915145945"
        },
        "archivedAt": null,
        "creationSource": "mcp"
      }
    ]
  }
}