Group / nest related sessions in the Recents list (tree or "project" view)
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
What problem are you trying to solve?
A single undertaking frequently spans many separate Claude Code sessions, but
Recents is a flat, time-ordered list with nothing that ties related sessions
together.
Concrete example from my own use: one infrastructure effort — migrating an
office VPN to WireGuard — sprawled across ~7 sessions: an initial pilot,
hardware research, an on-site visit, the network cutover, user onboarding, an
access-control sweep, and a controller upgrade. In Recents these appear as 7
unrelated entries interleaved with dozens of other sessions. The costs:
- Discoverability: no way to pull up "everything about this effort" or see
its arc at a glance.
- Stale context: a decision or fix reached in one session isn't visible from
its siblings, so it's easy to resume a related session on out-of-date
assumptions. (This bit me directly — a fix landed in a sibling session and the
thread I was working in had no idea it existed.)
- Mental-model mismatch: people think in projects/initiatives, not one flat
timeline.
Proposed Solution
The ability to group or nest related sessions in Recents — a collapsible tree,
or "project"/folder grouping — so all sessions in one undertaking live together
and can be browsed as a unit.
Possible shapes (illustrative, not prescriptive):
- User-created groups/folders sessions can be filed under (manual or drag).
- A parent→child link so a session spawned from another nests under it —
spawned background tasks already have a parent session, so the linkage often
already exists.
- Auto-grouping by repo / worktree / branch as a zero-effort default.
- Tags/labels with a collapsible "group by tag" view.
Anything else?
Today I approximate this with title-prefix conventions and cross-linked notes,
but nothing surfaces the relationship in the Recents pane where it's needed.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗