Stale tool-call marker corrupts subsequent responses
Cluster 78148. Data as of
Nothing open on GitHub. Fix merged in #78222 on 4 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #78222. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #78222. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern a bug where a bare tool-call marker (e.g. '[memory]') is left in place after context compaction or a tool loop, causing it to persist as a response template and corrupt all following replies. The fix involves discarding this marker before fallback or persistence steps.
Open issues0
Open PRs0
Fixes on record
-
#78222 fix(agent): discard bare tool-call marker before fallback/persistence (#78148)
files:
agent/conversation_loop.py,hermes_cli/main.py,hermes_cli/sessions_cmd.py,hermes_state.py,tests/run_agent/test_conversation_fallback_state.py,tests/test_stale_tool_call_marker_session_repair.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#78175 fix(agent): discard bare tool-call marker before fallback/persistence (#78148) · merged via another change →
#78222
Closed issues · 1
- Closed#78148Context compaction after tool loop leaves stale '[memory]' as response template — all subsequent replies return '[memory]'
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.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
- #78222
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 4 Aug 2026