Repository navigation
Description
Follow-up to the B4.run rename merged in #595 and version update #596.
Release coordination: #597 is owned by the active release maintainer. Do not interrupt its CI, mutate the active candidate, or remove credentials it needs. Execute this issue only when its dependencies below are satisfied.
Owner: npm organization owner + release maintainer. Dependencies: #598 and a fully closed release candidate, including any recovery work.
Problem: The expiring bootstrap is implemented and its token is provisioned. It must not become permanent release authority.
Files/surfaces: scripts/release/npm-bootstrap.mjs, scripts/release/test/npm-bootstrap.test.mjs, .github/workflows/release.yml, docs/superpowers/plans/2026-09-07-b4-first-publication.md, npm package publishing settings, GitHub repository secrets/variables. Prefer settings cleanup without executable changes.
- Inventory trusted publisher settings for all 21 packages against the final repository
cacheplane/b4run, workflowrelease.yml, and the environment required by the actual release job, if any. Record only non-secret settings. - Resolve any package still missing trusted publishing before removing its only viable publication path.
- Confirm no admitted release/recovery run still needs the bootstrap token or its candidate-bound authorization.
- Revoke the npm bootstrap credential, remove
B4_NPM_BOOTSTRAP_TOKEN, and remove the corresponding bootstrap authorization setting identified from the actual workflow/module. Preserve signed historical release records. - Run
pnpm test:release-controllerif executable release code changes; update content pins in the same isolated change when required by repository policy. Settings-only cleanup needs a metadata receipt, not a production test publication. - Record that OIDC configuration is established and that the next ordinary release must supply evidence of actual steady-state OIDC publication. Do not publish a gratuitous version just to test authentication.
Acceptance: All 21 publisher configurations match the final release identity; no active candidate depends on bootstrap; bootstrap credential and operational authorization are gone. Track the next ordinary release's OIDC verification as an explicit deferred check rather than claiming it already ran.
Confirmed redirect policy — 2026-09-10 UTC: The owner explicitly chose to leave the existing redirects in place. Preserve the old-domain redirects to b4.run and GitHub repository rename redirects. This supersedes the initial no-redirect request. Runtime/package compatibility aliases remain prohibited. Record this resolved decision in the current cutover documentation under #600.
Execution update — 2026-09-09
Release 0.8.28 is AUDIT_COMPLETE (controller observation 34350462235). The renewed owner CLI login identifies blove. npm trust management requires a separate browser/2FA escalation; the initial request expired while the browser remained at the sign-in form. Trusted-publisher settings are not yet verified. B4_NPM_BOOTSTRAP_TOKEN and B4_NPM_BOOTSTRAP_AUTHORIZATION remain configured pending trust verification and credential retirement. The npm/provenance portion of #598 is complete; its independent Helm visibility check need not block npm credential retirement.
Authenticated settings observation — 2026-09-09
Browser sign-in is confirmed as blove. Read-only authenticated npm settings showed no trusted publisher configured for @b4run/sdk, @b4run/ag-ui, @b4run/config-biome, @b4run/config-typescript, and @b4run/devkit. Other package settings have not been verified; browser inventory stopped when npm displayed its security verification page.
The SDK GitHub connection form was prepared with cacheplane/b4run, release.yml, no environment restriction, and direct publishing enabled, then canceled without saving. No publishing access or package setting was changed.
CLI trust inspection still needs npm's separate authenticator-code escalation. The previous request expired; a fresh request is open for the owner. Do not interpret browser sign-in or public provenance as successful trust configuration. Both bootstrap GitHub settings remain in place until replacement publishing access and candidate dependencies are verified.
OIDC configuration complete — 2026-09-10 UTC
Completed owner/2FA authentication and configured all 21 npm packages using the npm CLI. An authenticated npm trust list <package> --json read verified exactly one GitHub publisher on every package: repository cacheplane/b4run, workflow release.yml, permissions createPackage and createStagedPackage, and no environment restriction. This matches the current publish-npm job, which has id-token: write and no GitHub environment.
| Package | Verified trust configuration ID |
|---|---|
@b4run/ag-ui |
31ba52cd-63e2-40c3-94bf-0ff208431d90 |
@b4run/config-biome |
5a2ceeaf-3967-4889-a4c0-3025deee109a |
@b4run/config-typescript |
6a62a252-ddb3-423d-a31e-b0dc3ec0fcc6 |
@b4run/devkit |
c72f263e-aea6-466c-a90d-64d484c65e5f |
@b4run/sdk |
afc6f799-34d5-4836-9d60-bee5ee699a80 |
@b4run/langgraph |
084cda98-a0e0-4168-887e-10129b5ab06d |
@b4run/permissions |
39b2e3d9-a1be-4c4a-8a87-881d7b83ca50 |
@b4run/postgres-storage |
07e909da-a2c6-45e6-acd0-901ea240bac4 |
@b4run/sqlite-storage |
e8ff0ba8-3e21-469b-85b4-fb9210ed0347 |
@b4run/memory |
3b2f0006-c085-4fc6-b3ef-b4ab3b32bd08 |
@b4run/memory-pgvector |
961e892d-be97-4c8f-8ce1-ed4a092426dd |
@b4run/workspace |
28460b8e-c85e-4c7a-82a2-5e5ad871973d |
@b4run/core |
a32d4e40-70d7-4636-9239-a266d33beb45 |
@b4run/inspector |
d8a1bd56-7b60-42d5-b612-123a56360ef0 |
@b4run/langchain |
9d7521c4-4403-4e43-a640-452e445902ec |
@b4run/cli |
e20ed713-33de-4a38-a057-827fb36d8426 |
@b4run/sandbox |
f44688bb-a3e2-482a-9813-65a3de23fc56 |
@b4run/testing |
a0d098c7-52ce-487a-aab4-8d1b8ec4530a |
@b4run/evals |
dceddf10-d156-4088-b0fe-911c91053742 |
@b4run/vite-plugin |
17f93181-882e-436f-ae30-411b27be2ada |
create-b4-app |
8fe795d7-7c9c-42e5-96c9-e2e1b0a71c5e |
Downloaded controller observation artifact 10103625547 from run 34350462235 and verified candidate 0.8.28 / bb036c7 is AUDIT_COMPLETE, conflicts empty, nextTransition null. Fresh GitHub API queries for in-progress, queued, waiting, pending and requested workflows each returned zero. The candidate-bound bootstrap authorization had already expired.
Removed repository secret B4_NPM_BOOTSTRAP_TOKEN and variable B4_NPM_BOOTSTRAP_AUTHORIZATION. Fresh secret/variable inventories confirm both names are absent. No workflow file, executable release code, branch or package version was changed; no CI or release was dispatched.
Bootstrap retirement complete: the owner identified the npm token named b4run (public token ID e7390e) as the temporary bootstrap credential and authorized revocation. After npm's required 2FA escalation, npm token revoke reported one token removed. A fresh token inventory confirms it is absent and the other three token entries are preserved. Fresh GitHub inventories also confirm both bootstrap setting names remain absent. An initial attempt using npm's redacted JSON key failed before deletion; revocation succeeded using the CLI-generated public token ID.
Production verification complete: the owner-requested ordinary 0.8.30 release demonstrated successful OIDC publication with no bootstrap settings, closing #619. All 21 packages and the existing consumer/audit checks passed; the detailed evidence and integrated runbook link are recorded below. No throwaway release was created.
Ordinary OIDC release verified — 2026-09-10 UTC
B4 v0.8.30 is public and immutable (release ID 386616691, published 2026-09-10T22:06:58Z). Its original annotated tag resolves to 4cf369605b2fee8c86aca34570bf45bf8ceccba1.
Release run 34534130844, attempt 1, succeeded, including publisher job 103064001423, all five existing consumer checks, audit correlation, and GitHub publication. Independent audit 34535486748 passed against the exact candidate.
The publisher explicitly recorded NPM_AUTH_MODE: oidc and {"event":"npm-auth-mode","mode":"oidc"}. Bootstrap was disabled; fresh repository secret and variable inventories contain no npm bootstrap settings. Existing npm evidence artifact 10175102296, npm-evidence-34534130844-1, has service digest sha256:ec6d79607b9c699f505e56be9c0c9aa03e7acc6e1a13adcb59d2043a3da51848. It reports NPM_COMPLETE and complete: true for all 21 intended packages, with valid npm 11.17.0 signatures and exact repository/workflow/tag/commit provenance. Independent public downloads verified latest0.8.30, every size, SHA-256, SHA-512 and npm integrity against original manifest c6331cbf03f09af3ca3b1c0bed70430713538ebfd654795316b3135a7a2a6767.
The earlier attempts remain historical evidence. The final exact-candidate recovery verified/skipped 18 already-published versions and published the last three from the original payload. No tag, tarball, package version, verification requirement, timeout or publishing workflow was replaced. This observation introduced no new publishing prerequisite.
Runbook linkage is integrated in #622, merged as 38040ac338b62d09e8e5a73b60a3fbcf85ae912f after independent evidence review and green technical checks, including required validate. The cutover runbook records the completed production OIDC release. Documentation CI. Publication and follow-up documentation are complete.
Production observation is tracked in #619; setup and retirement remain complete.
Activity