From 048b67b644d92a59de63cb0965f27d60e0ad9b03 Mon Sep 17 00:00:00 2001 From: bailey <74082460+bmjcoding@users.noreply.github.com> Date: Tue, 24 Nov 2026 06:53:15 -0600 Subject: [PATCH 1/3] README: the stages and runs parts (#127) and the versions and release notes (#128) Fourteen runtime exports had no row, so audit-fix-c3's 'every runtime export is named in the README' failed on main: StageMark, STAGE_WORDS, formatRunTime, RunTimer, StageBadge, StageList, StageRail, RunStage, RunTimeline, RunStep, RunAnnouncer, VersionLink, ReleaseNotes, ReleaseIndex. Each row says what the source's own notes and props say. No pixel changes. Co-Authored-By: Claude Opus 5.5 --- packages/react/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/packages/react/README.md b/packages/react/README.md index d5b9667d..eab5276d 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -545,6 +545,32 @@ import { ActivityList, ActivityStep, DisclosureRow, EventLogRule, Presence, Stre | `ActivityList`, `ActivityStep` | A sentence a step: `status` (`running`, `done`, `failed`, `waiting`), `word`, `meta`, `detail` (then the step is a disclosure row). | | `Presence`, `Elapsed`, `formatElapsed` | "Away 6 min": `status` (`active`, `away`, `offline`), `label`, `since`, `now`, `format`, `variant` (`plain` or `outline`). `Elapsed` is the length alone after any word; `formatElapsed` writes it (plain, safe on a server). | +## Stages and runs + +A run's stages, its steps and its one voice (DECISIONS 316; `docs/foundations.md`, "Stages and runs"). Seven states: `queued`, `running`, `success`, +`failed`, `skipped`, `canceled`, `retrying`. The state's word always carries the state; the mark never does alone. Basalt draws; the app owns the run. + +| Part | Notes | +|---|---| +| `StageMark` | One mark a state at 16, 20 or 24, `aria-hidden`, in a seat that never changes size: queued a circle that breathes by opacity, running and retrying the ring, passed `CheckCircle`, failed `XCircle` in danger, skipped `MinusCircle`, canceled `Prohibit`. A change of state crossfades in the one seat. | +| `STAGE_WORDS`, `formatRunTime(ms)` | The default word for each state, US English ("Queued", "Running", "Passed", "Failed", "Skipped", "Canceled", "Retrying"); the app may change any. `formatRunTime` returns `{ text, dateTime }`: "12.3 s" (tenths, cut and never rounded up), "12 min 34 s", "12 hr 34 min", with its ISO 8601 duration. Plain values a Server Component can read. | +| `RunTimer` | A run's time: tabular Geist Mono at `text-xs`, tertiary, a `time` element, never a live region. `start`, `end` (frozen at `end - start`), `carried` (earlier attempts, so a retry counts on), `since`, and `scale` (`seconds`, `minutes`, `hours`: the longest form its seat holds, so the column never moves). | +| `StageBadge` | A `Badge` bound to the seven states: `state`, `words`, `variant` (`outline` in a run's head, `plain` in a list or table), `size`. Its seat is as wide as its widest face, so a change in place moves nothing. | +| `StageList`, `StageRail`, `RunStage` | The same `RunStage` data drawn as a list (`label`, `timeScale`, `reserveDetail` to hold a failure's room from the first frame) or as a rail of two to six nodes on one line (five or six from 480 of its own width, drawn as the list under it). A `RunStage` is `name`, `state`, `word`, `meta`, its times, and a `detail` with an action (a failure's reason and Retry) that opens under a list's stage; focus is never dropped when it closes. | +| `RunTimeline`, `RunStep` | A run's own view: an append-only list of steps, a sentence each (`state` or `mark`, `word`, `meta`, times, `detail`, `action`). The newest `keep` steps stay in full; older finished steps roll into a tail that recedes a step a row, with a toggle above it that opens the whole record at full ink (`open`, `defaultOpen`, `onOpenChange`, `toggleLabel`). It follows new steps only while the reader is at its end. Nothing in it speaks. | +| `RunAnnouncer` | A run's one voice: a visually hidden polite `role="log"`, additions only: `label` and `events` (append-only, each `{ id, text }`). Each event is said once, in order; an `id` already said is quiet, and events present at mount are not said. Never `role="alert"`; it draws nothing. | + +## Versions and release notes + +A version is SemVer with its ship date, one link to the release notes (DECISIONS 320; `docs/foundations.md`, "Versions and release notes"). Nothing +marks a release as new, and there is no "What's new" item. + +| Part | Notes | +|---|---| +| `VersionLink` | "Version 1.4.0 ยท Nov 23, 2026" as one link: `version`, `date` (an ISO calendar date, never moved by a time zone), `href` ("/release-notes#v1.4.0"), `label` (default "Version"; a site's footer gives the product), `destinationLabel`, `current` (on the release notes: the number at 600, its width reserved), `locale`. Its place sets its form: the sidebar's foot, the number alone in the rail, the last row of More's sheet, after the legal line in a footer. | +| `ReleaseNotes` | A page of releases from their records: `releases`, `form` (`reference`, a package's changelog with its list open; `notes`, a product's, audience paragraphs first and the list in one fold), `product`, `running` and `runningBuild` (the release this session runs carries "Your version" and Build details), `baseHref`, `headingLevel`, `arrived` and `onArrivedEnd`, `words` (the page's fixed words, for another language), `locale`. Counts, order, folds and the "Action needed" callout come from the record. | +| `ReleaseIndex` | The versions as a `nav` ("Versions"): `releases`, `form` (`pane` for `PaneLayout`'s pane, `fold` for a closed fold above the first release where the pane is not beside the page), `label`, `unreleasedLabel`, `locale`. A page draws both forms; each shows only where it belongs. | + ## Writing to someone The composer, the mention and the mention picker (cimip-gaps-2, B3; decided and built by Opus on the no-council path, not yet reviewed). See foundations, "Writing to From 3ccfc1bda78f63cf722db4c46186d19bc0b836e8 Mon Sep 17 00:00:00 2001 From: bailey <74082460+bmjcoding@users.noreply.github.com> Date: Tue, 24 Nov 2026 06:53:18 -0600 Subject: [PATCH 2/3] audit-fix-c3: the shipped sheet is the source with its glyph masks written in (#130) #130 (05870c4e, then glyph-mask.mjs in 3d757aa7) made the build write %glyph-mask:name% as a data URI before minifying, and the test still minified the raw source, so it failed on main. The test now applies the same withGlyphMasks, proves the source still names a mask, and proves no placeholder reaches dist. sourceStyles() is still the sheet as written. No pixel changes. Co-Authored-By: Claude Opus 5.5 --- packages/react/test/audit-fix-c3.test.mjs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/react/test/audit-fix-c3.test.mjs b/packages/react/test/audit-fix-c3.test.mjs index 6d7fad79..85f6a778 100644 --- a/packages/react/test/audit-fix-c3.test.mjs +++ b/packages/react/test/audit-fix-c3.test.mjs @@ -9,6 +9,7 @@ import { pathToFileURL } from "node:url"; import * as esbuild from "esbuild"; import stylelint from "stylelint"; +import { withGlyphMasks } from "../glyph-mask.mjs"; import { minifyCss } from "../minify-css.mjs"; import { bundleFixture, bundleFixtureFromScratch, pkg, sourceStyles } from "./support.mjs"; @@ -18,12 +19,17 @@ const read = (...parts) => fs.readFileSync(path.join(...parts), "utf8"); // ---- A1-12: the shipped style sheets are the sources without their comments and whitespace ---- -test("styles.css and components.css are the sources with their comments and whitespace taken out, and nothing else", () => { +test("styles.css and components.css are the sources with their glyph masks written in and their comments and whitespace taken out, and nothing else", () => { const tokens = read(repo, "packages", "tokens", "dist", "css", "tokens.css"); - const components = `${read(pkg, "src", "styles", "components.css")}\n${read(repo, "packages", "tokens", "dist", "css", "accents.css")}`; + const accents = read(repo, "packages", "tokens", "dist", "css", "accents.css"); + const written = read(pkg, "src", "styles", "components.css"); + // `%glyph-mask:name%` is a core glyph's drawing as a data URI (glyph-mask.mjs), written in by the build before the sheet is minified (build.mjs). + const components = `${withGlyphMasks(written)}\n${accents}`; + assert.ok(/%glyph-mask:[\w-]+%/.test(written), "the source names a glyph mask (else this test no longer needs withGlyphMasks)"); assert.equal(read(dist, "styles.css"), minifyCss(`${tokens}\n${components}`)); assert.equal(read(dist, "components.css"), minifyCss(components)); - assert.equal(sourceStyles(), `${tokens}\n${components}`, "the helper the text tests read is the sheet as it was written"); + for (const name of ["styles.css", "components.css"]) assert.ok(!read(dist, name).includes("%glyph-mask:"), `${name} holds a glyph-mask placeholder`); + assert.equal(sourceStyles(), `${tokens}\n${written}\n${accents}`, "the helper the text tests read is the sheet as it was written"); for (const name of ["styles.css", "components.css"]) { const css = read(dist, name); assert.ok(!/\/\*(?!!)/.test(css), `${name} holds a comment`); From 77dac41ae2eccbb92be740495123c362cb12ae12 Mon Sep 17 00:00:00 2001 From: bailey <74082460+bmjcoding@users.noreply.github.com> Date: Tue, 24 Nov 2026 06:53:21 -0600 Subject: [PATCH 3/3] browser-floor: the diagram viewer's motion (#130) and the run connector's round() (#127) listed with why The package's CSS gained @starting-style and transition-behavior with the diagram viewer's native dialog (#130, a66e86f6): Firefox before 129 opens and closes it without the motion, so both are listed with that reason, as the skill's are. The skill's runs.css (#127, 64dff3c1) uses round() for the connector's inline start; the package's connectors (#127) use it too, under a row whose reason named only the badge dot. Both reasons now say what Chrome 123 and 124 draw (the connector at the row's start edge, 7px off the marks' centre line) and that a fix is the council's, as the existing row already said for the dot. No pixel changes; a known floor gap is recorded, not fixed. Co-Authored-By: Claude Opus 5.5 --- packages/react/test/browser-floor.test.mjs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/react/test/browser-floor.test.mjs b/packages/react/test/browser-floor.test.mjs index 2a5f16ff..8d3a47d7 100644 --- a/packages/react/test/browser-floor.test.mjs +++ b/packages/react/test/browser-floor.test.mjs @@ -56,16 +56,19 @@ const ALLOWED = { "prefers-reduced-transparency": "The query is the opaque fallback for the sticky header; a browser that does not evaluate it (Safari, Firefox) keeps the smoked header. Text on the bar holds 4.5:1 over any backdrop, so this is comfort and not legibility (foundations, Browser support).", "text-wrap: pretty": "A hint for the last line of a paragraph; a browser without it wraps as it always did.", "field-sizing": "The Composer's field grows with its text (cimip-gaps-2, B3). Where CSS.supports(\"field-sizing\", \"content\") is false (Safari before 26.2, Firefox), composer.tsx measures the field's scrollHeight and sets its height within the same rows, so it grows there too (foundations, Writing to someone).", - "the round(), mod() and rem() functions": "The plain badge's dot margin (components.css, .basalt-badge[data-variant=\"plain\"] > .basalt-badge-dot). Chrome 123 and 124 drop the declaration, so the dot sits in its seat to the half pixel and not on whole pixels. A fix changes a pixel, so it is the council's: found by this check, reported on the pull request that added it.", + "the round(), mod() and rem() functions": "The plain badge's dot margin (components.css, .basalt-badge[data-variant=\"plain\"] > .basalt-badge-dot), and the 1px connector's inline start in StageList, StageRail at five or six and RunTimeline (.basalt-run-stages, .basalt-run-rail, .basalt-run-steps: ::after). Chrome 123 and 124 drop the declaration, so the dot sits in its seat to the half pixel and not on whole pixels, and the connector, at `inset-inline-start: auto`, stands at the row's start edge and not on the marks' centre line, 7px from it. A fix changes a pixel, so it is the council's: found by this check, reported on the pull request that added it (the dot) and in the main-green report (the connector, #127).", + "@starting-style": "The diagram viewer's opening motion (components.css, dialog.basalt-dialog.basalt-diagram-viewer, a native modal dialog: DECISIONS 310). Firefox before 129 opens it with no animation, and it still opens.", + "transition-behavior (allow-discrete)": "The diagram viewer's closing motion, which transitions the dialog's and its backdrop's `display` and `overlay` (Firefox before 129). Without it the viewer closes at once, with no animation, and it still closes.", }; -/** The skill's own uses above its floor, with why: the three it shares with the package, and the two that are its alone. */ +/** The skill's own uses above its floor, with why: the three whose reason is the package's, and the skill's own reasons for the rest. */ const SKILL_ALLOWED = { "scrollbar-gutter": ALLOWED["scrollbar-gutter"], "prefers-reduced-transparency": ALLOWED["prefers-reduced-transparency"], "text-wrap: pretty": ALLOWED["text-wrap: pretty"], "@starting-style": "The opening motion of the dialog, the sheet, the popover and the select's list (Firefox before 129). Without it they appear with no animation, and they still open.", "transition-behavior (allow-discrete)": "The closing motion of the dialog, the popover and the select's list, which transitions `display` and `overlay` (Firefox before 129). Without it they close at once, with no animation, and they still close.", + "the round(), mod() and rem() functions": "The 1px connector's inline start in the runs module (runs.css, `--_cx` on .run-stages, .run-rail and .run-steps). Chrome 123 and 124 do not know round(), so the custom property is invalid where it is used and the connector, at `inset-inline-start: auto`, stands at the row's start edge and not on the marks' centre line, 7px from it. A fix changes a pixel, so it is the council's: found by this check, reported in the main-green report (#127).", }; const sheets = () => {