CLOSE — 002-renaissance
Closed: 2026-09-02 · Status: DONE (every phase met against its own
bar; six design decisions handed back to the owner, none of them blocking a
served byte)
The charter's objective, verified rather than asserted: one design system,
one source of truth per component, three targets that provably agree about
what exists — and apps/web/src/components/ui/ emptied into it. Its three
stated done conditions all hold on main:
| Condition (charter) | State |
|---|---|
| The parity ledger is green | npm run check:studio-parity: 121 React, 40 Swift, 0 app-side; 0 awaiting authoring, 0 awaiting conversion; every gap dispositioned — and every declared variant axis shows no drift |
The token alias bridge in tokens.css is empty | Emptied and deleted 2026-08-22 (#140): 24 aliases, 464 references gone; the file is the Studio import plus eight app-level tokens |
No app file imports components/ui | The directory is gone (#598): its last two residents were domain components, moved up beside the app's other domain components, and the barrel is archived |
Started 2026-08-14 from the 004a inventory — 103 Studio React exports against
31 app components, 7 layout components, ~5,050 lines of hand-rolled CSS and
three targets nobody checked against each other — the track closes with the
app on @csxbase/studio-react for every shared primitive, 91 dead app classes drained
to zero under a gate, the live E2E suite at 97 of 97 under four workers, and
141 ADRs of method (0018–0052, 0139, 0149–0158 are this track's own).
The charter's own bar, phase by phase
| Phase | Done when (charter) | State |
|---|---|---|
| 00 — Ledger | A cross-target parity ledger read from source, with a CI gate, so every later claim is checkable | Met. studio/parity/ledger.json + check:studio-parity (S1/S2), the App column defined as the set this track drives to zero (ADR-0018). Widened in phase 04 to variants and values (V1–V4) |
| 01 — Author | The ~12 missing React components, by blast radius, each landing with a story and a preview row | Met — twelve rows, every one call-site-censused first (ADR-0035): three were deletions with zero consumers (Form, PermissionGrid, DiffViewer), four were dispositions (TimezonePicker a kind, not a name — ADR-0037), five were authored (Combobox, MultiSelect, CodeEditor, DateTimePicker, ColorPicker), two of them replacing components that had never worked at any call site (ADR-0040, 0041) |
| 02 — Convert | The 82 importing files moved from components/ui to @csxbase/studio-react, per component, the alias bridge emptying as it goes | Met. 20 of 20 components converted (ADR-0019–0034), then the two residuals the scoreboard hid: Switch (24 tags, #200) and Select (51 tags over twelve slices, closed 2026-08-31 with ADR-0154/0156 unblocking it). components/ui retired 2026-09-02 |
| 03 — Promote | The ~8 CSS-only pattern families become components | Met. FilterRow at 27 of 27 sites (#125), dashboard Stat/StatRow (#103), Stack (#106), Field for every hand-rolled label (#124); the p-* inspector family retired rather than promoted, its only emitter rendering 2 of 7 controls (#105) |
| 04 — Swift parity | Scoped by the surfaces the Swift app ships, driven by the ledger; parity where it pays, recorded where it does not | Met. The gate reads variant axes and the tokens a value spends (ADR-0048, 0050, 0051, 0052); all four drift raises landed (#167–#170) and every declared axis shows no drift. Widening to further axes is a new decision, not queued work |
| Close-out sweeps | Paginators, tables, empty states, the loading idiom, dead app CSS, the open-items ledger | Met. 20 of 20 paginators, 30 tables converted and 1 dispositioned (ADR-0046), 4 of 4 empty states, 21 pages on the loading idiom with Skeleton.test.tsx as its closure, 91 of 91 dead classes drained under check:emitters (ADR-0157), the .btn family closed with ADR-0158. The LEDGER's 145 rows are struck, verified closed by later work, or the six owner decisions below |
What the track decided, and what it refused to
A component is authored only after its call sites are counted (ADR-0035). Three of the twelve authoring rows were deletions, and a story is not a consumer — a rule that stopped the design system gaining exports nobody asked for, and found two shipped components that had never worked at any site.
A conversion deletes the app CSS it replaces on the same commit (ADR-0021), with emitter counts by one committed census (ADR-0157). The preview pages link the real stylesheets, so four times a retirement had to retire a preview card first — the trap is recorded, never worked around.
The gate reads source, never a claim. Parity is what index.js, the Swift
structs and the app barrel export; variants are the axes the props declare;
preview cards that name a component are checked against the same sources
(ADR-0047). Nothing in this track's evidence is a number typed by hand.
The wait is drawn in the slot the content will occupy — never a gate in front of the page, because a gate hides a branch stating a fact about a request that has not answered (the loading-idiom sweep, eight slices).
Domain stays app-side. DisplayRulesEditor and TimezonePicker are
product vocabulary, not controls (ADR-0037); the design system does not ship a
list of cities. They live with the app's other domain components now, and the
directory that once held the app's shadow design system is gone.
Refused: a DataTable density that was never a density (ADR-0046); a
cellClassName where "class the node, not the cell" holds (ADR-0045); a
brand-coloured sign-in button, since a third party's hue is not a token this
system has (ADR-0158); and every one of the six decisions below, which a
session must not answer for the owner.
Blockers handed back to the owner
Six, each with options and a recommendation in
SESSION.md. None blocked work:
every one is a design or product judgement over something that serves
correctly today.
- Row 59 — two membership models, one unserved.
/teams/{id}/memberstakes an access matrix no page reaches; workspace roles are what the UI serves. Recommend retiring the/teamsroutes unless teams are sold. - Row 17 — widening the component layer's allowlist to the shell file. Recommend no change until a second host consumes the shell.
- Row 33 —
accentvssuccessat 2.2 ΔEok. Recommend accept: every tone carries a symbol, so the two are never told apart by colour alone. - Row 101 — six Tailwind swatches in
lib/colorPresets.ts. Recommend deriving the palette from the token hues. - Row 79 —
DisplayRulesEditor's schedule model, instant or wall clock plus zone. Recommend the instant, which is what the pickers already store. - Row 25 — the Skeleton shimmer's legibility. Recommend a measured look on a running stack before either option.
What this track deliberately does not carry forward as work
- The lingering
refs/heads/claim/*andrefs/heads/claude/*. Ref deletion is refused with 403 in the routine's environment; someone with delete rights sweeps them. Recorded in ROUTINE.md and SESSION.md, not a repair. - Widening the parity gate to further variant axes — a new decision, per phase 04's close.
Comboboxrenders every match, unwindowed (row 68) — acceptable at its one long-list call site; measure before the next.- The four notes for the next author (rows 85, 95, 99, 109, 110, 123) — method, not work: what a ledger vocabulary cannot say, what jsdom cannot reach, how a roving index is derived, what a worktree does not isolate.
Out of scope by charter and still so: product components' behaviour beyond their controls; visual redesign beyond what token adoption implies; the Go module rename.
Source: .station/jobs/002-renaissance/reports/CLOSE.md