memory_supersede
Mark a stored memory obsolete and record its replacement so retrieval ranks the corrected claim higher while keeping both entries 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. Test junk or a never-true entry:
memory_forget; a canonical slot: memory_fact_set.
Use exactly one selector. Missing, retired, or ambiguous targets cause no mutation; search again and resubmit an ID. No similarity fallback.
Returns: {superseded_count, superseded_texts, superseded_ids, 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 |
|---|---|---|---|
| entry_id | No | Positive search/recent ID in this bank; preferred selector. | |
| new_text | Yes | The replacement claim; stored fresh. | |
| old_text | No | Unique exact stored text; omit with entry_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||