Skip to content

Require explicit release:* label on every PR in AGENTS.md#51

Merged
dolph merged 1 commit into
mainfrom
claude/agents-md-release-labels
May 16, 2026
Merged

Require explicit release:* label on every PR in AGENTS.md#51
dolph merged 1 commit into
mainfrom
claude/agents-md-release-labels

Conversation

@dolph
Copy link
Copy Markdown
Owner

@dolph dolph commented May 16, 2026

Summary

AGENTS.md currently mentions the release:* labels exist but doesn't tell agents to apply one. The release workflow defaults to release:patch when 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 conventions with 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 change
  • release:minor — additive change: new flag, subcommand, optional config key
  • release:major — breaking change to CLI, config schema, exit codes, or emitted metric names

Also adds an explicit "apply the label before merge" deadline so future agents don't repeat the back-fill dance.

Test Plan

  • Renders cleanly as Markdown
  • Existing AGENTS.md sections unchanged outside the targeted paragraph
  • No code changes

This PR itself is docs-only, so it carries release:skip.

https://claude.ai/code/session_01WjHPSobuzrRkjwUgjAJWMk


Generated by Claude Code

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
@dolph dolph added the release:skip label May 16, 2026 — with Claude
@dolph dolph merged commit 8109a97 into main May 16, 2026
2 checks passed
@dolph dolph deleted the claude/agents-md-release-labels branch May 16, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants