Repository navigation
feat(cli): search lists no icons for "with an icon" when the results answer a component - #12305
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner. One fix is needed whatever the decision:
- The
data.iconstype doc inpackages/cli/api/search/search.type.mjs(lines 77-78) says an icon word afterwithasks for none and leaves out theof/forexception that the code and changeset keep, so callers would expect no icons forcard with an icon of a star; add the exception there and givepackages/cli/api/icon/icon.doc.mjsthe same wording. - Non-blocking: the search-level test for feature phrases also passes without this change, because no fixture icon answers
cardoravatar; a fixture icon taggedcardwould make it fail first.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claims:
- Changeset:
card with an iconanswers the card alone. Verified: the icons block is absent andresultsandmatchCountare unchanged. - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon. - Description: the rule reads the icon word after
withwith only articles between and nooforforafter, and applies only when results hold a component or template. Verified inicon-ranking.mjsand_icons.mjs. - Description: set names and icon export names still ask. Verified.
- Description: search passes its result domains to its adapter, which stays the only reader of icon sets. Verified in
search.mjsand_adapter.mjs. - Description: FR11 gains one sentence and FR6 points to it. Verified.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the base for every query tried. - Description: with no set installed, output is unchanged. Verified by code: the change runs only after the icon-feature gate.
- Description: the focused, isolation and return-type tests pass and the CLI structure check is clean. Verified at this head.
- Description: consumer docs ship with the feature. They ship, but the type doc misstates the rule (above).
- Changeset:
- Files:
.changeset/search-icon-feature-word.md: clear.docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: wording gap (above).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: non-blocking note (above).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: blocking finding (above).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
62e55e1 to
e6e41b5
Compare
760bc0b to
aaf8b0b
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author, as an engineering owner, may do so. One fix is needed whatever the decision:
- The
data.iconstype doc inpackages/cli/api/search/search.type.mjs(lines 77-78) says an icon word right afterwithasks for none and leaves out theof/forexception that the code and changeset keep, so callers would expect no icons forcard with an icon of a star; state the exception there and givepackages/cli/api/icon/icon.doc.mjsthe same wording. - Non-blocking: the search-level test for feature phrases also passes without this change, because no fixture icon answers
cardoravatar; a fixture icon taggedcardwould make it fail first.
Claims and files checked
Review mode: full; reason: rebase
- Claims:
- Changeset:
card with an iconanswers the card alone. Verified: the icons block is absent andresultsandmatchCountare unchanged. - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon. - Description: the rule reads the icon word after
withwith only articles between and nooforforafter, and applies only when results hold a component or template. Verified inicon-ranking.mjsand_icons.mjs. - Description: set names and icon export names still ask. Verified.
- Description: search passes its result domains to its adapter, which stays the only reader of icon sets. Verified in
search.mjsand_adapter.mjs. - Description: FR11 gains one sentence and FR6 points to it. Verified.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the base and the no-set answer for every query tried. - Description: with no set installed, output is unchanged. Verified by code and by the no-set answers: the change runs only after the icon-feature gate.
- Description: the focused, isolation and return-type tests pass and the CLI structure check is clean. Verified at this head.
- Description: consumer docs ship with the feature. They ship, but the type doc misstates the rule (above).
- Changeset:
- Files:
.changeset/search-icon-feature-word.md: clear.docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: wording gap (above).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: non-blocking note (above).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: blocking finding (above).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
e6e41b5 to
1dbbf0b
Compare
aaf8b0b to
fb01941
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author, as an engineering owner, may do so. One fix is needed whatever the decision:
- The
data.iconstype doc inpackages/cli/api/search/search.type.mjs(lines 77-78) says an icon word right afterwithasks for none and leaves out theof/forexception that the code and changeset keep, so callers would expect no icons forcard with an icon of a star; state the exception there and givepackages/cli/api/icon/icon.doc.mjsthe same wording. - Non-blocking: the search-level test for feature phrases also passes without this change, because no fixture icon answers
cardoravatar; a fixture icon taggedcardwould make it fail first.
Claims and files checked
Review mode: carry-forward; reason: none
- Claims:
- Changeset:
card with an iconanswers the card alone. Verified: the icons block is absent andresultsandmatchCountare unchanged. - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon. - Description: the rule reads the icon word after
withwith only articles between and nooforforafter, and applies only when results hold a component or template. Verified inicon-ranking.mjsand_icons.mjs. - Description: set names and icon export names still ask. Verified.
- Description: search passes its result domains to its adapter, which stays the only reader of icon sets. Verified in
search.mjsand_adapter.mjs. - Description: FR11 gains one sentence and FR6 points to it. Verified.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the base and the no-set answer for every query tried. - Description: with no set installed, output is unchanged. Verified by code: the change runs only after the icon-feature gate.
- Description: the focused, isolation and return-type tests pass and the CLI structure check is clean. Verified for this patch.
- Description: consumer docs ship with the feature. They ship, but the type doc misstates the rule (above).
- Changeset:
- Files:
.changeset/search-icon-feature-word.md: clear.docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: wording gap (above).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: non-blocking note (above).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: blocking finding (above).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
fb01941 to
d9e8d43
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author, as an engineering owner, may do so. Two fixes are needed whatever the decision:
- The
data.iconstype doc inpackages/cli/api/search/search.type.mjs(lines 77-78) leaves out theof/forexception, so callers expect no icons forcard with an icon of a star, which still lists them; state the rule as FR11 does there and inpackages/cli/api/icon/icon.doc.mjs. - Miss: the changeset (and the title) say search no longer lists icons whenever the icon is only a feature of what it answers, but
card that has an iconandcard with a small iconstill list icons, so reword it to name thewithrule (suggested wording inline). - Non-blocking: the search-level test for feature phrases also passes without this change, because no fixture icon answers
cardoravatar; a fixture icon taggedcardwould make it fail first.
Claims and files checked
Review mode: full; reason: merge-touches-pr-files
- Claims:
- Changeset:
card with an iconanswers the card alone. Verified: no icons block, andresultsandmatchCountequal the answer with no set installed. - Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
card that has an iconandcard with a small iconstill list icons (above). - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon. - Description: the rule reads an icon word right after
with, with only articles between and nooforforafter, and applies only when results hold a component or template. Verified in the ranking module and the icon section. - Description: an icon word not right after
with, set names and icon export names still ask. Verified by the unit cases. - Description: search passes its result domains through its adapter, which stays the only reader of icon sets. Verified.
- Description: FR11 gains one sentence and FR6 points to it. Verified.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the no-set answer for every query tried. - Description: with no set installed, output is unchanged. Verified by code (the rule runs only after the icon-feature gate) and by the isolation tests.
- Description: the feature-phrase tests, the isolation and return-type tests pass, and the CLI structure check is clean. Verified at this head.
- Changeset:
- Files:
.changeset/search-icon-feature-word.md: blocking finding (scope, above).docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: part of the type-doc finding (above).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: non-blocking note (above).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: blocking finding (above).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author, as an engineering owner, may do so. The type-doc wording and the feature-phrase test from the last review are fixed; one fix is still needed whatever the decision:
- Miss: the changeset (and the title) say search no longer lists icons whenever the icon is only a feature of what it answers, but
card that has an iconandcard with a small iconstill list icons, so reword it to name thewithrule (suggested wording inline).
Claims and files checked
Review mode: incremental; reason: none
- Changed rules (0) since the last review.
- Claims:
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
card that has an iconandcard with a small iconstill list icons (above). - Changeset:
card with an iconanswers the card alone. Verified: no icons block, andresultsandmatchCountequal the answer with no set installed (feature-phrase test and probe). - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon(feature-phrase test). - Description: the rule reads an icon word right after
with, with only articles between and nooforforafter, and applies only when results hold a component or template. Verified in the ranking module and the icon section. - Description: an icon word not right after
with, set names and icon export names still ask. Verified by the unit cases. - Description: search passes its result domains through its adapter, which stays the only reader of icon sets. Verified.
- Description: FR11 gains one sentence and FR6 points to it. Verified.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the no-set answer for every query probed. - Description: with no set installed, output is unchanged. Verified by code (the rule runs only after the icon-feature gate) and by the isolation tests.
- Description: the feature-phrase tests, the isolation and return-type tests pass, and the CLI structure check is clean. Verified at this head; both feature-phrase tests also fail without the change.
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
- Files:
.changeset/search-icon-feature-word.md: blocking finding (scope, above).docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: clear (now states the rule as FR11 does).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: clear (the search-level case now fails without the change).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: clear (theof/forexception and articles are now stated).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
c948e48 to
4442093
Compare
5d01688 to
3f87271
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author, as an engineering owner, may do so. One fix is still needed whatever the decision:
- Miss: the changeset (and the title) say search no longer lists icons whenever the icon is only a feature of what it answers, but
card that has an iconandcard with a small iconstill list icons, so reword it to name thewithrule (suggested wording inline).
Claims and files checked
Review mode: carry-forward; reason: none
- Claims:
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
card that has an iconandcard with a small iconstill list icons (above). - Changeset:
card with an iconanswers the card alone. Verified: no icons block, andresultsandmatchCountequal the answer with no set installed (feature-phrase test). - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon(feature-phrase test). - Description: the rule reads an icon word right after
with, with only articles between and nooforforafter, and applies only when results hold a component or template. Verified in the ranking module and the icon section. - Description: an icon word not right after
with, set names and icon export names still ask. Verified by the unit cases. - Description: search passes its result domains through its adapter, which stays the only reader of icon sets. Verified.
- Description: FR11 gains one sentence and FR6 points to it. Verified.
- Description: the change sits on an experimental surface. Verified: the rule runs only after the icon-feature gate.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the no-set answer for every query probed. - Description: with no set installed, output is unchanged. Verified by code (the rule runs only after the icon-feature gate) and by the isolation tests.
- Description: the feature-phrase tests and the isolation and return-type tests pass, and the CLI structure check is clean. Verified at this head; both feature-phrase tests fail without the change.
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
- Files:
.changeset/search-icon-feature-word.md: blocking finding (scope, above).docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: clear (states the rule as FR11 does).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: clear (the search-level case fails without the change).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: clear (theof/forexception and articles are stated).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
3f87271 to
0943c70
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author, as an engineering owner, may do so. One fix is still needed whatever the decision:
- Miss: the changeset (and the title) say search no longer lists icons whenever the icon is only a feature of what it answers, but
card that has an iconandcard with a small iconstill list icons, so reword it to name thewithrule (suggested wording in the earlier inline comment on line 5).
Claims and files checked
Review mode: full; reason: rebase
- Claims:
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
card that has an iconandcard with a small iconstill list icons (above). - Changeset:
card with an iconanswers the card alone. Verified: no icons block, andresultsandmatchCountequal the answer with no set installed (feature-phrase test). - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon(feature-phrase test). - Description: the rule reads an icon word right after
with, with only articles between and nooforforafter, and applies only when results hold a component or template. Verified in the ranking module and the icon section. - Description: an icon word not right after
with, set names and icon export names still ask. Verified by the unit cases. - Description: search passes its result domains through its adapter, which stays the only reader of icon sets. Verified.
- Description: FR11 gains one sentence and FR6 points to it, on an experimental surface. Verified: the rule runs only after the icon-feature gate.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the no-set answer for every query probed. - Description: with no set installed, output is unchanged. Verified for this change by code (the rule runs only after the icon-feature gate) and by the isolation tests.
- Description: the feature-phrase tests and the isolation and return-type tests pass, and the CLI structure check is clean. Verified at this head; both feature-phrase tests fail without the change.
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
- Files:
.changeset/search-icon-feature-word.md: blocking finding (scope, above).docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: clear (states the rule as FR11 does).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: clear (both new cases fail without the change).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: clear (theof/forexception and articles are stated).packages/cli/foundation/discovery/icon-ranking.mjs: clear (the rebase onto the base's renamed export-name pattern keeps the same match).
0943c70 to
13ce896
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner deciding the new spec:AST-084 FR11 rule and FR6's pointer to it: an icon or icons right after with (only a, an or the between, no of or for after) names a feature, so search lists no icons block when its results hold a component or template. The current spec on main does not state this rule, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author, as an engineering owner, may do so. One fix is still needed whatever the decision:
- Miss: the changeset (and the title) say search no longer lists icons whenever the icon is only a feature of what it answers, but
card that has an iconandcard with a small iconstill list icons, so reword it to name thewithrule (suggested wording in the earlier inline comment on line 5).
Claims and files checked
Review mode: full; reason: rebase
- Claims:
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
card that has an iconandcard with a small iconstill list icons (above). - Changeset:
card with an iconanswers the card alone. Verified: no icons block, andresultsandmatchCountequal the answer with no set installed (feature-phrase test). - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon(feature-phrase test). - Description: the rule reads an icon word right after
with, with only articles between and nooforforafter, and applies only when results hold a component or template. Verified in the ranking module and the icon section. - Description: an icon word not right after
with, set names and icon export names still ask. Verified by the unit cases. - Description: search passes its result domains through its adapter, which stays the only reader of icon sets. Verified.
- Description: FR11 gains one sentence and FR6 points to it, on an experimental surface. Verified: the rule runs only after the icon-feature gate.
- Description: only
data.iconschanges, with no new option, type or field. Verified;resultsandmatchCountmatch the no-set answer for every query probed. - Description: with no set installed, output is unchanged. Verified for this change by code (the rule runs only after the icon-feature gate) and by the isolation tests.
- Description: the feature-phrase tests and the isolation and return-type tests pass, and the CLI structure check is clean. Verified at this head; both feature-phrase tests fail without the change.
- Changeset: search no longer lists icons whenever the icon is only a feature of what it answers. False:
- Files:
.changeset/search-icon-feature-word.md: blocking finding (scope, above).docs/specs/AST-084-icon-sets/spec.md: waits on the owner decision above.packages/cli/api/icon/icon.doc.mjs: clear (states the rule as FR11 does).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: clear (both new cases fail without the change).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: clear (theof/forexception and articles are stated).packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear (the guide's search row states the same rule).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
…t answers An icon or icons right after with (only a, an or the between) that no of or for follows names a feature: when search's results hold a component or a template, it asks for no icon, so card with an icon answers the card alone.
…e and of/for parts search's type doc and the icon finder's doc say the same thing: an icon or icons right after with, with only a, an or the between, that no of or for follows names a feature. The fixture set gains icons tagged card and avatar, so the feature-phrase test fails without the rule.
card with an icon lists no icons, while card with an icon of a star does.
13ce896 to
b41ba87
Compare
|
Owner decision (engineering owner, covering this pull request): in search, an |
|
/approve-spec b41ba87 |
There was a problem hiding this comment.
Changes requested for one wording fix; the code, the spec:AST-084 FR11 rule (approved by an engineering owner at this head) and the docs are ready.
- Miss: the changeset (line 5) and the title say search no longer lists icons whenever the icon is only a feature of what it answers, but only an
iconoriconsright afterwithis skipped, socard that has an iconandcard with a small iconstill list icons; reword both to name thewithrule (suggested wording in the open inline comment on line 5).
Claims and files checked
Review mode: full; reason: rebase
- Claims:
- Changeset and title: search no longer lists icons whenever the icon is only a feature of what it answers. False:
card that has an iconandcard with a small iconstill list icons (above). - Changeset:
card with an iconanswers the card alone. Verified: no icons block, and the answer equals the answer with no set installed (feature-phrase test). - Changeset: an icon described after
oforfor, or named before the icon word, still lists icons. Verified forcard with an icon of a starandbutton with plus icon(feature-phrase test). - Changeset: an experimental patch release. Verified by the changeset check.
- Description: the icon-set record gains one FR11 sentence and FR6 points to it. Verified: the record's two hunks carry that text.
- Description: the rule reads an icon word right after
with, with only articles between and nooforforafter, and applies only when the results hold a component or template. Verified in the ranking module and the icon section. - Description: an icon word not right after
with, set names and icon export names still ask. Verified by the unit cases. - Description: search passes its result domains through its adapter, which stays the only reader of icon sets. Verified.
- Description: only
data.iconschanges, with no new option, type or field. Verified:resultsandmatchCountmatch the no-set answer for every query probed. - Description: with no icon set installed, output is unchanged. Verified by code (the icon-feature gate runs first) and the isolation tests.
- Description: the fixture has icons tagged
cardandavatar, so the new tests fail without the rule. Verified: both new cases fail on the base code. - Description: the type doc, the icon finder's doc and the icon-sets guide row state the rule. Verified: all three state it with the articles and the
of/forexception. - Description: the focused tests, the isolation tests, the CLI structure check and the knowledge check pass. Verified at this head.
- Changeset and title: search no longer lists icons whenever the icon is only a feature of what it answers. False:
- Files:
.changeset/search-icon-feature-word.md: blocking finding (scope, above).docs/specs/AST-084-icon-sets/spec.md: clear (owner-approved at this head).packages/cli/api/icon/icon.doc.mjs: clear (states the rule as FR11 does).packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: clear (both new cases fail without the change).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: clear (the articles and theof/forexception are stated).packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear (the guide row states the same rule).packages/cli/foundation/discovery/icon-ranking.mjs: clear.
Only an icon or icons right after with (only a, an or the between) is skipped, so the changeset says that rather than every feature phrase.
|
Owner decision update (engineering owner, covering this pull request at its current head): the decision above stands unchanged at this head; only the release note's wording changed. |
|
/approve-spec d3389fb |
There was a problem hiding this comment.
Approved pending CI: CI has not finished on this head yet.
The astryx search feature-word rule is approved by an engineering owner in spec:AST-084 at this head, the release note and title now name the with rule only, and the new tests fail without the change and pass with it. Nothing else is needed from you.
Claims and files checked
Review mode: incremental; reason: none
- Changed rules (0): none
- Claims:
- Release note: an experimental patch for the CLI. Verified: the note is marked experimental and the changeset check passes.
- Release note and title: search lists no icons for an
iconoriconsright afterwith(onlya,anorthebetween) when its results hold a component or template. Verified in the ranking module and the icon section, and by the new unit cases. - Release note:
card with an iconanswers the card alone. Verified: no icons block, and the whole answer equals the answer with no set installed (search-level test). - Release note: an icon described after
oforfor, or named before the word, still lists icons. Verified forcard with an icon of a star,menu with icons for actionsandbutton with plus icon(unit and search-level tests). - Description: the icon-set record's search-stability requirement gains one sentence with the rule, and the search requirement points to it. Verified: the record's two hunks carry that text.
- Description: set names and icon export names still ask, wherever they sit. Verified by the unit cases and the ranking code.
- Description: search passes its results' domains through its adapter to the ask test, and the adapter stays the only reader of icon sets. Verified.
- Description: only
data.iconschanges;results,matchCountand every other query answer as before, with no new option, type or field. Verified by the code and the search-level comparison with the no-set answer. - Description: with no icon set installed, output is unchanged. Verified: with no set installed the icon section returns nothing whatever the ask test says, and the experimental-isolation tests pass.
- Description: the fixture has icons tagged
cardandavatar, so the new tests fail without the rule. Verified: both new cases fail on the base code and pass here. - Description: the type doc, the icon finder's doc and the icon-sets guide row state the rule. Verified: all three state it with the articles and the
of/forexception. - Description: the touched tests, the isolation tests, the CLI structure check and the knowledge check pass. Verified at this head; the doctor snapshot the description calls out also passes here.
- Files:
.changeset/search-icon-feature-word.md: clear (now names thewithrule).docs/specs/AST-084-icon-sets/spec.md: clear (owner-approved at this head).packages/cli/api/icon/icon.doc.mjs: clear.packages/cli/api/search/_adapter.mjs: clear.packages/cli/api/search/_icons.mjs: clear.packages/cli/api/search/search.icons.test.mjs: clear (both new cases fail without the change).packages/cli/api/search/search.mjs: clear.packages/cli/api/search/search.type.mjs: clear.packages/cli/assets/docs/tree/icon-sets.doc.mjs: clear.packages/cli/foundation/discovery/icon-ranking.mjs: clear.
PR Analysis Report🔎 Preview ·
|
Record change:
spec:AST-084FR11 gains one sentence: "Aniconoriconsthat comes right afterwith, with onlya,anorthebetween, and is not followed byoforfor, names a feature: when search's results hold a component or a template, that word asks for no icon (card with an iconasks for a card;card with an icon of a starasks for an icon)." FR6's search sentence points to it. Checks: CLI structure check,pnpm check:knowledgeand the touched test files pass locally withCI=1(Testing below); with no icon set installed, search output is byte-identical to main.User need
With an icon set installed,
astryx searchlists icons after its results when a query asks for one. A query such ascard with an iconasks for a card that has an icon, not for an icon: the trailing icons (a credit card, a gift) are noise an agent reads and may act on.Problem and solution fit
asksForIcon): aniconoriconsthat comes right afterwith, with onlya,anorthebetween, and is not followed byoforfor, names a feature. When search's own results hold a component or a template, that word asks for no icon, so no icons block follows.ofandfordescribe the glyph itself, socard with an icon of a starstill lists icons. An icon word that is not right afterwith(button with plus icon) still asks, as do set names and export names (SearchIcon).Current specification
spec:AST-084FR11 gains one sentence with the rule, and the FR6 search sentence names it. Experimental surface (spec:AST-017FR27).Public delta and caller burden
data.iconsis absent for a feature phrase whose results hold a component or a template. Nothing else changes:resultsandmatchCountare untouched, and every other query answers as before.Design and alternatives
card,avatar, …); the results already say whether search answered an entry.Evidence
card with an iconandavatar with icon: no icons block; the whole answer equals the answer with no set installed. The fixture set has icons taggedcardandavatar, so this fails without the rule.card with an icon of a star,button with plus icon,trash icon: the icons block lists the matching icon.--jsonand text output ofbutton,dark mode,trash icon,SearchIcon,IconButton,icons,delete,data table,glyphs home,chevron down iconare byte-identical to main (stdout and stderr).Scope
Components: cli search icon section, icon finder ask rule
Testing
search.icons.test.mjs: ask-rule cases for feature phrases,of/for, an icon word not afterwith, and no answered entry; search with a fixture set forcard with an icon,avatar with icon(no block, answer unchanged) andcard with an icon of a star,button with plus icon,trash icon(block).CI=1:search.icons,search, search command text, search discover line,icon,icon-sets-guide,doc-text-ascii, andexperimental-isolationapart from one doctor snapshot (an invalid installed set) that fails the same way on main on this host. CLI structure check andpnpm check:knowledge: clean.Writing rubric results
R1 narration: none; the FR11 sentence states what search reads as an ask.
R2 research: none in the record.
R3 evidence: no evidence cells changed.
R4 rejected alternatives: none in the record; one listed in this description.
R5 change references: none.
R6 open questions: none added.
R7 project status: none.