Repository navigation
Closed
Labels
Milestone
Description
Problem
The release skill (.claude/skills/release/SKILL.md) is a v2 procedure. Its "The v1 line" section is four sentences saying v1 ships flat from v1/main to v1-latest, with no steps. Cutting 1.0.3 (#2753) meant reconstructing the procedure from the earlier releases and the v1 workflow, and the first attempt got two details wrong:
- The tag is bare (
1.0.3), like1.0.0–1.0.2, notv1.0.3. Thev1 release tagsruleset protectsrefs/tags/1.*. - The release must not be marked Latest. Every v1 release has
latest=false; checking it would take the Latest badge from v2.
Proposed change
Expand "The v1 line" in the release skill into a real procedure:
- Bump: a PR against
v1/main(labelsv1+chore, linked to av1release issue on board get tools working #11, no milestone). Edit the fourpackage.jsonversions, the three@modelcontextprotocol/inspector-*ranges in the rootpackage.json, and the 8 matchingpackage-lock.jsonfields directly. Don't usenpm run update-version: its trailing barenpm installre-resolves the whole tree (see v1: release 1.0.2 with the pending security and audit fixes #2080).npm run check-versionmust pass andnpm cimust leave the lockfile untouched. - Merge order: the bump merges last, after the fixes it ships.
- Release:
gh release create <x.y.z> --target v1/main --title <x.y.z> --latest=false. - What CI does: the release event runs
build, thenpublish(OIDC trusted publishing,npm run publish-all→--tag v1-latest), pluspublish-github-container-registry. - Verify:
npm view @modelcontextprotocol/inspector dist-tagsshowsv1-latestat the new version, andlatestis still on v2. - Release notes when the fixes are unpublished security advisories: keep the notes neutral at release time, then edit the release to link the advisories once they are published.
Also worth recording in the skill or in security-advisory, both learned on this release:
- Advisory-fork PRs cannot satisfy required Actions checks. Private forks don't run Actions, so
v2/main's requiredDCOcheck andv1/main's requiredbuildcheck stay "Expected" forever, and the advisory page offers no bypass. The workable path was to remove only therequired_status_checksrule from the ruleset while merging, then restore it from a snapshot. - Merging an advisory merges all of its fork's PRs at once. An advisory with one PR per line (e.g. v2 + v1) lands both together, which interacts with any planned cross-advisory merge order.
- Use "Create a merge commit" when several fix branches have been chained on top of each other. Squash or rebase breaks the chain.
Keep the release skill disable-model-invocation: true, and re-run npm run verify:skills and the listing budget check after editing.
Activity
docs(skills): fix the v1 lockfile and isLatest checks (#2755)
cliffhall commentedon Oct 25, 2026
Shipped in #2785.