Agent context-overflow stream recovery death spiral fix
NousResearch/hermes-agent · cluster 106260
Data as of
Nothing open on GitHub. Fix merged in #106567. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #106567. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #106567. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where partial-stream failures during context overflow caused recovery stubs to monotonically grow the context, making sessions unrecoverable. These issues and fixes address dropping or handling the partial fragment to break the repeating overflow cycle.
Open issues0
Open PRs0
Fixes on record
-
#106567 Context-overflow after partial streaming ends the turn instead of growing the request (#106260, salvage #106266)
files:
agent/chat_completion_helpers.py,agent/turn_truncation.py,tests/run_agent/test_overflow_partial_terminal_106260.py
3 PRs closed without merging
From the close comments: done elsewhere 1 · partial fix 1 · superseded by another PR 1
-
#106264 fix(agent): drop partial-stream fragment on context-overflow to break the death spiral · superseded by another PR →
#106266 -
#106275 fix(agent): stop overflowing partial stream recovery (#106260) · partial fix →
1b4207b,#106915 -
#106569 fix(agent): context-overflow stream deaths no longer grow the next request into a death spiral (#106260, salvage #106266) · done elsewhere →
#106567,#106266,#106260
Closed issues · 1
- Closed#106260[Bug] Stream-failure recovery stubs grow the context monotonically; with protect_last_n covering the whole transcript the session becomes unrecoverable
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.40: 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
- Merged PRs
- #106567
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 9 Sep 2026