Skip to content

experimental theme: reading basics, dial rungs, role colours and contrast notes - #12497

Closed
josephfarina wants to merge 36 commits into
mainfrom
theme-r15-p01
Closed

josephfarina wants to merge 36 commits into
mainfrom
theme-r15-p01

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary: experimental theme: reading basics, dial rungs, role colours and contrast notes. Mostly the experimental theme editor in packages/cli; also one stable astryx theme build warning (its own [fix] note). No spec record or official-theme change. No Core change: @astryxdesign/core is unchanged. The editor's icons keep their text's shade, as themePalette() gives them; the 3:1 icon rule moves to the Core look-family PR (the AST-008 owner reviews it there), so AST-008 FR19 parity holds.

Part 1 of 25 of round 15, landing as a stack: based on main; merge in order (the next part retargets onto main after this one merges).

What changes

  • experimental theme how: color names in two words, tan and paper; pure white is exact; a role color for warnings; calmer colors; Tailwind shadow sizes; lines between rows as a bottom border; a length before items as their height; a pill fill; a dialog's overlay said after it; big touch targets; a dark border; the no-command hint points at each result
  • experimental theme pictures: text a part cuts with an ellipsis when narrow gets the room it needs in the sheet's pictures
  • theme build: a part's variants written as a map of values to blocks get one warning at their line, naming the style keys that write them
  • experimental theme: how writes nothing for questions, sarcasm, hypotheticals, later-timed asks and unknown subjects; reads each item of a part's list as that part's look, other systems' part names, side corners and a later step of a sequence; set measures a button style over a primary fill
  • experimental theme pictures: sheet cells are never narrower than what they hold; the pages section draws the sample app whole, is cut between pages and named in the look line; a change removes pictures cut from a tall one
  • experimental theme: a placeholder that does not show gets a fix line in the theme's own gray
  • experimental theme: a part the base theme draws for a role in another family's color follows the theme's role color
  • fix(cli): a step past a dial's last rung names a line only where one setting does it, and a one-mode theme reads its own --mode as none
  • experimental theme how: a value no page could show is not written; the room between items is the gap of the part that holds them; a visited link has no state set can name; a selected tab's underline and a date picker's selected date; the joined answer paints the page with its frame and main panel; white text on the header goes to the mode it reads in; a weight word before a size word is a weight

Phrase rules

  • _how-question.mjs line delta: +852/-46.
  • Adds mood/feel phrase matches (round-15 grandfather; moved to the trait reader or dial help from round 16).

Test plan

  • Every commit here was gated in the round-15 integration branch: full Node suite with CI=1, the five cli typechecks, check-cli-structure, check:changesets, and the held-out how answer key (252 right, 0 wrong writes).
  • CI has not run on this head yet: a stacked part gets CI only once it targets main. Each head is also checked locally before that (typechecks, structure, its own test files, the held-out key), and any failure found only at this head is fixed in this PR.
  • Look gate (a Bootstrap-style site built from the top of this stack, live render): no new blocking finding vs main. The tab, pager and phone blocks are gone; only the theme's own white-on-pale label text remains, as that theme sets it.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 20, 2026 4:46am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 18, 2026
@astracat-bot

astracat-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟡 Reviewed (for maintainers only) Nov 20, 2026, 4:55 AM UTC

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 2eb579e

Storybook · Sandbox · built from this PR's head

Current run: Heavy CI deferred: runs when review passes and before merge. Lint, typecheck and any path-filtered checks ran on this push.


Generated by PR Enrichment workflow | View current CI run

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 9a015e4

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested: five problems raised earlier are still open, and the new [experimental] tag files two stable-command changes as experimental. An engineering owner has approved the direction of this round at this head, so these fixes are what remain before approval.

  • The changeset is now tagged [experimental] as a whole, so the next changelog lists the stable astryx theme build warning and the astryx-oklch-v2 tint change under "Experimental APIs", which the release spec (AST-017 FR22) reserves for experimental surfaces (.changeset/theme-round15-part-01.md:5); move those two items into their own [fix] changeset.
  • experimental theme editor how turns a color said on a status part into a role color and drops the status, so "red text on the info banner" writes red text on every banner status and "white text on success toasts" offers a color line for every toast (packages/cli/api/theme-edit/_how-question.mjs:4319-4326); rewrite only when no part follows the role word and the captured words are a color alone, and add those asks to the tests.
  • The line set offers past the top spacing rung scales Core's default control height instead of the base theme's, so on a matcha-based theme it offers --size-element-md 46px --on button where the top rung already draws 50px (packages/cli/api/theme-edit/_check.mjs:6202); start from the base theme's value that the dial scales and add a test on a 40px base.
  • The changeset says a dusty seed's astryx-oklch-v2 tints stay at or below its own chroma above shade 70, but the blend completes only at 85, so #66662e reaches chroma 0.103 at stop 75 against its own 0.078 (.changeset/theme-round15-part-01.md:66); say "from shade 85 up" or finish the blend by 75 and test that stop.
  • The pending .changeset/palette-recipe-v2.md still says every wide-gamut pale stop is drawn exactly as v1 draws it, which this change makes false for dusty seeds (for #66662e, stop 90 moves from #e7e8a5 to #e4e6c3), so amend that sentence in this pull request.
  • The description calls the change editor-only although astryx theme build warnings and the astryx-oklch-v2 output change too, and it lists a [light, dark] kept-answer change whose commit is empty, so correct those two lines.

Splitting the stable theme build and palette changes from the editor round would also give them their own release-note category.

Claims and files checked

Review mode: incremental; reason: none

  • Changed rules (0): none

Claims:

  • Changeset, the editor entry is tagged experimental (new): verified for the editor items; false for the astryx theme build and recipe-v2 items, which are stable (blocking)
  • Description, editor-only with no Core, spec record or official-theme change: false in part (no Core, record or shipped-theme change holds, but astryx theme build warnings and the astryx-oklch-v2 output change too)
  • Description, theme build judges [light, dark] pairs from a kept answer: false (its commit is empty; no file here does it)
  • Description, a look gate on the top of the stack found no new blocking finding: not checkable here (a run on another head)
  • Description, CI has not run on this head yet: partly true (the main CI workflow was refused for capacity and did not run; lint and the CLI smoke test passed)
  • Description, the how-question line delta is +803/-40: verified (numstat)
  • Description, mood and feel phrase matches added: verified (calm, calmer and cheerful rewrites in _how-question.mjs)
  • Description, every commit gated in the round's integration branch with a held-out answer key: not checkable here
  • Changeset, an unshowable value is not written and the answer gives the range: verified (outOfBounds; bounds-and-holders test)
  • Changeset, space between list items points to the list's gap; a visited link gets the no-visited-state answer: verified (bounds-and-holders test)
  • Changeset, a selected tab's underline and the date picker's selected date: verified (bounds-and-holders test)
  • Changeset, a page background in a longer ask also paints the frame and main panel: verified (bounds-and-holders, clause-scope, draws-modes and thin-headings tests)
  • Changeset, white header text goes to the mode it reads in, and no empty brackets: verified (bounds-and-holders and how tests)
  • Changeset, a weight word before a size word is a weight, and semibold instead of bold is one ask: verified (bounds-and-holders test)
  • Changeset, tag questions, state questions, dial questions, case-carried sarcasm, past hypotheticals, later-timed asks and an undo of an unset setting write nothing: verified (non-asks test); the emphasis gate also swallows sincere asks (non-blocking note)
  • Changeset, a later step after then decides the end: verified (non-asks test)
  • Changeset, no fill makes a badge see-through including its own filled variants: verified (variant-looks test)
  • Changeset, a screen named by what it shows is not that part; a first-letter difference is not a typo: verified (list-items and non-asks tests)
  • Changeset, no shadows after a part that draws none applies to the whole theme: verified (non-asks test)
  • Changeset, a button style no longer claims an exact plain-rule text color wins, and the primary label is measured on its fill: verified (buttons-style-over-exact test)
  • Changeset, list reading (unknown subject, other systems' part names, a line in a state, a text color word with its value, a calendar day, a state ending a with-item, label padding, side corners, a color with a shape, divided by, shadow-sm): verified (list-items test)
  • Changeset, real asks beside a question still write: verified (non-asks test)
  • Changeset, two-word color names, tan, paper, warm off-white, pure white, a role color for warnings, a typed value wins: verified (plain-words and how tests), but the role rewrite also takes a color said on a status part (blocking)
  • Changeset, calmer and cheerful change vibrancy: verified in code only (no test asserts it)
  • Changeset, the no-command hint points at each result: verified (_how.mjs)
  • Changeset, Tailwind shadows, row lines, menu item height, pill fill, overlay after a dialog, touch targets, a dark border: verified (plain-words test)
  • Changeset, past a dial's last rung a line only where one setting does it, and a one-mode theme's own mode reads as none: verified on a neutral base; on a 40px base the spacing line shrinks buttons (blocking)
  • Changeset, pictures give ellipsis-cut text the room it needs: verified (fit-cut-text test)
  • Changeset, sheet cells never narrower than their content, pages section whole and named, cut pictures removed on change: verified (sheet-cells-fit test)
  • Changeset, a role color reaches a base's other-family badge: verified (info-badge test)
  • Changeset, dusty seeds' v2 tints above shade 70 stay at or below the seed's chroma: false at stops 75 and 80 (blocking)
  • Changeset, the placeholder fix offers the theme's own gray: verified (placeholder test)
  • Changeset, role icons and status dots read at 3:1 nearer the fill: verified (status-dot test)
  • Changeset, theme build gives one warning for a variants map and the output is the same: verified (both trees build byte-identical CSS; three warnings before, one after)

Files:

  • .changeset/theme-round15-part-01.md: findings (the experimental tag over stable items; the v2 shade-70 claim)
  • packages/cli/api/theme-edit/_catalog.mjs: clear
  • packages/cli/api/theme-edit/_check.mjs: finding (past-rung spacing line from the wrong start size)
  • packages/cli/api/theme-edit/_context.mjs: clear
  • packages/cli/api/theme-edit/_edit.mjs: clear
  • packages/cli/api/theme-edit/_how-question.mjs: finding (role-color rewrite); non-blocking notes (emphasis gate, dead code, comments)
  • packages/cli/api/theme-edit/_how.mjs: clear
  • packages/cli/api/theme-edit/_palette.mjs: clear
  • packages/cli/api/theme-edit/_part-words.mjs: clear
  • packages/cli/api/theme-edit/_settings.mjs: clear
  • packages/cli/api/theme-edit/theme-build-variant-maps.test.mjs: non-blocking note (unused helpers)
  • packages/cli/api/theme-edit/theme-buttons-style-over-exact.test.mjs: clear
  • packages/cli/api/theme-edit/theme-edit-past-last-rung-and-own-mode.test.mjs: covers only a 32px base (see the past-rung finding)
  • packages/cli/api/theme-edit/theme-edit.test.mjs: clear
  • packages/cli/api/theme-edit/theme-how-bounds-and-holders.test.mjs: clear
  • packages/cli/api/theme-edit/theme-how-clause-scope.test.mjs: clear
  • packages/cli/api/theme-edit/theme-how-draws-modes-clearly-light.test.mjs: clear
  • packages/cli/api/theme-edit/theme-how-list-items.test.mjs: clear
  • packages/cli/api/theme-edit/theme-how-non-asks.test.mjs: clear
  • packages/cli/api/theme-edit/theme-how-plain-words.test.mjs: non-blocking note (the calm test asserts nothing about calm; the pill expectation waits for part 2)
  • packages/cli/api/theme-edit/theme-how-variant-looks.test.mjs: clear
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear
  • packages/cli/api/theme-edit/theme-info-badge-follows-info.test.mjs: non-blocking note (unused imports)
  • packages/cli/api/theme-edit/theme-mode-writes-change-token.test.mjs: clear
  • packages/cli/api/theme-edit/theme-pictures-agents-open-overlays.test.mjs: clear
  • packages/cli/api/theme-edit/theme-pictures-fit-cut-text.test.mjs: clear
  • packages/cli/api/theme-edit/theme-placeholder-fix-own-gray.test.mjs: clear
  • packages/cli/api/theme-edit/theme-readers-thin-headings-weight.test.mjs: clear
  • packages/cli/api/theme-edit/theme-sheet-cells-fit.test.mjs: clear
  • packages/cli/api/theme-edit/theme-sheet-cells.test.mjs: clear
  • packages/cli/api/theme-edit/theme-state-objects-mode-halves.test.mjs: clear
  • packages/cli/api/theme-edit/theme-states-picture.test.mjs: clear
  • packages/cli/api/theme-edit/theme-status-dot-graphic-contrast.test.mjs: non-blocking note (unused import)
  • packages/cli/api/theme/build/build.mjs: clear
  • packages/cli/api/theme/build/style-keys.mjs: non-blocking note (warning wording)
  • packages/cli/api/theme/palette/generate/generator.mjs: finding (the v2 release notes no longer match it)
  • packages/cli/api/theme/palette/generate/recipe-v2.test.mjs: checks stops 85 to 95 only (see the v2 finding)
  • packages/cli/foundation/render/picture-chrome.mjs: clear
  • packages/cli/foundation/render/picture-playwright.mjs: clear
  • packages/cli/foundation/render/picture-window.mjs: clear

Automated review (maintainer link)

Comment thread .changeset/theme-round15-part-01.md Resolved
Comment thread .changeset/theme-round15-part-01.md Resolved
Comment thread packages/cli/api/theme-edit/_check.mjs Resolved
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 4a11932

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested: four problems remain at this head. The stable astryx theme build warning now has its own release note and the palette tint change is out, which fixes three earlier findings, and an engineering owner has approved the direction of this round at this head.

  • experimental theme editor how turns a color said on a status part into a role color and drops the status, so "red text on the info banner" writes red text on every banner status and "white text on success toasts" offers a color line for every toast (packages/cli/api/theme-edit/_how-question.mjs:4319-4326); rewrite only when no part follows the role word and the captured words are a color alone, and add those asks to the tests.
  • The line set offers past the top spacing rung scales Core's default control height instead of the base theme's, so on a matcha-based theme it offers --size-element-md 46px --on button where the top rung already draws 50px (packages/cli/api/theme-edit/_check.mjs:6202); start from the base theme's value that the dial scales and add a test on a 40px base.
  • The description still lists a palette v2 tint change this head no longer makes, calls the round editor-only although one astryx theme build warning changes, and lists a [light, dark] kept-answer change whose commit is empty; correct those three lines.
  • Miss: show --png no longer cuts a tall family picture, because FIT_CELLS grows a cell to the sheet's full padded width and the new min-width:min-content cell rule lets MobileNav overflow, so cells run 36px past the sheet's edge and --section inputs writes one 1316×7943 picture where the base wrote five of at most 1883px (packages/cli/foundation/render/picture-window.mjs:113, packages/cli/api/theme-edit/_catalog.mjs:716); cap the growth at the room inside the cell, keep cells within the sheet, and test it with a padded sheet.

The sincere-emphasis gate, the warning's wording and a few dead lines are smaller notes in the review.

Claims and files checked

Review mode: full; reason: rebase

Claims:

  • Description, the palette v2 pale-tint change: false (this head no longer changes the palette generator) (blocking)
  • Description, editor-only with no Core, spec record or official-theme change: false in part (no Core, record or shipped-theme change holds, but one astryx theme build warning changes too) (blocking)
  • Description, theme build judges [light, dark] pairs from a kept answer: false (its commit is empty; no file here does it) (blocking)
  • Description, the how-question line delta is +803/-40: verified (file counts)
  • Description, mood and feel phrase matches added: verified (calm, calmer and cheerful rewrites in _how-question.mjs)
  • Description, every commit gated in the round's integration branch with a held-out answer key: not checkable here
  • Description, CI has not run on this head yet: outdated (CI started on this head after it was pushed; no check had failed at the last read)
  • Description, a look gate on the top of the stack found no new blocking finding: not checkable here (a run on another head)
  • Fix changeset, astryx theme build gives one warning naming the style keys instead of three, output unchanged: verified (variant-maps test; three warnings on the base; shipped theme CSS byte-identical)
  • Experimental changeset, an unshowable value is not written and the answer gives the range: verified (bounds-and-holders test)
  • Experimental changeset, space between list items points to the list's gap; a visited link gets the no-visited-state answer: verified (bounds-and-holders test)
  • Experimental changeset, a selected tab's underline and the date picker's selected date: verified (bounds-and-holders test)
  • Experimental changeset, a page background in a longer ask also paints the frame and main panel: verified (bounds-and-holders, clause-scope, draws-modes and thin-headings tests)
  • Experimental changeset, white header text goes to the mode it reads in, and no empty brackets: verified (bounds-and-holders and how tests)
  • Experimental changeset, a weight word before a size word is a weight, and semibold instead of bold is one ask: verified (bounds-and-holders test)
  • Experimental changeset, tag questions, state questions, dial questions, case-carried sarcasm, past hypotheticals, later-timed asks and an undo of an unset setting write nothing: verified (non-asks test); the emphasis gate also swallows sincere asks (non-blocking note)
  • Experimental changeset, a later step after then decides the end: verified (non-asks test)
  • Experimental changeset, no fill makes a badge see-through including its own filled variants: verified (variant-looks test)
  • Experimental changeset, a screen named by what it shows is not that part; a first-letter difference is not a typo: verified (list-items and non-asks tests)
  • Experimental changeset, no shadows after a part that draws none applies to the whole theme: verified (non-asks test)
  • Experimental changeset, a button style no longer claims an exact plain-rule text color wins, and the primary label is measured on its fill: verified (buttons-style-over-exact test)
  • Experimental changeset, list reading (unknown subject, other systems' part names, a line in a state, a text color word with its value, a calendar day, a state ending a with-item, label padding, side corners, a color with a shape, divided by, shadow-sm): verified (list-items test)
  • Experimental changeset, real asks beside a question still write: verified (non-asks test)
  • Experimental changeset, two-word color names, tan, paper, warm off-white, pure white, a role color for warnings, a typed value wins: verified (plain-words and how tests), but the role rewrite also takes a color said on a status part (blocking)
  • Experimental changeset, calmer and cheerful change vibrancy: verified in code only (no test asserts it; non-blocking note)
  • Experimental changeset, the no-command hint says each result explains why: verified (_how.mjs)
  • Experimental changeset, Tailwind shadow sizes, lines between rows, a length before items, a pill, a dialog overlay, big touch targets, a dark border: verified (plain-words test)
  • Experimental changeset, past the last rung an exact line only where one setting does it, and a one-mode theme reads its own --mode as none: verified on a neutral base (past-rung test), but the spacing line shrinks buttons on 40px bases (blocking)
  • Experimental changeset, sheet pictures give cut text the room it needs, cells are never narrower than their content, the pages section is drawn and named, cut pictures are removed: verified in part (tests pass and step names show whole), but grown and min-content cells overflow the sheet, so tall family pictures are no longer cut (blocking)
  • Experimental changeset, a role color reaches a part the base draws in another family's color: verified (info-badge test)
  • Experimental changeset, the placeholder fix offers the theme's own gray: verified (placeholder test)
  • Experimental changeset, role icons and status dots take the 3:1 shade nearest the fill: verified (status-dot test)

Files:

  • .changeset/theme-round15-part-01-fix.md: clear
  • .changeset/theme-round15-part-01.md: clear (editor items only)
  • packages/cli/api/theme-edit/_how-question.mjs: blocking (role-color rewrite, lines 4319-4326); non-blocking notes (emphasis gate, dead code, doubled rewrite and comment)
  • packages/cli/api/theme-edit/_check.mjs: blocking (past-rung spacing line, line 6202)
  • packages/cli/api/theme-edit/_settings.mjs: clear (its control-height dial is what finding 2 should reuse)
  • packages/cli/api/theme/build/style-keys.mjs: non-blocking (warning wording)
  • packages/cli/foundation/render/picture-window.mjs: blocking (FIT_CELLS cap, line 113)
  • packages/cli/api/theme-edit/_catalog.mjs: blocking (cell min-width:min-content, line 716)
  • packages/cli/api/theme-edit/theme-pictures-fit-cut-text.test.mjs: part of the cap finding (its sheet stand-in has no padding)
  • packages/cli/api/theme/build/build.mjs, _context.mjs, _edit.mjs, _how.mjs, _palette.mjs, _part-words.mjs, picture-chrome.mjs, picture-playwright.mjs: clear
  • theme-build-variant-maps.test.mjs, theme-info-badge-follows-info.test.mjs, theme-status-dot-graphic-contrast.test.mjs, theme-placeholder-fix-own-gray.test.mjs, theme-how-plain-words.test.mjs: non-blocking (unused imports, shared fixture prefix, calm untested)
  • The other 17 changed test files under packages/cli/api/theme-edit/: clear (all 23 changed test files pass at this head)

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 266cb8a

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested: one problem remains at this head. The four problems from the last review are fixed, the shipped themes build byte-identical CSS, and an engineering owner has approved this round's direction at this head.

  • The new refusal for a palette recipe this CLI does not know suggests astryx upgrade to "update the CLI", but that command migrates project code, installs nothing, and stops with Missing required --from when run as suggested (packages/cli/api/theme-edit/_palette.mjs:2001, repeated in .changeset/experimental-theme-palette-unknown-recipe.md); suggest installing the newer @astryxdesign/cli with the project's package manager instead, fix the release note, and test that the suggested line is an install command.

Smaller notes in the review: an all-caps intensifier now gates sincere asks such as "VERY rounded buttons", and the MobileNav cell runs past the sheet's right edge in the navigation pictures.

Claims and files checked

Review mode: full; reason: rebase

Claims:

  • Description, mostly the experimental theme editor plus one stable theme build warning with its own fix note, and no Core, spec record or official-theme change: verified (no Core or record file changes; the seven shipped theme stylesheets build byte-identical)
  • Description, the listed changes (how readers and no-write gates, picture layout, theme build warning, palette mapping, past-rung lines and own mode, placeholder fix, other-family role color): verified (changed tests pass; probes)
  • Description, the how-question line delta is +832/-40: verified (file counts)
  • Description, mood and feel phrase matches added: verified (calm and cheerful rewrites)
  • Description, every commit gated on an integration branch with a held-out answer key: not checkable here
  • Description, CI has not run on this head yet: out of date (CI is running on this head)
  • Description, a look gate on the top of the stack found no new blocking finding: not checkable here
  • Fix note, theme build gives one warning naming the style keys instead of three, output unchanged: verified (variant-map test; shipped CSS byte-identical)
  • Unknown palette recipe note, refused plainly with the recipe and CLI version named and the file left as it is: verified (unknown-recipe test); says to update the CLI with astryx upgrade: false, that command installs nothing and fails without --from (blocking)
  • Cells-in-sheet note, a cell grown for cut text stays inside the sheet so tall family pictures are cut again: verified (inputs cut into six pictures and navigation into four, all at the window's width)
  • Spacing note, past the top rung the offered height starts from the base theme's own height: verified (40px base and matcha tests)
  • Editor note, unshowable values, space between list items, visited links, selected tab underline, date picker day, page background with frame and main panel, white header text by mode, weight before size, semibold instead of bold: verified (bounds-and-holders and clause-scope tests; line height probe)
  • Editor note, tag questions, state questions, dial questions, emphasis sarcasm, past hypotheticals, later-timed asks and undo of an unset setting write nothing: verified (non-asks test; probes); the emphasis gate also swallows sincere asks (non-blocking)
  • Editor note, then-sequences, see-through badges, screens named by content, first-letter typos, no shadows after a focus ring, button style over an exact fill: verified (non-asks, variant-looks, list-items and button-style tests)
  • Editor note, list reading (unknown subject, other systems' part names, a line in a state, a text color word with its value, a calendar day, a with-item state, label padding, side corners, a color with a shape, divided by, shadow-sm): verified (list-items test)
  • Editor note, real asks beside a question still write: verified (non-asks test)
  • Editor note, two-word color names, tan, paper, warm off-white, pure white, a role color for warnings, a typed value wins: verified (plain-words test; probe)
  • Editor note, calmer and cheerful change vibrancy: verified in code only (no test asserts it)
  • Editor note, the no-command hint says each result explains why: verified (_how.mjs)
  • Editor note, Tailwind shadow sizes, lines between rows, a length before items, a pill, a dialog overlay, big touch targets, a dark border: verified (plain-words test)
  • Editor note, past the last rung an exact line only where one setting does it, and a one-mode theme reads its own --mode as none: verified (past-rung and mode tests)
  • Editor note, cut text gets room in the sheet pictures: verified (fit-cut-text and cells-in-sheet tests)
  • Editor note, cells never narrower than what they hold, the pages section drawn and named, cut pictures removed: verified (cells-fit test; pictures), though the MobileNav cell now runs past the sheet's edge (non-blocking)
  • Editor note, a role color reaches a part the base draws in another family's color: verified (info-badge test)
  • Editor note, the placeholder fix offers the theme's own gray: verified (placeholder test)
  • Editor note, role icons and status dots take the 3:1 shade nearest the fill: verified (status-dot test)

Files:

  • packages/cli/api/theme-edit/_palette.mjs: blocking (unknown-recipe suggestion, line 2001)
  • .changeset/experimental-theme-palette-unknown-recipe.md: blocking (repeats the suggestion)
  • packages/cli/api/theme-edit/theme-palette-unknown-recipe.test.mjs: part of the blocking finding (asserts the suggestion's text only)
  • packages/cli/api/theme-edit/_how-question.mjs: non-blocking (emphasis gate, dead and doubled lines)
  • packages/cli/api/theme-edit/_catalog.mjs: non-blocking (MobileNav cell overflow)
  • packages/cli/api/theme/build/style-keys.mjs: non-blocking (warning wording)
  • _check.mjs, _settings.mjs, _edit.mjs, _context.mjs, _how.mjs, _part-words.mjs, packages/cli/api/theme/build/build.mjs, picture-window.mjs, picture-chrome.mjs, picture-playwright.mjs: clear
  • The other four changesets: clear
  • The other 25 changed test files under packages/cli/api/theme-edit/: clear (all 26 changed test files pass at this head)

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 940fdfd

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not finished on this head yet, and the merge guard waits for it.

The last review's one problem is fixed: a palette recipe this CLI does not know is now refused with the project's own install line for the newest CLI (for example pnpm add @astryxdesign/cli@latest) instead of astryx upgrade, the release note says so, and the test checks it. An engineering owner has approved this round's direction at this head. Smaller notes stay in the review: an all-caps intensifier still gates sincere asks such as "VERY rounded buttons", and the MobileNav cell runs past the sheet's right edge in the navigation pictures.

Claims and files checked

Review mode: incremental; reason: none

Claims:

  • Description, mostly the experimental theme editor plus one stable theme build warning with its own fix note, and no Core, spec record or official-theme change: verified (no Core or record file changes; the shipped theme stylesheets are unchanged)
  • Description, the listed changes (how readers and no-write gates, picture layout, theme build warning, palette mapping, past-rung lines and own mode, placeholder fix, other-family role color): verified (changed tests pass)
  • Description, the how-question line delta is +832/-40: verified (file counts)
  • Description, mood and feel phrase matches added: verified (calm and cheerful rewrites)
  • Description, every commit gated on an integration branch with a held-out answer key: not checkable here
  • Description, CI has not run on this head yet: out of date (CI is running on this head)
  • Description, a look gate on the top of the stack found no new blocking finding: not checkable here
  • Fix note, theme build gives one warning naming the style keys instead of three, output unchanged: verified (variant-map test; shipped CSS unchanged)
  • Unknown palette recipe note, refused plainly with the recipe and CLI version named, the file left as it is, and the project's own install command for the newest CLI suggested: verified (unknown-recipe test; the refusal names pnpm add @astryxdesign/cli@latest in a pnpm project)
  • Cells-in-sheet note, a cell grown for cut text stays inside the sheet so tall family pictures are cut again: verified (cells-in-sheet test; tall pictures cut at the window's width)
  • Spacing note, past the top rung the offered height starts from the base theme's own height: verified (40px base and matcha tests)
  • Editor note, unshowable values, space between list items, visited links, selected tab underline, date picker day, page background with frame and main panel, white header text by mode, weight before size, semibold instead of bold: verified (bounds-and-holders and clause-scope tests)
  • Editor note, tag questions, state questions, dial questions, emphasis sarcasm, past hypotheticals, later-timed asks and undo of an unset setting write nothing: verified (non-asks test); the emphasis gate also swallows sincere asks (non-blocking)
  • Editor note, then-sequences, see-through badges, screens named by content, first-letter typos, no shadows after a focus ring, button style over an exact fill: verified (non-asks, variant-looks, list-items and button-style tests)
  • Editor note, list reading (unknown subject, other systems' part names, a line in a state, a text color word with its value, a calendar day, a with-item state, label padding, side corners, a color with a shape, divided by, shadow-sm): verified (list-items test)
  • Editor note, real asks beside a question still write: verified (non-asks test)
  • Editor note, two-word color names, tan, paper, warm off-white, pure white, a role color for warnings, a typed value wins: verified (plain-words test)
  • Editor note, calmer and cheerful change vibrancy: verified in code only (no test asserts it)
  • Editor note, the no-command hint says each result explains why: verified (_how.mjs)
  • Editor note, Tailwind shadow sizes, lines between rows, a length before items, a pill, a dialog overlay, big touch targets, a dark border: verified (plain-words test)
  • Editor note, past the last rung an exact line only where one setting does it, and a one-mode theme reads its own --mode as none: verified (past-rung and mode tests)
  • Editor note, cut text gets room in the sheet pictures: verified (fit-cut-text and cells-in-sheet tests)
  • Editor note, cells never narrower than what they hold, the pages section drawn and named, cut pictures removed: verified (cells-fit test), though the MobileNav cell runs past the sheet's edge (non-blocking)
  • Editor note, a role color reaches a part the base draws in another family's color: verified (info-badge test)
  • Editor note, the placeholder fix offers the theme's own gray: verified (placeholder test)
  • Editor note, role icons and status dots take the 3:1 shade nearest the fill: verified (status-dot test)

Files:

  • packages/cli/api/theme-edit/_palette.mjs: clear (the refusal now names the project's install line)
  • .changeset/experimental-theme-palette-unknown-recipe.md and theme-palette-unknown-recipe.test.mjs: clear
  • packages/cli/api/theme-edit/_how-question.mjs: non-blocking (emphasis gate, dead and doubled lines)
  • packages/cli/api/theme-edit/_catalog.mjs: non-blocking (MobileNav cell overflow)
  • packages/cli/api/theme/build/style-keys.mjs: non-blocking (warning wording)
  • _check.mjs, _settings.mjs, _edit.mjs, _context.mjs, _how.mjs, _part-words.mjs, packages/cli/api/theme/build/build.mjs, picture-window.mjs, picture-chrome.mjs, picture-playwright.mjs: clear
  • The other four changesets: clear
  • The other 25 changed test files under packages/cli/api/theme-edit/: clear

Automated review (maintainer link)

josephfarina added a commit that referenced this pull request Nov 19, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 1de048b

josephfarina added a commit that referenced this pull request Nov 20, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec a1471ed
Covers round 15 part 1's records under the owner's rulings: the stable themePalette() output is unchanged (AST-008 FR19 holds); the look-family derivations are editor-local; the 3:1 icon rule moves to the Core look-family pull request; the Core changesets say exactly what ships.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec a1471ed

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 5fc8b87
Covers round 15 part 1's records under the owner's rulings: the stable themePalette() output is unchanged (AST-008 FR19 holds); the look-family derivations are editor-local; the 3:1 icon rule moves to the Core look-family pull request; the Core changesets say exactly what ships.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 5fc8b87

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d69b4f4
Covers round 15 part 1's records under the owner's rulings: the stable themePalette() output is unchanged (AST-008 FR19 holds); the look-family derivations are editor-local; the 3:1 icon rule moves to the Core look-family pull request; the Core changesets say exactly what ships.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d69b4f4

josephfarina added a commit that referenced this pull request Nov 20, 2026
…idth change moves to its own follow-up, with the overlays picture as its test)
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 194b561
Covers round 15 part 1's records under the owner's rulings: the stable themePalette() output is unchanged (AST-008 FR19 holds); the look-family derivations are editor-local; the 3:1 icon rule moves to the Core look-family pull request; the Core changesets say exactly what ships.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 194b561

josephfarina added a commit that referenced this pull request Nov 20, 2026
…cut-text sizing moves to its own follow-up, with the overlays picture as its test) [skip ci]
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 4e2768e
Covers round 15 part 1's records under the owner's rulings: the stable themePalette() output is unchanged (AST-008 FR19 holds); the look-family derivations are editor-local; the 3:1 icon rule moves to the Core look-family pull request; the Core changesets say exactly what ships.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 4e2768e

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested for one description fix: an engineering owner's /approve-spec for this head settles the direction, and no code problem blocks.

  • The description's "What changes" list still names two sheet-picture changes (room for text cut with an ellipsis, and sheet cells never narrower than what they hold with the pages section) that this head's two commits revert to main's; delete those two bullets or say they move to the follow-up.

The non-blocking notes on the after that comment and the animationName advice in the variant-map warning stay on their threads. CI's Lint, typecheck and tests have not run on this head, whose commit skips CI; the changed tests pass locally.

Claims and files checked

Review mode: full; reason: history

  • Release note (unknown palette recipe): a recipe this CLI does not know is refused with the file left as it is; a newer CLI's recipe gets the same refusal and update step as theme palette generate; any other name is told to set recipe to a known one, named — verified (_palette.mjs:1553-1566, theme-palette-unknown-recipe.test.mjs)
  • Release note (theme build): one warning at its line for a variants map, naming the style keys, with the same output — verified (style-keys.mjs:508, build.mjs:5601, theme-build-variant-maps.test.mjs)
  • Release note: how leaves out values no page could show and reads list gaps, visited links, tab underlines, date-picker days, the page frame, header text by mode and weight words — verified (theme-how-bounds-and-holders.test.mjs)
  • Release note: how writes nothing for tag questions, state questions, dial questions, sarcasm, past hypotheticals, later-timed asks and an undo of an unset setting — verified (theme-how-non-asks.test.mjs)
  • Release note: a "then" sequence ends at its later step; no fill is see-through on every filled variant; screen names, first-letter typos, no shadows after a focus ring and the button style over an exact fill read as described — verified (theme-how-non-asks.test.mjs, theme-how-variant-looks.test.mjs, theme-how-list-items.test.mjs, theme-buttons-style-over-exact.test.mjs)
  • Release note: list items, other systems' part names, a line in its state, a text color with its value, the calendar day, a with-item state, a part label's padding, side corners, a color with a shape, "divided by" and Tailwind shadow names read as described — verified (theme-how-list-items.test.mjs)
  • Release note: real asks said next to a question still write — verified (theme-how-non-asks.test.mjs)
  • Release note: two-word color names, tan, paper, off-white, pure white, a warning role color, a typed value with a named color, calm and cheerful, the no-command hint, Tailwind shadows, row dividers and heights, pills, overlays, touch targets and dark borders read as described — verified (theme-how-plain-words.test.mjs, theme-how.test.mjs; _how-question.mjs:4363, :4429; _how.mjs:795)
  • Release note: set past a dial's last rung names a line only where one setting does it, measured from the base theme's own control height, and a one-mode theme reads its own --mode as none — verified (theme-edit-past-last-rung-and-own-mode.test.mjs, theme-spacing-past-top-base-height.test.mjs)
  • Release note: a role color reaches a part the base draws in another family's color — verified (_settings.mjs:5167, theme-info-badge-follows-info.test.mjs)
  • Release note: the placeholder fix line offers the theme's own gray — verified (_settings.mjs:11668, theme-placeholder-fix-own-gray.test.mjs)
  • Description: mostly the experimental editor, plus one stable theme build warning with its own fix note — verified
  • Description: no spec record or official-theme change — verified (no knowledge record or theme file among the changed files)
  • Description: no Core change, and the editor's icons keep their text's shade, so the palette spec's parity holds — verified (no file under packages/core or the CLI's palette copy changes)
  • Description: part 1 of a multi-part round, based on main — verified (base branch main; no stack declaration)
  • Description, What changes: how reads two-word colors, shadows, dividers, heights, pills, overlays, touch targets and dark borders, and the hint points at each result — verified
  • Description, What changes: sheet pictures give text cut with an ellipsis the room it needs — false (this head's last commit reverts it; no picture file is in the diff)
  • Description, What changes: theme build warns once per variant map — verified
  • Description, What changes: how writes nothing for non-asks and reads list items, part names, side corners and sequences; set measures a button style over a primary fill — verified
  • Description, What changes: sheet cells are never narrower than what they hold, the pages section is drawn and named, cut pictures are removed — false (this head's commits revert it to main's)
  • Description, What changes: the placeholder fix line in the theme's gray, and a role color reaching another family's part — verified
  • Description, What changes: past-last-rung lines and a one-mode theme's own --mode — verified
  • Description, What changes: values no page could show, gaps, visited links, tab underlines, date-picker days, the page frame, header text by mode, weight words — verified
  • Description: _how-question.mjs changes by +852/-46 lines — verified
  • Description: mood and feel phrase matches added — verified (calm and cheerful rewrites)
  • Description, test plan: CI has not run because a stacked part gets CI only once it targets main — the reason is false: it targets main, and CI did not run at this head because its commit skips CI (non-blocking)
  • Description, test plan: integration-branch gating, a held-out answer key and a look gate — not checkable from this pull request
  • File .changeset/experimental-theme-palette-unknown-recipe.md: clear
  • File .changeset/theme-round15-part-01-fix.md: clear
  • File .changeset/theme-round15-part-01.md: clear (the picture items are gone, matching the code)
  • File packages/cli/api/theme-edit/_check.mjs: clear
  • File packages/cli/api/theme-edit/_edit.mjs: clear
  • File packages/cli/api/theme-edit/_how-question.mjs: finding: the "after that" comment overstates the sequence rule, sincere emphasis gated, a stale comment, dead code and duplicate rewrites (non-blocking)
  • File packages/cli/api/theme-edit/_how.mjs: clear
  • File packages/cli/api/theme-edit/_palette.mjs: clear
  • File packages/cli/api/theme-edit/_part-words.mjs: clear
  • File packages/cli/api/theme-edit/_settings.mjs: clear
  • File packages/cli/api/theme-edit/theme-build-variant-maps.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-buttons-style-over-exact.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-edit-past-last-rung-and-own-mode.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how-bounds-and-holders.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how-clause-scope.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how-draws-modes-clearly-light.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how-list-items.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how-non-asks.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how-plain-words.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how-variant-looks.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-info-badge-follows-info.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-mode-writes-change-token.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-palette-unknown-recipe.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-placeholder-fix-own-gray.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-readers-thin-headings-weight.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-spacing-past-top-base-height.test.mjs: clear
  • File packages/cli/api/theme-edit/theme-state-objects-mode-halves.test.mjs: clear
  • File packages/cli/api/theme/build/build.mjs: clear
  • File packages/cli/api/theme/build/style-keys.mjs: finding: a plain-word map that is no variant (animationName: {from, to}) is advised as style keys, and the warning says the build writes what it leaves out (non-blocking)
  • File scripts/vitest-node-durations.json: clear (test-time data only; 381 values change, no key added or removed)

Automated review (maintainer link)

josephfarina added a commit that referenced this pull request Nov 20, 2026
- #12497 experimental theme: reading basics, dial rungs, role colours and contrast notes
  Author: @josephfarina
@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed in #13047.

This branch was successfully deployed

1 active deployment
Preview — 4e2768e6 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant