Skip to content

experimental theme: the page colour note leads with AppShell - #12517

Closed
josephfarina wants to merge 5 commits into
theme-r15-p20from
theme-r15-p21
Closed

josephfarina wants to merge 5 commits into
theme-r15-p20from
theme-r15-p21

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary: experimental theme: the page colour note leads with AppShell. Mostly the experimental theme editor in packages/cli; it also rewrites the stable "use a theme" guide's page-colour paragraph (assets/docs/use-a-theme.doc.mjs). No Core, spec record or official-theme change.

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

What changes

  • experimental theme how and set: the page color note leads with AppShell, the body rule as the fallback, on the token path too (how asked by the token, the first set of it in a theme), and a one-mode theme says its page needs that color in every OS mode

Phrase rules

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

Test plan

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

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 20, 2026 11:25am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 20, 2026, 1:09 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.

Needs an engineering owner's decision before approval, plus two fixes.

No current spec record decides the page-colour guidance this pull request ships in the experimental theme editor and the stable "Use a theme" guide (lead with AppShell, keep a global body { background: var(--color-background-body) } rule as the fallback, and add the every-OS-mode sentence for one-mode themes), including whether to say that AppShell's surface and section variants do not paint the page colour. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so as an engineering owner.

Blocking:

  • The set page-colour note repeats on every whole-theme re-set of --color-background-body, though the comment, the test name and the description promise it once per theme: count the whole-theme entries before this set writes its own and add a test for a plain re-set (packages/cli/api/theme-edit/_edit.mjs:6881-6888).
  • The description says "Editor-only", but packages/cli/assets/docs/use-a-theme.doc.mjs also rewrites a paragraph of the stable "Use a theme" guide, so please say that in the description.

Two non-blocking notes are inline.

Claims and files checked

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

  • Claim (changeset): looking up the page-colour token opens with where the colour shows. Verified: the head prints the note right after the subject, and the token-path test passes.
  • Claim (changeset): the first set of the token gives the same note. Verified for the first set, but later whole-theme sets repeat it (blocking finding).
  • Claim (changeset): every page-colour answer gives the note. Verified for the question answers and their tests.
  • Claim (changeset): a one-mode theme adds the every-OS-mode sentence. Verified on a dark-only theme and by its test.
  • Claim (changeset): the "Use a theme" guide uses the same wording. Verified.
  • Claim (description): editor-only. False: the stable guide changes too (blocking finding). The claim of no Core, spec record or official-theme change is verified.
  • Claim (description): stacked on the previous round-15 part. Verified by the base branch.
  • Claim (description): _how-question.mjs changes by +21/-14 and adds no mood or feel phrase matches. Verified: the only other edits are the note text and a required Prettier reflow.
  • Claim (description): every commit passed the full checks on the integration branch. Not re-run in full. At this head, the changed test file passes (6 of its 7 tests fail on the base), and the CLI typechecks and changeset check pass.
  • Claim (description): this part's own CI runs on this head. Not yet: CI runs pull requests only against main and release branches, so it runs once this is retargeted.
  • Claim (description): look gate on the top of the stack. Not checked: this part renders nothing.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: blocking, the note repeats.
  • File packages/cli/api/theme-edit/_how-question.mjs: non-blocking stale guard. The reflow is required formatting.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: non-blocking stranded JSDoc.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: does not cover a plain re-set (part of the blocking finding).
  • File packages/cli/assets/docs/use-a-theme.doc.mjs: waits on the owner decision.

Automated review (maintainer link)

Comment thread packages/cli/api/theme-edit/_edit.mjs Resolved
});

/** Heading weights (`headings` dial): rung -> font-weight. */
/**

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.

Non-blocking: this block went in between the Heading weights JSDoc line above and HEADING_WEIGHTS. That leaves that comment stranded above PAGE_COLOR_NOTE, and HEADING_WEIGHTS without its doc. Move the block above the Heading weights comment.

@@ -29257,7 +29264,7 @@ export function draftAnswer(ctx, env, question) {
!result.some(d => /shows only where a part draws it/.test(d.text))

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.

Non-blocking: this guard still tests the old text (shows only where a part draws it), which the answer no longer prints, so it never matches. Test for PAGE_COLOR_NOTE, or drop the guard if nothing else can add the note.

@josephfarina

Copy link
Copy Markdown
Contributor Author

Owner decision (engineering owner, covering this pull request): the page-color guidance in the experimental theme editor and in the "Use a theme" guide leads with AppShell, where the theme's page color paints. For a page without AppShell it gives the global body { background: var(--color-background-body) } line, and one sentence says that an Astryx area embedded in another page does not add it, because it does not own that page.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 44c10e1

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 79a4b4e

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 18d69ff

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 8b122e7

@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: two small fixes.

An engineering owner has decided the page-colour guidance and approved this head, so what remains is:

  • The set page-colour note repeats on every plain re-set of --color-background-body, though the comment, the test name and the description promise it once per theme: count the whole-theme entries for the token before this set writes its own, and add a plain re-set case to the test (packages/cli/api/theme-edit/_edit.mjs:6886-6893).
  • The description says "Editor-only", but packages/cli/assets/docs/use-a-theme.doc.mjs also rewrites a paragraph of the stable "Use a theme" guide, so please say that in the description.

The two non-blocking inline notes from the earlier review (the stale guard in _how-question.mjs and the stranded JSDoc in _tables.mjs) still apply.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): looking up the page-colour token now opens with where the colour shows. Verified: the token answer puts the note before source, and the token-path test passes.
  • Claim (changeset): the first set of the token gives the same note. Verified for the first set, but later plain sets repeat it (blocking finding).
  • Claim (changeset): every page-colour answer gives the note. Verified by the question-answer path and its tests.
  • Claim (changeset): a theme with one mode adds the every-OS-mode sentence. Verified on dark-only and light-only themes and by its test.
  • Claim (changeset): the "Use a theme" guide uses the same wording. Verified: astryx docs use-a-theme quick-start prints the new paragraph.
  • Claim (description): editor-only. False: the stable guide changes too (blocking finding).
  • Claim (description): no Core, spec record or official-theme change. Verified from the changed files.
  • Claim (description): part 21 of a stack, based on the previous part. Verified by the base branch.
  • Claim (description): the note leads with AppShell, keeps the body rule as the fallback, reaches the token path, and adds the one-mode sentence. Verified, apart from the once-per-theme repeat.
  • Claim (description): _how-question.mjs changes by +21/-14 and adds no mood or feel phrase matches. Verified: the other hunks are a Prettier reflow that the base file needs.
  • Claim (description): every commit passed the full checks on the integration branch. Not re-run in full; at this head the changed test file passes 7 of 7, the changeset check passes, and the strict CLI typecheck reports no error in the changed files.
  • Claim (description): CI has not run on this head. Verified: no build or test workflow has run.
  • Claim (description): the look gate on the top of the stack. Not checked: this part renders no component.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: blocking, the note repeats.
  • File packages/cli/api/theme-edit/_how-question.mjs: non-blocking stale guard; the reflow is required formatting.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: non-blocking stranded JSDoc.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: does not cover a plain re-set (part of the blocking finding).
  • File packages/cli/assets/docs/use-a-theme.doc.mjs: clear; the description must mention it (blocking finding).

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec a1bfbc5

@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: two small fixes.

An engineering owner has decided the page-colour guidance and approved this head, so what remains is:

  • The set page-colour note repeats on every plain re-set of --color-background-body, though the code comment, the test name and the description promise it once per theme: count the theme's entries for the token before this set writes its own, and add a plain re-set case to the test (packages/cli/api/theme-edit/_edit.mjs:6886-6893).
  • The description says "Editor-only", but packages/cli/assets/docs/use-a-theme.doc.mjs also rewrites a paragraph of the stable "Use a theme" guide, so please say that in the description.

The two non-blocking inline notes from the earlier review (the stale guard in _how-question.mjs and the stranded JSDoc in _tables.mjs) still apply. CI has not run on this head yet.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): looking up the page-colour token now opens with where the colour shows. Verified: the token answer puts the note right after its kind and subject, before source, and the token-path test passes.
  • Claim (changeset): the first set of the token in a theme gives the same note. Verified for the first set, but later plain sets repeat it (blocking finding).
  • Claim (changeset): every page-colour answer gives the note. Verified by the question-answer path and its tests.
  • Claim (changeset): a theme with one mode adds the every-OS-mode sentence. Verified by the one-mode test.
  • Claim (changeset): the "Use a theme" guide uses the same wording. Verified in the guide paragraph.
  • Claim (description): editor-only. False: the stable guide changes too (blocking finding).
  • Claim (description): no Core, spec record or official-theme change. Verified from the changed files.
  • Claim (description): part 21 of a stack, based on the previous part. Verified by the base branch.
  • Claim (description): the note leads with AppShell, keeps the body rule as the fallback, reaches the token path, and adds the one-mode sentence. Verified, apart from the once-per-theme repeat.
  • Claim (description): _how-question.mjs changes by +21/-14 and adds no mood or feel phrase matches. Verified: the other hunks are a Prettier reflow that the base file needs.
  • Claim (description): every commit passed the full checks on the integration branch. Not re-run in full; at this head the changed test file passes 7 of 7, the changeset and CLI structure checks pass, and the CLI typechecks report no error in the changed files.
  • Claim (description): CI has not run on this head. Verified: no build or test workflow has run.
  • Claim (description): the look gate on the top of the stack. Not checked: this part renders no component.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: blocking, the note repeats.
  • File packages/cli/api/theme-edit/_how-question.mjs: non-blocking stale guard; the reflow is required formatting.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: non-blocking stranded JSDoc.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: does not cover a plain re-set (part of the blocking finding).
  • File packages/cli/assets/docs/use-a-theme.doc.mjs: clear; the description must mention it (blocking finding).

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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance matches the engineering owner's decision on this pull request, and the changed tests cover the token lookup, the first set, the plain-words answers and the one-mode sentence; they fail on the base code and pass here.

Two optional cleanups remain from the earlier inline comments:

  • packages/cli/api/theme-edit/_tables.mjs:408: the new block sits between the Heading weights comment and HEADING_WEIGHTS; move it above that comment.
  • packages/cli/api/theme-edit/_how-question.mjs:30919: the guard still tests the old "shows only where a part draws it" text, which no answer prints now; test for the new note or drop the guard.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: how --color-background-body opens with where the page colour shows: verified (_how.mjs:1498-1501, token-path test).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6105-6109, :7103-7110, set-once test).
  • Claim: every page-colour answer leads with AppShell and gives the body rule as the fallback: verified (_tables.mjs:413-414, _how-question.mjs:30916-30925, three plain-words tests).
  • Claim: a one-mode theme's note adds the every-OS-mode sentence: verified (_tables.mjs:423-426, one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58).
  • Claim: mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change: verified (changed files).
  • Claim: part of a stacked round based on theme-r15-p20: verified (base branch).
  • Claim: _how-question.mjs line delta +14/-6: verified (diff stats).
  • Claim: adds no mood or feel phrase matches: verified (that file only reflows three expressions, imports the note and changes answer text).
  • Claim: the commits passed the integration-branch gates: partly verified (the changed test file, the changeset check, the structure check and one cli typecheck pass here; the other cli typecheck shows two errors that also occur on the base; the full suite and the answer key were not re-run).
  • Claim: CI has not run on this head: verified (no workflow run; CI runs for pull requests to main).
  • Claim: each head is checked locally: partly verified (as above).
  • Claim: the look gate on the top of the stack found nothing new: not checked (it describes the top of the stack; this part renders no component).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how-question.mjs: non-blocking dead guard.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: non-blocking stranded comment.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance matches the engineering owner's decision on this pull request, and the changed tests cover the token lookup, the first set, the plain-words answers and the one-mode sentence; all seven pass here, and six of them fail on the base code.

Two optional cleanups remain from the earlier inline comments:

  • packages/cli/api/theme-edit/_tables.mjs:408: the new block sits between the Heading weights comment and HEADING_WEIGHTS; move it above that comment.
  • packages/cli/api/theme-edit/_how-question.mjs:30920: the guard still tests the old "shows only where a part draws it" text, which no answer prints now; test for the new note or drop the guard.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501, the token-path test).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6106-6110, :7122-7129; the set-once test also covers a plain re-set).
  • Claim: every page-colour answer leads with AppShell and gives the body rule as the fallback: verified (_tables.mjs:413-414, _how-question.mjs:30918-30926, three plain-words tests).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:423-426, the one-mode test).
  • Claim: the "Use a theme" guide gives the same advice: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the change is the experimental editor plus one stable guide paragraph, with no Core, spec record or official-theme change, stacked on the previous part: verified (seven files under packages/cli and .changeset; the base is the previous part's branch).
  • Claim: _how-question.mjs changes by +14/-6 and adds no mood or feel phrase matches: verified (line counts; three formatting reflows plus the note text).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, and the stack's look gate found nothing new: not verifiable here (process claims; the changed tests pass here).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded JSDoc at line 408 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 30920 (optional); three formatting-only reflows.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance matches the engineering owner's decision on this pull request, and the changed tests cover the token lookup, the first set, the plain-words answers and the one-mode sentence; all seven pass here, and six of them fail on the base code.

Two optional cleanups remain from the earlier inline comments:

  • packages/cli/api/theme-edit/_tables.mjs:408: the new block sits between the Heading weights comment and HEADING_WEIGHTS; move it above that comment.
  • packages/cli/api/theme-edit/_how-question.mjs:30920: the guard still tests the old "shows only where a part draws it" text, which no answer prints now; test for the new note or drop the guard.
Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501, the token-path test).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6106-6110, :7122-7129; the set-once test also covers a plain re-set).
  • Claim: every page-colour answer leads with AppShell and gives the body rule as the fallback: verified (_tables.mjs:413-414, _how-question.mjs:30918-30926, three plain-words tests).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:423-426, the one-mode test).
  • Claim: the "Use a theme" guide gives the same advice: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the change is the experimental editor plus one stable guide paragraph, with no Core, spec record or official-theme change, stacked on the previous part: verified (seven files under packages/cli and .changeset; the base is the previous part's branch).
  • Claim: _how-question.mjs changes by +14/-6 and adds no mood or feel phrase matches: verified (line counts; three formatting reflows plus the note text).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, and the stack's look gate found nothing new: not verifiable here (process claims; the changed tests pass here).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded JSDoc at line 408 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 30920 (optional); three formatting-only reflows.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance matches the engineering owner's decision on this pull request, and the changed tests cover the token lookup, the first set, the plain-words answers and the one-mode sentence; all seven pass here, and six of them fail on the base code.

Two optional cleanups remain from earlier inline comments:

  • packages/cli/api/theme-edit/_tables.mjs:408: the new block sits between the Heading weights comment and HEADING_WEIGHTS; move it above that comment.
  • packages/cli/api/theme-edit/_how-question.mjs:31051: the guard still tests the old "shows only where a part draws it" text, which no answer prints now; test for the new note or drop the guard.
Claims and files checked

Review mode: full; reason: rebase

  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501, the token-path test, a command transcript).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6121-6125, :7137-7144; the set-once test also covers a plain re-set).
  • Claim: every page-colour answer leads with AppShell and gives the body rule as the fallback: verified (_tables.mjs:413-414, _how-question.mjs:31054, three plain-words tests).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:423-426, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus one stable guide paragraph, with no Core, spec record or official-theme change, stacked on the previous part: verified (seven files under packages/cli and .changeset; the base is the previous part's branch).
  • Claim: _how-question.mjs changes by +14/-6 and adds no mood or feel phrase matches: verified (line counts; three formatting reflows plus the note text).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, and the stack's look gate found nothing new: not verifiable here (process claims; the changed tests pass here).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded JSDoc at line 408 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31051 (optional); three formatting-only reflows.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance matches the engineering owner's decision on this pull request, and the pull request's own patch is unchanged by this rebase. The changed tests cover the token lookup, the first set, the plain-words answers and the one-mode sentence; with this patch all seven pass, and six of them fail on the base code.

Two optional cleanups remain from earlier inline comments:

  • packages/cli/api/theme-edit/_tables.mjs:408: the new block sits between the Heading weights comment and HEADING_WEIGHTS; move it above that comment.
  • packages/cli/api/theme-edit/_how-question.mjs:31051: the guard still tests the old "shows only where a part draws it" text, which no answer prints now; test for the new note or drop the guard.
Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501, the token-path test, a command transcript).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6121-6125, :7137-7144; the set-once test also covers a plain re-set).
  • Claim: every page-colour answer leads with AppShell and gives the body rule as the fallback: verified (_tables.mjs:413-414, _how-question.mjs:31054, three plain-words tests).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:423-426, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus one stable guide paragraph, with no Core, spec record or official-theme change, stacked on the previous part: verified (seven files under packages/cli and .changeset; the base is the previous part's branch).
  • Claim: _how-question.mjs changes by +14/-6 and adds no mood or feel phrase matches: verified (line counts; three formatting reflows plus the note text).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, and the stack's look gate found nothing new: not verifiable here (process claims; the changed tests pass with this patch).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded JSDoc at line 408 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31051 (optional); three formatting-only reflows.
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Changes requested: one line of the description is out of date after the base rewrite; the code itself is ready.

  • Regression: the description's "Phrase rules" line says _how-question.mjs changes by +14/-6, but at this head it changes by +2/-1 because the rewritten base now carries the three formatting reflows, so please change that line to +2/-1.

The page-colour guidance matches the engineering owner's decision on this pull request, and the changed tests pass at this head while six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31254 that tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the title and description say the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, three plain-words tests, a command transcript).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501, the token-path test, a transcript).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6125, :7166-7171; the set-once test also covers a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31257).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change, based on the previous part's branch: verified (seven files under packages/cli and .changeset; the base branch is the previous part).
  • Claim: _how-question.mjs changes by +14/-6: false (+2/-1 at this head; the reflows are in the base).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, and the stack's look gate found nothing new: not verifiable here (process claims; the changed tests pass at this head and the CLI typechecks report no error in changed files).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31254 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide matches the engineering owner's decision on this pull request, and the description's line count for _how-question.mjs now matches the change. The changed tests pass at this head, and six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31261, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, three plain-words tests, command transcript).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6125, :7164-7171; the set-once test also covers a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31264).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change, based on the previous part's branch: verified (seven files under packages/cli and .changeset; the base branch is the previous part).
  • Claim: _how-question.mjs changes by +2/-1: verified (file list and diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, and the stack's look gate found nothing new: not verifiable here (process claims; the changed tests pass at this head and the CLI typechecks report no error in changed files).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31261 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

This head carries the same four commits onto the updated base with an unchanged patch. The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, the changed tests pass at this head, and six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31266, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, three plain-words tests, command transcript).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6125, :7164-7171; the set-once test also covers a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31269).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change, based on the previous part's branch: verified (seven files under packages/cli and .changeset; the base branch is the previous part).
  • Claim: _how-question.mjs changes by +2/-1: verified (file list and diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, and the stack's look gate found nothing new: not verifiable here (process claims; the changed tests pass at this head, and check:cli-structure, check:changesets and the CLI typechecks report no error in changed files).
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31266 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Changes requested: one line to delete. The page-colour guidance itself still matches the engineering owner's decision on this pull request.

  • Regression: after the rebase, nothing in packages/cli/api/theme-edit/_edit.mjs reads the AUTO_SPREAD import at line 60 (the base now computes onlyHint with onlyMeans), so ESLint's no-unused-vars rule fails on it and the required lint check will fail; delete that import line.

The changed tests pass at this head, and six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31363, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, three plain-words tests, command transcript).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6125, :7164-7171; the set-once test also covers a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31366).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change, based on the previous part's branch: verified (seven files under packages/cli and .changeset; the base branch is the previous part).
  • Claim: _how-question.mjs changes by +2/-1: verified (file list and diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, any failure found only at this head is fixed here, and the stack's look gate found nothing new: not verifiable here (process claims); the typechecks, structure and changeset checks and the changed tests it lists pass, but ESLint, which it does not list, fails at _edit.mjs:60.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: unused AUTO_SPREAD import at line 60 (blocking).
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31363 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.doc.mjs: clear.

Automated review (maintainer link)

Comment thread packages/cli/api/theme-edit/_edit.mjs Resolved

@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; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, and the unused AUTO_SPREAD import that failed ESLint at the previous head is gone. The changed tests pass at this head, and six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31363, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, three plain-words tests, command transcript).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1498-1501; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6130-6134, :7171-7178; the set-once test also covers a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31366).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change, based on the previous part's branch: verified (seven files under packages/cli and .changeset; the base branch is the previous part).
  • Claim: _how-question.mjs changes by +2/-1: verified (file list and diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, any failure found only at this head is fixed here, and the stack's look gate found nothing new: not verifiable here (process claims); the typechecks, structure and changeset checks, ESLint, Prettier and the changed tests pass at this head.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear (the unused import is removed).
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31363 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, and its text is unchanged by the rebase. The changed tests pass at this head, and six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31425, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, the plain-words tests, command output).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1502-1505; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6129-6133, :7145-7152; the set-once test also covers a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31428).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change, based on the previous part's branch: verified (seven files under packages/cli and .changeset; the base branch is the previous part).
  • Claim: _how-question.mjs changes by +2/-1: verified (diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, any failure found only at this head is fixed here, and the stack's look gate found nothing new: not verifiable here (process claims); the changeset and structure checks, ESLint, Prettier, the CLI typechecks (apart from two missing-build-output errors in unchanged templates) and the changed tests pass at this head.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31425 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, and the rebase leaves its three commits unchanged. The changed tests pass at this head, and six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31447, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, the plain-words tests, command output).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1502-1505; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6129-6133, :7145-7152; the set-once test and command output also cover a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31450).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test, command output).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change, based on the previous part's branch: verified (seven files under packages/cli and .changeset; the base branch is the previous part).
  • Claim: _how-question.mjs changes by +2/-1: verified (diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, any failure found only at this head is fixed here, and the stack's look gate found nothing new: not verifiable here (process claims); the changeset and structure checks, ESLint, Prettier, the CLI typechecks (apart from two missing-build-output errors in unchanged templates) and the changed tests pass at this head.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: dead guard at line 31447 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, and the changed tests pass at this head while six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31324, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, the plain-words tests, command output).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1502-1505; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6129-6133, :7145-7152; the set-once test and command output also cover a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31327).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test, command output).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change: verified (seven files under packages/cli and .changeset).
  • Claim: this part is based on the previous part's branch and merges in order: the base branch is verified; the merge order is a process claim.
  • Claim: _how-question.mjs changes by +2/-1: verified (diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, any failure found only at this head is fixed here, and the stack's look gate found nothing new: not verifiable here (process claims); the changeset and structure checks, ESLint, the CLI typechecks (apart from two missing-build-output errors in unchanged templates) and the changed tests pass at this head.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: stale guard at line 31324 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, and the changed tests pass at this head while six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31546, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, the plain-words tests, command output).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1502-1505; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6129-6133, :7145-7152; the set-once test and command output also cover a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31549).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test, command output).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag; the changeset check passes).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change: verified (seven files under packages/cli and .changeset).
  • Claim: this part is based on the previous part's branch and merges in order: the base branch is verified; the merge order is a process claim.
  • Claim: _how-question.mjs changes by +2/-1: verified (diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, any failure found only at this head is fixed here, and the stack's look gate found nothing new: not verifiable here (process claims); the changeset and structure checks, ESLint, Prettier, the CLI typechecks (apart from two missing-build-output errors in unchanged templates, the same on the base code) and the changed tests pass at this head.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: stale guard at line 31546 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, and the changed tests pass at this head while six of them fail on the base code. Two optional cleanups from earlier inline comments still apply: the stranded Heading weights comment at packages/cli/api/theme-edit/_tables.mjs:396, and the guard at packages/cli/api/theme-edit/_how-question.mjs:31526, which tests text no answer prints now.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: the page-colour note leads with AppShell, with the body rule as the fallback: verified (_tables.mjs:401-402, the plain-words tests, command output).
  • Claim: how --color-background-body now opens with where the page colour shows: verified (_how.mjs:1502-1505; the note: line prints right after subject:).
  • Claim: the first set of that token in a theme says the same, once: verified (_edit.mjs:6129-6133, :7145-7152; the set-once test and command output also cover a dark-mode set and a plain re-set).
  • Claim: every page-colour answer gives the note: verified (_how-question.mjs:31529).
  • Claim: a one-mode theme's note adds that the page needs the theme's page colour in every OS mode: verified (_tables.mjs:411-414, the one-mode test, command output).
  • Claim: the "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58, worded for the guide).
  • Claim: the changeset is an experimental patch for the CLI: verified (changeset front matter and tag; the changeset check passes).
  • Claim: the change is mostly the experimental editor plus the stable guide paragraph, with no Core, spec record or official-theme change: verified (seven files under packages/cli and .changeset).
  • Claim: this part is based on the previous part's branch and merges in order: the base branch is verified; the merge order is a process claim.
  • Claim: _how-question.mjs changes by +2/-1: verified (diff stats).
  • Claim: the change adds no mood or feel phrase matches: verified (the file's only changes are the note line and its import).
  • Claim: CI has not run on this head yet: verified (no CI workflow run at this head).
  • Claim: every commit was gated on the round's integration branch, each head is checked locally, any failure found only at this head is fixed here, and the stack's look gate found nothing new: not verifiable here (process claims); the changeset and structure checks, ESLint, Prettier, the CLI typechecks (apart from two missing-build-output errors in unchanged templates) and the changed tests pass at this head.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: stranded comment at line 396 (optional).
  • File packages/cli/api/theme-edit/_how-question.mjs: stale guard at line 31526 (optional).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour guidance in the editor and the "Use a theme" guide still matches the engineering owner's decision on this pull request, and its text is unchanged since the head that owner last approved. The changed tests fail on the base code and pass here, and there are no blocking findings.

Two optional cleanups, from earlier inline comments that still apply:

  • _how-question.mjs:31647: the guard tests the retired sentence shows only where a part draws it, so it never matches; test for the new note or drop the guard.
  • _tables.mjs:396: the new block sits between the Heading weights comment and HEADING_WEIGHTS; move it above that comment.
Claims and files checked

Review mode: full; reason: rebase

Claims (description):

  • The change is mostly the experimental theme editor, plus the stable "use a theme" guide paragraph: verified (the seven changed files; use-a-theme.doc.mjs:58).
  • No Core, spec record or official theme changes: verified (every path is under packages/cli or .changeset).
  • The part sits in a stack on the previous round-15 branch: verified for the base branch; the merge order is process and not checkable here.
  • how and set lead the page colour note with AppShell, with the body rule as fallback, on the token path and for a one-mode theme: verified (command transcripts; theme-how-page-shows-where.test.mjs).
  • _how-question.mjs changes by +2/-1: verified.
  • No new mood or feel phrase matches: verified (the only _how-question.mjs change is one answer's text, :31650).
  • Every commit passed the integration branch's suites and the held-out answer key: process claim, not checkable here; the structure, changeset and typecheck runs here pass, apart from two missing-build-output errors the base shares.
  • CI has not run on this head because a stacked part runs CI once it targets main: verified (no workflow run; CI runs for pull requests to main and release/**).
  • Each head is checked locally before CI: process claim, not checkable here.
  • A look check on a site built from the top of the stack found no new blocking finding: process claim about the top of the stack, not checkable here; this part changes no rendered UI.

Claims (changeset):

  • how --color-background-body opens with where the page colour shows: verified.
  • The first set of the token in a theme gives the same note: verified (a later dark-mode set and a plain re-set stay quiet).
  • Every page-colour answer gives it: verified (plain-words answers, _how-question.mjs:31650).
  • The note leads with AppShell and gives the body rule as the fallback: verified (_tables.mjs:401-402).
  • A one-mode theme's note adds the every-OS-mode sentence: verified (_tables.mjs:411-414).
  • The "Use a theme" guide uses the same wording: verified (use-a-theme.doc.mjs:58).

Files:

  • .changeset/experimental-theme-page-color-token-path.md: clear.
  • packages/cli/api/theme-edit/_edit.mjs: clear.
  • packages/cli/api/theme-edit/_how-question.mjs: non-blocking dead guard at :31647.
  • packages/cli/api/theme-edit/_how.mjs: clear.
  • packages/cli/api/theme-edit/_tables.mjs: non-blocking stranded comment at :396.
  • packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour note now leads with AppShell on every editor path and in the "Use a theme" guide, as the engineering owner decided on this pull request. The changed tests fail on the base code and pass here.

Two optional cleanups are still open in their review threads. The Heading weights comment in _tables.mjs now sits above the new note instead of HEADING_WEIGHTS. The duplicate guard in _how-question.mjs tests text the editor no longer prints.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: how --color-background-body opens with where the page colour shows. Verified: the note prints after the kind and subject, before source (_how.mjs:1502-1505, and the token-path test).
  • Claim: the first set of that token in a theme notes the same. Verified: a later --mode dark set and a plain re-set stay silent (_edit.mjs:6131-6133, :7146-7152, and the once-per-theme test).
  • Claim: every page-colour answer says it. Verified (_how-question.mjs:31666, and the three page-colour asks in the test).
  • Claim: wrap the page in AppShell, else add the body rule to global CSS. Verified (_tables.mjs:401-402).
  • Claim: a one-mode theme adds that the page needs its colour in every OS mode. Verified (_tables.mjs:411-414, and the one-mode test).
  • Claim: the "Use a theme" guide uses the same wording. Verified (use-a-theme.doc.mjs:58).
  • Claim: the change is mostly the editor, plus the stable guide paragraph, with no Core, spec record or official-theme change. Verified on the net diff of seven files; the first and last commits cancel out.
  • Claim: _how-question.mjs changes by +2/-1 and adds no mood or feel phrase. Verified.
  • Claim: CI has not run on this head. Verified.
  • Claims about the integration-branch gate, the per-head local checks and the look gate: not checkable from this pull request. The equivalent local checks pass here.
  • File .changeset/experimental-theme-page-color-token-path.md: clear
  • File packages/cli/api/theme-edit/_edit.mjs: clear
  • File packages/cli/api/theme-edit/_how-question.mjs: optional cleanup (guard at line 31663)
  • File packages/cli/api/theme-edit/_how.mjs: clear
  • File packages/cli/api/theme-edit/_tables.mjs: optional cleanup (comment at line 396)
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour note now leads with AppShell on every editor path (page-colour how answers, how --color-background-body, and the first set of that token in a theme) and in the "Use a theme" guide, as the engineering owner decided on this pull request, and the changed tests fail on the base code and pass here. Two optional cleanups from earlier inline comments remain: the Heading weights JSDoc stranded above PAGE_COLOR_NOTE in _tables.mjs, and the duplicate guard in _how-question.mjs that still tests the old text.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: how --color-background-body opens with where the page colour shows — verified (_how.mjs:1502-1505, CLI run, test).
  • Changeset: the first set of that token in a theme says the same, and a later set does not — verified (_edit.mjs:6131, :7145-7152, CLI runs, test).
  • Changeset: every page-colour answer says it — verified (_how-question.mjs:31684, three asks in the test).
  • Changeset: AppShell first, the global body rule as the fallback — verified (_tables.mjs:401-402).
  • Changeset: a one-mode theme adds the every-OS-mode sentence — verified (_tables.mjs:411-414, test).
  • Changeset: the "Use a theme" guide uses the same wording — verified (use-a-theme.doc.mjs:58, astryx docs use-a-theme).
  • Changeset: a @astryxdesign/cli patch marked experimental — verified (changeset check passes).
  • Description: mostly the experimental editor, plus the stable guide paragraph — verified (changed files).
  • Description: no Core, spec record or official-theme change — verified (net diff; the first and last commits cancel).
  • Description: based on the previous stack part — verified.
  • Description: _how-question.mjs line delta +2/-1 — verified.
  • Description: adds no mood or feel phrase matches — verified (only the answer template string changes).
  • Description: CI has not run on this head — verified (no workflow run).
  • Description: the integration-branch gate, per-head local checks and look gate — not verifiable here; the changed test file, changeset check, CLI structure check, Prettier, ESLint and the CLI typechecks were run on this head instead.
  • .changeset/experimental-theme-page-color-token-path.md — clear.
  • packages/cli/api/theme-edit/_edit.mjs — clear.
  • packages/cli/api/theme-edit/_how-question.mjs — non-blocking: dead duplicate guard (line 31681).
  • packages/cli/api/theme-edit/_how.mjs — clear.
  • packages/cli/api/theme-edit/_tables.mjs — non-blocking: stranded Heading weights JSDoc (line 396).
  • packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs — clear.
  • packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour note now leads with AppShell on every editor path (page-colour how answers, how --color-background-body, and the first set of that token in a theme) and in the "Use a theme" guide, as the engineering owner decided on this pull request, and the changed tests fail on the base code and pass here. Two optional cleanups from earlier inline comments remain: the Heading weights JSDoc stranded above PAGE_COLOR_NOTE in _tables.mjs, and the duplicate guard in _how-question.mjs that still tests the old text.

Claims and files checked

Review mode: full; reason: rebase

  • Changeset: how --color-background-body opens with where the page colour shows — verified (_how.mjs:1502-1505, CLI run, test).
  • Changeset: the first set of that token in a theme says the same, and a later set does not — verified (_edit.mjs:6131, :7145-7152, CLI runs, test).
  • Changeset: every page-colour answer says it — verified (_how-question.mjs:31699, three asks in the test).
  • Changeset: AppShell first, the global body rule as the fallback — verified (_tables.mjs:401-402).
  • Changeset: a one-mode theme adds the every-OS-mode sentence — verified (_tables.mjs:411-414, test).
  • Changeset: the "Use a theme" guide uses the same wording — verified (use-a-theme.doc.mjs:58, astryx docs use-a-theme).
  • Changeset: a @astryxdesign/cli patch marked experimental — verified (changeset check passes).
  • Description: mostly the experimental editor, plus the stable guide paragraph — verified (changed files).
  • Description: no Core, spec record or official-theme change — verified (net diff; the first and last commits cancel).
  • Description: based on the previous part of the series — verified.
  • Description: _how-question.mjs line delta +2/-1 — verified.
  • Description: adds no mood or feel phrase matches — verified (only the answer template string changes).
  • Description: CI has not run on this head — verified (no workflow run).
  • Description: the integration-branch gate, per-head local checks and look gate — not verifiable here; the changed test file, changeset check, CLI structure check, Prettier, ESLint and the CLI typechecks were run on this head instead.
  • .changeset/experimental-theme-page-color-token-path.md — clear.
  • packages/cli/api/theme-edit/_edit.mjs — clear.
  • packages/cli/api/theme-edit/_how-question.mjs — non-blocking: dead duplicate guard (line 31696).
  • packages/cli/api/theme-edit/_how.mjs — clear.
  • packages/cli/api/theme-edit/_tables.mjs — non-blocking: stranded Heading weights JSDoc (line 396).
  • packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs — clear.
  • packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet, and it runs once this part targets main.

The page-colour note and the "Use a theme" paragraph match the engineering owner's decision recorded on this pull request, and the changed tests pass here while six of them fail on the base code.

  • Heads-up, not from this pull request's own lines: ESLint reports next0 as unused at packages/cli/api/theme-edit/_how-question.mjs:14988, which arrives from the base branch, so the lint check will fail until the part below deletes it and this part is rebased.

Two optional cleanups from the earlier inline comments still apply: the stranded Heading weights JSDoc in _tables.mjs, and the duplicate guard in _how-question.mjs that tests text nothing prints any more.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): the token's own how answer opens with where the page colour shows. Verified: _how.mjs:1502-1505 and the token-path test.
  • Claim (changeset): the first set of that token in a theme gives the same note. Verified: _edit.mjs:6131-6133 and :7145-7152, and the set-once test, which also checks a re-set stays quiet.
  • Claim (changeset): every page-colour answer gives the note. Verified: _how-question.mjs:31700-31704 and the three question tests.
  • Claim (changeset): the note says the colour shows inside AppShell, to wrap the page in it, else to add the body rule to global CSS. Verified: _tables.mjs:401-402.
  • Claim (changeset): a one-mode theme's note adds the every-OS-mode sentence. Verified: _tables.mjs:411-414 and the one-mode test.
  • Claim (changeset): the "Use a theme" guide uses the same wording. Verified: use-a-theme.doc.mjs:58.
  • Claim (changeset): an experimental patch note for the CLI package. Verified: the changeset check passes.
  • Claim (description): mostly the experimental editor, plus the stable guide's page-colour paragraph. Verified: the file list.
  • Claim (description): no Core, spec record or official-theme change. Verified: the file list.
  • Claim (description): based on the previous stack part and merged in order. Verified for the base branch; the part count is not checkable here.
  • Claim (description): how and set lead with AppShell, keep the body rule as the fallback, cover the token path, and add the one-mode sentence. Verified: as the changeset claims above.
  • Claim (description): _how-question.mjs changes by +2/-1. Verified: the diff.
  • Claim (description): adds no mood or feel phrase matches. Verified: the _how-question.mjs change adds only answer text and an import, no phrase pattern.
  • Claim (description): every commit passed an integration-branch gate and a held-out answer key. Not checkable here; the changed tests, structure check, changeset check and three typechecks were re-run on this head.
  • Claim (description): CI has not run on this head. Verified: no CI workflow run.
  • Claim (description): each head is checked locally, and a look gate on a site built from the top of the stack found no new blocking finding. Not checkable here.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how-question.mjs: optional cleanup (duplicate guard); the unused next0 in this file comes from the base branch.
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: optional cleanup (stranded JSDoc).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour note and the "Use a theme" paragraph match the engineering owner's decision recorded on this pull request, and the changed tests pass here while six of them fail on the base code.

Two optional cleanups from the earlier inline comments still apply: the stranded Heading weights JSDoc in _tables.mjs, and the guard in _how-question.mjs that tests text nothing prints any more.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): the token's own how answer opens with where the page colour shows. Verified: _how.mjs:1502-1505, the token-path test, and the CLI output, where the note follows the subject.
  • Claim (changeset): the first set of that token in a theme gives the same note. Verified: _edit.mjs:6129-6133 and :7145-7152, and the set-once test, which also checks that a second set stays quiet.
  • Claim (changeset): every page-colour answer gives the note. Verified: _how-question.mjs:31670 and the three question tests.
  • Claim (changeset): the note says the colour shows inside AppShell, to wrap the page in it, or else to add the body rule to global CSS. Verified: _tables.mjs:401-402.
  • Claim (changeset): a one-mode theme's note adds the every-OS-mode sentence. Verified: _tables.mjs:411-414 and the one-mode test.
  • Claim (changeset): the "Use a theme" guide uses the same wording. Verified: use-a-theme.doc.mjs:58.
  • Claim (changeset): an experimental patch note for the CLI package. Verified: the changeset check passes.
  • Claim (description): mostly the experimental editor, plus the stable guide's page-colour paragraph. Verified: the file list.
  • Claim (description): no Core, spec record or official-theme change. Verified: the file list.
  • Claim (description): based on the previous stack part and merged in order. Verified for the base branch; the part count is not checkable here.
  • Claim (description): how and set lead with AppShell, keep the body rule as the fallback, cover the token path, and add the one-mode sentence. Verified: as the changeset claims above.
  • Claim (description): _how-question.mjs changes by +2/-1. Verified: the diff.
  • Claim (description): adds no mood or feel phrase matches. Verified: the _how-question.mjs change adds only answer text and an import.
  • Claim (description): every commit passed an integration-branch gate and a held-out answer key. Not checkable here; the changed tests, structure check, changeset check, Prettier, ESLint and the CLI typechecks were re-run on this head, and the strict typecheck's only errors are in unchanged templates that need a built theme package.
  • Claim (description): CI has not run on this head. Verified: no CI workflow run.
  • Claim (description): each head is checked locally, and a look gate on a site built from the top of the stack found no new blocking finding. Not checkable here.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how-question.mjs: optional cleanup (the guard at line 31667).
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: optional cleanup (the stranded JSDoc at lines 396-397).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.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.

Approved pending CI: CI has not run on this head yet; it runs once this part targets main.

The page-colour note and the "Use a theme" paragraph match the engineering owner's decision recorded on this pull request, and the changed tests pass here while six of them fail on the base code. Three optional cleanups, your call:

  • The one-mode sentence in _tables.mjs still ends "or text lands on the browser's white", while the rebased base now says a page without AppShell keeps the browser's own page color, light or dark; aligning it changes owner-approved wording, so an engineering owner would re-approve it.
  • The Heading weights JSDoc in _tables.mjs now sits above PAGE_COLOR_NOTE instead of HEADING_WEIGHTS.
  • The guard in _how-question.mjs tests text that no answer prints any more.
Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): the token's own how answer opens with where the page colour shows. Verified: _how.mjs:1502-1505, the token-path test, and the CLI output, where the note follows the subject.
  • Claim (changeset): the first set of that token in a theme gives the same note. Verified: _edit.mjs:6129-6133 and :7145-7152, and the set-once test, which also checks that a later set stays quiet.
  • Claim (changeset): every page-colour answer gives the note. Verified: _how-question.mjs:31730 and the three question tests.
  • Claim (changeset): the note says the colour shows inside AppShell, to wrap the page in it, or else to add the body rule to global CSS. Verified: _tables.mjs:401-402.
  • Claim (changeset): a one-mode theme's note adds the every-OS-mode sentence. Verified: _tables.mjs:411-414 and the one-mode test.
  • Claim (changeset): the "Use a theme" guide uses the same wording. Verified: use-a-theme.doc.mjs:58.
  • Claim (changeset): an experimental patch note for the CLI package. Verified: the changeset check passes.
  • Claim (description): mostly the experimental editor, plus the stable guide's page-colour paragraph. Verified: the file list.
  • Claim (description): no Core, spec record or official-theme change. Verified: the net file list; the two palette commits that touch Core cancel out exactly.
  • Claim (description): based on the previous stack part and merged in order. Verified for the base branch; the part count is not checkable here.
  • Claim (description): how and set lead with AppShell, keep the body rule as the fallback, cover the token path, and add the one-mode sentence. Verified: as the changeset claims above.
  • Claim (description): _how-question.mjs changes by +2/-1. Verified: the diff.
  • Claim (description): adds no mood or feel phrase matches. Verified: the _how-question.mjs change adds only answer text and an import.
  • Claim (description): every commit passed an integration-branch gate and a held-out answer key. Not checkable here; the changed tests, structure check, changeset check, Prettier, ESLint and the CLI typechecks were re-run on this head, and the strict typecheck's only errors are in unchanged templates that need a built theme package.
  • Claim (description): CI has not run on this head. Verified: no CI workflow run.
  • Claim (description): each head is checked locally, and a look gate on a site built from the top of the stack found no new blocking finding. Not checkable here.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how-question.mjs: optional cleanup (the guard at line 31727).
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: optional cleanups (the one-mode sentence at line 413, the stranded JSDoc at line 396).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.doc.mjs: clear.

Automated review (maintainer link)

*/
export const pageColorNote = mode =>
/^(?:dark|light)-only$/.test(String(mode ?? ''))
? `${PAGE_COLOR_NOTE} This theme has one mode (${mode}): its text is drawn for its own page, so the page must take the theme's page color in every OS mode, or text lands on the browser's white.`

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.

Non-blocking: the rebased base now says a page without AppShell keeps "the browser's own page color" (light or dark, as the OS asks; Core's reset sets html { color-scheme: light dark }), in the very lines this pull request replaces. This sentence still ends "or text lands on the browser's white", which fits only the light case: a light-only theme read in dark OS mode puts its dark text on the browser's dark page. Ending it "or its text lands on the browser's own page color" keeps the stack consistent. The wording is owner-approved, so an engineering owner would re-approve the change.

…ll, the body rule as the fallback, on the token path too (how asked by the token, the first set of it in a theme), and a one-mode theme says its page needs that color in every OS mode

@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; it runs once this part targets main.

The page-colour note and the "Use a theme" paragraph match the engineering owner's decision recorded on this pull request, and the changed tests pass here while six of them fail on the base code. Three optional cleanups, your call:

  • The one-mode sentence in _tables.mjs ends "or text lands on the browser's white", but a page without AppShell keeps the browser's own page color, light or dark; aligning it changes owner-approved wording, so an engineering owner would re-approve it.
  • The Heading weights JSDoc in _tables.mjs now sits above PAGE_COLOR_NOTE instead of HEADING_WEIGHTS.
  • The guard in _how-question.mjs tests text that no answer prints any more.
Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): the token's own how answer opens with where the page colour shows. Verified: _how.mjs:1502-1505, the token-path test, and the CLI output, where the note follows the subject.
  • Claim (changeset): the first set of that token in a theme gives the same note. Verified: _edit.mjs:6129-6133 and :7145-7152, and the set-once test, which also checks that later sets stay quiet.
  • Claim (changeset): every page-colour answer gives the note. Verified: _how-question.mjs:31750 and the three question tests.
  • Claim (changeset): the note says the colour shows inside AppShell, to wrap the page in it, or else to add the body rule to global CSS. Verified: _tables.mjs:401-402.
  • Claim (changeset): a one-mode theme's note adds the every-OS-mode sentence. Verified: _tables.mjs:411-414 and the one-mode test.
  • Claim (changeset): the "Use a theme" guide uses the same wording. Verified: use-a-theme.doc.mjs:58.
  • Claim (changeset): an experimental patch note for the CLI package. Verified: the changeset check passes.
  • Claim (description): mostly the experimental editor, plus the stable guide's page-colour paragraph. Verified: the file list.
  • Claim (description): no Core, spec record or official-theme change. Verified: the net file list; the two palette commits that touch Core cancel out exactly.
  • Claim (description): based on the previous stack part and merged in order. Verified for the base branch; the part count is not checkable here.
  • Claim (description): how and set lead with AppShell, keep the body rule as the fallback, cover the token path, and add the one-mode sentence. Verified: as the changeset claims above.
  • Claim (description): _how-question.mjs changes by +2/-1. Verified: the diff.
  • Claim (description): adds no mood or feel phrase matches. Verified: the _how-question.mjs change adds only answer text and an import.
  • Claim (description): every commit passed an integration-branch gate and a held-out answer key. Not checkable here; the changed tests, structure check, changeset check, Prettier, ESLint and the CLI typechecks were re-run on this head, and the strict typecheck's only errors are in unchanged templates that need a built theme package.
  • Claim (description): CI has not run on this head. Verified: no CI workflow run.
  • Claim (description): each head is checked locally, and a look gate on a site built from the top of the stack found no new blocking finding. Not checkable here.
  • File .changeset/experimental-theme-page-color-token-path.md: clear.
  • File packages/cli/api/theme-edit/_edit.mjs: clear.
  • File packages/cli/api/theme-edit/_how-question.mjs: optional cleanup (the guard at line 31747).
  • File packages/cli/api/theme-edit/_how.mjs: clear.
  • File packages/cli/api/theme-edit/_tables.mjs: optional cleanups (the one-mode sentence at line 413, the stranded JSDoc at line 396).
  • File packages/cli/api/theme-edit/theme-how-page-shows-where.test.mjs: clear.
  • File packages/cli/assets/docs/use-a-theme.doc.mjs: clear.

Automated review (maintainer link)

@josephfarina

Copy link
Copy Markdown
Contributor Author

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

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