Skip to content

fix(release): keep draft planning tokenless - #35

Merged
brilliantinsane merged 3 commits into
mainfrom
fix/tokenless-draft-planning
Jul 22, 2026
Merged

fix(release): keep draft planning tokenless#35
brilliantinsane merged 3 commits into
mainfrom
fix/tokenless-draft-planning

Conversation

@brilliantinsane

Copy link
Copy Markdown
Owner

Summary

  • make Draft version planning depend only on Git release history
  • remove npm public/private occupancy inspection and its read token
  • let npm stage publish enforce version collisions at the staging boundary
  • make recovery distinguish public, current-run private, earlier private, and mixed-attempt collisions

Why

Draft run 29919985411 failed during planning because release:plan called authenticated npm stage list with an empty NPM_READ_TOKEN. The nuqs reference flow does not query npm while planning. It computes the version from Git and lets npm reject collisions during staging.

This restores that boundary. Draft stays automatic and tokenless while planning. OIDC remains scoped only to private staging.

Partial-public three-package recovery remains explicit fix-forward work. Draft does not silently skip to another version.

Verification

  • pnpm release:check - passed locally, with the expected Docker-only reproduction skip
  • pnpm -F @tenkit/release-tools test - 79 passed, 1 Docker-only skip
  • pnpm -F @tenkit/release-tools typecheck - passed
  • pnpm lint - passed
  • process-boundary regression test proves release:plan never invokes npm
  • Standards and Spec review axes - no remaining findings

Failed run

https://github.com/brilliantinsane/tenkit/actions/runs/29919985411

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tenkit-web Ready Ready Preview, Comment Jul 22, 2026 2:17pm

@brilliantinsane

Copy link
Copy Markdown
Owner Author

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 16bd7384a8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/release-draft.yml Outdated
@brilliantinsane

Copy link
Copy Markdown
Owner Author

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bf4f9f8531

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/release.md
@brilliantinsane
brilliantinsane marked this pull request as ready for review July 22, 2026 15:08
@brilliantinsane
brilliantinsane merged commit 3d46dec into main Jul 22, 2026
3 of 4 checks passed
@brilliantinsane
brilliantinsane deleted the fix/tokenless-draft-planning branch July 22, 2026 15:08
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