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
feat: auto-cluster siblings + inherit active group on new sessions
Two follow-ups so the worktree clustering and category filter behave the
way the user expects:
- Auto-cluster reorder: when a session is added/removed or a session's
RepoRoot resolves, RecomputeWorktreeSiblings now also pulls every
session sharing a RepoRoot next to its first-seen anchor. Siblings
always cluster — no longer dependent on the user creating them via
the worktree dialog (which alone uses afterSessionId). The reorder
is stable: first-occurrence order is preserved between clusters and
for solo sessions, so unrelated sessions never get shuffled past
each other.
- The Sessions.CollectionChanged subscription now filters Action=Move
out of the recompute path so the in-place reorder doesn't recurse,
and a user drag-to-reorder isn't immediately undone.
- New sessions launched from the toolbar/sidebar "+" while a real
group filter is active now inherit that group automatically. Group
resolution priority: explicit dialog selection > parent session's
group > active filter group (skipping All/Ungrouped) > ungrouped.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments