devbox/internal/syncer
shoemoney a951d4ab2f feat(M3): pull + 3-way merge engine — converge without losing a byte 🔱
- internal/syncer Pull: fetch hub head manifest, 3-way merge vs base + local tree:
  hub-only changes apply (write/delete), local-only stay, both-changed keeps hub
  canonical + preserves the local edit as path.conflict-<host>-<ts>.ext
- delete-vs-edit always keeps the edit; identical concurrent edits don't conflict
- Sync: pull->merge->push with conflict-retry loop (converges under races)
- atomic file writes; chunk reassembly via GetBlob
- tests: two devices concurrent-edit -> conflict copy propagates to BOTH, zero data
  loss; hub delete propagates to clones
2026-06-23 00:01:06 -05:00
..
pull.go feat(M3): pull + 3-way merge engine — converge without losing a byte 🔱 2026-06-23 00:01:06 -05:00
pull_test.go feat(M3): pull + 3-way merge engine — converge without losing a byte 🔱 2026-06-23 00:01:06 -05:00
syncer.go harden(M2->M3): parent-aware push + hashed bearers + blob download 🔐 2026-06-22 23:54:55 -05:00
syncer_test.go harden(M2->M3): parent-aware push + hashed bearers + blob download 🔐 2026-06-22 23:54:55 -05:00