brand-reach: svc:document-archive wears the kit — Paperless-ngx name + logo, rebuild class #1264

Closed
opened 2026-09-06 05:37:05 +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 logo on Paperless-ngx; the rebuild/restart is part of the one apply semantic.

Acceptance criteria

  • A brandkit surface with capability exactly brand.name · logo.full; pure Render emits the env/settings artifact 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 land on the dataset media path on apply (clan-side detail)
  • The apply rebuilds/restarts the service as part of the one apply semantic — no Pending state, no second lane
  • The card line derives "Carries your name & logo"

Blocked by

## Parent Spec #1253 (brand-reach arc, DDR 0225 + DDR 0220 amendments). ## What to build A kit change lands the community name and logo on Paperless-ngx; the rebuild/restart is part of the one apply semantic. ## Acceptance criteria - [ ] A brandkit surface with capability exactly brand.name · logo.full; pure Render emits the env/settings artifact 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 land on the dataset media path on apply (clan-side detail) - [ ] The apply rebuilds/restarts the service as part of the one apply semantic — no Pending state, no second lane - [ ] The card line derives "Carries your name & logo" ## Blocked by - #1256

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

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

close-report for #1264 — status success

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

envelope
{
  "issue": 1264,
  "status": "success",
  "commits": [
    "cb49b8f7adbe00ea6b72d5bd576a10cba7d745a2"
  ],
  "changed_files": [
    "STATUS.md",
    "internal/brandkit/document_archive_surface_test.go",
    "internal/brandkit/logoobject_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/branddeploy_test.go",
    "internal/clan/paperless.go",
    "internal/clan/paperless_test.go",
    "internal/controlapi/catalogue_read_integration_test.go",
    "internal/controlapi/settings.go",
    "internal/founding/deploy_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci -c go build ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go vet ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/controlapi/ ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c golangci-lint run internal/brandkit/... internal/clan/... internal/catalogue/... internal/controlapi/... internal/founding/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go test ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/controlapi/ ./internal/founding/",
      "exit_code": 0
    }
  ],
  "criteria": {
    "A brandkit surface with capability exactly brand.name · logo.full; pure Render emits the env/settings artifact with golden tests; out-of-capability tokens report Unsupported": "internal/brandkit/surface.go DocumentArchiveSurface (svc:document-archive) capability = NewTokenSet(TokenBrandName, TokenLogoFull); pure Render to sorted key=value conf (appTitle=name, appLogo=logo); golden corpus regenerated (testdata/golden/*.snapshot show name+logo Applied, every other token Unsupported); TestDocumentArchive_Boundary / _RenderPureKeys / _UnsupportedFacets in document_archive_surface_test.go",
    "The surface joins the default registry, the brand-consuming-slugs set and the logo-bearing path; logo bytes land on the dataset media path on apply (clan-side detail)": "surface.go DefaultRegistry() adds DocumentArchiveSurface(); internal/clan/branddeploy.go brandConsumingSlugs[PaperlessSlug]; LogoBearingSurfaces includes svc:document-archive (logoobject_test.go); internal/clan/paperless.go renderPaperlessBrandLogo lands the logo bytes at <store>/media/logo/community-logo.svg via paperless-web preStart (TestRenderPaperless_WearsTheBrandOnRebuild / _BrandStorePathTracked)",
    "The apply rebuilds/restarts the service as part of the one apply semantic — no Pending state, no second lane": "internal/clan/paperless.go: PAPERLESS_APP_TITLE read off the conf at eval (builtins.readFile) and PAPERLESS_APP_LOGO/logo bytes landed on rebuild — both read at startup so the nixos rebuild + service restart applies them, no oneshot, no Pending state; proven by TestRenderPaperless_WearsTheBrandOnRebuild",
    "The card line derives \"Carries your name & logo\"": "internal/catalogue/catalogue.go document-archive entry gains Surface: svc:document-archive (no BrandWhere); the derived AdoptionLine from the name+logo capability = \"Carries your name & logo\"; proven by catalogue_read_integration_test.go (docarchive.BrandLine) and TestDocumentArchive_AdoptionLineNameAndLogo"
  },
  "summary": "svc:document-archive (Paperless-ngx) is now a registered brand surface carrying the community name + logo, consumed onto the running service on rebuild as part of the one apply semantic.",
  "blockers": []
}
**close-report** for #1264 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1264, "status": "success", "commits": [ "cb49b8f7adbe00ea6b72d5bd576a10cba7d745a2" ], "changed_files": [ "STATUS.md", "internal/brandkit/document_archive_surface_test.go", "internal/brandkit/logoobject_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/branddeploy_test.go", "internal/clan/paperless.go", "internal/clan/paperless_test.go", "internal/controlapi/catalogue_read_integration_test.go", "internal/controlapi/settings.go", "internal/founding/deploy_test.go" ], "tests": [ { "command": "nix develop .#go-ci -c go build ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go vet ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/controlapi/ ./internal/founding/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c golangci-lint run internal/brandkit/... internal/clan/... internal/catalogue/... internal/controlapi/... internal/founding/...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go test ./internal/brandkit/ ./internal/clan/ ./internal/catalogue/ ./internal/controlapi/ ./internal/founding/", "exit_code": 0 } ], "criteria": { "A brandkit surface with capability exactly brand.name · logo.full; pure Render emits the env/settings artifact with golden tests; out-of-capability tokens report Unsupported": "internal/brandkit/surface.go DocumentArchiveSurface (svc:document-archive) capability = NewTokenSet(TokenBrandName, TokenLogoFull); pure Render to sorted key=value conf (appTitle=name, appLogo=logo); golden corpus regenerated (testdata/golden/*.snapshot show name+logo Applied, every other token Unsupported); TestDocumentArchive_Boundary / _RenderPureKeys / _UnsupportedFacets in document_archive_surface_test.go", "The surface joins the default registry, the brand-consuming-slugs set and the logo-bearing path; logo bytes land on the dataset media path on apply (clan-side detail)": "surface.go DefaultRegistry() adds DocumentArchiveSurface(); internal/clan/branddeploy.go brandConsumingSlugs[PaperlessSlug]; LogoBearingSurfaces includes svc:document-archive (logoobject_test.go); internal/clan/paperless.go renderPaperlessBrandLogo lands the logo bytes at <store>/media/logo/community-logo.svg via paperless-web preStart (TestRenderPaperless_WearsTheBrandOnRebuild / _BrandStorePathTracked)", "The apply rebuilds/restarts the service as part of the one apply semantic — no Pending state, no second lane": "internal/clan/paperless.go: PAPERLESS_APP_TITLE read off the conf at eval (builtins.readFile) and PAPERLESS_APP_LOGO/logo bytes landed on rebuild — both read at startup so the nixos rebuild + service restart applies them, no oneshot, no Pending state; proven by TestRenderPaperless_WearsTheBrandOnRebuild", "The card line derives \"Carries your name & logo\"": "internal/catalogue/catalogue.go document-archive entry gains Surface: svc:document-archive (no BrandWhere); the derived AdoptionLine from the name+logo capability = \"Carries your name & logo\"; proven by catalogue_read_integration_test.go (docarchive.BrandLine) and TestDocumentArchive_AdoptionLineNameAndLogo" }, "summary": "svc:document-archive (Paperless-ngx) is now a registered brand surface carrying the community name + logo, consumed onto the running service on rebuild as part of the one apply semantic.", "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#1264
No description provided.