diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-31 16:59:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-31 16:59:55 +0900 |
| commit | a7d1579d6c9463016ab9313574772aa2959363f8 (patch) | |
| tree | 8697fc207226da948bb5ca002bbf7c71cdbe6f15 /docs | |
| parent | 29aed156d0ec252c3ce49c5c68183aaa6d45a531 (diff) | |
| download | kioku-a7d1579d6c9463016ab9313574772aa2959363f8.tar.gz kioku-a7d1579d6c9463016ab9313574772aa2959363f8.tar.zst kioku-a7d1579d6c9463016ab9313574772aa2959363f8.zip | |
feat(crdt): add client-side CRDT migration script
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 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/dev/roadmap.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
