Skip to content

Accept npm first-version latest tag - #10

Merged
DelshadH merged 2 commits into
mainfrom
codex/fix-bootstrap-first-latest-tag
Jul 31, 2026
Merged

Accept npm first-version latest tag#10
DelshadH merged 2 commits into
mainfrom
codex/fix-bootstrap-first-latest-tag

Conversation

@DelshadH

Copy link
Copy Markdown
Owner

Incident

Bootstrap run 30652935848 published all four exact packages, revoked the token, then failed because npm assigned latest to each sole first version. Authenticated removal returned HTTP 400 with both npm 10.9.8 and 11.16.0.

Fix

  • accept latest only when it points to the sole reviewed version
  • record latestTag in the verification receipt
  • reject any different latest target
  • document the observed registry behavior

Verification

  • npm run check: 158 passed
  • npm run security: passed, 0 vulnerabilities
  • live postpublish verifier: passed for all four exact tarballs and provenance at 16ff070
  • npm audit signatures: 5 registry signatures and 4 attestations verified

No package was republished and the bootstrap workflow was not rerun.

DelshadH added 2 commits July 31, 2026 20:22
npm assigns latest to a package's sole first version and rejects authenticated removal. Accept that tag only when it points to the sole reviewed version, record it in verification evidence, and retain rejection of any different target.
Correct stale pre-publication README text, document the npm install path, and explicitly preserve the verifier's accepted no-latest state.
@DelshadH

Copy link
Copy Markdown
Owner Author

Independent AI review of exact head 8c84754: PASS. Initial review found stale public release-status text (P2) and a missing explicit no-latest regression (P3); both were corrected. Re-review found no P0, P1, P2, or new findings and approved this exact head. This records AI review, not human approval.

@DelshadH
DelshadH merged commit 0b32193 into main Jul 31, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant