Dense-Mem
← Assistants and integrations

When plans change

Replace a saved note when the room moves, or withdraw it when practice is cancelled.

Change the room

  1. Earlier plan

    We rehearse in Room 4.

  2. Maya’s update

    We rehearse in Room 7.

Maya shares the new room using her own saved note.

  1. Owned passage

    We rehearse in Room 4.

  2. Replacement

    We rehearse in Room 7.

  3. Current memory

    Room 7 is findable

The assistant sends the exact replacement and the old ID. Ownership is checked and both changes commit together.

evidence[0].supersedes_evidence_idsarray of IDs
Owner’s assistant · replacement request
["00000000-0000-4000-8000-000000000001"]
Remember · lifecycle update
["00000000-0000-4000-8000-000000000001"]

The owner supplies the ID of the passage being replaced. Dense-Mem checks authority and saves the replacement with the recorded change.

remember request · Optional

results[0].evidence_idUUID
Recall result
"00000000-0000-4000-8000-000000000001"
Trace request · evidence_id
"00000000-0000-4000-8000-000000000001"

The server returns the matching memory’s ID. The assistant can send that same ID to Trace, which checks access before returning its source.

recall_memory result · Required · Up to 128 characters

Check the earlier note

  1. Current answer

    Room 7

  2. Earlier source

    We rehearse in Room 4.

Sam finds the updated room. The old passage still has a history.

  1. Current Recall

    We rehearse in Room 7.

  2. Trace history

    We rehearse in Room 4.

Current Recall excludes the superseded passage. Trace retains the authorized transition and exact source.

evidence_idUUID
Assistant · copied from Recall
"00000000-0000-4000-8000-000000000001"
Authorized Trace lookup
"00000000-0000-4000-8000-000000000001"

Trace uses the returned ID to look up the saved passage and its recorded provenance in a space this caller can read.

trace_memory request · Required · Up to 128 characters

evidence[0].supersedes_evidence_idsarray of IDs
Owner’s assistant · replacement request
["00000000-0000-4000-8000-000000000001"]
Remember · lifecycle update
["00000000-0000-4000-8000-000000000001"]

The owner supplies the ID of the passage being replaced. Dense-Mem checks authority and saves the replacement with the recorded change.

remember request · Optional

Withdraw a plan

  1. Saved practice note

    Maya withdraws her note

  2. Current search

    That note is withdrawn

Maya cancels practice and withdraws the note she owns.

  1. Owner’s request

    Withdraw the selected passage

  2. Current Recall

    Passage no longer eligible

Retraction removes the owned passage from current Recall and records the lifecycle decision.

evidence_idsarray of IDs
Maya’s assistant · retraction request
["00000000-0000-4000-8000-000000000003"]
Ownership and lifecycle check
["00000000-0000-4000-8000-000000000003"]

The assistant supplies the current Room 7 passage ID. Dense-Mem checks whether Maya may withdraw that exact passage.

retract_evidence request · Required

reasonstring
Owner · retraction request
"Practice was cancelled"
Lifecycle history
"Practice was cancelled"

The owner states why the passage is being withdrawn. The recorded decision explains the change and preserves authorized provenance.

retract_evidence request · Required · Up to 1000 characters

retracted_evidence_idsarray of IDs
Retraction result
["00000000-0000-4000-8000-000000000001"]
Assistant · confirms withdrawal
["00000000-0000-4000-8000-000000000001"]

The result lists the exact owned IDs whose current Recall eligibility changed.

retract_evidence result · Required

Read the reference