ui-tokens: vendor the IDSS kit --oc-* tokens + Merriweather/Roboto Mono into Coa (plan #158 Task 1) #159

Open
opened 2026-09-25 19:28:43 +00:00 by matou-build-agent · 1 comment

This was generated by AI during triage.

Slice of #158 (umbrella); design ruling DDR 0281 — cohesive Coa/IDSS branding. Mechanism & values ruled on #158 under ADR 0174 (veto anytime).

What

Foundation slice. Create a Coa-owned tokens source that vendors the kit's --oc-*
declarations and its two @font-face blocks (Merriweather, Roboto Mono),
sourced-with-provenance from IDSS packages/ui-kit/src/{brandTokens.ts, baseLayer.css} at ref 0a5b4619. This unblocks every surface slice.

Interfaces

  • New site/src/tokens.css (or packages/ shared file if server/templates will
    import it too — see out_of_scope): :root { --oc-* } carrying the Mātou
    default values quoted on #158
    , imported before @tailwind base in
    site/src/index.css.
  • Bundle the faces locally (no font CDN — Coa policy, cf. main.tsx:6). Prefer
    @fontsource/merriweather + @fontsource/roboto-mono weights that match the
    kit's bundled faces; else vendor the woff2 assets.
  • Copy the full --oc-status-* set verbatim from the source; do not
    enumerate by hand.

Acceptance

  • A unit test asserts Coa's vendored --oc-* names + values match the documented
    source values (regression guard on brand drift).
  • make test + make typecheck green.
  • A short header comment in the tokens file records the source path + ref
    0a5b4619 (vendor provenance).

out_of_scope

  • Rewiring Tailwind / replacing component hex (that is Task 2).
  • Whether the tokens file also serves templates/+email — those slices import
    or inline their own copy; if a shared package is cleaner, note it but keep this
    slice to the site/ consumer.

depends_on: none

> *This was generated by AI during triage.* _Slice of #158 (umbrella); design ruling **DDR 0281** — cohesive Coa/IDSS branding. Mechanism & values ruled on #158 under ADR 0174 (veto anytime)._ ## What Foundation slice. Create a Coa-owned tokens source that vendors the kit's `--oc-*` declarations and its two `@font-face` blocks (Merriweather, Roboto Mono), sourced-with-provenance from IDSS `packages/ui-kit/src/{brandTokens.ts, baseLayer.css}` at ref `0a5b4619`. This unblocks every surface slice. ## Interfaces - New `site/src/tokens.css` (or `packages/` shared file if server/templates will import it too — see out_of_scope): `:root { --oc-* }` carrying the **Mātou default values quoted on #158**, imported **before** `@tailwind base` in `site/src/index.css`. - Bundle the faces locally (no font CDN — Coa policy, cf. `main.tsx:6`). Prefer `@fontsource/merriweather` + `@fontsource/roboto-mono` weights that match the kit's bundled faces; else vendor the woff2 assets. - Copy the **full `--oc-status-*` set verbatim** from the source; do not enumerate by hand. ## Acceptance - A unit test asserts Coa's vendored `--oc-*` names + values match the documented source values (regression guard on brand drift). - `make test` + `make typecheck` green. - A short header comment in the tokens file records the source path + ref `0a5b4619` (vendor provenance). ## out_of_scope - Rewiring Tailwind / replacing component hex (that is Task 2). - Whether the tokens file also serves `templates/`+`email` — those slices import or inline their own copy; if a shared package is cleaner, note it but keep this slice to the `site/` consumer. depends_on: none
Author
Member

Blocked — CI pull_request trigger is dead (machinery, not this slice)

The code work for this slice is complete and green locally — PR #164 opened
against main:

  • New site/src/tokens.css vendors the kit's --oc-* Mātou-default tokens (palette,
    presentation neutrals, full --oc-status-* set, three type stacks) with provenance
    from Matou/idss packages/ui-kit/src/{brandTokens.ts,baseLayer.css} @ 0a5b4619;
    @imported before @tailwind base.
  • Merriweather (700) + Roboto Mono (400/500/700) bundled locally via @fontsource.
  • site/src/tokens.test.ts guards names + values (brand-drift regression).
  • pnpm -r typecheck, pnpm test (site 74, server 131), pnpm --filter @coa/site build
    all pass; fonts emit as local woff2.

What blocks landing: Forgejo has stopped firing pull_request events (the
documented #43 stuck-trigger in .forgejo/workflows/ci.yml). PR #164 gets a
ci / seam (pull_request) status stuck pending with no runner task ever created,
so it can never go green and the agent-after-green authority can never merge it.
Per-PR remedies (reopen, empty-commit synchronize) did not fire a task; only pushing
ci.yml to main re-registers the trigger — a protected-path / operator action agents
cannot perform here (LANDING=pr). Filed as machinery issue #165 (ready-for-session).

To re-arm: land #165 (re-register the CI trigger by pushing ci.yml to main, or
restart the runner/event-source), then push a fresh pull_request event to PR #164's
branch (empty commit or reopen) so its seam runs, and re-add ready-for-agent here.

Why blocked

agent-blocked — a broken shared-CI trigger outside this slice; the change is done and
green, only the merge gate cannot run.

## Blocked — CI `pull_request` trigger is dead (machinery, not this slice) The code work for this slice is **complete and green locally** — PR #164 opened against `main`: - New `site/src/tokens.css` vendors the kit's `--oc-*` Mātou-default tokens (palette, presentation neutrals, full `--oc-status-*` set, three type stacks) with provenance from `Matou/idss` `packages/ui-kit/src/{brandTokens.ts,baseLayer.css}` @ `0a5b4619`; `@import`ed before `@tailwind base`. - Merriweather (700) + Roboto Mono (400/500/700) bundled locally via `@fontsource`. - `site/src/tokens.test.ts` guards names + values (brand-drift regression). - `pnpm -r typecheck`, `pnpm test` (site 74, server 131), `pnpm --filter @coa/site build` all pass; fonts emit as local woff2. **What blocks landing:** Forgejo has stopped firing `pull_request` events (the documented `#43` stuck-trigger in `.forgejo/workflows/ci.yml`). PR #164 gets a `ci / seam (pull_request)` status stuck `pending` with **no runner task ever created**, so it can never go green and the `agent-after-green` authority can never merge it. Per-PR remedies (reopen, empty-commit `synchronize`) did not fire a task; only pushing `ci.yml` to `main` re-registers the trigger — a protected-path / operator action agents cannot perform here (`LANDING=pr`). Filed as machinery issue #165 (`ready-for-session`). **To re-arm:** land #165 (re-register the CI trigger by pushing `ci.yml` to `main`, or restart the runner/event-source), then push a fresh `pull_request` event to PR #164's branch (empty commit or reopen) so its seam runs, and re-add `ready-for-agent` here. ## Why blocked `agent-blocked` — a broken shared-CI trigger outside this slice; the change is done and green, only the merge gate cannot run.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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/coa#159
No description provided.