# NousResearch/hermes-agent · Memory new_text alias empty-string handling fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address a bug where the new_text alias in memory operations fails or misbehaves when content is serialized as an empty string. Fixes cover both the single-operation path and serialized-empty content being treated incorrectly as set.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #133038. Verify it addresses your case.
- **Recommended:** read PR #133038 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-133038`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member 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.

## Closed / duplicate issues

- #90468: memory: new_text alias fails when content is serialized as an empty string

## Prior & competing PRs

- **#133038: Memory writes stop failing on hand-formatted files, and refused writes say exactly what to fix (#107270, #90468)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/agent/test_learning_mutations.py`, `tests/tools/test_memory_tool.py`, `tools/memory_tool.py`, `tools/memory_tool_store.py`, `website/docs/user-guide/features/memory.md`
- **#90472: fix(memory): treat serialized-empty content as unset for the new_text alias**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `b9013584b2`, `#133038`, `#90468`
- **#90723: fix(memory): handle empty-string new_text alias in single-op path (#90468)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#90472`
- **#99146: fix(memory): new_text alias fallback triggers on empty-string content**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#90472`

## Fix status

- Merged to main in PR #133038 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-05`.
- Subsystem: `agent`
