Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AGENTS.md does not mention the pull request template, so agents skip it #14073

Description

@williammartin

Describe the feature or problem you'd like to solve

Agents contributing to this repository routinely open pull requests without using .github/PULL_REQUEST_TEMPLATE.md. The PR body gets written freeform and none of the template's sections (Description, How did you test this change?, Key points, Notes for reviewers, Authorship and follow-up) are filled in.

The most serious consequence is not the missing headings. The Authorship and follow-up section carries an instruction marked REQUIRED and addressed specifically at AI agents: if the human has not already chosen who answers review comments, the agent must pause and ask before creating or updating the pull request, and must not infer the choice from repository ownership, authorship, assignees, or the current operator. An agent that never opens the template walks straight past that gate. Nobody is asked, nothing is agreed, and the PR lands with no committed reviewer contact.

Proposed solution

Add a short, focused section to AGENTS.md instructing agents to read and fill in .github/PULL_REQUEST_TEMPLATE.md before opening a pull request: keep its headings and HTML comments, do not skip sections, and honour the REQUIRED authorship instruction by pausing and asking the human who answers review comments rather than inferring it.

This closes the gap for every agent session in this repository regardless of harness, since AGENTS.md is always in context. It costs a handful of lines and restores the authorship gate that the template was written to enforce.

Additional context

The relevant template text is in .github/PULL_REQUEST_TEMPLATE.md under Authorship and follow-up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtA chore that addresses technical debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions