Promote a new memory and mark an older one obsolete
supersede_memoryAtomically INSERT a higher-importance summary AND mark an older memory row's superseded_by_id to point at the new one. Use during reflection to compact noisy chains (e.g. 6 separate "i placed a block" rows → 1 "i built the eastern apron" reflection). The new memory inherits the brain's embedding via Workers AI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_id | Yes | ||
| new_kind | Yes | ||
| new_text | Yes | ||
| new_importance | No |