Skip to content

PR template: prompt for Depends on: and for AI assistance (PROC-175) - #3628

Merged
ItsNotRexed merged 3 commits into
ItsNotRexed:mainfrom
kotorvr:pr-template-depends-ai
Nov 23, 2026
Merged

ItsNotRexed merged 3 commits into
ItsNotRexed:mainfrom
kotorvr:pr-template-depends-ai

Conversation

@kotorvr

@kotorvr kotorvr commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: PROC-175 (listed in #3574; claim posted on #3381 before it moved)

What and why

AGENTS.md, the guide for coding agents, asks a pull request for two things the template has no prompt for:

  • Depends on: #N for every pull request it builds on (line 46; the coordination issue also asks for it and builds its "Merge chains" list from these lines);
  • saying that it was AI-assisted (line 101).

The template prompts for the claim, the change and the tests only, so these are the two lines authors leave out. This adds a prompt for each: a Depends on: line under the claim, and an AI-assisted: yes/no line under "Tested".

To be exact about scope: neither ask is in CONTRIBUTING.md, and the template is shown to every contributor, so this extends the two asks from agents to all pull requests. Whether that is wanted, and where the two lines sit in the template, is the coordinator's call; say so and I'll move them or close this.

Tested

Windows 11, Python 3.13, on main f847748c:

  • New tests/test_docs_pr_template.py (standard library; reads the template only, so rewording AGENTS.md or CONTRIBUTING.md cannot fail it): the template has a line starting Depends on: and one starting AI-assisted:. 2 tests OK; with main's template put back, 1 failure (test_template_has_both_prompts).
  • python -I tests/test_ci_registration.py, tests/test_docs_links.py, tests/test_text_write_line_endings.py: OK.
  • A trial merge with open Docs: the item ID in the pull request is enough, no done: comment #1059 (wording in AGENTS.md/CONTRIBUTING.md) is clean. No open pull request touches the template.

The second commit (7f1f93c) is from an internal review before maintainers saw this: the first version of the test pinned four phrasings of AGENTS.md and the prompt asked "with which tool", which no document asks for; both are gone.

No game files, no GPU.

AI-assisted (Claude Code).

🤖 Generated with Claude Code

kotorvr and others added 2 commits November 22, 2026 20:46
…S.md already asks

AGENTS.md asks every pull request for a `Depends on: #N` line per pull
request it builds on, and to say that it was AI-assisted. The template
prompted for the claim, the change and the tests, but for neither of these.
This adds the two prompts and no new rule.

tests/test_docs_pr_template.py checks that each of the four things
AGENTS.md asks a pull request to say has a prompt in the template.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The test pinned four phrasings of AGENTS.md, so a harmless rewording there
would fail it (and, once docs-only pull requests run every tests/test_docs_*.py,
turn an AGENTS.md-only pull request red). It now checks only that the
template has a `Depends on:` and an `AI-assisted:` prompt line.

The AI-assisted prompt no longer asks for the tool: no document asks for that.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@kotorvr kotorvr changed the title PR template: prompt for Depends on: and for AI assistance, as AGENTS.md already asks (PROC-175) PR template: prompt for Depends on: and for AI assistance (PROC-175) Nov 22, 2026

@kacper-serewis kacper-serewis 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.

At 7f1f93c the template instructs authors to delete the dependency line for a PR with no build dependency. The coordination issue explicitly asks for Depends on: #N for every PR it builds on or conflicts with. Please include conflicts in the prompt and deletion condition. The AI-assistance prompt matches AGENTS.md. Fourteen CPU checks passed; filled-template rendering verified. AI-assisted.

…with

Review (@kacper-serewis): the coordination issue asks for the line for every
pull request this one builds on or conflicts with; the prompt said only
"builds on", and told authors to delete the line otherwise.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@kotorvr

kotorvr commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

@kacper-serewis thanks, right: the coordination issue's Commands section asks for Depends on: #N for every pull request this one builds on or conflicts with. Fixed in the latest commit: the prompt now says "builds on or conflicts with" and names that section, and the line is deleted only when there is neither. tests/test_docs_pr_template.py 2 OK, tests/test_docs_links.py OK. AI-assisted (Claude Code).

@ItsNotRexed
ItsNotRexed merged commit 0d11e96 into ItsNotRexed:main Nov 23, 2026
3 of 5 checks passed
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