NousResearch/hermes-agent

Orphan session fix for stream interrupt recovery

Cluster 111999. Data as of

Nothing open on GitHub. Fix merged in #112311 on 16 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #112311. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug caused network error recovery during streaming to create phantom sessions with source='unknown' instead of resuming within the original session. These members address keeping stream-interrupt recovery inside the original session on Desktop and TUI clients.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #112311 fix(sessions): stream-interrupt recovery stays in the original session, no source='unknown' phantoms on Desktop/TUI (#111999, salvage #112045)

    merged to main

    files: agent/codex_runtime.py, agent/turn_usage.py, hermes_state.py, hermes_state_sessions.py, hermes_state_usage.py, tests/agent/test_token_guard_session_source.py, tests/tui_gateway/test_bot_live_owner_delivery.py, tests/tui_gateway/test_stream_interrupt_recovery_orphan.py, tui_gateway/prompt_turn.py, tui_gateway/session_reaper.py, website/docs/user-guide/configuration.md

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #112045 fix(sessions): keep a stream-interrupt recovery inside the original session (no source='unknown', assistant-first orphans) · superseded by another PR → #112311
Closed issues · 1
  • Closed#111999[Bug]: Phantom-Sessions (source=unknown) - Network-Error-Recovery creates orphan session records instead of continuing in the original session
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#112311
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
16 Sep 2026

For your agent

The same facts, typed.