mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
With the smart hook always stamping the active-Space id and the seeder running the deterministic-id contract, the transitional concessions introduced for the soft-cleanup window are no longer load-bearing: - `seedWorkbenchHomeOn` no longer scans for a legacy random-uuid Home in the same Space and defers to it. It just no-ops on a present deterministic-id row, otherwise inserts. The corresponding three transitional unit tests are dropped. - `(app)/+layout.svelte` no longer runs a post-`reconcileSentinels` dedup sweep. The sweep was belt-and-suspenders for an edge case that the smart hook + deterministic id structurally prevent. D-hard via Dexie v50: soft-deletes every uncustomised "Home" row whose id is NOT `seed-home-<spaceId>`. The per-space-seeds registry recreates a fresh deterministic-id row on the next `setActiveSpace` for any Space that lost its uncustomised Home, so the system self- heals. Customised Homes (description / wallpaper / agent / scope tags) are preserved. Combined with v48 this leaves zero legacy duplicates and zero random-UUID seeds in `workbenchScenes` once the upgrade runs. New devices coming up against an empty IndexedDB walk through both upgrades as no-ops and land on the clean state directly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| calc/packages/shared | ||
| calendar | ||
| cards | ||
| chat | ||
| citycorners | ||
| contacts | ||
| context | ||
| docs | ||
| food | ||
| guides | ||
| inventory | ||
| mana | ||
| manavoxel | ||
| memoro | ||
| moodlit | ||
| mukke | ||
| news | ||
| photos | ||
| picture | ||
| plants | ||
| presi | ||
| questions | ||
| quotes/packages/content | ||
| skilltree | ||
| storage | ||
| times | ||
| todo | ||
| traces | ||
| uload | ||