Skip to content

docs: add branch-naming rule to prevent issue-tracker auto-link collisions - #107

Merged
ThomasK33 merged 1 commit into
mainfrom
vigilante/docs-725-adopt-issue-number-branch-name-convention-in-agentsmd-to
Aug 25, 2026
Merged

docs: add branch-naming rule to prevent issue-tracker auto-link collisions#107
ThomasK33 merged 1 commit into
mainfrom
vigilante/docs-725-adopt-issue-number-branch-name-convention-in-agentsmd-to

Conversation

@nickvigilante

Copy link
Copy Markdown
Contributor

What

Add a branch-naming rule to AGENTS.md: when a branch references a GitHub issue
number, write it as issue-<number> instead of a bare <word>-<number> (e.g.
docs-1234) or a leading number.

Why

Connected issue trackers (e.g. Linear) auto-link any branch whose name contains
a <key>-<number> token to the same-numbered issue on the team that owns
<key>. A docs-<n>-style branch in this repo can silently attach the PR to an
unrelated tracker ticket and move it through that ticket's workflow. The
issue- prefix keeps the number readable while avoiding the match. This
actually happened to a recent ai-sdk PR, which prompted the rule.

Docs / agent-instructions only; no code or CI changes. Formatted with
pnpm format (oxfmt).

Linear: DOCS-725

This PR was created with AI assistance (Coder Agents).

@linear-code

linear-code Bot commented Aug 25, 2026

Copy link
Copy Markdown

DOCS-725

@nickvigilante
nickvigilante marked this pull request as ready for review August 25, 2026 15:31
@ThomasK33

Copy link
Copy Markdown
Member

@codex review

@ThomasK33

Copy link
Copy Markdown
Member

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 2f5f8143df

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

Security review completed. No security issues were found in this pull request.

Reviewed commit: 2f5f8143df

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ThomasK33
ThomasK33 added this pull request to the merge queue Aug 25, 2026
Merged via the queue into main with commit 619504f Aug 25, 2026
6 checks passed
@ThomasK33
ThomasK33 deleted the vigilante/docs-725-adopt-issue-number-branch-name-convention-in-agentsmd-to branch August 25, 2026 17:35
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