The npm package name is handoff-check; the binary is handoff-check and the
current version is 0.16.0. The package is already published; subsequent releases
use the configured trusted publisher and the reviewed-artifact process below.
- Merge reviewed changes into main and wait for all Linux/macOS/Windows checks, including packed offline npx onboarding, to pass on the merged commit.
- Run the manual Release package workflow on main with the exact package
version and
publish: false. It repeats the platform matrix and uploads the built tarball asnpm-package. - Download that tarball, inspect its file list and checksum, and test it in a separate consumer directory using offline npx with an absolute tarball path.
- Prefer trusted publishing: dispatch the same main commit/version with
publish: trueand the reviewed tarball's SHA256 in thesha256input. The workflow refuses publication if the rebuilt artifact differs. Download the publish-run artifact and compare it before claiming artifact continuity. For first-publication bootstrap or an explicitly chosen manual release, usenpm loginand publish the reviewed tarball directly withnpm publish /absolute/path/handoff-check-0.16.0.tgz --ignore-scripts --access public. Complete interactive two-factor authentication directly with npm. - Verify registry name, version, binary and integrity, then test
npx --yes handoff-check@0.16.0 --versionand fresh-project init/verify using a new package cache and the public registry, rather than the local tarball. - Create tag
v0.16.0and a GitHub release on the reviewed main commit, attach the same tarball, and describe features, requirements and known limits.
Publishing is immutable for a given npm name/version. Fix failed candidates on a branch, review, merge and rebuild. Fix published releases with a new version.
Configure the npm package's trusted publisher for owner Larusajs, repository
Handoff-Check, workflow release.yml, and environment npm. Add required
reviewers to that GitHub environment if maintainers want an approval gate.
The manual workflow defaults to artifact-only mode. Selecting publish: true
validates main on all supported platforms, builds a fresh artifact for that exact
workflow commit, uploads it, and publishes that artifact with npm OIDC. It does not
reuse an earlier run's artifact or automatically create a GitHub release/tag.
Select the intended reviewed main commit and version before dispatching a release.
No long-lived npm publishing token is required.
Trusted publishing requires npm 11.5.1+ and Node 22.14+; the workflow uses Node 24 and checks the npm version before publishing. See the maintained npm trusted publishing documentation.
Version updates must keep package.json, bun.lock, changelog and examples current. Generated agent commands and CI templates use the package metadata version. Existing integrations are preserved; review their pinned version explicitly when upgrading.