NousResearch/hermes-agent

Prompt cache correctness and session key fixes

Cluster 96570. Data as of

Nothing open on GitHub. Fix merged in #97704 on 29 Aug 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 #97704. 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 concern bugs and fixes in prompt-cache behavior, including affinity/conversation key handling, scope isolation, and session-level system prompt persistence that causes cache misses in group chat.

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.

  • #97704 fix: P0 batch — five prompt-cache fixes + two desktop persistence fixes (salvage of #97618 #96755 #97327 #96768 #96608 #95886)

    merged to main

    files: agent/bedrock_adapter.py, agent/chat_completion_helpers.py, agent/prompt_cache_boundary.py, agent/prompt_caching.py, agent/transcript_repair.py, agent/transports/chat_completions.py, agent/turn_finalizer.py, apps/desktop/electron/gateway-file-download-transport.test.ts, apps/desktop/electron/gateway-file-download.fs.test.ts, apps/desktop/electron/gateway-file-download.test.ts, apps/desktop/electron/gateway-file-download.ts, apps/desktop/electron/main.ts, apps/desktop/src/app/session/hooks/use-message-stream/index.ts, apps/desktop/src/app/session/hooks/use-message-stream/session-info-side-effects.test.tsx, apps/desktop/src/lib/chat-messages.test.ts, apps/desktop/src/lib/chat-messages/parts.ts, contributors/emails/[redacted:email], contributors/emails/[redacted:email], hermes_state.py, run_agent.py (+7 more)

2 PRs closed without merging

From the close comments: merged via another change 1 · other 1

  • #96768 test(cache): pin the prompt-cache scope isolation invariant for per-response session ids · merged via another change → #97704
  • #97158 fix(cache): honor the host-declared conversation key on the affinity-key path · other → #96811, #79017, #86733, #97709, #98170
Closed issues · 1
  • Closed#96570Group chat sessions: stored system prompt is null every turn — rebuilt from scratch, prefix cache always misses
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
#97704
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
29 Aug 2026

For your agent

The same facts, typed.