feat(#768): Spaces epic batch 1 — identity registry, spacemeta, subtitle/description split, space header #772
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-768"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #768. Opens the Spaces epic (ADR 0003 in this PR; rev3 mockup approved).
Three slices, each its own red-green one-shot:
internal/spaceids: age-encrypted registry of immutable time-ordered IDs for every space (both kinds), case-insensitive name/alias resolution, lazy sighting from the /spaces listing, stamping at create.backendDir == nameuntil batch 4 wires the resolver.internal/spacemeta: ID-keyed cosmetics (subtitle 80 / description 4000, newlines preserved). Kind-aware guards: app-owned → owner or admin; directory → admin only (IdP spaces become describable). Union + listing decorate from meta; idempotent boot migration drains #765 descriptions (≤80 runes → subtitle, longer → description);space-set-subtitleregistered in the audit verbs; the superseded #765 endpoint test retired.pre-line, textContent) renders at the space root via the new any-signed-in-user/metaendpoint and collapses entirely when empty; hidden in non-file views like the members button.Invariants live as permanent tests (registry stability, guard matrix, migration run-twice, limits, decoration). Both suites green on every slice. i18n ×4 throughout.