From a7d1579d6c9463016ab9313574772aa2959363f8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 16:59:55 +0900 Subject: feat(crdt): add client-side CRDT migration script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add one-time migration script to convert existing local IndexedDB entities to Automerge CRDT documents. Includes: - Migration with idempotency check (runs only once) - Batch processing option for large datasets - Progress callback for UI feedback - Unit tests for migration logic 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- docs/dev/roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev/roadmap.md') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 1531b63..4d8e991 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -38,7 +38,7 @@ Replace the current Last-Write-Wins (LWW) conflict resolution with Automerge CRD ### Phase 5: Migration -- [ ] Create `src/client/sync/crdt/migration.ts` - One-time migration script +- [x] Create `src/client/sync/crdt/migration.ts` - One-time migration script - [ ] Create server migration script to convert existing data ### Phase 6: Testing and Cleanup -- cgit v1.2.3-70-g09d2