mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 05:09:39 +02:00
Closes the two remaining gaps after the seeding-cleanup landed: - `data/space-stamping.test.ts` exercises the smart-hook contract end-to-end against fake-indexeddb. Four scenarios: active Brand Space → row carries Brand UUID; no active Space → personal sentinel; explicit spaceId on the record is preserved verbatim; flipping the active Space between writes flips the stamp. The Brand-Space case is the regression guard for the original bug (writes silently routing to Personal after `reconcileSentinels`). - `apps/mana/CLAUDE.md` gets a Per-Space Seeds section so the next module dev who needs to pre-populate something on Space activation finds the `registerSpaceSeed` pattern + `data/seeds/index.ts` barrel + the deterministic-id discipline without grepping the codebase. Reference impl link points at workbench-home. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| landing | ||
| web | ||