From 367e4c311da4647c8dfc6daa2806937679897535 Mon Sep 17 00:00:00 2001 From: Kyle Sexton <153232337+kyle-sexton@users.noreply.github.com> Date: Tue, 15 Sep 2026 10:57:28 -0400 Subject: [PATCH] chore: delete PR template to inherit org default This repository kept a local copy of a pre-fix org PR template, naming two no-issue escapes and backticking both. The `pr-contract` composite masks inline code spans before matching, so an author copying either escape verbatim drew the advisory `needs-issue-linkage` label with no visible cause. The copy also sits outside the lockstep drift lane, which fetches the template only from the org `.github` repository, so nothing watched it. Delete it so the repository inherits the org default, which names one escape as plain text. The contributor doc pointed at the deleted path, so it now points at the org default. Its opening-line literals move out of code spans in the same edit: the composite masks the body once and matches the closing keyword against the same masked text as the escape, so a backticked keyword is invisible to the gate exactly as a backticked escape is. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01M98vWnd3jQJ19Pe6Uj7bV9 --- .github/PULL_REQUEST_TEMPLATE.md | 38 -------------------------------- AGENTS.md | 18 +++++++++------ 2 files changed, 11 insertions(+), 45 deletions(-) delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 0d58403..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,38 +0,0 @@ -Closes # - - - -## Summary - - - -## Fix - - - -## Verification - - - -## Related - - diff --git a/AGENTS.md b/AGENTS.md index 0d308d2..05304f8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -149,10 +149,14 @@ are validated upstream, and this repo must not hand-edit them. `ci-status` is the single required check. It fails on a title that is not Conventional Commits (`build`, `chore`, `ci`, `docs`, `feat`, `fix`, `perf`, `refactor`, `revert`, `security`, `style`, `test`) and on a `do-not-merge` -label. Every body opens with a closing keyword and issue (`Closes #`, -`Fixes`, or `Resolves`, cross-repo as `Closes /#`) or with -the literal `No related issue: `, then carries a non-empty -`## Summary`, `## Fix`, `## Verification` and `## Related`. The linkage rule is -advisory: a body missing the keyword or a section gets a comment and the -`needs-issue-linkage` label, not a red check. Draft the body to -`.github/PULL_REQUEST_TEMPLATE.md` before opening the pull request. +label. Every body opens with a closing keyword and issue ("Closes #", +"Fixes", or "Resolves", cross-repo as "Closes /#") or with +the no-issue escape and its reason, "No related issue: ". Write that +opening line as plain text: the gate masks inline code spans before matching, +so a backticked keyword or escape is invisible to it. The body then carries a +non-empty `## Summary`, `## Fix`, `## Verification` and `## Related`. The +linkage rule is advisory: a body missing the keyword or a section gets a +comment and the `needs-issue-linkage` label, not a red check. Draft the body +to that shape before opening the pull request: this repository carries no +local template and inherits the org default from +[`melodic-software/.github`](https://github.com/melodic-software/.github/blob/main/.github/PULL_REQUEST_TEMPLATE.md).