Context
Sync infrastructure exists but hasn't been tested end-to-end. Several error handling gaps identified.
Test Matrix
- Auth round-trip: magic link → verify → JWT → session persistence
- Push: create note locally → sync → verify on server
- Pull: modify on server → pull → verify local
- Conflict: edit same note on two devices → conflict UI appears
- Offline: go offline → edit → reconnect → queued sync executes
- Encryption: verify content encrypted in API payloads
Known Issues
syncService.ts — auto-sync starts but no error handling on failure
- Token refresh on 401 may not retry original request
- Device ID generation and persistence unclear
- No user-visible feedback when sync fails silently
Deliverables
Context
Sync infrastructure exists but hasn't been tested end-to-end. Several error handling gaps identified.
Test Matrix
Known Issues
syncService.ts— auto-sync starts but no error handling on failureDeliverables