forget
Archive a memory to soft-delete wrong, stale, or duplicate entries; it is reversible and still readable in archived lists.
Instructions
Archive a memory (soft delete -- content is kept, just excluded from default search/list).
The call for a memory that is wrong, stale or a copy. It is reversible: the dashboard's restore brings an archived memory back, and list_by_domain(status='archived') still reads it. purge_memory() is the irreversible delete, only on the user's explicit request; to correct a memory instead of retiring it, edit_memory(). Archiving an open task cancels it; its items keep their states.
Returns {"ok": True}, or {"ok": False} for an unknown uid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | the memory. | |
| reason | No | why it is archived, recorded as a status-change audit entry without touching the content. | |
| superseded_by | No | the uid of the memory that replaces this one, kept on the archived record. To mark a memory that stays active as replaced, draw link_memories(new, old, 'supersedes') instead: search then flags the old one `succeeded_by`. |