Repository navigation
build(release)!: merge a version bump, main releases itself - #664
Merged
Merged
Conversation
Base automatically changed from
claude/extensions-artifacts-redesign-d3781a
to
main
September 24, 2026 17:31
One version for core and every add-on, changed only by `npm run release:bump`. Merging the bump PR releases: release.yml (push to main) runs ci.yml once via workflow_call, then build -> publish -> verify -> template. - release-pack: every add-on tarball, core carrying dist/addons.json that pins them by sha512 and release URL, SBOM, triage, Homebrew formula, SHA256SUMS; attested. build-fidelity packs twice from clean builds and compares. - release-publish (idempotent): GitHub Release with generated notes (creates the tag) -> public add-on URLs checked against the pins -> core to npm via trusted publishing -> Homebrew -> GHCR. verify installs a fresh site from the public channels; failures open a release issue. - removed: the dispatch coordinator, signed candidate, rehearsal, release scripts, peer floors, tag-namespace checks, pack-sources and Changesets. Co-Authored-By: Claude Opus 5.5 <[email protected]>
`urlcode init` creates a complete, pinned site from the installed runtime's own starter, so the separate urlcode-template repository and its release-time sync are redundant. Remove the release `template` job, release-template.ts and the helpers only it used (release-identity, release-installability), the starter's starter.json, and every pointer to the template; onboarding is `npx @jimhoyd/urlcode init <site>`. RELEASE_AUTOMATION_TOKEN is no longer used. Fixes #666 Co-Authored-By: Claude Opus 5.5 <[email protected]>
GitHub refuses GitHub Actions as a bypass actor on a user-owned repository, so a creation ruleset would stop release.yml from creating its tag. Tags are created only by the publish job (the one job with contents: write, in the main-only release environment); the immutable-tags ruleset still forbids updating or deleting any v* tag. Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
force-pushed
the
claude/release-rewrite
branch
from
September 24, 2026 17:31
f15e6f0 to
9569aa0
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second of three PRs; #663 (the add-on shape) is merged. This replaces the whole release pipeline, about 3,200 lines across dispatch, coordinator, candidate and rehearsal workflows, Changesets and peer floors.
One version.
npm run release:bump -- Xis the only thing that changes it: every workspace manifest, exact core and sibling peers (siblings optional), the lockfile,cli.ts/mcp.ts, the starter's schema URL and action ref, the Claude plugin/marketplace and the doc version markers.release-bump --checkruns in CI.A release is a merged bump PR.
release.ymlruns on every push to main:plancici.ymlviaworkflow_callwithrelease: true, which selects the full matrix.ci.ymlno longer runs on push to main, so main is verified once.buildrelease-pack: every add-on tarball; core carryingdist/addons.jsonthat pins them by sha512 and release URL; SBOM; triage; Homebrew formula;SHA256SUMS. All attested.publishverifyinit, add every extension and artifact,list --strict, validate, single-copy check), then runsinstall.sh. On failure it opens areleaseissue.Guarantees.
npm deprecate.Channels.
latestand become GitHub latest.X.Y.Z-alpha.Ngoes to npmalphaas a GitHub prerelease.CI.
build-fidelitynow runs the real release packer twice from clean builds and compares the tarballs and pins. That replacespack-sources.Removed.
release-core-dispatch.yml,candidate.yml,release-rehearsal.yml.release.ts,release-run.ts,release-prepare.ts,release-artifacts.ts,build-candidate.ts,prepare-core-release.sh,prepare-release-train.ts,peer-api.ts,check-release-tags.ts,pack-sources.mjs.docs/RELEASE-*.mddrafts.Real bugs found while writing it:
npm sbom --workspacesoverflows the stack on the dependency-free artifact workspace (npm 11.19). The SBOM now names core and each extension instead.build-fidelitybuilt with a different Node than the release. Both now use.node-version.Standalone template retired (fixes #666)
urlcode initcreates a complete, pinned site from the installed runtime's own starter, so the separateurlcode-templaterepository is redundant.templatejob,release-template.tsand the helpers only it used (release-identity.ts,release-installability.ts), andstarters/default/starter.json.npx @jimhoyd/urlcode init <site>.RELEASE_AUTOMATION_TOKENis no longer used.Fixes #666
Trade-off
This drops the Docker-pinned, byte-reproducible candidate. Builds run on the runner at the exact
.node-version, and the outputs are attested.build-fidelityproves the packer is reproducible.One-time settings (owner, not code)
.github/rulesets/release-tags.json(done):v*tags cannot be updated or deleted. Delete the "Restrict release tag creation" ruleset: GitHub Actions cannot bypass it on a user-owned repository, so it would block the release from creating its tag.releaseenvironment:mainonly, no reviewers.HOMEBREW_TAP_TOKEN; deleteRELEASE_AUTOMATION_TOKEN.jimhoyd-com/urlcode-templaterepository.release.ymlplus thereleaseenvironment.releaselabel.Evidence
npm run check(includingrelease-bump --check), build and 788 root tests all pass.verify:workspacespasses: every add-on suite, the descriptor check, the package audit and the real-npm integration test.npm run test:packagepasses.release-bump(17 tests),release-publish(10, with a fake runner: order, idempotency, refusals),workflows(7: the two-workflow shape, job and step order, permissions, pinned actions).release-packdry run produced 8 tarballs, https pins that match the core tarball, and a validSHA256SUMS.ci:build-fidelityis reproducible.Not yet exercised: a real publish. The first real run will be the next bump PR.
🤖 Generated with Claude Code