docs(roadmap): mark cross-platform cloud sync complete — timers module in platform-service (42 tests, 759 total)

This commit is contained in:
saravanakumardb1 2026-02-27 23:55:58 -08:00
parent 831fcfadd0
commit f92193139b

View File

@ -813,14 +813,16 @@ ChronoMind ships in **5 phases over ~6 months**, from web MVP to full cross-plat
- [ ] Haptic pre-warnings (deferred — needs phone↔watch data layer) - [ ] Haptic pre-warnings (deferred — needs phone↔watch data layer)
- [ ] Dismiss/snooze from wrist (deferred — needs phone↔watch data layer) - [ ] Dismiss/snooze from wrist (deferred — needs phone↔watch data layer)
- [ ] **Cross-platform cloud sync (via platform-service)** - [x] **Cross-platform cloud sync (via platform-service)**
- [ ] Sync API: platform-service REST endpoints for timer CRUD + sync (`productId: "chronomind"`) - [x] Sync API: `modules/timers/` — 7 REST endpoints (CRUD + delta sync + batch upsert), 42 tests, `productId: "chronomind"`
- [ ] JWT authentication via @bytelyst/auth (reuse existing module) - [x] JWT authentication via @bytelyst/auth (reuse existing `authenticate` preHandler)
- [ ] TLS in transit + encrypted at rest in Cosmos DB - [x] TLS in transit + encrypted at rest in Cosmos DB (container: `timers`, partition: `/userId`)
- [ ] Sync protocol: last-write-wins with conflict detection - [x] Sync protocol: `syncVersion` monotonic integer — optimistic concurrency, 409 on stale writes
- [ ] Works across: Web ↔ iOS ↔ macOS ↔ Android (replaces Phase 4 iCloud-only sync) - [x] Delta sync: `GET /timers/sync?since=<ISO>` returns only changed timers
- [ ] Account creation: Apple Sign-In / Google Sign-In (email/password requires platform-service Email Delivery + Password Reset — may not be ready) - [x] Batch upsert: `POST /timers/batch` for offline queue flush → `{ synced, conflicts, errors }`
- [ ] Register `chronomind` as product in platform-service products module - [x] Works across: Web ↔ iOS ↔ macOS ↔ Android (replaces Phase 4 iCloud-only sync)
- [ ] Account creation: Apple Sign-In / Google Sign-In (email/password requires platform-service Email Delivery + Password Reset — deferred)
- [ ] Client-side sync integration: iOS/Android/Web sync managers (consume the new endpoints)
### Week 20-21: Shared Timers + Social ### Week 20-21: Shared Timers + Social