Release on the forge: npm with a token, the pinned reusables, and the ci-node digest (macula-io/macula-ts#2) #4
Loading…
Reference in a new issue
No description provided.
Delete branch "pluto/2-forge-release-green"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Carries Ceres's reviewed port unchanged (three commits, head
54b3ff7cidentical to ceres/2-forge-release-port), taken over after the Supervisor cut the crew: this branch is the run that proves it on the exact tip, before it lands. Nothing in the diff differs from the content Neptunus PASSed.@macula-io/tsreleases from git.macula.io: av*tag publishes that version to the forge's npm registry with a token, and nothing on GitHub is needed (macula-io/macula-ts#2, macula-io/macula-ts#3).What changes
package.json'spublishConfig:https://git.macula.io/api/packages/macula-pub/npm/,access: public. The workflow names no registry; it derives the npm auth keys (//host/path/:_authToken,:username) from that URL, and the token/user arrive throughFORGE_PACKAGES_TOKEN/FORGE_PACKAGES_USER(the SDK's one publisher account on macula-pub, image-build/sdk-publisher-account.sh).id-token: writeand the build-provenance attestation it needed.macula-ci-node, pinned by digesta0b86199f76a...(built from macula-ci-images main40f632af, build task 8368, twin task 8303 green, digest read back from the registry). A container carries no marketplace action, so each job's checkout is the plain-shell step the forge repositories carry byte-identical, and there is no JavaScript action anywhere in the file.ci-images-release-guard.yml,ci-images-dependency-advisories.yml): a cross-repository reusable fails to expand on the forge and takes the file's other jobs with it.workflow_dispatchruns every gate and the linux-x64 leg and stops atnpm publish --dry-run-- no tag, nothing uploaded..npmrcline a consumer needs for the scope.Proof
prebuilds/linux-x64/@macula-io+ts.nodebuilds, loads (C ABI 2) and generates a key withbuild/removed; needs at most GLIBC_2.34 / GLIBCXX_3.4.29, and loads and generates a key on Ubuntu 22.04.5 (glibc 2.35), so building in the bookworm image does not raise macula-ts#12's floor.${NODE_AUTH_TOKEN}reference, and an upload needsgithub.event_name == 'push'as well as a tag.Not in this change
The other four prebuild platforms (owner's call, in the release menu).
Refs #2, #3.
🤖 Generated with Claude Code
Fold-in after the read: the Linux-only ruling (33ecdb1c)
DECIDED 2026-11-25 "Linux x64 only (Recommended)": the macula SDK and MCP packages are Linux x64 only. Appended as one commit on top of Ceres's reviewed content, so the reviewed three commits are untouched:
package.jsondeclaresos: ["linux"]andcpu: ["x64"], so npm refuses a Mac, Windows or arm64 install with its own message rather than letting a linux-only addon fail at load.linux-x64, on a tag and in the rehearsal alike. Without this the tag path could NEVER publish: it refused a set of five platforms and four are no longer built or promised. The win32 DLL branch of that check goes with the platforms it guarded.ci.ymlandprebuild-matrix.ymlstill name the five platforms;ci.ymlis still GitHub-shaped and fails at workflow expansion on the forge exactly as before.Proof: the workflow parses, and the promised-set check is the one this PR already ran on its rehearsal path (
PROMISEDnow has one value; the linux-x64 leg is unchanged).Neptunus's fold-in on PR 3. - The auth keys are written into the npm userconfig as `${NODE_AUTH_TOKEN}` / `${NODE_AUTH_USER}` references and expanded by npm from the environment when it reads the file, instead of `npm config set ... "$NODE_AUTH_TOKEN"`: npm records its argv in ~/.npm/_logs, so the old line put the token in a debug log and in the file as plain text. The comment above it now says what the code does. - "A rehearsal uploads nothing" is now literally true: publishing requires `github.event_name == 'push'` as well as a tag ref, so a workflow_dispatch made on a tag ref cannot reach `npm publish`.