You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opening a task shown under its delegating parent highlights no sidebar row #37483
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 (40dcbc5).
Possible fix: resolve a thread in delegatedUnderParent to its delegatedFrom parent. For delegate_task children, that lookup has to cross environments.
Activity