Skip to content

Prepare gated release-level OIDC publication - #189

Merged
douglas-grishen merged 2 commits into
mainfrom
codex/release-level-oidc-publication
Sep 22, 2026
Merged

douglas-grishen merged 2 commits into
mainfrom
codex/release-level-oidc-publication

Conversation

@douglas-grishen

Copy link
Copy Markdown
Contributor

Staged approval of the coordinated release required repeated passkey prompts and then fell back to an unavailable OTP. This prepares a separate, disabled-by-default release-level OIDC flow so the owner can authorize one exact cohort in GitHub instead of approving each package in npm.

The new workflow retains unprivileged audit/build/test/pack/consumer preparation, gates publication through npm-release, and publishes only verified tarballs with short-lived OIDC credentials. It checks every archive before the first write, orders dependencies through the existing release helper, stops on failure, and resumes only when existing registry bytes, ECDSA signatures, tags and source/workflow provenance match. Read-only registry consumers remain mandatory after publication. Legacy staging remains available.

Activation is NOT included: no npm trust settings, GitHub environments, enablement flags or package versions have been changed. The migration document spells out the publication authority change and recommends a fresh version because beta.9 is already partially public/staged. Initial npm publisher configuration still requires maintainer authorization.

Validation: 48 focused release/policy tests passed, including mutated artifacts, forbidden hooks, symlinks, actor/workflow/branch substitutions, dependency failures, exact resume and signature/provenance/tag mismatches. Public-surface audit and YAML parsing passed. The signature and downloaded-byte verifier also passed read-only checks against the three already-public beta.9 packages. Live direct OIDC publication cannot be validated until the separate activation is authorized.

Comment thread tests/direct-npm-release.test.mjs Fixed
@douglas-grishen
douglas-grishen marked this pull request as ready for review September 22, 2026 01:53
@douglas-grishen
douglas-grishen merged commit d22bf74 into main Sep 22, 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.

2 participants