# NousResearch/hermes-agent · Fix memory update_fact duplicate content constraint crash

## Open now

- 1 issue, 2 PRs open on GitHub.
- #43389: fix(memory): update_fact crashes on UNIQUE constraint when updating content to a duplicate
- PR #43399: fix(memory): handle UNIQUE constraint in update_fact() (#43389)
- PR #43404: fix(memory): reject duplicate-content update instead of crashing

These issues and pull requests address a bug where update_fact() crashes or errors when attempting to update memory content to a value that already exists, violating a UNIQUE constraint. The proposed fixes involve guarding against or gracefully rejecting such duplicate-content updates.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. 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.50`: 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.

## Open related issues

- #43389: fix(memory): update_fact crashes on UNIQUE constraint when updating content to a duplicate

## Prior & competing PRs

- **#43401: fix(memory): guard update_fact against UNIQUE constraint on content**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#41369`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#43399: fix(memory): handle UNIQUE constraint in update_fact() (#43389)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#41369`, `#43401`, `#43389`
  - files: `plugins/memory/holographic/store.py`
- **#43404: fix(memory): reject duplicate-content update instead of crashing**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#41369`
  - files: `plugins/memory/holographic/store.py`, `tests/plugins/memory/test_holographic_store_update_fact.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
