Skip to content

docs(icons): icon-set guides say "icon meaning" and "variant"; theme guides say "built-in meaning" - #13020

Closed
josephfarina wants to merge 2 commits into
mainfrom
josephfarina/icon-words-guide
Closed

josephfarina wants to merge 2 commits into
mainfrom
josephfarina/icon-words-guide

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

preflight: pass 17fbddb (CI checks 19 of 19; review recommends approval)

Approval

Approved vocabulary rename: the icon words ("icon meaning" for an entry of Astryx's shared list of what icons are for, "variant" for a set's looks, "built-in meaning" for Core's icon names) were approved by @josephfarina as the docs and CLI vocabulary owner. This PR is a planned rename: rename words only, with commands, flags, config keys, JSON fields and file names unchanged.

Reader impact

The experimental icon-set guide and its pages call each entry a "definition" and a set's looks its "looks", while the --variant flag and the experimental.iconVariant key say "variant", and the component docs now say "built-in meaning". The theme guides call Core's icon names "semantic icon names". Now these guides use the same words.

Correction

  • Experimental icon-set guides (packages/cli/assets/docs/tree/icon-sets.doc.mjs, icon-definitions.doc.mjs, icon-set-files.doc.mjs) and the icon meaning and icon set file types (packages/cli/authoring/doctypes/icon-definition/*, icon-set/*): "definition(s)" in prose becomes "icon meaning(s)"; "look(s)" becomes "variant(s)", except the two sentences that say what a variant is. Kind names, definitions/ paths, the icon-definitions route and the quoted heading (main already prints "Unmapped icon meanings (optional)") stay until their own rename.
  • Each line is a literal swap. Two rewordings (the icon-set guide's relatives line and the template icons guide's "icon component") are in their own docs PR, docs(icons): icon-set guide's relatives line; template icons say icon component #13473. The intro sentence keeps "one icon definition per meaning".
  • Theme guides (theme.doc.mjs, theme.doc.dense.mjs, theme.doc.zh.mjs): "semantic icon names" becomes "built-in meanings" (内置含义 in Chinese).
  • packages/cli/test/icon-words.test.mjs gets a second check that reuses its retired-word list and prose walker. It reads six guides by path and export: the three icon-set guides (docs) and the theme guide in English (docs), dense (docsDense) and Chinese (docsZh). Their prose uses no retired icon word, and the icon-set guides also say "icon meaning" and "variant". Each file must load and have prose, so a skipped file fails. On main it fails on all six guides; here it passes.
  • Code placeholders in the icon-set guide say <meaning> (map <meaning> <icon>, --definition <meaning>); the map help still names its argument definition until that command is renamed.
  • Folder names stay: "the CLI's icon definitions folder" and "Astryx's definitions folder" name the definitions folder.
  • Not changed: author-a-theme keeps "icon registry" where it names a built theme's icon module, and the icons guide is docs(icons): the icons guide says "built-in meaning" and "theme icons" #13421's.

Evidence

In-repo astryx search, main vs this change: "semantic icon names", "semantic icon name" and "semantic icon" no longer show the theme guide's icon-sizes section in the top 5 (the icons guide, useIcon and Icon still lead); "icon meaning" now shows it third (after the icons guide and its theme-overrides section), and "built-in meaning(s)" seventh (after Icon, useIcon and the icons guide). "icon definitions" is unchanged now that the template icons rewording is its own PR. Other icon, theme and icon-set queries checked are unchanged. astryx build against the labeled build requests: no answer changes.

Scope

No behavior change.

Docs: experimental icon-set guides, theme guides, icon-set file types.

  • This PR changes documentation only, or names every necessary generated artifact.
  • Runtime, API, visual, and policy changes were removed or split.
  • Public text and artifacts contain no internal Meta context.

Testing

  • experimental-isolation 55 of 55; icon-words 3 of 3.
  • Changeset coverage passes.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 22, 2026 1:43pm UTC

Request Review

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

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

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

Changes requested: the new icon words read consistently, but this head breaks two snapshot tests and leans on #12959 without saying so.

  • packages/cli/test/experimental-isolation.test.mjs fails "every stable docs topic" and "every stable docs tree node" at this head but passes on main, because the new author-a-theme section title and the three reworded template-icons lines change packages/cli/test/__golden__/no-icon-set/docs-topics.json and docs-tree.json, so regenerate both (vitest run --project node packages/cli/test/experimental-isolation.test.mjs -u).
  • The description says no built-in guide says "icon registry" or "semantic icon" any more, yet astryx docs icons still does and the new test skips it because icon-words.test.mjs covers it, a file only #12959 adds, while the icon-definitions and theme guides now say "built-in meanings" where that page says "semantic icon names", so stack this branch on #12959 with Stack: #12959 → #13020 in both bodies, or keep the old words in those places until it lands.
  • The description says two template-icons lines changed, but three did (template-icons.doc.mjs:29, :47 and :60).

Not blocking: the experimental icon use example label still reads "Draw every icon in one look" beside the renamed "Draw every icon in one variant" section.

Claims and files checked

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

  • Claim (changeset): the icon-set guides say "icon meaning" and "variant": verified, the new test fails on main with 75 hits and passes here.
  • Claim (changeset): the theme guides say "built-in meaning" and "icons module": verified, theme.doc.mjs:136, theme.doc.dense.mjs:100, author-a-theme.doc.mjs:129-149.
  • Claim (changeset and description): JSON lists relatives on every match and text names them under the first match only, at most four: verified, icon.mjs:118, :269-272, :299-305 and search.mjs:227, :245-259.
  • Claim (changeset and description): commands, flags, config keys, JSON fields, file names, routes, the doc kind, section ids and keywords stay: verified, only prose, JSDoc text, a test and the changeset change.
  • Claim: "look" stays only where a sentence says what a variant is: verified, icon-sets.doc.mjs:234, :500 and icon-set/type.ts:54, :156.
  • Claim: command placeholders read <meaning>: verified, no <definition> placeholder is left in the changed guides.
  • Claim: the quoted "Unmapped icon definitions (optional)" heading still matches the CLI: verified, doctor.mjs:425.
  • Claim: author-a-theme keeps its icon-registry section id and keyword: verified, author-a-theme.doc.mjs:9, :139.
  • Claim: two template-icons lines change: false, three do (:29, :47, :60).
  • Claim: the new test shows no built-in guide says "icon registry", "icon pack" or "semantic icon": false, icons.doc.mjs:13, :22, :193 still do and the test skips that guide.
  • Claim: the new test fails on main and passes here: verified.
  • Claim: the nine listed test files pass, 84 of 84: verified.
  • Claim: the guides render (docs-graph and golden reads): verified, both pass.
  • Claim: docs only, or every necessary generated artifact named: false, the two isolation goldens also need regenerating.
  • Claim: public text has no internal context: verified.
  • File .changeset/icon-guides-meaning-words.md: clear.
  • File packages/cli/assets/docs/author-a-theme.doc.mjs: snapshot finding.
  • File packages/cli/assets/docs/theme.doc.dense.mjs: #12959 dependency finding.
  • File packages/cli/assets/docs/theme.doc.mjs: #12959 dependency finding.
  • File packages/cli/assets/docs/tree/icon-definitions.doc.mjs: #12959 dependency finding.
  • File packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/template-icons.doc.mjs: snapshot finding and line-count finding.
  • File packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-definition/type.ts: clear.
  • File packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-set/type.ts: clear.
  • File packages/cli/test/icon-words-guides.test.mjs: #12959 dependency 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.

Changes requested: the guides now read consistently, but the new guide-words test does not check two of the three theme guides it lists.

  • packages/cli/test/icon-words-guides.test.mjs names theme.doc.dense.mjs and theme.doc.zh.mjs in THEME_GUIDES, but builtinGuideFiles() returns only files named <name>.doc.mjs, so neither guide is ever read and the Chinese patterns never run (on main the test reports theme.doc.mjs but not the dense guide's "a semantic icon" or the Chinese "语义图标"): check their docsDense and docsZh exports directly, or narrow the list and the description to theme.doc.mjs.

Not blocking: icon-definitions.doc.mjs:45 points to "the built-in meanings" in astryx docs icons, which still says "Semantic icon names" until #13421 lands; "the CLI's icon meanings folder" (icon-sets.doc.mjs:426, icon-definition.doc.mjs:102) names a folder that is really definitions; and the description's "each line is a literal swap" misses the reworded file header at icon-sets.doc.mjs:5.

Claims and files checked

Review mode: full; reason: rebase

  • Claim (changeset): the icon-set guide, its meanings and file-field pages, and the two file types' fields say "icon meaning": verified, 68 retired-word hits on main in those pages and none here; one sentence (icon-sets.doc.mjs:48) is left to its own pull request.
  • Claim (changeset): a set's looks are its "variants", as --variant and experimental.iconVariant say: verified, experimental-icon-use.doc.mjs:19.
  • Claim (changeset): commands, flags, config keys, JSON fields and file names do not change: verified, only prose, titles and JSDoc change.
  • Claim (changeset): the theme guides, Chinese included, say "built-in meaning": verified, theme.doc.mjs:136, theme.doc.dense.mjs:100, theme.doc.zh.mjs:95.
  • Claim: the vocabulary was approved by its owner: the author's own statement; no change here needs an approval.
  • Claim: before this change the pages said "definition", "look" and "semantic icon names" while flags and component docs said "variant" and "built-in meaning": verified on main and Icon.doc.mjs:76.
  • Claim: the changed guides now use the same words: verified.
  • Claim: "look" stays only where a sentence says what a variant is: verified, icon-sets.doc.mjs:234, :500, icon-set/type.ts:54, :156.
  • Claim: kind names, definitions/ paths, the route and the quoted "Unmapped icon definitions (optional)" heading stay: verified, doctor.mjs:425.
  • Claim: each line is a literal swap: false, the icon-sets.doc.mjs:5 header is reworded.
  • Claim: three rewordings are left to their own pull request: verified, icon-sets.doc.mjs:48 and the relatives line are unchanged and the template icons guide is not in the diff.
  • Claim: the theme guides swap "semantic icon names" for "built-in meanings": verified.
  • Claim: the new test shows the icon-set and theme guides use no retired word: false, it never reads theme.doc.dense.mjs or theme.doc.zh.mjs.
  • Claim: the new test fails on main and passes here: verified, 69 hits on main, none here.
  • Claim: author-a-theme and the icons guide are not changed: verified.
  • Claim: search results for the old and new words move as described: not reproduced.
  • Claim: build answers do not change: not reproduced.
  • Claim: documentation only, with every generated artifact named: verified, no golden or stored-docs file holds the changed text and the stable-docs goldens pass.
  • Claim: runtime, API, visual and policy changes were removed or split: verified.
  • Claim: public text has no internal context: verified.
  • Claim: experimental-isolation 55 of 55, and the two icon-words tests pass: verified, 54 of 55 here with the 55th needing a git checkout and failing the same way on main; both icon-words tests pass.
  • Claim: changeset checks pass: verified, check:changesets passes.
  • File .changeset/icon-guides-meaning-words.md: clear.
  • File .changeset/icon-theme-guides-words.md: clear.
  • File packages/cli/assets/docs/theme.doc.dense.mjs: clear (unchecked by the new test).
  • File packages/cli/assets/docs/theme.doc.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.zh.mjs: clear (unchecked by the new test).
  • File packages/cli/assets/docs/tree/icon-definitions.doc.mjs: pointer note.
  • File packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: folder-name and header notes.
  • File packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: folder-name note.
  • File packages/cli/authoring/doctypes/icon-definition/type.ts: clear.
  • File packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-set/type.ts: clear.
  • File packages/cli/test/icon-words-guides.test.mjs: blocking test-coverage 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.

Changes requested: the guide-words test now checks every guide it lists, but one claim in the description does not hold.

  • Miss: the description says --variant, experimental.iconVariant and the CLI text already say "variant", but astryx experimental icon use still says "look" in its summary, its --variant help, its "Draw every icon in one look" example and its "every icon draws its filled look" receipt, so the renamed "Draw every icon in one variant" section and the command it documents now use different words; narrow that sentence to the flags and config key, or swap "look" in the use help and receipt too.

Not blocking: "the built-in meanings in astryx docs icons" (icon-definitions.doc.mjs:45) still points to a page that says "Semantic icon names" until #13421 lands.

Claims and files checked

Review mode: incremental; reason: none

  • changed rules (0): none
  • Claim (changeset): the icon-set guide, its icon meanings and file-field pages, and the fields of the icon meaning and icon set file types say "icon meaning" instead of "definition": verified. On the base the new test finds 68 retired words in those pages, and here it finds none. One sentence is left for its own pull request, as the description says.
  • Claim (changeset): a set's looks are now its "variants", as --variant and experimental.iconVariant already say: verified for the flag and the key.
  • Claim (changeset): commands, flags, config keys, JSON fields and file names do not change: verified. Only prose, titles and JSDoc change.
  • Claim (changeset): the theme guides, the Chinese one included, say "built-in meaning": verified in theme.doc.mjs:136, theme.doc.dense.mjs:100 and theme.doc.zh.mjs:95.
  • Claim: the vocabulary owner approved the words: this is the author's statement, and no change here needs a record approval.
  • Claim: before this change the guide pages said "definition" and "looks", while --variant, experimental.iconVariant and the CLI text said "variant" and the component docs said "built-in meaning": false for the CLI text, because the experimental icon use help and receipt say "look". It is true for the flag, the key and Icon.doc.mjs:76.
  • Claim: the theme guides said "semantic icon names": verified on the base.
  • Claim: now these guides use the same words: partly false. They match the flags and Core's docs, but not the experimental icon use help (the blocking finding).
  • Claim: "definition" becomes "icon meaning" and "look" becomes "variant", except the one sentence that says what a variant is: verified. "look" is left only in icon-sets.doc.mjs:234 and :500 and icon-set/type.ts:54 and :156.
  • Claim: kind names, definitions/ paths, the icon-definitions route and the quoted "Unmapped icon definitions (optional)" heading stay: verified.
  • Claim: each line is a literal swap: verified by a word diff of every changed line.
  • Claim: three rewordings are left to their own pull request: verified. icon-sets.doc.mjs:47 is unchanged, and the template icons guide is not in the diff.
  • Claim: the theme guides change "semantic icon names" to "built-in meanings": verified.
  • Claim: the new test reads six guides by path and export, and fails on a retired word, a file that does not load, or a guide with no prose: verified at icon-words-guides.test.mjs:24-31 and :102-110.
  • Claim: the new test fails on all three theme guides on the base and passes here: verified, with one hit in each theme guide on the base.
  • Claim: the folder names stay ("icon definitions folder", "definitions folder"): verified at icon-sets.doc.mjs:426 and icon-definition.doc.mjs:102.
  • Claim: author-a-theme and the icons guide are not changed: verified.
  • Claim: a search for "semantic icon" words no longer finds the theme guide's icon-sizes section in the top 5, a search for "built-in meaning(s)" or "icon meaning" finds it first, and "icon definitions" is unchanged: verified by running search on the base and the head.
  • Claim: the other icon, theme and icon-set queries are unchanged, and astryx build answers do not change: not reproduced.
  • Claim: documentation only, runtime, API, visual and policy changes split out, and no internal context: verified.
  • Claim: experimental-isolation passes 55 of 55, and the two icon-words tests pass: 54 of 55 here. The 55th needs a git checkout that the reviewed tree lacks. Both icon-words tests pass.
  • Claim: changeset coverage passes: verified, check:changesets passes.
  • File .changeset/icon-guides-meaning-words.md: clear.
  • File .changeset/icon-theme-guides-words.md: clear.
  • File packages/cli/assets/docs/theme.doc.dense.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.zh.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-definitions.doc.mjs: pointer note (carried).
  • File packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: the blocking finding (the renamed section and the use help disagree).
  • File packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-definition/type.ts: clear.
  • File packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-set/type.ts: clear.
  • File packages/cli/test/icon-words-guides.test.mjs: clear (the earlier gap is fixed).

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, because the pull request is a draft; it runs once the pull request is marked ready for review.

The changeset and the description now say only the --variant flag and the experimental.iconVariant key say "variant", and that the icon use help keeps "look" for now, which resolves the earlier finding.

Not blocking: "the built-in meanings in astryx docs icons" (icon-definitions.doc.mjs:45) still points to a page that says "Semantic icon names" until #13421 lands.

Claims and files checked

Review mode: incremental; reason: none

  • changed rules (0): none
  • Claim (changeset): the icon-set guide, its icon meanings and file-field pages, and the fields of the icon meaning and icon set file types say "icon meaning" instead of "definition": verified. On the base the new test finds retired words in all three pages, and here it finds none. One sentence is left to its own pull request, as the description says.
  • Claim (changeset): a set's looks are now its "variants", as the --variant flag and the experimental.iconVariant key already say, while the icon use help and receipts still say "look": verified (experimental-icon-use.doc.mjs:12 and :19, iconUse.doc.mjs:54, icon.mjs:605).
  • Claim (changeset): commands, flags, config keys, JSON fields and file names do not change: verified. Only prose, titles and JSDoc change.
  • Claim (changeset): the theme guides, the Chinese one included, say "built-in meaning": verified at theme.doc.mjs:136, theme.doc.dense.mjs:100 and theme.doc.zh.mjs:95.
  • Claim: the vocabulary owner approved the words: this is the author's statement, and no change here needs a record approval.
  • Claim: before this change the guide pages said "definition" and "looks" while the flag and the key say "variant" and the icon use help and receipts say "look": verified on the base and at this head.
  • Claim: the component docs say "built-in meaning": verified (Icon.doc.mjs:76).
  • Claim: the theme guides said "semantic icon names", and now these guides use the same words: verified.
  • Claim: "definition" becomes "icon meaning" and "look" becomes "variant", except the sentence that says what a variant is: verified. "look" stays only in that sentence (icon-sets.doc.mjs:234 and :500, icon-set/type.ts:54 and :156), in ids and in code spans.
  • Claim: kind names, definitions/ paths, the icon-definitions route and the quoted "Unmapped icon definitions (optional)" heading stay: verified.
  • Claim: each line is a literal swap: verified by a word diff of every changed line.
  • Claim: three rewordings are left to their own pull request: verified. icon-sets.doc.mjs:47 is unchanged, and the template icons guide is not in the diff.
  • Claim: the theme guides change "semantic icon names" to "built-in meanings" (内置含义 in Chinese): verified.
  • Claim: the new test reads six guides by path and export, and fails on a retired word, a file that does not load, or a guide with no prose: verified at icon-words-guides.test.mjs:24-31 and :99-120.
  • Claim: the new test fails on all three theme guides on main and passes here: verified on the base, with a hit in each theme guide.
  • Claim: the folder names stay: verified at icon-sets.doc.mjs:426 and icon-definition.doc.mjs:102.
  • Claim: author-a-theme keeps "icon registry", and the icons guide is left to its own pull request: verified.
  • Claim: a search for the "semantic icon" words no longer finds the theme guide's icon-sizes section in the top 5, a search for "built-in meaning(s)" or "icon meaning" finds it first, and "icon definitions" is unchanged: verified at the last reviewed revision; the guides are unchanged since.
  • Claim: the other icon, theme and icon-set queries and the astryx build answers are unchanged: not reproduced.
  • Claim: documentation only, with runtime, API, visual and policy changes split out and no internal context: verified.
  • Claim: experimental-isolation passes 55 of 55, and both icon-words tests pass: 54 of 55 here. The 55th needs a git checkout that the reviewed tree lacks. Both icon-words tests pass.
  • Claim: changeset coverage passes: verified, 166 changesets valid.
  • File .changeset/icon-guides-meaning-words.md: clear (the earlier finding is fixed).
  • File .changeset/icon-theme-guides-words.md: clear.
  • File packages/cli/assets/docs/theme.doc.dense.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.zh.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-definitions.doc.mjs: pointer note (carried, not blocking).
  • File packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-definition/type.ts: clear.
  • File packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-set/type.ts: clear.
  • File packages/cli/test/icon-words-guides.test.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, because the pull request is a draft and conflicts with main.

The icon-set and theme guides now read consistently, every description and changeset claim checks out at this head, and the new guide-words test fails on the base and passes here. Before CI can run:

  • Regression: main renamed the quoted heading at packages/cli/assets/docs/tree/icon-sets.doc.mjs:385 to "Unmapped icon meanings (optional)", so merge main keeping that heading with this line's swaps, which passes the guide-words, icon-words and icon-sets-guide tests.
  • In the same merge, drop "(the icon use help still says "look" and changes separately)" from the changeset and the description, because on main that help now says "variant".

Then mark the pull request ready for review so CI runs.

Claims and files checked

Review mode: incremental; reason: none

  • changed rules (0): none
  • Claim (icon-set changeset): the icon-set guide, its meanings and file-field pages, and the fields of the two icon file types say "icon meaning" instead of "definition": verified. On the base the new test flags 52 prose strings with "definition" in those pages, and none here; the word stays only in the intro sentence, the folder names, the quoted heading and code.
  • Claim (icon-set changeset): a set's looks are now its "variants", as the --variant flag and the experimental.iconVariant key already say, while the icon use help still says "look" and changes separately: verified at this head (experimental-icon-use.doc.mjs:12, iconUse.doc.mjs:54). On main that help now says "variant", so the note goes stale once main is merged.
  • Claim (icon-set changeset): commands, flags, config keys, JSON fields and file names do not change: verified. Only prose, titles, a slot title and JSDoc change; experimental icon map --help still shows [definition] [icon].
  • Claim (theme changeset): the theme guides, the Chinese one included, say "built-in meaning" for Core's icon names: verified at theme.doc.mjs:136, theme.doc.dense.mjs:100 and theme.doc.zh.mjs:95.
  • Claim: the docs and CLI vocabulary owner approved the words: the author's statement; no record change here needs an approval.
  • Claim: this renames words only: verified by a word diff of all 98 changed line pairs.
  • Claim: before this change the pages said "definition" and "looks" while the flag and the key say "variant" and the icon use help says "look": verified on the base and at this head.
  • Claim: the component docs say "built-in meaning": verified (Icon.doc.mjs:76).
  • Claim: the theme guides said "semantic icon names", and now these guides use the same words: verified.
  • Claim: "definition" becomes "meaning" and "look" becomes "variant", except where a sentence says what a variant is: verified. "look" stays only in those sentences (icon-sets.doc.mjs:234 and :500, icon-set/type.ts:54 and :156), in ids and in code spans.
  • Claim: kind names, definitions/ paths, the icon-definitions route and the quoted "Unmapped icon definitions (optional)" heading stay: verified (icon-definitions.doc.mjs:16, icon-sets.doc.mjs:385).
  • Claim: each line is a literal swap: verified by the same word diff.
  • Claim: two rewordings are left to their own pull request, and the intro sentence keeps "one icon definition per meaning": verified (icon-sets.doc.mjs:47; that pull request touches this guide and the template icons guide).
  • Claim: the theme guides change "semantic icon names" to "built-in meanings" (内置含义 in Chinese): verified.
  • Claim: the new test reads six guides by path and export and checks for retired words, that each file loads and that it has prose: verified (icon-words-guides.test.mjs:24-31, :100-122).
  • Claim: the new test fails on all three theme guides on the base and passes here: verified; on the base it reports 71 hits, one in each theme guide.
  • Claim: the folder names stay: verified (icon-sets.doc.mjs:426, icon-definition.doc.mjs:102).
  • Claim: the author-a-theme guide keeps "icon registry", and the icons guide is left to its own pull request: verified; neither file is in the diff.
  • Claim: the "semantic icon" searches no longer list the theme guide's icon-sizes section in the top 5 while the icons guide, useIcon and Icon still lead; "built-in meaning(s)" and "icon meaning" list it first; "icon definitions" is unchanged: verified at this head against the base.
  • Claim: other icon, theme and icon-set queries are unchanged, and the build answers do not change: twelve other queries return the same top 5; the labeled build comparison was not reproduced.
  • Claim: documentation only, with runtime, API, visual and policy changes split out and no internal context: verified.
  • Claim: experimental-isolation passes 55 of 55, and both icon-words tests pass: 54 of 55 here, because the 55th needs a git checkout the reviewed tree lacks; both icon-words tests pass.
  • Claim: changeset coverage passes: verified (166 changesets valid).
  • File .changeset/icon-guides-meaning-words.md: its "still says look" note is true at this head but stale against main (not blocking).
  • File .changeset/icon-theme-guides-words.md: clear.
  • File packages/cli/assets/docs/theme.doc.dense.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.zh.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-definitions.doc.mjs: clear at this head; its icons-guide pointer lines up once main is merged.
  • File packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: conflicts with main at line 385 (not blocking); the old "one look" section title no longer resolves (note).
  • File packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-definition/type.ts: clear.
  • File packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-set/type.ts: clear.
  • File packages/cli/test/icon-words-guides.test.mjs: clear.

Automated review (maintainer link)

Comment thread .changeset/icon-guides-meaning-words.md 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, because the pull request is a draft, its last commit skips CI, and it conflicts with main.

The icon-set and theme guides read consistently, every description and changeset claim checks out at this head, and the guide check now in icon-words.test.mjs fails on the base and passes here. Before CI can run:

  • Not blocking: main renamed the quoted heading at packages/cli/assets/docs/tree/icon-sets.doc.mjs:385 to "Unmapped icon meanings (optional)", so merge main keeping that heading with this line's swaps, which passes the icon-words and icon-sets guide tests.
  • Not blocking: in the same merge, drop "(the icon use help still says "look" and changes separately)" from the changeset and the description, because on main that help now says "variant".

Then mark the pull request ready for review so CI runs.

Claims and files checked

Review mode: incremental; reason: none

  • changed rules (0): none
  • Claim: Title: the icon-set guides say "icon meaning" and "variant" and the theme guides say "built-in meaning": verified.
  • Claim: Icon-set changeset: the icon-set guide, its meanings and file-field pages, and the fields of the two icon file types say "icon meaning" instead of "definition": verified; on the base the guide check flags 52 such strings in those pages, and none here.
  • Claim: Icon-set changeset: a set's looks are its "variants", as the --variant flag and experimental.iconVariant key already say: verified.
  • Claim: Icon-set changeset and description: the icon use help still says "look" and changes separately: true at this head (experimental-icon-use.doc.mjs:12, iconUse.doc.mjs:54); on main that help now says "variant".
  • Claim: Icon-set changeset: commands, flags, config keys, JSON fields and file names do not change: verified; only prose, titles, a slot title and JSDoc change.
  • Claim: Theme changeset: the theme guides, the Chinese one included, say "built-in meaning" for Core's icon names: verified (theme.doc.mjs:136, theme.doc.dense.mjs:100, theme.doc.zh.mjs:95).
  • Claim: The docs and CLI vocabulary owner approved the words: the author's statement; no record change here needs an approval.
  • Claim: This renames words only: verified by a word diff of all 100 changed line pairs.
  • Claim: Before this change the pages said "definition" and "looks" while the flag and the key say "variant": verified on the base.
  • Claim: The component docs say "built-in meaning": verified (Icon.doc.mjs:76).
  • Claim: The theme guides said "semantic icon names", and now these guides use the same words: verified.
  • Claim: "definition" becomes "meaning" and "look" becomes "variant", except where a sentence says what a variant is: verified; "look" stays only in those sentences (icon-sets.doc.mjs:234, :500), ids and code spans.
  • Claim: Kind names, definitions/ paths, the icon-definitions route and the quoted "Unmapped icon definitions (optional)" heading stay: verified (icon-definitions.doc.mjs:16, icon-sets.doc.mjs:385).
  • Claim: Each line is a literal swap: verified by the same word diff.
  • Claim: Two rewordings are left to their own pull request: verified; that pull request touches this guide and the template icons guide.
  • Claim: The intro sentence keeps "one icon definition per meaning": verified (icon-sets.doc.mjs:47).
  • Claim: The theme guides change "semantic icon names" to "built-in meanings" (内置含义 in Chinese): verified.
  • Claim: icon-words.test.mjs gets a second check that reuses its retired-word list and prose walker: verified (icon-words.test.mjs:161-182).
  • Claim: The check reads six guides by path and export: verified (icon-words.test.mjs:28-35).
  • Claim: Their prose uses no retired icon word, and the icon-set guides say "icon meaning" and "variant": verified; the check enforces the second part as a ban on "definition" and "look" in those guides.
  • Claim: Each file must load and have prose, so a skipped file fails: verified (icon-words.test.mjs:167, :169).
  • Claim: The check fails on all six guides before this change and passes here: verified; on the base it reports 70 hits across all six.
  • Claim: Code placeholders say <meaning> while the map help still names its argument definition: verified (experimental-icon-map.doc.mjs:17).
  • Claim: The folder names stay: verified (icon-sets.doc.mjs:426, icon-definition.doc.mjs:102).
  • Claim: The author-a-theme guide keeps "icon registry", and the icons guide is left to its own pull request: verified; neither file is in the diff.
  • Claim: The "semantic icon" searches no longer list the theme guide's icon-sizes section in the top 5, "built-in meaning(s)" and "icon meaning" list it first, and "icon definitions" is unchanged: verified against the base; no docs file changed since that measurement.
  • Claim: Other icon, theme and icon-set queries are unchanged, and the build answers do not change: twelve other queries return the same top 5; the labeled build comparison was not reproduced.
  • Claim: Documentation only, naming every generated artifact: verified; the experimental-isolation goldens pass unchanged.
  • Claim: Runtime, API, visual and policy changes were split out: verified.
  • Claim: No internal context in public text: verified.
  • Claim: experimental-isolation passes 55 of 55: 54 of 55 here, because the 55th needs a git checkout the reviewed tree lacks.
  • Claim: icon-words passes 3 of 3: verified.
  • Claim: Changeset coverage passes: verified (166 changesets valid).
  • File .changeset/icon-guides-meaning-words.md: its "still says look" note is true at this head but stale against main (not blocking).
  • File .changeset/icon-theme-guides-words.md: clear.
  • File packages/cli/assets/docs/theme.doc.dense.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.zh.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-definitions.doc.mjs: clear at this head; its icons-guide pointer lines up once main is merged.
  • File packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: conflicts with main at line 385 (not blocking); the old "one look" section title no longer resolves (note).
  • File packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-definition/type.ts: clear.
  • File packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-set/type.ts: clear.
  • File packages/cli/test/icon-words.test.mjs: clear; the guide check keeps the coverage of the separate test it replaces.

Automated review (maintainer link)

…guides say "built-in meaning"

Rebased onto main as one commit; the old commits on this branch had reverted each other.

[skip ci]

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested: the icon-set and theme guides read consistently, but two claims stopped holding when the branch moved onto current main.

  • Regression: .changeset/icon-guides-meaning-words.md says "the icon use help still says "look" and changes separately", but on main that help already says "variant" (and .changeset/icon-words-command-docs.md announces it), so drop that parenthetical from the changeset and from the description.
  • Regression: the description says "built-in meaning(s)" and "icon meaning" now show the theme guide's icon-sizes section first, but at this head it ranks 7th and 3rd behind the icons guide, so restate those ranks or drop "first".

The guide check fails on the base and passes here, and the experimental-isolation tests pass. CI has not run on this head yet, because the pull request is a draft and its commit skips CI.

Claims and files checked

Review mode: full; reason: rebase

  • Claim: Title: the icon-set guides say "icon meaning" and "variant" and the theme guides say "built-in meaning": verified.
  • Claim: Icon-set changeset: the guide, its meanings and file-field pages, and the fields of the two icon file types say "icon meaning" instead of "definition": verified; the guide check flags these words on the base and none here.
  • Claim: Icon-set changeset: a set's looks are its "variants", as the --variant flag and the experimental.iconVariant key already say: verified.
  • Claim: Icon-set changeset and description: the icon use help still says "look" and changes separately: false; on the base it says "variant" (experimental-icon-use.doc.mjs:12, iconUse.doc.mjs:54).
  • Claim: Icon-set changeset: commands, flags, config keys, JSON fields and file names do not change: verified; only prose, titles, a slot title and JSDoc change.
  • Claim: Theme changeset: the theme guides, the Chinese one included, say "built-in meaning" for Core's icon names: verified (theme.doc.mjs:146, theme.doc.dense.mjs:110, theme.doc.zh.mjs:105).
  • Claim: The docs and CLI vocabulary owner approved the words: the author's statement; no record change here needs an approval.
  • Claim: This renames words only: verified against the whole diff.
  • Claim: Before this change the pages said "definition" and "looks" while the flag and the key say "variant": verified on the base.
  • Claim: The component docs say "built-in meaning": verified (Icon.doc.mjs:79).
  • Claim: The theme guides said "semantic icon names", and now these guides use the same words: verified.
  • Claim: "definition" becomes "icon meaning" and "look" becomes "variant", except where a sentence says what a variant is: verified; "look" stays only in those sentences (icon-sets.doc.mjs:234, :500), ids and code spans.
  • Claim: Kind names, definitions/ paths, the icon-definitions route and the quoted "(optional)" heading stay: verified (icon-definitions.doc.mjs:16, icon-sets.doc.mjs:385).
  • Claim: Each line is a literal swap: verified against the whole diff.
  • Claim: Two rewordings are left to their own pull request: verified; that pull request has landed on main.
  • Claim: The intro sentence keeps "one icon definition per meaning": verified (icon-sets.doc.mjs:47).
  • Claim: The theme guides change "semantic icon names" to "built-in meanings" (内置含义 in Chinese): verified.
  • Claim: icon-words.test.mjs gets a second check that reuses its retired-word list and prose walker: verified (icon-words.test.mjs:161-182).
  • Claim: The check reads six guides by path and export: verified (icon-words.test.mjs:28-35).
  • Claim: Their prose uses no retired icon word, and the icon-set guides also say "icon meaning" and "variant": verified; the check enforces the second part as a ban on "definition" and "look" in those guides.
  • Claim: Each file must load and have prose, so a skipped file fails: verified (icon-words.test.mjs:167, :169).
  • Claim: The check fails on all six guides before this change and passes here: verified; on the base it reports 70 hits across all six.
  • Claim: Code placeholders say <meaning> while the map help still names its argument definition: verified (experimental-icon-map.doc.mjs:17).
  • Claim: The folder names stay: verified (icon-sets.doc.mjs:426, icon-definition.doc.mjs:102).
  • Claim: The author-a-theme guide keeps "icon registry", and the icons guide is left to its own pull request: verified; neither file is in the diff.
  • Claim: "semantic icon names", "semantic icon name" and "semantic icon" no longer list the theme guide's icon-sizes section in the top 5, with the icons guide, useIcon and Icon leading: verified.
  • Claim: "built-in meaning(s)" and "icon meaning" now show that section first: false; it ranks 7th and 3rd at this head.
  • Claim: "icon definitions" and the other icon, theme and icon-set queries are unchanged: verified for 13 other queries.
  • Claim: The build answers for the labeled build requests do not change: not reproduced; that request set is not in the repository.
  • Claim: Documentation only, no generated artifact needed, runtime, API, visual and policy changes split out, no internal context: verified.
  • Claim: experimental-isolation 55 of 55, icon-words 3 of 3, changeset coverage passes: icon-words 3 of 3 and changesets verified; experimental-isolation is 54 of 55 here because the 55th needs a git checkout.
  • File .changeset/icon-guides-meaning-words.md: its "still says look" note is false on the base (blocking).
  • File .changeset/icon-theme-guides-words.md: clear.
  • File packages/cli/assets/docs/theme.doc.dense.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.mjs: clear.
  • File packages/cli/assets/docs/theme.doc.zh.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-definitions.doc.mjs: clear; its icons-guide pointer now matches that guide.
  • File packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear.
  • File packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear; the old "one look" section title no longer resolves (note).
  • File packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-definition/type.ts: clear.
  • File packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear.
  • File packages/cli/authoring/doctypes/icon-set/type.ts: clear.
  • File packages/cli/test/icon-words.test.mjs: clear.

Automated review (maintainer link)

Comment thread .changeset/icon-guides-meaning-words.md 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, because the pull request is a draft; CI runs once it is marked ready for review.

The icon-set and theme guides now read consistently, and both points from the last round are fixed: the icon-set changeset no longer says the icon use help still says "look", and the search ranks in the description match what astryx search returns on this head and on its merge with main.

One non-blocking note: a lookup by the old section title, astryx docs cli/experimental/icon-sets "one look", now answers "not found"; the one-look key and the new title still work, and these docs are experimental.

Claims and files checked

Review mode: incremental; reason: none

  • changed rules (0): none
  • Claims:
    • Title: the icon-set guides say "icon meaning" and "variant", the theme guides "built-in meaning": verified in the diff.
    • The rename is approved by the author as vocabulary owner: author statement; the wording is covered by the icon-set spec's intent and its experimental-output decision.
    • Words only; commands, flags, config keys, JSON fields and file names unchanged: verified, every changed line is a word swap inside a string or comment.
    • Before this change the icon-set guides said "definition" and "look", the component docs "built-in meaning" and the theme guides "semantic icon names": verified on the base (Icon.doc.mjs:79, theme.doc.mjs:146).
    • "look" becomes "variant" except the two sentences that say what a variant is: verified (icon-sets.doc.mjs:234, :500).
    • Kind names, definitions/ paths, the icon-definitions route and the quoted "Unmapped icon meanings (optional)" heading stay: verified (icon-definitions.doc.mjs:16, icon-sets.doc.mjs:385, doctor.mjs:425).
    • Each line is a literal swap, the two rewordings live in #13473 and the intro keeps "one icon definition per meaning": verified (icon-sets.doc.mjs:47; #13473 is on main).
    • The theme guides say "built-in meanings" (内置含义): verified (theme.doc.mjs:146, theme.doc.dense.mjs:110, theme.doc.zh.mjs:105).
    • The second check reuses the retired-word list and prose walker and reads six guides by path and export: verified (icon-words.test.mjs:28-35, :161-182).
    • Their prose uses no retired word and the icon-set guides say "icon meaning" and "variant": verified, the check passes at this head.
    • Each file must load and have prose: verified (icon-words.test.mjs:167, :169).
    • The check fails on main in all six guides and passes here: verified, 70 hits on the base across all six.
    • Code placeholders say <meaning> while the map help still names its argument definition: verified (icon-sets.doc.mjs:180, :411; experimental-icon-map.doc.mjs:17).
    • Folder names stay: verified (icon-sets.doc.mjs:426, icon-definition.doc.mjs:102).
    • author-a-theme and the icons guide are not changed here: verified, neither is in the diff.
    • The "semantic icon" queries no longer list the theme icon-sizes section in the top 5: verified.
    • "icon meaning" lists it third and "built-in meaning(s)" seventh: verified on this head and on the merge with main.
    • "icon definitions" and the other icon, theme and icon-set queries are unchanged: verified, 14 queries return the same top 5.
    • A build comparison against labeled requests changes no answer: not reproduced, the request set is not in the repository.
    • No behavior change, docs only, no internal context: verified.
    • Experimental-isolation 55 of 55: 54 of 55 pass here; the remaining test needs a git checkout and touches nothing this change edits.
    • icon-words 3 of 3: verified.
    • Changeset coverage passes: verified by inspection, the only changed package is @astryxdesign/cli and both changesets name it; check:changesets passes.
    • Changeset: the icon-set guides and file types say "icon meaning" and "variants", nothing else changes: verified.
    • Changeset: the theme guides, Chinese included, say "built-in meaning": verified.
  • Files:
    • .changeset/icon-guides-meaning-words.md: clear
    • .changeset/icon-theme-guides-words.md: clear
    • packages/cli/assets/docs/theme.doc.dense.mjs: clear
    • packages/cli/assets/docs/theme.doc.mjs: clear
    • packages/cli/assets/docs/theme.doc.zh.mjs: clear
    • packages/cli/assets/docs/tree/icon-definitions.doc.mjs: clear
    • packages/cli/assets/docs/tree/icon-set-files.doc.mjs: clear
    • packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear (non-blocking note above)
    • packages/cli/authoring/doctypes/icon-definition/icon-definition.doc.mjs: clear
    • packages/cli/authoring/doctypes/icon-definition/type.ts: clear
    • packages/cli/authoring/doctypes/icon-set/icon-set-data.doc.mjs: clear
    • packages/cli/authoring/doctypes/icon-set/type.ts: clear
    • packages/cli/test/icon-words.test.mjs: clear

Automated review (maintainer link)

@josephfarina
josephfarina marked this pull request as ready for review November 22, 2026 14:54
@github-actions
github-actions Bot deleted the josephfarina/icon-words-guide branch November 23, 2026 06:06

This branch was successfully deployed

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

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant