Skip to content

Clarify AGENTS branch-number rule to remove issue/PR timing ambiguity#2728

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-code-review-suggestion
Closed

Clarify AGENTS branch-number rule to remove issue/PR timing ambiguity#2728
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-code-review-suggestion

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 27, 2026

The branch naming guidance in AGENTS.md implied a timing-based choice (“whichever is created first”) while nearby rules required consistent traceability to issue/PR numbers. This updates the wording so number selection is unambiguous and aligned with the rule intent.

  • Branch naming guidance

    • Reworded the <number> definition in AGENTS.md to be state-based, not timing-based:
      • use issue number when work is tracked by an issue
      • otherwise use PR number
  • Scope

    • Documentation-only change in the branch naming section; no behavior or tooling changes.
- Where `<number>` is either an issue number or a PR number — whichever is created first.
+ Where `<number>` is the issue number when work is tracked by an issue; otherwise use the PR number.

Copilot AI requested review from Copilot and removed request for Copilot May 27, 2026 21:19
Copilot AI requested review from Copilot and removed request for Copilot May 27, 2026 21:23
Copilot AI changed the title [WIP] Fix code based on review comment Clarify AGENTS branch-number rule to remove issue/PR timing ambiguity May 27, 2026
Copilot finished work on behalf of mnriem May 27, 2026 21:24
Copilot AI requested a review from mnriem May 27, 2026 21:24
@mnriem mnriem closed this May 27, 2026
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