Skip to content

feat(release): configure private-source npm publication trust - #212

Merged
Pepps233 merged 4 commits into
mainfrom
feat/publication-trust
Sep 13, 2026
Merged

Pepps233 merged 4 commits into
mainfrom
feat/publication-trust

Conversation

@Pepps233

@Pepps233 Pepps233 commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Enable private-source npm publication with exact per-package OIDC trust and verified bootstrap tags and tarball identities.

The owner approved public bootstrap of the current 0.2.0 payloads after validation and confirmed the /cl refresh.

Reasoning

The publisher forced provenance that npm does not support for private repositories.

Bootstrap also needed explicit registry/tag verification, and publication credential boundaries needed repeatable validation.

The source repository remains private and the public cloud contract continues to describe verified npm availability.

Changes

  • Pin npm publication to npmjs.org and explicitly disable unsupported private-source provenance.
  • Verify all eleven exact GitHub workflow/environment/publish relationships and canonical repository metadata.
  • Verify bootstrap tarball bytes and tags, reject existing latest tags, and preserve partial-publication retries without R2 announcement.
  • Add independent read-only production/staging bucket-scope checks to the manual verification workflow.
  • Record the configured npm-publish environment and the owner-approved ref-only fallback after GitHub rejected required reviewers.
  • Fix a concurrent-session test that raced asynchronous startup against a fixed 10 ms delay.

Testing

  • npm run check and the full isolated ./test.sh passed.
  • Publication/trust/credential regressions passed; Actionlint and the mirrored cloud release contract passed.
  • Cloud root npm run check passed, including all 546 unit and 23 integration tests and a clean dependency audit.
  • Staging publication and HTTP run 34762316585 passed and confirmed fixture/lock cleanup.
  • Frozen bootstrap build, final payload inspection, and registry dry run passed for candidate e3f96b95ebc7fdad96220e315ec144f74383de22.
  • Current candidate native acceptance, actual bootstrap, trust inspection, and npm token restrictions are in progress; final operational evidence will be added before review.

The new credential-scope checks need execution after this workflow reaches main because publication environment restrictions do not admit pull-request refs.
The historical reference to an unnamed older R2 key is not evidence of an active credential and does not justify revocation.
No production release pointer or generally available announcement is created by bootstrap.

@Pepps233 Pepps233 added the enhancement New feature or request label Sep 13, 2026
@Pepps233 Pepps233 self-assigned this Sep 13, 2026
@Pepps233
Pepps233 marked this pull request as ready for review September 13, 2026 15:12
- Publishes only the CLI while retaining internal workspaces for development.
- Preserves reviewed runtime assets and notices without separate Diffex registry dependencies.
- Uses the approved 0.2.1 replacement and verifies current npm trust permissions.
@Pepps233
Pepps233 added this pull request to stack #214 September 13, 2026 17:20
@Pepps233
Pepps233 merged commit e8b5d61 into main Sep 13, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant