Usage
machine-memory local export [local-db-path] --remoteThe command reads the selected SQLite database without modifying it, selects memories belonging to the current Git repository, and exports them into the configured remote D1 database. If the path is omitted, the configured local database path is used, falling back to machine-memory.db in the current directory.
The destination requires remote credentials from remote setup or remote provision. Re-running the command is safe: exact active duplicates are skipped and existing remote records are not deleted or overwritten.
After export
The export writes D1 records but does not backfill Vectorize embeddings. Run the existing reindex command afterward:
machine-memory reindex --remoteThe command preserves memory metadata and repairs superseded_by links when the corresponding source records are available.