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
bug(undo-close): a restored parent's live orchestration children keep the dead parent id #1373
When a parent pane P that has live orchestration children is closed and then restored with Undo Close, the restored pane gets a new session id P′. Its live children keep orchestrationParentId: P.
restoreSessionEntry / restoreTabEntry remap lineage only within the restored entry and the undo stack, never in other sessions' pointers. Replace and Reload Agents do rewrite those pointers, through remapSessionsRelationships. The renderer's visibility gate (orchestrationMcp.ts:306-319) compares ids for equality, so P′'s list_agents / read_agent / send_prompt cannot see or reach its own surviving live children. They also render as top-level rows.
Apply remapSessionsRelationships(sessions, successors) at the Undo Close commit, as the replace path does, so live children follow the pane. Main's carry is already wired by #1369.
Activity