# NousResearch/hermes-agent · CLI resume/sessions filtering out non-CLI sources

## Open now

- 2 issues, 4 PRs open on GitHub.
- #44964: The /sessions CLI command only shows \`source=cli\` sessions — TUI and other sources hidden
- #59224: Bug: Classic CLI /resume listing hides Desktop (and other non-cli) sessions
- PR #44975: fix(cli): show sessions from all sources in /sessions command
- PR #47224: fix(cli): include tui sessions in /resume listing
- PR #59281: fix(cli): show all user sessions in /resume listing, not just CLI
- PR #76774: fix(resume): unify session-source visibility across all resume surfaces

Multiple reports and fix attempts address that the /resume and /sessions CLI commands filter sessions by source='cli', hiding TUI, desktop, and other session types. A secondary theme involves guarding cron job loading against malformed data shapes.

## TL;DR

- 16 member(s): 2 open issue(s), 1 closed issue(s), 4 open PR(s), 0 merged PR(s), 9 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.13`: 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

- #44964: The /sessions CLI command only shows \`source=cli\` sessions — TUI and other sources hidden
- #59224: Bug: Classic CLI /resume listing hides Desktop (and other non-cli) sessions

## Closed / duplicate issues

- #47214: \[Bug\] /resume cannot list TUI desktop sessions, filtered by hardcoded source="cli"

## Prior & competing PRs

- **#23002: fix(cron): guard load_jobs against malformed jobs.json shapes**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `d4b533de4edd2211125dfe3904959d1cd41c5642`, `#37146`
- **#36927: fix(cron): repair list-shaped jobs store**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `d4b533de4edd2211125dfe3904959d1cd41c5642`
- **#44975: fix(cli): show sessions from all sources in /sessions command**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#77359`
  - files: `cli.py`, `tests/cli/test_cli_resume_command.py`
- **#45028: fix(cli): show all session sources in /sessions command (#44964)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#44975`, `#44964`, `#44975`
- **#45051: fix: remove source filter from /sessions to show all local sessions**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#44975`
- **#45055: fix(cli): show all session sources in /sessions list**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#77359`
- **#47224: fix(cli): include tui sessions in /resume listing**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `ac6dd598a4b8a76c044f5b4cde4ca354845c9f45`
  - files: `cli.py`, `hermes_cli/session_listing.py`, `hermes_state.py`, `tests/test_hermes_state.py`
- **#47270: fix(cli): include TUI sessions in /resume listing**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#47357: fix(cli): include TUI desktop sessions in /resume listing (#47214)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#47224`, `#47214`, `#47224`, `#47224`
- **#59225: fix(cli): show all source sessions in /resume listing (#59224)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#77359`
- **#59281: fix(cli): show all user sessions in /resume listing, not just CLI**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#77359`, `#77359`, `#77359`
  - files: `cli.py`, `tests/cli/test_cli_resume_command.py`
- **#76774: fix(resume): unify session-source visibility across all resume surfaces**. open
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`; refs `12bcaa3662f6f23c0e3cb22b6254ba807c323907`, `693641aa8b4359c602283bdbbc14041e03bc47bc`, `693641aa8b4359c602283bdbbc14041e03bc47bc`, `0a62610f10cc34d696b2239b2c69fa1ba0f1ca63`, `693641aa8b4359c602283bdbbc14041e03bc47bc`, `693641aa8b4359c602283bdbbc14041e03bc47bc`, `693641aa8b4359c602283bdbbc14041e03bc47bc`, `fb07914580aec40e1195f6a898fc13dcf79d20ef`, `147a8b2ce31bd15e115dd1cb903853ed479cfcf2`, `fb07914580aec40e1195f6a898fc13dcf79d20ef`, `12bcaa3662f6f23c0e3cb22b6254ba807c323907`, `12bcaa3662f6f23c0e3cb22b6254ba807c323907`, `#59225`, `#77359`, `#44975`, `#45055`, `#59281`, `#47224`, `#77359`, `#59225`, `#59225`, `#77359`, `#59224`, `#44964`, `#47214`, `#41220`, `#74816`
  - files: `gateway/slash_commands_session.py`, `hermes_cli/cli_session_mixin.py`, `hermes_cli/console_engine.py`, `hermes_cli/main.py`, `hermes_cli/session_listing.py`, `hermes_cli/sessions_cmd.py`, `tests/gateway/test_resume_command.py`, `tests/gateway/test_session_list_allowed_sources.py`, `tests/hermes_cli/test_resolve_last_session.py`, `tests/hermes_cli/test_resume_latest_and_in_dir.py`, `tests/hermes_cli/test_session_listing.py`, `tui_gateway/methods_session.py`
- **#120447: fix(desktop): start sessions.changed watcher at backend boot (#103420)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `f49afd3122`, `#103420`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
