Expand description
v0.7.0 QW-1 — file-backed reflection chain export.
Ships the ai-memory export-reflections CLI subcommand so an
operator can cat ~/.ai-memory/reflections/<namespace>/<id>.md
and read what the substrate has synthesised without learning SQL.
§Wire shape
ai-memory export-reflections \
--namespace team/alpha \
--out-dir ~/.ai-memory/reflections \
--format md \
--since 2026-05-01T00:00:00Z \
--quietThe substrate is the source of truth: the SQL row is authoritative, the file on disk is a derived artefact. Operators may freely delete / regenerate the directory at any time.
Structs§
- Export
Reflections Args - CLI args for
ai-memory export-reflections. - Export
Summary - Result of one export-reflections run — returned so unit tests can assert on counts without re-parsing stdout.
Enums§
- Export
Format - Supported export formats.
pubbecause the substrate-side hook atcrate::hooks::post_reflect::auto_exportcarries anAutoExportConfig.format: ExportFormatfield, and Rust requires the type to be at least as public as the field.
Functions§
- run
- Dispatch entry-point called from
daemon_runtime::run.