Skip to main content

edit_memory

Function edit_memory 

Source
pub fn edit_memory(
    start: &Path,
    memory_id: &str,
    new_text: Option<&str>,
    new_kind: Option<MemoryKind>,
) -> KimetsuResult<()>
Expand description

Record a durable correction to an active memory. Text changes reset claim-specific evidence and invalidate embeddings atomically with FTS. Kind-only changes preserve evidence; all corrections retain text lineage.