Thanks for mnemon β the LLM-supervised design is lovely to build on. π
I run Claude Code on two machines and wanted the same memory on both. Since a store is just a SQLite DB, I put together a small external tool (more duct tape than engineering) that keeps stores in sync across devices without changing mnemon at all.
Repo: https://github.com/b1rdex/mnemon-sync
The gist: instead of file-syncing the live .db (which corrupts and can't be merged), each machine publishes a per-device snapshot and the other side merges them back with last-writer-wins β converging without ever losing a memory. It leans on things mnemon already does right (UUID ids, soft-delete, an updated_at on every row) and runs automatically via Claude Code hooks.
I used Syncthing to move the files around because it's private (device-to-device, nothing on third-party servers) and free β but the tool doesn't care how the folder gets synced, so in theory iCloud / Dropbox / whatever should work too (haven't tested those).
Not asking for anything to be merged β just sharing in case it's useful to anyone else running mnemon on more than one machine, and happy to be corrected if I've misread any internals. Thanks again!
Thanks for mnemon β the LLM-supervised design is lovely to build on. π
I run Claude Code on two machines and wanted the same memory on both. Since a store is just a SQLite DB, I put together a small external tool (more duct tape than engineering) that keeps stores in sync across devices without changing mnemon at all.
Repo: https://github.com/b1rdex/mnemon-sync
The gist: instead of file-syncing the live
.db(which corrupts and can't be merged), each machine publishes a per-device snapshot and the other side merges them back with last-writer-wins β converging without ever losing a memory. It leans on things mnemon already does right (UUID ids, soft-delete, anupdated_aton every row) and runs automatically via Claude Code hooks.I used Syncthing to move the files around because it's private (device-to-device, nothing on third-party servers) and free β but the tool doesn't care how the folder gets synced, so in theory iCloud / Dropbox / whatever should work too (haven't tested those).
Not asking for anything to be merged β just sharing in case it's useful to anyone else running mnemon on more than one machine, and happy to be corrected if I've misread any internals. Thanks again!