[Feature Request] Label, group, and prioritise sessions in the agents view — with a maintained top-priority list
Problem
The agents view is a flat, recency-ordered list. Once more than a handful of sessions are in flight, the ones that actually matter get buried under noise (short-lived, stale, or exploratory sessions). There's no way to mark what's important or keep the critical few in front of me.
Custom groups (#66061) and group reordering (#67272) help organise by container, but neither lets me express priority — "these 5 sessions are what I care about right now, in this order," independent of which group/folder they live in.
Proposal
Add a lightweight labelling + prioritisation layer to the agents view:
- Labels (tags) — attach one or more free-form labels to a session (e.g.
#urgent,#review,#ticket-x). A label spans groups; a session can carry several. - Pin + rank — pin a session to a top-priority list and reorder pinned sessions (move up/down). Pin order is the priority.
- Views/filters — toggle between: All · Priority-only · filter-by-label. Priority view shows just the pinned set, in rank order.
Details
- Metadata stored out-of-band (session transcripts untouched), self-healing when a session disappears.
- Pinned sessions float to the top of the All view in rank order, then the rest by recency.
- Ideally synced desktop ↔ CLI, same as the groups ask in #66061.
Why not just groups?
Groups answer "where does this live"; priority answers "what do I look at first, and in what order." They're orthogonal — I want a #urgent session pinned #1 regardless of its group.
Related
- #66061 (custom groups in CLI agents view)
- #67272 (reorder working-directory groups)
- #63745 (archive completed agents into a collapsed group)