memory_supersede
Correct stale memories by storing a replacement and flagging the old entry, so future retrieval favors the new fact and presents both together.
Instructions
Mark a stored memory obsolete and record its replacement. The old entry is kept but flagged superseded, so retrieval ranks the correction higher and shows both together.
Returns: {superseded_count, superseded_texts, new_memory_stored, derived_flagged} — the last being the canonical facts the dream built
on the memories just corrected. They are FLAGGED, never rewritten;
check each and re-assert the ones that moved. Each row carries
has_current_value: false means the slot holds no current fact any
more — blast radius worth seeing, but nothing to go re-check. The list
is capped, live slots first; derived_flagged_truncated /
derived_flagged_total say when a correction reached further than
the cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_text | Yes | The replacement claim; stored fresh. | |
| old_text | Yes | The memory now obsolete. Matched exact-text first, then by nearest embedding — a close paraphrase works. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||