Skip to content

deprecate

Mark memories deprecated or link them to a replacement.

Updated View as Markdown

Usage

machine-memory deprecate <id|id,id,...> (--local|--remote)
machine-memory deprecate --match "old topic" --superseded-by <id> (--local|--remote)

Without --superseded-by, targeted memories receive the deprecated status. With it, they receive superseded_by and point at the canonical replacement. --updated-by records who made the change.

The command accepts either IDs or an active-memory --match query. It returns the changed rows, missing IDs for batch requests, and the count of updated memories. Output flags: --brief prints {id, status}, --json-min/--quiet print {id} for single targets and compact {deprecated_ids, not_found, count} payloads for batches.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close