rspace-online/modules/rnotes
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
..
components Merge branch 'dev' 2026-02-28 19:51:51 -08:00
db refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
landing.ts refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
local-first-client.ts feat: rNotes local-first pilot migration (Phase 2) 2026-03-02 13:51:31 -08:00
mod.ts feat: rNotes local-first pilot migration (Phase 2) 2026-03-02 13:51:31 -08:00
schemas.ts feat: rNotes local-first pilot migration (Phase 2) 2026-03-02 13:51:31 -08:00