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
- 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.
Next step: read #117988, then check whether your report is the one still open.
Read #117988Pick up a Lab taskMost 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
-
#117988 fix(memory): replace states and surfaces the whole-entry contract — no more silent truncation (#117952, salvage #109177)
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
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.00means 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 LabAt a glance
- Subsystem
- agent
- Merged PRs
- #117988
- Closed issues
- 1
- Attempts
- 7 PRs closed without merging
- Fix link checked
- 21 Sep 2026