Skip to content

Mark the required sections, and put the AI usage comment under its heading - #115

Merged
rtibbles merged 4 commits into
mainfrom
template-required-markers
Oct 21, 2026
Merged

rtibbles merged 4 commits into
mainfrom
template-required-markers

Conversation

@akolson

@akolson akolson commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Contributors open pull requests that leave required sections of the template empty, and
reviewers ask for the missing information by hand. #102 adds a check for that, and the check
needs a way to tell a required section from an optional one.

A section is required when its heading carries a <!-- REQUIRED --> comment. The check reads
the marker from the template file, never from the pull request body, so a contributor deleting
the instruction comments as the template asks cannot change what is required.

The change

  • ## Summary, ## References, ## Reviewer guidance and ## AI usage carry the marker.
  • The header instruction named AI usage as the only required section. It now points at every
    section that carries the marker.
  • The AI usage guidance comment moves under its heading, in the pull request template and in all
    seven issue templates. Every other section carries its comment after the heading, so that
    block read as part of the section above it.
  • That comment opened with "AI USAGE - REQUIRED", which said the same thing as the marker, so
    the line is gone and the marker opens the section in all eight files.
  • No section was added or reworded.

Nothing reads an issue template yet, since the check in #102 runs on pull requests only. The
marker is there so the same section has one shape everywhere.

References

Part of #102.

Reviewer guidance

  1. Read the diff. Expect the four markers, one reworded header line, and the AI usage comment
    moved under its heading in eight files.
  2. Open a pull request and an issue in this repo. Expect the rendered description to be
    unchanged, because a comment does not render.

Nothing enforces the markers yet. The check that reads them lands in #116, and the three repos
that keep their own template get the same markers first.

AI usage

I used Claude Code to confirm which repos fall back to this template, to find that the three
repo-specific templates carry no AI usage section, and to make the edits. I decided the marker
convention and which sections are required, and I reviewed the diff.

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.
@akolson
akolson requested review from a team and rtibblesbot October 21, 2026 13:03
@rtibblesbot

rtibblesbot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

⚪ Queued for review

Last updated: 2026-10-21 16:39 UTC

@rtibblesbot rtibblesbot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #115: the marker change is fine. One wording conflict needs fixing (see inline).

CI passing.

Next step: This is a low-risk change; it needs a light-touch code review by a human engineer.


Written by rtibblesbot, an LLM-based coding agent.

Comment thread .github/PULL_REQUEST_TEMPLATE.md
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.

@rtibblesbot rtibblesbot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #115 has no new findings. The one prior finding is resolved. CI is passing.

Prior-finding status

RESOLVED — .github/PULL_REQUEST_TEMPLATE.md:10 — header instruction contradicts the new REQUIRED markers

Next step: This is a low-risk change and can merge as is, with no further human review.


Written by rtibblesbot, an LLM-based coding agent.

Every other section carries its guidance comment after the heading. AI usage
carried it before, in the pull request template and in all seven issue
templates, so the block read as part of the section above it.

In the pull request template the comment also opened with "AI USAGE -
REQUIRED", which the heading and the REQUIRED marker now say.
@akolson akolson changed the title Mark the required sections in the pull request template Mark the required sections, and put the AI usage comment under its heading Oct 21, 2026

@rtibblesbot rtibblesbot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #115: 1 of 1 prior finding resolved; no new findings.

CI passing.

Prior-finding status

RESOLVED — .github/PULL_REQUEST_TEMPLATE.md:10 — header instruction contradicts the REQUIRED markers

Next step: This is a low-risk change and can merge as is, with no further human review.


Written by rtibblesbot, an LLM-based coding agent.

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.
@rtibbles
rtibbles merged commit 10fa737 into main Oct 21, 2026
2 checks passed
@rtibbles
rtibbles deleted the template-required-markers branch October 21, 2026 16:44
@rtibblesbot

Copy link
Copy Markdown
Contributor

Quick check on rtibblesbot's review of this PR: react 👍 helpful · 😕 mixed · 👎 not helpful. Reply with anything specific.

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.

3 participants