Repository navigation
experimental theme how: display headings are every display size - #12520
josephfarina wants to merge 14 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
fe4ce27 to
9dd96b6
Compare
9644f99 to
505aaf2
Compare
505aaf2 to
3520bd2
Compare
9dd96b6 to
198b5b3
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner's decision about the new reading, and one fix is needed.
- No current spec decides how
astryx experimental theme editor howreads part words, so reading plural "display headings" as display-1, display-2 and display-3 needs an engineering owner to record the decision by commenting/approve-spec <full head SHA>on this pull request (the author may do so if they are an engineering owner), or to name the spec that governs it. bold display headings, make them bluecolors only display-3 headings anddisplay headings: heavier, tighter letter spacingchanges letter spacing on display-1 only, because the plural copies in_how-question.mjsskip clauses that refer back to the part; carry the plural to those clauses and add both asks to the test.
The direct plural ask works: the new test fails before this change and passes with it, and the other theme-how tests still pass. CI has not run on this head yet; it starts once the pull request targets main.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim (Changeset): a numbered look said in the plural is every look of that family, so "heavy display headings" changes display-1, -2 and -3 in one answer run in order: verified for the direct ask (new test); a clause that refers back is the blocking finding above.
- Claim (Changeset): said once, "display heading 60px" still means the first look: verified (existing display-heading test and a singular probe).
- Claim (description): editor-only, with no Core, spec record or official-theme change: verified (three files, under the CLI's theme editor and the Changesets).
- Claim (description): the question module changes by +40/-2 lines: verified.
- Claim (description): adds no mood or feel phrase matches: verified (the only new pattern is the plural check).
- Claim (description): part 24 of 25, based on the previous part's branch, merged in order: verified against the neighbouring parts' bases and heads.
- Claim (description): every commit passed the round's integration gate (Node suite, CLI typechecks, structure and Changeset checks, held-out answer key): not verifiable from the repository; the changed test file and all
theme-howtest files pass on this head. - Claim (description): this part's own CI runs on this exact head: not yet, no CI workflow has run here.
- Claim (description): a look gate on a site built from the top of the stack found no new blocking finding: not verifiable from the repository.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: clear ([experimental]patch for@astryxdesign/cli). - File
packages/cli/api/theme-edit/_how-question.mjs: the blocking finding above, plus a non-blocking note on the value sort. - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: clear; it covers the direct ask only.
|
Owner decision (engineering owner, covering this pull request): in |
3520bd2 to
7394265
Compare
198b5b3 to
0d02d94
Compare
|
/approve-spec 7394265 |
7394265 to
856d233
Compare
0d02d94 to
6337644
Compare
|
/approve-spec 856d233 |
856d233 to
b70886d
Compare
6337644 to
4ab48db
Compare
|
/approve-spec b70886d |
There was a problem hiding this comment.
Changes requested: the plural reading is now decided and works for a direct ask, but a clause that refers back to the plural part still changes one display look.
bold display headings, make them blue(andbold display headings and make their color blue) colors only display-3 headings, anddisplay headings: heavier, tighter letter spacingchanges letter spacing on display-1 only, because_how-question.mjscopies only the clause that names the plural before pronouns and colon lists are read; carry the plural onto those clauses, as the owner decision on this pull request says, and add a back-reference ask and a colon-list ask to the new test.
The new test fails before this change and passes with it, and the other theme-how tests still pass. Non-blocking: the family values are sorted as strings, so a tenth value would run before display-2; a numeric sort keeps the order. CI has not run on this head yet; it starts once the pull request targets main.
Claims and files checked
Review mode: full; reason: rebase
- Claim (Changeset): a numbered look said in the plural is every look of its family, so "heavy display headings" makes display-1, -2 and -3 heavy in one answer run in order: verified for the direct ask (new test); a clause that refers back is the blocking finding above.
- Claim (Changeset): said once, "display heading 60px" still means the first look: verified (existing display-heading test and a singular probe).
- Claim (description): editor-only, with no Core, spec record or official-theme change: verified (three files, under the CLI's theme editor and the Changesets).
- Claim (description): the question module changes by +40/-2 lines: verified.
- Claim (description): adds no mood or feel phrase matches: verified (the only new patterns are the plural check and the family-value parse).
- Claim (description): part 24 of 25, based on the previous part's branch, merged in order: verified against the neighbouring parts' bases and heads.
- Claim (description): every commit passed the round's integration gate (Node suite, CLI typechecks, structure and Changeset checks, held-out answer key): not verifiable from the repository; the changed test file and all
theme-howtest files pass on this head. - Claim (description): CI has not run on this head and runs once the part targets
main: verified (no CI workflow has run here). - Claim (description): each head is checked locally (typechecks, structure, its own tests, held-out key): its own test file passes on this head; the rest is not verifiable from the repository.
- Claim (description): a look gate on a site built from the top of the stack found no new blocking finding: not verifiable from the repository.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: clear ([experimental]patch for@astryxdesign/cli). - File
packages/cli/api/theme-edit/_how-question.mjs: the blocking finding above, plus the non-blocking note on the value sort. - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: covers the direct plural ask only; the back-reference and colon-list asks belong with the fix above.
b70886d to
b5b6a90
Compare
4ab48db to
622daaa
Compare
|
/approve-spec b5b6a90 |
There was a problem hiding this comment.
Changes requested: the plural reading is approved for this head and works for a direct ask, but a clause that refers back to the plural part still changes one display look.
bold display headings, make them blue(andbold display headings and make their color blue) colors only display-3 headings, anddisplay headings: heavier, tighter letter spacingchanges letter spacing on display-1 only, because_how-question.mjscopies only the clause that names the plural before pronouns and colon lists are read; carry the plural onto those clauses, as the owner decision on this pull request says, and add a back-reference ask and a colon-list ask to the new test.
The new test fails before this change and passes with it, and the other how tests still pass. A numeric sort on the trailing number at _how-question.mjs:7478 would keep the order right if the display family ever grows past nine looks.
Claims and files checked
Review mode: full; reason: rebase
- Claim (Changeset): a numbered look said in the plural covers every look of its family in one answer that runs them in order. Verified for a direct ask by the new test; a clause that refers back does not follow it (finding above).
- Claim (Changeset): said once, it is still the first look. Verified by the existing "display heading 60px" test.
- Claim (description): an editor-only change in the CLI, with no Core, spec record or official-theme change. Verified: three files under the experimental theme editor and the Changeset.
- Claim (description):
_how-question.mjschanges by +40/-2. Verified. - Claim (description): adds no mood or feel phrase matches. Verified.
- Claim (description): part 24 of 25, based on the part-24 branch. Verified against the neighbouring pull requests.
- Claim (description): CI has not run on this head. Verified.
- Claim (description): the integration-branch gates (full suite, typechecks, structure, changesets, held-out answer key) and the look gate passed. Not verifiable from the repository; the
howtests pass on this head. - File
.changeset/experimental-theme-how-plural-numbered-looks.md: clear. - File
packages/cli/api/theme-edit/_how-question.mjs: back-reference finding; non-blocking sort note. - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: lacks a back-reference case (part of the finding).
There was a problem hiding this comment.
Changes requested: plural display asks reach every display look in one answer and the description's line count now matches the diff, but one fluid-size path still needs a fix.
- Miss: with a
clamp()--text-display-1-size,display headings bigger(andsmalleror20% bigger) writes display-2 and display-3 only while the answer still names display-1 and says each look takes the size said, because the fold drops a look that drafts no options (_part-pieces.mjs:52) and the note assumes an absolute size (:106-110), so fold nothing or name the look left out when a family look drafts no options, and add the case to the test.
The smaller notes (the note's "clamp() or calc()" wording for min(), the repeated dark-mode note, the Changeset wording, the stale test title and the new test file's name) are optional.
Claims and files checked
Review mode: full; reason: rebase
- Claim (Changeset): a plural numbered look such as "heavy display headings" writes display-1, display-2 and display-3 in one answer: verified (the new tests fail on the base and pass here; probe).
- Claim (Changeset): the answer names the looks it covers when it writes them: verified, except a relative ask on a fluid display-1 token, where it names display-1 without writing it (finding above).
- Claim (Changeset): each look's own line runs once and the whole-theme dial is left out: verified (probe); the "no longer" wording describes a fix to an earlier revision (non-blocking).
- Claim (Changeset): a family size is the largest look's and the others scale to keep the steps: verified for px, rem, em and relative sizes and for sizes the theme sets; with a fluid display token every look takes the size said, which the answer states and the Changeset does not (non-blocking).
- Claim (Changeset): a later clause that refers back covers every look: verified (new test and probe).
- Claim (Changeset): said once, a display heading is still display-1: verified (probe matches the base).
- Claim (Changeset): an experimental patch release note for the CLI: verified (the changesets check passes).
- Claim (description): editor-only, inside the CLI's experimental theme editor, with no Core, spec record or official theme change: verified (five changed files).
- Claim (description): part 24 of 25 of the round, based on the previous part's branch and merged in order: verified (the base pull request's head is this base); the later retarget onto main is not verifiable here.
- Claim (description): the question reader's line delta is +85/-7: verified.
- Claim (description): adds no mood or feel phrase matches: verified (the diff adds only the plural flag and the family-name pattern).
- Claim (description): every commit was gated in the round's integration branch, and each head is checked locally: not verifiable here; this pull request's tests, the theme-how suite, lint on the changed files and the changesets and CLI structure checks pass at this head, and the strict CLI typecheck fails only on two unrelated imports of an unbuilt theme.
- Claim (description): CI has not run on this head yet: verified.
- Claim (description): the look gate on a Bootstrap-style site found no new blocking finding: not verifiable here.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: repeated phrase, stale fix wording and no fluid-size exception (non-blocking). - File
packages/cli/api/theme-edit/_how-question.mjs: clear; the size reader matches the family's part and falls back to the token; two formatter-only rewraps of unrelated lines (non-blocking). - File
packages/cli/api/theme-edit/_part-pieces.mjs: a family look that drafts nothing is dropped while the answer names it (blocking); the fluid-size note's wording and the repeated dark-mode note (non-blocking). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: covers the fluid-token note for an absolute size, not a relative ask; its name does not follow the module's test name (non-blocking). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: covers the plural reading, back-references, em sizes, a Heading size the theme sets, theTextpart and aclamp()Heading size; one stale test title (non-blocking).
There was a problem hiding this comment.
Changes requested: plural display asks reach every display look in one answer, but one fluid-size path still needs a fix.
- Miss: with a
clamp()--text-display-1-size,display headings bigger(andsmalleror20% bigger) writes display-2 and display-3 only while the answer still names display-1 and says each look takes the size said, because the fold drops a look that drafts no options (_part-pieces.mjs:52) and the note assumes an absolute size (:106-110), so fold nothing or name the look left out when a family look drafts no options, and add the case to the test.
The smaller notes (the looks line after an answer that writes nothing, the note's "clamp() or calc()" wording for min(), the repeated dark-mode note, the Changeset wording, the stale test title and the new test file's name) are optional.
Claims and files checked
Review mode: full; reason: rebase
- Claim (Changeset): a plural numbered look such as "heavy display headings" writes display-1, display-2 and display-3 in one answer: verified (the new tests fail on the base and pass here; probe).
- Claim (Changeset): the answer names the looks it covers when it writes them: verified, except a relative ask on a fluid display-1 token, where it names display-1 without writing it (finding above), and a corner ask that writes nothing, where it still names them (non-blocking).
- Claim (Changeset): each look's own line runs once and the whole-theme dial is left out: verified (probe); the "no longer" wording describes a fix to an earlier revision (non-blocking).
- Claim (Changeset): a family size is the largest look's and the others scale to keep the steps: verified for px, em and relative sizes and for sizes the theme sets; with a fluid display token every look takes the size said, which the answer states and the Changeset does not (non-blocking).
- Claim (Changeset): a later clause that refers back covers every look: verified (new test and probe).
- Claim (Changeset): said once, a display heading is still display-1: verified (probe matches the base).
- Claim (Changeset): an experimental patch release note for the CLI: verified (the changesets check passes).
- Claim (description): editor-only, inside the CLI's experimental theme editor, with no Core, spec record or official theme change: verified (five changed files).
- Claim (description): part 24 of 25 of the round, based on the previous part's branch and merged in order: verified (the base pull request's head is this base); the later retarget onto main is not verifiable here.
- Claim (description): the question reader's line delta is +85/-7: verified.
- Claim (description): adds no mood or feel phrase matches: verified (the diff adds only the plural flag and the family-name pattern).
- Claim (description): every commit was gated in the round's integration branch, and each head is checked locally: not verifiable here; this pull request's tests, the theme-how suite, lint on the changed files and the changesets and CLI structure checks pass at this head, and the strict CLI typecheck fails only on two unrelated imports of an unbuilt theme.
- Claim (description): CI has not run on this head yet: verified.
- Claim (description): the look gate on a Bootstrap-style site found no new blocking finding: not verifiable here.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: repeated phrase, stale fix wording and no fluid-size exception (non-blocking). - File
packages/cli/api/theme-edit/_how-question.mjs: the size reader matches the family's part and falls back to the token; the looks line also follows an answer that writes nothing, and two formatter-only rewraps of unrelated lines ride along (non-blocking). - File
packages/cli/api/theme-edit/_part-pieces.mjs: a family look that drafts nothing is dropped while the answer names it (blocking); the fluid-size note's wording and the repeated dark-mode note (non-blocking). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: covers the fluid-token note for an absolute size, not a relative ask; its name does not follow the module's test name (non-blocking). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: covers the plural reading, back-references, em sizes, a Heading size the theme sets, theTextpart and aclamp()Heading size; one stale test title (non-blocking).
There was a problem hiding this comment.
Changes requested: plural display asks reach every display look in one answer, and the fluid-size answer now names the looks it writes, but two things still need fixing.
- Miss: with a
clamp()size on display-1 and display-2,display headings biggerwrites display-3 alone with no word about the other two, because the fold stops when only one look can take the step (_part-pieces.mjs:63), and the looks line (_how-question.mjs:31486-31494) still names every look even where the answer says one is not changed, so build that line from the looks the answer writes, add the "not changed" note when one look is left, and assert both in the clamp test. - Regression: the description says
_how-question.mjschanges by +85/-7, but at this head it changes by +83/-5 because the new base already carries one of its rewraps, so update that line.
The smaller notes (the looks line after an answer that writes nothing, the "clamp() or calc()" wording, the repeated dark-mode note, the Changeset wording, the stale test title, the new test file's name and the formatter rewrap) are optional.
Claims and files checked
Review mode: full; reason: rebase
- Claim (Changeset): a plural numbered look such as "heavy display headings" writes display-1, display-2 and display-3 in one answer: verified (the new tests fail on the base and pass here; probe).
- Claim (Changeset): the answer names the looks it covers when it writes them: false with fluid display sizes, where it names looks it leaves unchanged (blocking finding above), and after a corner ask that writes nothing (non-blocking).
- Claim (Changeset): each look's own line runs once and the whole-theme dial is left out: verified (probe); the "no longer" wording describes a fix to an earlier revision (non-blocking).
- Claim (Changeset): a family size is the largest look's and the others scale to keep the steps: verified for px, em and relative sizes and for sizes the theme sets; with a fluid display size the answer says what it does instead, which the Changeset does not (non-blocking).
- Claim (Changeset): a later clause that refers back covers every look: verified (new test and probe).
- Claim (Changeset): said once, a display heading is still display-1: verified (probe matches the base).
- Claim (Changeset): an experimental patch release note for the CLI: verified (the changesets check passes).
- Claim (description): editor-only, inside the CLI's experimental theme editor, with no Core, spec record or official theme change: verified (five changed files).
- Claim (description): part 24 of 25 of the round, based on the previous part's branch and merged in order: verified for the base branch; the later retarget onto main is not verifiable here.
- Claim (description): a numbered look said in the plural is its whole family: verified (tests and probe).
- Claim (description): the question reader's line delta is +85/-7: false, it is +83/-5 at this head (blocking finding above).
- Claim (description): adds no mood or feel phrase matches: verified (the diff adds only the plural flag and the family-name pattern).
- Claim (description): every commit was gated in the round's integration branch, and each head is checked locally: not verifiable here; at this head the pull request's tests, lint, and the changesets and CLI structure checks pass, the theme-how suite passes apart from one test that fails the same way on the base, and the strict CLI typecheck fails only on two unrelated imports of an unbuilt theme.
- Claim (description): CI has not run on this head yet: verified.
- Claim (description): the look gate on a Bootstrap-style site found no new blocking finding: not verifiable here.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: repeated phrase, stale fix wording and no fluid-size exception (non-blocking). - File
packages/cli/api/theme-edit/_how-question.mjs: the looks line names every family look whenever one is written (blocking, with the fold below); one formatter-only rewrap of an unrelated line (non-blocking). - File
packages/cli/api/theme-edit/_part-pieces.mjs: with one look left the fold stops before its "not changed" note (blocking); the fluid-size note's wording and the repeated dark-mode note (non-blocking). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: covers the fluid-size note for an absolute size; its name does not follow the module's test name (non-blocking). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: covers the plural reading, back-references, em sizes, a Heading size the theme sets, theTextpart, aclamp()Heading size and one fluid look on a relative step, but not the looks line there or two fluid looks; one stale test title (non-blocking).
There was a problem hiding this comment.
Changes requested: plural display asks now reach every display look in one answer, and the fluid one- and two-look answers and the description's line count are fixed, but one new problem needs fixing.
- On a theme whose three display sizes are all
clamp(), the new all-fluid answer inoneAnswerPerFamily(_part-pieces.mjs:73-90) also runs for asks that are not about size, sodisplay headings in Georgiasays "display-1, display-2, display-3 not changed … say a size for them instead" aboveset t font georgia --on heading, anddisplay headings colorloses its own answer; take that branch only for a size ask, never rewrite a draft that still has options, and add both asks to the all-fluid test.
The smaller notes (the looks line after display headings 8px corners, the unused text field, the "clamp() or calc()" wording, the repeated dark-mode note, the Changeset wording, the stale test title, the new test file's name and the formatter rewrap) are optional.
Claims and files checked
Review mode: full; reason: rebase
- Claim (Changeset): a plural numbered look such as "heavy display headings" writes display-1, display-2 and display-3 in one answer: verified (the new tests fail on the base and pass here; probe).
- Claim (Changeset): the answer names the looks it covers when it writes them: verified, fluid sizes included; it also names them after a corner ask that writes nothing (non-blocking).
- Claim (Changeset): each look's own line runs once and whole-theme dials offered beside a look are left out: verified (probe); the "no longer" wording describes a fix to an earlier revision (non-blocking).
- Claim (Changeset): a family size is the largest look's and the others scale to keep the steps: verified for px, rem and relative sizes and for a size the theme sets; with a fluid display size the answer says what it does instead, which the Changeset does not mention (non-blocking).
- Claim (Changeset): a later clause that refers back covers every look: verified (test and probe).
- Claim (Changeset): said once, a display heading is still the first: verified (probe matches the base).
- Claim (Changeset): an experimental patch release note for the CLI: verified (the changesets check passes).
- Claim (description): editor-only, inside the CLI's experimental theme editor, with no Core, spec record or official theme change: verified (five changed files).
- Claim (description): one part of a stacked round, based on the previous part's branch and merged in order: verified for the base branch; the part numbering and the later retarget onto main are not verifiable here.
- Claim (description): a numbered look said in the plural is its whole family: verified (tests and probe).
- Claim (description): the question reader's line delta is +95/-5: verified.
- Claim (description): adds no mood or feel phrase matches: verified (the diff adds only the plural flag and the family-name pattern).
- Claim (description): every commit was gated in the round's integration branch, and each head is checked locally: not verifiable here; at this head the pull request's tests, lint, and the changesets and CLI structure checks pass, and the 190 how-related theme editor test files pass apart from one corner test that fails the same way on the base, and the strict CLI typecheck reports no error in the changed files.
- Claim (description): CI has not run on this head yet: verified.
- Claim (description): the look gate on a Bootstrap-style site found no new blocking finding: not verifiable here.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: repeated phrase, stale fix wording and no fluid-size note (non-blocking). - File
packages/cli/api/theme-edit/_how-question.mjs: the looks line counts refused steps, an unusedtextfield, and one formatter-only rewrap (all non-blocking). - File
packages/cli/api/theme-edit/_part-pieces.mjs: the all-fluid branch answers asks that are not about size with the size note (blocking); the fluid-size wording and the repeated dark-mode note (non-blocking). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: covers the fluid-size note for an absolute size; its name does not follow the module's test name (non-blocking). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: covers the plural reading, back-references, rem and em sizes, a Heading size the theme sets, theTextpart, and fluid sizes on one, two and all looks, but no ask that is not about size on the all-fluid theme; one stale test title (non-blocking).
| for (const f of pluralSaid) { | ||
| const written = f.whens.filter(w => | ||
| result.some(d => | ||
| d.options.flat().some(st => st.on === f.on && st.when === w), |
There was a problem hiding this comment.
Non-blocking: this reads every step in options, and a refused step stays there (it renders as "no command does it", _how.mjs:1127-1129). So display headings 8px corners refuses all three looks, writes nothing, and still prints "display headings: display-1, display-2, display-3"; the base prints no such line. Counting only steps that become commands keeps the line to looks written.
There was a problem hiding this comment.
Changes requested: plural display asks now reach every display look in one answer, and on a theme whose display sizes are all fluid, font, color and alignment asks keep their own answers again, but three problems need fixing.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modeanswers "not changed … say a size for them instead" in place of its "cannot be dark mode only" reason, because the branch at_part-pieces.mjs:86-95also takes size asks whose drafts are refusals; take it only for a step ask with no size said, keep a draft that already says why it writes nothing, and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" describes a fix to an earlier revision, since the base offers
headings tightonly as another option and never runs it; drop it, or say that the family's one answer leaves a whole-theme dial out. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, and the CLI layout rule (INV20) names a module's test<module>.test.mjs, so rename it_part-pieces.test.mjs.
The smaller notes (the looks line after display headings 8px corners, the contradictory note for display headings bigger and display headings 72px, the unused text field, the "clamp() or calc()" wording, the repeated dark-mode note, the repeated Changeset phrase, the stale test title and the formatter rewrap) are optional.
Claims and files checked
Review mode: full; reason: rebase
- Claim (Changeset): a numbered look said in the plural is every look of the family, so "heavy display headings" makes all three display headings heavy in one answer: verified (the new tests fail on the base and pass here; probe).
- Claim (Changeset): the answer names the looks it covers when it writes them: verified; it also names them after a corner ask that writes nothing (non-blocking).
- Claim (Changeset): each look's own line runs once and whole-theme dials offered beside a look are left out: verified (test and probe).
- Claim (Changeset): "display headings tighter letter spacing" no longer tightens every heading: false; the base never ran that dial (blocking).
- Claim (Changeset): a family size is the largest look's and the others scale to keep the steps: verified for px and rem and for a size the theme sets; with fluid sizes the answer says what it does instead, which the Changeset does not mention (non-blocking).
- Claim (Changeset): a later clause that refers back covers every look: verified (test and probe).
- Claim (Changeset): said once, a display heading is still the first: verified (probe matches the base).
- Claim (Changeset): an experimental patch release note for the CLI: verified (the changesets check passes).
- Claim (description): editor-only, inside the CLI's experimental theme editor, with no Core, spec record or official theme change: verified (five changed files).
- Claim (description): one part of a stacked round, based on the previous part's branch and merged in order: verified for the base branch; the part numbering and the later retarget onto main are not verifiable here.
- Claim (description): a numbered look said in the plural is its whole family: verified (tests and probe).
- Claim (description): the question reader's line delta is +95/-5: verified.
- Claim (description): adds no mood or feel phrase matches: verified (the diff adds only the plural flag and the family-name pattern).
- Claim (description): every commit was gated in the round's integration branch, and each head is checked locally: not verifiable here; at this head the pull request's tests, every how-related theme editor test file, lint, and the changesets and CLI structure checks pass, and the strict CLI typecheck reports no error in the changed files.
- Claim (description): CI has not run on this head yet: verified.
- Claim (description): the look gate on a Bootstrap-style site found no new blocking finding: not verifiable here.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: false claim about the base (blocking); repeated phrase and no fluid-size note (non-blocking). - File
packages/cli/api/theme-edit/_how-question.mjs: the looks line counts refused steps, an unusedtextfield, and one formatter-only rewrap (all non-blocking). - File
packages/cli/api/theme-edit/_part-pieces.mjs: the all-fluid branch replaces a dark-mode refusal (blocking); the fluid-size wording, the repeated dark-mode note and the contradictory note after a size write (non-blocking). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: covers the fluid-size note for an absolute size; its name does not follow the module's test name (blocking). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: covers the plural reading, back-references, rem and em sizes, a Heading size the theme sets, theTextpart, fluid sizes on one, two and all looks, and non-size asks on the all-fluid theme, but no size ask with a mode there; one stale test title (non-blocking).
| (c.aspects ?? []).every(a => a === 'fontsize') && | ||
| !(c.colors ?? []).length; | ||
| const own = drafts.filter(d => clauseOf(d) === c); | ||
| if (!noLength || !sizeOnly || own.some(d => d.options.length)) continue; |
There was a problem hiding this comment.
Miss: a mode refusal is a size-only draft with no options (_how-question.mjs:13334), so it passes this guard, and the branch then overwrites its text and drops the other looks' refusals. With clamp() on all three display size tokens, display headings 72px in dark mode answers "display-1, display-2, display-3 not changed: their sizes are no length now … say a size for them instead ("display headings 72px")", where the base says the size "cannot be dark mode only". Taking this branch only for a step ask with no size said (for example, c.dir set and no size said), and keeping a draft that already says why it writes nothing, keeps the refusal. The all-fluid test could add this ask.
| '@astryxdesign/cli': patch | ||
| --- | ||
|
|
||
| [experimental] In `astryx experimental theme editor how`, a numbered look of a part said in the plural is every look of that family: "heavy display headings" makes display-1, display-2 and display-3 headings heavy, in one answer that runs them in order as one answer that runs every look, and names the looks it covers ("display headings: display-1, display-2, display-3") when it writes them; it runs each look's own line, each step once, and leaves out whole-theme dials offered beside a look ("display headings tighter letter spacing" no longer tightens every heading). A size said for the family ("display headings 60px") is the largest look's, and the others scale to keep the steps between them. A later clause that refers back, "bold display headings, make them blue", covers every one too. Said once ("display heading 60px"), it is still the first. |
There was a problem hiding this comment.
Miss (reported earlier as non-blocking; the release note's claim about the base makes it blocking): on the base, display headings tighter letter spacing returns one answer with two options and no sequence flag, letter-spacing on display-1 or the headings tight dial (_how-question.mjs:24640-24645), so it never tightened every heading. Dropping the parenthetical, or writing "a whole-theme dial offered beside a look stays out of the family's one answer", keeps the note true.
| @@ -0,0 +1,45 @@ | |||
| // Copyright (c) Meta Platforms, Inc. and affiliates. | |||
There was a problem hiding this comment.
Miss (reported earlier as non-blocking): this file tests _part-pieces.mjs, and architecture:cli-surface INV20 says "Tests sit beside the module they cover as <module>.test.mjs". Renaming it _part-pieces.test.mjs matches _color.test.mjs and _palette.test.mjs in this folder.
There was a problem hiding this comment.
Changes requested: plural display asks reach every display look in one answer, but the three problems from the last review are still open at this head.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modegets the fluid-size note ("… say a size for them instead") instead of the base's "cannot be dark mode only", because the size-only branch in_part-pieces.mjs:81-95also takes mode-refusal drafts, so take it only for a step ask with no size said and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" is not true of the base, which only offers the
headings tightdial as an alternative and never runs it, so drop the parenthetical or say that a dial offered beside a look stays out of the family's one answer. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, andarchitecture:cli-surfaceINV20 ("Tests sit beside the module they cover as<module>.test.mjs") needs it named_part-pieces.test.mjs.
Two earlier threads are fixed at this head: the letter-spacing dial no longer runs as a sequence step, and a single fluid look is named as not changed. Still non-blocking: the looks line prints after an answer that writes nothing (display headings 8px corners), and the test title "folds every option of every look" no longer matches what it checks.
Claims and files checked
Review mode: full; reason: rebase
- Claim, Changeset: a plural numbered look covers display-1 to display-3: verified (
heavy display headingswrites all three; test "said in the plural, is every display look the heading draws"). - Claim, Changeset: one answer runs the looks in order and names the looks it writes: verified (
sequence: true; looks line at_how-question.mjs:31677-31689). - Claim, Changeset: each look's own line runs once and whole-theme dials are left out: verified (
_part-pieces.mjs:103-119; the letter-spacing answer has no dial). - Claim, Changeset: the letter-spacing ask no longer tightens every heading: false (the base offers the dial only as an alternative).
- Claim, Changeset: a family size is the largest look's and the others scale: verified (
display headings 60pxwrites 60px, 50px and 41px). - Claim, Changeset: a later clause that refers back covers every look: verified (
bold display headings, make them blue). - Claim, Changeset: the singular still writes display-1 only: verified (
display heading 60pxmatches the base). - Claim, description: editor-only, with no Core, record or official-theme change: verified (five files, all under
packages/cli/api/theme-edit/plus the Changeset). - Claim, description:
_how-question.mjschanges by +95/-5: verified. - Claim, description: no mood or feel phrase matches are added: verified (the diff adds no phrase entries).
- Claim, description: CI has not run at this head: verified (no workflow runs).
- Claim, description: the commits were gated in an integration branch, with a held-out answer key and a look gate: not reproducible here; at this head the pull request's tests, every
howtest file, the CLI structure check, the Changeset check, eslint and the CLI strict typecheck (no error in changed files) pass. - File
.changeset/experimental-theme-how-plural-numbered-looks.md: blocking (claim about the base). - File
packages/cli/api/theme-edit/_how-question.mjs: non-blocking (looks line after an answer that writes nothing). - File
packages/cli/api/theme-edit/_part-pieces.mjs: blocking (all-fluid mode refusal). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: blocking (INV20 name). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: non-blocking (stale test title; no all-fluid mode case).
There was a problem hiding this comment.
Changes requested: plural display asks now reach every display look in one answer, but the three problems from the last review are still open at this head.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modegets the fluid-size note ("… say a size for them instead") instead of the base's "cannot be dark mode only", because the size-only branch in_part-pieces.mjs:81-95also takes mode-refusal drafts, so take it only for a step ask with no size said and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" is not true of the base, which only offers the
headings tightdial as an alternative and never runs it, so drop the parenthetical or say that a dial offered beside a look stays out of the family's one answer. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, andarchitecture:cli-surfaceINV20 ("Tests sit beside the module they cover as<module>.test.mjs") needs it named_part-pieces.test.mjs.
Still non-blocking: the looks line prints after an answer that writes nothing (display headings 8px corners), and the test title "folds every option of every look" no longer matches what it checks.
Claims and files checked
Review mode: full; reason: rebase
- Claim, Changeset: a plural numbered look covers display-1 to display-3: verified (
heavy display headingswrites all three; test "said in the plural, is every display look the heading draws"). - Claim, Changeset: one answer runs the looks in order: verified (one
sequence: trueanswer). - Claim, Changeset: the answer names the looks it covers when it writes them: verified for written answers (
_how-question.mjs:31657-31669); it also prints after a refused answer (non-blocking). - Claim, Changeset: each look's own line runs once and whole-theme dials are left out: verified (
_part-pieces.mjs:103-119; the letter-spacing answer has no dial). - Claim, Changeset: the letter-spacing ask no longer tightens every heading: false (the base offers the dial only as an alternative).
- Claim, Changeset: a family size is the largest look's and the others scale: verified (
display headings 60pxwrites 60px, 50px and 41px). - Claim, Changeset: a later clause that refers back covers every look: verified (
bold display headings, make them blue). - Claim, Changeset: the singular still writes display-1 only: verified (
display heading 60pxmatches the base). - Claim, description: editor-only, with no Core, record or official-theme change: verified (five files, all under
packages/cli/api/theme-edit/plus the Changeset). - Claim, description:
_how-question.mjschanges by +95/-5: verified. - Claim, description: no mood or feel phrase matches are added: verified (the diff adds no phrase entries).
- Claim, description: CI has not run at this head: verified (no workflow runs).
- Claim, description: the commits were gated in an integration branch, with a held-out answer key and a look gate: not reproducible here; at this head the pull request's tests, the CLI structure check, the Changeset check and eslint pass.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: blocking (claim about the base). - File
packages/cli/api/theme-edit/_how-question.mjs: non-blocking (looks line after an answer that writes nothing). - File
packages/cli/api/theme-edit/_part-pieces.mjs: blocking (all-fluid mode refusal). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: blocking (INV20 name). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: non-blocking (stale test title; no all-fluid mode case).
There was a problem hiding this comment.
Changes requested: plural display asks now reach every display look in one answer, but the three problems from the last review are still open at this head.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modegets the fluid-size note ("… say a size for them instead") instead of the base's "cannot be dark mode only", because the size-only branch in_part-pieces.mjs:81-95also takes mode-refusal drafts, so take it only for a step ask with no size said and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" is not true of the base, which only offers the
headings tightdial as an alternative and never runs it, so drop the parenthetical or say that a dial offered beside a look stays out of the family's one answer. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, andarchitecture:cli-surfaceINV20 ("Tests sit beside the module they cover as<module>.test.mjs") needs it named_part-pieces.test.mjs.
Still non-blocking: the looks line prints after an answer that writes nothing (display headings 8px corners), and the test title "folds every option of every look" no longer matches what it checks.
Claims and files checked
Review mode: full; reason: rebase
- Claim, Changeset: a plural numbered look covers display-1 to display-3: verified (
heavy display headingswrites all three; test "said in the plural, is every display look the heading draws"). - Claim, Changeset: one answer runs the looks in order: verified (one
sequence: trueanswer). - Claim, Changeset: the answer names the looks it covers when it writes them: verified for written answers (
_how-question.mjs:31778-31790); it also prints after a refused answer (non-blocking). - Claim, Changeset: each look's own line runs once and whole-theme dials are left out: verified (
_part-pieces.mjs:103-120; the letter-spacing answer has no dial). - Claim, Changeset: the letter-spacing ask no longer tightens every heading: false (the base offers the dial only as an alternative).
- Claim, Changeset: a family size is the largest look's and the others scale: verified (
display headings 60pxwrites 60px, 50px and 41px). - Claim, Changeset: a later clause that refers back covers every look: verified (
bold display headings, make them blue). - Claim, Changeset: the singular still writes display-1 only: verified (
display heading 60pxmatches the base). - Claim, description: editor-only, with no Core, record or official-theme change: verified (five files, all under
packages/cli/api/theme-edit/plus the Changeset). - Claim, description:
_how-question.mjschanges by +95/-5: verified. - Claim, description: no mood or feel phrase matches are added: verified (the diff adds no phrase entries).
- Claim, description: CI has not run at this head: verified (no workflow runs).
- Claim, description: the commits were gated in an integration branch, with a held-out answer key and a look gate: not reproducible here; at this head the pull request's tests, the CLI structure check, the Changeset check and eslint pass.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: blocking (claim about the base). - File
packages/cli/api/theme-edit/_how-question.mjs: non-blocking (looks line after an answer that writes nothing). - File
packages/cli/api/theme-edit/_part-pieces.mjs: blocking (all-fluid mode refusal). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: blocking (INV20 name). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: non-blocking (stale test title; no all-fluid mode case).
There was a problem hiding this comment.
Changes requested: plural display asks now reach every display look in one answer, but the three problems from the last review are still open at this head.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modegets the fluid-size note ("… say a size for them instead") instead of the base's "cannot be dark mode only", because the size-only branch in_part-pieces.mjs:81-95also takes mode-refusal drafts, so take it only for a step ask with no size said and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" is not true of the base, which only offers the
headings tightdial as an alternative and never runs it, so drop the parenthetical or say that a dial offered beside a look stays out of the family's one answer. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, and the CLI surface rule ("Tests sit beside the module they cover as<module>.test.mjs") needs it named_part-pieces.test.mjs.
Still non-blocking: the looks line prints after an answer that writes nothing (display headings 8px corners, display headings 0px), and the test title "folds every option of every look" no longer matches what it checks.
Claims and files checked
Review mode: full; reason: rebase
- Claim, Changeset: a numbered look said in the plural covers display-1 to display-3: verified (
heavy display headingswrites all three; test "said in the plural, is every display look the heading draws"). - Claim, Changeset: one answer runs the looks in order: verified (one
sequence: trueanswer). - Claim, Changeset: the answer names the looks it covers when it writes them: verified for written answers (
_how-question.mjs:31812-31824); it also prints after a refused answer (non-blocking). - Claim, Changeset: each look's own line runs once and whole-theme dials are left out: verified (
_part-pieces.mjs:103-119; the letter-spacing answer has no dial). - Claim, Changeset: the letter-spacing ask no longer tightens every heading: false (the base offers the dial only as an alternative).
- Claim, Changeset: a family size is the largest look's and the others scale: verified (
display headings 60pxwrites 60px, 50px and 41px). - Claim, Changeset: a later clause that refers back covers every look: verified (
bold display headings, make them blue). - Claim, Changeset: the singular still writes display-1 only: verified (
display heading 60pxmatches the base). - Claim, description: editor-only, with no Core, record or official-theme change: verified (the diff is five files, all under
packages/cli/api/theme-edit/plus the Changeset). - Claim, description: part 24 of 25, based on the part below it: verified (the base branch is the head of part 23).
- Claim, description:
_how-question.mjschanges by +95/-5: verified. - Claim, description: no mood or feel phrase matches are added: verified (the diff adds no phrase entries).
- Claim, description: CI has not run at this head: verified (no workflow runs).
- Claim, description: the commits were gated in an integration branch, with typechecks, a held-out answer key and a look gate: not reproducible here; at this head the pull request's tests, the CLI structure check, the Changeset check, eslint and the CLI typechecks pass, apart from two template-page errors from an unbuilt theme package outside this change.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: blocking (claim about the base). - File
packages/cli/api/theme-edit/_how-question.mjs: non-blocking (looks line after an answer that writes nothing). - File
packages/cli/api/theme-edit/_part-pieces.mjs: blocking (all-fluid mode refusal). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: blocking (test file name). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: non-blocking (stale test title; no all-fluid mode case).
There was a problem hiding this comment.
Changes requested: plural display asks now reach every display look in one answer, but the three problems from the last review are still open at this head.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modegets the fluid-size note ("… say a size for them instead") instead of the base's "cannot be dark mode only", because the size-only branch in_part-pieces.mjs:81-95also takes mode-refusal drafts, so take it only for a step ask with no size said and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" is not true of the base, which only offers the
headings tightdial as an alternative and never runs it, so drop the parenthetical or say that a dial offered beside a look stays out of the family's one answer. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, and the CLI surface rule ("Tests sit beside the module they cover as<module>.test.mjs") needs it named_part-pieces.test.mjs.
Still non-blocking: the looks line prints after an answer that writes nothing (display headings 8px corners, display headings 0px), and the test title "folds every option of every look" no longer matches what it checks.
Claims and files checked
Review mode: full; reason: rebase
- Claim, Changeset: a numbered look said in the plural covers display-1 to display-3: verified (
heavy display headingswrites all three; test "said in the plural, is every display look the heading draws"). - Claim, Changeset: one answer runs the looks in order: verified (one
sequence: trueanswer). - Claim, Changeset: the answer names the looks it covers when it writes them: verified for written answers (
_how-question.mjs:31827-31839); it also prints after a refused answer (non-blocking). - Claim, Changeset: each look's own line runs once and whole-theme dials are left out: verified (
_part-pieces.mjs:103-119; the letter-spacing answer has no dial). - Claim, Changeset: the letter-spacing ask no longer tightens every heading: false (the base offers the dial only as an alternative).
- Claim, Changeset: a family size is the largest look's and the others scale: verified (
display headings 60pxwrites 60px, 50px and 41px). - Claim, Changeset: a later clause that refers back covers every look: verified (
bold display headings, make them blue). - Claim, Changeset: the singular still writes display-1 only: verified (
display heading 60pxmatches the base). - Claim, description: editor-only, with no Core, record or official-theme change: verified (the diff is five files, all under
packages/cli/api/theme-edit/plus the Changeset). - Claim, description: part 24 of 25, based on the part below it: verified (the base branch is the head of part 23, and part 25 targets this branch).
- Claim, description:
_how-question.mjschanges by +95/-5: verified. - Claim, description: no mood or feel phrase matches are added: verified (the diff adds no phrase entries).
- Claim, description: CI has not run at this head: verified (no workflow runs).
- Claim, description: the commits were gated in an integration branch, with typechecks, a held-out answer key and a look gate: not reproducible here; at this head the pull request's tests, the CLI structure check, the Changeset check, eslint and the CLI JSON API typecheck pass.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: blocking (claim about the base). - File
packages/cli/api/theme-edit/_how-question.mjs: non-blocking (looks line after an answer that writes nothing). - File
packages/cli/api/theme-edit/_part-pieces.mjs: blocking (all-fluid mode refusal). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: blocking (test file name). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: non-blocking (stale test title; no all-fluid mode case).
There was a problem hiding this comment.
Changes requested: plural display asks now reach every display look in one answer, but the three problems from the last review are still open at this head.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modegets the fluid-size note ("… say a size for them instead") instead of the base's "cannot be dark mode only", because the size-only branch in_part-pieces.mjs:81-95also takes mode-refusal drafts, so take it only for a step ask with no size said and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" is not true of the base, which only offers the
headings tightdial as an alternative and never runs it, so drop the parenthetical or say that a dial offered beside a look stays out of the family's one answer. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, and the CLI surface rule ("Tests sit beside the module they cover as<module>.test.mjs") needs it named_part-pieces.test.mjs.
Still non-blocking: the looks line prints after an answer that writes nothing (display headings 8px corners, display headings 0px), and the test title "folds every option of every look" no longer matches what it checks.
Claims and files checked
Review mode: full; reason: rebase
- Claim, Changeset: a numbered look said in the plural covers display-1 to display-3: verified (
heavy display headingswrites all three; test "said in the plural, is every display look the heading draws"). - Claim, Changeset: one answer runs the looks in order: verified (one
sequence: trueanswer). - Claim, Changeset: the answer names the looks it covers when it writes them: verified for written answers (
_how-question.mjs:31829-31841); it also prints after a refused answer (non-blocking). - Claim, Changeset: each look's own line runs once and whole-theme dials are left out: verified (
_part-pieces.mjs:103-119; the letter-spacing answer has no dial). - Claim, Changeset: the letter-spacing ask no longer tightens every heading: false (the base offers the dial only as an alternative).
- Claim, Changeset: a family size is the largest look's and the others scale: verified (
display headings 60pxwrites 60px, 50px and 41px). - Claim, Changeset: a later clause that refers back covers every look: verified (
bold display headings, make them blue). - Claim, Changeset: the singular still writes display-1 only: verified (
display heading 60pxmatches the base). - Claim, description: editor-only, with no Core, record or official-theme change: verified (five files, all under
packages/cli/api/theme-edit/plus the Changeset). - Claim, description: part 24 of 25, based on the part below it: verified (the base branch is the head of part 23, and part 25 targets this branch).
- Claim, description:
_how-question.mjschanges by +95/-5: verified. - Claim, description: no mood or feel phrase matches are added: verified (the diff adds no phrase entries).
- Claim, description: CI has not run at this head: verified (no workflow runs).
- Claim, description: the commits were gated in an integration branch, with typechecks, a held-out answer key and a look gate: not reproducible here; at this head the pull request's tests, the CLI structure check, the Changeset check and the CLI JSON API typecheck pass, and the strict CLI typecheck reports no error in the changed files.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: blocking (claim about the base). - File
packages/cli/api/theme-edit/_how-question.mjs: non-blocking (looks line after an answer that writes nothing). - File
packages/cli/api/theme-edit/_part-pieces.mjs: blocking (all-fluid mode refusal). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: blocking (test file name). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: non-blocking (stale test title; no all-fluid mode case).
There was a problem hiding this comment.
Changes requested: plural display asks reach every display look in one answer, but the three problems from the last review are still open at this head.
- Miss: on a theme whose three display sizes are all
clamp(),display headings 72px in dark modegets the fluid-size note ("… say a size for them instead") instead of the base's "cannot be dark mode only", because the size-only branch in_part-pieces.mjs:81-95also takes mode-refusal drafts, so take it only for a step ask with no size said and add that ask to the all-fluid test. - Miss: the Changeset's "("display headings tighter letter spacing" no longer tightens every heading)" is not true of the base, which only offers the
headings tightdial as an alternative and never runs it, so drop the parenthetical or say that a dial offered beside a look stays out of the family's one answer. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjs, and the CLI surface rule ("Tests sit beside the module they cover as<module>.test.mjs") needs it named_part-pieces.test.mjs.
Still non-blocking: the looks line prints after an answer that writes nothing (display headings 8px corners, display headings 0px), and the test title "folds every option of every look" no longer matches what it checks.
Claims and files checked
Review mode: full; reason: rebase
- Claim, Changeset: a numbered look said in the plural covers display-1 to display-3: verified (
heavy display headingswrites all three; test "said in the plural, is every display look the heading draws"). - Claim, Changeset: one answer runs the looks in order: verified (one
sequence: trueanswer). - Claim, Changeset: the answer names the looks it covers when it writes them: verified for written answers (
_how-question.mjs:31798-31810); it also prints after a refused answer (non-blocking). - Claim, Changeset: each look's own line runs once and whole-theme dials are left out: verified (
_part-pieces.mjs:103-119; the letter-spacing answer has no dial). - Claim, Changeset: the letter-spacing ask no longer tightens every heading: false (the base offers the dial only as an alternative).
- Claim, Changeset: a family size is the largest look's and the others scale: verified (
display headings 60pxwrites 60px, 50px and 41px). - Claim, Changeset: a later clause that refers back covers every look: verified (
bold display headings, make them blue). - Claim, Changeset: the singular still writes display-1 only: verified (
display heading 60pxmatches the base). - Claim, description: editor-only, with no Core, record or official-theme change: verified (five files, all under
packages/cli/api/theme-edit/plus the Changeset). - Claim, description: part 24 of 25, based on the part below it, with the next part retargeting after it merges: verified (the part below ends at this base, and part 25 targets this branch).
- Claim, description:
_how-question.mjschanges by +95/-5: verified. - Claim, description: no mood or feel phrase matches are added: verified (the diff adds no phrase entries).
- Claim, description: CI has not run at this head: verified (no workflow runs).
- Claim, description: the commits were gated in an integration branch and each head is checked locally, with typechecks, a held-out answer key and a look gate: not reproducible here; at this head the pull request's tests, the CLI structure check, the Changeset check and the CLI JSON API typecheck pass, and the strict CLI typecheck reports no error in the changed files.
- File
.changeset/experimental-theme-how-plural-numbered-looks.md: blocking (claim about the base). - File
packages/cli/api/theme-edit/_how-question.mjs: non-blocking (looks line after an answer that writes nothing). - File
packages/cli/api/theme-edit/_part-pieces.mjs: blocking (all-fluid mode refusal). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: blocking (test file name). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: non-blocking (stale test title; no all-fluid mode case).
There was a problem hiding this comment.
Changes requested: display headings in the plural now cover display-1 to display-3 as decided on this pull request, but three fixes remain before approval.
- Miss: on a theme whose display sizes are all
clamp(),display headings 72px in dark modeanswers with the fluid-size note and advises writing the size, instead of saying a size cannot be dark-mode only (packages/cli/api/theme-edit/_part-pieces.mjs:81-95); keep a draft that already says why it writes nothing, and add this ask to the all-fluid test. - Miss: the Changeset says "display headings tighter letter spacing" no longer tightens every heading, but the base only offered the
headings tightdial as an alternative and never ran it, so drop or reword that parenthetical. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjsbut does not follow the CLI's<module>.test.mjstest naming (architecture:cli-surfaceINV20), so rename it_part-pieces.test.mjs.
The open non-blocking threads (the looks line after an answer that writes nothing, the dark-mode refusal said three times, the stale test title and the doubled Changeset wording) still apply. The new tests fail on the base and pass on this head.
Claims and files checked
Review mode: full; reason: rebase
- Claim: the change is limited to the CLI's experimental theme editor, with no Core, record or official-theme change: verified, all five files are under
packages/cli/api/theme-edit/or.changeset/. - Claim: a numbered look said in the plural is its whole family: verified by the new tests and by asks such as
heavy display headings. - Claim:
_how-question.mjschanges by 95 added and 5 deleted lines: verified. - Claim: no mood or feel phrase matches are added: verified, the diff adds only the plural flag and the family code.
- Claim: every commit passed the full suite, typechecks, structure and changeset checks and a held-out answer key on an integration branch: not verifiable here; at this head the pull request's tests, the structure check, the changeset check, eslint on the changed files and the JSON API typecheck pass.
- Claim: CI has not run on this head: verified, no workflow ran at this head.
- Claim: a look check on a sample site found no new blocking finding: not checked, this pull request renders nothing.
- Changeset: an experimental patch for the CLI: verified, the changeset check passes.
- Changeset:
heavy display headingsmakes display-1, display-2 and display-3 heavy in one answer: verified. - Changeset: the answer names the looks it covers when it writes them: verified, except that the looks line also prints after an answer that writes nothing (non-blocking).
- Changeset: each look's own line runs once and whole-theme dials stay out: verified.
- Changeset: the letter-spacing ask "no longer tightens every heading": false, the base never ran that dial.
- Changeset: a family size is the largest look's and the others scale: verified,
display headings 60pxwrites 60px, 50px and 41px. - Changeset:
bold display headings, make them bluecovers every look: verified. - Changeset: the singular still means the first look: verified,
display heading 60pxanswers as on the base. - File
.changeset/experimental-theme-how-plural-numbered-looks.md: false claim about the base (blocking); doubled wording (non-blocking). - File
packages/cli/api/theme-edit/_how-question.mjs: looks line after an answer that writes nothing (non-blocking); otherwise clear. - File
packages/cli/api/theme-edit/_part-pieces.mjs: all-fluid size-only branch replaces other refusals (blocking). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: name does not follow INV20 (blocking). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: stale test title (non-blocking); the new tests fail on the base and pass on the head.
…plies the editor-only fix
…mbered look said in the plural is its whole family
…at refer back to it, and the answer names the looks it covers
…s looks are named only when written
…ook, each step once; a part named once
… own line only, with no whole-theme dial beside it
…t, from the size the theme sets on each look
…ze scales in any length unit, from the size the theme sets on each look
…t, a clamp() size reads its token, and steps that can't be kept are said
…s, and says a look it leaves out (a clamp() size takes no step)
… whenever one is left out, and the looks line names only the looks written
…lone; a font, an alignment or a color said with it keeps its own answers
…n does in the editor too
There was a problem hiding this comment.
Changes requested: display headings in the plural now cover display-1 to display-3 as decided on this pull request, but three fixes remain before approval.
- Miss: on a theme whose display sizes are all
clamp(),display headings 72px in dark modeanswers with the fluid-size note and advises writing the size, instead of saying a size cannot be dark-mode only (packages/cli/api/theme-edit/_part-pieces.mjs:81-95); keep a draft that already says why it writes nothing, and add this ask to the all-fluid test. - Miss: the Changeset says "display headings tighter letter spacing" no longer tightens every heading, but the base only offered the
headings tightdial as an alternative and never ran it, so drop or reword that parenthetical. - Miss:
part-pieces-family-size.test.mjstests_part-pieces.mjsbut does not follow the CLI's<module>.test.mjstest naming (architecture:cli-surfaceINV20), so rename it_part-pieces.test.mjs.
The open non-blocking threads (the looks line after an answer that writes nothing, the mode refusal said three times, the stale test title and the doubled Changeset wording) still apply. The new tests fail on the base and pass on this head.
Claims and files checked
Review mode: full; reason: rebase
- Claim: the change is limited to the CLI's experimental theme editor, with no Core, record or official-theme change: verified, all five files are under
packages/cli/api/theme-edit/or.changeset/. - Claim: this is part 24 of 25 of a round landing in order on the previous part's branch: consistent with the base branch and the previous part's own numbering; stack landing order is not something the code shows.
- Claim: a numbered look said in the plural is its whole family: verified by the new tests and by asks such as
heavy display headings. - Claim:
_how-question.mjschanges by 95 added and 5 deleted lines: verified. - Claim: no mood or feel phrase matches are added: verified, the diff adds only the plural flag and the family code.
- Claim: every commit passed the full suite, typechecks, structure and changeset checks and a held-out answer key on an integration branch: not verifiable here; at this head the pull request's tests, the structure check, the changeset check and eslint on the changed files pass.
- Claim: CI has not run on this head: verified, no test, lint or build workflow ran at this head.
- Claim: a look check on a sample site found no new blocking finding: not checked, this pull request renders nothing.
- Changeset: an experimental patch for the CLI: verified, the changeset check passes.
- Changeset:
heavy display headingsmakes display-1, display-2 and display-3 heavy in one answer: verified. - Changeset: the answer names the looks it covers when it writes them: verified, except that the looks line also prints after an answer that writes nothing (non-blocking).
- Changeset: each look's own line runs once and whole-theme dials stay out: verified.
- Changeset: the letter-spacing ask "no longer tightens every heading": false, the base never ran that dial.
- Changeset: a family size is the largest look's and the others scale: verified,
display headings 60pxwrites 60px, 50px and 41px. - Changeset:
bold display headings, make them bluecovers every look: verified. - Changeset: the singular still means the first look: verified,
display heading 60pxanswers as on the base. - File
.changeset/experimental-theme-how-plural-numbered-looks.md: false claim about the base (blocking); doubled wording (non-blocking). - File
packages/cli/api/theme-edit/_how-question.mjs: looks line after an answer that writes nothing (non-blocking); otherwise clear. - File
packages/cli/api/theme-edit/_part-pieces.mjs: all-fluid size-only branch replaces other refusals (blocking). - File
packages/cli/api/theme-edit/part-pieces-family-size.test.mjs: name does not follow INV20 (blocking). - File
packages/cli/api/theme-edit/theme-how-reads-pieces-and-whole-looks.test.mjs: stale test title (non-blocking); the new tests fail on the base and pass on the head.
Summary: experimental theme how: display headings are every display size. Editor-only (experimental theme editor in
packages/cli); no Core, spec record or official-theme change.Part 24 of 25 of round 15, landing as a stack: based on
theme-r15-p24; merge in order (the next part retargets onto main after this one merges).What changes
Phrase rules
_how-question.mjsline delta: +95/-5.Test plan
CI=1, the five cli typechecks,check-cli-structure,check:changesets, and the held-outhowanswer key (252 right, 0 wrong writes).