Skip to content

[Bug]: iOS app lists cross-machine t3_thread_launch (delegatedFrom) threads as top-level Done threads while desktop and MCP hide them #41642

Duplicate

Description

@itsjeremyjohnson

Before submitting

Area

apps/mobile

Steps to reproduce

  1. Link two T3 Code environments: host A (0.1.10-nightly.20261112.4580, Linux x64) and host B (0.1.12-nightly.20261121.5024, Linux x64).
  2. From a thread on host A, launch child threads on host B over the environment link with t3_thread_launch carrying delegatedFrom pointing to the parent thread on host A (producing mcp:launch:<hash> threads on host B with parentThreadId: null, relationshipToParent: null, and delegatedFrom: { environmentId: <A>, threadId: <parent>, title: ... }).
  3. Let those child threads complete on host B, and settle the parent threads on host A.
  4. Compare the thread list on desktop/web and t3_thread_list(includeSubagents: false, settled: false) against the T3 Code iOS app (Alpha).

Expected behavior

Desktop/web, MCP (includeSubagents: false), and the iOS mobile app should agree on which threads are visible in the top-level Threads list. Cross-machine delegated mcp:launch:* threads that are hidden as subagents on desktop/MCP should not leak into the top-level mobile Threads list as standalone unsettled "Done" rows, and settling the parent on host A should not leave orphaned unsettled remote children surfacing on mobile.

Actual behavior

All 8 completed cross-machine mcp:launch:* threads on host B appeared as standalone top-level Done threads in the T3 Code iOS app's main Threads list, while none of them appeared on desktop or in t3_thread_list(allProjects: true, includeSubagents: false, settled: false) on host B.

Related context:

Impact

Minor bug or occasional failure

Version or commit

Host B (target): 0.1.12-nightly.20261121.5024 (Linux x64)
Host A (origin): 0.1.10-nightly.20261112.4580 (Linux x64)
Client: T3 Code iOS (Alpha)

Environment

Two linked Linux x64 T3 Code servers (0.1.12-nightly.20261121.5024 and 0.1.10-nightly.20261112.4580) viewed from T3 Code iOS (Alpha) and desktop/web.

Logs or stack traces

{
  "threadId": "mcp:launch:<redacted>",
  "createdBy": "agent",
  "creationSource": "mcp",
  "status": "completed",
  "settled": false,
  "parentThreadId": null,
  "relationshipToParent": null,
  "delegatedFrom": {
    "environmentId": "<host-a-env-id>",
    "threadId": "mcp:launch:<parent-redacted>",
    "title": "<parent thread title>"
  }
}
  • t3_thread_list(allProjects: true, includeSubagents: false, settled: false) on host B returned 6 threads (0 of the 8 delegatedFrom threads).
  • t3_thread_list(allProjects: true, includeSubagents: true, settled: false) on host B returned all 8 delegatedFrom threads with parentThreadId: null and settled: false.
  • All 8 appeared as top-level "Done" items on iOS mobile until manually settled on host B.

Workaround

List unsettled threads with includeSubagents: true on the target host, filter for entries with delegatedFrom set and status: "completed", and settle each one individually via t3_thread_organize(action: "settle").

Activity

  1. juliusmarminge commented on Nov 23, 2026

    @juliusmarminge
    Member

    @itsjeremyjohnson In the iOS app, is host A (the machine the parent threads live on) also added and connected, so its threads show up in the app, or is the app only connected to host B?

  2. added
    needs more info
    on Nov 23, 2026
  3. itsjeremyjohnson commented on Nov 26, 2026

    @itsjeremyjohnson
    Author

    @juliusmarminge Yes — host A is also added and connected in the same iOS app, and host A's threads were showing up in the same Threads list at the time (there was an unsettled host A thread visible in the same list right alongside the 8 host B delegatedFrom threads).

    One detail that may help: the parent threads on host A had already been settled earlier (so those parents were no longer in the active/unsettled list), while their cross-machine delegatedFrom child threads on host B remained unsettled and appeared as standalone top-level Done rows on iOS — whereas desktop and t3_thread_list(includeSubagents: false, settled: false) still hid them.

  4. removed
    needs more info
    on Nov 26, 2026
  5. juliusmarminge commented on Nov 26, 2026

    @juliusmarminge
    Member

    This is the same problem as #42197, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions