Skip to content

ci: retain verified package and prepare protected npm staging - #33

Merged
christophersesugh merged 1 commit into
mainfrom
chore/protected-npm-stage
Nov 28, 2026
Merged

christophersesugh merged 1 commit into
mainfrom
chore/protected-npm-stage

Conversation

@christophersesugh

Copy link
Copy Markdown
Contributor

Scope

Separate release infrastructure preparation following maintainer request; Context PR #99 records the design and must merge before this PR. Publication hold remains effective.

Changes

  • Retain the exact verified archive and its manifest only after all offline installed-consumer checks pass. Exercise retention on both CI platforms; upload only the Ubuntu main-push candidate, with a 30-day retention limit and pinned upload action.
  • Add manual-only release.yml using npm-stage environment. Require approved current-main SHA, run ID and digest, validate successful exact-main quality run, download its immutable named artifact, check bytes, package metadata and dated release notes. Stage only the approved tarball, no rebuild, no repository checkout or runtime project execution in the OIDC job. No direct npm publish, tag or dist-tag mutation. No npm token supplied. Setup Node action is pinned.
  • Document protected environment, trusted publisher stage-only settings, explicit approval variables, human 2FA and first-package bootstrap limitations.

Verification and limitations

CI pending; no local full gate or stage dispatch performed. Review workflow fail-closed conditions and artifact handling independently. Actual environment configuration, scope/rights, independent tarball inspection, dated release notes, npm publisher setup and separate authorization remain outstanding. Do not set approval variables or dispatch staging before explicit authorization. No credentials or registry operations executed.

@christophersesugh
christophersesugh marked this pull request as ready for review November 28, 2026 12:06
@christophersesugh
christophersesugh merged commit 61c92be into main Nov 28, 2026
2 checks passed
@christophersesugh
christophersesugh deleted the chore/protected-npm-stage branch November 28, 2026 12:07
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