# NousResearch/hermes-agent · Bot Chat canonical session orphan reap and resurrection

## Open now

- Nothing open on GitHub.

These items concern a bug where the WebSocket orphan reaper archives the canonical Bot Chat session and it is not restored on reopen, causing new transient sessions to be created each time. The work addresses both the reaper behavior and the resurrection logic for recoverable archival cases.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #93361. Verify it addresses your case.
- **Recommended:** read PR #93361 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-93217`. 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.50`: 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.

## Closed / duplicate issues

- #92687: Bot Mode canonical 'Bot Chat' archived by ws_orphan_reap is not resurrected on reopen — every click creates a new transient session

## Prior & competing PRs

- **#93217: fix(bot-mode): resurrect canonical Bot Chat archived by recoverable reasons on reopen (#92687)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/platforms/api_server.py`, `hermes_state.py`, `hermes_state_common.py`, `tests/tui_gateway/test_profiles_list_canonical_session.py`, `tui_gateway/methods_profiles.py`, `tui_gateway/methods_session.py`
- **#93361: fix(sessions): reconnect no longer strands or storms sessions — reap loop broken, owner-routed RPCs (8 salvages, #91276 cluster)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/profile-session-routing.test.ts`, `apps/desktop/electron/profile-session-routing.ts`, `apps/desktop/src/app/chat/session-tile.test.ts`, `apps/desktop/src/app/chat/session-tile.tsx`, `apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.ts`, `apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts`, `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/resolve-target-session.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/single-flight-resume.test.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/single-flight-resume.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/utils.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/components/assistant-ui/tool/approval.tsx`, `apps/desktop/src/store/gateway-connection-lifecycle.test.ts`, `apps/desktop/src/store/gateway.ts` (+18 more)
- **#93077: fix(gateway): ws-orphan reaper leaves the canonical Bot Chat resumable**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#92687`, `#93217`, `#93361`

## Fix status

- Merged to main in PR #93361 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-24`.
