provision: brand-and-health — the real brand kit and a real health-pass gate #204

Closed
opened 2026-07-30 23:20:08 +00:00 by ben · 1 comment
Owner

Parent

Provisioning spec #17. Gap audit 2026-07-30 (post #191–#195 sweep of the composition roots and both app shells). Filed per the #191–#195 precedent: a close-out blocker of #183 found while preparing the run, confirmed by Ben.

What's true today

  • The whole composition hands provisioning an empty brand kit — while the members family already reads the real kit from the config repo (single authority, DDR 0007). B·3's evidence ("login shows the brand, svc:nextcloud strong-fidelity") cannot pass.
  • The shared health registry both provisioning and rescue consult is an empty map nothing ever registers into: "active on health-pass" gates on nothing, and every health lookup answers no-check.

What to build

  1. The config-repo brand kit feeds provisioning in the whole composition — one authority, no second copy.
  2. A real per-service health registration path: a provisioned service registers its check so activation gates on a real probe, and rescue's ladder reads the same truth. Monitor's full per-service Ports adapter (rebalance et al.) stays the documented honest nil — out of scope.

Acceptance criteria

  • Given Nextcloud provisioned in the whole composition, When its login renders, Then it carries the community's real brand kit
  • Given a provisioned service, When its deploy completes, Then it activates only on a real health pass — a failing service honestly withholds activation
  • Given the resting composition, Then unchanged honest resting

Task manifest

task: provision:brand-and-health
implements_seam: "provisioning's brand input (DDR 0007 single authority) + the health-pass gate (spec #17)"
interface: "provisioned services activate branded and health-gated"
seam: "a composition seam test: provision → real brand in the rendered config, activation gated on the registered check"
acceptance:
  - given: a provisioned service; when: deploy completes; then: branded via the config-repo kit and active only on a real health pass
depends_on: []
out_of_scope: [monitor's full per-service Ports adapter (rebalance — stays the documented honest nil), re-theming flows (already real, #182)]
needs_human_decision: []

Blocks

#183 — leg B·3 (the branded login is the leg's evidence).

## Parent Provisioning spec #17. Gap audit 2026-07-30 (post #191–#195 sweep of the composition roots and both app shells). Filed per the #191–#195 precedent: a close-out blocker of #183 found while preparing the run, confirmed by Ben. ## What's true today - The whole composition hands provisioning an **empty brand kit** — while the members family already reads the real kit from the config repo (single authority, DDR 0007). B·3's evidence ("login shows the brand, `svc:nextcloud` strong-fidelity") cannot pass. - The shared health registry both provisioning and rescue consult is an empty map nothing ever registers into: "active on health-pass" gates on nothing, and every health lookup answers no-check. ## What to build 1. The config-repo brand kit feeds provisioning in the whole composition — one authority, no second copy. 2. A real per-service health registration path: a provisioned service registers its check so activation gates on a real probe, and rescue's ladder reads the same truth. Monitor's full per-service Ports adapter (rebalance et al.) stays the documented honest nil — out of scope. ## Acceptance criteria - [ ] Given Nextcloud provisioned in the whole composition, When its login renders, Then it carries the community's real brand kit - [ ] Given a provisioned service, When its deploy completes, Then it activates only on a real health pass — a failing service honestly withholds activation - [ ] Given the resting composition, Then unchanged honest resting ## Task manifest ```yaml task: provision:brand-and-health implements_seam: "provisioning's brand input (DDR 0007 single authority) + the health-pass gate (spec #17)" interface: "provisioned services activate branded and health-gated" seam: "a composition seam test: provision → real brand in the rendered config, activation gated on the registered check" acceptance: - given: a provisioned service; when: deploy completes; then: branded via the config-repo kit and active only on a real health pass depends_on: [] out_of_scope: [monitor's full per-service Ports adapter (rebalance — stays the documented honest nil), re-theming flows (already real, #182)] needs_human_decision: [] ``` ## Blocks #183 — leg B·3 (the branded login is the leg's evidence).
Author
Owner

Landed in 50cf0e9 on main.

Brand (DDR 0007 single authority): provisioning now wears the real config-repo brand kit through the new live provision.WithBrandSource reader (configRepoKit) over the SAME brandKitDocPath the members family and Settings read/write — no second copy, a re-brand needs no restart. Assess surfaces a read/parse error rather than a fabricated name (ADR 0100). Static callers unchanged.

Health (ADR 0061/0062): the whole composition registers the fleet's first real catalogue health check into the shared registry provisioning's gate AND rescue's rehome rung both read — the files service (Nextcloud) probes its own /status.php (installed · not maintenance · no pending DB upgrade — real function, not a liveness ping). A provisioned service activates only on a real pass; a failing probe honestly withholds activation (P4-S5x, no rollback). Absent OURCLOUD_NEXTCLOUD_URL the registry stays the honest empty no-check; resting composition unchanged.

Seam: control-plane/cmd/control-plane/provision_brand_health_test.go — whole wears the real name / honest empty when nothing applied; a real pass activates, a maintenance probe withholds; resting refuses to assess a fleet it lacks. Files: internal/provision/{provision,assess}.go, control-plane/.../{servicehealth.go (new),whole_composition.go,compose.go,main.go}. STATUS.md updated. Monitor's full per-service Ports adapter (rebalance) stays the documented honest nil — out of scope.

Landed in `50cf0e9` on `main`. **Brand (DDR 0007 single authority):** provisioning now wears the real config-repo brand kit through the new live `provision.WithBrandSource` reader (`configRepoKit`) over the SAME `brandKitDocPath` the members family and Settings read/write — no second copy, a re-brand needs no restart. `Assess` surfaces a read/parse error rather than a fabricated name (ADR 0100). Static callers unchanged. **Health (ADR 0061/0062):** the whole composition registers the fleet's first real catalogue health check into the shared registry provisioning's gate AND rescue's rehome rung both read — the files service (Nextcloud) probes its own `/status.php` (installed · not maintenance · no pending DB upgrade — real function, not a liveness ping). A provisioned service activates only on a real pass; a failing probe honestly withholds activation (P4-S5x, no rollback). Absent `OURCLOUD_NEXTCLOUD_URL` the registry stays the honest empty no-check; resting composition unchanged. **Seam:** `control-plane/cmd/control-plane/provision_brand_health_test.go` — whole wears the real name / honest empty when nothing applied; a real pass activates, a maintenance probe withholds; resting refuses to assess a fleet it lacks. Files: `internal/provision/{provision,assess}.go`, `control-plane/.../{servicehealth.go (new),whole_composition.go,compose.go,main.go}`. STATUS.md updated. Monitor's full per-service Ports adapter (rebalance) stays the documented honest nil — out of scope.
ben closed this issue 2026-07-31 01:34:47 +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.

Reference
Matou/idss#204
No description provided.