Skip to content
Toolkit

Job 002: renaissance

Status: DONE Owner: @work, the routine

Phase: 00–04 and the close-out sweeps all complete · Status: DONE (close-out) · Updated: 2026-09-02 Scoreboard: 121 React, 40 Swift, 0 app-side; 0 awaiting authoring, 0 awaiting conversion — apps/web/src/components/ui/ is gone (2026-09-02): its last two exports were domain components, moved up to components/, and the barrel is archived. The charter's "components/ui emptied" is true. This line is maintained on every parity-moving merge — trust it; it read 120 until 2026-08-30, when a run re-read the gate and found a component had landed under a later track without moving it; re-run npm run check:studio-parity only after a change that moves it.

Continuation point for the workstream. Read budget (ROUTINE.md): read this file through the end of "Method", once per run, then stop — work a batch of items from Next (claim → build → merge each, per ROUTINE.md's batch loop), and open LEDGER.md, an ADR, or anything else only if the item in hand names it. Charter: ./README.md. CI/merge policy: the standing policy on ROADMAP.md — do not restate it anywhere.

Log discipline: a Completed entry is ≤ 8 lines — what changed, call-site count, parity movement, verification, ADR/PR links. Completed keeps the newest 5 entries; adding a sixth rolls the oldest into .archives/removal-safe/.ops/projects/002-renaissance/status/SESSION-completed-2026-08-14-to-2026-08-21.md. Open items live in LEDGER.md (≤ 3 new rows per run). Deep findings go in an ADR or the archive register, never here.

Objective

The outcome the charter states: README.md.

Completed

Newest 5; older entries are in the archive log .archives/removal-safe/.ops/projects/002-renaissance/status/SESSION-completed-2026-08-14-to-2026-08-21.md.

  • 2026-09-02 — the track closes (no ADR — a close-out decides nothing new). reports/CLOSE.md on 011's shape: the charter's three done conditions each shown holding on main, every phase against its own row, the six Blockers handed back with options and a recommendation, and what is deliberately not carried forward named. README, this file, ROADMAP's row, section and last-stretch line, and CHANGELOG's 002 entry all read the same thing. Nothing served moved.

  • 2026-09-02 — components/ui is empty, and then it is gone (the charter's stated end state; no ADR — ADR-0037 and the charter's out-of-scope clause decided both residents were domain, not system). DisplayRulesEditor and TimezonePicker moved up to components/ beside the app's other domain components, six importers repointed, the ~440-line conversion-notes barrel archived with a register row. Both gates read an absent barrel as an empty set; the two not-planned ledger rows went with their source. Parity 2 app-side → 0, 2 awaiting → 0; no rendered byte moved.

  • 2026-09-02 — the handler tests read the mock under its own lock (LEDGER row 145 — closed; no ADR — the locks were there). CI's Go job runs go test -race, and two redirect tests polled the click slice the handler's goroutine appends under a mutex, while the public mock's counter was a bare int two pageview goroutines incremented. Pre-existing on the base (reproduced on a1448102), test-only, no served byte moved: recorded() and an atomic.Int64. go test -race ./... green, every package.

  • 2026-09-02 — a listing's count and its page are one snapshot (LEDGER row 144 — closed; no ADR — one transaction, no decision). The spec's identity was right and the API was not: ListByWorkspaceIDAndType and ListByWorkspaceID ran COUNT(*) and the page as two autocommit statements, so a neighbour's row committed between them was on the page and not in meta.total. Both now read from one read-only REPEATABLE READ snapshot through listPage. A query tracer forces the interleaving in links_list_snapshot_integration_test.go — watched failing 2 of 2 (2 rows, total 1), then green; go test ./... green (evidence .station/jobs/002-renaissance/evidence/parallel-live-run-2026-09-02.md).

  • 2026-09-02 — a rate limit is not a sign-out (LEDGER row 143 — closed; no ADR — one catch and one budget). Neither failure was a race or a wait: four workers spend the dev stack's 600/min API budget, GET /api/v1/user answers 429, and fetchUser signed the user out on any failure — both specs were watching a browser bounced to sign-in. The store ends a session on 401 alone (auth.test.ts, watched failing 2 of 4), the compose budget is 6,000 with the measurement as its comment; three runs recorded, the suite 97 of 97 under four workers, row 144 the residue (evidence .station/jobs/002-renaissance/evidence/parallel-live-run-2026-09-02.md).

Blockers

Six owner decisions hold the LEDGER's last open rows; none is buildable without an answer, and a run must not answer for the owner.

  1. Row 59 — two membership models, one of them unserved. The web's workspace members carry a role (member/admin, /workspaces/{id}/members) while /teams/{team_id}/members takes an access[] matrix over models.AllTeamAccessKeys — documented in openapi.yaml, exercised by apps/web/tests/e2e-live/workspace-roles.spec.ts, and reachable from no page. Options: (a) retire the /teams routes as PHP-parity residue and let workspace roles be the served model; (b) build the matrix UI on /teams as a track of its own; (c) fold the access keys into workspace membership so a role is a named key set. Recommend (a) unless teams are a sold surface — nothing in the plan ladder (011) prices one.
  2. Row 17 — widening the component layer's allowlist. 100 of 293 Studio React classes are unreachable for a component-layer consumer, 62 of them shell. Options: keep the three-file allowlist (shell stays a full-bundle concern); add 40-shell-app.css once it is shown namespace-clean. Recommend no change until a second host consumes the shell; Cardsite mounts its own.
  3. Row 33 — accent vs success at 2.2 ΔEok, soft fills under AA in light. Options: re-hue success away from lime; re-hue accent; accept and rely on the never-colour-only rule. Recommend accept: every tone already carries a symbol (ADR-0050's sparkles for accent), so the two are never told apart by colour alone.
  4. Row 101 — six Tailwind 500 steps among the fifteen lib/colorPresets.ts swatches, and a lime three revisions behind Studio's. Options: derive the palette from the token hues in OKLCH; keep it as user-facing data unrelated to chrome; drop the six. Recommend derive — a palette that agrees with nothing on the page is the finding.
  5. Row 79 — DisplayRulesEditor pairs two instant pickers with a TimezonePicker neither reads. Which the server honours is the question. Options: the schedule is an instant and the zone control goes; the schedule is a wall clock plus zone and the server converts. Recommend the instant, since that is what the pickers already store and what ADR-0150's bounds compare.
  6. Row 25 — the Skeleton shimmer may be too subtle to read as loading across all 102 placeholders. A judgement, not a measurement: the contrast between shimmer stops is a token choice. Options: widen the stop contrast one surface step; leave it. Recommend a measured look on a running stack before either.

And one to the close-out step, unchanged: git push origin :ref is refused with HTTP 403 on this account, for both the merged branch and the claim ref (#131, 2026-08-22 — the proxy is healthy and the creating pushes on the same token succeeded, so it is ref-deletion permission, not transport). The GitHub MCP server exposes create_branch and no delete. So claim refs accumulate: 31 were already on the remote before #131, every one of them for a PR that has long since merged. ROUTINE.md's "every listed claim ref is taken — skip it" therefore reads as every item is claimed, and the 3-hour staleness rule is what actually has to carry the protocol. Until someone with delete rights sweeps refs/heads/claim/* and refs/heads/claude/*, treat a claim ref with no open PR as stale on sight and re-claim over it; the ref-creation push is still atomic, so the race protection itself is intact.

Active

None.

Blockers

None.

Decisions

Method — read once, then trust the checklist

Eleven ADRs encode everything seventeen conversions learned. Per conversion, in order:

  1. Identify the real counterpart (ADR-0027/0029): same kind of control? More than one plausible Studio export? Decide from DESIGN.md, not the name. One export per field vs one per job (Input = Field + Input).
  2. Diff everything the consumer touches (ADR-0026): element, props, hook signatures. Count what is reachable, not what is declared.
  3. Types first — grep index.d.ts for the component; 8 of 8 converted so far were untyped. Write the type, prove it with deliberately wrong calls.
  4. Layer check by enumeration (ADR-0020/0023): every class and state the markup emits, against studio.components.css and the built app bundle — never studio.css or the preview page. npm run check:layer-completeness does the class half of this for you now (ADR-0042) and fails on any new name with no rule and no disposition — so what is left to you by hand is the states (:hover, :disabled, [data-*]), which it does not read.
  5. Container/context check (ADR-0022/0025/0028): what already draws this frame/background/focus where it lands? List the immediate container of every call site; walk up to the first clipping ancestor; check hover/focus states, not just resting.
  6. Delete app CSS same commit (ADR-0021): grep class names, count emitters, record survivals in the archive register.
  7. Verify by mutation before trusting any new test; assertions name exact selectors + declarations (substring checks lie). Fix accessible names on every control touched. Draw icons inline (ADR-0024). Run the ratchets and commit baseline arithmetic with reasons.

(End of the per-run read budget. Below is reference, not per-run reading.)

Files changed

Named per phase in the close-out and the pull requests it cites.

Verification

What was run and what it returned is recorded in the close-out and in evidence/.

Next actions

  1. Close-out sweeps — four of the five passes are closed, and the LEDGER drain's last named slice closed with row 130 on 2026-08-31. The table has no buildable row left (2026-09-02): the .btn family closed with row 37 (ADR-0158) and six gate rows were struck as closed by later work, and every row still open is an owner decision (the Blockers below, each with options and a recommendation) or a note for the next author (rows 68, 85, 95, 99, 109, 110, 123). The one verification debt, row 90's display-rules-server-data.spec.ts, was run on a live stack 2026-09-02, six of six (evidence .station/jobs/002-renaissance/evidence/display-rules-live-run-2026-09-02.md), and the whole live suite runs in this environment (ROUTINE.md shape notes): its first run was 63 of 96 and the suite's own login shape was the largest cause — closed (#588): global-setup logs the three seeded accounts in once, hygiene T4 holds it, and the run is 81 of 96 under default workers, 85 with the compose file's attempt budget the gate specs need. Of the eleven that remained, row 139's six closed the same day (#589 — the translator 005 made required, and a label anchored so the sidebar cannot answer for a field): 90 of 96. Row 141's public-card pair closed the same day (#590 — #581 had proxied /@ to the API on both tables, so the web origin served the crawler's JSON in place of the card page): 92 of 96; row 141's domains-drawer was the spec asking a SelectBox for a combobox (#592): 93 of 96; row 141's block-versioning was a save the live canvas had already made fresh — the spec now severs the stream (#593): 94 of 96, and row 141 is closed. LEDGER row 140, the zip upload answering 400, was the fixture — a signature over no archive, under a comment from before 010 — and closed the same day (#594, evidence .station/jobs/002-renaissance/evidence/stored-documents-zip-live-run-2026-09-02.md): the spec now asserts what 010 serves, 5 of 5 alone. The two that failed only beside the others, LEDGER row 143 — closed the same day (evidence .station/jobs/002-renaissance/evidence/parallel-live-run-2026-09-02.md): they were the dev stack's API budget spent under four workers and a 429 on the profile read that signed the browser out; the store now ends a session on 401 alone and the compose budget is measured. Row 144, the one race that run left, was the API's: the links listing counted and paged in two statements, and now reads both from one snapshot. The suite is 97 tests, 97 of 97 under four workers, and no row is a note for the next author but the six decisions. The residual behind the scoreboard, components/ui's last two domain components, moved up a level and the directory retired 2026-09-02 — the charter's three done conditions all hold (parity green at 0/0/0, the alias bridge empty since #140, no app file importing components/ui). The close-out itself — closed 2026-09-02: reports/CLOSE.md on 011's shape, every phase against its charter row, the six Blockers handed back with options and recommendations, nothing invented; README, this file and ROADMAP's row read DONE. The track is finished. A run arriving here takes a standing repair from ROADMAP.md if one is unblocked, and otherwise makes no change — do not manufacture a slice from a decision. No named drain remains: the emitter census's first run seeded scripts/emitter-ledger.json with 91 dead app classes (rows 60/89, ADR-0157) and five slices drained every one — the home canvas's explore mock family (91 → 57), base.css's type-scale, caption, stagger and two-tone-accent families (57 → 39), components.css's drawer/empty-state/progress chrome (39 → 28), the rest of components.css's residue (28 → 12), and the tail across patterns.css, shell.css and analytics.css (12 → 0). The ledger is empty and EM1 alone stands: the next emitterless class an app stylesheet gains fails the build. Do not re-open. The struck bullets are history, not work:
    • Table footers → Pagination — closed, all 20 hand-rolled footers converted (#126, #127, #128). .table-foot deleted. DirectoryPage's public pager is out of scope, do not re-open.
    • hand-rolled data-tables — closed, 30 converted over eight slices (#129–#131, #133–#136, #138) and 1 dispositioned out (ADR-0046). .small was never a density: it is font-size: 13px, which is what every converted table already writes per cell. AdminInvoicePage stays hand-rolled permanently — an invoice document with a <tfoot> total row, which no Studio table emits. .data-table and .table-scroll stay in styles/components.css as that one table's rules; .is-center is deleted. Do not re-open either.
    • hand-rolled empty states — closed, all four converted (#139): ProjectsPage, QrCodesPage, PixelsPage, PaymentProcessorsPage. All four land free-standing, no compact — the centred card each sat in was the second frame, not the first. WorkspacePage's is not one and stays — it says a personal workspace has no other members, which is not "no rows".
    • loading-idiom consistency — closed, eight slices (#142, #144, #146, #147, #149, #151, #152, #153): 21 pages converted, 1 dispositioned out. The principle it settled: the wait is drawn in the slot the content will occupy, never in front of the page — because a gate hides a branch stating a fact about a request that has not answered ("no rows", "no key", "not found", "nothing to withdraw"), and twice hid a write against unknown state (Preferences, QrCodeBuilder: a form on defaults with Save live). Skeleton.test.tsx's equality is now a closure, not a work-list: WorkspacePage alone, whose gate chooses which branch renders. Do not re-open; a page adopting the shape fresh fails that equality.
    • empty the token alias bridge in tokens.css — closed (#140), 24 aliases and 464 references gone, tokens.css is now the Studio import plus 8 genuinely app-level tokens; drain LEDGER.md — 14 rows struck so far (#141 struck the dead-CSS group; ADR-0046 the density row; rows 109 and 117 the preview-page staleness cluster, §10 and §11, now closed — both pages state the truth and ROADMAP's phase-03 box is [x]; row 74 gave the input family its own box-sizing; row 94 the reduced-motion opt-out; rows 103/104 struck as already closed by later work; rows 19/115 decided and closed — the :focus-visible radius came out of base.css, ADR-0049; rows 125 and 126 converted the same day — the fifth empty state and the three pages waiting as inline text). A named next slice does remain now: LEDGER row 130, the app's hand-rolled Select on an anchored listbox, the other half of the residual behind "0 awaiting conversion". Both of its blockers closed 2026-08-31: the SelectBox portal (row 18, ADR-0154) and the z-ladder (row 20 / item 5, ADR-0156), which put .menu and .lk-menu--anchored on one layer so a converted call site does not move. It is a sweep, one surface per PR, on the shape the loading-idiom and required-marker sweeps used, and the census is SelectSweep.test.tsx — the row's own "47 tags across 15 pages" was stale, the true opening count being 51, of which 5 are the editor's block inspector rather than a page. The AI surface landed first (#535) and account preferences second (#536), the admin theme editor third (#537), the domains drawer fourth (#538), the link detail page fifth (#539), the pixel drawer sixth (#540), the QR builder seventh (#541), the settings page eighth (#542), the TwiML tool ninth (#543), the workspace page tenth (#549) and the editor's block inspector eleventh (#550), 51 → 0 — the census is drained, and the twelfth slice, the retirement, closed the row on 2026-08-31: Select.tsx archived with its stories, the re-export now the conversion note, the field anatomy CSS gone (.field included — the preview cards were its last emitters), ZLadder.test.tsx on the hook as its own specimen.
      • nothing regenerates either preview page from parity/ledger.json — closed (#159, ADR-0047): the pages stay hand-written, but every component-named card tag is checked against the parity sources by check:preview-claims in verify. Lying cards fail the build.
  2. Phase 04 — Swift parity; widen the gate from component existence to variants/values. First slice landed (#160, ADR-0048): variantAxes in ledger.json + V-rules in the parity gate, two axes declared (Status.tone, EmptyState.variant) with the recorded drifts as planned gaps. Second slice landed: value parity (#164, ADR-0050) — V3/V4 compare the tokens a shared value spends through the mechanical .studioText3 = --text-3 bridge; Status.tone declares ink/fill and neutral's drift is the dispositioned row. Third slice landed: Card's param-backed axis (PR #165, ADR-0051) — swiftInit extracts Bool init parameters; Card declares flush, hover, selected, xl vs flush, with hover/selected as planned gaps the drift slice must delete and xl not-planned (the radius: parameter is the API). Fourth slice landed: Button's namespace (PR #166, ADR-0052) — enumerated as three APIs (variant, size="sm", IconButton), declared as-is with dispositions carrying the two non-variant names; no filter mechanism, deliberately. Drift raises, first of four landed: raise StudioTone (PR #167, no ADR — the planned rows decided it) — accent added (sparkles symbol for Banner's never-colour-only rule), neutral re-valued to --surface-3/--text-2; both stale rows deleted, V2/V4 forced them in the same commit and Status.tone now shows no drift. Second of four: give StudioEmptyState its variant (PR #168, no ADR) — compact: Bool = false init param, the ADR-0051 swiftInit mirror of React's own Bool prop; the axis flips from "swift": null to swiftInit, V2 fired on the stale row, EmptyState.variant now shows no drift. Third of four: raise StudioCard (no ADR) — hover: Bool = false, selected: Bool = false init params; hover is border-strong + raised shadow + 2pt rise, selected the accent line/soft swap that survives a hover lift, web's rules exactly. V2 fired on both stale rows before deletion; Card.variant now carries only xl not-planned. Fourth of four: raise StudioButtonVariant (PR #170, no ADR) — danger lands as ADR-0033's quiet counterpart to destructive (error ink, transparent fill, .lk-btn--danger's two declarations); V2 fired on the stale row. All four drift raises are landed: every declared axis shows no drift. The remaining gap rows (Card.xl, Button.sm/icon) are all not-planned dispositions — history, not work. No named phase-04 slice remains; widening to further axes is a new decision.
  3. Phase 03 — closed, do not re-open. Both promotions finished: the filter-row promotion at 27 of 27 enumerated sites (PRs #108–#110, #125), 0 hand-rolled filter strips and 0 raw filter selects left; the forms promotion (PRs #107, #111–#113, #116–#124), every hand-rolled <label> with a Studio counterpart now on Field. The <label className="small grep's residual 5 hits are permanently out of scope — file inputs (AdminTaxImport, AiTranscription, wired by <label for>), a result div, and labels wrapping checkboxes / range inputs / button-grid legends (QrCodeBuilder). None has a counterpart.

Source: .station/jobs/002-renaissance/SESSION.md

Library