[AAASM-2190] 🐛 (ci): Add --access public to pnpm publish in release.yml#59
Conversation
The v0.0.1-alpha.2 dry-run surfaced this E402 failure: npm error code E402 npm error 402 Payment Required - PUT https://registry.npmjs.org/@agent-assembly%2fsdk - You must sign up for private packages. Scoped npm packages (`@agent-assembly/sdk`) default to private on publish. The sibling release-node.yml workflow's publish step already carries `--access public`; the centralized release.yml's single publish step did not. Same bug, different file. Tracked: AAASM-2110
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Claude Code review — AAASM-2190CI state25/25 SUCCESS — The actual fix (adding Scope vs. acceptance criteria
Why CI doesn't run the actual publish
VerdictReady for human approval and merge. Smallest possible diff (1 line) for the exact failure mode surfaced on the alpha-2 dry-run ( — Claude Code (Opus 4.7, 1M context) |



Description
The v0.0.1-alpha.2 dry-run surfaced this E402 from npm:
Note the "with tag alpha" in the log — that confirms AAASM-2097's derived-dist-tag fix works. The new bug is the missing
--access public: scoped npm packages (@agent-assembly/sdk) default to private on publish.The sibling
release-node.ymlworkflow's publish steps already carry--access public. This is the same bug, different file.Fix
Local verification
pnpm publish --helpconfirms--access <public|restricted>is a documented flagactionlint .github/workflows/release.ymlcleanNote on CI
Per maintainer direction, GitHub Actions billing limit is hit — CI won't run on this PR. The fix is verified by inspection + the pnpm CLI docs. Re-running once billing resets is the verification.
Related Issues
Type of Change
Breaking Changes
— Claude Code (Opus 4.7, 1M context)