Skip to content

feat(#684): /release pre-flight regenerates marketplace README + checks README 'What's new' freshness - #685

Merged
admarble merged 3 commits into
mainfrom
feature/684-chore-release-release-pre-flight-should-regenerate
Jun 1, 2026
Merged

admarble merged 3 commits into
mainfrom
feature/684-chore-release-release-pre-flight-should-regenerate

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

Hardens the /release skill pre-flight so the two doc surfaces that shipped stale in v2.4.0 can't ship again:

  • Step 4.7 (new): Regenerate the marketplace artifact (npm run prepare:marketplace) before pack/publish. The artifact under dist/marketplace/ is bundled into the tgz via files:["dist", ...] even though dist/ is gitignored — so regenerating it from source before Step 5/9 guarantees the bundled README matches current sources. Includes a warn-only freshness check comparing the generated README's Node.js floor against package.json engines.node.
  • Documentation Checks (extended): Warn (non-blocking, mirroring the existing what-weve-built.md version-stamp check) when README.md "What's new" omits the version being released.

Root cause of the v2.4.0 misses: the sequant-2.4.0.tgz carried a "Node.js 20+" marketplace README after the floor moved to 22.12 (#677), and the root README "What's new" was never refreshed for 2.4.0.

Pre-PR AC Verification

AC Source Description Status Evidence
AC-1 Original Pre-flight regenerates/validates marketplace README before publish ✅ Implemented New Step 4.7 in SKILL.md, before Step 5 (pack) / Step 9 (publish)
AC-2 Original Warn when README.md "What's new" omits the release version ✅ Implemented Check #12 in Documentation Checks block
AC-3 Original Mirror SKILL.md change to other skill copies 🔄 N/A find . -name SKILL.md -path '*release*' → only .claude/skills/release/; no templates/skills/ or skills/ copy exists

Test plan

All snippets were run live (this is a run-the-snippet deliverable — no code paths added):

  • AC-2 pass path: README contains New in 2.4.0 → no warning
  • AC-2 warn path: simulated missing 9.9.9 → warning fires
  • AC-1 regeneration: npm run prepare:marketplace succeeds; generated README Node line Node.js 22.12+ matches engines >=22.12.0 → no warning
  • AC-1 warn path: simulated stale Node.js 20.0 README → warning fires
  • npm run lint (eslint src/ bin/) — clean
  • npm run lint:skill-calls — no violations

Build/test phases skipped: no TypeScript or runtime code changed (markdown + bash snippets in one SKILL.md).

Closes #684

… new" freshness in pre-flight (#684)

Add two gates to the /release skill so stale doc surfaces can't ship again
(root cause of v2.4.0's "Node.js 20+" marketplace README and unrefreshed
root README "What's new"):

- Step 4.7: run `npm run prepare:marketplace` before pack/publish so the
  dist/marketplace artifact (bundled via files:["dist"], gitignored) always
  matches current sources; warn if its Node.js floor diverges from
  package.json engines.
- Documentation Checks: warn (non-blocking, like the what-weve-built check)
  when README.md "What's new" omits the version being released.

AC-3 (mirror to other skill copies) is N/A — release skill exists only in
.claude/skills/release/.

Entire-Checkpoint: 530210aafbd9
admarble added 2 commits May 31, 2026 18:39
…res for the released version

Pre-flight read package.json before Step 4 bump, so it checked the
previous version (already in README) and never warned for the version
being released. Relocate to new Step 4.65 (post-bump).
@admarble
admarble merged commit c395cf9 into main Jun 1, 2026
4 checks passed
@admarble
admarble deleted the feature/684-chore-release-release-pre-flight-should-regenerate branch June 1, 2026 00:28
admarble added a commit that referenced this pull request Jun 1, 2026
…st-bump (#688)

Pre-flight Check #11 read package.json before the Step 4 version bump, so it
compared what-weve-built.md stamps against the *previous* release — a no-op for
the version actually being released (same ordering bug fixed for the README
check in #685).

Move the title + ASCII version-stamp comparison to a new post-bump Step 4.63
(just after Step 4.6, which updates the stamps), comparing against new_version.
Leave a pointer note at the former pre-flight location. Warn-only semantics
unchanged. Single skill copy — no mirror sync.

Entire-Checkpoint: 6108128c3472
admarble added a commit that referenced this pull request Sep 9, 2026
…st-bump

Pre-flight Check #11 read package.json before the Step 4 version bump, so it
compared what-weve-built.md stamps against the *previous* release — a no-op for
the version actually being released (same ordering bug fixed for the README
check in #685).

Move the title + ASCII version-stamp comparison to a new post-bump Step 4.63
(just after Step 4.6, which updates the stamps), comparing against new_version.
Leave a pointer note at the former pre-flight location. Warn-only semantics
unchanged. Single skill copy — no mirror sync.

Entire-Checkpoint: 6108128c3472
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(release): /release pre-flight should regenerate marketplace README + check README 'What's new' freshness

1 participant