Require explicit release:* label on every PR in AGENTS.md#51
Merged
Conversation
The release workflow defaults to a patch bump when a merged PR has no release:* label. Docs-only PR #45 and test-only PR #50 were both opened unlabeled because AGENTS.md only mentioned the labels exist without instructing agents to apply one. #45 likely cut an empty patch release; #50 needed retroactive labeling before merge. Replace the passing mention with a short rubric covering when to use skip / patch / minor / major, and an explicit "before merge" deadline so future agents pick exactly one. https://claude.ai/code/session_01WjHPSobuzrRkjwUgjAJWMk
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
AGENTS.md currently mentions the
release:*labels exist but doesn't tell agents to apply one. The release workflow defaults torelease:patchwhen a merged PR has no label, so docs-only PR #45 and test-only PR #50 were both opened unlabeled — #45 likely cut an empty patch release, and #50 needed retroactive labeling.Replace the passing mention in
## Repository conventionswith a short rubric:release:skip— no user-visible behavior change (tests, docs, CI, internal refactor)release:patch— bug fix, security patch, dependency bump with no API/CLI/config-schema changerelease:minor— additive change: new flag, subcommand, optional config keyrelease:major— breaking change to CLI, config schema, exit codes, or emitted metric namesAlso adds an explicit "apply the label before merge" deadline so future agents don't repeat the back-fill dance.
Test Plan
This PR itself is docs-only, so it carries
release:skip.https://claude.ai/code/session_01WjHPSobuzrRkjwUgjAJWMk
Generated by Claude Code