Repository navigation
fix(cli): outside a project, a page takes the packages its host's set lists - #12057
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec e688856 |
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
The fix works: at this head a page outside a project renders from the host's package set when the set's package.json lists the package, and template stops asking to install it. Two record and doc fixes are needed before approval:
spec:AST-081FR3 still says a hosted run outside a project answers as a new project that installs only Core, the computer-level integrations and host-approved integrations (and FR1 lists only approved integrations as host input), so amend it in this pull request to include the packages the serving folder'spackage.jsonlists, namingtemplate,buildandtheme eject(the last two change through the sharedanalyzeTemplateNeeds) or keeping those two on the old rule, then re-approve the new head.- The
renderdoc (render.doc.mjs) and the render guide (render-pages.doc.mjs) say a page takes any package a host installed beside the CLI, but onlydependenciesandoptionalDependenciesin that folder'spackage.jsonare served, so state that rule exactly and add one sentence to the host entry reference, asspec:AST-017FR14 requires for automatic behavior.
Smaller points: the new test asserts an npm install recharts step outside a project, which FR3's last sentence forbids, so the FR3 amendment should say what template prints for a package nothing provides; a committed hosted render test would also protect the render half. CI's test jobs were cancelled for lack of capacity, so they still need to run on this head.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: a hosted page outside a project can use what the set's package list names: verified (runtime and optional dependencies only).
- Claim: render renders such a page with nothing to install: verified with a probe page importing the icon library.
- Claim: template no longer asks to install those packages: verified by the new test.
- Claim: before, template printed the install step and render stopped: verified (the new test fails on the base).
- Claim: the new lookup is empty without a hosted run: verified.
- Claim: inside a project nothing changes: verified.
- Claim: the served-packages module changes comments only: verified.
- Claim: the docs change one clause and one sentence: verified; the wording is imprecise (second finding).
- Claim: the global-mode record forbids project-setup advice outside a project: verified for that sentence; an earlier sentence of the same requirement contradicts the change (first finding).
- Claim: the record amendment allows the one package-list read: verified.
- Claim: the test counts in the description: not reproduced exactly; the related suites pass.
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear. - File
packages/cli/api/render/_adapter.mjs: first finding. - File
packages/cli/api/render/render.doc.mjs: second finding. - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: second finding. - File
packages/cli/foundation/discovery/template-needs.mjs: first finding. - File
packages/cli/foundation/discovery/template-needs.test.mjs: non-blocking note. - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear.
|
/approve-spec bfe05ef |
|
/approve-spec 83a0c34 |
There was a problem hiding this comment.
The fix works at this head: a hosted run outside a project renders a page that imports a package the set's package.json lists, template stops asking to install it, and the FR3 and INV30 amendments are approved for this head. One fix is needed before approval:
installCommandis nownullwhenever nopackage.jsonholds the folder, but thetemplateandtheme ejectresult docs (api/template/template.doc.mjs,api/template/template.type.mjs,api/theme/themeEject.doc.mjs,api/theme/theme.type.mjs) still say it is null only when nothing is missing or lockfiles tie, so add that case to each.
Two smaller points that predate this pull request: template does not count host-approved integrations the way render does, and render's missing-package error still suggests npm install in a folder with no package.json. A new commit needs a fresh /approve-spec for the record text.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: outside a project, a hosted run's page can use the packages its set's package list names: verified (new render test, host-entry run).
- Claim: render renders a scaffolded template page with nothing to install: verified (the settings template renders).
- Claim: template no longer asks to install those packages: verified (new template test, host-entry run).
- Claim: before, template printed an install step and render stopped: verified (both new tests fail on the base, and the base prints the step).
- Claim: in a folder with no package file, template, build and theme eject name missing packages without an install step: verified in code and tests; the result docs were not updated (finding).
- Claim: only runtime and optional dependencies count: verified (unit test; a development-only entry is still refused).
- Claim: with no hosted run the set adds nothing: verified (unit test).
- Claim: inside a project nothing changes: verified (in-project test, related suites).
- Claim: the install command is null in a folder with no package file, as for tied lockfiles: verified in code; the documented contract omits it (finding).
- Claim: the served-packages module changes comments only: verified.
- Claim: the new tests fail on the old code: verified for the hosted template test and the first render test; the in-project and refusal tests pass on both, as unchanged-path tests.
- Claim: the records state the same rule as the code: verified.
- Claim: the test counts in the description: not reproduced exactly; the related suites pass.
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear. - File
docs/specs/AST-081-global-mode/spec.md: clear. - File
packages/cli/api/render/_adapter.mjs: clear (non-blocking note on the integrations list). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: clear. - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: finding (its new null case is missing from the result docs). - File
packages/cli/foundation/discovery/template-needs.test.mjs: clear. - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear.
|
/approve-spec 25ed0f8 |
There was a problem hiding this comment.
Changes requested: the hosted render and template behavior works at this head, and the four installCommand result docs from the last review are fixed, but three fixes remain.
- Miss:
docs/specs/AST-048-build-recommendation/spec.mdFR15 and FR17 still requiremissingPackagesto list every package the folder does not declare andinstallCommandto be onenpm installcommand when no lockfile decides, as does thetheme ejectreceipt sentence indocs/specs/AST-050-app-themes/spec.md, whichpackages/cli/foundation/discovery/template-needs.mjs:321-332no longer does, so amend those records in this pull request to state the two outside-a-project rules or point to AST-081 FR3. - Miss:
packages/cli/assets/docs/tree/host-entry.doc.mjs:91names{@command experimental render}on the stable host entry page, which fails 4 tests inpackages/cli/test/experimental-isolation.test.mjsand 1 inpackages/cli/test/doc-tokens-compile.test.mjs(both pass on the base), so move that sentence to the experimental render guide or reword it without the experimental command, then update the remainingsearch icongolden with--update. - Miss:
packages/cli/foundation/response/response-types.doc.mjs:354and the README table generated from it still sayinstallCommandis null only when nothing is missing or lockfiles tie, so add the no-package.jsoncase there and runpnpm -F @astryxdesign/cli readme.
The record edits need a fresh /approve-spec <full head SHA> from an engineering owner at the new head, which the author, as an engineering owner, may post. Two smaller points carry over: template does not count host-approved integrations the way render does, and render's missing-package error still suggests npm install in a folder with no package.json.
Claims and files checked
Review mode: incremental; reason: none
- Changed rules (0): none.
- Claim: outside a project, a hosted run's page can use the packages its set's package list names: verified (the hosted render test passes).
- Claim:
renderrenders a scaffolded template page with nothing to install: verified (host-entry run of the settings template; that code is unchanged since). - Claim:
templateno longer asks to install those packages there: verified (hosted template test). - Claim: before,
templateprinted an install step andrenderstopped: verified (base behavior; the new render and hosted template tests fail on the base). - Claim: in a folder with no package file,
template,buildandtheme ejectname missing packages with no install step: verified in code and tests; the build-recommendation and app-themes records still require a command there (finding). - Claim: only runtime and optional dependency lists count: verified (unit test; a development-only entry is ignored).
- Claim: with no hosted run, the set adds nothing: verified (unit test).
- Claim: inside a project nothing changes: verified (in-project test; existing package-manager tests pass).
- Claim: the install command is null in a folder with no package file, as it is for tied lockfiles: verified in code; the four result docs now say so, but the response-type reference and README table do not (finding).
- Claim: the served-packages module changes comments only: verified.
- Claim: the new template-needs tests and the first render test fail on the old code: verified.
- Claim: the global-mode and CLI-surface records state the same rule as the code: verified; the build-recommendation record, which owns these values, was not amended (finding).
- Claim: the render doc, render guide and host entry page describe the rule: verified; the host entry sentence names an experimental command in a stable doc (finding).
- Claim: the stated test runs pass: not reproduced as stated; the isolation and doc-token test files, which those runs do not list, fail at this head (finding).
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear. - File
docs/specs/AST-081-global-mode/spec.md: finding (its rule is not carried into the build-recommendation record). - File
packages/cli/api/render/_adapter.mjs: clear (non-blocking note on the integrations list). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/api/template/template.doc.mjs: clear; its sibling response-type text is the finding. - File
packages/cli/api/template/template.type.mjs: clear. - File
packages/cli/api/theme/theme.type.mjs: clear. - File
packages/cli/api/theme/themeEject.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: finding (an experimental command on a stable page). - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: finding (values the build-recommendation record still forbids). - File
packages/cli/foundation/discovery/template-needs.test.mjs: finding (pins the null install command the record forbids). - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear.
|
/approve-spec 6605cc2 |
There was a problem hiding this comment.
Approved pending CI: CI has not finished on this head yet.
Outside a project, a hosted run's pages now take the packages the host's set lists in its package.json, and the record amendments to global mode, build recommendation, app themes and the CLI surface carry an engineering owner's approval for this head. The three points from the last review are fixed: the build-recommendation and app-themes records state the outside-a-project rules, the host entry page names no experimental command, and the response-type reference and README list the third installCommand null case.
Two smaller points can follow separately: template does not count host-approved integrations as present the way render serves them, and render's missing-package error still suggests npm install in a folder with no package.json.
Claims and files checked
Review mode: full; reason: spec-record
- Changeset: outside a project, a page can use the packages a host's set lists in its package file, as it uses Astryx, React and StyleX: verified (hosted render test; the settings template rendered through a host entry).
- Changeset:
renderrenders a scaffolded template page with nothing to install: verified (host-entry run of the settings template exits 0 and writes the HTML file). - Changeset:
templateno longer asks to install those packages there: verified (hosted template-needs test; the host-entry run prints no install step). - Changeset: before,
templateprinted an install step for the icon library andrenderstopped: verified (the same host-entry run on the base). - Changeset: in a folder with no package file,
template,buildandtheme ejectname a missing package with no install step: verified (template-needs test;buildandtheme ejectread the same result). - Description: following the old install step writes a package file and node_modules into that folder: consistent with npm's behavior for an install with no package file; not rerun here.
- Description: on a machine whose npm cannot reach its registry the step never finishes: context that depends on the network; no finding rests on it.
- Description: the set's listed packages count, the CLI keeps no list of its own, and only runtime and optional dependency lists are read: verified (lookup reads the set's package file; unit test ignores a development entry).
- Description:
templatenames only what the set does not provide, and a held but unlisted package is still refused byrender: verified (template-needs test; second render test; host-entry run with the package unlisted). - Description: inside a project nothing changes: verified (in-project test; both callers skip the set inside a project).
- Description: with no host, the set adds nothing: verified (unit test).
- Description: the global-mode, build-recommendation, app-themes and CLI-surface records state the rules the code follows: verified against the code; an engineering owner approved them for this head.
- Description: the served-packages module changes comments only: verified.
- Description: the render doc, render guide and host entry page describe the rule, and the host entry page names no experimental command: verified (isolation and doc-token tests pass).
- Description: the template and theme eject result docs, the response types and the generated README table list the third null case: verified (README generation test passes).
- Description: the new hosted template-needs test and the first render test fail on the old code: verified (red-first run); the in-project test guards an unchanged path and passes on both.
- Description: the
search icongolden count moves by one because the host entry page now matches the word: verified (isolation test passes; only the count changes). - Description: the listed test runs, typecheck, knowledge check, ESLint and Prettier pass: the same test files pass here, the knowledge check and ESLint pass, the typecheck reports only two unbuilt-theme imports in unchanged files, and every changed Markdown file is formatted.
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear. - File
docs/specs/AST-048-build-recommendation/spec.md: clear. - File
docs/specs/AST-050-app-themes/spec.md: clear. - File
docs/specs/AST-081-global-mode/spec.md: clear. - File
packages/cli/README.md: clear (generated). - File
packages/cli/api/render/_adapter.mjs: clear (non-blocking: integrations list; install suggestion outside a project). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/api/template/template.doc.mjs: clear. - File
packages/cli/api/template/template.type.mjs: clear. - File
packages/cli/api/theme/theme.type.mjs: clear. - File
packages/cli/api/theme/themeEject.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: clear. - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: clear (non-blocking: integrations list). - File
packages/cli/foundation/discovery/template-needs.test.mjs: clear. - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/response/response-types.doc.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.json: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.txt: clear.
There was a problem hiding this comment.
Changes requested: the hosted render and template behavior and the record amendments are in good shape, and the three points from the last review are fixed, but one description claim needs correcting.
- Miss: the description's Evidence section says that in any folder a
package.jsonholdstemplatestill names the package with the project's install command, but in a hosted run whose set lists@heroicons/react, a React app folder with no Astryx package now getsmissingPackages: []and no install command (aspackages/cli/foundation/discovery/template-needs.mjs:321and the amended build-recommendation FR15 intend), so reword that sentence to cover only runs inside a project or with no host, and state the React-app case under User impact.
No code or record change is needed, and the spec approval for this head stays valid, since editing the description does not change the head. Two smaller points can follow separately: template does not count host-approved integrations as present the way render serves them, and render's missing-package error still suggests npm install in a folder with no package.json.
Claims and files checked
Review mode: full; reason: spec-record
- Changeset: outside a project, a page can use the packages a host's set lists in its package file, as it uses Astryx, React and StyleX: verified (hosted render test; the settings template rendered through a host entry).
- Changeset:
renderrenders a scaffolded template page with nothing to install: verified (host-entry run of the settings template exits 0 and writes the HTML file). - Changeset:
templateno longer asks to install those packages there: verified (hosted template-needs test; the host-entry run prints no install step). - Changeset: before,
templateprinted an install step for the icon library andrenderstopped: verified (the same host-entry run on the base). - Changeset: in a folder with no package file,
template,buildandtheme ejectname a missing package with no install step: verified (template-needs test;buildandtheme ejectread the same result). - Description: following the old install step writes a package file and node_modules into that folder: consistent with npm's behavior for an install with no package file; not rerun here.
- Description: on a machine whose npm cannot reach its registry the step never finishes: context that depends on the network; no finding rests on it.
- Description: the set's listed packages count, the CLI keeps no list of its own, and only runtime and optional dependency lists are read: verified (lookup reads the set's package file; unit test ignores a development entry).
- Description:
templatenames only what the set does not provide, and a held but unlisted package is still refused byrender: verified (template-needs test; second render test; host-entry run with the package unlisted). - Description: inside a project nothing changes: verified (in-project test; both callers skip the set inside a project).
- Description: inside a project, and in any folder a package file holds,
templatestill names the package with the project's install command: false for hosted runs: in a React app folder with no Astryx package, a host whose set lists the icon library gets no missing package and no install step (host-entry run; the readiness filter counts the set's packages in every folder outside a project). Finding. - Description: with no host, the set adds nothing: verified (unit test).
- Description: the global-mode, build-recommendation, app-themes and CLI-surface records state the rules the code follows: verified against the code; an engineering owner approved them for this head.
- Description: the served-packages module changes comments only: verified.
- Description: the render doc, render guide and host entry page describe the rule, and the host entry page names no experimental command: verified (isolation and doc-token tests pass).
- Description: the template and theme eject result docs, the response types and the generated README table list the third null case: verified (README generation test passes).
- Description: the new hosted template-needs test and the first render test fail on the old code: verified (red-first run); the in-project test guards an unchanged path and passes on both.
- Description: the
search icongolden count moves by one because the host entry page now matches the word: verified (isolation test passes; only the count changes). - Description: the listed test runs, typecheck, knowledge check, ESLint and Prettier pass: the same test files pass here, the knowledge check and ESLint pass, the typecheck reports only two unbuilt-theme imports in unchanged files, and every changed Markdown file is formatted.
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear. - File
docs/specs/AST-048-build-recommendation/spec.md: clear. - File
docs/specs/AST-050-app-themes/spec.md: clear. - File
docs/specs/AST-081-global-mode/spec.md: clear. - File
packages/cli/README.md: clear (generated). - File
packages/cli/api/render/_adapter.mjs: clear (non-blocking: integrations list; install suggestion outside a project). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/api/template/template.doc.mjs: clear. - File
packages/cli/api/template/template.type.mjs: clear. - File
packages/cli/api/theme/theme.type.mjs: clear. - File
packages/cli/api/theme/themeEject.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: clear. - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: clear in code (matches the amended record); the description misstates its effect in folders a package file holds (finding); non-blocking: integrations list. - File
packages/cli/foundation/discovery/template-needs.test.mjs: clear. - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/response/response-types.doc.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.json: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.txt: clear.
|
/approve-spec 3c1fb77 |
There was a problem hiding this comment.
Approved pending CI: the main CI run on this head was cancelled because the CI queue was full, so its test and build jobs still need a re-run before the required checks can pass.
The description now limits the unchanged-path claim to runs inside a project or with no host and states the hosted React-app case, which resolves the one point from the last review; a host-entry run at this head confirms that such a folder reports nothing missing and renders the page from the set. Two smaller, pre-existing points can follow separately: template does not count host-approved integrations as present the way render serves them, and render's missing-package error still suggests npm install in a folder with no package.json.
Claims and files checked
Review mode: incremental; reason: none
- changed rules (0): none
- Changeset: outside a project, when a tool runs the CLI from its own package set, a page can use the other packages that set's package file lists, as it uses Astryx, React and StyleX: verified (hosted render test; host-entry runs in an empty folder and in a React app folder).
- Changeset:
renderrenders a scaffolded template page with nothing to install: verified (host-entry run of the settings template exits 0 and writes the HTML file). - Changeset:
templateno longer asks to install those packages there: verified (hosted readiness test; host-entry runs print no install step). - Changeset: before,
templateprinted an install step for the icon library andrenderstopped: verified (the same host-entry run on the base). - Changeset: in a folder with no package file,
template,buildandtheme ejectname a package nothing provides as missing, for the project that uses the page, with no install step: verified (readiness test;buildandtheme ejectread the same result). - Description: following the old install step writes a package file and node_modules into the folder: consistent with npm's behavior for an install in a folder with no package file; not rerun.
- Description: on a machine whose npm cannot reach its registry, the step never finishes: network-dependent context; no finding rests on it.
- Description: a page takes each package the set's package file lists, and
templatenames only what the set does not provide: verified for listed packages; a package the set holds without listing is still named and refused, as the Evidence section says (readiness test; second render test; host-entry run with the package unlisted). - Description: in a folder no package file holds,
templatenames a package nothing provides as missing and prints no install step: verified (readiness test). - Description: a folder outside an Astryx project with its own package file, such as a React app without Astryx, counts the same way in a hosted run,
templatereports nothing missing, and the page renders from the set: verified (host-entry run in such a folder: no missing package, no note, render exits 0 and writes the HTML file). - Description: inside a project nothing changes: verified (in-project test; a direct call names both packages with the project's install command; both callers skip the set inside a project).
- Description: before the change, a render outside a project took only Astryx, React, StyleX and approved integrations, and
templateread only the folder's package file: verified against the base code. - Description: the printed step sets up a project, which the global-mode record says output outside a project must not do: verified (the last sentence of that requirement).
- Description: the CLI keeps no list of its own, and the host decides what its set holds: verified (the lookup reads the set's package file).
- Description: the global-mode, build-recommendation, app-themes and CLI-surface records are amended as listed: verified against the diff; an engineering owner approved them for this head.
- Description: the new lookup reads only the runtime and optional dependency lists and is empty with no host: verified (unit tests; a development entry is ignored).
- Description: the render adapter allows the approved integrations plus those packages, and the shared readiness module drops listed packages outside a project and gives a note with no install command where no package file holds the folder: verified.
- Description: the served-packages module changes comments only: verified.
- Description: the render doc, render guide and host entry page describe the rule, the host entry page names no experimental command, and the result docs, response types and generated README table list the third null case: verified (isolation and doc-token tests pass; the strings match).
- Description: the base reproduction and the head result through a host entry: verified (host-entry runs).
- Description: inside a project, and in any run with no host,
templatestill names a missing package with the project's install command when a package file holds the folder: verified (with no host the set adds nothing; the install-command path is unchanged). - Description: the readiness tests cover a folder with no package file, a hosted run and a project: verified (the in-project test asserts the names; the install command there comes from the unchanged path, confirmed by a direct call).
- Description: the new readiness and render tests fail on the old code: verified for the hosted readiness test and the first render test; the in-project test and the unlisted-package render test guard unchanged paths and pass on both.
- Description: the search icon golden count moves by one because the host entry page now matches the word: verified (isolation test passes; only the count changes).
- Description: the listed test runs, typecheck, knowledge check, ESLint and Prettier pass: the same test files pass here; the knowledge check, ESLint and Markdown formatting passed on this identical tree in the previous review; the typecheck there reported only two unbuilt-theme imports in unchanged files.
- Description: no new public API, visual representation, default or interaction model is hidden under the fix label: verified (no exported surface changes; the null case is documented).
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear. - File
docs/specs/AST-048-build-recommendation/spec.md: clear. - File
docs/specs/AST-050-app-themes/spec.md: clear. - File
docs/specs/AST-081-global-mode/spec.md: clear. - File
packages/cli/README.md: clear (generated). - File
packages/cli/api/render/_adapter.mjs: clear (non-blocking: integrations list; install suggestion outside a project). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/api/template/template.doc.mjs: clear. - File
packages/cli/api/template/template.type.mjs: clear. - File
packages/cli/api/theme/theme.type.mjs: clear. - File
packages/cli/api/theme/themeEject.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: clear. - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: clear (non-blocking: integrations list). - File
packages/cli/foundation/discovery/template-needs.test.mjs: clear. - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/response/response-types.doc.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.json: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.txt: clear.
3c1fb77 to
bf1df96
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner: the record amendments this change relies on (spec:AST-081 FR3, spec:AST-048 FR15, FR17 and FR21, the spec:AST-050 theme eject sentence, and the architecture:cli-surface INV30 bullets) need a spec approval for this head, because the rebase onto main made new commits and the earlier approval covered only the previous head. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, which the author may do as an engineering owner.
The code matches the amended text and no blocking defect was found; CI's test and build jobs did not run on this head because the CI queue was full, so they need a re-run. Two smaller, pre-existing points can follow separately: template does not count host-approved integrations as present the way render serves them, and render's missing-package error still suggests npm install in a folder with no package.json.
Claims and files checked
Review mode: full; reason: rebase
- Changeset: outside a project, when a tool runs the CLI from its own package set, a page can use the other packages the set's package file lists, as it uses Astryx, React and StyleX: verified (hosted render test passes here and fails on the base).
- Changeset:
renderrenders a scaffolded template page with nothing to install: verified for a page that imports a set-listed package (hosted render test, server render and inline script); the settings template itself was not rendered through a host entry in this run. - Changeset:
templateno longer asks to install those packages there: verified (hosted readiness test). - Changeset: before,
templateprinted annpm installstep for the icon library andrenderstopped: verified (an empty-foldertemplaterun on the base prints the step; the hosted render test fails on the base with the missing-package error). - Changeset: in a folder with no package file,
template,buildandtheme ejectname a package nothing provides as missing, for the project that uses the page, with no install step: verified (readiness test and an empty-folder run;buildandtheme ejectcall the same function). - Description: following the old step writes a package file and node_modules into the folder: consistent with npm's behavior for an install with no package file; not rerun.
- Description: on a machine whose npm cannot reach its registry, the step never finishes: network-dependent context; no finding rests on it.
- Description: a page takes each package the set's package file lists, and
templatenames only what the set does not provide: verified for listed packages; a package the set holds without listing is still named and refused (second render test). - Description: in a folder no package file holds,
templatenames a package nothing provides as missing and prints no install step: verified. - Description: a folder outside an Astryx project with its own package file, such as a React app, counts the same way in a hosted run, and the page renders from the set: verified in code (both callers use the same outside-a-project check and the same set list); not run through a host entry in this run.
- Description: inside a project nothing changes: verified (in-project readiness test passes on base and head; both callers skip the set inside a project).
- Description: before the change, a render outside a project took only Astryx, React, StyleX and approved integrations, and
templateread only the folder's package file: verified against the base code. - Description: the printed step sets up a project, which the global-mode record forbids outside a project: verified (the last sentence of that requirement).
- Description: the CLI keeps no list of its own and the host decides what its set holds: verified (the lookup reads the set's package file).
- Description: the global-mode, build-recommendation, app-themes and CLI-surface records are amended as listed: verified against the diff; not yet approved for this head.
- Description: the new lookup reads only the runtime and optional dependency lists and is empty with no host: verified (unit tests; a development entry is ignored).
- Description: the render adapter allows the approved integrations plus those packages, and the readiness module drops listed packages outside a project and gives a note with no install command where no package file holds the folder: verified.
- Description: the served-packages module changes comments only: verified.
- Description: the render doc, render guide and host entry page describe the rule, the host entry page names no experimental command, and the result docs, response types and generated README table list the third null case: verified (isolation and doc-token tests pass; the README check is in sync).
- Description: the reproduction and result with an npm-made package set: the base half is reproduced here by the failing hosted test and the empty-folder run; the npm-made set itself was not rebuilt.
- Description: inside a project, and in any run with no host,
templatestill names a missing package with the project's install command when a package file holds the folder: verified (that path is unchanged; with no host the set adds nothing). - Description: the readiness tests cover a folder with no package file, a hosted run and a project, the lookup test ignores development dependencies, and the render test runs a CLI copy placed in a package set through its host entry: verified.
- Description: the new readiness tests and the first render test fail on the old code: verified (on the base, the hosted readiness test, the first render test and both lookup tests fail; the in-project and unlisted-package tests pass on both).
- Description: the
search icongolden count moves from 234 to 235 because the host entry page now matches the word: verified (isolation test passes). - Description: the listed test runs, typecheck, knowledge check, ESLint and Prettier pass: the changed test files and their neighbors pass here (79 files); the strict typecheck after the declaration sync reports only two imports of an unbuilt theme in unchanged template files; CI's Lint workflow passed on this head.
- Description: no new public API, visual representation, default or interaction model is hidden under the fix label: verified (no exported surface changes; the third null case is documented; the changeset labels the change a feature).
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear (amendment awaits owner approval). - File
docs/specs/AST-048-build-recommendation/spec.md: clear (amendment awaits owner approval). - File
docs/specs/AST-050-app-themes/spec.md: clear (amendment awaits owner approval). - File
docs/specs/AST-081-global-mode/spec.md: clear (amendment awaits owner approval). - File
packages/cli/README.md: clear (generated). - File
packages/cli/api/render/_adapter.mjs: clear (non-blocking: install suggestion outside a project). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/api/template/template.doc.mjs: clear. - File
packages/cli/api/template/template.type.mjs: clear. - File
packages/cli/api/theme/theme.type.mjs: clear. - File
packages/cli/api/theme/themeEject.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: clear. - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: clear (non-blocking: integrations not counted). - File
packages/cli/foundation/discovery/template-needs.test.mjs: clear. - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/response/response-types.doc.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.json: clear (golden). - File
packages/cli/test/__golden__/no-icon-set/search-icon.txt: clear (golden).
|
/approve-spec bf1df96 |
|
/approve-spec 2e9fab8 |
There was a problem hiding this comment.
Approved pending CI: the CI run on this head was cancelled because the CI queue was full, so its test and build jobs need a re-run before merge.
The record amendments this change relies on (spec:AST-081 FR3, spec:AST-048 FR15, FR17 and FR21, the spec:AST-050 theme eject sentence, and the architecture:cli-surface INV30 bullets) now carry an engineering owner's approval for this head, and the code matches them: a hosted run scaffolds and renders the settings page with nothing to install, and a folder with no package.json gets no install step. Two smaller, pre-existing points can follow separately: template does not count host-approved integrations as present the way render serves them, and render's missing-package error still suggests npm install outside a project.
Claims and files checked
Review mode: incremental; reason: none
- changed rules (0): none
- Changeset: outside a project, when a tool runs the CLI from its own package set, a page can use the other packages the set's package file lists, as it uses Astryx, React and StyleX: verified (hosted render test passes here and fails on the base; a hosted run renders the settings template page).
- Changeset:
renderrenders a scaffolded template page with nothing to install: verified (hosted run:template settingsthenexperimental render settings/page.tsxin an empty folder exits 0 and writes the HTML file). - Changeset:
templateno longer asks to install those packages there: verified (hosted run reports no missing package and no note). - Changeset: before,
templateprinted annpm installstep for the icon library andrenderstopped: verified (base empty-folder run prints the step; the hosted render test fails on the base with the missing-package error). - Changeset: in a folder with no package file,
template,buildandtheme ejectname a package nothing provides as missing, for the project that uses the page, with no install step: verified (head empty-folder run;buildandtheme ejectcall the same readiness function). - Description: before the change, a hosted run outside a project printed an install step and refused the render although the set held the icon library: verified against the base code and the base runs above.
- Description: following the old step writes a package file and node_modules into the folder: npm's behavior for an install with no package file; not rerun, and no finding rests on it.
- Description: where npm cannot reach its registry, the step never finishes: environment context; no finding rests on it.
- Description: a page takes each package the set's package file lists,
templatenames only what the set does not hold, andrenderneeds nothing installed: verified (hosted run; a package the set holds without listing is still named and refused). - Description: in a folder no package file holds,
templatenames a package nothing provides as missing and prints no install step: verified. - Description: a folder with its own package file but no Astryx, such as a React app, counts the same in a hosted run, reports nothing missing, and the page renders from the set: verified (hosted run in such a folder: no note, render exits 0).
- Description: inside a project nothing changes: verified (the in-project readiness test passes on base and head; both callers skip the set inside a project).
- Description: the cause is that a render took only Astryx, React, StyleX and approved integrations, and
templateread only the folder's package file: verified against the base code. - Description: the printed step sets up a project, which the global-mode record forbids outside a project: verified (the last sentence of that requirement).
- Description: the set's package file says what the host installed and the CLI keeps no list of its own: verified (the lookup reads the set's package file).
- Description: the global-mode, build-recommendation, app-themes and CLI-surface records are amended as listed: verified against the diff, and an engineering owner approved them for this head.
- Description: the new lookup reads only the runtime and optional dependency lists and is empty with no host: verified (unit tests; a development entry is ignored).
- Description: the render adapter allows the approved integrations plus those packages, and the readiness module drops listed packages outside a project and gives no install command where no package file holds the folder: verified.
- Description: the served-packages module changes comments only: verified.
- Description: the render doc, render guide and host entry page state the rule, the host entry page names no experimental command, and the result docs, response types and generated README table list the third null case: verified (isolation and doc-token tests pass; the README check is in sync).
- Description: the reproduction and result with an npm-made package set: reproduced with an equivalent set built from the repository (base by tests and an empty-folder run, head by a hosted run); the npm-made set itself was not rebuilt.
- Description: inside a project, and in any run with no host,
templatestill names a missing package with the install command when a package file holds the folder: verified (that branch is unchanged; with no host the lookup is empty). - Description: the regression tests cover a folder with no package file, a hosted run and a project, the lookup ignores development dependencies, and the render test runs a placed CLI copy through its host entry: verified.
- Description: the new readiness tests and the first render test fail on the old code: verified (on the base the hosted readiness test, the first render test and both lookup tests fail; the in-project guard passes, as an unchanged path should).
- Description: the
search icongolden count moves from 234 to 235 because the host entry page now matches the word: verified (isolation test passes). - Description: the listed test runs pass: the changed test files and their neighbors pass here (79 files, 1122 tests); the full listed set was not rerun.
- Description: the strict typecheck, knowledge check, ESLint and Prettier pass: verified for this change (the typecheck reports only two imports of an unbuilt theme in unchanged templates, the same on the base; the knowledge check passes; ESLint reports no error; the changed files under the repository's Prettier patterns are formatted).
- Description: one defect, no tagalong, no hidden public API, default or interaction model, no internal context: verified (no exported surface changes; the third null case is documented; no internal context in the added lines).
- Description: writing rubric results: verified (the amended sentences describe present behavior and add no status lines).
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear (amendment approved for this head). - File
docs/specs/AST-048-build-recommendation/spec.md: clear (amendment approved for this head). - File
docs/specs/AST-050-app-themes/spec.md: clear (amendment approved for this head). - File
docs/specs/AST-081-global-mode/spec.md: clear (amendment approved for this head). - File
packages/cli/README.md: clear (generated). - File
packages/cli/api/render/_adapter.mjs: clear (non-blocking: install suggestion outside a project, unchanged). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/api/template/template.doc.mjs: clear. - File
packages/cli/api/template/template.type.mjs: clear. - File
packages/cli/api/theme/theme.type.mjs: clear. - File
packages/cli/api/theme/themeEject.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: clear. - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: clear (non-blocking: approved integrations not counted). - File
packages/cli/foundation/discovery/template-needs.test.mjs: clear. - File
packages/cli/foundation/render/served-packages.mjs: clear. - File
packages/cli/foundation/response/response-types.doc.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.json: clear (golden). - File
packages/cli/test/__golden__/no-icon-set/search-icon.txt: clear (golden).
… holds gets no install step
…l where no package.json holds the folder
…rules; the host entry page names no experimental command
2e9fab8 to
ef2c6d7
Compare
|
/approve-spec ef2c6d7 |
There was a problem hiding this comment.
Approved pending CI: CI has not finished on this head yet, so its remaining UI test and docsite browser jobs must pass before merge.
After the rebase, the record amendments this change relies on (spec:AST-081 FR3, spec:AST-048 FR15, FR17 and FR21, the spec:AST-050 theme eject sentence, and the architecture:cli-surface INV30 bullets) carry an engineering owner's approval for this head, and the code matches them: a hosted run scaffolds and renders the settings page with nothing to install, and a folder with no package.json gets no install step. The render adapter's conflict resolution keeps main's refusal that names every missing package. Two smaller, pre-existing points can follow separately: template does not count host-approved integrations as present the way render serves them, and render's missing-package error still suggests npm install outside a project.
Claims and files checked
Review mode: full; reason: rebase
- Changeset: outside a project, when a tool runs the CLI from its own package set, a page can use the other packages that set's package file lists, as it uses Astryx, React and StyleX: verified (the hosted render test passes here and fails on the base).
- Changeset:
renderrenders a scaffolded template page with nothing to install: verified (a hosted run scaffolds the settings page and renders it, exit 0). - Changeset:
templateno longer asks to install those packages there: verified (hosted run: no note, emptymissingPackages). - Changeset: before,
templateprinted annpm installstep for the icon library andrenderstopped until it ran: verified (the same hosted run on the base). - Changeset: in a folder with no package file,
template,buildandtheme ejectname a package nothing provides as missing, for the project that uses the page, instead of an install step: verified (readiness test and a no-host run;buildandtheme ejectcall the same readiness function). - Description: on the base, a hosted run outside a project printed the install step and refused the render although the set held the icon library: verified (reproduced with a set built from the repository).
- Description: following the old step writes a package file and
node_modulesinto the folder, and never finishes where npm cannot reach its registry: npm's behavior, context only; no finding rests on it. - Description: after the change a page takes each package the set's package file lists,
templatenames only what the set does not provide, andrenderneeds nothing installed: verified (a package the set holds without listing it is still named and refused, as the description's evidence section states). - Description: in a folder no package file holds,
templatenames a package nothing provides as missing and prints no install step: verified. - Description: a folder outside an Astryx project with its own package file, such as a React app, counts the same in a hosted run: nothing missing, no install step, and the page renders from the set: verified (hosted run in such a folder).
- Description: inside a project nothing changes: verified (the in-project test passes on base and head; both callers skip the set in a project).
- Description: the cause is that a render took only Astryx, React, StyleX and approved integrations, and
templateread only the folder's package file: verified against the base code. - Description: the printed step sets up a project, which the global-mode record forbids outside one: verified (that requirement's last sentence).
- Description: the set's package file says what the host installed, and the CLI keeps no list of its own: verified (the lookup reads that file only).
- Description: the global-mode, build-recommendation, app-themes and CLI-surface records are amended as listed: verified against the diff; an engineering owner approved them for this head.
- Description: the new lookup reads the runtime and optional dependency lists of the root holding the starting copy and is empty with no host: verified (unit tests; a development entry is ignored).
- Description: the render adapter serves approved integrations plus those packages, and the shared readiness module drops listed packages outside a project and gives no install command where no package file holds the folder: verified.
- Description: the served-packages module changes comments only: verified.
- Description: the render doc, render guide and host entry page state the rule, the host entry page names no experimental command, and the result docs, response types and regenerated README table list the new null case: verified (isolation and doc-token tests pass; the README check is in sync).
- Description: the reproduction and result with an npm-made package set: reproduced with an equivalent set built from the repository; the npm-made set itself was not rebuilt.
- Description: inside a project, and in any run with no host,
templatestill names a missing package with the install command when a package file holds the folder: verified (branch unchanged; with no host the lookup is empty). - Description: the regression tests cover a folder with no package file, a hosted run and a project; the lookup ignores development dependencies; the render test runs a placed CLI through its host entry: verified.
- Description: the new readiness tests and the first render test fail on the old code: verified (on the base the hosted readiness test, the first render test and both lookup tests fail; the guard tests pass, as unchanged paths should).
- Description: the
search icongolden count moves from 234 to 235 because the host entry page now matches the word: verified (isolation test passes). - Description: the listed test runs pass: the changed test files and their neighbors pass here (76 files, 631 tests); the full listed set was not rerun.
- Description: the knowledge check, ESLint and Prettier pass: verified (Prettier in the repository's formatted file types); the strict typecheck was not rerun here, and CI's typecheck job passed on this head.
- Description: one defect, no tagalong, no hidden public API, default or interaction model, no internal context: verified.
- Description: writing rubric results: verified (the amended sentences describe present behavior and add no status lines).
- File
.changeset/served-set-template-packages.md: clear. - File
docs/architecture/cli-surface.md: clear (amendment approved for this head). - File
docs/specs/AST-048-build-recommendation/spec.md: clear (amendment approved for this head). - File
docs/specs/AST-050-app-themes/spec.md: clear (amendment approved for this head). - File
docs/specs/AST-081-global-mode/spec.md: clear (amendment approved for this head). - File
packages/cli/README.md: clear (generated; the README check is in sync). - File
packages/cli/api/render/_adapter.mjs: clear (the rebase resolution keeps the every-package refusal; non-blocking: the install suggestion outside a project is unchanged). - File
packages/cli/api/render/hosted-packages.test.mjs: clear. - File
packages/cli/api/render/render.doc.mjs: clear. - File
packages/cli/api/template/template.doc.mjs: clear. - File
packages/cli/api/template/template.type.mjs: clear. - File
packages/cli/api/theme/theme.type.mjs: clear. - File
packages/cli/api/theme/themeEject.doc.mjs: clear. - File
packages/cli/assets/docs/tree/host-entry.doc.mjs: clear (names no experimental command). - File
packages/cli/assets/docs/tree/render-pages.doc.mjs: clear. - File
packages/cli/foundation/discovery/template-needs.mjs: clear (non-blocking: approved integrations not counted). - File
packages/cli/foundation/discovery/template-needs.test.mjs: clear. - File
packages/cli/foundation/render/served-packages.mjs: clear (comments only). - File
packages/cli/foundation/response/response-types.doc.mjs: clear. - File
packages/cli/foundation/runtime/package-root.mjs: clear. - File
packages/cli/foundation/runtime/package-set.test.mjs: clear. - File
packages/cli/test/__golden__/no-icon-set/search-icon.json: clear (golden count 234 to 235). - File
packages/cli/test/__golden__/no-icon-set/search-icon.txt: clear (golden count 234 to 235).
User impact
A tool can run the Astryx CLI for you from its own package set: it installs the CLI, Core and other packages in one folder and starts the CLI through the host entry. Outside a project, someone scaffolds a template page with such a tool and renders it:
Even when the tool's set already holds that icon library, the CLI asks for an
npm installin a folder that is not a project, andrenderstops until it runs. Following the step writes apackage.jsonandnode_modulesinto that folder. On a machine where npm cannot reach its registry from the person's shell, the step never finishes, and the page never renders.After this change, outside a project, a page also takes each package that the host's set lists in its
package.json, as it already takes Astryx, React and StyleX.templatenames only the packages the set does not hold, andrenderrenders the page with nothing to install. In a folder that nopackage.jsonholds,templatenames a package nothing provides as missing, for the project that uses the page, and prints no install step that would turn the folder into a project. A folder outside an Astryx project counts the same way when it has apackage.jsonof its own, such as a React app that has not added Astryx yet: in a hosted run whose set lists the icon library,templatereports nothing missing there and prints no install step, and the page renders from the set. Inside a project nothing changes: the project's own packages serve the page, andtemplatenames what the project lacks.Problem and solution fit
templatecompares the template's imports with the target folder'spackage.jsonalone.spec:AST-081FR3 says output outside a project must not do, and the render cannot go on without it.The set's own
package.jsonsays what its host installed there. A render now resolves those packages from the set too, andtemplatecounts them as present. The CLI keeps no list of its own: the host decides what its set holds.Expected behavior and authority
spec:AST-081FR3: outside a project, the answering release answers as a new project with only its Core, the computer-level integrations and the host's approved integrations would, and output there must not give advice that works only inside a project, such as a step that sets up a project the folder does not have. This PR amends FR3: in a hosted run, the packages the serving root'spackage.jsonlists independenciesoroptionalDependenciescount too (rendertakes them;template,buildandtheme ejectdo not name them as missing), and in a folder that nopackage.jsonholds, those three commands name a package nothing provides as missing, with no install command.architecture:cli-surfaceINV30: what a package set fills outside a project. This PR adds the matching bullet and amends the enumeration bullet to allow that one read.spec:AST-048FR15, FR17 and FR21 own the readiness values (missingPackages,installCommand,notes). This PR amends them to match: FR15 counts the serving root's listed packages as declared in a hosted run outside a project; FR17 gives a command only when a package.json holds the target directory, and otherwise names the missing packages for the project that uses the source; FR21'snotesline names that case.spec:AST-050'stheme ejectsentence lists the third null case forinstallCommand.Smallest restoration
foundation/runtime/package-root.mjs:servingRootPackages(), the packages that the root holding the run's starting copy lists independenciesandoptionalDependencies. Empty with no hosted run.api/render/_adapter.mjs: outside a project, the packages a page may take from the set are the approved integrations plus those packages.foundation/discovery/template-needs.mjs, shared bytemplate,buildandtheme eject: outside a project, a package the set lists is not missing; in a folder that nopackage.jsonholds, the note names the missing packages for the project that uses the page and carries no install command (installCommandis null, as it already is when lockfiles tie).foundation/render/served-packages.mjs: comments only.installCommandnull case in the template and theme eject result docs and the canonical response types, with the README table regenerated.Evidence
@heroicons/react), started through its host entry in an empty folder.template settings --type page ./settingsprintedInstall missing dependencies: npm install @heroicons/react@"^2.2.0".experimental render settings/page.tsxexited 1 withThe page imports @heroicons/react, which is not installed.templateprinted no install step, andrenderexited 0 and wrotesettings/page.html.templatestill names a missing package with the project's install command when apackage.jsonholds the folder (the existing package-manager tests pass unchanged). With no hosted run, the set adds nothing, becauseservingRootPackages()is empty.analyzeTemplateNeedsin a folder nopackage.jsonholds names the missing packages with no install command; in a hosted run it also counts the set's package as present; inside a project it names both with the install command.servingRootPackages()readsdependenciesandoptionalDependenciesand ignoresdevDependencies. The new template-needs tests fail on the old code.api/render/hosted-packages.test.mjsrenders through a real host entry: the packed CLI placed in a package set with Core and one extra package, started outside any project. It renders a page that imports the extra package when the set'spackage.jsonlists it, and refuses the page when the set holds the package without listing it. The first test fails with the old render adapter.Scope
Components: CLI (
template's install step andrender, outside a project, in a hosted run)Writing rubric results
Testing
vitest run --project nodeovertest/experimental-isolation(thesearch icongolden count moves 234 to 235: the host entry page now matches "icon"; nothing experimental),test/doc-tokens-compile,foundation/discovery/template-needs,api/template,api/render/hosted-packages,foundation/doc-compiler,foundation/responseand the global-mode docs test: 87 files, 770 passed. Earlier,api/build/_adapter,api/theme/_adapter,host,foundation/runtime/package-setandhosted-runtimetoo.vitest run --project nodeoverfoundation/doc-compiler, the golden-reads, packed search catalog and search ranking tests,foundation/render, andhost: 27 files, 1070 passed.tsc --project tsconfig.strict.jsonaftersync-api-types,scripts/check-knowledge.mjs, ESLint, and Prettier on the changed files.