NousResearch/hermes-agent

Gateway agent cache stale after cross-process session writes

Cluster 45966. Data as of

Nothing open on GitHub. Fix merged in #46237 on 14 Jun 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 #46237. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #46237. That is separate from the fix event.
Still open
Nothing open on GitHub.

The members appear to share one theme: the gateway's cached agent can hold stale context when another process appends to the same session. One issue describes the problem, and the pull requests propose ways to invalidate or rebuild the cached agent, with one also mentioning preserving prompt caching.

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.

  • #46237 fix(gateway): cross-process agent-cache coherence (#45966) + preserve prompt caching

    merged to main

    files: gateway/run.py, tests/gateway/test_agent_cache.py

2 PRs closed without merging

From the close comments: merged via another change 1 · superseded by another PR 1

  • #45949 fix(gateway): rebuild cached agent when a session grows in another process · superseded by another PR → #45966, #46237
  • #46095 fix(gateway): invalidate agent cache on cross-process session writes (#45966) · merged via another change → #45966, #46237
Closed issues · 1
  • Closed#45966Gateway replies with stale context when another process appends to the same session (cross-process agent-cache split-brain)
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
#46237
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
14 Jun 2026

For your agent

The same facts, typed.