From db60c5cc3e6dd2e51fce7dd946e477b3e125ba69 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 15:18:39 +0900 Subject: feat(crdt): add CRDT repository layer and sync state management Add Phase 2 of the CRDT implementation: - CRDT-aware repository wrappers for all entity types (Deck, Card, Note, etc.) - Sync state management with IndexedDB storage for CRDT document binaries - Base64 serialization utilities for network transport - Comprehensive test coverage (53 new tests) --- docs/dev/roadmap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/dev') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 41697a9..656b10d 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -18,8 +18,8 @@ Replace the current Last-Write-Wins (LWW) conflict resolution with Automerge CRD ### Phase 2: Create CRDT Repository Layer -- [ ] Create `src/client/sync/crdt/repositories.ts` - CRDT-aware repository wrappers -- [ ] Create `src/client/sync/crdt/sync-state.ts` - Sync state serialization +- [x] Create `src/client/sync/crdt/repositories.ts` - CRDT-aware repository wrappers +- [x] Create `src/client/sync/crdt/sync-state.ts` - Sync state serialization ### Phase 3: Modify Sync Protocol -- cgit v1.2.3-70-g09d2