NousResearch/hermes-agent

Truncation logic bugs causing message loss

Cluster 82756. Data as of

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

These issues and fixes relate to incorrect truncation ordinal/address space handling in gateway state and desktop session history, where stale or mis-aimed truncation values risk silently deleting messages. Multiple recurrences of the same class of bug are represented.

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.

  • #82950 fix(gateway/state): correct the truncate ordinal address space and make rewind truncation recoverable (#82756)

    merged to main

    files: apps/desktop/src/lib/chat-messages.test.ts, apps/desktop/src/lib/chat-messages.ts, apps/desktop/src/types/hermes.ts, contributors/emails/[email protected], contributors/emails/[redacted:email], hermes_state.py, tests/hermes_state/test_replace_messages_archive_siblings.py, tests/test_tui_gateway_server.py, tui_gateway/methods_prompt.py, tui_gateway/methods_session.py, tui_gateway/server.py, ui-tui/src/domain/messages.ts, website/docs/developer-guide/programmatic-integration.md

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #82766 fix(desktop): preserve session history using message_id truncation · done elsewhere → #82756, #82811, #82950
  • #82811 fix(gateway/state): fix the truncate ordinal address space and make a mis-aimed rewind recoverable (#82756) · merged via another change → #82950, #82766
Closed issues · 1
  • Closed#82756[Bug]: Desktop plain-Enter submit silently deleted ~65 messages — stale truncate_before_user_ordinal + auto-attached confirm_truncate (3rd occurrence after #70516, #80763)
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
#82950
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
10 Aug 2026

For your agent

The same facts, typed.