From a0ca393826cf8d3fb15c4eb3ced6cbfe148e647b Mon Sep 17 00:00:00 2001 From: Samson Akol Date: Wed, 21 Oct 2026 16:01:42 +0300 Subject: [PATCH 1/4] Mark the required sections in the pull request template The template check adds a marker convention: a section is required when its heading carries a REQUIRED comment, and a section without one stays optional. The check reads the marker from the template, so deleting the comment blocks from a pull request body does not change what is required. --- .github/PULL_REQUEST_TEMPLATE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index af88746..f59fb51 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,6 +7,7 @@ --> ## Summary + @@ -23,6 +25,7 @@ … ## Reviewer guidance + ## AI usage + From 981262ab937af5ddeaeccf640b24dca9c22f3d57 Mon Sep 17 00:00:00 2001 From: Samson Akol Date: Wed, 21 Oct 2026 18:11:11 +0300 Subject: [PATCH 2/4] Point the header instruction at every required section The header named the AI usage section as the only required one. Summary, References and Reviewer guidance carry the marker too, so it contradicted them. --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index f59fb51..2488d50 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,5 +1,5 @@ - -## AI usage diff --git a/.github/ISSUE_TEMPLATE/enhancement_issue.md b/.github/ISSUE_TEMPLATE/enhancement_issue.md index 3e86eba..da4c07f 100644 --- a/.github/ISSUE_TEMPLATE/enhancement_issue.md +++ b/.github/ISSUE_TEMPLATE/enhancement_issue.md @@ -31,6 +31,7 @@ Instructions: +## AI usage - -## AI usage diff --git a/.github/ISSUE_TEMPLATE/feature_issue.md b/.github/ISSUE_TEMPLATE/feature_issue.md index 211d71b..d2824d6 100644 --- a/.github/ISSUE_TEMPLATE/feature_issue.md +++ b/.github/ISSUE_TEMPLATE/feature_issue.md @@ -61,6 +61,7 @@ type: Tracking Issue - [Link] +## AI usage - -## AI usage diff --git a/.github/ISSUE_TEMPLATE/other_issue.md b/.github/ISSUE_TEMPLATE/other_issue.md index 06f0d39..3ea27c6 100644 --- a/.github/ISSUE_TEMPLATE/other_issue.md +++ b/.github/ISSUE_TEMPLATE/other_issue.md @@ -13,6 +13,7 @@ about: For issues that don't fit any other category +## AI usage - -## AI usage diff --git a/.github/ISSUE_TEMPLATE/product_issue.md b/.github/ISSUE_TEMPLATE/product_issue.md index 0b78dad..10db6b3 100644 --- a/.github/ISSUE_TEMPLATE/product_issue.md +++ b/.github/ISSUE_TEMPLATE/product_issue.md @@ -28,6 +28,7 @@ _[Then, more detail. Provide a short summary and/or list key outcomes that the u ### Accessibility Requirements +## AI usage - -## AI usage diff --git a/.github/ISSUE_TEMPLATE/technical_task_issue.md b/.github/ISSUE_TEMPLATE/technical_task_issue.md index e2da328..bcfe17b 100644 --- a/.github/ISSUE_TEMPLATE/technical_task_issue.md +++ b/.github/ISSUE_TEMPLATE/technical_task_issue.md @@ -103,6 +103,7 @@ OPTIONAL - Delete if not needed. Links to documentation, code references, or relevant libraries. --> +## AI usage - -## AI usage diff --git a/.github/ISSUE_TEMPLATE/technical_tracking_issue.md b/.github/ISSUE_TEMPLATE/technical_tracking_issue.md index 676dc0d..2007f22 100644 --- a/.github/ISSUE_TEMPLATE/technical_tracking_issue.md +++ b/.github/ISSUE_TEMPLATE/technical_tracking_issue.md @@ -53,6 +53,7 @@ Only include if there's a unifying test strategy across sub-tasks. Otherwise, leave testing guidance to individual task issues. --> +## AI usage - -## AI usage diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 2488d50..a4403eb 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -36,9 +36,9 @@ … +## AI usage + - -## AI usage - From af6edc4960c36b206881c77117900169ba902530 Mon Sep 17 00:00:00 2001 From: Samson Akol Date: Wed, 21 Oct 2026 19:39:16 +0300 Subject: [PATCH 4/4] Harmonize the AI usage section in the issue templates The pull request template marks the section with a REQUIRED comment under the heading. The issue templates said REQUIRED inside the description comment instead, so the same section carried two shapes. The marker now opens the section in all of them, and the duplicated line is gone. Nothing reads an issue template yet: the check in #102 runs on pull requests only. --- .github/ISSUE_TEMPLATE/bug_issue.md | 3 +-- .github/ISSUE_TEMPLATE/enhancement_issue.md | 3 +-- .github/ISSUE_TEMPLATE/feature_issue.md | 3 +-- .github/ISSUE_TEMPLATE/other_issue.md | 3 +-- .github/ISSUE_TEMPLATE/product_issue.md | 3 +-- .github/ISSUE_TEMPLATE/technical_task_issue.md | 3 +-- .github/ISSUE_TEMPLATE/technical_tracking_issue.md | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_issue.md b/.github/ISSUE_TEMPLATE/bug_issue.md index b032ad3..9a5ff41 100644 --- a/.github/ISSUE_TEMPLATE/bug_issue.md +++ b/.github/ISSUE_TEMPLATE/bug_issue.md @@ -70,9 +70,8 @@ Tell us about your environment, including: … ## AI usage + ## AI usage + ## AI usage +