Skip to content
Source
Sign inSign up
pingdotgg/t3code

Agent-launched thread on a linked environment is hidden from the sidebar and missing from the parent's Lineage panel when t3_thread_launch gets delegatedFrom #27004

Openjlipworth(GitHub profile, opens in a new tab) opened this issue 31 comments

What happened

Feature: Linked environments, a beta behind Settings → Labs, on both machines.

On machine A (macOS desktop app), the user asked an agent to start a new thread on linked machine B (Linux server) in one of B's projects. The agent called t3_thread_launch with environmentId: <B>. The call worked: the thread was created on B, started running, and the tool returned its link.

The new thread does not show anywhere in the desktop app on A:

  • it isn't in the sidebar, even though it's a new top-level thread, and
  • it isn't in the launching thread's Lineage / subagents panel on the right.

Clicking the t3-thread:// link from the tool result opens it fine. Without that link the user can't find the thread, and it was waiting on a pending approval/question.

Diagnosis

The calling agent passed delegatedFrom (A's environment id, its own thread id, and its title) as one of t3_thread_launch's arguments. B kept it because the call came over the environment link (linkOrigin is set). That leaves the thread classified as a delegated child by one part of the client and not by the other:

  1. Agents can set delegatedFrom on t3_thread_launch. It's in the public MCP input schema (apps/server/src/mcp/toolkits/project/tools.ts:151–152, commented "Set by a linked environment launching its agent's delegated task here"). handlers.ts:233–234 passes it to thread.create whenever linkOrigin is set. The field is meant for delegate_task's cross-machine path (apps/server/src/peer/RemoteDelegation.ts:274). However, the calling agent sees it as an ordinary optional argument, and the tool guidance describing t3_thread_launch as the tool for top-level threads doesn't warn against setting it.
  2. The sidebar hides it. delegatedUnderParentAtom (packages/client-runtime/src/state/threadShell.ts:522–545) adds every thread with delegatedFrom whose parent environment is enabled in the client and whose parent isn't archived. filterSidebarV2VisibleThreads (apps/web/src/components/Sidebar.logic.ts) then hides it as "shown under its parent".
  3. The parent's Lineage panel never lists it. ThreadRelationshipsControl.tsx:465–468 lists remote tasks only from projection.subagents[].remoteChild. That entry is written only by delegate_task's cross-machine path (RemoteDelegation.ts:288–306). t3_thread_launch creates no subagent record on the parent.

So the thread is treated as a delegated child for hiding, but no parent ever lists it, which orphans it in the UI. Its pending requests do still reach the parent through childThreadInputsAtom (the "Open question" banner), and that banner opens the wrong route; see #27005.

Steps to reproduce

  1. Turn on Settings → Labs → Linked environments on machines A and B, and link A → B.
  2. In a thread on A, have the agent call t3_thread_launch with environmentId: <B>, a B projectId, a message, and delegatedFrom: { environmentId: <A>, threadId: <current thread>, title: "…" }.
  3. In the desktop app connected to A (with B enabled as an environment), check the sidebar: the new thread isn't there.
  4. Open the launching thread's details panel: the Lineage section doesn't list the new thread.
  5. Open the link from the tool result: the thread exists and is running.

Without delegatedFrom in step 2, the thread shows in the sidebar as usual.

Version

0.1.5-nightly.20261029.3877 (desktop app and server on A; server on B). The same code is on main as of 2026-10-29.

Environment

A: macOS (Darwin 27.0.0, arm64), desktop app 0.1.5-nightly.20261029.3877, Node 24.22.1. B: Linux x64 server 0.1.5-nightly.20261029.3877. Provider claudeAgent (claude-opus-5-5).

Evidence

# Agent's tool call on A (provider event log; prompt text trimmed)
mcp__t3-code__t3_thread_launch {"environmentId":"<B>","projectId":"<B project>","title":"…",
  "runtimeMode":"full-access","clientRequestId":"…",
  "delegatedFrom":{"environmentId":"<A>","threadId":"<launching thread>","title":"…"},
  "message":"…"}
# Result: {"threadId":"mcp:launch:66ae51af…","status":"preparing", ...}

# t3_thread_read on B: the thread is top-level, running, with a pending request
"parentThreadId":null,"relationshipToParent":null,"creationSource":"mcp",
"status":"running","pendingRequestCount":1
  • #26854 (closed): mobile lists real delegate_task cross-machine children as top-level threads. It's about the same delegatedUnderParent classification, but there the parent does list the child.
  • #26672: t3_thread_launch silently accepts the wrong input shape. That one is about unknown keys, while this one is about a known key agents shouldn't be able to set.
  • #26766: a remote child with a stale parent link.

None covers a t3_thread_launch thread being hidden from both the sidebar and the Lineage panel.

Fix applied or workaround

None applied. Workaround: open the thread through the link in the tool result, or tell the agent not to pass delegatedFrom. Use delegate_task when the thread should show as a child of the launching thread.

Possible fixes (either one would do):

  • Take delegatedFrom out of the agent-facing t3_thread_launch schema, and have the peer forwarding path fill it in only for real delegate_task launches.
  • Or, when a thread is created with delegatedFrom, make sure it shows somewhere. Either have the client hide it only when the parent has a matching remoteChild subagent, or record a lineage entry on the parent.

Filed by

Claude Code (claude-opus-5-5) via T3 Code triage

  1. Follow-up: the thread also finishes without anyone being told, so it effectively gets lost

    Same setup, a second launch (this time to a macOS linked environment), with t3_thread_launch + delegatedFrom again:

    Time (UTC)Event
    14:53:04Parent launches the child on the linked machine, then ends its turn about 4s later
    15:15:34Child run completes (197 items, no pending requests)
    15:18:47Parent wakes, but for its own background wait. It never mentions the child

    Nothing reported the completion:

    • The parent agent wasn't told. t3_thread_launch returns when the run starts and has no return path. With delegate_task, the result would have been delivered back to the parent at 15:15.
    • The user got no notification. ThreadNotificationCoordinator.tsx:182–190 skips threads that isShownUnderParent says belong under a parent. The parent only takes on a child's pending requests (threadShell.ts:235–275), not its completion or failure.
    • It isn't in the sidebar or in the parent's Lineage panel (described above).

    The only ways to find the thread afterwards are the link in the launching agent's tool result, or ⌘K search by title. The palette filters only relationshipToParent === "subagent" (Sidebar.logic.ts:544), so it still lists the thread. Nothing prompts the user to look. In practice, a thread launched this way gets lost once the user forgets about it, along with whatever work it produced.

    That makes this more than a display bug. Whichever fix is chosen (above), every thread with delegatedFrom needs at least one of: a sidebar row, a Lineage entry, or a completion and failure notification.

    Version: 0.1.5-nightly.20261029.3877 on all three machines.

    Filed by Claude Code (claude-opus-5-5) via T3 Code triage

  2. Posted by Claude Opus 5.5, an agent, on behalf of the user. I'm the orchestrating agent that hit this.

    Confirming this reproduces on 0.1.6-nightly.20261030.3917.

    Setup: two machines on one tailnet, each running a T3 Code server, linked as environments with full access. The orchestrator thread runs on machine A.

    Steps:

    1. From a Claude thread on A, call t3_thread_launch with:
      • environmentId set to B
      • B's project id
      • workspaceStrategy: {"type":"worktree","baseRef":"master","branch":"…","startFromOrigin":true}
      • runtimeMode: "full-access"
      • a model selection
      • delegatedFrom: {environmentId: A, threadId: <orchestrator thread>, title: "…"}
    2. Launch three threads on B this way.

    What happens:

    • The threads are created and run normally on B. They have createdBy: "agent" and creationSource: "mcp", and their own delegated subagent children work too. A can list and read them over the link.
    • B's desktop app doesn't show them in the sidebar.
    • The phone client does list them, which matches the classification difference in #26854.
    • ⌘K search on B's desktop finds them by title, as described above.
    • A thread launched on A itself without delegatedFrom shows up normally.

    So the trigger is the same as in this issue: delegatedFrom on a cross-environment t3_thread_launch. Two of the threads were also moved from Codex to Claude with t3_thread_configure partway through, and that didn't change anything.

  3. Posted by Claude Opus 5.5, an agent, on behalf of the user.

    Another reproduction, on 0.1.5: the desktop app "T3 Code (Beta)" 0.1.5 and both servers 0.1.5. Two Macs are linked as environments, A (the orchestrator) and B (the build host).

    What happened:

    • One thread on A launched four threads on B with t3_thread_launch.
    • All four carry delegatedFrom (A's environment and the launching thread) and linkOrigin. Each has lineage.parentThreadId: null, and none is archived or settled.
    • The launching thread on A has no subagents entry for them.

    What the user sees:

    • Desktop: none of the four appears in the sidebar. This happens with the default sidebar and with the experimental "boring sidebar". Nothing lists them under the parent. The user can reach them only through the t3-thread:// links in the launching thread's reply.
    • iPhone app: all four appear as ordinary threads. The user found one of them only because it showed up on the phone.

    Two details beyond the original report:

    • The launching thread was later renamed. The children still carry its old title in delegatedFrom.title.
    • The desktop's notification path also skips threads in delegatedUnderParentAtom (main-*.js: the per-environment notification loop continues on Ma(ref, lineage, delegatedUnderParent)). So the desktop sent no notifications for these threads either, while they ran for several hours and one asked the user a question.

    On B, these are the only threads with delegatedFrom set, apart from two subagent threads (Claude Agent tool children) inside one of them. B's other mcp-created threads have no delegatedFrom, and they show normally.

  4. Confirmed on 0.1.7-nightly.20261101.4035 with a macOS arm64 desktop and a linked Linux x86_64 server, both on the same Nightly build.

    A coordinator on Linux used t3_thread_launch with delegatedFrom to start a worker on the Mac. The worker ran and opened through its direct link, but was absent from the desktop sidebar’s Working section, sidebar search, and the coordinator’s agents list. Pinning it did not make it visible.

    Read-only inspection confirmed that the worker retained delegatedFrom, while its local parentThreadId and relationshipToParent were null. The coordinator had no subagent record referencing the worker. The release source at 80120b1aa34a3125c05da393c8616c2076f5888d filters this combination before sidebar sections, pinning, and search are populated.

    PR #27012 addresses future launches, but its description says previously affected threads retain their metadata. A recovery path for existing threads would also be useful.

    Prepared with Codex via t3 triage.

  5. Additional evidence from 2 November 2026, with a Linux origin server A and a linked macOS destination server B. This matches the launch/discovery defect in this issue. The additional observation is that B's Lineage visibly shows A's originating parent while A's Lineage omits the forward link.

    Steps to reproduce

    This describes an existing user-requested launch, not a fresh replay:

    1. From parent P in project Alpha on A, call t3_thread_launch for registered project Beta on B, with delegatedFrom: {environmentId: "<A>", threadId: "<P>", title: "<parent-title>"}.
    2. Use an isolated worktree with a valid local base, startFromOrigin: false, and runtimeMode: "auto". The provider was Codex. This was an explicitly requested top-level thread, not delegate_task.
    3. Open the returned t3-thread:// link to thread T on B. T exists, runs, and displays P on A in its Lineage panel.
    4. Return to P. Its Lineage panel has no forward entry for T. The user also reports being unable to find T in the thread column.

    Expected behavior

    T remains discoverable in normal thread/project navigation. If its origin-parent relationship is displayed, navigation should not depend on retaining an in-message link. Keep top-level provenance distinct from delegated-subagent ownership.

    Actual behavior and evidence

    • I inspected both user-supplied screenshots. They show the asymmetric Lineage views. They do not include the full thread column, so the column omission is user-reported rather than an exhaustive screenshot-proven sidebar search.
    • Captured API evidence shows a destination t3_thread_list for project Beta with a matching titleContains and includeSubagents: false returning exactly T, with nextCursor: null.
    • T's identifier has the mcp:launch: prefix. Captured metadata reports createdBy: "agent", creationSource: "mcp", parentThreadId: null, relationshipToParent: null, and archived: false, settled: false, snoozed: false.
    • T was running in the screenshot and later completed normally.

    This supports a discovery/provenance inconsistency, not a deleted thread or a demonstrated delegated-subagent storage failure. Root cause remains unconfirmed; I have not independently verified the source diagnosis above. I am not claiming a regression against #27012.

    Impact and workaround

    Active work appears missing unless the user retains its message link. Opening that deep link works. No settings or relationships were changed to investigate this report.

    Version or commit

    Unknown. Neither the supplied screenshots nor the captured API metadata exposes the T3 app/server builds. Client platform and active sidebar scope/filter are also unverified.

    Screenshots, recordings, or supporting files

    No public attachments. The two originals contain private workspace titles, machine labels and transcript fragments, so they are withheld. Actual IDs, titles, repositories, host labels and paths have been replaced with placeholders here.

    Prepared with OpenAI Codex gpt-6.1-sol, xhigh, in auto mode.

  6. Still happening on 0.1.7-nightly.20261103.4119, from a macOS arm64 server to a linked Windows x64 server, both on that build. The thread is running on the Windows machine, but that machine's own desktop app doesn't list it in the sidebar, and the launching thread's Lineage doesn't list it either. The only way in was the link in the agent's reply.

    Two things that may help:

    • The launching agent couldn't work out why. t3_thread_read and t3_thread_list show parentThreadId: null and don't return delegatedFrom, so from the agent's side it looks like an ordinary top-level thread.
    • The Windows server already has 18 open threads launched from the Mac that carry delegatedFrom, from 6 different Mac threads since Oct 28. I haven't checked how many of those came from delegate_task rather than t3_thread_launch. #27012 only changes new launches, so a way to fix existing threads would still be needed, as mikebanks said.
  7. Still reproduces on 0.1.8-nightly.20261107.4301 (Windows), across three linked machines, and the thread is hidden on every client, including mobile and the target machine's own desktop app.

    Setup: three T3 Code environments linked through T3 Connect, Linked environments on. The client is the Windows desktop app on machine C (nightly 4301), with A and B enabled as linked environments. A (Windows desktop) is linked with approval-required access, B (a Windows VM) with full access.

    Steps:

    1. In a thread on A, the user asked the agent to start a new, standalone thread on B.
    2. The agent called t3_thread_launch with environmentId: <B>. The thread was created on B (mcp:launch:0bdd…, in a project the agent had also created there, mcp:61e4…). It runs normally: 23 runs so far, parentThreadId: null, relationshipToParent: null, createdBy: agent, creationSource: mcp.

    What happens:

    • The thread is missing from the sidebar on C's desktop app, with the project scope set to All.
    • It is also missing from B's own desktop app and from the mobile app.
    • The parent thread on A shows no Lineage entry and no spawned-agent row for it.
    • Only the link in the agent's tool result reaches it.

    We could not capture the launch arguments: the agent's reply on A was blocked by the model's safety filter. A top-level, non-subagent thread hidden on every client while its parent lists nothing matches the delegatedFrom path described in this issue, and nothing else we checked explains it.

    Extra finding: t3_thread_read does not expose delegatedFrom or linkOrigin (OrchestratorMcpThreadDetail in packages/contracts/src/orchestratorMcp.ts has neither field). An agent cannot see why its own thread is hidden, or confirm it.

    Source at the tag: the code paths named in the issue body are unchanged. handlers.ts keeps an agent-supplied delegatedFrom whenever linkOrigin is set. delegatedUnderParentAtom and filterSidebarV2VisibleThreads hide the thread. Only delegate_task writes the remoteChild record that Lineage lists. None of the 44 commits on main after the tag touch these files.

    Posted from a T3 Code triage session (Claude Opus 5.5 in Claude Code), on behalf of the user.

  8. Confirmed: delegatedFrom was set. A retry on A with another model returned the launch call from the transcript. IDs are shortened, and the message is trimmed:

    mcp__t3-code__t3_thread_launch {
      "environmentId": "<B> 0faf2dbc…",
      "projectId": "mcp:61e4…",
      "title": "…",
      "clientRequestId": "…",
      "modelSelection": { "instanceId": "claudeAgent", "model": "claude-opus-5-5", "options": [{ "id": "effort", "value": "xhigh" }, { "id": "fastMode", "value": false }] },
      "interactionMode": "default",
      "delegatedFrom": { "environmentId": "<A> 8076a892…", "threadId": "050f0f48…", "title": "…" },
      "message": "…"
    }
    # result
    { "threadId": "mcp:launch:0bdd…", "link": "<t3-thread://v2/<B>/mcp:launch:0bdd…>", "status": "preparing", "runId": "run:thread:…:ordinal:1" }

    The user had asked for a standalone thread. The agent added delegatedFrom on its own, which is the trigger this issue describes. The thread has been hidden from every client since then.

    Posted from a T3 Code triage session (Claude Opus 5.5 in Claude Code), on behalf of the user.

  9. Posted by Claude Fable 5.1, an agent, on behalf of the user.

    Reproduces on stable 0.1.7 on both machines (not only nightlies), and on the iOS app 2.2.0 (build 202) the thread is hidden everywhere: not in the target machine's thread list, and not under the launching thread either.

    Setup

    • A: macOS arm64 desktop app + server 0.1.7. B: Linux x64 desktop app + server 0.1.7.
    • Linked environments on. A is linked to B over the tailnet (B's /.well-known/t3/environment reports peerLinks: true).
    • iOS app 2.2.0 (build 202) with both environments enabled. Provider claudeAgent, model claude-opus-5-5 for the launched thread.

    What happened

    An agent in a thread on A called t3_thread_launch with environmentId: <B>, a B projectId, a message, and delegatedFrom: { environmentId: <A>, threadId: <launching thread>, title: "…" }. B created the thread (id mcp:launch:eacf7361…, top-level, parentThreadId: null, creationSource: "mcp") and it ran normally in a new worktree on B. A second launch 15 minutes later did the same.

    On the phone the thread appears nowhere:

    • B's thread list omits it. The 2.2.0 Home list reads navigationThreadShellsAtom, which applies isShownUnderParent with delegatedUnderParentAtom (added for #26854), so a thread with delegatedFrom whose parent environment is enabled is left out.
    • A's launching thread has no row for it in its agents list. Confirmed by the user on the device.

    B's own desktop app lists it, because that client does not have A as an environment.

    Evidence from B's server

    • The stored thread carries linkOrigin (A's link session) and delegatedFrom pointing at the launching thread on A.
    • GET /api/orchestration/shell?omitIdleSubagents=1&omitOlderSettled=1, fetched with a read-only token, includes the thread with both fields, so the server is not hiding it; the client is.
    • MCP calls from A's link session, from the server trace: t3_thread_launch (the launch), then t3_thread_read and t3_thread_list a few times. No t3_thread_wait calls at all, which RemoteDelegation's follower would send in ≤50 s pieces. So A never recorded a delegated_task.remote.request for it, as expected for a plain t3_thread_launch.
    • The phone fetched B's shell after the launch (two requests, both 200) and never requested the thread's /bounded snapshot, consistent with the row never being rendered.

    Two notes for the fix

    1. The launching agent most likely chose t3_thread_launch because it wanted a worktree on B (branch and worktreePath are set on the launched thread), and delegate_task refuses isolation: "worktree" for a linked environment. With #27012 that launch becomes a plain top-level thread on B, which is fine, but there is still no supported way to get a worktree on the other machine and have the task listed under its parent.
    2. #27012's receiving-side guard cannot distinguish a forwarded agent launch from RemoteDelegation, so in this direction only A's server upgrade helps. Threads already stamped stay hidden until the parent is archived or the parent environment is disabled on the client. A client-side guard that hides a thread only when the parent actually lists it as a remoteChild would cover both the old threads and any future stamping path.
  10. tanstack-source added labelsbug

  11. Posted by Claude Opus 5.5, an agent, on behalf of the user.

    Still reproduces on stable 0.1.9, both on the macOS arm64 desktop app/server and on two linked Linux x64 servers, all running 0.1.9 and connected in Settings → Environments.

    What we saw

    • An orchestrator thread on the Mac launched 7 threads on a linked Linux server with t3_thread_launch. All 7 carry delegatedFrom pointing to that Mac thread, and they have lineage.parentThreadId: null. None is archived or settled.
    • None of the 7 shows in the desktop sidebar. They aren't in the active list, Settled, or Snoozed. The only way to open one is through a direct t3-thread:// link.
    • The launching thread's sidebar row gives no sign that anything is nested under it. A different parent row in the same sidebar does show a +5 child badge.
    • On the second linked server, the same thing happens to dozens of earlier t3_thread_launch threads whose parents are settled. From the user's point of view they are gone.

    Code path (0.1.9 bundle) The client's environment-delegated-under-parent atom adds every thread with delegatedFrom whose parent environment is in the client catalog and whose parent isn't archived. filterSidebarV2VisibleThreads then drops those threads, the same path described above. Archiving the parent is the only thing that brings them back as rows.

    Suggestion Even before the schema fix, a count or chevron on the parent row for hidden delegatedFrom children would stop these threads from looking lost.

  12. mthsmb(GitHub profile, opens in a new tab)commented

    Same here on Windows 11 with a linked WSL2 environment (Ubuntu), T3 Code (Beta) 0.1.9.

    • From a thread on the Windows environment, the agent started work on the WSL environment in two ways: delegate_task with target.environmentId (8 tasks) and t3_thread_launch with delegatedFrom (1 thread). None of them shows in the Windows sidebar or under the launching thread. I can only reach them through the t3-thread:// links in the tool results.
    • A t3_thread_launch on the WSL environment without delegatedFrom does show in the sidebar, which matches the diagnosis above.
    • Related: the remote delegate_task children were reported to the parent as completed when their first turn ended, while they were still waiting on a background test suite. They kept working in later runs, and one of them woke up again after the parent had already replaced it with a new thread, so two sessions worked on the same branches until I cancelled the old one (close to #33482).

    Expected: threads started on a linked environment are visible in the sidebar, or at least under the parent, and a child's completion is reported when its work is really done.

    Written with Claude Opus 5.5 in Claude Code, running in T3 Code.

  13. Note

    🤖 Claude Opus 5.5 responding on behalf of MaximilianMauroner

    Still reproduces on 0.1.10-nightly.20261114.4682 (desktop app and both servers). #27012 stops new threads from getting the stamp, but it does not fix threads that already have it, and a settled parent makes them very hard to find.

    Setup: a macOS desktop app with its local environment (A) and a Linux server (B), linked with full access. B is also connected as an environment in the desktop app.

    What happened:

    1. On 2026-11-12, an agent in a thread on A called t3_thread_launch with environmentId: <B> and delegatedFrom: { environmentId: <A>, threadId: <launching thread>, title: "…" }. The provider event log on A shows this argument.
    2. The launching thread handed its work to the new thread and was settled 30 s later.
    3. The new thread on B is top-level (parentThreadId: null), not archived, not settled, and has had 8 runs since then. It was active today.
    4. The desktop sidebar does not show it. The iPhone app lists it as a normal thread. The settled parent has no Lineage entry for it, so on the desktop the thread is unreachable without its link.

    Two details that may help the fix:

    • Turning off the parent's environment shows the hidden threads. A has 28 unsettled top-level threads that B launched there for device tests (mcp:launch: ids, createdBy: agent). With B enabled in Settings → Environments, none of them was in the sidebar. When we turned B off, all of them appeared. That matches delegatedUnderParentAtom, which hides a child only while its parent's environment is enabled. Users can use this as a workaround, but it is not easy to find.
    • A settled parent hides its children, even when they are still active. The child is hidden "under its parent", but nothing under a settled parent tells you that a child is still active or has unread output. When the parent is settled and the child came from t3_thread_launch, the thread is effectively lost. The user found it only because the phone showed it.

    Suggested fix: #27012 does not migrate existing threads, so the client check is needed too. Hide a delegatedFrom thread only when its parent has a matching remoteChild subagent entry (the second option in the issue). That would make threads that already carry the stamp visible again. Also consider showing an unsettled child at the top level when its parent is settled.

  14. Adding an observed cross-client case on T3 Code 0.1.9 Stable, with two macOS desktop clients connected to the same remote macOS worker.

    • Client A originated five remote tasks using delegate_task. Its local parent conversation is settled but unarchived and still available in the UI.
    • Client B connects to the same worker but does not have the originating parent's environment available. It lists those five remote tasks independently.
    • Client A does not show those tasks in its standalone sidebar list. Searching for the worker's name did not surface them either.
    • The sampled task exists on the worker: status=completed, settled=false, archived=false, snoozed=false. Its exact direct link opens the conversation successfully on Client A. The live Open parent thread control leads to the correct local parent.
    • We expanded the parent's Previous agents/Lineage area but did not locate the sampled remote task there. This is an observed discoverability problem; we have not proven that every possible parent-to-child navigation path is absent.

    Unlike the original report's launch path, the historical parent activity confirms delegate_task, not an explicit t3_thread_launch call by the originating agent. This appears relevant to the other delegate_task experience reported above, though we have not established that the underlying cause is identical.

    The difference between clients initially looked like missing remote threads or inconsistent status. No data loss or settled-state mismatch was observed. Parent-aware filtering explains the standalone-list difference, but the originating client still needs an obvious way to find and open the work it delegated. Knowing an exact direct link should not be necessary for discovery.

    Separately reported the misleading “No threads in yet” message when selecting the worker project in #36825. That report concerns the empty-state wording; this comment concerns the broader visibility/navigation experience.

    Inspection only: no settings, connections, or thread organization state were changed to test this. Private machine names, addresses, project names, identifiers, conversation contents, and screenshots are omitted.

  15. Posted by Claude Opus 5.5, an agent, on behalf of the user.

    Another reproduction on stable 0.1.9: Linux x64 desktop app and server (A), linked over T3 Connect with full access to a macOS arm64 server (B), also on 0.1.9. B is saved in A's desktop app under Settings → Environments, enabled and connected.

    An agent on A called t3_thread_launch with environmentId: <B>, a B project, and delegatedFrom: { environmentId: <A>, threadId: <launching thread>, title: "…" }. The thread runs on B (parentThreadId: null, creationSource: "mcp") and is the only thread B has, so A's sidebar shows nothing from B at all. Its t3-thread:// link opens it. B's Lineage lists A's parent, and A's Lineage doesn't list the child.

    Two details I didn't see in the earlier comments:

    • The agent added delegatedFrom deliberately, as a backlink. Its reasoning before the call reads: "I'm adding a delegatedFrom link back to this thread." The first call failed validation for a missing modelSelection, and the retry sent delegatedFrom again unchanged. Agents read the field as a polite "where this came from" link, not as "make me a hidden child". That supports dropping it on the sending side in #27012, and maybe hiding it from the t3_thread_launch input schema agents see.
    • The client-side check (option 2) needs a shell field. delegatedUnderParentAtom (packages/client-runtime/src/state/threadShell.ts) only has thread shells, and OrchestrationV2ThreadShell carries no remote children. remoteChild lives only on OrchestrationV2Subagent in the full thread projection. To "hide a delegatedFrom thread only when its parent lists it", the parent's shell would need its remote child refs, or something similar. That check is what would bring back threads that already carry the stamp, which #27012 does not touch.

    From the code, archiving the launching thread should make the child show again, because the atom skips parents with archivedAt set. I haven't tried this.

  16. Posted by Claude Opus 5.5 (claude-opus-5-5) via T3 Code triage, on behalf of the user.

    This still reproduces on 0.1.10-nightly.20261115.4749, here in a single-environment case. A linked client started a lead thread on server B, so the lead carries linkOrigin. The lead's agent then called t3_thread_launch for another project on B, with delegatedFrom set to the lead itself. The new thread kept delegatedFrom (handlers.ts:291), the lead got no subagent row for it, and it was hidden from Working, Snoozed and pinned while it ran. A sibling launched without delegatedFrom was listed normally. B now has 16 unarchived threads hidden this way.

    #27012 covers this path, but it is still unmerged, and main (40dcbc5f6a) still keeps the field. When such a thread is opened, no sidebar row is highlighted; that is filed separately as #37483.

  17. Observed the resurfacing variant of this issue on macOS T3 Code Desktop 0.1.10-nightly.20261116.4787, connected to a Linux server with a linked Mac server on the same build. Installed source commit: b5554ac8114f2ce7ce8b5973690ccb8cbb248efd.

    Two remote verification threads created November 10 appeared again as top-level rows. Both still have only one completed November 10 run, no pending requests, and currently report settled:false / settledAt:null.

    The stored launch calls confirm both were created with t3_thread_launch plus delegatedFrom. The Linux parent's projection contains no app_owned remoteChild record: the exact listActiveShellIndex SQL reports has_remote_tasks=0 and may_be_live=0. The parent is unarchived and settled at 2026-11-16T07:56:55.004Z. It is now the 30th newest settled top-level thread; the newest-25 cut is 2026-11-16T08:23:25.251Z. It is not pinned, snoozed, live, or a retained ancestor.

    Applying the installed shellSubscriberThreadIds selection predicates to that read-only index excludes the parent from a normally trimmed snapshot. delegatedUnderParentAtom requires the parent's loaded row to have archivedAt===null, so these children become standalone rows when the parent is omitted.

    This explains why #34870 does not cover this case: its retention exemption requires the remoteChild record that t3_thread_launch did not create. #27012 remains open and says existing stamped threads keep delegatedFrom. #37310 was closed after testing a real delegate_task parent, which has the marker missing here.

    Verification: read-only thread APIs, stored launch calls, SQLite projections, and installed source. No live UI reproduction was run. The user reports these were settled previously; current state and the available November 10 snapshots do not establish whether the children were explicitly settled and later reset, or were hidden under the parent. No workaround or state change applied.

    Reproduction for this variant: launch on a linked environment with t3_thread_launch + delegatedFrom; finish the child; settle the parent and at least 25 newer top-level threads; reload without loading older settled parents. The launched child can appear independently.

    Triaged by OpenAI Codex, gpt-6.1-sol, in T3 Code.

  18. kevingatera(GitHub profile, opens in a new tab)commented

    Posted by Claude Fable 5.2, an agent, on behalf of the user.

    Still reproduces on 0.1.10-nightly.20261116.4800 (both servers), and it also hides the thread in the mobile app's thread list (Android). The earlier reports here are desktop.

    • Two linked Linux environments, A and B. A thread on A called t3_thread_launch with environmentId: <B> and delegatedFrom.
    • The thread ran on B and opened from its link, but was missing from the mobile Chats list. Other threads in the same project on B showed normally. Mobile search did not list it either.
    • Pinning the thread did not bring it back.
    • Control: the same launch (same environment, project and model) without delegatedFrom appeared in the mobile list straight away.

    So the server-side change in #27012 should cover mobile as described there.

  19. Observed the same visibility problem on two linked Linux x64 servers, both 0.1.10-nightly.20261114.4669.

    The user reported that the remote continuation appeared neither under its parent nor as Working. Inspection found:

    • The historical t3_thread_launch call included both a worktree workspaceStrategy and delegatedFrom pointing to the launching thread.
    • A read-only query of the remote thread projection confirms that the backlink was stored. Its local lineage.parentThreadId and relationshipToParent are null, and it is unarchived.
    • The originating parent is unarchived and undeleted. Its subagent projection contains zero remoteChild records for this continuation.
    • As a control, an earlier genuine delegate_task to the same linked environment has exactly one matching parent-side remote-child record.
    • The installed client's Lineage implementation builds remoteActive / remotePrevious from projection.subagents filtered by the presence of remoteChild, consistent with the mismatch described in this issue.

    This corroborates the user's observation with the actual launch record, stored linkage and installed client code. I did not perform a separate live UI reproduction or test a newer build, and no database or application changes were made.

    One discoverability detail: the preceding remote delegate_task rejection for isolation: "worktree" explicitly suggested t3_thread_launch with a worktree strategy. Adding delegatedFrom as a backlink then produced the state above.

    The parent also ended a turn while waiting on a scheduled CI recheck. That was an agent orchestration mistake, not evidence of a product completion bug, and is excluded from this report. The active continuation is now being followed with explicit thread waits.

    Investigated with t3 triage --agent codex; stored-state evidence checked and this comment written by GPT-6 Astra through Codex in T3 Code. Private identifiers, project details and home paths omitted.

  20. Still reproduces on 0.1.11-nightly.20261118.4890 (macOS desktop client and Linux x64 server, build 8cf97b5f), on a single server. This is the same linkOrigin-inheritance path as the 2026-11-16 comment above. #27012 is still unmerged.

    Setup: the macOS desktop app is linked to the Linux server. An orchestrator thread on the server was started over that link, so it carries linkOrigin.

    What happened:

    • The orchestrator called t3_thread_launch five times on the same server and project, with a worktree workspaceStrategy and delegatedFrom: { <same environment>, <orchestrator thread> }. Each child inherited linkOrigin, so handlers.ts:367 kept delegatedFrom.
    • All five have parentThreadId: null, are unarchived, and have snoozedUntil, settledOverride and archivedAt all null in orchestration_v2_projection_threads. Two of them are running or waiting right now.
    • None of them appears in the desktop sidebar, its Working shelf or ⌘K. The orchestrator's Lineage panel lists only its 40 delegate_task subagents ("Previous agents") and none of the five. Each child's own panel shows the "Delegated from" row.
    • Control: a sub-thread on another linked server, launched the same way but without delegatedFrom, appears in the Working shelf.

    Two more effects in an orchestrator workflow:

    • ThreadNotificationCoordinator skips these threads, so the user is never notified when a worker finishes or needs input.
    • Workers that snooze themselves between rounds and are later woken (t3_thread_organize unsnooze plus mark_unread) still don't appear anywhere, because the filter ignores snooze state.

    Where the agent got the argument: a user-written orchestration skill told it to set delegatedFrom "so T3 shows 'delegated from ' in the sub-thread's agents panel". This matches the earlier comment that agents read the field as a harmless backlink. Dropping it on the server, as #27012 does, would have prevented this. A recovery path for threads that already carry it is still needed.

    Workaround in use: open the threads from the t3-thread:// links in the orchestrator's replies, and stop passing delegatedFrom on new launches.

    Posted by Claude Opus 5.5 (Claude Code) from a T3 Code triage session, on behalf of the user.

  21. Note

    🤖 Claude Opus 5.5 in Claude Code (T3 Code) responding on behalf of Max

    Still reproduces on 0.1.10 (desktop app "T3 Code (Beta)" on machine A, server 0.1.10 on machine B, both macOS, linked with full access). It also covers the second path that #27012 fixes: a delegatedFrom that points to a thread on the same machine is kept when the launching thread was itself started over the link.

    Chain we hit:

    1. A thread on A launched thread P on B with t3_thread_launch and delegatedFrom: {A, …}. P is hidden on A.
    2. An agent in P (P has linkOrigin from step 1) called t3_thread_launch on B itself, with delegatedFrom: {environmentId: B, threadId: P, …}. The new thread C kept that delegatedFrom. C is hidden from A's sidebar, including the Working section, and P's Lineage panel does not list it either. C is the thread doing the actual work: it is waiting, with a running delegate_task child.

    Verified with t3_thread_list on B (unsettled threads, includeSubagents):

    • All 12 unsettled top-level threads on B that carry delegatedFrom are missing from A's sidebar. One is running, one is waiting, and ten are completed but not settled.
    • Top-level threads on B without delegatedFrom (createdBy: "user", same machine, running/waiting) show in A's Working section as expected.
    • parentThreadId and relationshipToParent are null on all 12. No parent has a subagents[].remoteChild entry for them.

    Workaround on our side: our orchestration instructions no longer pass delegatedFrom to t3_thread_launch. The threads that were already stamped can't be fixed: no MCP tool clears the field, so they stay hidden until the server change lands. A one-off way to drop delegatedFrom from existing threads, or a client rule that hides a thread only when a parent actually lists it, would cover those.

  22. Note

    Posted by Claude Opus 5.5 in Claude Code (T3 Code), on behalf of the user.

    Still reproduces on 0.1.11-nightly.20261119.4928 (macOS desktop, Apple silicon; linked Linux x64 server, full access). #27012 is still unmerged.

    • A thread on the Mac launched one thread onto the Linux server with t3_thread_launch and delegatedFrom pointing back at it. On the server: mcp:launch:… id, createdBy: "agent", creationSource: "mcp", status: "running", parentThreadId: null, relationshipToParent: null, not settled, snoozed or archived.
    • The desktop sidebar's Working section listed 3 threads while it ran: two threads started by hand on the same server and project, and one local thread. The launched thread was not among them, and it is not in the project list either.
    • Three earlier threads launched the same way from the same parent, now completed and unsettled, are missing from the sidebar too.
    • The thread opens through the t3-thread:// link in the parent's reply.
  23. luisKisters(GitHub profile, opens in a new tab)commented

    Still happening on 0.1.10-nightly.20261116.4774. One detail I haven't seen mentioned here yet: the hidden thread isn't just missing, it also shows up as the same sidebar row as its source thread.

    • Setup: thread T1 on local env A calls t3_thread_launch with environmentId = linked env B, an existing mcp:-prefixed projectId on B, and delegatedFrom = { A, T1, "<different title>" }.
    • Thread T2 (mcp:launch:…) is created on B and keeps running (50 runs, not archived or settled).
    • T2 doesn't appear anywhere in the sidebar. The sidebar shows it as the same row as T1.
    • Clicking that row opens T1. T2 can only be opened through its t3-thread://v2/<B>/mcp:launch:… link.

    (Moved here from #39629, which I'm closing as a duplicate.)

    Note

    Posted by Claude Opus 5.5 in Claude Code (T3 Code), on behalf of the user.

  24. WhiteWarrior625(GitHub profile, opens in a new tab)commented

    Note

    Written by Claude Opus 5.5 on behalf of @WhiteWarrior625

    Still reproduces on 0.1.12-nightly.20261120.4994: a Linux desktop/server (A) launched a thread on a linked Windows server (B) with t3_thread_launch + delegatedFrom. A's thread is in project "work general", B's in project "AI-verify". On B's own desktop app, with only its local environment on, the thread was not in the sidebar, not under the parent, and pinning it changed nothing. An idle t3_thread_launch without delegatedFrom in the same project appeared at once.

    Where the client hides it. In the client runtime-*.js, environment-delegated-under-parent adds every thread whose delegatedFrom names a live, unarchived thread in any catalog environment. navigationThreadShellsAtom (and the notification path) skip that set. But a parent's sidebar row lists only children with a pending request (environment-child-thread-inputs keeps those where Lp()/zp() is non-null). So a delegated child is normally reachable only from the parent's own panel. When the parent is on another environment, or that environment is not shown, the child is reachable nowhere.

    A display rule that would fix it on the client (the user's rule, refined after a first try): a delegated thread whose starting thread is in the same project shows nested as a subagent of that thread, including across environments. A delegated thread in a different project gets its own sidebar row under its own project, perhaps marked "From ". A missing or archived parent also gets a row. Because project ids are per environment, "same project" across environments needs a cross-environment identity: we use the same repositoryIdentity.canonicalKey when both projects have one, else the same project title (ignoring case and punctuation).

    Our first stopgap treated every cross-environment child as a different project. That put ~260 helper threads, which an orchestrator on A had launched into the same repository's project on B, into the user's sidebar on a third machine. So the project comparison has to work across environments. This also covers threads that already carry the delegatedFrom stamp, which #27012 (server-side, stops new stamps) does not change.

    Our local stopgap narrows the environment-delegated-under-parent set to "parent live and in the same project, by id on one environment or by repository key/title across environments"; any other delegated thread falls through to navigationThreadShellsAtom and gets its own row.

  25. Note

    Posted by Claude Opus 5.5 (claude-opus-5-5) in Claude Code via T3 Code triage, on behalf of the user.

    Still reproduces on stable 0.1.11, the current Latest release. This report runs in the opposite direction to most here: the parent is on a Windows server and the hidden child is on the Mac whose desktop app the user was using.

    Setup: T3 Code Desktop 0.1.11 on macOS as the client, with two environments enabled: the Mac's own server and a linked Windows 11 x64 server. Both servers run 0.1.11.

    What happened

    • A Claude thread on the Windows server called t3_thread_launch with environmentId: <Mac>, scratch: true, a Codex model selection, and delegatedFrom: { environmentId: <Windows>, threadId: <itself>, title: "…" }. The call is in the Windows server's provider event log.
    • The new thread runs on the Mac. It has parentThreadId: null and relationshipToParent: null, with delegatedFrom set. It is not archived, snoozed or settled, and the user still needed to work in it.
    • In the Mac desktop app with All projects selected, the thread isn't in the sidebar, and searching for its title doesn't find it. Pinning it through the Mac server succeeded but didn't make it appear, so the user removed the pin. No error was shown.
    • The parent on Windows is not archived or deleted, and it has zero rows in orchestration_v2_projection_subagents. Its Lineage panel therefore has no remote-child entry to open.

    Checked against the v0.1.11 source (59651c17)

    • The child is added by delegatedUnderParentAtom (packages/client-runtime/src/state/threadShell.ts:732–757), because the parent's environment is enabled and the parent isn't archived.
    • isShownUnderParent then drops the child from three places:
      • navigationThreadShellsAtom
      • filterSidebarV2VisibleThreads (apps/web/src/components/Sidebar.logic.ts:590). Sidebar.tsx:633 applies this filter before it builds the pinned section, which is why pinning has no effect.
      • the command palette's buildThreadActionItems (apps/web/src/components/CommandPalette.logic.ts:458).
    • The only way back from the parent is RemoteSubagentRow in ThreadRelationshipsControl.tsx. It needs a remoteChild subagent record on the parent, and t3_thread_launch never writes one.
    • main still has the same filterSidebarV2VisibleThreads, and #27012 is still open.

    Workaround: the t3-thread:// link in the parent agent's reply still opens the thread.

  26. Note

    Posted by Claude Opus 5.5 (claude-opus-5-5), via T3 Code triage, on behalf of the user.

    Still reproduces on 0.1.12-nightly.20261122.5071 (commit 047fb5b1), macOS arm64 desktop app (A) with a linked macOS arm64 server (B), both on that build. #27012 is still unmerged.

    What the user saw

    • A thread launched on B on 2026-11-19 with t3_thread_launch + delegatedFrom (pointing at a thread on A) is working on B: status: waiting, 3 pending background tasks.
    • A's desktop sidebar does not list it under Working, and sidebar search does not find it. The user read it as Settled.
    • B's own desktop app and the mobile app both list it under Working.

    Why it looked settled The launching thread on A was settled. The child has no row of its own on A, so the only trace of it was a settled parent. Unsettling the parent did not bring the child back, because the parent has no remoteChild record to list it from.

    Evidence

    # B, projection row of the child createdBy=agent creationSource=mcp id=mcp:launch:f0d7… delegatedFrom={environmentId:, threadId:} linkOrigin.label="T3 Code · " lineage.relationshipToParent=null settledOverride=null settledAt=null archivedAt=null

    # A, parent thread archivedAt=null settledOverride=active orchestration_v2_projection_subagents rows for the parent: 0 rows anywhere on A naming the child: 0

    # A, server trace, commands on the parent (UTC, 2026-11-22) 02:04:01 thread.unsettle 02:04:17 thread.settle 02:07:14 thread.unsettle

    Source at this build

    • tools.ts:167 still accepts delegatedFrom on t3_thread_launch; handlers.ts:461 passes it on.
    • delegatedUnderParentAtom (packages/client-runtime/src/state/threadShell.ts) hides the child whenever the parent's environment is enabled and the parent is not archived, whether or not the parent is settled.
    • apps/mobile/src/features/threads/threadListV2.ts:384 filters only on isListedThreadLineage, so mobile lists the child at top level.

    Request Threads that already carry the stamp need a fix as well as new launches: #27012 does not change them.

  27. +1, same bug on server 0.1.11 (Linux x64). A thread made by t3_thread_launch from a chat on a linked environment gets delegatedFrom set (parentThreadId: null). It is missing from the desktop app's sidebar, even when pinned, but shows as a normal thread in the iOS app (same as #41642). A thread launched without delegatedFrom in the same project shows fine on desktop. Workaround: move the work to a non-delegated thread. A user-facing "show in sidebar" or "detach from parent" option would solve it.

  28. Additional reproduction: settling the originating thread hides an actively running cross-host handoff.

    Environment: Host A (macOS), Host B (Linux), linked environments.

    1. Thread A on Host A calls t3_thread_launch targeting Host B, passing delegatedFrom: {environmentId: "env-a", threadId: "Thread A", title: "Thread A"}.
    2. Confirm Thread B on Host B has started with status: "running".
    3. Thread A immediately calls t3_thread_organize(action: "settle") on itself to hand off the work.
    4. Compare Thread B's API state with the active and Settled UI lists.

    Observed API state on Host B:

    {
      "status": "running",
      "settled": false,
      "settledAt": null,
      "parentThreadId": null,
      "relationshipToParent": null,
      "delegatedFrom": {
        "environmentId": "env-a",
        "threadId": "Thread A",
        "title": "Thread A"
      }
    }

    activeRunId is non-null. Listing Host B with includeSubagents: false excludes Thread B (zero matches for that thread); includeSubagents: true returns it.

    In the UI, Thread B is absent from active top-level threads and appears under Settled via Thread A, despite Thread B still running with queued runs and watched pull requests. Unsettling Thread B in the UI does not keep it visible in Active while Thread A remains settled. Immediately afterward, Thread A showed a fresh settledAt timestamp without a new agent run. This is an observed sequence, not a confirmed explanation of the timestamp change.

    Expected: a handoff thread with settled: false and status: "running" or "waiting" remains discoverable in Active regardless of its delegatedFrom origin's settled state. A detach/promote option for existing handoff threads would also help.

    The API observations above were verified live; the UI behavior was observed by the user.

  29. +1 — still reproducing on 0.1.13-nightly.20261126.5305.

    Environment

    • Host A (origin): macOS (operated via the T3 mobile app)
    • Host B (linked target): Windows (full-access environment link)
    • Originating agent: claudeAgent (claude-opus-5-5)

    What happened

    1. In a normal thread on Host A, the agent called t3_thread_launch targeting a project on linked Host B and populated delegatedFrom (pointing back to the Host A thread) since it is exposed in the tool schema.
    2. The thread ran and completed on Host B, but was completely invisible in the UI:
      • Hidden from the sidebar (confirmed via t3_thread_list — omitted when includeSubagents: false, only returned when includeSubagents: true).
      • Not shown as a subagent / under the parent thread on Host A (parentThreadId: null, relationshipToParent: null).
    3. I had no way to see or open the running thread until I asked the agent in chat where it was and clicked the t3-thread:// link it returned.

    A/B verification on the same linked Windows host

    • Threads launched cross-environment via t3_thread_launch with delegatedFrom → hidden from sidebar (includeSubagents: false) and missing from parent subagents.
    • A thread launched cross-environment via t3_thread_launch without delegatedFrom → shows up normally in the sidebar.

    Hoping #27012 can be merged soon!

  30. Jaiminp007(GitHub profile, opens in a new tab)commented

    Posted by Claude Opus 5.5, an agent, on behalf of the user.

    This still happens on 0.1.14-nightly.20261127.5319 on Windows. Pinning the thread doesn't help.

    Setup:

    • A Mac (A) and a Windows PC (B) are linked as environments.
    • A thread on A handed its work to a new thread on B. The new thread carries delegatedFrom pointing to A's thread, has createdBy: "agent" and creationSource: "mcp", runs in a worktree, and has parentThreadId: null.
    • The thread on B has now run for 2+ days: 42 runs and about 700 items.

    What the user sees:

    • A's desktop app shows only the original thread. It doesn't list the handed-off thread or link to it, and the user couldn't find the handed-off thread from A at all.
    • New: pinning the thread on B with t3_thread_organize pin succeeds and returns a sequence number, but the thread still doesn't appear on A. A pin set on the machine that owns the thread doesn't make it visible to the user anywhere else.
    • A's desktop app is connected to B directly over T3 Connect, and its Environments map shows B online. So the app can reach B's threads, but it still hides this one. That points to the delegatedFrom filtering, not connectivity.
    • The link goes one way, A → B with full access, and B has no links out. So t3_environment_links on B correctly returns links: []. But it also means an agent on B can't read the parent thread on A or point the user from there to the new thread.

    The user found the thread only by asking an agent on B to search for it (t3_thread_search scoped to the project).

    Filed by Claude Code (claude-opus-5-5) via T3 Code triage

  31. Note

    🤖 Claude Opus 5.5 responding on behalf of beastyrabbit

    Still happens on stable 0.1.13, Linux → Linux, and the parent thread was not settled or archived.

    • A thread on host A called t3_thread_launch twice, with environmentId set to host B and delegatedFrom set to itself (workspaceStrategy: root, a project on B).
    • Both child threads run normally on B. t3_thread_list on B returns them with parentThreadId: null and delegatedFrom set.
    • In the client, the child's page shows "Subagent of · on ". The child is missing from the sidebar, and the parent's right panel has no Lineage section. The only way to open it is the link in the parent's reply.

    The parent stayed completed, settled: false, archived: false the whole time, so this isn't only the settled-parent case.

  32. Still happens macOS → macOS, with the source machine on stable 0.1.12. One addition to the diagnosis: delegate_task's own error message sends agents down this path.

    Environment

    • Host A (origin): MacBook Pro, Apple Silicon, macOS 27.2, T3 Code desktop 0.1.12 at the time (0.1.13 now)
    • Host B (linked target): Mac mini, Apple Silicon, macOS 26.2, T3 Code desktop 0.1.13 (read after the fact)
    • Link: A → B, full-access, B's server reached through an SSH port forward to its loopback address
    • Originating agent: claudeAgent (claude-fable-5-2)

    What happened

    1. A thread on A needed a reviewer and a tester on B, each in its own checkout of the same repository.
    2. The agent called t3_thread_launch twice with environmentId: <B>, a project on B, workspaceStrategy: { type: "worktree", baseRef: "origin/<branch>", startFromOrigin: true }, and delegatedFrom pointing at its own thread on A.
    3. Both threads ran to the end on B (Antigravity gemini-4-neon and Codex gpt-6.2-astra). The user could not find either from A: not in the sidebar under B, and not in the parent's Lineage panel. Only the links in the parent's reply opened them.
    4. t3_thread_list on B for that project returns total: 0 with includeSubagents: false, and both threads with includeSubagents: true: parentThreadId: null, relationshipToParent: null, delegatedFrom set to A's thread.

    Same machines, same day: delegate_task is fine

    Two delegate_task calls with target.environmentId and target.projectId (default isolation) show in the parent's Lineage as <title> on <machine> and wake the parent (seen on 0.1.13). So this is only the t3_thread_launch + delegatedFrom path.

    Why agents end up on this path

    delegate_task refuses a separate checkout on a linked machine. On 0.1.13 the call with isolation: "worktree" and a linked target.environmentId answers:

    {"_tag":"OrchestratorMcpFailure","code":"invalid_request","message":"A task in a linked environment runs in that project's checkout; isolation \"worktree\" is not supported there. Omit isolation, or use t3_thread_launch with environmentId and a worktree workspaceStrategy."}

    An agent that needs one checkout per child follows that message to t3_thread_launch, finds delegatedFrom in the tool's schema, and sets it so the child stays tied to its parent. The result is the orphan described above.

    Suggested direction (any one would close the gap)

    • Ignore or reject delegatedFrom when an agent passes it to t3_thread_launch, and say so in the schema description and in the error message above.
    • Or have t3_thread_launch with delegatedFrom write the parent's subagent record, so Lineage lists the thread.
    • Or support isolation: "worktree" for delegate_task on a linked machine.

    Workaround

    • For children that can share one checkout: prepare the project's checkout on B first, then delegate_task with default isolation and tell each child to change nothing in the folder.
    • For a separate checkout: t3_thread_launch without delegatedFrom (expected to list as an ordinary thread on B; not tested here).

    Posted by Claude (an agent) on behalf of the user.

Sign in to join this conversation.