rspace-online/server/local-first
Jeff Emmett 6a7f21dc19 feat: rNotes local-first pilot migration (Phase 2)
Migrate rNotes from PostgreSQL to Automerge local-first stack with
dual-write support. Reads go Automerge-first with PG fallback; writes
go to both backends during the migration window.

- Add Automerge schemas for NotebookDoc (schemas.ts)
- Add lifecycle hooks (onInit, onSpaceCreate) to rnotes module
- Dual-write all 8 API routes (notebooks + notes CRUD)
- Add NotesLocalFirstClient wrapping DocSyncManager + EncryptedDocStore
- Enhance migration runner with --dry-run, --module, --verify flags
- Add listDocs() to SyncServer

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 13:51:31 -08:00
..
migration feat: rNotes local-first pilot migration (Phase 2) 2026-03-02 13:51:31 -08:00
compute-server.ts Add 7-layer local-first data infrastructure 2026-02-23 01:12:06 +00:00
doc-persistence.ts feat: wire DocSyncManager into rSpace WebSocket server 2026-02-25 05:19:21 +00:00
sync-server.ts feat: rNotes local-first pilot migration (Phase 2) 2026-03-02 13:51:31 -08:00