Control-plane server-rendered pages wear the shared community band (#1892) #1898
Closed
matou-build-agent
wants to merge 1 commit from
agent/issue-1892 into main
pull from: agent/issue-1892
merge into: Matou:main
Matou:main
Matou:sandcastle/worker/20261121075511-3302385
Matou:sandcastle/worker/20261119181944-1702612
Matou:sandcastle/worker/20261119161950-3559225
Matou:design/own-domain-records-2184
Matou:sandcastle/worker/20261119154424-769183
Matou:sandcastle/worker/20261119145335-2652841
Matou:factory-ref-bump-d468efc
Matou:sandcastle/rescue-20261118-205056
Matou:sandcastle/worker/20261118061530-318464
Matou:fix/broker-syd1-amd-sizes
Matou:sandcastle/rescue-20261118-035725
Matou:fix/broker-install-proxy-probe
Matou:agent/issue-1890
Matou:sandcastle/worker/20261117-133937-6e9d70
Matou:sandcastle/rescue-20261117-125325
Matou:sandcastle/rescue-20261116-180136
Matou:factory-ref-bump-cda3470
Matou:sandcastle/rescue-20261116-154452
Matou:sandcastle/worker/20261111-073754-944c44
Matou:sandcastle/worker/20261111-124446-e72d38
Matou:sandcastle/worker/20261111-073131-0f4af0
Matou:sandcastle/worker/20261110-185205-b1cef5
Matou:sandcastle/worker/20261110-134338-cb6e57
Matou:sandcastle/worker/20261110-162847-940771
Matou:session/rented-seed-mirror
Matou:agent/issue-2177
Matou:agent/issue-2066
Matou:agent/issue-2062
Matou:agent/issue-2061
Matou:agent/issue-2060
Matou:agent/issue-2065
Matou:agent/issue-2059
Matou:sandcastle/worker/20261104-135410-63b0a2
Matou:sandcastle/worker/20261104-184050-a6fd6b
Matou:sandcastle/rescue-20261104-185850
Matou:sandcastle/worker/20261104-131834-202b37
Matou:sandcastle/worker/20261104-161631-9f0c10
Matou:sandcastle/worker/20261104-100804-727203
Matou:sandcastle/worker/20261104-145716-0af976
Matou:sandcastle/worker/20261104-092034-cc54aa
Matou:sandcastle/worker/20261104-092143-c3cb1e
Matou:sandcastle/worker/20261104-122520-a6bc17
Matou:sandcastle/worker/20261104-070925-5fc30d
Matou:sandcastle/worker/20261104-120259-852161
Matou:sandcastle/worker/20261104-122321-b13590
Matou:sandcastle/worker/20261104-115306-5c43f4
Matou:sandcastle/worker/20261104-114250-364e22
Matou:sandcastle/worker/20261104-063724-1d3519
Matou:sandcastle/worker/20261104-000140-a072c5
Matou:session/gw-build-ip-race
Matou:agent/issue-2134
Matou:sandcastle/worker/20261103-144455-1cec40
Matou:sandcastle/worker/20261103-140807-82a5f0
Matou:sandcastle/worker/20261103-191413-cdbc9e
Matou:sandcastle/worker/20261103-191635-2eea3a
Matou:sandcastle/worker/20261103-190554-769a31
Matou:sandcastle/worker/20261103-140927-8f33f3
Matou:fix/probe-redirect
Matou:session/i18n-everywhere
Matou:sandcastle/worker/20261031-022408-03ae8b
Matou:sandcastle/worker/20261030-204811-23d7d8
Matou:sandcastle/worker/20261030-200801-f7266f
Matou:sandcastle/worker/20261030-195527-63877c
Matou:agent/issue-2114
Matou:agent/issue-2111
Matou:agent/issue-2068
Matou:sandcastle/rescue-20261030-111406
Matou:sandcastle/rescue-20261030-111458
Matou:sandcastle/worker/20261030-104526-207945
Matou:sandcastle/worker/20261030-095558-c0fe89
Matou:sandcastle/rescue-20261030-105914
Matou:sandcastle/rescue-20261030-110121
Matou:sandcastle/rescue-20261030-110546
Matou:sandcastle/rescue-20261030-111108
Matou:sandcastle/worker/20261030-092350-f0a05d
Matou:sandcastle/worker/20261030-084631-e33270
Matou:sandcastle/worker/20261030-010251-adba28
Matou:sandcastle/worker/20261030-005423-a640e4
Matou:sandcastle/worker/20261030-004111-99d153
Matou:session/many-communities-one-app
Matou:session/guide-rented-run
Matou:session/guide-walk-rented
Matou:session/idip-no-sandbox
Matou:factory-ref-bump
Matou:session/guide-walk-drive
Matou:agent/issue-2051
Matou:agent/issue-2050
Matou:session/2036-forgejo-read-retry-verdict-heal
Matou:session/gate-reads-credential-directory
Matou:session/panel-approve-in-app
Matou:session/revoke-asks-the-floor-first
Matou:session/gate-reads-founding-members
Matou:session/unbound-fetch
Matou:session/mint-after-sodium-ready
Matou:session/first-run-opens-founding
Matou:session/panel-unlock-live-faults
Matou:session/app-release-number
Matou:session/paperless-idip-admin-by-handle
Matou:session/a-steward-opens-the-panel
Matou:session/seat-unlock-through-the-door
Matou:session/active-invites-table
Matou:session/issuance-fills-the-credential-look
Matou:session/release-number
Matou:session/lint-fix-idip-debug-spec
Matou:session/founding-issues-administrator
Matou:session/member-credentials-names-admin-card
Matou:session/redundancy-alerts-live-on-backups
Matou:agent/issue-1886-wireframes
Matou:fix/minimal-disk-floors
Matou:session/branded-login-own-name
Matou:session/coa-omit-empty-policy
Matou:fix/backup-alert-rollup
Matou:agent/issue-1891
Matou:session/wkt-app-member-apk
Matou:session/operator-session-survives-flap
Matou:session/bundle-mount-survives-flap
Matou:session/wkt-door-at-rest
Matou:session/stale-resolver-preflight
Matou:session/prefetch-on-the-box
Matou:session/wkt-identity-rows
Matou:session/gateway-builds-own-system
Matou:session/gateway-pulls-own-software
Matou:session/wkt-activation-budget
Matou:session/minio-rehost
Matou:session/wkt-legs
Matou:factory-bump-87e1b55
Matou:factory-bump-db2e305
Matou:idip-unrestrict
Matou:idip-credentials-ui
Matou:founding-drives-follow-the-page
Matou:founding-ui-two-colour-rail-ceremony
Matou:factory-bump-dc65bde
Matou:factory-bump-79c92ed
Matou:740-clan-lab-tag-sweep
Matou:private-standup-polish
Matou:harness/triage-ask-threads
Matou:research/desec-lab-delegation
Matou:research/browser-e2e-tooling
Matou:research/pipeline-e2e-forgejo-target
Matou:fix/sandcastle-secrets-file-mount
No reviewers
Labels
Clear labels
agent-blocked
Sandcastle hit a blocker — human resolves it, then re-adds ready-for-agent
agent-working
claimed by a live swarm run — other hosts skip it
autopilot
Ben-only: run the design pipeline unattended on this ticket (spec docs/superpowers/specs/2026-10-19-autopilot-ben-issued-tickets-design.md). Counts only when the latest label event is by ben; agents never apply it.
bug
Something is broken
deferred
Ruled defer-with-criteria: parked until a revisit criterion in the issue body fires. Triage automation skips it.
deploy-pending
Fix is on main but lives in a deployed-service tree and is not yet installed; the deploy rail closes it (no agent work left)
enhancement
New feature or improvement
landing-pr
Additive: this ticket lands ONLY by a PR with screenshots (or a waiver) that a human merges — ADR 0265. Only a human removes it.
model-haiku
Per-ticket model override (#448): run this ticket on claude-haiku-4-5 (right-size a mechanical ticket)
model-opus
Per-ticket model override (#448): run this ticket on claude-opus-4-8 (the fleet default)
model-sonnet
Per-ticket model override (#448): run this ticket on claude-sonnet-4-5 (right-size a mechanical ticket)
needs-design
Blocked on design — a referenced flow or wireframe does not exist yet
needs-info
Waiting on reporter for more information
needs-triage
Maintainer needs to evaluate this issue
no-triage
Escape hatch: triage automation must skip this issue
out-of-scope
Closed by the app-report relevance gate: the report is not about IDSS (ADR 0267). A two-way door — reopen and remove this label to send it to triage as an ordinary report.
priority
Swarm works these first — auto-applied to VPS-own drive (#378) blockers; hand-apply to anything urgent
ready-for-agent
Fully specified, ready for an AFK agent
ready-for-human
Requires human implementation / a judgement call
ready-for-session
Needs an interactive agent session (host creds/protected paths/live doors), not Ben — ADR 0174
rehearsal-183
Filed or tracked by the #183 rehearsal ratchet (fix-triggered VPS drive)
snapshot-pending
Fix is on main in what the gateway snapshot bakes; waits on the #661 auto-rebuild, closed by snapshot-verified-close.sh (freshness-tax finding 3)
standing-drive
The standing rehearsal drive issue — executed host-mode by the executor, NEVER claimable by the swarm (list-ready-tasks.sh excludes it; #493)
wayfinder:grilling
wayfinder grilling ticket
wayfinder:map
wayfinder map ticket
wayfinder:prototype
wayfinder prototype ticket
wayfinder:research
wayfinder research ticket
wayfinder:task
wayfinder task ticket
wontfix
Will not be actioned
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
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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.
Dependencies
No dependencies set.
Reference
Matou/idss!1898
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-1892"
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?
closes #1892
What
The control plane's own server-rendered pages now wear the shared community band — the same whāriki band DDR 0280 built for the IDIP bridge's app door — so the coa/app/panel surfaces read as one family (Ben, 2026-09-25: "the coa, founding app and control panel should all be implemented with global css styles for consistency").
The band is lifted out of
internal/idpintointernal/brandkit(next toFontFaceCSS), imported by both packages:BandCSS()— the accent → secondary gradient body + serif.nameheading + white.panelcard.NameHeading(name)— the serif<h1 data-field="community-name">.PortalTokensCSS(kit)— the compiled PortalSurface:rootblock, inlined where a page can't LINK the stylesheet.Surfaces swept
internal/idp/appdoorpage.go(now consumes the shared band) plus the three controlapi pages:member_join_idip.go— join / waiting / dead-invite / not-approved / witness-degraded / app-onlyrefusal.go— the gate refusal surfacesignin_restart.go— the sign-in restart page (reuses the refusal family style)Each drops its
system-uistack and hardcoded-hex palette (44 + 13 hex) for the band drawn from--oc-*tokens with Mātou-default fallbacks. The join page keeps LINKing/brand/portal/tokens.css(apex-served, DDR 0270 §1); the refusal/restart pages are served one origin from the control plane, so they INLINE the compiled tokens via the newRefusalBrand.Tokens, filled live per request inmain.go. Kit-less, every page rests on the Mātou defaults (ADR 0100 — no fabricated name/logo).Acceptance
TestBand_SharedAcrossSurfaces, over all eight.system-uistacks (asserted in the seam test).TestBand_NoKit_FallsBackToMatouDefaults.controlapi / idp / brandkit / control-plane suites green; gofmt / vet / golangci-lint clean.
Screenshots
Rendered with a dark kit (deep green) and a pale kit (dusty rose → blue):
dark-join.pngpale-join.pngdark-refusal.pngpale-refusal.pngdark-signin-restart.pngpale-waiting.pngdark-dead-invite.pngpale-app-only.pngDDR 0280 put the IDIP bridge's app door on the whāriki band inline; this lifts that band into a shared home both packages import, and sweeps the control plane's own gateway-served pages onto it. New `internal/brandkit/band.go`: - `BandCSS()` — the shared band stylesheet (the `:root{--ad-*}` neutrals + the kit's accent → secondary gradient body + `.name`/`.welcome`/`.panel`). - `NameHeading(name)` — the serif `<h1 data-field="community-name">` heading. - `PortalTokensCSS(kit)` — the compiled PortalSurface `:root` block, "" on a kit-less/faulty kit (so a page cannot LINK the sheet can INLINE it). `internal/idp/appdoorpage.go` now consumes `BandCSS()`/`NameHeading()` (its inline band copy removed; `TestSeam_AppDoorPage_WearsThePortalSignInBand` green). The three controlapi surfaces drop their `system-ui` + hardcoded-hex palettes (44 + 13 hex) and flat layouts, and wear the band — logo + community-name heading over the gradient, content on a white `.panel`: - `member_join_idip.go` — join / waiting / dead-invite / not-approved / witness-degraded / app-only; the dead / not-approved surfaces drop their redundant bare-name welcome-line (the band heading is the title, per the wireframe's `.wt`). - `refusal.go` — pill + reason + kv + doors on the panel; `refusalStylesheet` builds the band + card CSS, shared with: - `signin_restart.go` — the restart page. Token source per serving origin: the join page is apex-served so it LINKS `/brand/portal/tokens.css` (DDR 0270 §1, unchanged); the refusal / restart pages are served one origin from the control plane, so they INLINE the compiled tokens via the new `RefusalBrand.Tokens`. That field is filled live per request in `main.go`: `productionRefusalBrandSource` now reads the whole kit through `communityKitReader(repo)` (replacing the name-only `communityNameReader`) and compiles the band tokens. Kit-less, every page rests on the Mātou-default `--oc-*` fallbacks (ADR 0100 — no fabricated name/logo). Tests: new `TestBand_SharedAcrossSurfaces` pins all eight pages carry the band + inlined kit fonts + name heading; `TestBand_NoKit_FallsBackToMatouDefaults` the neutral; `refusal_brand_wiring_test.go` updated to the kit reader. controlapi / idp / brandkit / control-plane suites green + gofmt/vet/golangci-lint clean. Dark-kit + pale-kit screenshots in the PR. STATUS.md milestone log updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>📷 Evidence for #1892 — taken after the fix unless the name says otherwise.
dark-join.png

pale-join.png

dark-refusal.png

pale-refusal.png

dark-signin-restart.png

pale-waiting.png

pale-app-only.png

dark-dead-invite.png

Reviewed for merge at Ben's request (2026-11-16 PR sweep) — not merged; left open. ~510 commits behind; conflicts in 5 Go files (control-plane main.go, controlapi member_join_idip.go / refusal.go / signin_restart.go, idp appdoorpage.go). Main rewrote the same surfaces since: the refusal page now wears the kit by linking/inlining
--oc-*tokens with neutral fallbacks, andWithIdipMemberJoinno longer takes theappOnlyargument this PR passes (the browser-join closure page). Reconciling is a redesign of the band against today's pages, not a pick-a-side merge — needs a fresh pass from current main.Closing unmerged: it is 529 commits behind, and main has since taken a different path for half of it. #1892 stays open (
ready-for-agent) to be redone from current main; the re-scope is on the ticket.Pull request closed