ADR-0179 — The web renders Studio 2.2: one token source, 2.2's shell and collections
Status: Accepted · Date: 2026-11-22 · Track: 013 GTM consolidation · Builds on: ADR-0175 · Amends: ADR-0176 (workspaces), ADR-0018 (the Swift target)
Context
ADR-0175 made Studio 2.2 the specification and left apps/web on the Studio
1.2 runtime "until migrated". The owner's brief for the migration: the web
"has yet to adopt the updated studio design system components… so many
duplicated / alternatives", and clean UI with progressive disclosure (AGENTS.md
launch rule 7). Measured before this change: 118 mapped tokens, 49 drifting,
8 one-sided; a sidebar, a topbar, a hand-rolled command palette and a mobile
nav sheet as the signed-in frame; every resource list a wrapped table of
five icon buttons per row.
Decision
- 2.2 is the only token source the web renders.
apps/webloads@aidenlive/studio-system/studio.css(2.2's generated tokens, component tokens, type roles, fonts, base and components). Every value instudio/tokens/studio.tokens.jsonthat 2.2 states is a reference,{2.2:<path>}(studio/tokens/v22.mjs);studio/tokens/build.mjsemits it asvar(--<2.2 name>), never re-declares a name 2.2 owns, and resolves it to 2.2's value for the JS, JSON and contrast outputs. 1.2's own faces (Certia, Editorial New, Space Grotesk) are deleted; the fonts are 2.2's. - The convergence gate counts sources, not values.
check:studio-convergencenow fails on any mapped 1.2 token that is not the reference to its 2.2 pair (a literal that drifts, a literal that copies, a wrong reference) and on any themed 1.2 token that is a literal. 182 of 183 pairs are sourced; the one recorded exception (studio/CONVERGENCE.json) is light--accent-line: 2.2'sprimary-linemeasures 2.996:1 onsurface-3, under the 3:1 focus floorcheck-contrast.mjsenforces, so light keeps 1.2's value until design/studio raises it. - One cascade. App and 1.2 CSS sit in
studio.cardsite, a sublayer of 2.2's stack between its base and its layout/components: an app element rule can never restyle a 2.2 component, and a 1.2 class still beats 2.2's element defaults. - React 19, and 2.2 as workspaces.
apps/webis on React 19.design/studio/packages/systemanddesign/studio/packages/reactare root npm workspaces (amending ADR-0176 for these two runtime packages only; design/studio keeps its lockfile for its own tooling). Vite dedupes React, Phosphor and dnd-kit, because design/studio's own install carries copies. - The signed-in frame is 2.2's shell.
AppShell,TopBar,PagePillwith the destination menu, the top-bar search (⌘K, spotlight results, paste-to-shorten), New →NewSheetof the nine kinds, the bell, theAccountMenu(theme, language, workspace, account pages, sign out) and, on phones,TabBar. No sidebar. The navigation registry gains amenusurface: the destination menu holds Home, Resources (the nine kinds) and five everyday places; everything else is one search away. - Every resource list is one composition.
ResourceCollection(apps/web/src/components/resources/) is 2.2'sCollectionHeader+FilterButton+ResultsLine+ResourceRow+EmptyState; the nine list pages hand it records and actions. A drawer-type record opens at<list>?edit=<id>(useEditOnArrival, the?new=1contract's twin), so a row's name is a link like every other kind's. - The registries carry 2.2's words.
@csxbase/link-modeldescriptors carrystudioKindandopenPathFor(); catalogue products carry their kind; registry icons are Phosphor components (the names always were). - What the conversion replaced is deleted (ADR-0178): the 1.2 shell
(
Sidebar,Topbar,CommandPalettein the app;AppShell…AuthForm, the chrome family andCommandPalettein@csxbase/studio-react; the shell, fonts and demo layers instudio/), the app CSS they emitted, andcheck:studio-parity, whose Swift target (the StudioKit fork) is gone: StudioKit 2.2 against studio-react 2.2 is design/studio's ownmake validate, and a second checker would be a second truth.
Consequences
- A token edit happens in
design/studio/DESIGN.mdand nowhere else; a 1.2 literal reintroduced for a mapped token failsnpm run verify. - Pages not yet converted (settings, editors, admin, the dashboard's body) still
render 1.2
lk-components, on 2.2 values. The list of what remains and why isdocs/guides/design-system.md§ 4. - Search, state and sort on a collection act on the page of records the API returned; the results line says so. Server-side filtering is a later API change, not a UI one.
Alternatives considered
- Copy 2.2's values into the 1.2 JSON and gate the copy — rejected: two files holding the same numbers is the duplicate the owner asked to remove.
file:dependency on design/studio — rejected: a link's own dependencies are not hoisted into the root tree, so the app would resolve them from design/studio's install; a workspace puts them in the root lock.- Re-point
check:studio-parityat StudioKit 2.2 — rejected: it would compare a retiring 1.2 React set with 2.2 Swift (140 new rows of noise) and duplicate design/studio's parity check.
Source: docs/decisions/0179-the-web-renders-studio-2-2.md