brand-reach: svc:whakapapa wears the kit — Gramps Web name + accent, live oneshot #1269

Closed
opened 2026-09-06 05:38:13 +00:00 by ben · 2 comments
Owner

Parent

Spec #1253 (brand-reach arc, DDR 0225 + DDR 0220 amendments).

What to build

A kit change lands the community name and accent colours on Gramps Web via the tree-config API, so the genealogy service is visibly the community's.

Acceptance criteria

  • A brandkit surface with capability exactly brand.name · color.accent · color.accent-hover; pure Render with golden tests; out-of-capability tokens report Unsupported
  • The surface joins the default registry and the brand-consuming-slugs set (no logo path — no logo token)
  • A kit apply lands via the tree-config PUT as the owner identity, no restart
  • The card line derives its name-and-colours statement

Blocked by

## Parent Spec #1253 (brand-reach arc, DDR 0225 + DDR 0220 amendments). ## What to build A kit change lands the community name and accent colours on Gramps Web via the tree-config API, so the genealogy service is visibly the community's. ## Acceptance criteria - [ ] A brandkit surface with capability exactly brand.name · color.accent · color.accent-hover; pure Render with golden tests; out-of-capability tokens report Unsupported - [ ] The surface joins the default registry and the brand-consuming-slugs set (no logo path — no logo token) - [ ] A kit apply lands via the tree-config PUT as the owner identity, no restart - [ ] The card line derives its name-and-colours statement ## Blocked by - #1256 - #1259

swarm-claim host=matou-dev-server-01 run=18924
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=18924 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1269 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1269,
  "status": "success",
  "commits": [
    "be4cced0"
  ],
  "changed_files": [
    "STATUS.md",
    "internal/brandkit/surface.go",
    "internal/brandkit/whakapapa_surface_test.go",
    "internal/brandkit/testdata/golden/contrast-shortfall.snapshot",
    "internal/brandkit/testdata/golden/extras-nextcloud.snapshot",
    "internal/brandkit/testdata/golden/palette-full.snapshot",
    "internal/brandkit/testdata/golden/preset-forest-empty-greeting.snapshot",
    "internal/brandkit/testdata/golden/preset-matou-default.snapshot",
    "internal/brandkit/testdata/golden/preset-reef-service.snapshot",
    "internal/brandkit/testdata/golden/preset-tussock-status-override.snapshot",
    "internal/catalogue/catalogue.go",
    "internal/clan/branddeploy.go",
    "internal/clan/branddeploy_test.go",
    "internal/clan/whakapapa.go",
    "internal/clan/whakapapa_test.go",
    "internal/controlapi/catalogue_read_integration_test.go",
    "internal/controlapi/settings.go",
    "internal/founding/deploy_test.go"
  ],
  "tests": [
    {
      "command": "go build ./...",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/brandkit/ ./internal/clan/",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/controlapi/ ./internal/founding/",
      "exit_code": 0
    }
  ],
  "criteria": {
    "A brandkit surface with capability exactly brand.name · color.accent · color.accent-hover; pure Render with golden tests; out-of-capability tokens report Unsupported": "internal/brandkit/surface.go WhakapapaSurface().Capability()=NewTokenSet(TokenBrandName,TokenColorAccent,TokenAccentHover); pure Render to a sorted key=value conf; TestWhakapapa_Boundary/RenderPureTreeConfigKeys/UnsupportedFacets + regenerated golden corpus (svc:whakapapa: name+two colours Applied, rest Unsupported)",
    "The surface joins the default registry and the brand-consuming-slugs set (no logo path — no logo token)": "surface.go DefaultRegistry() appends WhakapapaSurface(); branddeploy.go brandConsumingSlugs adds WhakapapaSlug; capability carries no logo token (TestWhakapapa_Boundary asserts !SurfaceHasLogo); TestBrandDeployNodes_FollowsBrandConsumingPlacements now proves a whakapapa node joins the deploy set",
    "A kit apply lands via the tree-config PUT as the owner identity, no restart": "whakapapa.go renderWhakapapaBrand: mkIf pathExists brandConf, LoadCredential owner-pass, POST /api/token/ for a bearer token then PUT /api/trees/-/config, ordered after grampsweb-admin, no container restart; TestRenderWhakapapa_BrandConsumedOverTreeConfig",
    "The card line derives its name-and-colours statement": "catalogue.go whakapapa entry gains Surface: svc:whakapapa; TestWhakapapa_AdoptionLineNameAndColours + controlapi TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface assert BrandLine == 'Carries your name & colours'"
  },
  "summary": "svc:whakapapa is a registered brand surface (name + two theme colours, no logo) that lands the kit on the live Gramps Web tree via the tree-config PUT as the owner, no restart, and derives its name-and-colours card line.",
  "blockers": []
}
**close-report** for #1269 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1269, "status": "success", "commits": [ "be4cced0" ], "changed_files": [ "STATUS.md", "internal/brandkit/surface.go", "internal/brandkit/whakapapa_surface_test.go", "internal/brandkit/testdata/golden/contrast-shortfall.snapshot", "internal/brandkit/testdata/golden/extras-nextcloud.snapshot", "internal/brandkit/testdata/golden/palette-full.snapshot", "internal/brandkit/testdata/golden/preset-forest-empty-greeting.snapshot", "internal/brandkit/testdata/golden/preset-matou-default.snapshot", "internal/brandkit/testdata/golden/preset-reef-service.snapshot", "internal/brandkit/testdata/golden/preset-tussock-status-override.snapshot", "internal/catalogue/catalogue.go", "internal/clan/branddeploy.go", "internal/clan/branddeploy_test.go", "internal/clan/whakapapa.go", "internal/clan/whakapapa_test.go", "internal/controlapi/catalogue_read_integration_test.go", "internal/controlapi/settings.go", "internal/founding/deploy_test.go" ], "tests": [ { "command": "go build ./...", "exit_code": 0 }, { "command": "go vet ./internal/brandkit/ ./internal/clan/", "exit_code": 0 }, { "command": "go test ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/controlapi/ ./internal/founding/", "exit_code": 0 } ], "criteria": { "A brandkit surface with capability exactly brand.name · color.accent · color.accent-hover; pure Render with golden tests; out-of-capability tokens report Unsupported": "internal/brandkit/surface.go WhakapapaSurface().Capability()=NewTokenSet(TokenBrandName,TokenColorAccent,TokenAccentHover); pure Render to a sorted key=value conf; TestWhakapapa_Boundary/RenderPureTreeConfigKeys/UnsupportedFacets + regenerated golden corpus (svc:whakapapa: name+two colours Applied, rest Unsupported)", "The surface joins the default registry and the brand-consuming-slugs set (no logo path — no logo token)": "surface.go DefaultRegistry() appends WhakapapaSurface(); branddeploy.go brandConsumingSlugs adds WhakapapaSlug; capability carries no logo token (TestWhakapapa_Boundary asserts !SurfaceHasLogo); TestBrandDeployNodes_FollowsBrandConsumingPlacements now proves a whakapapa node joins the deploy set", "A kit apply lands via the tree-config PUT as the owner identity, no restart": "whakapapa.go renderWhakapapaBrand: mkIf pathExists brandConf, LoadCredential owner-pass, POST /api/token/ for a bearer token then PUT /api/trees/-/config, ordered after grampsweb-admin, no container restart; TestRenderWhakapapa_BrandConsumedOverTreeConfig", "The card line derives its name-and-colours statement": "catalogue.go whakapapa entry gains Surface: svc:whakapapa; TestWhakapapa_AdoptionLineNameAndColours + controlapi TestCatalogueRead_BrandAdoptionLineDerivesFromTheSurface assert BrandLine == 'Carries your name & colours'" }, "summary": "svc:whakapapa is a registered brand surface (name + two theme colours, no logo) that lands the kit on the live Gramps Web tree via the tree-config PUT as the owner, no restart, and derives its name-and-colours card line.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#1269
No description provided.