Commit Graph

2 Commits

Author SHA1 Message Date
7f1f93c944 PR template test: check the template only; drop "with which tool"
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>
2026-11-22 21:10:10 +00:00
129d346360 PR template: prompt for Depends on: and for AI assistance, as AGENTS.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>
2026-11-22 20:46:49 +00:00