# NousResearch/hermes-agent · Close idle or abandoned runtime sessions at boundaries

## Open now

- 1 issue, 2 PRs open on GitHub.
- #48997: Desktop should explicitly close abandoned runtime sessions and owned backends
- PR #49018: fix(desktop): close idle runtime sessions at chat boundaries
- PR #125827: feat: close sessions without deleting them — end-reasoned session.close, boundary closes, End session

These items address explicitly closing idle, abandoned, or boundary-reached runtime sessions on the desktop client without necessarily deleting them. The work covers session lifecycle management at chat boundaries and for owned backends.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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.67`: 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

- #48997: Desktop should explicitly close abandoned runtime sessions and owned backends

## Prior & competing PRs

- **#49018: fix(desktop): close idle runtime sessions at chat boundaries**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `94364cad7c012690f095598a6d8a87f8cff60549`
  - files: `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/ja.ts`, `apps/desktop/src/i18n/types.ts`, `apps/desktop/src/i18n/zh-hant.ts`, `apps/desktop/src/i18n/zh.ts`, `tests/test_tui_gateway_server.py`, `tui_gateway/server.py`
- **#125827: feat: close sessions without deleting them — end-reasoned session.close, boundary closes, End session**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `c030a6607b8b8309967301572fa4085d1f4da908`
  - files: `apps/desktop/src/app/chat/index.test.tsx`, `apps/desktop/src/app/chat/index.tsx`, `apps/desktop/src/app/chat/session-tile.tsx`, `apps/desktop/src/app/chat/sidebar/session-actions-menu.tsx`, `apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts`, `apps/desktop/src/app/contrib/latest-actions.test.ts`, `apps/desktop/src/app/contrib/latest-actions.ts`, `apps/desktop/src/app/contrib/types.ts`, `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/session/hooks/default-new-session.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/i18n/ar.ts`, `apps/desktop/src/i18n/de.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/es.ts`, `apps/desktop/src/i18n/fr.ts`, `apps/desktop/src/i18n/ja.ts`, `apps/desktop/src/i18n/ru.ts`, `apps/desktop/src/i18n/types.ts` (+8 more)

## Fix status

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