Repository navigation
spec(031,056,058): accept npm packages without provenance while npm refuses trusted publishing - #450
Conversation
AI review (findings)Reviewing the diff against the governance documents and the harness source. Finding 1 — harness.py: per-package At subprocess.run(['npm', 'audit', 'signatures', '--json', ...],
env=self.env, stdout=output, stderr=self.log, check=True)The accompanying comment (added in this PR) states: " Finding 2 — docs/decisions/00-founding-decisions.md: decision row A-73 absent The base commit ends at A-72 (2026-10-30). This PR adds A-74 directly, leaving no A-73 row. The table is the sequential authority log for this corpus; a gap is observable in the diff and may indicate a missing or mis-numbered entry. {"head": "f154a6ade0c396c55598e1687dcace079e0ccf14", "verdict": "findings", "findings": [{"path": "tools/rustev-release/qualify/harness.py", "line": 312, "summary": "The per-package `if name in unverified` check is dead code: subprocess.run with check=True raises CalledProcessError on npm nonzero exit before the JSON is parsed, so the ValueError for a failed registry signature is unreachable."}, {"path": "docs/decisions/00-founding-decisions.md", "line": null, "summary": "The decision log skips A-73, jumping directly from A-72 to A-74, leaving an unexplained gap in the sequential authority record."}]}Subject: 3dc1e1c...f154a6a, diff digest a5ca839b5d1f1e69c33306c7132d53a2deec5f17499bd0c063b6c54a251b6835, 1 call(s). An AI comment is not an approval. |
…efuses the trusted-publishing exchange A-74 records the owner's 2026-11-02 decision. npm/cli#9969 makes npm's token exchange reject the repository's immutable OIDC subject, so the release run cannot publish npm packages or attach npm provenance. The run keeps trusted publishing; when npm refuses it, the owner publishes the run's verified tarballs and a rerun records them present. Qualification's npm step requires a verified registry signature and manifest integrity instead of provenance, and a published release may be qualified by a later run with the default branch's harness, so v0.3.0 can close 056 and 058. The harness's provenance check read a `verified` list that `npm audit signatures --json` does not emit; it now fails on any `@rustev/*` package listed as invalid or missing.
f154a6a to
7f76fde
Compare
AI review (no-findings)Reviewing the six changed paths for concrete defects. docs/decisions/00-founding-decisions.md (A-74 row) specs/031-public-api-and-release-family/spec.md specs/056-release-0-1-1-and-consumer-qualification/spec.md specs/058-one-tagged-run-releases-the-family/spec.md tools/rustev-release/qualify/README.md tools/rustev-release/qualify/harness.py RELEASE_TREE default path — Path rewrites — npm audit logic — The subprocess is called with
No concrete defect found. {"head": "7f76fded20faa768595ab738f8c2ddd011be5ad4", "verdict": "no-findings", "findings": []}Subject: 50ca9ad...7f76fde, diff digest fdd9e163141133e7a9de1560aee16cf78cd61d23ed29180ab4a8aa3640b080af, 1 call(s). An AI comment is not an approval. |
Summary
Records the owner's 2026-11-02 decision (row A-74): accept npm packages without npm provenance while npm refuses this repository's trusted-publishing exchange (npm/cli#9969: npm's token exchange rejects GitHub's immutable OIDC subject, which the repository cannot revert). Spec text in 031, 056 and 058; ratifies on merge.
present. No npm token enters the run. The closing release may be qualified by a later qualification run against its tag.Harness (056)
npm audit signatures --jsonlists onlyinvalidandmissingpackages; the old check read averifiedlist the command does not emit, so it could never pass. The step now fails on the command's failure or on any@rustev/*package listed as invalid or missing; the manifest-integrity check is kept.RUSTEV_QUALIFY_RELEASE_TREEnames the released tree's checkout for the release set, adoption subsets and toolchain pin (default: the harness's own tree).The workflow side (
qualify.ymltaking the harness from the default branch) is a separate PR.Verification
make gate,scripts/check-authored-content.sh.v0.3.0(its signed manifest from the release,RUSTEV_QUALIFY_RELEASE_TREEat av0.3.0checkout), darwin-arm64:cratespassed,npmpassed,clipassed,imageexcluded (the manifest names no image). The other six platforms run in the workflow after both PRs merge.