At this level
dev.bastienrobert.memory · 2- dev.bastienrobert.memory.record record A single durable memory belonging to the user. Deliberately one generic type: specialising into fact/preference/project/event types is premature until real requirements demand it. Retrieval-specific state (BM25 scores, vector ids, index cursors, caches) MUST NOT be stored here — it is derived data owned by whichever memory engine indexes this record. Consumers MUST preserve properties they do not recognise: an implementation that rewrites a record after dropping unknown fields destroys data writ
- dev.bastienrobert.memory.space space A private space holding the user's agent memory. Any application granted access reads and writes the same records, so the memory engine indexing them is replaceable without moving the data.