Module snapshot
Expand description
Memory snapshot — export/import core memories as human-readable Markdown.
Constants§
- SNAPSHOT_
FILENAME - Filename for the snapshot (lives at workspace root for Git visibility).
Functions§
- export_
snapshot - Export all
Corememories from SQLite →MEMORY_SNAPSHOT.md. Returns the number of entries exported. - hydrate_
from_ snapshot - Import memories from
MEMORY_SNAPSHOT.mdinto SQLite. Called during cold-boot whenbrain.dbdoesn’t exist but the snapshot does. Returns the number of entries hydrated. - should_
hydrate