Agent cache prefix stability and tool refresh fixes
Cluster 100336. Data as of
Nothing open on GitHub. Fix merged in #101367 on 2 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #101367. 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.
These items address bugs where the cached system-prompt prefix or tool list was being invalidated or reset during a session—specifically across model switches, agent-cache evictions, and between-turn tool refreshes. The work focuses on preserving prefix-cache state to maintain high cache-hit rates.
Open issues0
Open PRs0
Fixes on record
-
#101367 fix(tools): tools[] stays frozen for the session — prefix preserved, survives agent-cache eviction, /reload-mcp re-probes (salvage #100638)
files:
agent/conversation_loop.py,agent/turn_context.py,cli.py,gateway/run.py,hermes_state.py,hermes_state_common.py,tests/tools/test_refresh_agent_mcp_tools.py,tools/mcp_tool.py,tui_gateway/methods_tools.py,website/docs/reference/slash-commands.md,website/docs/user-guide/features/mcp.md
2 PRs closed without merging
From the close comments: merged via another change 1 · other 1
Closed issues · 1
- Closed#100336Prefix-cache invalidation on model switch: stored system prompt is nulled, forcing full re-prefill of entire history (2% -> 99% cache hit measured)
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.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
- #101367
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 2 Sep 2026