Summary
Rework the left sidebar to be a simple flat list instead of the current group-based organization.
Changes
1. Remove all grouping
- Remove the concept of custom groups entirely
- Remove "Add Group", "Move to Group", group headers, group collapse/expand
- Remove the group picker, group presets, and group management UI
- Remove
Organization.Groups usage from the sidebar (keep the data model for now if needed by multi-agent orchestration, but the sidebar should not render groups)
2. Flat session list sorted by recency
- Show all sessions in a single flat list
- Sort by most recent user message (last time the user sent a prompt into the session), newest at top
- Sessions with no messages yet sort by creation time
- No sections, no headers, no separators — just a clean list
3. Show all worktrees
- Always show all managed worktrees in the sidebar, even if they have no active session
- Worktrees without sessions show the worktree name (branch name or repo name)
- Clicking a worktree without a session creates a new session in that worktree
- Worktrees with active sessions show the session as normal
- This gives users a persistent view of all their working contexts
What to keep
- Session context menu (close, rename, etc.)
- Multi-agent team indicators (if a session is part of a team, show the indicator but don't group it)
- Search/filter functionality
- Pin functionality (pinned sessions always at top, above the recency sort)
What to remove
- Group headers and group collapse/expand
- "Add Group" button
- "Move to Group" in context menus
- Group presets picker (📂 From Repo, ⚙️ Built-in, 👤 My Presets sections)
- Any group-related settings
Summary
Rework the left sidebar to be a simple flat list instead of the current group-based organization.
Changes
1. Remove all grouping
Organization.Groupsusage from the sidebar (keep the data model for now if needed by multi-agent orchestration, but the sidebar should not render groups)2. Flat session list sorted by recency
3. Show all worktrees
What to keep
What to remove