Home / Docs / Dense-Mem / When is a note saved? Step 1 Receive the original 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
Inspect 3 fields →
Assistant · Remember request → Original 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 boundary → Dense-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 sending → Remember replay lookup
band-note-01The assistant keeps the key and the whole request. If the reply is lost, a retry with both unchanged can recover the original result.
Step 2 Check the suggested split 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
Inspect 3 fields →
cut_refsarray of IDs
Partition model · proposed boundary → Dense-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 position → Remember result and Trace
0The 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 split → Stored span → Trace
23The 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.
Step 3 Publish both passages 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
Inspect 3 fields →
Remember · final response → Assistant · confirms the save
completedThe final result is safe to acknowledge after required assessment, search preparation, and the durable transaction succeed.
Remember terminal result → Assistant · confirms availability
currentRequired 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 occurrence → Original submitted item
20000000-0000-4000-8000-000000000002The occurrence’s partition points to the original item. Its stored bounds locate the slice inside that item.
01 / 03 Receive the original
PlayVariant Default Try an invalid split Inspect fields Original item Offered boundary Accepted passage Required search data One durable commit Signals We rehearse in Room 4. Bring… Between the two ideas
Back Step 1 of 3 Next