NousResearch/hermes-agent

PTY orphaned after token rotation or new chat

Cluster 131172. Data as of

Nothing open on GitHub. Fix merged in #133847 on 6 Oct 2026. Check it covers your case.

The short answer

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

These items address a bug where dashboard chat sessions leave PTY processes stranded after token rotation or starting a new chat, causing subsequent reconnection attempts to be refused. The work focuses on releasing orphaned PTYs so sessions can be properly resumed or replaced.

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.

  • #133847 fix(dashboard): release the stranded PTY holding a resumed chat's lease

    merged to main

    files: hermes_cli/pty_session.py, hermes_cli/web_routers/chat_ws.py, tests/hermes_cli/test_pty_session.py, tests/hermes_cli/web_routers/test_chat_ws_lease_holder.py

2 PRs closed without merging

From the close comments: superseded by another PR 2

  • #131179 fix(dashboard): release token-rotated orphan PTYs before an explicit chat resume · superseded by another PR → #133847
  • #131181 fix(dashboard): release the PTY a rotated attach token strands · superseded by another PR → #133847
Closed issues · 1
  • Closed#131172[Bug]: Dashboard Chat "New chat" orphans the previous chat's PTY; returning to it is refused ("open in another Hermes window") — single profile, not covered by #125486
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.50: 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
#133847
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
6 Oct 2026

For your agent

The same facts, typed.