Skip to content

v0.11.0 — Merge-based cloud sync

Choose a tag to compare

@Haakam21 Haakam21 released this 12 Apr 09:32
· 10 commits to main since this release

Merge-based cloud sync with conflict detection

Multiple agents can now sync to the same Turso cloud database without overwriting each other's memories.

How it works

  • Auto-merge: memories with unique filenames are merged automatically from both sides
  • Conflict detection: same filename with different content → local version kept, remote version saved to ~/.memfs/conflicts/ for reconciliation
  • No false conflicts: a last_push timestamp prevents your own pushes from echoing back as conflicts on subsequent syncs
  • Deduplication: duplicate filenames (from repeated writes) are resolved by keeping the most recently updated version

Workflow

  1. Agent A writes memories, runs memfs sync
  2. Agent B writes memories (including one with the same filename), runs memfs sync
  3. Agent B sees the conflict, reviews ~/.memfs/conflicts/, reconciles
  4. Agent B runs memfs sync again — no conflict this time
  5. Agent A runs memfs sync — gets Agent B's unique memories auto-merged, sees conflict on the shared file

Full Changelog: v0.10.8...v0.11.0