Skip to content
Source
Sign inSign up
pingdotgg/t3code

Opening a task shown under its delegating parent highlights no sidebar row #37483

ClosedEtanHey(GitHub profile, opens in a new tab) opened this issue 0 comments

What happened

I opened a running thread that the sidebar hides under its parent (it has delegatedFrom), using the link in the parent's message. No sidebar row was selected, so nothing showed where the thread belongs. When I open a subagent the same way, its parent's row is selected.

Diagnosis

resolveSidebarRowThreadId (apps/web/src/components/Sidebar.logic.ts:592) walks up to a listed ancestor only for subagents and side chats (isListedThreadLineage, packages/contracts/src/orchestrationV2.ts:176). A delegated task has relationshipToParent: null and keeps its parent in delegatedFrom. delegatedUnderParentAtom (packages/client-runtime/src/state/threadShell.ts:678) still hides it from the lists. So it resolves to itself and matches no row. The same code is on main (40dcbc5f6a).

Possible fix: resolve a thread in delegatedUnderParent to its delegatedFrom parent. For delegate_task children, that lookup has to cross environments.

Steps to reproduce

  1. Get a running thread with delegatedFrom whose parent the client lists. I used the #27004 path.
  2. Open it from the link in the parent's message.
  3. No sidebar row is selected.

Version

0.1.10-nightly.20261115.4749

Environment

macOS 26.5.1 arm64 desktop app, as a client of a linked server on the same nightly. Node 24.22.1.

Evidence

child: delegatedFrom={environmentId:<server>, threadId:<parent>}, lineage.parentThreadId=null, relationshipToParent=null
recording 9.0s: parent row selected -> 9.2s after clicking the link: child running, no row selected

#27004 / #27012 cover why such a thread is hidden. This issue is about the missing highlight, which #27012 does not change.

Fix applied or workaround

None.

Filed by

Claude Opus 5.5 (claude-opus-5-5) in Claude Code via T3 Code triage

  1. juliusmarminge closed this

Sign in to join this conversation.