Repository navigation
chore(static): remove the dead script and type the deep-static lane reports - #11711
IvenKooLab wants to merge 1 commit into
Conversation
[Medium impact] The changes reach website publishing and an internal TypeScript type. The PR should not merge until website preparation no longer calls the deleted script. SummaryThis PR removes a manifest-reading script, its website scope entry and matching test row, and an unused ELF type alias.
Reviews (2) · Last reviewed commit: "chore(static): remove the dead script an..." · Reviewed by Greptile |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
The only red check is Everything else in the run is green, including |
ab6b574 to
397dce8
Compare
…eports `npm run knip` fails on `main` at `b74b314fb` with one unused file and one unused exported type, so the `Deep static checks` lane is red for every PR that runs it: - `scripts/read-authored-skill-manifest.mjs` reads a manifest from stdin and nothing invokes it. Its change-scope entry and the matching case in `ciChangeScope.test.ts` go with it. - `ElfMetadataArchitecture` derived a type from `ELF_METADATA_ARCHITECTURES` that no consumer names; the constant stays the declaration the admission code reads. The earlier findings this branch carried were fixed upstream in the meantime (the CLI helper, the route and Android delivery schemas, the resources re-exports and the Hopper duplicate export are already gone from `main`). Verified: `npm run knip` exits 0, `check:fast` passes (guards over 2891 source files), and `tests/boundary/filesystem/ciChangeScope.test.ts` passes 421 tests.
397dce8 to
e54696e
Compare
Comments Outside DiffThese findings could not be posted inline.
|
|
Thanks. Closing because this no longer applies to main. |
Summary
npm run knipfails onmainatb74b314fb, so theDeep static checkslane is red for every PR that runs it. This removes the two findings the check reports today.Problem and expected behavior
Expected:
npm run knipandnpm run knip:productionexit 0, which is what the lane requires.Change and scope
scripts/read-authored-skill-manifest.mjsreads a manifest from stdin and nothing invokes it: no workflow, npm script, or source imports it. The website lane's path entry inscripts/ci/scopes.mjsand the matching row intests/boundary/filesystem/ciChangeScope.test.tsgo with the file.ElfMetadataArchitecturederives a type fromELF_METADATA_ARCHITECTURESthat no consumer names. The constant stays: it is the declaration the architecture-admission code reads.The earlier findings this branch carried (CLI helper, route and Android delivery schemas, resources re-exports, Hopper duplicate export) were fixed upstream in the meantime and are no longer part of the diff.
Contract and boundary impact
Semantic owner and earliest changed stage: change-scope registry and target-type declarations; no runtime stage changes.
Contribution scope fit and linked maintainer decision: static-check repair, not applicable.
CLI and MCP/tool-catalog contract: unchanged.
Provider, bridge, target-format, or platform compatibility: unchanged;
ELF_METADATA_ARCHITECTURESstill declares the same families.Evidence, artifact, provenance, or reconstruction contract: unchanged.
Generated metadata, package, or installation impact: none.
Read existing files or captured data.
Evidence and regression coverage
npm run knip— before: exit 1 with the two findings above; after: exit 0.npm run knip:production— exit 0.npm run check:fast— typecheck, lint and the architecture guards pass (2891 source files).npm run test:focused -- tests/boundary/filesystem/ciChangeScope.test.ts— 421 tests passed; the removed row was the deleted script's own scope entry.Remaining proof gap: the lane also runs in CI on Linux; this host is macOS arm64, so the run above is local.
Validation performed
npm run knip— exit 0.npm run knip:production— exit 0.npm run check:fast— passes.npm run test:focused -- tests/boundary/filesystem/ciChangeScope.test.ts— 421 passed.Compatibility, safety, and release
Author readiness
Human owner: @IvenKooLab