Skip to content

docs(release): skip release-type prompt when the answer is obvious - #2914

Merged
max-sixty merged 1 commit into
mainfrom
release-skill-skip-obvious
May 27, 2026
Merged

max-sixty merged 1 commit into
mainfrom
release-skill-skip-obvious

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Summary

The release skill always asked the user to confirm patch/minor/major. When cargo semver-checks reports breaking changes (forcing minor pre-1.0), or when only bug fixes have landed, the answer is fully determined — the prompt is wasted ceremony.

Replace the unconditional prompt with a judgment-based policy:

  • Proceed without asking when only one bump is plausible (semver-checks breaking → minor; fixes only → patch). Inform the user and continue.
  • Ask only when there's genuine ambiguity (new features without semver breakage; borderline cases). When asking, the choice is patch vs. minor — no novelty options like skipping a version number.

Step 6 in the workflow list and the "Do not proceed until user confirms" absolute are updated to match.

Test plan

  • Skill renders cleanly on next release run
  • No regressions in the surrounding workflow steps

🤖 Generated with Claude Code

The release skill always asked the user to confirm patch/minor/major, even
when the choice was fully determined — e.g. `cargo semver-checks` reported
breaking changes (forcing minor pre-1.0) or only bug fixes landed. Replace
the unconditional prompt with a judgment-based policy: proceed without
asking when only one bump is plausible, ask only for genuine ambiguity.
@max-sixty
max-sixty merged commit 0ad836e into main May 27, 2026
35 checks passed
@max-sixty
max-sixty deleted the release-skill-skip-obvious branch May 27, 2026 00:00
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.

2 participants