Engram · Use memory

engram forget

engram forget KEY_OR_ID deletes matching local memory rows and associated beliefs/edges. Selector aliases: --key KEY, --memory-id ID. Shared --ote, --db.

engram forget --supersede KEY [--ring-id ID] instead emits a relayable retirement and retains history. --key KEY also selects this branch's key; --ring-id limits the retirement. No active node reports no_active_node and returns 0. Missing selector fails. This is not a remote-data erasure operation.

Both selectors operate on the selected database, not just the OTE's mounted rings: a bare key can match several rings. Plain deletion has no ring filter; use a precise memory ID. Retirement without --ring-id selects all active matches. Guarded or already-overridden pinned memories refuse unsigned deletion/retirement. Results list removed_memory_ids or superseded_memory_ids; deletion with no match is an error, unlike retirement.

See CLI conventions for shared configuration and exit behavior, or browse all commands.