From 150d36625974fa3d40777a8a38009ea5a1bcf215 Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Fri, 25 Sep 2026 08:20:35 -0400 Subject: [PATCH] docs: add branch-naming rule to prevent issue-tracker auto-link collisions (#28574) --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 675645d6b2b..a54357a68b7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -46,6 +46,7 @@ For changes under `site/src/`, also read [FRONTEND_PATTERNS.md](.claude/docs/FRO - Prefer targeted tests and checks while iterating. Run the broader checks required by the affected area before handoff. - Do not force-push unless explicitly requested. - Commit and PR titles use `type(scope): message`. A scope must be a real path containing every changed file. Use a broader scope or no scope for cross-cutting changes. +- Name branches so they do not collide with issue-tracker IDs. When a branch references a GitHub issue number, write it as `issue-` (for example, `issue-1234-fix-flake`), not as a bare `-` such as `docs-1234` or a leading number. Connected trackers like Linear auto-link any branch containing a `-` token to the same-numbered issue on the team that owns ``, silently attaching the PR to an unrelated ticket and moving it through that ticket's workflow. ## Essential commands