# NousResearch/hermes-agent · Gateway session ID persistence across resets/crashes

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #13536: fix(gateway): persist parent session ID on auto-reset

A bug was identified where the gateway's auto-reset discards the parent session ID, breaking chat continuity. Multiple fixes address persisting the session ID and restoring the transcript after resets or crashes.

## TL;DR

- 6 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #82633. Verify it addresses your case.
- **Recommended:** read PR #82633 (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-82633`. 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.33`: 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

- #12857: \[Bug\]: Auto-reset in gateway discards context — parent session ID never stored

## Prior & competing PRs

- **#12869: fix(gateway): persist parent session ID on auto-reset and restore transcript**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#12897: fix(gateway): persist parent session ID and restore transcript on auto-reset**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#82633: fix(gateway): make session identity durable so chat continuity survives crashes and restarts**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/session.py`, `hermes_state.py`, `tests/gateway/test_session_continuity_82616.py`
- **#12890: fix: persist parent session ID and restore transcript on auto-reset**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#13536: fix(gateway): persist parent session ID on auto-reset**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/session.py`, `tests/gateway/test_session_parent_id.py`

## Fix status

- Merged to main in PR #82633 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-09`.
- Subsystem: `gateway`
