Skip to content

fix(dx): Reuse package access across fresh worktrees - #93

Merged
WillieCubed merged 2 commits into
mainfrom
codex/github-packages-auth
Nov 4, 2026
Merged

WillieCubed merged 2 commits into
mainfrom
codex/github-packages-auth

Conversation

@WillieCubed

@WillieCubed WillieCubed commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Fresh checkouts reuse the active GitHub CLI credential through checksum-pinned Studio bootstrap v0.1.4. The root launcher exposes machine setup and package checks. Online preparation checks private package access before dependency installation. CI retains its explicit token and package grants.

The final installer migrates the exact legacy token placeholder, keeps explicit-token priority and reads pnpm 11's protected token privately from the selected user file. The setup guide matches the existing web-config 0.0.3 and format-config 0.0.1 pins. Executable regressions cover package setup/check routing, checkout anchoring and exit status; the new cases failed before the dispatcher change.

Local validation passed all 154 unit tests, changed-test ESLint, formatting, actual published package checks and repeated preparation with unchanged frozen locks. The normal pre-push gate passed typecheck across 48 Astro files and the build smoke using Node 24.20.0. Dependency recovery used native pnpm with typed fetch limits and its integrity-checked store; pins and release-age policy stayed intact.

Shared v0.1.4 passed 25 Rust tests, 50 Python tests, four native release jobs and all 12 native configurations / 24 frozen preparations on pnpm 10.33.0 and 11.9.0. The matrix covers fresh and legacy config, explicit tokens, stripped comments, custom auth preservation and CI headers.

WillieCubed and others added 2 commits November 3, 2026 16:26
A scoped registry mapping does not attach the GitHub CLI credential to
package requests. Fresh checkouts repeatedly needed separate token
exports before the ordinary dependency install could succeed.

Expose the shared package setup and check commands through the pinned
bootstrap engine. The user helper keeps authentication available across
worktrees while CI retains its explicit token and package grants.

Add executable entrypoint regressions and document the machine setup.
Correct stale shared-package versions in the setup guide against the
existing manifest and frozen lock without changing dependency policy.

Co-authored-by: Codex <codex@openai.com>
Pin the reviewed Studio bootstrap 0.1.4 so an unset legacy token
placeholder
cannot hide the local credential helper.  Preserve explicit token
priority
and use the selected user file when pnpm protects its config-list
output.

The shared native matrix passes all 12 configurations on pnpm 10.33.0
and
11.9.0 with two real frozen preparations per case.  It verifies config
and
lock preservation and checkout-local dependency ownership. The release
also passes 25 Rust and 50 Python tests on all four native platforms.

CI keeps its explicit workflow credential and package read grants. Local
setup continues through the normal repository bootstrap command.

Co-authored-by: Codex <codex@openai.com>
@WillieCubed
WillieCubed enabled auto-merge (rebase) November 4, 2026 01:04
@WillieCubed
WillieCubed merged commit e45ef35 into main Nov 4, 2026
8 checks passed
@WillieCubed
WillieCubed deleted the codex/github-packages-auth branch November 4, 2026 01:13
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