Skip to main content

Dense-Mem · assistants

Where’s band practice?

A saved message helps a bandmate answer a question and check the source.

Maya asks her assistant to remember both lines for the band.

The assistant sends one source item and chooses the band’s shared memory.

target_space: team_sharedidempotency_key: band-note-01
  • Assistant · Remember requestOriginal submitted item

    We rehearse in Room 4.
    Bring headphones.

    The assistant sends both lines verbatim. Dense-Mem keeps the original so it can validate the split and trace each passage to its source.

  • Maya’s assistant · Remember requestAuthenticated space selection

    team_shared

    The assistant sends team_shared when Maya chooses to save for the band. Dense-Mem checks shared write permission in the authenticated team.

  • Assistant · retained before sendingRemember replay lookup

    band-note-01

    The assistant keeps the key and the whole request. If the reply is lost, a retry with both unchanged can recover the original result.

The saved message contains two things a bandmate could ask about.

Dense-Mem finds a boundary between the ideas and keeps both passages in Maya’s exact words.

span_end: 23span_start: 0
  • Dense-Mem · accepted splitStored span → Trace

    23

    The end is exclusive. The first passage includes 22 visible characters and the line break. Trace returns the same bound to locate the passage in the original.

  • Validated split · first positionRemember result and Trace

    0

    The first span starts at Unicode code-point offset zero. Dense-Mem stores the offsets with the occurrence so it can recover the exact slice.

  • Assistant · Remember requestOriginal submitted item

    We rehearse in Room 4.
    Bring headphones.

    The assistant sends both lines verbatim. Dense-Mem keeps the original so it can validate the split and trace each passage to its source.

Sam’s assistant finds Maya’s room message and answers “Room 4.”

Search returns the relevant sentence from memory Sam can read. The assistant uses it to write the reply.

query: Where’s practice?context: We rehearse in Room 4.
  • Sam’s assistant · Recall requestSearch over allowed spaces

    Where’s practice?

    The reader’s question becomes a query. Search can match related wording within the reader’s eligible memory.

  • Recall · exact evidenceAssistant’s answer

    We rehearse in Room 4.
    

    The result carries a slice of the saved words. In this example the assistant uses that slice to answer the question.

  • Recall resultTrace 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.

Sam checks the answer against Maya’s original note.

The assistant uses the matching passage’s ID to follow it back to the saved message.

span_end: 23
  • Assistant · copied from RecallAuthorized 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 · recorded occurrenceOriginal submitted item

    20000000-0000-4000-8000-000000000002

    The occurrence’s partition points to the original item. Its stored bounds locate the slice inside that item.

  • Dense-Mem · accepted splitStored span → Trace

    23

    The end is exclusive. The first passage includes 22 visible characters and the line break. Trace returns the same bound to locate the passage in the original.

01 / 04Save the note
Signals
Step 1 of 4