brand-reach: svc:newsletters wears the kit — Listmonk full palette, live oneshot #1261

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

Parent

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

What to build

An operator's kit change lands on Listmonk without a restart: name, logo, favicon and the four colours, so newsletters wear the community identity.

Acceptance criteria

  • A brandkit surface with capability exactly brand.name · logo.full · logo.favicon · the four colour tokens; pure Render emits the settings/custom-CSS artifacts with golden tests; out-of-capability tokens report Unsupported
  • The surface joins the default registry, the brand-consuming-slugs set and the logo-bearing path; logo bytes are delivered via the media API on apply (clan-side detail)
  • A kit apply lands via the existing newsletters settings-PUT oneshot shape with no restart (Listmonk's campaign-time reload deferral is a code comment, not contract machinery)
  • The card line derives "Carries your name, logo & colours"

Blocked by

## Parent Spec #1253 (brand-reach arc, DDR 0225 + DDR 0220 amendments). ## What to build An operator's kit change lands on Listmonk without a restart: name, logo, favicon and the four colours, so newsletters wear the community identity. ## Acceptance criteria - [ ] A brandkit surface with capability exactly brand.name · logo.full · logo.favicon · the four colour tokens; pure Render emits the settings/custom-CSS artifacts with golden tests; out-of-capability tokens report Unsupported - [ ] The surface joins the default registry, the brand-consuming-slugs set and the logo-bearing path; logo bytes are delivered via the media API on apply (clan-side detail) - [ ] A kit apply lands via the existing newsletters settings-PUT oneshot shape with no restart (Listmonk's campaign-time reload deferral is a code comment, not contract machinery) - [ ] The card line derives "Carries your name, logo & colours" ## Blocked by - #1256

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

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

close-report for #1261 — status success

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

envelope
{
  "issue": 1261,
  "status": "success",
  "commits": [
    "ec2bf044"
  ],
  "changed_files": [
    "STATUS.md",
    "internal/brandkit/logoobject_test.go",
    "internal/brandkit/newsletters_surface_test.go",
    "internal/brandkit/surface.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/newsletters.go",
    "internal/clan/newsletters_test.go",
    "internal/founding/deploy_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci -c go test ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go vet ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c golangci-lint run ./internal/brandkit/... ./internal/clan/... ./internal/catalogue/... ./internal/founding/...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "A brandkit surface with capability exactly brand.name · logo.full · logo.favicon · the four colour tokens; pure Render emits the settings/custom-CSS artifacts with golden tests; out-of-capability tokens report Unsupported": "internal/brandkit/surface.go NewslettersSurface() capability = name+logo.full+logo.favicon+4 colours; Render emits newsletters-brand.conf (siteName/logo/favicon + single-line customCss :root palette); TestNewsletters_Boundary/_RenderPureSettingsKeys/_UnsupportedFacets in newsletters_surface_test.go; golden corpus regenerated (testdata/golden/*.snapshot)",
    "The surface joins the default registry, the brand-consuming-slugs set and the logo-bearing path; logo bytes are delivered via the media API on apply (clan-side detail)": "surface.go DefaultRegistry adds NewslettersSurface(); branddeploy.go brandConsumingSlugs[NewslettersSlug]; LogoBearingSurfaces auto-includes it (TestLogoBearingSurfaces_ExcludesIdp updated); newsletters.go renderNewslettersBrand uploads logo bytes via POST /api/media (TestRenderNewsletters_BrandConsumedOverSettingsPUT)",
    "A kit apply lands via the existing newsletters settings-PUT oneshot shape with no restart (Listmonk's campaign-time reload deferral is a code comment, not contract machinery)": "newsletters.go renderNewslettersBrand: newsletters-brand oneshot GET /api/settings -> jq-merge app.site_name + appearance.public.custom_css + logo/favicon urls -> PUT /api/settings (the renderListmonkSMTP shape); no service restart; SIGHUP self-reload + campaign deferral noted as a code comment; TestRenderNewsletters_BrandConsumedOverSettingsPUT",
    "The card line derives \"Carries your name, logo & colours\"": "catalogue.go newsletters entry Surface: \"svc:newsletters\"; AdoptionLine over the capability yields the full-brand line, TestNewsletters_AdoptionLineNameLogoColours"
  },
  "summary": "svc:newsletters (Listmonk) is a full-palette+favicon brand surface applied live over the existing settings-PUT oneshot shape, logo bytes via the media API.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1261 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1261, "status": "success", "commits": [ "ec2bf044" ], "changed_files": [ "STATUS.md", "internal/brandkit/logoobject_test.go", "internal/brandkit/newsletters_surface_test.go", "internal/brandkit/surface.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/newsletters.go", "internal/clan/newsletters_test.go", "internal/founding/deploy_test.go" ], "tests": [ { "command": "nix develop .#go-ci -c go test ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go vet ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/founding/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c golangci-lint run ./internal/brandkit/... ./internal/clan/... ./internal/catalogue/... ./internal/founding/...", "exit_code": 0 } ], "criteria": { "A brandkit surface with capability exactly brand.name · logo.full · logo.favicon · the four colour tokens; pure Render emits the settings/custom-CSS artifacts with golden tests; out-of-capability tokens report Unsupported": "internal/brandkit/surface.go NewslettersSurface() capability = name+logo.full+logo.favicon+4 colours; Render emits newsletters-brand.conf (siteName/logo/favicon + single-line customCss :root palette); TestNewsletters_Boundary/_RenderPureSettingsKeys/_UnsupportedFacets in newsletters_surface_test.go; golden corpus regenerated (testdata/golden/*.snapshot)", "The surface joins the default registry, the brand-consuming-slugs set and the logo-bearing path; logo bytes are delivered via the media API on apply (clan-side detail)": "surface.go DefaultRegistry adds NewslettersSurface(); branddeploy.go brandConsumingSlugs[NewslettersSlug]; LogoBearingSurfaces auto-includes it (TestLogoBearingSurfaces_ExcludesIdp updated); newsletters.go renderNewslettersBrand uploads logo bytes via POST /api/media (TestRenderNewsletters_BrandConsumedOverSettingsPUT)", "A kit apply lands via the existing newsletters settings-PUT oneshot shape with no restart (Listmonk's campaign-time reload deferral is a code comment, not contract machinery)": "newsletters.go renderNewslettersBrand: newsletters-brand oneshot GET /api/settings -> jq-merge app.site_name + appearance.public.custom_css + logo/favicon urls -> PUT /api/settings (the renderListmonkSMTP shape); no service restart; SIGHUP self-reload + campaign deferral noted as a code comment; TestRenderNewsletters_BrandConsumedOverSettingsPUT", "The card line derives \"Carries your name, logo & colours\"": "catalogue.go newsletters entry Surface: \"svc:newsletters\"; AdoptionLine over the capability yields the full-brand line, TestNewsletters_AdoptionLineNameLogoColours" }, "summary": "svc:newsletters (Listmonk) is a full-palette+favicon brand surface applied live over the existing settings-PUT oneshot shape, logo bytes via the media API.", "reason": "", "blockers": [], "no_code_change": "" } ``` </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#1261
No description provided.