NousResearch/hermes-agent
Session ended_at not set on exit or interruption
Cluster 22071 · agent. Data as of
2 open items. Fix attempted, not merged.
The short answer
1open issue
1open PR
4items grouped
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- No fix has been merged to main. 1 PR closed without merging; see the attempts below.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 1 issue and 1 PR.
Next step: read the attempts below. Your case may extend or revive that work.
Pick up a Lab taskMultiple issues and fixes address sessions failing to record ended_at in state.db when processes exit unexpectedly, are force-quit, or disconnect, causing sessions to accumulate as open/zombie records. Fixes involve atexit handlers and transcript persistence across CLI and TUI.
Open issues1
- Issue#22071Session liveness: 29% of sessions leak with ended_at=NULL on hard exits
Open PRs1
- PR#47292fix(cli): end session in state.db on atexit cleanup
1 PR closed without merging
From the close comments: duplicate 1
-
#47401 fix(cli): add atexit handler to end session on unexpected exit (#47277) · duplicate →
#47292,#47277
Closed issues · 1
- Closed#47277WebUI/Desktop/TUI sessions never set ended_at — accumulate as zombies in state.db
How this cluster was grouped
-
Link evidence (
partly structural links): 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.39: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means 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 LabAt a glance
- Subsystem
- agent
- Closed issues
- 1
- Attempts
- 1 PR closed without merging