NousResearch/hermes-agent

Desktop gateway download file preservation fixes

Cluster 96597. 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 issues and PRs address a bug where a failed gateway download could truncate or delete a pre-existing file in the downloads directory. The fixes aim to make gateway file saves failure-atomic so existing files are not destroyed on download failure.

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: duplicate 1 · merged via another change 1

  • #96604 fix(desktop): preserve existing files on failed gateway download · duplicate → #96608
  • #96608 fix(desktop): make gateway file saves failure-atomic so a failed download never destroys an existing file · merged via another change → #97704
Closed issues · 1
  • Closed#96597Desktop: failed gateway download truncates/deletes a pre-existing file in the downloads directory
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.