Style sweep: server-rendered controlapi pages (IDIP join/waiting, refusals, sign-in restart) wear the kit + the shared bridge band #1892

Open
opened 2026-09-25 18:05:38 +00:00 by ben · 6 comments
Owner

Context: Ben, 2026-09-25 — "the coa, founding app and control panel should all be implemented with global css styles for consistency … create tickets for application wide sweeps across all platforms". Audit of the current state is summarised in the umbrella ticket. The shared kit is packages/ui-kit/src/baseLayer.css (--oc-* tokens, --oc-font-serif = Merriweather, --oc-font-sans = Roboto Mono, .oc-linkbutton, .oc-card, .oc-callout--*, .oc-system-alert--*) plus OcButton and the other Oc* components.

Current state

DDR 0280 put all four IDIP bridge pages (internal/idp: app door, twelve words, signed out, device approval) on ONE shared style, bandCSS (brand.go) + brandkit.FontFaceCSS() + compiled PortalSurface tokens — the Portal sign-in's band. The control plane's own server-rendered pages still carry their own palettes:

  • internal/controlapi/member_join_idip.go (idipJoinStyle ~L412): no compiled tokens — only name + logo via RefusalBrand; 44 hardcoded hex (#2E5E4E, #f6f7f9, …), system-ui font, local .phrase-card/.copy.
  • internal/controlapi/refusal.go (refusalStyle ~L241): no tokens, 13 hex, system-ui, local .pill/.logo.
  • internal/controlapi/signin_restart.go (~L100) reuses refusalStyle — equally unbranded.
    (internal/clan/frontdoor.go's "control plane restarting" page is dependency-free BY DESIGN — the control plane is down — out of scope beyond aligning its literals with the kit defaults.)

Scope

Lift bandCSS/nameHeading out of internal/idp into a shared home both packages import (e.g. internal/brandkit next to FontFaceCSS), and render the controlapi pages from the compiled PortalSurface tokens + that style, the way the bridge pages do.

Acceptance

  • the join/waiting/dead-invite/not-approved/witness-degraded/app-only, refusal and sign-in-restart pages all contain the shared band style + the inlined kit fonts + the community-name heading (one seam test over every page, like TestBand_SharedAcrossSurfaces);
  • no hardcoded palette hex outside token fallbacks; system-ui stacks gone;
  • rendered with no kit they fall back to the Mātou defaults; screenshots for a dark and a pale kit in the PR.

🤖 Filed with Claude Code

Context: Ben, 2026-09-25 — *"the coa, founding app and control panel should all be implemented with global css styles for consistency … create tickets for application wide sweeps across all platforms"*. Audit of the current state is summarised in the umbrella ticket. The shared kit is `packages/ui-kit/src/baseLayer.css` (`--oc-*` tokens, `--oc-font-serif` = Merriweather, `--oc-font-sans` = Roboto Mono, `.oc-linkbutton`, `.oc-card`, `.oc-callout--*`, `.oc-system-alert--*`) plus `OcButton` and the other `Oc*` components. ## Current state DDR 0280 put all four IDIP **bridge** pages (`internal/idp`: app door, twelve words, signed out, device approval) on ONE shared style, `bandCSS` (brand.go) + `brandkit.FontFaceCSS()` + compiled PortalSurface tokens — the Portal sign-in's band. The control plane's own server-rendered pages still carry their own palettes: - `internal/controlapi/member_join_idip.go` (`idipJoinStyle` ~L412): no compiled tokens — only name + logo via `RefusalBrand`; 44 hardcoded hex (`#2E5E4E`, `#f6f7f9`, …), `system-ui` font, local `.phrase-card`/`.copy`. - `internal/controlapi/refusal.go` (`refusalStyle` ~L241): no tokens, 13 hex, `system-ui`, local `.pill`/`.logo`. - `internal/controlapi/signin_restart.go` (~L100) reuses `refusalStyle` — equally unbranded. (`internal/clan/frontdoor.go`'s "control plane restarting" page is dependency-free BY DESIGN — the control plane is down — out of scope beyond aligning its literals with the kit defaults.) ## Scope Lift `bandCSS`/`nameHeading` out of `internal/idp` into a shared home both packages import (e.g. `internal/brandkit` next to `FontFaceCSS`), and render the controlapi pages from the compiled PortalSurface tokens + that style, the way the bridge pages do. ## Acceptance - the join/waiting/dead-invite/not-approved/witness-degraded/app-only, refusal and sign-in-restart pages all contain the shared band style + the inlined kit fonts + the community-name heading (one seam test over every page, like `TestBand_SharedAcrossSurfaces`); - no hardcoded palette hex outside token fallbacks; `system-ui` stacks gone; - rendered with no kit they fall back to the Mātou defaults; screenshots for a dark and a pale kit in the PR. 🤖 Filed with [Claude Code](https://claude.com/claude-code)

This was generated by AI during triage.

Triage: ready-for-agent, blocked by #1889 (kept enhancement, landing-pr)

Verified against the tree — and one dependency found. The three controlapi surfaces exist as cited: internal/controlapi/member_join_idip.go (idipJoinStyle), internal/controlapi/refusal.go (refusalStyle), internal/controlapi/signin_restart.go (reuses refusalStyle). Their unbranded state is real.

But the foundation this ticket builds on is not on main yet. The scope is "lift bandCSS/nameHeading out of internal/idp into a shared home" — but neither bandCSS nor FontFaceCSS nor TestBand_SharedAcrossSurfaces exists in the tree today, and there is no DDR 0280 file. They are introduced by PR #1889 ("DDR 0280: the sign-in QR screen (app door) uses the Portal sign-in's band"), which is still OPEN. An agent picking this up now would find the symbols it must lift do not exist.

I have added a native Forgejo dependency: #1892 is blocked by #1889. .sandcastle/list-ready-tasks.sh hides blocked slices, so the swarm will not pick this up until #1889 merges — at which point it becomes takeable with no further triage.

Ruled by agent under ADR 0174 — veto anytime. Routed ready-for-agent-behind-a-dependency rather than needs-design/ready-for-human: the spec is complete and the acceptance is seam-test-provable; the only gap is a not-yet-merged code foundation, which the DAG (not a label) is the right place to express. Two-way door — revertible per commit, provable by the seam test below. landing-pr left on (Ben's review gate).

Agent brief (unblocks when #1889 lands)

Goal: the control-plane's server-rendered pages wear the same band + inlined kit fonts + community-name heading as the IDIP bridge pages.

Approach: once #1889 has landed bandCSS/nameHeading/FontFaceCSS in internal/idp, lift bandCSS/nameHeading into a shared home both packages import (e.g. internal/brandkit, next to FontFaceCSS); render the controlapi pages from the compiled PortalSurface tokens + that shared style, the way the bridge pages do. Replace idipJoinStyle/refusalStyle's hardcoded palettes (44 hex in member_join_idip.go ~L412, 13 in refusal.go ~L241) and system-ui stacks. internal/clan/frontdoor.go's "control plane restarting" page stays dependency-free by design (out of scope beyond aligning literals with kit defaults).

Acceptance:

  • the join/waiting/dead-invite/not-approved/witness-degraded/app-only, refusal and sign-in-restart pages all contain the shared band style + inlined kit fonts + the community-name heading (one seam test over every page, like TestBand_SharedAcrossSurfaces);
  • no hardcoded palette hex outside token fallbacks; system-ui stacks gone;
  • rendered with no kit they fall back to the Mātou defaults; dark-kit and pale-kit screenshots in the PR.
> *This was generated by AI during triage.* ## Triage: `ready-for-agent`, blocked by #1889 (kept `enhancement`, `landing-pr`) **Verified against the tree — and one dependency found.** The three controlapi surfaces exist as cited: `internal/controlapi/member_join_idip.go` (`idipJoinStyle`), `internal/controlapi/refusal.go` (`refusalStyle`), `internal/controlapi/signin_restart.go` (reuses `refusalStyle`). Their unbranded state is real. **But the foundation this ticket builds on is not on `main` yet.** The scope is *"lift `bandCSS`/`nameHeading` out of `internal/idp` into a shared home"* — but neither `bandCSS` nor `FontFaceCSS` nor `TestBand_SharedAcrossSurfaces` exists in the tree today, and there is no DDR 0280 file. They are introduced by **PR #1889 ("DDR 0280: the sign-in QR screen (app door) uses the Portal sign-in's band")**, which is still **OPEN**. An agent picking this up now would find the symbols it must lift do not exist. I have added a native Forgejo dependency: **#1892 is blocked by #1889.** `.sandcastle/list-ready-tasks.sh` hides blocked slices, so the swarm will not pick this up until #1889 merges — at which point it becomes takeable with no further triage. **Ruled by agent under ADR 0174 — veto anytime.** Routed `ready-for-agent`-behind-a-dependency rather than `needs-design`/`ready-for-human`: the spec is complete and the acceptance is seam-test-provable; the only gap is a not-yet-merged code foundation, which the DAG (not a label) is the right place to express. Two-way door — revertible per commit, provable by the seam test below. `landing-pr` left on (Ben's review gate). ## Agent brief (unblocks when #1889 lands) **Goal:** the control-plane's server-rendered pages wear the same band + inlined kit fonts + community-name heading as the IDIP bridge pages. **Approach:** once #1889 has landed `bandCSS`/`nameHeading`/`FontFaceCSS` in `internal/idp`, lift `bandCSS`/`nameHeading` into a shared home both packages import (e.g. `internal/brandkit`, next to `FontFaceCSS`); render the controlapi pages from the compiled PortalSurface tokens + that shared style, the way the bridge pages do. Replace `idipJoinStyle`/`refusalStyle`'s hardcoded palettes (44 hex in `member_join_idip.go` ~L412, 13 in `refusal.go` ~L241) and `system-ui` stacks. `internal/clan/frontdoor.go`'s "control plane restarting" page stays dependency-free by design (out of scope beyond aligning literals with kit defaults). **Acceptance:** - the join/waiting/dead-invite/not-approved/witness-degraded/app-only, refusal and sign-in-restart pages all contain the shared band style + inlined kit fonts + the community-name heading (one seam test over every page, like `TestBand_SharedAcrossSurfaces`); - no hardcoded palette hex outside token fallbacks; `system-ui` stacks gone; - rendered with no kit they fall back to the Mātou defaults; dark-kit and pale-kit screenshots in the PR.

close-report for #1892 — status success

✅ close-report gates passed — every claim verified against the PR head. PR #1898 (#1898) is open and green; a human merges it and the merge closes this issue via closes #1892 (MERGE_AUTHORITY=human).

envelope
{
  "issue": 1892,
  "status": "success",
  "commits": [
    "c058399627dee3bcde04927dc6480852bab386f8"
  ],
  "changed_files": [
    "STATUS.md",
    "control-plane/cmd/control-plane/main.go",
    "control-plane/cmd/control-plane/refusal_brand.go",
    "control-plane/cmd/control-plane/refusal_brand_wiring_test.go",
    "control-plane/cmd/control-plane/whole_composition.go",
    "internal/brandkit/band.go",
    "internal/controlapi/band_seam_test.go",
    "internal/controlapi/member_join_idip.go",
    "internal/controlapi/refusal.go",
    "internal/controlapi/signin_restart.go",
    "internal/idp/appdoorpage.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/controlapi/... ./internal/idp/... ./internal/brandkit/... ./control-plane/cmd/control-plane/...",
      "exit_code": 0
    },
    {
      "command": "go build ./...",
      "exit_code": 0
    },
    {
      "command": "golangci-lint run ./internal/brandkit/... ./internal/controlapi/... ./internal/idp/... ./control-plane/cmd/control-plane/...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "join/waiting/dead-invite/not-approved/witness-degraded/app-only, refusal and sign-in-restart pages all contain the shared band style + the inlined kit fonts + the community-name heading (one seam test over every page)": "New internal/brandkit/band.go (BandCSS/NameHeading/PortalTokensCSS) is imported by internal/idp/appdoorpage.go and the three controlapi files; new TestBand_SharedAcrossSurfaces (internal/controlapi/band_seam_test.go) renders all eight pages and asserts each carries the gradient band, @font-face Merriweather+Roboto Mono, and <h1 data-field=\"community-name\"> — green.",
    "no hardcoded palette hex outside token fallbacks; system-ui stacks gone": "member_join_idip.go/refusal.go/signin_restart.go rewritten onto --oc-* tokens with fallbacks; TestBand_SharedAcrossSurfaces asserts no 'system-ui' substring and the var(--oc-accent, #619793) fallback shape on every page.",
    "rendered with no kit they fall back to the Matou defaults; screenshots for a dark and a pale kit in the PR": "PortalTokensCSS returns \"\" for a kit-less kit and the band rests on its Matou-default --oc-* fallbacks; TestBand_NoKit_FallsBackToMatouDefaults pins the neutral (no tokens.css link, 'your community' heading, Matou gradient). Dark-kit and pale-kit screenshots attached to PR #1898 (join, refusal, restart/waiting, app-only/dead-invite)."
  },
  "summary": "The control plane's join/refusal/restart pages wear the shared community band, lifted from the app door into internal/brandkit and imported by both packages.",
  "blockers": []
}
**close-report** for #1892 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the PR head. PR #1898 (https://git.matou.nz/Matou/idss/pulls/1898) is open and green; a human merges it and the merge closes this issue via `closes #1892` (MERGE_AUTHORITY=human). <details><summary>envelope</summary> ```json { "issue": 1892, "status": "success", "commits": [ "c058399627dee3bcde04927dc6480852bab386f8" ], "changed_files": [ "STATUS.md", "control-plane/cmd/control-plane/main.go", "control-plane/cmd/control-plane/refusal_brand.go", "control-plane/cmd/control-plane/refusal_brand_wiring_test.go", "control-plane/cmd/control-plane/whole_composition.go", "internal/brandkit/band.go", "internal/controlapi/band_seam_test.go", "internal/controlapi/member_join_idip.go", "internal/controlapi/refusal.go", "internal/controlapi/signin_restart.go", "internal/idp/appdoorpage.go" ], "tests": [ { "command": "go test ./internal/controlapi/... ./internal/idp/... ./internal/brandkit/... ./control-plane/cmd/control-plane/...", "exit_code": 0 }, { "command": "go build ./...", "exit_code": 0 }, { "command": "golangci-lint run ./internal/brandkit/... ./internal/controlapi/... ./internal/idp/... ./control-plane/cmd/control-plane/...", "exit_code": 0 } ], "criteria": { "join/waiting/dead-invite/not-approved/witness-degraded/app-only, refusal and sign-in-restart pages all contain the shared band style + the inlined kit fonts + the community-name heading (one seam test over every page)": "New internal/brandkit/band.go (BandCSS/NameHeading/PortalTokensCSS) is imported by internal/idp/appdoorpage.go and the three controlapi files; new TestBand_SharedAcrossSurfaces (internal/controlapi/band_seam_test.go) renders all eight pages and asserts each carries the gradient band, @font-face Merriweather+Roboto Mono, and <h1 data-field=\"community-name\"> — green.", "no hardcoded palette hex outside token fallbacks; system-ui stacks gone": "member_join_idip.go/refusal.go/signin_restart.go rewritten onto --oc-* tokens with fallbacks; TestBand_SharedAcrossSurfaces asserts no 'system-ui' substring and the var(--oc-accent, #619793) fallback shape on every page.", "rendered with no kit they fall back to the Matou defaults; screenshots for a dark and a pale kit in the PR": "PortalTokensCSS returns \"\" for a kit-less kit and the band rests on its Matou-default --oc-* fallbacks; TestBand_NoKit_FallsBackToMatouDefaults pins the neutral (no tokens.css link, 'your community' heading, Matou gradient). Dark-kit and pale-kit screenshots attached to PR #1898 (join, refusal, restart/waiting, app-only/dead-invite)." }, "summary": "The control plane's join/refusal/restart pages wear the shared community band, lifted from the app door into internal/brandkit and imported by both packages.", "blockers": [] } ``` </details>
Author
Owner

Re-scope for the redo (PR #1898 was closed as too stale to rebase, 2026-11-17).

  • The band already exists on main, inside idp. 15758fe8 (DDR 0280 amended) put all four bridge pages on one bandCSS in internal/idp/brand.go. It is ahead of #1898's copy: it adds .btn, .link, .panel label, .status and .standing, and the logo tile rules. Lift that constant (plus nameHeading, and logoCSS if the controlapi pages show the mark) into internal/brandkit, and have idp import it. Don't re-create #1898's older version.
  • The app-only end is gone. #1910 / DDR 0284 removed it, so renderAppOnly and the appOnly argument to WithIdipMemberJoin no longer exist.
  • Gate wiring changed. control-plane/cmd/control-plane/main.go now passes Handover: gateHandoverStore beside Brand: (ADR 0282, #1967). Keep it when swapping communityNameReader for a kit reader.
  • Still to do on main: member_join_idip.go has 15 hardcoded hex colours and system-ui; refusal.go has 10 hex and system-ui; signin_restart.go reuses refusalStyle.
  • #1898's PortalTokensCSS (inline the compiled PortalSurface tokens where a page can't link /brand/portal/tokens.css) and its band_seam_test.go are still the right shape to carry over.
Re-scope for the redo (PR #1898 was closed as too stale to rebase, 2026-11-17). - **The band already exists on main, inside idp.** 15758fe8 (DDR 0280 amended) put all four bridge pages on one `bandCSS` in `internal/idp/brand.go`. It is ahead of #1898's copy: it adds `.btn`, `.link`, `.panel label`, `.status` and `.standing`, and the logo tile rules. Lift **that** constant (plus `nameHeading`, and `logoCSS` if the controlapi pages show the mark) into `internal/brandkit`, and have idp import it. Don't re-create #1898's older version. - **The app-only end is gone.** #1910 / DDR 0284 removed it, so `renderAppOnly` and the `appOnly` argument to `WithIdipMemberJoin` no longer exist. - **Gate wiring changed.** `control-plane/cmd/control-plane/main.go` now passes `Handover: gateHandoverStore` beside `Brand:` (ADR 0282, #1967). Keep it when swapping `communityNameReader` for a kit reader. - **Still to do on main:** `member_join_idip.go` has 15 hardcoded hex colours and `system-ui`; `refusal.go` has 10 hex and `system-ui`; `signin_restart.go` reuses `refusalStyle`. - #1898's `PortalTokensCSS` (inline the compiled PortalSurface tokens where a page can't link `/brand/portal/tokens.css`) and its `band_seam_test.go` are still the right shape to carry over.

Ruled by agent under ADR 0174 — veto anytime.

Landing this redo needs the stale agent/issue-1892 branch cleared. It holds only commit c058399 — the work of PR #1898, which is closed (not merged), the one Ben noted was "closed as too stale to rebase" in the re-scope above. No OPEN pull request references the branch. land-pr.sh refuses to fast-forward over it (correctly — it never force-pushes), so I deleted the abandoned branch and re-pushed the fresh redo as a new agent/issue-1892 + PR.

Why two-way door: deleting an abandoned closed-PR branch is fully reversible — c058399 survives in the closed PR #1898 record and in git history — and it is none of the one-way-door classes (no credentials, security widening, trust accept, real-data destruction, or spend). Proven by: the new PR opens green with closes #1892 and the close-report gate verifies its head.

**Ruled by agent under ADR 0174 — veto anytime.** Landing this redo needs the stale `agent/issue-1892` branch cleared. It holds only commit `c058399` — the work of **PR #1898, which is closed (not merged)**, the one Ben noted was "closed as too stale to rebase" in the re-scope above. No OPEN pull request references the branch. `land-pr.sh` refuses to fast-forward over it (correctly — it never force-pushes), so I deleted the abandoned branch and re-pushed the fresh redo as a new `agent/issue-1892` + PR. **Why two-way door:** deleting an abandoned closed-PR branch is fully reversible — `c058399` survives in the closed PR #1898 record and in git history — and it is none of the one-way-door classes (no credentials, security widening, trust accept, real-data destruction, or spend). Proven by: the new PR opens green with `closes #1892` and the close-report gate verifies its head.

⏩ independent reviewer for #1892 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #1892 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>

close-report for #1892 — status success

✅ close-report gates passed — every claim verified against the PR head. PR #2196 (#2196) is open and green; a human merges it and the merge closes this issue via closes #1892 (MERGE_AUTHORITY=human).

envelope
{
  "issue": 1892,
  "status": "success",
  "commits": [
    "e5d7fe5fafd1791acf517b76cf4d9f3770928cb4"
  ],
  "changed_files": [
    "STATUS.md",
    "control-plane/cmd/control-plane/main.go",
    "control-plane/cmd/control-plane/refusal_brand.go",
    "control-plane/cmd/control-plane/refusal_brand_wiring_test.go",
    "control-plane/cmd/control-plane/whole_composition.go",
    "internal/brandkit/band.go",
    "internal/controlapi/band_seam_test.go",
    "internal/controlapi/member_join_idip.go",
    "internal/controlapi/refusal.go",
    "internal/controlapi/signin_restart.go",
    "internal/controlapi/signin_test.go",
    "internal/idp/brand.go"
  ],
  "tests": [
    {
      "command": "go test ./...",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/controlapi/ ./internal/idp/ ./internal/brandkit/ ./control-plane/cmd/control-plane/",
      "exit_code": 0
    },
    {
      "command": "go build ./... && go build -tags dev ./...",
      "exit_code": 0
    },
    {
      "command": "go vet ./...",
      "exit_code": 0
    },
    {
      "command": "golangci-lint run ./...",
      "exit_code": 0
    },
    {
      "command": "gofmt -l internal/controlapi internal/brandkit internal/idp control-plane/cmd/control-plane",
      "exit_code": 0
    }
  ],
  "criteria": {
    "join/waiting/dead-invite/not-approved/witness-degraded, refusal and sign-in-restart pages all contain the shared band style + the inlined kit fonts + the community-name heading (one seam test over every page, like TestBand_SharedAcrossSurfaces)": "New internal/brandkit/band.go (BandCSS/NameHeading/PortalTokensCSS) is imported by internal/idp/brand.go and the three controlapi files; new TestBand_SharedAcrossSurfaces (internal/controlapi/band_seam_test.go) renders all pages (join, waiting, dead-invite, not-approved, degraded, refusal, refusal-not-admin, signin-restart) and asserts each carries the gradient band, @font-face Merriweather+Roboto Mono, and <h1 class=\"name\" data-field=\"community-name\"> — green.",
    "no hardcoded palette hex outside token fallbacks; system-ui stacks gone": "member_join_idip.go/refusal.go/signin_restart.go rewritten onto --oc-* tokens with Matou-default fallbacks + the band's --ad-* neutrals; the system-ui stacks are deleted and TestBand_SharedAcrossSurfaces asserts no 'system-ui' substring and the var(--oc-accent, #619793) fallback shape on every page.",
    "rendered with no kit they fall back to the Matou defaults; screenshots for a dark and a pale kit in the PR": "PortalTokensCSS returns \"\" for a kit-less kit and the band rests on its Matou-default --oc-* fallbacks; TestBand_NoKit_FallsBackToMatouDefaults pins the neutral (no tokens.css link on the refusal surface, 'your community' heading, Matou gradient). Dark-kit (navy) and pale-kit (amber) screenshots of join/refusal/restart/waiting/not-admin/dead-invite are attached to PR #2196.",
    "lift bandCSS/nameHeading into internal/brandkit; have idp import it; keep the gate's Handover wiring": "internal/idp/brand.go now imports brandkit.BandCSS()/NameHeading() (the four bridge surfaces render byte-unchanged, so the app-door golden is untouched and the mirror gate is not tripped); control-plane/cmd/control-plane/main.go keeps Handover: gateHandoverStore while swapping communityNameReader -> communityKitReader."
  },
  "summary": "The control plane's join/refusal/restart pages wear the shared community band, lifted from the app door into internal/brandkit and imported by both packages.",
  "reason": "",
  "blockers": []
}
**close-report** for #1892 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the PR head. PR #2196 (https://git.matou.nz/Matou/idss/pulls/2196) is open and green; a human merges it and the merge closes this issue via `closes #1892` (MERGE_AUTHORITY=human). <details><summary>envelope</summary> ```json { "issue": 1892, "status": "success", "commits": [ "e5d7fe5fafd1791acf517b76cf4d9f3770928cb4" ], "changed_files": [ "STATUS.md", "control-plane/cmd/control-plane/main.go", "control-plane/cmd/control-plane/refusal_brand.go", "control-plane/cmd/control-plane/refusal_brand_wiring_test.go", "control-plane/cmd/control-plane/whole_composition.go", "internal/brandkit/band.go", "internal/controlapi/band_seam_test.go", "internal/controlapi/member_join_idip.go", "internal/controlapi/refusal.go", "internal/controlapi/signin_restart.go", "internal/controlapi/signin_test.go", "internal/idp/brand.go" ], "tests": [ { "command": "go test ./...", "exit_code": 0 }, { "command": "go test ./internal/controlapi/ ./internal/idp/ ./internal/brandkit/ ./control-plane/cmd/control-plane/", "exit_code": 0 }, { "command": "go build ./... && go build -tags dev ./...", "exit_code": 0 }, { "command": "go vet ./...", "exit_code": 0 }, { "command": "golangci-lint run ./...", "exit_code": 0 }, { "command": "gofmt -l internal/controlapi internal/brandkit internal/idp control-plane/cmd/control-plane", "exit_code": 0 } ], "criteria": { "join/waiting/dead-invite/not-approved/witness-degraded, refusal and sign-in-restart pages all contain the shared band style + the inlined kit fonts + the community-name heading (one seam test over every page, like TestBand_SharedAcrossSurfaces)": "New internal/brandkit/band.go (BandCSS/NameHeading/PortalTokensCSS) is imported by internal/idp/brand.go and the three controlapi files; new TestBand_SharedAcrossSurfaces (internal/controlapi/band_seam_test.go) renders all pages (join, waiting, dead-invite, not-approved, degraded, refusal, refusal-not-admin, signin-restart) and asserts each carries the gradient band, @font-face Merriweather+Roboto Mono, and <h1 class=\"name\" data-field=\"community-name\"> — green.", "no hardcoded palette hex outside token fallbacks; system-ui stacks gone": "member_join_idip.go/refusal.go/signin_restart.go rewritten onto --oc-* tokens with Matou-default fallbacks + the band's --ad-* neutrals; the system-ui stacks are deleted and TestBand_SharedAcrossSurfaces asserts no 'system-ui' substring and the var(--oc-accent, #619793) fallback shape on every page.", "rendered with no kit they fall back to the Matou defaults; screenshots for a dark and a pale kit in the PR": "PortalTokensCSS returns \"\" for a kit-less kit and the band rests on its Matou-default --oc-* fallbacks; TestBand_NoKit_FallsBackToMatouDefaults pins the neutral (no tokens.css link on the refusal surface, 'your community' heading, Matou gradient). Dark-kit (navy) and pale-kit (amber) screenshots of join/refusal/restart/waiting/not-admin/dead-invite are attached to PR #2196.", "lift bandCSS/nameHeading into internal/brandkit; have idp import it; keep the gate's Handover wiring": "internal/idp/brand.go now imports brandkit.BandCSS()/NameHeading() (the four bridge surfaces render byte-unchanged, so the app-door golden is untouched and the mirror gate is not tripped); control-plane/cmd/control-plane/main.go keeps Handover: gateHandoverStore while swapping communityNameReader -> communityKitReader." }, "summary": "The control plane's join/refusal/restart pages wear the shared community band, lifted from the app door into internal/brandkit and imported by both packages.", "reason": "", "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#1892
No description provided.