You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dogfood: chant's own releases move onto the workstation release command #4040
area:ciCI, release, publishenhancementNew feature or requestparkedDeferred or blocked on something externalphase:5behold#678 rollout: phase 5 (parallel within a phase)
chant releases with just release, release-preflight.sh and publish.yml. If chant release is right, chant should use it. #3856 keeps npm provenance and trusted publishing (#1255, #3191), and both work only through CI OIDC.
Requirements
chant's npm releases go through chant release: the workstation checks, cuts and signs the release with chant release cut, and CI picks up the signed release and publishes it with chant release publish, with OIDC provenance and npm trusted publishing as publish.yml does today. chant never publishes from a workstation; a project with no CI may, and then has no OIDC provenance.
The old scripts are removed once two releases have gone out the new way.
Acceptance
Two chant releases cut on a workstation with chant release cut and published by CI with chant release publish, each with npm provenance shown on npmjs.com.
From #4031, the steps to turn signed tags on for chant itself (left out of #4031 on purpose): generate an Ed25519 runner key; add .chant/trust.json with runners and roles.runner; store the private key as a repository secret; regenerate the CI workflow with chant ci workflow --runner-key-secret <NAME>; then set ci.green.signedSince and minReader 0.124.28 in chant.workspace.json. After that scripts/release-preflight.sh checks tags through chant's own ci last-green. Alex decides and holds the key.
From #4027 (PR open): chant's own just release must add --yes to chant release cut (it is now a dry run by default). The trunk check needs origin/main fetched (fetch-depth: 0 in CI). release cut pushes chant/lifecycle but never the release/<label> tag, so pushing the tag is a separate step after it.
Parked on 2026-10-18 by Alex's decision, out of behold#678's exit criteria. It can't finish in code: its acceptance needs two real chant releases signed on Alex's workstation (his key added to .chant/allowed_signers, which agents never touch) and published by CI with npm provenance, then the old scripts removed. It also needs #4047, #4048 and #4049 merged and released first.
Change just release to chant release cut <version> --sign --yes, then push the release/<label> tag (chant never pushes it), with origin/main fetched for the trunk check.
Change publish.yml to run chant release publish <ref> --yes on the tag, with OIDC (id-token: write) so npm provenance and trusted publishing apply.
After two releases show provenance on npmjs.com, remove scripts/release-preflight.sh, scripts/publish-packages.sh and the old just release steps.
#4209 moves chant's releases onto chant release cut --at and chant release publish. Nothing is signed; the signing steps in the 2026-10-18 plan are dropped. It merges after 0.124.34, which goes out through just release-legacy. scripts/release-preflight.sh, scripts/publish-packages.sh and just release-legacy stay until two releases have gone through the new path. The npm target publishes with stage: false straight to latest, since #3904 left dist-tag moves over OIDC off.
Done in #4209 (e55c97d). Nothing in it signs: no --sign, no key, no allowed_signers.
just release runs chant release cut <version> --at <green sha> --yes from a new release/ workspace member and pushes the release/npm/<version> tag. There is no bump commit; the version is one past the highest in any package.json at that commit or in a chant-v* or release/npm/* tag.
publish.yml gains a release-publish job on that tag: scripts/release-pack.sh <version> packs all 24 packages at the version, then chant release publish <version> --yes with id-token: write. The npm target takes stage: false (straight to latest, since moving a dist-tag over OIDC was closed as won't-do in Trusted publishing: allow npm dist-tag on all 23 package records, and audit it #3904) and tokenEnv: "NPM_TOKEN", which republishes one package with the token only when OIDC authentication fails.
just release-lexicon floors its version at package.json, the lexicon and release/npm/* tags and npm view, so it can't land at or below npm's.
A new lexicon adds its line to release/chant.config.ts; scripts/release-member.test.ts fails until it does.
Deferred: the old path stays as just release-legacy, with scripts/release-preflight.sh and scripts/publish-packages.sh, until two releases have gone out through the new one. 0.124.34 went out through it.
area:ciCI, release, publishenhancementNew feature or requestparkedDeferred or blocked on something externalphase:5behold#678 rollout: phase 5 (parallel within a phase)
Activity
lex00 commentedon Oct 17, 2026
From #4031, the steps to turn signed tags on for chant itself (left out of #4031 on purpose): generate an Ed25519 runner key; add
.chant/trust.jsonwithrunnersandroles.runner; store the private key as a repository secret; regenerate the CI workflow withchant ci workflow --runner-key-secret <NAME>; then setci.green.signedSinceandminReader0.124.28 inchant.workspace.json. After thatscripts/release-preflight.shchecks tags through chant's ownci last-green. Alex decides and holds the key.trust: signed ci tags, a release gate for who may cut, signed release…
lex00 commentedon Oct 17, 2026
From #4027 (PR open): chant's own
just releasemust add--yestochant release cut(it is now a dry run by default). The trunk check needsorigin/mainfetched (fetch-depth: 0in CI).release cutpusheschant/lifecyclebut never therelease/<label>tag, so pushing the tag is a separate step after it.lex00 commentedon Oct 18, 2026
Parked on 2026-10-18 by Alex's decision, out of behold#678's exit criteria. It can't finish in code: its acceptance needs two real chant releases signed on Alex's workstation (his key added to
.chant/allowed_signers, which agents never touch) and published by CI with npm provenance, then the old scripts removed. It also needs #4047, #4048 and #4049 merged and released first.Steps when it is picked up:
.chant/allowed_signersand anidentity.gates.releaseentry if only some people may cut. For signed ci tags too, follow trust: signed green tags and run statements, a role for who may cut a release, signed release records #4031's steps above (runner key,.chant/trust.json,ci workflow --runner-key-secret,ci.green.signedSince,minReader).release.publishin its config (publishing: a publish-target contract, with npm, OCI and forge release assets #4047), core package first (publishing: resume after a failure without republishing, and all-or-nothing visibility #4048's core-first rule).just releasetochant release cut <version> --sign --yes, then push therelease/<label>tag (chant never pushes it), withorigin/mainfetched for the trunk check.publish.ymlto runchant release publish <ref> --yeson the tag, with OIDC (id-token: write) so npm provenance and trusted publishing apply.scripts/release-preflight.sh,scripts/publish-packages.shand the oldjust releasesteps.lex00 commentedon Oct 21, 2026
#4209 moves chant's releases onto
chant release cut --atandchant release publish. Nothing is signed; the signing steps in the 2026-10-18 plan are dropped. It merges after 0.124.34, which goes out throughjust release-legacy.scripts/release-preflight.sh,scripts/publish-packages.shandjust release-legacystay until two releases have gone through the new path. The npm target publishes withstage: falsestraight tolatest, since #3904 left dist-tag moves over OIDC off.release: NPM_TOKEN fallback in the npm target, and release-lexicon fl…
release: chant's own releases cut with chant release cut and publish …
docs: chant's own release runs on just release and chant release publ…
release: NPM_TOKEN fallback in the npm target, and release-lexicon fl…
test: release wiring pins release-legacy and the new release recipe; …
release: chant's own releases on chant release cut and publish, unsig…
lex00 commentedon Oct 21, 2026
Done in #4209 (e55c97d). Nothing in it signs: no
--sign, no key, noallowed_signers.just releaserunschant release cut <version> --at <green sha> --yesfrom a newrelease/workspace member and pushes therelease/npm/<version>tag. There is no bump commit; the version is one past the highest in anypackage.jsonat that commit or in achant-v*orrelease/npm/*tag.publish.ymlgains arelease-publishjob on that tag:scripts/release-pack.sh <version>packs all 24 packages at the version, thenchant release publish <version> --yeswithid-token: write. The npm target takesstage: false(straight tolatest, since moving a dist-tag over OIDC was closed as won't-do in Trusted publishing: allow npm dist-tag on all 23 package records, and audit it #3904) andtokenEnv: "NPM_TOKEN", which republishes one package with the token only when OIDC authentication fails.just release-lexiconfloors its version at package.json, the lexicon andrelease/npm/*tags andnpm view, so it can't land at or below npm's.release/chant.config.ts;scripts/release-member.test.tsfails until it does.Deferred: the old path stays as
just release-legacy, withscripts/release-preflight.shandscripts/publish-packages.sh, until two releases have gone out through the new one. 0.124.34 went out through it.