Skip to content

experimental theme how: per-side borders are read as said - #12511

Closed
josephfarina wants to merge 16 commits into
theme-r15-p14from
theme-r15-p15
Closed

josephfarina wants to merge 16 commits into
theme-r15-p14from
theme-r15-p15

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary: experimental theme how: per-side borders are read as said. Editor-only (experimental theme editor in packages/cli); no Core, spec record or official-theme change.

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

What changes

  • experimental theme how: per-side borders are read as said: colors one per side, several sides, a transparent side, and one side after a part's border

Phrase rules

  • _how-question.mjs line delta: +501/-35.
  • Adds no mood/feel phrase matches.

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.

Pre-existing (main does the same; follow-up): "cards border #dddddd white background" writes nothing: reading a border and a white fill from one comma-less clause is not done yet.

@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 1:06pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 20, 2026, 1:16 PM UTC

@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.

Approval waits on an engineering owner deciding how experimental theme editor how reads per-side border asks, and five fixes are needed.

No current spec record defines how how reads an ask, so an engineering owner records a decision on the four reading rules this pull request adds (colors written one per side as one border-color; a border on several sides, or none on them, written on each side said; a side said transparent drawn as a transparent line; a side's border after a part's border kept on that part) by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

Required fixes:

  • A padding list after a border loses a side: "cards with a #dddddd border, buttons padding top and bottom 8px" now writes only padding-top 8px, because the side-list join at _how-question.mjs:3306 looks back to the last ; for a border word instead of staying in its own clause.
  • A slightly see-through side becomes invisible: "inputs with a slightly transparent bottom border" now writes border-bottom '2px solid transparent' instead of the fainter border it got before, because the check at _how-question.mjs:21582 lets "slightly", "a bit" and "partly" through.
  • Per-side colors written before "border" lose the last color ("a #eee #eee #ddd border on cards" writes border-color '#eee #eee'), color functions such as the rgba example in the code comments never reach sideColorsIn, and the rule's only test already passes without this change.
  • The changeset says a border on several sides is "never only the first", but "cards with a #dddddd border on top, left and right" and "inputs with only a top and bottom border" still draw only the top, and "only a top and bottom border #999999" keeps the left and right borders.
  • The description says this part's CI runs on this exact head, but CI runs only for pull requests into main or release/**, and no workflow has run on this head.
Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: colors written one per side become one border color: partly false; "card border #eee #eee #ddd" works, "a #eee #eee #ddd border" drops the last color, color functions are not read, and the test passes without the change.
  • Claim: a border on several sides is written on each side, never only the first: partly false; comma lists after "with a … border" and "only" asks still miss sides.
  • Claim: a side said transparent is drawn as a transparent line, never a fill or a fainter border: verified by the new test (fails before, passes after); "slightly transparent" is now also drawn invisible.
  • Claim: a side's border after a part's border is that part's side: verified by the new test (fails before, passes after).
  • Claim: an experimental patch release note for the CLI: verified.
  • Claim: editor-only, no Core, spec record or official-theme change: verified (five files, all CLI tests, data or release note).
  • Claim: _how-question.mjs changes by +150/-9 lines: verified.
  • Claim: no mood or feel phrase matches are added: verified; the new patterns cover side words, border, edge and outline words, and "transparent" only.
  • Claim: every commit was gated in the integration branch (full suite, typechecks, structure and changeset checks, held-out answer key): not verifiable from this pull request; the related how and border tests (74) pass at this head.
  • Claim: this part's own CI runs on this exact head: false (fix 5).
  • Claim: the look gate found no new blocking finding: not verifiable from this pull request.
  • File .changeset/experimental-theme-how-border-sides.md: fix 4.
  • File packages/cli/api/theme-edit/_how-question.mjs: fixes 1 to 4.
  • File packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: fix 3 (the per-side color test passes without the change).
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • File scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

Owner decision (engineering owner, covering this pull request): the experimental theme editor's border readings in this pull request (colors given one per side written as one border-color, and a border on several sides, or none on them, written on each side) are experimental editor rules, approved as written. Each rule has a test, and the editor's answer names what it applied, so the user can see how their words were read.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec cf0c94d

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 002e10d

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec dade1a1

@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: the engineering-owner approval settles how experimental theme editor how reads per-side border asks, but six fixes are needed before this can be approved.

Required fixes:

  • A padding list in a sentence that names a border loses a side: "cards with a #dddddd border, buttons padding top and bottom 8px" now writes only padding-top 8px (the base also wrote padding-bottom 8px), because the side-list join at _how-question.mjs:3306 looks for a border word across the whole sentence instead of the list's own clause.
  • Miss: "make the header transparent on top of the hero" now writes border-top '1px solid transparent' on the header instead of the transparent fill the base wrote, because the side-line gate at _how-question.mjs:13935 now accepts transparent and sideOf reads "top" from "on top of".
  • A slightly see-through side becomes invisible: "inputs with a slightly transparent bottom border" now writes border-bottom '2px solid transparent' instead of the fainter border it got before, because the check at _how-question.mjs:21582 lets "slightly", "a bit" and "partly" through.
  • Miss: light per-side colors now apply in dark mode too: "card border #eee #eee #ddd" writes border-color '#eee #eee #ddd' for both modes, while "card border #eee" stays light-mode only to avoid a glaring edge, because the light-border guard cannot read the list of colors written at _how-question.mjs:21573.
  • Per-side colors written before "border" lose the last color ("a #eee #eee #ddd border on cards" writes border-color '#eee #eee'), color functions such as the rgba example in the code comments never reach sideColorsIn, and the rule's only test already passes without this change.
  • The changeset says a border on several sides is "never only the first", but "cards with a #dddddd border on top, left and right" and "inputs with only a top and bottom border" still draw only the top, and "inputs with only a top and bottom border #999999" keeps the left and right borders.

The four reading rules themselves are decided; each fix keeps them and adds its ask to the tests.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): colors written one per side become one border color with every side as written: partly false; "card border #eee #eee #ddd" works, "a #eee #eee #ddd border" drops the last color, color functions are not read, light runs reach dark mode, and the test passes without the change.
  • Claim (changeset): a border on several sides, or none on them, is written on each side said, never only the first: partly false; "top and sides" and "no border on the sides" work, comma lists after "with a … border" and "only" asks still miss sides.
  • Claim (changeset): a side said transparent is that side's line drawn see-through, never a fill or a fainter border: verified for "with transparent bottom" by the new test (fails before, passes after); "slightly transparent" and "transparent on top of" are now also drawn as transparent lines.
  • Claim (changeset): a side's border said after a part's border is that part's side: verified by the new test (fails before, passes after).
  • Claim (changeset): an experimental patch release note for the CLI: verified; the changeset check passes.
  • Claim: editor-only, with no Core, spec record or official-theme change: verified (five files, all CLI code, tests, data or release note).
  • Claim: this part lands as a stack on the previous part and merges in order: verified that the base is the previous part's branch.
  • Claim: _how-question.mjs changes by +150/-9 lines: verified.
  • Claim: no mood or feel phrase matches are added: verified; the new patterns cover side words, border, edge and outline words, and "transparent" only.
  • Claim: every commit was gated in the integration branch (full suite, typechecks, structure and changeset checks, held-out answer key): not verifiable from this pull request; at this head the structure and changeset checks pass, the new and related how and border tests (96) pass, and the strict CLI typecheck fails only on two unchanged page templates that need a built theme.
  • Claim: CI has not run on this head and runs once the part targets main: verified.
  • Claim: each head is checked locally and a failure found only at this head is fixed here: not verifiable from this pull request.
  • Claim: the look gate found no new blocking finding: not verifiable from this pull request.
  • File .changeset/experimental-theme-how-border-sides.md: fixes 5 and 6.
  • File packages/cli/api/theme-edit/_how-question.mjs: fixes 1 to 6.
  • File packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: fix 5 (the per-side color test passes without the change).
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • File scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 127f9d0

@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: the engineering-owner approval settles how experimental theme editor how reads per-side border asks, but six fixes are needed before this can be approved.

Required fixes:

  • A padding list in a sentence that names a border loses a side: "cards with a #dddddd border, buttons padding top and bottom 8px" now writes only padding-top 8px (the base also wrote padding-bottom 8px), because the side-list join at _how-question.mjs:3306 looks for a border word across the whole sentence instead of the list's own clause.
  • Miss: "make the header transparent on top of the hero" now writes border-top '1px solid transparent' on the header instead of the transparent fill the base wrote, because the side-line gate at _how-question.mjs:13935 now accepts transparent and sideOf reads "top" from "on top of".
  • A slightly see-through side becomes invisible: "inputs with a slightly transparent bottom border" now writes border-bottom '2px solid transparent' instead of the fainter border it got before, because the check at _how-question.mjs:21582 lets "slightly", "a bit" and "partly" through.
  • Miss: light per-side colors now apply in dark mode too: "card border #eee #eee #ddd" writes border-color '#eee #eee #ddd' for both modes, while "card border #eee" stays light-mode only to avoid a glaring edge, because the light-border guard cannot read the list of colors written at _how-question.mjs:21573.
  • Per-side colors written before "border" lose the last color ("a #eee #eee #ddd border on cards" writes border-color '#eee #eee'), color functions such as the rgba example in the code comments never reach sideColorsIn, and the rule's only test already passes without this change.
  • The changeset says a border on several sides is "never only the first", but "cards with a #dddddd border on top, left and right" and "inputs with only a top and bottom border" still draw only the top, and "inputs with only a top and bottom border #999999" keeps the left and right borders.

The four reading rules themselves are decided; each fix keeps them and adds its ask to the tests.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim (changeset): colors written one per side become one border color with every side as written: partly false; "card border #eee #eee #ddd" works, "a #eee #eee #ddd border" drops the last color, color functions are not read, light runs reach dark mode, and the test passes without the change.
  • Claim (changeset): a border on several sides, or none on them, is written on each side said, never only the first: partly false; "top and sides" and "no border on the sides" work, comma lists after "with a … border" and "only" asks still miss sides.
  • Claim (changeset): a side said transparent is that side's line drawn see-through, never a fill or a fainter border: verified for "with transparent bottom" by the new test (fails before, passes after); "slightly transparent" and "transparent on top of" are now also drawn as transparent lines.
  • Claim (changeset): a side's border said after a part's border is that part's side: verified by the new test (fails before, passes after).
  • Claim (changeset): an experimental patch release note for the CLI: verified; the changeset check passes.
  • Claim: editor-only, with no Core, spec record or official-theme change: verified (five files, all CLI code, tests, data or release note).
  • Claim: this part lands as a stack on the previous part and merges in order: verified that the base is the previous part's branch.
  • Claim: _how-question.mjs changes by +150/-9 lines: verified.
  • Claim: no mood or feel phrase matches are added: verified; the new patterns cover side words, border, edge and outline words, and "transparent" only.
  • Claim: every commit was gated in the integration branch (full suite, typechecks, structure and changeset checks, held-out answer key): not verifiable from this pull request; the structure and changeset checks pass, the new and related how and border tests (96) pass, and the strict CLI typecheck fails only on two unchanged page templates that need a built theme.
  • Claim: CI has not run on this head and runs once the part targets main: verified.
  • Claim: each head is checked locally and a failure found only at this head is fixed here: not verifiable from this pull request.
  • Claim: the look gate found no new blocking finding: not verifiable from this pull request.
  • File .changeset/experimental-theme-how-border-sides.md: fixes 5 and 6.
  • File packages/cli/api/theme-edit/_how-question.mjs: fixes 1 to 6.
  • File packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: fix 5 (the per-side color test passes without the change).
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • File scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d336426

@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.

This pull request needs an engineering owner's decision before it can be approved, and three fixes are needed.

Owner decision: no current spec record defines how the experimental how command reads an ask or when the experimental set command brings a border, so the seven reading rules this pull request adds (per-side color runs, several sides, a transparent side, a side after a part's border, padding side lists, a later shorthand first, and when set brings a border, including the one-mode exception for a button-group seam) wait on an engineering owner. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a group seam (_check.mjs:3688-3691), so no standalone button shows a line in either mode where the base drew a 1px line; bring the see-through border for the color's own mode and add a test that checks a built button's border.
  • Miss: per-side colors on cards without a width ("cards with a #eee #eee #ddd border") still draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3698, _how-question.mjs:22738-22747); bring the width and style for the looks that draw no line and add a test on a non-default card.
  • The description's "_how-question.mjs line delta: +501/-35" is stale, because the file changes by +503/-35.
Claims and files checked

Review mode: carry-forward; reason: none

  • Claim (release note): colors written one per side, as hex, rgb() or hsl(), with or without a width, become one border-color: verified by tests and before/after runs.
  • Claim (release note): such a run is light-mode only when a side is light, as one light border is: false for buttons and for card looks that draw no border (first and second blocking findings); verified for tabs and inputs.
  • Claim (release note): with a width or style on a part whose looks draw no border, the colors go to both modes and the answer gives their contrast on the dark page: verified for buttons, secondary buttons and cards.
  • Claim (release note): a border said on several sides is written on each side said: verified by tests for every listed phrasing.
  • Claim (release note): a side said transparent is drawn see-through, a graded one stays fainter, and "on top of" stays a place: verified by tests.
  • Claim (release note): one side's border said after a part's border is that part's side: verified by a test.
  • Claim (release note): each such answer says what it read: verified by tests.
  • Claim (description): editor-only, with no Core, spec record or official-theme change: verified from the changed files.
  • Claim (description): a stacked part based on the previous part: verified from the base branch.
  • Claim (description): per-side borders are read as said: verified; padding side lists, shorthand ordering and the set border rule also change, which the description leaves out without misstating anything.
  • Claim (description): the reader module's line delta: false (third blocking finding).
  • Claim (description): no mood or feel phrase matches added: verified.
  • Claim (description): the commits passed an integration branch's suite, a held-out answer key and a look check: not verifiable from the repository; the affected test files pass on this patch.
  • Claim (description): CI has not run at this head: verified.
  • Claim (description): "cards border #dddddd white background" still writes nothing, as before: verified on the base and the head.
  • File .changeset/experimental-theme-how-border-sides.md: first and second blocking findings (the light-run claim).
  • File packages/cli/api/theme-edit/_check.mjs: first and second blocking findings.
  • File packages/cli/api/theme-edit/_how-question.mjs: second blocking finding.
  • File packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: first blocking finding (its new case locks in the one-mode seam rule).
  • File packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear; no case checks the line a built theme draws on buttons or a non-default card.
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • File scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

This pull request needs an engineering owner's decision before it can be approved, and three fixes are needed.

Owner decision: no current spec record defines how the experimental how command reads an ask or when the experimental set command brings a border, so the seven reading rules this pull request adds (per-side color runs, several sides, a transparent side, a side after a part's border, padding side lists, a later shorthand first, and when set brings a border, including the one-mode exception for a button-group seam) wait on an engineering owner. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line; bring the see-through border for the color's own mode and add a test that checks a built button's border.
  • Miss: per-side colors on cards without a width ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") still draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3698, _how-question.mjs:22582-22589); bring the width and style for the looks that draw no line and add a test on a non-default card.
  • The description's "_how-question.mjs line delta: +501/-35" is stale, because the file changes by +503/-35.
Claims and files checked

Review mode: full; reason: rebase

  • Claim (release note): colors written one per side, as hex, rgb() or hsl(), with or without a width, become one border-color: verified by tests and before/after runs.
  • Claim (release note): such a run is light-mode only when a side is light, as one light border is: false for buttons and for card looks that draw no border (first and second blocking findings); verified for tabs and inputs.
  • Claim (release note): with a width or style on a part whose looks draw no border, the colors go to both modes and the answer gives their contrast on the dark page: verified for buttons, secondary buttons and cards.
  • Claim (release note): a border said on several sides is written on each side said: verified by tests for every listed phrasing.
  • Claim (release note): a side said transparent is drawn see-through, a graded one stays fainter, and "on top of" stays a place: verified by tests.
  • Claim (release note): one side's border said after a part's border is that part's side: verified by a test and a before/after run.
  • Claim (release note): each such answer says what it read: verified by tests.
  • Claim (description): editor-only, with no Core, spec record or official-theme change: verified from the changed files.
  • Claim (description): a stacked part based on the previous part: verified from the base branch.
  • Claim (description): per-side borders are read as said: verified; padding side lists, shorthand ordering and the set border rule also change, which the description leaves out without misstating anything.
  • Claim (description): the reader module's line delta: false (third blocking finding).
  • Claim (description): no mood or feel phrase matches added: verified.
  • Claim (description): the commits passed an integration branch's suite, typechecks, structure and changeset checks, a held-out answer key and a look check: not verifiable as stated; on this head the affected tests, the structure check, lint and the changeset check pass.
  • Claim (description): CI has not run at this head: verified.
  • Claim (description): "cards border #dddddd white background" still writes nothing, as before: verified on the base and the head.
  • File .changeset/experimental-theme-how-border-sides.md: first and second blocking findings (the light-run claim).
  • File packages/cli/api/theme-edit/_check.mjs: first and second blocking findings.
  • File packages/cli/api/theme-edit/_how-question.mjs: second blocking finding.
  • File packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: first blocking finding (its new case locks in the one-mode seam rule).
  • File packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear; no case checks the line a built theme draws on buttons or a non-default card.
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • File scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

This pull request needs an engineering owner's decision before it can be approved, and three fixes are needed.

Owner decision: no current spec record defines how the experimental how command reads an ask or when the experimental set command brings a border, so the seven reading rules this pull request adds (per-side color runs, several sides, a transparent side, a side after a part's border, padding side lists, a later shorthand first, and when set brings a border, including the one-mode exception for a button-group seam) wait on an engineering owner. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line; bring the see-through border for the color's own mode and add a test that checks a built button's border.
  • Miss: per-side colors on cards without a width ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") still draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3698, _how-question.mjs:22645-22652); bring the width and style for the looks that draw no line and add a test on a non-default card.
  • The description's "_how-question.mjs line delta: +501/-35" is stale, because the file changes by +503/-35.
Claims and files checked

Review mode: full; reason: rebase

  • Claim (release note): colors written one per side, as hex, rgb() or hsl(), with or without a width, become one border-color: verified by tests and before/after runs.
  • Claim (release note): such a run is light-mode only when a side is light, as one light border is: false for buttons and for card looks that draw no border (first and second blocking findings); verified for tabs and inputs.
  • Claim (release note): with a width or style on a part whose looks draw no border, the colors go to both modes and the answer gives their contrast on the dark page: verified for buttons, secondary buttons and cards.
  • Claim (release note): a border said on several sides is written on each side said: verified by tests for every listed phrasing.
  • Claim (release note): a side said transparent is drawn see-through, a graded one stays fainter, and "on top of" stays a place: verified by tests.
  • Claim (release note): one side's border said after a part's border is that part's side: verified by a test and a before/after run.
  • Claim (release note): each such answer says what it read: verified by tests.
  • Claim (description): editor-only, with no Core, spec record or official-theme change: verified from the changed files.
  • Claim (description): a stacked part based on the previous part: verified from the base branch.
  • Claim (description): per-side borders are read as said: verified; padding side lists, shorthand ordering and the set border rule also change, which the description leaves out without misstating anything.
  • Claim (description): the reader module's line delta: false (third blocking finding).
  • Claim (description): no mood or feel phrase matches added: verified.
  • Claim (description): the commits passed an integration branch's suite, typechecks, structure and changeset checks, a held-out answer key and a look check: not verifiable as stated; on this head the affected tests, the structure check, lint and the changeset check pass.
  • Claim (description): CI has not run at this head: verified.
  • Claim (description): "cards border #dddddd white background" still writes nothing, as before: verified on the base and the head.
  • File .changeset/experimental-theme-how-border-sides.md: first and second blocking findings (the light-run claim).
  • File packages/cli/api/theme-edit/_check.mjs: first and second blocking findings.
  • File packages/cli/api/theme-edit/_how-question.mjs: second blocking finding.
  • File packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: first blocking finding (its new case locks in the one-mode seam rule).
  • File packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear; no case checks the line a built theme draws on buttons or a non-default card.
  • File packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • File scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision about the editor's reading rules, and three fixes are needed.

No current spec record defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven reading rules here (per-side color runs, several sides, a see-through side, a side after a part's border, padding side lists, a later shorthand written first, and set's border for a look that draws no line) need an engineering owner to record the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew 1px solid light-dark(#eee, var(--color-border)).
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") check only the default card look (_how-question.mjs:22625-22632, _check.mjs:3686-3698), so muted, transparent and tinted cards, which Core draws without a border, show no line where the base drew 1px on every card.
  • The description's "_how-question.mjs line delta: +501/-35" should read +503/-35.

A test that builds the theme and checks the rendered border of a standalone button and a non-default card would hold the first two fixes.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: two to four colors (hex, rgb(), hsl(), with a width or not) become one border-color with every side as written: verified (border-sides tests, base and head output).
  • Changeset: such a run is light-mode only when a side is light, as one light border is: false for buttons and non-default cards, where it draws no line (fixes 1 and 2).
  • Changeset: with a width or style on a part whose looks draw no border, the colors go to both modes with their dark-page contrast: verified (tests for buttons, secondary buttons and cards with a width).
  • Changeset: a border, or none, said on several sides is written on each side said: verified (several-side and comma-list tests).
  • Changeset: a side said transparent is drawn see-through, a graded one stays fainter, and "on top of" stays a place: verified (tests).
  • Changeset: a side's border said after a part's border binds to that part: verified (test, base and head output).
  • Changeset: each answer says what it read: verified (answer text checked in the tests).
  • Description: editor-only, with no Core, spec record or official-theme change: verified (seven changed files).
  • Description: the _how-question.mjs line delta is +501/-35: false (+503/-35, fix 3).
  • Description: adds no mood or feel phrase matches: verified (no such words in the added lines).
  • Description: CI has not run on this head: verified (no workflow runs).
  • Description: the integration-branch gate, the held-out answer key and the look gate: not checkable from the repository.
  • Description: "cards border #dddddd white background" writes nothing on the base and the head: verified.
  • .changeset/experimental-theme-how-border-sides.md: light-only claim false for buttons and cards (fixes 1 and 2).
  • packages/cli/api/theme-edit/_check.mjs: fix 1 (:3688-3691) and fix 2 (:3686-3698).
  • packages/cli/api/theme-edit/_how-question.mjs: fix 2 (:22625-22632); the rest clear.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear; it pins the missing border of fix 1 as expected.
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear; it asserts the how lines, not the rendered border.
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision about the editor's reading rules, and three fixes are needed.

No current spec record defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven reading rules here (per-side color runs, several sides, a see-through side, a side after a part's border, padding side lists, a later shorthand written first, and set's border for a look that draws no line) need an engineering owner to record the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew 1px solid light-dark(#eee, var(--color-border)).
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") check only the default card look (_how-question.mjs:22665-22672, _check.mjs:3686-3698), so muted, transparent and tinted cards, which Core draws without a border, show no line where the base drew 1px on every card.
  • The description's "_how-question.mjs line delta: +501/-35" should read +503/-35.

A test that builds the theme and checks the rendered border of a standalone button and a non-default card would hold the first two fixes.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: two to four colors (hex, rgb(), hsl(), with a width or not) become one border-color with every side as written: verified (border-sides tests, base and head output).
  • Changeset: such a run is light-mode only when a side is light, as one light border is: false for buttons and non-default cards, where it draws no line (fixes 1 and 2).
  • Changeset: with a width or style on a part whose looks draw no border, the colors go to both modes with their dark-page contrast: verified (tests for buttons, secondary buttons and cards with a width).
  • Changeset: a border, or none, said on several sides is written on each side said: verified (several-side and comma-list tests).
  • Changeset: a side said transparent is drawn see-through, a graded one stays fainter, and "on top of" stays a place: verified (tests).
  • Changeset: a side's border said after a part's border binds to that part: verified (test, base and head output).
  • Changeset: each answer says what it read: verified (answer text checked in the tests).
  • Description: editor-only, with no Core, spec record or official-theme change: verified (seven changed files).
  • Description: the _how-question.mjs line delta is +501/-35: false (+503/-35, fix 3).
  • Description: adds no mood or feel phrase matches: verified (no such words in the added lines).
  • Description: CI has not run on this head: verified (no workflow runs).
  • Description: the integration-branch gate, the held-out answer key and the look gate: not checkable from the repository.
  • Description: "cards border #dddddd white background" writes nothing on the base and the head: verified.
  • .changeset/experimental-theme-how-border-sides.md: light-only claim false for buttons and cards (fixes 1 and 2).
  • packages/cli/api/theme-edit/_check.mjs: fix 1 (:3688-3691) and fix 2 (:3686-3698).
  • packages/cli/api/theme-edit/_how-question.mjs: fix 2 (:22665-22672); the rest clear.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear; it pins the missing border of fix 1 as expected.
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear; it asserts the how lines, not the rendered border.
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear; the two long-ask quarters that fail at this head fail the same way on the base branch.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on the experimental how and set reading rules, and three fixes are needed.

An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. No current spec defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven rules (per-side color runs and their modes, several sides, a transparent side, a side after a part's border, padding side lists, a later shorthand written first, and when set brings a see-through border) need that decision for this head.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line.
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3697, _how-question.mjs:22676-22683), so muted, transparent and tinted cards lose the line the base drew.
  • The description's _how-question.mjs line delta reads +501/-35, but the file changes by +503/-35.

Bringing the see-through border for the color's own mode on seam-only looks, and the width and style for card looks that draw none, with tests that check a built button and a non-default card, would clear the first two.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: colors written one per side are one border-color with every side as written: verified (tests and probe).
  • Changeset: light-mode only when any side is light, "as one light border is": false for buttons (first finding).
  • Changeset: both modes, with the dark-page contrast, when a width or style lands on looks that draw no border: verified (2px and dashed asks).
  • Changeset: a border said on several sides, or none on them, is written on each side said: verified.
  • Changeset: a side said transparent is drawn see-through; a graded one stays a fainter border; "on top of" stays a place: verified.
  • Changeset: one side's border after a part's border is that part's side: verified.
  • Changeset: each answer says what it read: verified.
  • Description: editor-only, with no Core, spec record or official-theme change: verified (seven changed files, all in the CLI, its tests, one changeset and the test durations).
  • Description: _how-question.mjs line delta +501/-35: false (+503/-35).
  • Description: adds no mood or feel phrase matches: verified.
  • Description: "cards border #dddddd white background" writes nothing, as before: verified on the base and the head.
  • Description: integration-branch gates and the look gate: not checkable from the repository.
  • .changeset/experimental-theme-how-border-sides.md: first finding (wording).
  • packages/cli/api/theme-edit/_check.mjs: first and second findings.
  • packages/cli/api/theme-edit/_how-question.mjs: first and second findings.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear (no built-border check).
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on the experimental how and set reading rules, and three fixes are needed.

An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. No current spec defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven rules (per-side color runs and their modes, several sides, a transparent side, a side after a part's border, padding side lists, a later shorthand written first, and when set brings a see-through border) need that decision for this head.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line.
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3697, _how-question.mjs:22676-22683), so muted, transparent and tinted cards lose the line the base drew.
  • The description's _how-question.mjs line delta reads +501/-35, but the file changes by +503/-35.

Bringing the see-through border for the color's own mode on seam-only looks, and the width and style for card looks that draw none, with tests that check a built button and a non-default card, would clear the first two.

Claims and files checked

Review mode: carry-forward; reason: none

  • Changeset: colors written one per side are one border-color with every side as written: verified (tests and probe).
  • Changeset: light-mode only when any side is light, "as one light border is": false for buttons (first finding).
  • Changeset: both modes, with the dark-page contrast, when a width or style lands on looks that draw no border: verified (2px and dashed asks).
  • Changeset: a border said on several sides, or none on them, is written on each side said: verified.
  • Changeset: a side said transparent is drawn see-through; a graded one stays a fainter border; "on top of" stays a place: verified.
  • Changeset: one side's border after a part's border is that part's side: verified.
  • Changeset: each answer says what it read: verified.
  • Description: editor-only, with no Core, spec record or official-theme change: verified (seven changed files, all in the CLI, its tests, one changeset and the test durations).
  • Description: _how-question.mjs line delta +501/-35: false (+503/-35).
  • Description: adds no mood or feel phrase matches: verified.
  • Description: "cards border #dddddd white background" writes nothing, as before: verified on the base and the head.
  • Description: integration-branch gates and the look gate: not checkable from the repository.
  • .changeset/experimental-theme-how-border-sides.md: first finding (wording).
  • packages/cli/api/theme-edit/_check.mjs: first and second findings.
  • packages/cli/api/theme-edit/_how-question.mjs: first and second findings.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear (no built-border check).
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on the experimental how and set reading rules, and three fixes are needed.

An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. No current spec defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven rules (per-side color runs and their modes, several sides, a transparent side, a side after a part's border, padding side lists, a later shorthand written first, and when set brings a see-through border) need that decision for this head.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line.
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3697, _how-question.mjs:22690-22698), so muted, transparent and tinted cards lose the line the base drew.
  • The description's _how-question.mjs line delta reads +501/-35, but the file changes by +508/-35.

Bringing the see-through border for the color's own mode on seam-only looks, and the width and style for card looks that draw none, with tests that check a built button and a non-default card, would clear the first two.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: colors written one per side are one border-color with every side as written: verified (tests and probe).
  • Changeset: light-mode only when any side is light, "as one light border is": false for buttons (first finding).
  • Changeset: both modes, with the dark-page contrast, when a width or style lands on looks that draw no border: verified (2px and dashed asks).
  • Changeset: a border said on several sides, or none on them, is written on each side said: verified.
  • Changeset: a side said transparent is drawn see-through; a graded one stays a fainter border; "on top of" stays a place: verified.
  • Changeset: one side's border after a part's border is that part's side: verified.
  • Changeset: each answer says what it read: verified.
  • Description: editor-only, with no Core, spec record or official-theme change: verified (seven changed files, all in the CLI, its tests, one changeset and the test durations).
  • Description: _how-question.mjs line delta +501/-35: false (+508/-35).
  • Description: adds no mood or feel phrase matches: verified.
  • Description: CI has not run on this head yet: verified (no workflow runs).
  • Description: "cards border #dddddd white background" writes nothing, as before: verified on the base and the head.
  • Description: integration-branch gates and the look gate: not checkable from the repository.
  • .changeset/experimental-theme-how-border-sides.md: first finding (wording).
  • packages/cli/api/theme-edit/_check.mjs: first and second findings.
  • packages/cli/api/theme-edit/_how-question.mjs: first and second findings.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear (no built-border check).
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on the experimental how and set reading rules, and three fixes are needed.

An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. No current spec defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven rules (per-side color runs and their modes, several sides, a transparent side, including "cards: transparent bottom border", whose base-branch test this head rewrites from a fainter border to a see-through bottom, a side after a part's border, padding side lists, a later shorthand written first, and when set brings a see-through border) need that decision for this head.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line.
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3697, _how-question.mjs:22691-22700), so muted, transparent and tinted cards lose the line the base drew.
  • The description's _how-question.mjs line delta reads +501/-35, but the file changes by +508/-35.

Bringing the see-through border for the color's own mode on seam-only looks, and the width and style for card looks that draw none, with tests that check a built button and a non-default card, would clear the first two.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: colors written one per side are one border-color with every side as written: verified (tests and probe).
  • Changeset: light-mode only when any side is light, "as one light border is": false for buttons (first finding).
  • Changeset: both modes, with the dark-page contrast, when a width or style lands on looks that draw no border: verified (2px and dashed asks).
  • Changeset: a border said on several sides, or none on them, is written on each side said: verified.
  • Changeset: a side said transparent is drawn see-through; a graded one stays a fainter border; "on top of" stays a place: verified.
  • Changeset: one side's border after a part's border is that part's side: verified.
  • Changeset: each answer says what it read: verified.
  • Description: editor-only, with no Core, spec record or official-theme change: verified (eight changed files, all in the CLI, its tests, one changeset and the test durations).
  • Description: based on the previous part's branch, merged in order: verified (base branch).
  • Description: _how-question.mjs line delta +501/-35: false (+508/-35).
  • Description: adds no mood or feel phrase matches: verified.
  • Description: CI has not run on this head yet: verified (no workflow runs).
  • Description: its own test files pass at this head: verified (four touched test files, 161 tests).
  • Description: "cards border #dddddd white background" writes nothing, as before: verified on the base and the head.
  • Description: integration-branch gates, typechecks and the look gate: not checkable from the repository.
  • .changeset/experimental-theme-how-border-sides.md: first finding (wording).
  • packages/cli/api/theme-edit/_check.mjs: first and second findings.
  • packages/cli/api/theme-edit/_how-question.mjs: first and second findings.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-clause-subjects.test.mjs: clear; its rewritten row follows the reading under the owner decision.
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on the experimental how and set reading rules, and three fixes are needed.

An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. No current spec defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven rules (per-side color runs and their modes, several sides, a transparent side, including "cards: transparent bottom border", whose base-branch test this pull request rewrites from a fainter border to a see-through bottom, a side after a part's border, padding side lists, a later shorthand written first, and when set brings a see-through border) need that decision for this head.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line.
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3697, _how-question.mjs:22688-22695), so muted, transparent and tinted cards lose the line the base drew.
  • The description's _how-question.mjs line delta reads +501/-35, but the file changes by +508/-35.

Bringing the see-through border for the color's own mode on seam-only looks, and the width and style for card looks that draw none, with tests that check a built button and a non-default card, would clear the first two.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: colors written one per side are one border-color with every side as written: verified (tests and probe).
  • Changeset: light-mode only when any side is light, "as one light border is": false for buttons (first finding).
  • Changeset: both modes, with the dark-page contrast, when a width or style lands on looks that draw no border: verified (2px and dashed asks).
  • Changeset: a border said on several sides, or none on them, is written on each side said: verified.
  • Changeset: a side said transparent is drawn see-through; a graded one stays a fainter border; "on top of" stays a place: verified.
  • Changeset: one side's border after a part's border is that part's side: verified.
  • Changeset: each answer says what it read: verified.
  • Description: editor-only, with no Core, spec record or official-theme change: verified (eight changed files, all in the CLI, its tests, one changeset and the test durations).
  • Description: based on the previous part's branch, merged in order: verified (base branch).
  • Description: _how-question.mjs line delta +501/-35: false (+508/-35).
  • Description: adds no mood or feel phrase matches: verified.
  • Description: CI has not run on this head yet: verified (no workflow runs).
  • Description: its own test files pass at this head: verified (four touched test files, 164 tests).
  • Description: "cards border #dddddd white background" writes nothing, as before: verified on the base and the head.
  • Description: integration-branch gates, typechecks and the look gate: not checkable from the repository.
  • .changeset/experimental-theme-how-border-sides.md: first finding (wording).
  • packages/cli/api/theme-edit/_check.mjs: first and second findings.
  • packages/cli/api/theme-edit/_how-question.mjs: first and second findings.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-clause-subjects.test.mjs: clear; its rewritten row follows the reading under the owner decision.
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

@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.

Approval waits on an engineering owner's decision on the experimental how and set reading rules, and four fixes are needed.

An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. No current spec defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven rules (per-side color runs and their modes, several sides, a transparent side, including "cards: transparent bottom border", whose base-branch test this pull request rewrites from a fainter border to a see-through bottom, a side after a part's border, padding side lists, a later shorthand written first, and when set brings a see-through border) need that decision for this head.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line.
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3697, _how-question.mjs:22688-22695), so muted, transparent and tinted cards lose the line the base drew.
  • Miss: joinSideLists joins a side list across a comma when another look follows it (_how-question.mjs:642-648), so "cards with a border on top, bottom padding 8px" (and the same shape with margin or with the looks swapped) now writes nothing, where the base wrote border-top and padding-bottom 8px.
  • The description's _how-question.mjs line delta reads +501/-35, but the file changes by +508/-35.

Bringing the see-through border for the color's own mode on seam-only looks, the width and style for card looks that draw none, and keeping the comma when the looks on either side of the list differ, each with a test, would clear the first three.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: colors written one per side are one border-color with every side as written: verified (tests and probe).
  • Changeset: light-mode only when any side is light, "as one light border is": false for buttons (first finding).
  • Changeset: both modes, with the dark-page contrast, when a width or style lands on looks that draw no border: verified (2px and dashed asks).
  • Changeset: a border said on several sides, or none on them, is written on each side said: verified.
  • Changeset: a side said transparent is drawn see-through; a graded one stays a fainter border; "on top of" stays a place: verified.
  • Changeset: one side's border after a part's border is that part's side: verified.
  • Changeset: each answer says what it read: verified.
  • Description: editor-only, with no Core, spec record or official-theme change: verified (eight changed files, all in the CLI, its tests, one changeset and the test durations).
  • Description: based on the previous part's branch, merged in order: verified (base branch).
  • Description: _how-question.mjs line delta +501/-35: false (+508/-35).
  • Description: adds no mood or feel phrase matches: verified.
  • Description: CI has not run on this head yet: verified (no workflow runs).
  • Description: its own test files pass at this head: verified (four touched test files, 165 tests).
  • Description: "cards border #dddddd white background" writes nothing, as before: verified on the base and the head.
  • Description: integration-branch gates, typechecks and the look gate: not checkable from the repository.
  • .changeset/experimental-theme-how-border-sides.md: first finding (wording).
  • packages/cli/api/theme-edit/_check.mjs: first and second findings.
  • packages/cli/api/theme-edit/_how-question.mjs: first, second and third findings.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear (no built-border check, no comma-split case).
  • packages/cli/api/theme-edit/theme-how-clause-subjects.test.mjs: clear; its rewritten row follows the reading under the owner decision.
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

… per side, several sides, a transparent side, and one side after a part's border
…side lists stay whole in border clauses only; a transparent side is said as a side; a light per-side run is light-mode only; only-asks keep only the sides said
…der word; a graded transparent side stays a fainter border; sides said with no color take the part's line; color functions after border stay one per side
…efore or after padding, transparent after a label's colon, a width beside per-side colors, and sides with their own "the" are read as said
…width and style, never a shorthand that resets its color in the other mode; "bordered on the left and right" draws each side
…o border of its own go to both modes, never a text-colored line; a style said alone is the line's style; transparent said last after a side and its part is read
…der where that look draws no line around itself (a button's secondary draws only the seam in a group)
…ts sides; a part name's side word never joins a padding side list
… list is that side's line color, never a variant of the part
…ide after it or not; a style said alone on a part that draws no line brings the theme's width; a color word that names the next look stays out of a per-side run; the changeset says when per-side colors go to both modes
… not: a style said alone on secondary buttons brings the theme's width, and their per-side colors with a width go to both modes; a side of a per-side run said transparent is never read as a fill
…raws a line around (inputs); a one-mode border color on a look that draws a group seam brings no border, so the other mode keeps the seam
…e's line

Part 15 reads "cards: transparent bottom border" as the bottom line drawn
see-through, border-bottom 1px solid transparent on every card, which is
what was asked. The row keeps that it is never the transparent variant.
…o a border on top, bottom padding 8px is the border's top and the padding's bottom

@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.

Approval waits on an engineering owner's decision on the experimental how and set reading rules, and four fixes are needed.

An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner. No current spec defines how astryx experimental theme editor how reads an ask or when editor set brings a border, so the seven rules (per-side color runs and their modes, several sides, including the new comma rule, a transparent side, including "cards: transparent bottom border", whose base-branch test this pull request rewrites from a fainter border to a see-through bottom, a side after a part's border, padding side lists, a later shorthand written first, and when set brings a see-through border) need that decision for this head.

Blocking findings:

  • A light per-side run on buttons ("buttons border #eee #eee #ddd", "secondary buttons with a #eee #eee #ddd border") writes only a light-mode border-color, and set brings no border for a one-mode color on a look with a button-group seam (_check.mjs:3688-3691), so no button shows a line in either mode where the base drew a 1px line.
  • Miss: per-side colors on cards ("cards with a #eee #eee #ddd border", "cards border dashed #eee #eee #ddd") draw only on the default card, because set and the lone-style check ask only the default look (_check.mjs:3686-3697, _how-question.mjs:22703-22710), so muted, transparent and tinted cards lose the line the base drew.
  • Miss: joinSideLists still joins a side list across a comma when the word after it is a value or a look other than border, padding, margin or radius (_how-question.mjs:630-644), so "cards with a border on top, bottom shadow" and "cards with a border on top, bottom 8px padding" now write nothing, where the base wrote both parts.
  • The description's _how-question.mjs line delta reads +501/-35, but the file changes by +523/-35.

The newest commit fixes the comma case with a padding, margin or radius word right after the list; bringing the see-through border for the color's own mode on seam-only looks, the width and style for card looks that draw none, and looking for the next look anywhere in the rest of the clause, each with a test, would clear the first three.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: colors written one per side are one border-color with every side as written: verified (tests and probe).
  • Changeset: light-mode only when any side is light, "as one light border is": false for buttons (first finding).
  • Changeset: both modes, with the dark-page contrast, when a width or style lands on looks that draw no border: verified (2px and dashed asks).
  • Changeset: a border said on several sides, or none on them, is written on each side said: verified.
  • Changeset: a side said transparent is drawn see-through; a graded one stays a fainter border; "on top of" stays a place: verified.
  • Changeset: one side's border after a part's border is that part's side: verified.
  • Changeset: each answer says what it read: verified.
  • Description: editor-only, with no Core, spec record or official-theme change: verified (eight changed files, all in the CLI, its tests, one changeset and the test durations).
  • Description: based on the previous part's branch, merged in order: verified (base branch).
  • Description: _how-question.mjs line delta +501/-35: false (+523/-35).
  • Description: adds no mood or feel phrase matches: verified.
  • Description: CI has not run on this head yet: verified (no workflow runs).
  • Description: its own test files pass at this head: verified (four touched test files, 166 tests).
  • Description: "cards border #dddddd white background" writes nothing, as before: verified on the base and the head.
  • Description: integration-branch gates, typechecks and the look gate: not checkable from the repository.
  • .changeset/experimental-theme-how-border-sides.md: first finding (wording).
  • packages/cli/api/theme-edit/_check.mjs: first and second findings.
  • packages/cli/api/theme-edit/_how-question.mjs: first, second and third findings.
  • packages/cli/api/theme-edit/theme-edit-border-color-needs-a-border.test.mjs: clear (no built-border check).
  • packages/cli/api/theme-edit/theme-how-border-sides.test.mjs: clear (no built-border check; the comma test covers only a look word right after the list).
  • packages/cli/api/theme-edit/theme-how-clause-subjects.test.mjs: clear; its rewritten row follows the reading under the owner decision.
  • packages/cli/test-utils/long-ask-binding-rows.mjs: clear.
  • scripts/vitest-node-durations.json: clear.

Automated review (maintainer link)

// top, bottom padding 8px" is the border's top and the padding's
// bottom. The sides before that comma are the earlier look's.)
const lastComma = /,\s*(?!and\b)(?:on\s+)?(?:the\s+)?[a-z]+$/i.exec(m);
if (nextLook && owner && lastComma) {

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.

Miss: only the first word after the list is checked, so a value or a look outside nextLook there still joins across the comma: "cards with a border on top, bottom shadow" and "cards with a border on top, bottom 8px padding" now write nothing (read … but not "border"), where the base wrote border-top with the shadow or padding-bottom 8px; "cards with a border on top, and bottom padding 8px" fails the same way, since lastComma skips , and. Looking for the next look word anywhere in the rest of the clause, and keeping the comma when that look is not the owner's, with those asks added to the new test, would close it.

@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed via the round-15 combined PR #13054/#13049/#13048.

This branch was successfully deployed

1 active deployment
Preview — 9bd63825 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant