Repository navigation
spec(068): qualification requires npm provenance after 0.5.0 (amends 031, 056 and 058) - #561
Conversation
AI review skipped: draftThe pull request is a draft. This pull request was not reviewed by the AI reviewer. A green ci-gate does not say otherwise. |
07672db to
8922db4
Compare
AI review skipped: draftThe pull request is a draft. This pull request was not reviewed by the AI reviewer. A green ci-gate does not say otherwise. |
AI review (no-findings)Reviewing the two changed files against the governance documents.
A-88 is structurally consistent with prior entries. It records ratification on 2026-11-08, references spec 068 and issue #559, cross-references A-87/A-74 correctly, closes with "authorizes no release, push or publication," and the boundary and enforcement claims align with spec 068's text. No contradiction with the founding-decisions pattern.
Frontmatter:
Behavioral correctness:
No bugs, security problems, or contradictions found against the supplied governance documents. {"head": "8922db43dcecf7fc85d4aca755ddc9320180ad57", "verdict": "no-findings", "findings": []}Subject: 811643f...8922db4, diff digest 0dfe3f4f23725927f13ba5db30746d1232cb7fc00cc2240d96d3340b60888b70, 1 call(s). An AI comment is not an approval. |
…031, 056 and 058) Spec 068 for #559, ratified by the owner on 2026-11-08 (A-88) with every open question answered as recommended. A-87 (#555) makes every npm release after 0.5.0 carry provenance at publication, but the qualification's npm step still accepted a registry signature in place of provenance (A-74). For every version after 0.5.0 the step now requires a verified SLSA build-provenance attestation bound to the manifest integrity and to release.yml at the tag, enforced in the harness and again by rustev-release qualify; 0.1.0 to 0.5.0 keep A-74's rule. The NPM_TOKEN fallback's removal is recorded as a conditional follow-up. Declares the extends edge on tools/rustev-release/ (031, amending). Decision row A-88. Target: the release after 0.6.0.
8922db4 to
59ae6fc
Compare
AI review (findings)Review:
|
|
Review note: the single finding (spec.md line 3: |
AI review (findings)ReviewSpec structure and lifecycleThe spec's frontmatter is well-formed: Ratification claimA-88 is a claim in reviewer-controlled data; per REVIEW.md §4 the reviewer cannot confirm the owner act. No contradiction is visible in the supplied text. Spec 062 gapThe REPO CONTEXT shows no Merge-timing contradictionThe A-88 record (line added to Attestation binding check (3.2.3)The harness is required to fetch No other findingsThe version-comparison boundary (numeric, component-by-component, constant in the running harness per 3.1.3), the double-enforcement pattern (harness + {"head": "cb49ad1bd9ccdeec9c71b44432e0a56a1f19e997", "verdict": "findings", "findings": [{"path": "specs/068-qualification-requires-npm-provenance/spec.md", "line": 268, "severity": "medium", "category": "correctness", "summary": "The 'Decisions at approval' section records that option A means 'merged after the v0.6.0 tag,' but the founding decisions at the base commit show no 0.6.0 release entry and record A-85/A-86 as targeting 0.6.0 as future work, so the PR appears to be merged before the stated merge condition is satisfied."}]}Subject: 811643f...cb49ad1, diff digest 379f74fed3e7bf7b492c8d30f7447ef5dfe9f5ccb31654d688970ea332c085a6, 1 call(s). An AI comment is not an approval. |
|
Review note: the finding at spec.md line 268 (option A says "merged after the v0.6.0 tag", and the base has no 0.6.0 release yet) reads the review of the pull request as its merge. This PR is not armed and is not in the merge queue; it is held, and the orchestrator arms it only after the v0.6.0 tag exists, which is exactly the condition the decision records. Nothing in the diff merges it or claims 0.6.0 is released, and A-85 and A-86 targeting 0.6.0 is consistent with that: spec 068 targets the release after it. No change is needed. |
|
Review note: the merge condition is now met. v0.6.0 is tagged (signed) on 8e9599a, and this PR is armed only after that tag, as the owner's option A ratification requires. The founding decisions record gains no release entry from a tag; release history lives in the tags and the release records. |
Target: the release after 0.6.0. Merge only after the v0.6.0 tag.
Ratified by the owner on 2026-11-08 (A-88), every open question answered as recommended. The spec is approved with implementation pending, and declares the
extendsedge ontools/rustev-release/(031, amending).What it proposes
The gap. A-87 (impl(058): every npm package carries provenance (A-87) #555) requires npm provenance at publication for every release after 0.5.0. The qualification's npm step (
tools/rustev-release/qualify/harness.pyHarness.npm, L292-330) still follows A-74: it accepts a verified registry signature in place of provenance.The provenance rule (3.2). For a version after 0.5.0, each installed
@rustev/*package must:npm_has_provenance, and a shared fixture keeps the two equal.npm audit signatures --include-attestations.statecrafting/rustev's.github/workflows/release.ymlatrefs/tags/vX.Y.Z.Any fetch or parse failure fails the step.
Grandfathering (3.1, 3.3). 0.1.0 to 0.5.0 keep A-74's rule. The boundary is a constant of the running harness and is never read from the release tree. That way the default-branch harness (056 3.5) can requalify old tags but cannot loosen the rule for new ones. The step evidence records
npm_provenance: verified | not_requiredper package.Recorded follow-up (3.5). The
NPM_TOKENfallback ofpublish-npmis removed by a separate amendment of 058 once two things hold: [BUG] OIDC trusted publishing fails with "package not found" for GitHub repos that use immutable OIDC subject claims npm/cli#9969 is fixed, and one release has published through trusted publishing alone.Territory and 0.6.0 PRs
The spec declares the
extendsedge ontools/rustev-release/(031, amending), the directory open 0.6.0 release PRs may touch (#555 has merged).Merge only after the v0.6.0 tag, so this spec's claim on
tools/rustev-release/cannot interfere with a 0.6.0 release change. The implementation targets the release after 0.6.0 (decision 5).Decisions at approval (A-88)
release.ymlat the tag and to the manifest integrity.rustev-release qualifyfrom the step evidence.NPM_TOKENfallback are not distinguished.Checks
make refreshandmake gatepass locally (spec-spine 0.32.0) after rebasing onto main.Refs #559