founding: brand artifacts land for ALL surfaces; the theming oneshot survives the logo line (drive-arc T5) #362

Closed
opened 2026-08-09 18:18:06 +00:00 by ben · 1 comment
Owner

Slice T5 of the Nextcloud-provision drive arc — docs/superpowers/specs/2026-08-09-nextcloud-provision-e2e-design.md (commit c72bff1)

Founding's brand registry is NewRegistry(Portal, IdpLogin, Dashboard) (internal/founding/orchestrator.go) — svc:nextcloud (and every other service surface) never lands at founding, so ourcloud/brand/svc-nextcloud/nextcloud-theming.conf doesn't exist and files.nix's mkIf pathExists elides the theming oneshot entirely. DDR 0145's lesson applies: artifacts must land on the seed leg, before any closure builds.

Build

  • Founding's deploySurfaces becomes brandkit.DefaultRegistry() (the same registry Settings' ApplyBrandKit uses).
  • Harden the nextcloud-brand oneshot (files.go): a failing logo apply (the logo= value is a repo-relative path with no bytes on the machine — known gap) must not abort the color/background/name applies. Logo bytes themselves are the follow-up reusing DDR 0147's mechanism — out of scope here.

Accept

  • After a private-path founding, the config repo contains svc-nextcloud/nextcloud-theming.conf (and the other service surfaces' artifacts).
  • A files deploy runs the oneshot; theming:config color/background/name applied even when the logo line fails.
  • Golden/seam tests updated; live proof rides T6's drive.
## Slice T5 of the Nextcloud-provision drive arc — `docs/superpowers/specs/2026-08-09-nextcloud-provision-e2e-design.md` (commit `c72bff1`) Founding's brand registry is `NewRegistry(Portal, IdpLogin, Dashboard)` (`internal/founding/orchestrator.go`) — `svc:nextcloud` (and every other service surface) never lands at founding, so `ourcloud/brand/svc-nextcloud/nextcloud-theming.conf` doesn't exist and `files.nix`'s `mkIf pathExists` elides the theming oneshot entirely. DDR 0145's lesson applies: artifacts must land on the seed leg, before any closure builds. ## Build - Founding's `deploySurfaces` becomes `brandkit.DefaultRegistry()` (the same registry Settings' `ApplyBrandKit` uses). - Harden the `nextcloud-brand` oneshot (`files.go`): a failing `logo` apply (the `logo=` value is a repo-relative path with no bytes on the machine — known gap) must not abort the `color`/`background`/`name` applies. Logo bytes themselves are the follow-up reusing DDR 0147's mechanism — out of scope here. ## Accept - After a private-path founding, the config repo contains `svc-nextcloud/nextcloud-theming.conf` (and the other service surfaces' artifacts). - A files deploy runs the oneshot; `theming:config color/background/name` applied even when the logo line fails. - Golden/seam tests updated; live proof rides T6's drive.
Author
Owner

Done in b2c8ff3 (on origin/main).

  • internal/founding/orchestrator.go: deploySurfaces is now brandkit.DefaultRegistry() — all six v1 surfaces compile+land on the seed leg, so ourcloud/brand/svc-nextcloud/nextcloud-theming.conf (and the other service surfaces) exist before any closure builds (DDR 0145).
  • internal/clan/files.go: the nextcloud-brand oneshot now applies each occ theming:config key non-fatally (|| echo … >&2), so the known bytes-less logo= line failing under NixOS set -e no longer aborts the name/color/background applies. Logo bytes remain the DDR 0147 follow-up (out of scope).
  • Seam tests: founding Story-21 + private-path assert the nextcloud artifact lands and all six surfaces are branded; files_test asserts the per-key apply is non-fatal. Full nix develop .#go-ci gate green. Live proof rides T6.
Done in b2c8ff3 (on origin/main). - `internal/founding/orchestrator.go`: `deploySurfaces` is now `brandkit.DefaultRegistry()` — all six v1 surfaces compile+land on the seed leg, so `ourcloud/brand/svc-nextcloud/nextcloud-theming.conf` (and the other service surfaces) exist before any closure builds (DDR 0145). - `internal/clan/files.go`: the `nextcloud-brand` oneshot now applies each `occ theming:config` key non-fatally (`|| echo … >&2`), so the known bytes-less `logo=` line failing under NixOS `set -e` no longer aborts the name/color/background applies. Logo bytes remain the DDR 0147 follow-up (out of scope). - Seam tests: founding Story-21 + private-path assert the nextcloud artifact lands and all six surfaces are branded; `files_test` asserts the per-key apply is non-fatal. Full `nix develop .#go-ci` gate green. Live proof rides T6.
ben closed this issue 2026-08-09 18:48:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#362
No description provided.