From 4f5d6d54178ef0554095d733bfe33844cb20c3e9 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Sat, 14 Nov 2026 22:17:47 +0900 Subject: [PATCH 1/4] no-issue: Add duplicate-issue checks to AGENTS.md --- AGENTS.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index d23d0c9315d3f31..7390ebb62975c17 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,3 +14,22 @@ When acting on this repository, apply the policy's core principles: - Follow existing coding style and patterns. - Write tests that exercise the change. - Keep backwards compatibility with prior releases in mind. + +## Duplicate-issue checks + +Before opening an issue, search for existing reports, including closed ones: + +```bash +gh search issues --repo python/cpython "" +gh search issues --repo python/cpython "" +gh issue list --repo python/cpython --state all --label "" --search "" +``` + +- If an existing issue covers the same root cause, do not open another. + Add new information (a reproducer, measurements, an affected version) + as a comment there. +- A different trigger for the same underlying behavior is still a duplicate. +- If you believe your report is distinct, link the related issues and + explain the difference in the first paragraph. +- Check whether a closed issue was fixed on `main` and test against it + before reporting a regression. From 9bd93b5a757dc22b2715641c2f162502579e716a Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Sat, 14 Nov 2026 22:26:15 +0900 Subject: [PATCH 2/4] nit --- AGENTS.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 7390ebb62975c17..66e99822606c123 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,7 +15,10 @@ When acting on this repository, apply the policy's core principles: - Write tests that exercise the change. - Keep backwards compatibility with prior releases in mind. -## Duplicate-issue checks +## Opening issues + +Do not auto-generate issues with AI tools. Write up the report yourself, +in your own words, after you have understood and verified the problem. Before opening an issue, search for existing reports, including closed ones: From 800ee47207d7d60c4300fe17e3da7faa7da128cb Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Sun, 15 Nov 2026 21:45:06 +0900 Subject: [PATCH 3/4] Address code review --- AGENTS.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 66e99822606c123..0b0d745a2b068c2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,22 +17,13 @@ When acting on this repository, apply the policy's core principles: ## Opening issues -Do not auto-generate issues with AI tools. Write up the report yourself, -in your own words, after you have understood and verified the problem. +Do not auto-generate issues with AI tools. -Before opening an issue, search for existing reports, including closed ones: +Search GitHub for duplicate issues before opening a new issue. Avoid opening +duplicates. ```bash gh search issues --repo python/cpython "" gh search issues --repo python/cpython "" gh issue list --repo python/cpython --state all --label "" --search "" ``` - -- If an existing issue covers the same root cause, do not open another. - Add new information (a reproducer, measurements, an affected version) - as a comment there. -- A different trigger for the same underlying behavior is still a duplicate. -- If you believe your report is distinct, link the related issues and - explain the difference in the first paragraph. -- Check whether a closed issue was fixed on `main` and test against it - before reporting a regression. From 3dea80f41c8a695f6b3d9d9ba9ce602312a8e615 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Mon, 16 Nov 2026 09:56:30 +0900 Subject: [PATCH 4/4] Address code review --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 0b0d745a2b068c2..ce4489146a9ee92 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,7 +19,7 @@ When acting on this repository, apply the policy's core principles: Do not auto-generate issues with AI tools. -Search GitHub for duplicate issues before opening a new issue. Avoid opening +Search GitHub for duplicate issues before opening a new issue. Do not open duplicates. ```bash