mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 14:36:35 +09:00
memory export was the only primary memory subcommand without --path, and memory_export had no dbPath input. The handler always opened the default stores, so a specific snapshot (agentdb-memory.db, an archive, or a backup) could not be exported from the CLI; an explicit selection was silently impossible. Add DB_PATH_OPTION to export, pass resolveDbPath() to memory_export, and teach the handler to treat an explicit dbPath as a single-store read: it skips default initialization/migration and does not merge the sibling. With no dbPath, the existing both-store merge is unchanged. Add CLI/schema and sql.js handler regression tests (explicit file only; missing file error).