Skip to content

experimental theme set: a state the part marks another way is written as that state - #12803

Closed
josephfarina wants to merge 1 commit into
theme-r15-p20-25from
theme-m-state-marked
Closed

josephfarina wants to merge 1 commit into
theme-r15-p20-25from
theme-m-state-marked

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

What users see

  • A word for exactly one of a part's states (--state pressed on a part whose press is active, inactive for disabled): it is now written as that state, and the result says so ("read as --state active: …"), beside any other note. One undo takes it back. A word that could mean more than one state is handled as before (not written; the refusal offers a reading).
  • A state a part shows from the element it rides (a list item's selected, which its Item marks): it is now written as the attribute Core marks ([data-selected="selected"]), inside the part's rule (after any :hover, so Core's disabled guard still applies, and ordered after the hover, press and focus rules as Core's own state block is). Before, it was written as a style key Core's theme doesn't take on that part, and the build warned Unknown prop "selected" on component "list-item". Now the build takes it with no warning. A theme that already saved --state selected on a list item builds the same with no rewrite of its settings file, and how list-item still names Core's selected look as --state selected.

Why

A theme had saved a selected look on list items, and every build warned about it. Separately, a typed state word with one clear meaning was refused instead of written. The rules are recorded in AST-050 beside DEC-11.

The general rules:

  • a state Core marks on the element a part rides is written the way Core marks it;
  • another word for exactly one of a part's states is that state.

Test plan

  • theme-state-marked-another-way.test.mjs covers:
    • typed and saved selected on list-item: the attribute selector is written, there is no unknown-prop warning, and the saved file is unchanged;
    • how list-item;
    • pressed is written as active with a note, and the undo works;
    • that note stands beside another note the setting carries (a one-mode theme's own --mode, and a var() typo note), and the undo leaves no entry;
    • current on a calendar day (whose current is today) is not read as its selected state;
    • a selected list item keeps its look over the hover look whichever was set first, with --mode, and over a hover set for one mode only;
    • the same state word set twice is no change the second time.
  • Updated tests that encoded a refusal for a one-meaning state word (they now expect the write and the note), and a CSS selector form for list-item selected.
  • The type gate (five cli typechecks and sync:api-types) is clean. The theme-edit, theme, parity and experimental suites have no new failures against the round-15 top.

Writing rubric results

Record rubric (docs/contributing/spec-writing.md) over the paragraph added to AST-050 DEC-11:

  • R1 narration: present-tense statements about how the editor writes a state; no project narration.
  • R2 research: none in the record.
  • R3 evidence: none added.
  • R4 rejected alternatives: none added; DEC-11's existing one line is unchanged.
  • R5 change references: none (no # numbers, /pull/ or /issues/).
  • R6 open questions: none added.
  • R7 project status: none; no build-status or work-order words.

@vercel

vercel Bot commented Nov 19, 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 9:58pm UTC

Request Review

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

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 20, 2026, 10:10 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's decision at this head, and two problems need fixing whatever that decision is.

No current spec record defines how astryx experimental theme editor set reads --state words or writes a state a part shows from the element it rides, so 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), or names the record that governs it: a word that names exactly one of a part's states is saved as that state with a note, current and selected are read as each other, and a list item's selected is written as :is([data-selected="selected"]) inside the plain rule.

  • The rewrite note goes into the single s.note slot with ??= (packages/cli/api/theme-edit/_check.mjs:5525), so set … --on list-item --state pressed --only saves active while the result shows only the --only note, and with var(--color-acent, #0a58ca) the rewrite note displaces the "did you mean --color-accent?" warning that --state active gives; please give the rewrite note its own field and test both cases.
  • current: ['current', 'selected'] (packages/cli/api/theme-edit/_tables.mjs:1082) saves --state current --on calendar-day as the selected look and says "calendar-day marks the current moment as selected", but Core marks today's day with aria-current="date" and the part lists today, so please add today to the readings so the word is offered there (or drop the reading) and add a calendar-day case to the test.

Not blocking: COMMON_STATES lost its doc comment to STATE_SYNONYMS in _tables.mjs, and about 54 lines only reformat untouched code.

Claims and files checked

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

Claims:

  • A word for exactly one of a part's states is written as that state instead of refused: verified (new test; the down and inactive cases; the base refuses them).
  • The result says so: false after an --only note (first finding).
  • One undo takes it back: verified (a bare undo and an undo naming the typed word both remove it).
  • A word that could mean several states still offers the choices: verified (refused, with the first reading suggested and every state listed).
  • A list item's selected is written as the attribute Core marks, inside the plain rule: verified (generated rule .astryx-list-item:is([data-selected="selected"])).
  • The build no longer warns about an unknown selected prop on the list item: verified (the base build gives that warning; the head's test sees none).
  • A theme that already saved it builds the same with its settings file unchanged: verified (new test; it fails on the base).
  • how list-item still names the selected look as --state selected: verified (passes on the base and the head).
  • Tests that expected a refusal now expect the write and the note, and accept the new selector: verified (the five changed test files and the changed how case pass).
  • The type gate is clean: verified for the changed files (the template-docs, strict, json-api and authoring typechecks report nothing in them; strict's two errors here are in unchanged templates that import an unbuilt theme package).
  • No new failures in the wider theme suites: not checked in full; the changed test files pass.
  • CI has not run on this head: verified (only the license and preview checks).

Files:

  • .changeset/experimental-theme-state-marked-another-way.md: "the result says so" is false after an --only note (first finding); otherwise clear.
  • packages/cli/api/theme-edit/_check.mjs: first finding.
  • packages/cli/api/theme-edit/_tables.mjs: second finding; displaced doc comment.
  • packages/cli/api/theme-edit/_parts.mjs: clear.
  • packages/cli/api/theme-edit/_settings.mjs: clear.
  • packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: clear; needs the --only, var()-typo and calendar-day cases from the findings.
  • packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.

Automated review (maintainer link)

Comment thread packages/cli/api/theme-edit/_check.mjs Resolved
Comment thread packages/cli/api/theme-edit/_tables.mjs Resolved
Comment thread packages/cli/api/theme-edit/_tables.mjs Resolved
@josephfarina
josephfarina force-pushed the theme-r15-p22 branch 22 times, most recently from 80142ff to 1a8a459 Compare November 19, 2026 10:55

@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 new AST-050 DEC-11 paragraph is approved for this head, and one problem needs fixing.

  • Miss: savedEntry in packages/cli/api/theme-edit/_edit.mjs re-implements the list of fields a saved setting drops that savedForm in _settings.mjs already defines, so export one per-setting helper from _settings.mjs and use it in both places to keep the repeated-command check from drifting again.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: a state word with exactly one reading is saved as that state, and the result says so beside any other note: verified (new tests; probe of down, clicked, hovered, inactive, open, pressed, checked, on).
  • Claim: one undo takes it back: verified (new and updated tests).
  • Claim: a word with several readings is handled as before, not written, with the refusal offering a reading: verified (_check.mjs:5714, :5765-5778; focused refused on head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover: verified (_settings.mjs:14578-14605; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified (_settings.mjs:6350-6369; Core's rule generator writes a style key after the base's pseudo-class rules).
  • Claim: before, the build warned about an unknown selected prop on list items: verified (base probe; the new test fails on the base).
  • Claim: the build now takes it with no warning, and a saved one builds the same with no rewrite of its settings file: verified (new tests pass on the head and fail on the base).
  • Claim: how list-item still names the selected look as --state selected: verified (test passes on head and base).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change: verified by the byte comparison; the test's first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (five updated test files pass).
  • Claim: the type gate is clean: three of the four CLI typechecks run are clean; strict reports the same two errors from an unbuilt theme package on the head and the base; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: finding (saved-form helper duplicated).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: 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 approving the new AST-050 DEC-11 paragraph again at this head, and one problem needs fixing whatever that decision is.

The earlier /approve-spec named the head before this rebase, and a new commit needs its own approval even though the patch is unchanged, so 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); it covers saving a --state word with exactly one reading among a part's states as that state with a note, writing a list item's selected as :is([data-selected="selected"]) inside the part's rule, and a hovered selected list row showing the selected look.

  • Miss: savedEntry in packages/cli/api/theme-edit/_edit.mjs re-implements the list of fields a saved setting drops that savedForm in _settings.mjs already defines, so export one per-setting helper from _settings.mjs and use it in both places to keep the repeated-command check from drifting again.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: a state word with exactly one reading is saved as that state, with a "read as" note beside any other note, and one undo removes it: verified (new and updated tests; probe of down, clicked, hovered, inactive, open, pressed, checked, on).
  • Claim: a word with several readings is handled as before, refused with a suggested reading: verified (_check.mjs:5714, :5765-5776; focused refused on head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class: verified (_settings.mjs:14599-14609; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified (_settings.mjs:6344-6356; order tests and probe).
  • Claim: before, the build warned about an unknown selected prop on list items: verified (base probe; the new test fails on the base).
  • Claim: the build now takes it with no warning, and a saved one builds the same with no rewrite of its settings file: verified (new tests pass on the head and fail on the base).
  • Claim: how list-item still names the selected look as --state selected: verified (test passes on head and base).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693); its approval is pending at this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change: verified by the byte comparison and the probe; the test's first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (five updated test files pass).
  • Claim: the type gate is clean: three of the four CLI typechecks run are clean; strict reports the same two errors from an unbuilt theme package on the head and the base; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: hold (appended DEC-11 paragraph needs approval at this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: finding (saved-form helper duplicated).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d0e984f
Covers spec:AST-050 DEC-11's paragraph on state words and the list item's selected reading (owner's ruling): a hovered selected list item shows the selected look, as Core's own keyed selected block does, in one-mode and --mode themes too.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d0e984f

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested for one fix; the new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head, so nothing else waits on a decision.

  • Miss: savedEntry in packages/cli/api/theme-edit/_edit.mjs re-implements the list of fields a saved setting drops that savedForm in _settings.mjs already defines, so export one per-setting helper from _settings.mjs and use it in both places to keep the repeated-command check from drifting again.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a state word with exactly one reading among a part's states is saved as that state, the result says so beside any other note, and one undo takes it back: verified (new and updated tests; probes of down, clicked, hovered, inactive, open, pressed, checked, on).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5680-5692 writes only a single reading; focused refused on head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class: verified (_settings.mjs:14587-14614; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified (_settings.mjs:6310-6366; order tests and probe).
  • Claim: before, the build warned about an unknown selected prop on list items: verified (base probe; the new test fails without this change).
  • Claim: the build now takes it with no warning, and a saved one builds the same with no rewrite of its settings file: verified (new tests).
  • Claim: how list-item still names the selected look as --state selected: verified (test passes with and without this change).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), and approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the byte comparison and the probe; the test's first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (five updated test files pass).
  • Claim: the type gate is clean: three of the four CLI typechecks run are clean; strict reports the same two errors from an unbuilt theme package with and without this change; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (appended DEC-11 paragraph approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: finding (saved-form helper duplicated).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: 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 approving the new AST-050 DEC-11 paragraph again at this head, and one problem needs fixing whatever that decision is.

The earlier /approve-spec comments named heads before this rebase, and a new commit needs its own approval even though the patch is unchanged: an engineering owner records the decision on the DEC-11 paragraph (a state word with one reading is written as that state with a note, and a list item's selected is written as the data-selected attribute inside the part's rule) and on a hovered selected list row showing the selected look by commenting /approve-spec with this head's full commit SHA on the pull request; the author may do so as an engineering owner.

  • Miss: savedEntry in packages/cli/api/theme-edit/_edit.mjs re-implements the list of fields a saved setting drops that savedForm in _settings.mjs already defines, so export one per-setting helper from _settings.mjs and use it in both places to keep the repeated-command check from drifting again.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: a state word with exactly one reading among a part's states is saved as that state, the result says so beside any other note, and one undo takes it back: verified (new and updated tests; probes of down, clicked, hovered, inactive, open, pressed, checked, on; a bare undo and an undo with the typed word both remove it).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5680-5692 writes only a single reading; focused refused on head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class: verified (_settings.mjs:14584-14614; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified (_settings.mjs:6310-6365; order tests and probe; Core's Item applies its selected style after its interaction styles, packages/core/src/Item/Item.tsx:1101).
  • Claim: before, the build warned about an unknown selected prop on list items: verified (base probe; the new test fails without this change).
  • Claim: the build now takes it with no warning, and a saved one builds the same with no rewrite of its settings file: verified (new tests).
  • Claim: how list-item still names the selected look as --state selected: verified (test passes with and without this change).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693); its approval named earlier heads.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the byte comparison and the probe; the test's first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate is clean: four of the five CLI typecheck configurations are clean; strict reports two errors from an unbuilt theme package in page templates, none in changed files; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Claim: the record paragraph passes the writing rubric (no narration, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: waits on an engineering owner's approval at this head.
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: finding (saved-form helper duplicated).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: 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 approving the new AST-050 DEC-11 paragraph again at this head, and one problem needs fixing whatever that decision is.

The earlier /approve-spec comments named heads before this rebase, and a new commit needs its own approval even though the patch is unchanged: an engineering owner records the decision on the DEC-11 paragraph (a state word with one reading is written as that state with a note, and a list item's selected is written as the data-selected attribute inside the part's rule) and on a hovered selected list row showing the selected look by commenting /approve-spec with this head's full commit SHA on the pull request; the author may do so as an engineering owner.

  • Miss: savedEntry in packages/cli/api/theme-edit/_edit.mjs re-implements the list of fields a saved setting drops that savedForm in _settings.mjs already defines, so export one per-setting helper from _settings.mjs and use it in both places to keep the repeated-command check from drifting again.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a state word with exactly one reading among a part's states is saved as that state, the result says so beside any other note, and one undo takes it back: verified (new and updated tests; probes of down, clicked, hovered, inactive, open, pressed, checked, on; a bare undo and an undo with the typed word both remove it).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5680-5692 writes only a single reading; focused refused on head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class: verified (_settings.mjs:14584-14614; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified (_settings.mjs:6310-6365; order tests and probe; Core's Item applies its selected style after its interaction styles, packages/core/src/Item/Item.tsx:1101).
  • Claim: before, the build warned about an unknown selected prop on list items: verified (base probe; the new test fails without this change).
  • Claim: the build now takes it with no warning, and a saved one builds the same with no rewrite of its settings file: verified (new tests).
  • Claim: how list-item still names the selected look as --state selected: verified (test passes with and without this change).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693); its approval named earlier heads.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the byte comparison and the probe; the test's first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate is clean: four of the five CLI typecheck configurations are clean; strict reports two errors from an unbuilt theme package in page templates, none in changed files; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Claim: the record paragraph passes the writing rubric (no narration, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: waits on an engineering owner's approval at this head.
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: finding (saved-form helper duplicated).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: 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 approving the new AST-050 DEC-11 paragraph again at this head, and one problem needs fixing whatever that decision is.

The earlier /approve-spec comments named heads before this rebase, and a new commit needs its own approval even though the patch is unchanged: an engineering owner records the decision on the DEC-11 paragraph (a state word with one reading is written as that state with a note, and a list item's selected is written as the data-selected attribute inside the part's rule) and on a hovered selected list row showing the selected look by commenting /approve-spec with this head's full commit SHA on the pull request; the author may do so as an engineering owner.

  • Miss: savedEntry in packages/cli/api/theme-edit/_edit.mjs re-implements the list of fields a saved setting drops that savedForm in _settings.mjs already defines, so export one per-setting helper from _settings.mjs and use it in both places to keep the repeated-command check from drifting again.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a state word with exactly one reading among a part's states is saved as that state, the result says so beside any other note, and one undo takes it back: verified (new and updated tests; probes of down, clicked, hovered, inactive, open, pressed, checked, on; a bare undo and an undo with the typed word both remove it).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5680-5692 writes only a single reading; focused refused on head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class: verified (_settings.mjs:14584-14614; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified (_settings.mjs:6310-6365; order tests and probe; Core's Item applies its selected style after its interaction styles, packages/core/src/Item/Item.tsx:1101).
  • Claim: before, the build warned about an unknown selected prop on list items: verified (base probe; the new test fails without this change).
  • Claim: the build now takes it with no warning, and a saved one builds the same with no rewrite of its settings file: verified (new tests).
  • Claim: how list-item still names the selected look as --state selected: verified (test passes with and without this change).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693); its approval named earlier heads.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the byte comparison and the probe; the test's first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate is clean: four of the five CLI typecheck configurations are clean; strict reports two errors from an unbuilt theme package in page templates, none in changed files; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Claim: the record paragraph passes the writing rubric (no narration, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: waits on an engineering owner's approval at this head.
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: finding (saved-form helper duplicated).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 625c1fe
Covers the spec:AST-050 DEC-11 state-words paragraph (owner's yes): a state word that means exactly one of a part's states is written as that state and says so, and a state shown from the ridden element is written as the attribute Core marks. A hovered selected list item shows the selected look.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested for one fix; the new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head.

  • Miss: savedEntry in packages/cli/api/theme-edit/_edit.mjs re-implements the list of fields a saved setting drops that savedForm in _settings.mjs already defines, so export one per-setting helper from _settings.mjs and use it in both places to keep the repeated-command check from drifting again.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a state word with exactly one reading among a part's states is saved as that state, the result says so beside any other note, and one undo takes it back: verified (new and updated tests; probes of down, clicked, hovered, inactive, open, pressed, checked, on; a bare undo and an undo with the typed word both remove it).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5680-5692 writes only a single reading; focused refused on head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class: verified (_settings.mjs:14584-14614; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified (_settings.mjs:6310-6365; order tests and probe; Core's Item applies its selected style after its interaction styles, packages/core/src/Item/Item.tsx:1101).
  • Claim: before, the build warned about an unknown selected prop on list items: verified (base probe; the new test fails without this change).
  • Claim: the build now takes it with no warning, and a saved one builds the same with no rewrite of its settings file: verified (new tests).
  • Claim: how list-item still names the selected look as --state selected: verified (test passes with and without this change).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the byte comparison and the probe; the test's first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate is clean: four of the five CLI typecheck configurations are clean; strict reports two errors from an unbuilt theme package in page templates, none in changed files; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Claim: the record paragraph passes the writing rubric (no narration, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: finding (saved-form helper duplicated).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: 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 approving the new AST-050 DEC-11 paragraph again at this head; the earlier blocking problem, the duplicated saved-form helper, is fixed.

The earlier /approve-spec comments named earlier commits, and this amended commit needs its own approval: an engineering owner records the decision on the DEC-11 paragraph (a state word with one reading is written as that state with a note, and a list item's selected is written as the data-selected attribute inside the part's rule) and on a hovered selected list row showing the selected look by commenting /approve-spec with this head's full commit SHA on the pull request; the author may do so as an engineering owner.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: full; reason: history

  • Claim: a word for exactly one of a part's states is now written as that state, the result says so beside any other note, and one undo takes it back: verified (new and updated tests; a probe of nine such words; undo tests).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5683-5692 writes only a single reading; the refusal names the part's states and suggests one, _check.mjs:5765-5775; focused is refused at head and base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class: verified (_settings.mjs:14599-14614; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified for the order (_settings.mjs:6310-6365; order tests and probe); the base build also repeated the hover under its selected rule, which the head drops, as the hovered-selected ruling covers.
  • Claim: before, it was written as a style key and the build warned about an unknown selected prop on list items: verified (probe at the base).
  • Claim: the build now takes it with no warning: verified (new tests; probe at the head).
  • Claim: a theme that already saved --state selected on a list item builds the same with no rewrite of its settings file: verified (new test).
  • Claim: how list-item still names the selected look as --state selected: verified (new test).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693); its approval at this head is pending.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode only: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the test's byte comparison; its first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate is clean: four of the five CLI typecheck configurations are clean; strict reports two errors from an unbuilt theme package in page templates, none in changed files; the API type sync was not run.
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass.
  • Claim: the record paragraph passes the writing rubric (no narration, research, evidence, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: waits on an engineering owner's approval at this head.
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear (now calls the shared saved-form helper).
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 4f50e03
Covers the spec:AST-050 DEC-11 state-words paragraph (owner's yes): a state word that means exactly one of a part's states is written as that state and says so, and a state shown from the ridden element is written as the attribute Core marks. A hovered selected list item shows the selected look.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI has not run on this head yet.

The new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head, and the problems raised on earlier heads are fixed; no blocking finding remains.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: a word for exactly one of a part's states is now written as that state, the result says so beside any other note, and one undo takes it back: verified (_check.mjs:5680-5692, _edit.mjs:7277-7278; new and updated tests; a probe of nine such words at the head and the base; undo tests).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5687 writes only a single reading; the refusal names the part's states and suggests one, _check.mjs:5765-5777; focused is refused at the head and the base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class, so the disabled guard still applies: verified (_settings.mjs:14603-14613; Core adds the guard only to a pseudo that starts with :hover; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified for the order (_settings.mjs:6310-6365; order tests and probe); the base build also repeated the hover under its selected rule, which the head drops, as the approved hovered-selected ruling covers.
  • Claim: before, it was written as a style key and the build warned about an unknown selected prop on list items: verified (probe at the base).
  • Claim: the build now takes it with no warning: verified (new tests; probe at the head).
  • Claim: a theme that already saved --state selected on a list item builds the same with no rewrite of its settings file: verified (new test).
  • Claim: how list-item still names the selected look as --state selected: verified (new test).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode only: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the test's byte comparison; its first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate (five CLI typechecks and the API type sync) is clean: verified (all five configurations clean, strict once the neutral theme package is built as CI builds it; the type sync succeeds).
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass (1,188 tests).
  • Claim: the record paragraph passes the writing rubric (no narration, research, evidence, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec ed16799
Covers the spec:AST-050 DEC-11 state-words paragraph (owner's yes): a state word that means exactly one of a part's states is written as that state and says so, and a state shown from the ridden element is written as the attribute Core marks. A hovered selected list item shows the selected look.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI has not run on this head yet.

This head rebases the same change with no change to its own patch; the new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head, and no blocking finding remains.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a word for exactly one of a part's states is now written as that state, the result says so beside any other note, and one undo takes it back: verified (_check.mjs:5680-5692, _edit.mjs:7277-7278; new and updated tests; a probe of nine such words at the head and the base; undo tests).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5687 writes only a single reading; the refusal names the part's states and suggests one, _check.mjs:5765-5777; focused is refused at the head and the base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class, so the disabled guard still applies: verified (_settings.mjs:14603-14613; Core adds the guard only to a pseudo that starts with :hover; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified for the order (_settings.mjs:6310-6365; order tests and probe); the base build also repeated the hover under its selected rule, which the head drops, as the approved hovered-selected ruling covers.
  • Claim: before, it was written as a style key and the build warned about an unknown selected prop on list items: verified (probe at the base).
  • Claim: the build now takes it with no warning: verified (new tests; probe at the head).
  • Claim: a theme that already saved --state selected on a list item builds the same with no rewrite of its settings file: verified (new test).
  • Claim: how list-item still names the selected look as --state selected: verified (new test).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode only: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the test's byte comparison; its first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate (five CLI typechecks and the API type sync) is clean: verified (all five configurations clean, strict once the neutral theme package is built as CI builds it; the type sync succeeds).
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass (1,188 tests).
  • Claim: the record paragraph passes the writing rubric (no narration, research, evidence, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 6c3b2e2
Covers the spec:AST-050 DEC-11 state-words paragraph (owner's yes): a state word that means exactly one of a part's states is written as that state and says so, and a state shown from the ridden element is written as the attribute Core marks. A hovered selected list item shows the selected look.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI has not run on this head yet.

This head rebases the same change with no change to its own patch; the new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head, and no blocking finding remains.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a word for exactly one of a part's states is now written as that state, the result says so beside any other note, and one undo takes it back: verified (_check.mjs:5680-5692, _edit.mjs:7277-7278; new and updated tests; a probe of nine such words at the head and the base; undo tests).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5687 writes only a single reading; the refusal names the part's states and suggests one, _check.mjs:5765-5777; focused is refused at the head and the base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class, so the disabled guard still applies: verified (_settings.mjs:14603-14613; Core adds the guard only to a pseudo that starts with :hover; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified for the order (_settings.mjs:6310-6365; order tests and probe); the base build also repeated the hover under its selected rule, which the head drops, as the approved hovered-selected ruling covers.
  • Claim: before, it was written as a style key and the build warned about an unknown selected prop on list items: verified (probe at the base).
  • Claim: the build now takes it with no warning: verified (new tests; probe at the head).
  • Claim: a theme that already saved --state selected on a list item builds the same with no rewrite of its settings file: verified (new test).
  • Claim: how list-item still names the selected look as --state selected: verified (new test).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode only: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the test's byte comparison; its first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate (five CLI typechecks and the API type sync) is clean: verified (all five configurations clean, strict once the neutral theme package is built as CI builds it; the type sync succeeds).
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass (1,188 tests).
  • Claim: the record paragraph passes the writing rubric (no narration, research, evidence, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec d1e06f3
Covers the spec:AST-050 DEC-11 state-words paragraph (owner's yes): a state word that means exactly one of a part's states is written as that state and says so, and a state shown from the ridden element is written as the attribute Core marks. A hovered selected list item shows the selected look.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI has not run on this head yet.

This head rebases the same change with no change to its own patch; the new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head, and no blocking finding remains.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a word for exactly one of a part's states is now written as that state, the result says so beside any other note, and one undo takes it back: verified (_check.mjs:5680-5692, _edit.mjs:7277-7278; new and updated tests; a probe of nine such words at the head and the base; undo tests).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5687 writes only a single reading; the refusal names the part's states and suggests one, _check.mjs:5765-5777; focused is refused at the head and the base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class, so the disabled guard still applies: verified (_settings.mjs:14603-14613; Core adds the guard only to a pseudo that starts with :hover; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified for the order (_settings.mjs:6310-6365; order tests and probe); the base build also repeated the hover under its selected rule, which the head drops, as the approved hovered-selected ruling covers.
  • Claim: before, it was written as a style key and the build warned about an unknown selected prop on list items: verified (probe at the base).
  • Claim: the build now takes it with no warning: verified (new tests; probe at the head).
  • Claim: a theme that already saved --state selected on a list item builds the same with no rewrite of its settings file: verified (new test).
  • Claim: how list-item still names the selected look as --state selected: verified (new test).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode only: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the test's byte comparison; its first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate (five CLI typechecks and the API type sync) is clean: verified (all five configurations clean, strict once the neutral theme package is built as CI builds it; the type sync succeeds).
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass (1,188 tests).
  • Claim: the record paragraph passes the writing rubric (no narration, research, evidence, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec f16f2dd
Covers the spec:AST-050 DEC-11 state-words paragraph (owner's yes): a state word that means exactly one of a part's states is written as that state and says so, and a state shown from the ridden element is written as the attribute Core marks. A hovered selected list item shows the selected look.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI has not run on this head yet.

This head re-applies the same change, with no change to its own patch, onto the rebuilt base branch, which now merges main; the new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head, and no blocking finding remains.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: a word for exactly one of a part's states is now written as that state, the result says so beside any other note, and one undo takes it back: verified (_check.mjs:5680-5692, _edit.mjs:7277-7278; new and updated tests; a probe of nine such words at the head and the base; undo tests).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5687 writes only a single reading; the refusal names the part's states and suggests one, _check.mjs:5765-5777; focused is refused at the head and the base).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class, so the disabled guard still applies: verified (_settings.mjs:14603-14613; Core adds the guard only to a pseudo that starts with :hover; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified for the order (_settings.mjs:6310-6365; order tests and probe); the base build also repeated the hover under its selected rule, which the head drops, as the approved hovered-selected ruling covers.
  • Claim: before, it was written as a style key and the build warned about an unknown selected prop on list items: verified (probe at the base).
  • Claim: the build now takes it with no warning: verified (new tests; probe at the head).
  • Claim: a theme that already saved --state selected on a list item builds the same with no rewrite of its settings file: verified (new test).
  • Claim: how list-item still names the selected look as --state selected: verified (new test).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode only: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the test's byte comparison; its first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate (five CLI typechecks and the API type sync) is clean: verified (all five configurations clean, strict once the neutral theme package is built as CI builds it; the type sync succeeds).
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for the seven changed test files, which pass (1,188 tests).
  • Claim: the record paragraph passes the writing rubric (no narration, research, evidence, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

… as that state

Another word for exactly one of a part's states is written as that state,
with a note (pressed where the press is active); a word for several is
still offered. A census state (a list item's selected, marked by its
Item) is written as the attribute Core marks inside the plain rule, so the
build takes it with no unknown-prop warning and a saved one builds the
same with no rewrite.

[skip ci]
@josephfarina

Copy link
Copy Markdown
Contributor Author

Covers the spec:AST-050 DEC-11 state-words paragraph (owner's yes): a state word that means exactly one of a part's states is written as that state and says so, and a state shown from the ridden element is written as the attribute Core marks. A hovered selected list item shows the selected look.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 56f9e10

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI: CI has not run on this head yet.

The change is the same as on the last revision, now on a base branch whose new commit edits four of the files it touches without changing its lines; the new AST-050 DEC-11 paragraph and the ruling that a hovered selected list row shows the selected look are approved for this head, the changed tests pass on it, and no blocking finding remains.

Not blocking: the first assertion in the repeat test (theme-state-marked-another-way.test.mjs:204) always passes and could pin the "no change" answer instead.

Claims and files checked

Review mode: full; reason: merge-touches-pr-files

  • Claim: a word for exactly one of a part's states is now written as that state, and the result says so beside any other note: verified (_check.mjs:5682-5690, _edit.mjs:7277-7278; new and updated tests; a probe of nine such words on the base and the head).
  • Claim: one undo takes it back: verified (undo in the new and updated tests; the typo-note test checks no list-item setting is left).
  • Claim: a word that could mean more than one state is handled as before, refused with a suggested reading: verified (_check.mjs:5686 writes only a single reading; the refusal names the part's states and suggests one, _check.mjs:5764-5776; focused is refused on the base and the head).
  • Claim: a list item's selected is written as the attribute Core marks, inside the part's rule and after any hover pseudo-class, so the disabled guard still applies: verified (_settings.mjs:14603-14613; Core adds the guard only to a pseudo that starts with :hover; generated CSS).
  • Claim: that rule is ordered after the hover, press and focus rules, as Core's own state block is: verified for the order (_settings.mjs:6310-6365; order tests and probe); the base build also repeated the hover under its selected rule, which the head drops, as the approved hovered-selected ruling covers.
  • Claim: before, it was written as a style key and the build warned about an unknown selected prop on list items: verified (probe on the base).
  • Claim: the build now takes it with no warning: verified (new tests; probe on the head).
  • Claim: a theme that already saved --state selected on a list item builds the same with no rewrite of its settings file: verified (new test).
  • Claim: how list-item still names the selected look as --state selected: verified (new test; probe on the base and the head).
  • Claim: the rules are recorded in AST-050 beside DEC-11: verified (spec.md:688-693), approved for this head.
  • Claim: current on a calendar day is not read as its selected state: verified (test and probe).
  • Claim: a selected list item keeps its look over hover whichever was set first, with --mode, and over a hover set for one mode only: verified (tests, probe, browser capture).
  • Claim: the same state word set twice is no change the second time: verified by the test's byte comparison; its first assertion always passes.
  • Claim: updated tests now expect the write and the note, and the attribute selector form: verified (the six updated test files pass).
  • Claim: the type gate (five CLI typechecks and the API type sync) is clean: verified (all five configurations clean once the neutral theme package is built as CI builds it; the type sync succeeds).
  • Claim: the theme-edit, theme, parity and experimental suites have no new failures: checked only for 26 theme-edit test files (the seven changed ones and 19 more that set a state word), which pass.
  • Claim: the record paragraph passes the writing rubric (no narration, research, evidence, change references, open questions or project status): verified (spec.md:688-693).
  • Changeset: one-meaning words are written with the result saying so, and several-meaning words are refused as before, naming the part's states and suggesting one: verified.
  • Changeset: a list item's selected is written as the attribute inside the part's rule, builds without the warning, and a saved one builds the same with no rewrite: verified.
  • File .changeset/experimental-theme-state-marked-another-way.md: clear (experimental patch).
  • File docs/specs/AST-050-app-themes/spec.md: clear (approved for this head).
  • File packages/cli/api/theme-edit/_check.mjs: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_parts.mjs: clear.
  • File packages/cli/api/theme-edit/_settings.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: clear.
  • File packages/cli/api/theme-edit/theme-edit.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-entries-asks.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-how.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-negated-state.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-facts-core-styles.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-part-states-marked.test.mjs: clear.
  • File packages/cli/api/theme-edit/theme-state-marked-another-way.test.mjs: non-blocking (one assertion always passes).
  • File packages/cli/api/theme-edit/themeEditSet.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

Landed in #13083.

This branch was successfully deployed

1 active deployment
Preview — 56f9e10f 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