Repository navigation
Human action 253
Procedure for issue #253. The issue is the record of ownership, status and completion evidence; this page is the execution instruction.
Owner role: an owner of the npm holland-vip organization, for step 1 only. The agent does
steps 2 and 3 once step 1 is recorded.
What this completes: v0.24.0, which removes the JavaScript CLI (#243): cst is the Rust
executable alone. The release commit is 19626b0b32340c6a5fade96edfe283657beef890 on main,
tagged v0.24.0.
Done 2026-10-15. v0.24.0 is released on GitHub and npm; the evidence is on the issue. The page
stays as the reference for publishing by hand (step 1) while
npm/cli#9969 refuses the tag run's trusted publish.
Since 2026-11-13 the current hand publish is Human-action-139, "Until step 6", with scripts/publish-npm.ps1.
- A machine with Git, Node.js 22.14 or later and npm 11.5.1 or later, and
ghsigned in. Linux or Windows; nothing is built on it. - An npm session for an owner of
holland-vip, with two-factor authentication. Publishing access disallows tokens, which still permits an interactive publish with 2FA.
-
Download the assets into an empty directory and check them:
mkdir release-0.24.0 && cd release-0.24.0 gh release download v0.24.0 --repo jwh3times/causet sha256sum --check --ignore-missing SHA256SUMS
Expected:
OKfor all seven files. On Windows withoutsha256sum, compareGet-FileHash -Algorithm SHA256 <file>with the line inSHA256SUMS. -
Sign in, then publish the platform packages first, so the main package never names one that is absent. npm prompts for a one-time password on each:
npm login npm whoami npm publish ./holland-vip-causet-win32-x64-0.24.0.tgz --access public npm publish ./holland-vip-causet-linux-x64-gnu-0.24.0.tgz --access public npm publish ./holland-vip-causet-0.24.0.tgz --access public
Keep the
./: npm 12 reads a bareholland-vip-….tgzpath with a slash in it as a GitHub repository. Each publish answersYour package is being processed; that is success. -
Check all three. The registry can take several minutes to show a new version; add
--prefer-onlineifnpm viewsays the version is missing:npm view @holland-vip/causet-win32-x64@0.24.0 dist.shasum --prefer-online npm view @holland-vip/causet-linux-x64-gnu@0.24.0 dist.shasum --prefer-online npm view @holland-vip/causet@0.24.0 dist.shasum optionalDependencies bin --prefer-online
Expected: the shasums
91fa41a18a329c1980938307a3eca7009041f56f(win32-x64),5b5c15a809c67b31bc5867101dba2a474df6dd97(linux-x64-gnu) and48c523142e8e2a739918b95561e91a1557772339(main), as recorded on #253; the main package lists both platform packages at exactly0.24.0, andbinnamescstonly. -
Say on #253, or to the agent, that it is done.
If a publish fails: stop and record the exact npm error on #253. A version, once published, cannot be published again; do not retry with a changed tarball. If only the main package failed, the platform packages are harmless by themselves. Never add an npm token to the repository to get past a failure. There is no need to re-run the tag's workflow: it would only fail again at the publish.
The install scripts download from a published release; a draft's assets are not served at
releases/latest/download.
gh release edit v0.24.0 --repo jwh3times/causet --draft=false --latest \
--notes "Removes the JavaScript CLI: cst is the Rust executable alone. See CHANGELOG.md, section 0.24.0."Expected: gh release view v0.24.0 --repo jwh3times/causet shows it as the latest release.
In an empty scratch directory on Linux; on Windows use install.ps1 -Prefix and cst.exe, as in
the v0.21.0 procedure step 6.
curl -fsSLO https://github.com/jwh3times/causet/releases/latest/download/install.sh
sh install.sh --prefix ./script-prefix
./script-prefix/cst --version
npm install -g --prefer-online --prefix ./npm-prefix --allow-scripts=@holland-vip/causet @holland-vip/causet@0.24.0
./npm-prefix/bin/cst --versionExpected: causet 0.24.0 from both. A refusal that names a SHA-256 mismatch means the
release's assets and SHA256SUMS disagree; stop and record it.
Attach to #253: the three dist.shasum values
from step 1, the release URL, and the two --version outputs from step 3. Then remove
human-action-required from #253, set its board card to Done, and point the
Human TODO entry at the completed outcome.