Skip to main content

Dense-Mem · backend

When is a note saved?

Follow the exact words from a save request through the checks and the final receipt.

Maya asks her assistant to keep both lines of her message.

After admission, the server offers allowed cut positions to the partition model. The original stays the authority for what can be saved.

idempotency_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.

  • cut_refsarray of IDs

    Partition model · proposed boundaryDense-Mem · validates and slices

    ["p_example_n"]

    The model chooses from server-issued boundary IDs for this item. The server rejects an unknown ID and derives the words and offsets itself.

  • 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 two ideas can be found separately, in Maya’s exact words.

The server validates every proposed boundary, checks the whole assessment, and prepares required search data before commit.

span_start: 0span_end: 23
  • cut_refsarray of IDs

    Partition model · proposed boundaryDense-Mem · validates and slices

    ["p_example_n"]

    The model chooses from server-issued boundary IDs for this item. The server rejects an unknown ID and derives the words and offsets itself.

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

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

Sam can find the new room note once the save completes.

PostgreSQL publishes the accepted passages, source links, search data, and terminal receipt together.

processing_state: completedsearch_state: current
  • Remember · final responseAssistant · confirms the save

    completed

    The final result is safe to acknowledge after required assessment, search preparation, and the durable transaction succeed.

  • Remember terminal resultAssistant · confirms availability

    current

    Required search preparation and the write have succeeded. When Topic organization is enabled, Remember also commits any grounded direct memberships for eligible shared Evidence.

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

01 / 03Receive the original
Signals
Step 1 of 3