The rnotes module has defaultScope: 'global' but several code paths used the raw space slug instead of the resolved scope: - subscribeNotebook() built docIds with space slug (e.g. jeff🎶...) instead of resolved scope (global🎶...), breaking Automerge sync - seedDemoIfEmpty() seeded notebooks under space-scoped paths, orphaning them when the API queries global-scoped prefix - onSpaceCreate() created default notebook under space scope Also migrated 3 orphaned jeff-scoped notebook files to global/ on server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| converters | ||
| db | ||
| landing.ts | ||
| local-first-client.ts | ||
| mod.ts | ||
| schemas.ts | ||