Commit Graph

9 Commits

Author SHA1 Message Date
6bf3b7d281 Revert #3920 (held for the maintainer): it makes docs/design.md a file generated from docs/contracts/*.json
The generated page was already out of step with this round's rows (test_design_contracts), and the PR also
changes AGENTS.md, the PR template, ci.yml and adds an agent skill. docs/design.md keeps its current rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:16:51 -05:00
152acd7a79 Merge pull request #3920 from Leonida Proto
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:09:34 -05:00
16ab807ab4 docs(agents): add Rule -> Enforcer table, preflight entry point, and PR premise check 2026-11-23 02:27:42 +04:00
e9d1382d6c PR template: Depends on also covers pull requests this one conflicts 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>
2026-11-22 21:46:06 +00:00
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
e0d68c8bb2 Docs: link the coordination issue by its title, not its number
The coordination issue (#156) will move to a successor when its thread
gets long. CONTRIBUTING.md, AGENTS.md, the PR template and the testing
guide now find it as the open issue titled "Coordinating who works on
what" (a search link, and a gh command for agents), so they stay right
without an edit each time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:11:59 +01:00
8a7e5dce94 Docs: claim work in #156 before opening a pull request
@ItsNotRexed asked in #156 for claims to be made there before a PR is
opened. Say so where contributors and their agents look first:
CONTRIBUTING.md, AGENTS.md and the pull request template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:33:56 +01:00
3ecfae302f Add a pull request template from CONTRIBUTING.md
Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-21 14:15:04 +01:00