Brand reach child spec: the per-surface fidelity contract (DDR 0225) + catalogue card line and browse re-rulings (DDR 0220 amendments) #1253
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Program map: #7 (v1 program scope). Design contract: DDR 0225 (
docs/adr/0225-design-brand-reach-the-per-surface-fidelity-contract.md) + the DDR 0220 card-anatomy/taxonomy amendments (same commit0144261f). Mechanism authority:docs/research/2026-09-04-catalogue-service-theming-capability.md(on mechanism questions the research doc wins; on contract questions DDR 0225 wins). UI contract:docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html(both tile faces),docs/ux/wireframes/shell/shell-ds2-settings-brand-kit.html,docs/ux/wireframes/shell/shell-ds-settings.html. Prerequisites #1211, #1212, #1213 are landed.Problem Statement
ADR 0007 promises the brand kit "applied to every surface that exposes a theming API", and Ben's option-B ruling (2026-09-04) made that reach total. Today only six surfaces wear the kit (portal, dashboard, operator app, IdP login, Nextcloud, Mattermost). A community that installs Listmonk, PeerTube, Paperless or the archive gets an unbranded stranger — and nothing anywhere tells the operator which service would carry their identity and which would not. The catalogue cards are silent about brand adoption, the taxonomy still says "Heritage", tier pills clutter the cards, and Install/Request affordances don't reflect what the fleet can actually take.
Solution
Register every theming-capable catalogue port as a
brandkit.Surfacecarrying exactly the DDR 0225 token set, delivered by its ruled carrier class, so one kit apply = one config-repo commit + deploy everywhere. Derive a plain-words brand-adoption line from each surface'sCapability()and print it on the catalogue card (both tiers; conditional mood on candidates; absent when headless/unassessed) — the card line is the operator's reach view; no settings-screen list. Re-shape the browse-tab presentation per the wireframe re-rulings: Knowledge category, English curated copy, ground-colour tier vocabulary, Install-as-doorway with honest Unavailable.User Stories
svc:newslettersis running, When the operator applies a kit change, Then the Listmonk settings carry the kit name, logo, favicon and the four colour tokens (as compiled custom CSS) via the existing settings-PUT oneshot shape, with no service restart.svc:videois running, When the kit applies, Then instance name, logo uploads, favicon and palette CSS land via the admin-API oneshot without restart.svc:data-collections, When the kit first enables branding, Then the compiledcustom.cssartifact is bind-mounted (first enable = rebuild); When a later kit change edits only CSS, Then it applies without rebuild.svc:document-archive, When the kit applies, Then app title + logo env and logo bytes on the dataset are rendered and the service rebuilds/restarts as part of the apply.svc:surveys, When the kit applies, Then a brand survey theme is written into the writable theme dir and set default (rebuild class).svc:archive, When the kit applies, Then installation title + site title are set restart-free through the reshaped omeka-reconcile (#1213 shape); no logo/colour side channels (PHPsite_settingswrites are rejected by DDR 0225).svc:mail, When the kit applies, Then Roundcube renders product name + skin logo from the kit (rebuild class); the Stalwart webadmin is recorded honestly unbrandable and is never "fixed" with an Enterprise dependency.Surfaceis registered for it.BrandDeployNodesnode; rebuild-class surfaces restart as part of the apply; there is no "Pending" facet and no live-now/later lane.unreached[](#1212) — never silently claimed.Capability()(e.g. "Carries your name, logo & colours"; archive: "Carries your community's name only").Capability()set changes, Then the card line changes with it — one source of truth, no hand-kept vocabulary map ("Full palette"/"Name only" class labels are rejected).Unsupported; the facet set stays closed at four.community-appcandidate (Coa) re-categorises to Reach people.Implementation Decisions
Capability()= exactly the ruled token set: newsletters (name·logo.full·logo.favicon·4 colours), video (name·logos·favicon·4 colours), data-collections (logo.full·4 colours), whakapapa (name·accent·accent-hover), document-archive (name·logo.full), surveys (name·logo.full·colours), archive (name only), mail (name·logo.full). The four colour tokens are accent, accent-hover, text-on-accent, background; status tokens stay control-plane-only (ADR 0035).Render(view)implementations in the brandkit seam (the IdP-login precedent, DDR 0145) and land via the existing artifact-write path;Compileanswers "what does this brand compile to, everywhere". The clan side stays dumb — reconciler oneshots and bind-mounts carry bytes; logo-byte delivery (media-upload APIs, dataset paths) is clan-side detail. No palette templates in per-port render files.config:set+ sites PATCH). Rebuild class = Paperless (env + dataset logo bytes), LimeSurvey (theme in writable upload/), Roundcube (config render), Grist first-enable (CSS bind-mount; later CSS edits live). Exact token→service-key mappings per the research doc.Testing Decisions
Out of Scope
site_settingswrite.depends_onedges carry the ordering.Further Notes
Sequencing (DDR 0225):
/to-ticketsemitsdepends_onedges — the Gramps re-pin ticket before the whakapapa surface ticket; surface tickets touch their registration points as part of each ticket, not as one big-bang wiring ticket. Collabora is recorded work-free so nobody helpfully adds any.All 13 child tickets (#1256–#1267, #1269; #1268 = duplicate, wontfix) closed by landed swarm commits on main — sweeping the spec closed per convention (specs never auto-close after to-tickets).