# NousResearch/hermes-agent · Session list activity sorting and latest marker

## Open now

- 3 issues, 4 PRs open on GitHub.
- #17352: /resume sessions list — show last activity timestamp or mark latest session
- #52857: CLI sessions browse should sort by latest activity
- #67122: session.list omits last_active despite sorting by it
- PR #31376: feat(cli): mark most-recently-active session with star in /resume picker (#17352)
- PR #53311: fix(cli): sort session browse by latest activity
- PR #67271: fix(tui_gateway): project last_active in session.list RPC (#67122)
- PR #116548: fix(tui_gateway): project last_active in session.list RPC (#67122)

These issues and PRs address the CLI/TUI session list missing last_active data, sorting sessions by most recent activity, and visually marking the latest session with a star indicator.

## TL;DR

- 8 member(s): 3 open issue(s), 0 closed issue(s), 4 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.20`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #17352: /resume sessions list — show last activity timestamp or mark latest session
- #52857: CLI sessions browse should sort by latest activity
- #67122: session.list omits last_active despite sorting by it

## Prior & competing PRs

- **#17532: feat(cli): mark latest session with ★ in /resume and sessions list**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#31376: feat(cli): mark most-recently-active session with star in /resume picker (#17352)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `b94397fe7652a22faced9036c9450c6536eab451`
  - files: `cli.py`, `tests/cli/test_show_recent_sessions_latest_marker.py`
- **#53311: fix(cli): sort session browse by latest activity**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `9d38a2309ece`, `19d417445462`
  - files: `gateway/slash_commands.py`, `hermes_cli/main.py`, `hermes_cli/session_listing.py`, `tests/gateway/test_resume_command.py`, `tests/hermes_cli/test_session_browse.py`, `tests/hermes_cli/test_session_listing.py`
- **#67271: fix(tui_gateway): project last_active in session.list RPC (#67122)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `74902fc92c66`, `#67122`, `#67271`, `#67271`, `#67271`, `#374151`, `#67122`, `#67271`
  - files: `tests/tui_gateway/test_inline_rpc_gil_starvation.py`, `tests/tui_gateway/test_session_list_rpc.py`, `tui_gateway/methods_session.py`, `ui-tui/src/gatewayTypes.ts`
- **#116548: fix(tui_gateway): project last_active in session.list RPC (#67122)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `086cbd2464`, `086cbd2464`, `59004a6235`, `95b517a8c6`, `#67122`
  - files: `apps/shared/src/gateway-contract.generated.ts`, `apps/shared/src/gateway-contract.openrpc.json`, `tests/tui_gateway/test_session_list_rpc.py`, `tui_gateway/contracts/sessions.py`, `tui_gateway/methods_session.py`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
