NousResearch/hermes-agent

Memory tool partial replace truncating surrounding entry content

Cluster 56464 · agent. Data as of

2 open items. Fix merged in #117988 on 21 Sep 2026. Check it covers your case.

The short answer

1open issue
1open PR
11items grouped
Known?
Yes. 11 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #117988. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this partially resolved, deciding PR #117988. That is separate from the fix event.
Still open
1 issue and 1 PR.

Most members concern the memory tool's replace operation, where a partial old_text match is reported to replace or truncate the whole entry instead of preserving surrounding content. One member also covers detecting squashed multi-entry blobs as memory drift, which is related but distinct.

Open issues1

  • Issue#56464[BUG] memory tool: replace/add silently truncate MEMORY.md — data loss

Open PRs1

  • PR#56497fix(tools): detect squashed multi-entry blobs as memory drift (#56464)

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #117988 fix(memory): replace states and surfaces the whole-entry contract — no more silent truncation (#117952, salvage #109177)

    merged to main

    files: contributors/emails/[redacted:email], hermes_cli/write_approval_commands.py, tests/tools/test_memory_tool.py, tests/tools/test_write_approval.py, tools/memory_tool.py, tools/memory_tool_store.py, website/docs/user-guide/features/memory.md

7 PRs closed without merging

From the close comments: superseded by another PR 3 · stale or abandoned 2 · duplicate 1 · partial fix 1

  • #59206 fix(memory): substring replace preserves surrounding entry content · stale or abandoned
  • #59602 fix(memory): substring replace preserves surrounding entry content · duplicate → #59206
  • #59788 fix(memory): preserve surrounding content in partial replace (#59184) · stale or abandoned
  • #60698 fix(memory): replace partial old_text within entry instead of replacing whole entry (#59184) · partial fix
  • #61357 fix(memory): preserve entry content on substring replace · superseded by another PR → #117988, #66321, #117952
Show 2 more
  • #66321 fix(memory): substring replace preserves content in all paths (single + batch) · superseded by another PR → #117988, #105693, #59184, #59206
  • #105693 fix(memory): preserve surrounding content on partial replace across single and batch paths (#59184) · superseded by another PR → #59184
Closed issues · 1
  • Closed#59184[Bug]: Memory replace with partial old_text on composite entry truncates everything after match
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.17: 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

Subsystem
agent
Merged PRs
#117988
Closed issues
1
Attempts
7 PRs closed without merging
Fix link checked
21 Sep 2026

For your agent

The same facts, typed.