# NousResearch/hermes-agent · Session continuity across idle auto-resets

## Open now

- 3 issues, 1 PR open on GitHub.
- #5810: Feature: Carry last N messages into new session on auto-reset
- #31371: Feature: compact session continuity handoff after auto-reset
- #43008: Feature: graceful session resume / reset-awareness — idle-expiry silently starts a blank session, agent unaware it lost context
- PR #31692: feat(gateway): renew idle sessions with bounded continuity
- _Broad area: open items may be separate problems._

These items explore ways to preserve or transfer recent context when a session expires due to inactivity, so the agent is not silently dropped into a blank state. Proposals include carrying the last N messages, compact handoff summaries, and bounded session renewal mechanisms.

## TL;DR

- 4 member(s): 3 open issue(s), 0 closed issue(s), 1 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_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.29`: 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

- #5810: Feature: Carry last N messages into new session on auto-reset
- #31371: Feature: compact session continuity handoff after auto-reset
- #43008: Feature: graceful session resume / reset-awareness — idle-expiry silently starts a blank session, agent unaware it lost context

## Prior & competing PRs

- **#31692: feat(gateway): renew idle sessions with bounded continuity**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#31692`
  - files: `gateway/run.py`, `gateway/session.py`, `hermes_state.py`, `tests/gateway/test_31692_continuity_renewal.py`, `tests/gateway/test_channel_continuity_hint.py`, `tests/gateway/test_session.py`, `tests/gateway/test_session_reset_notify.py`, `tests/gateway/test_session_store_stale_prune.py`, `tests/tools/test_async_delegation.py`, `tools/async_delegation.py`

## Fix status

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