From 2c18a816102bcec983ffd0a54494dad47f0a4bcd Mon Sep 17 00:00:00 2001 From: Etienne Filhol Date: Wed, 25 Nov 2026 09:27:16 +0100 Subject: [PATCH] chore(ci): ask which agents and models made a pull request --- .agents/skills/file-issue/SKILL.md | 13 +++++++++---- .github/pull_request_template.md | 22 ++++++++++++++++------ AGENTS.md | 8 ++++---- CONTRIBUTING.md | 2 ++ 4 files changed, 31 insertions(+), 14 deletions(-) diff --git a/.agents/skills/file-issue/SKILL.md b/.agents/skills/file-issue/SKILL.md index 486847a7..8450097a 100644 --- a/.agents/skills/file-issue/SKILL.md +++ b/.agents/skills/file-issue/SKILL.md @@ -8,8 +8,8 @@ description: File a GitHub issue or open a pull request here with gh, short and **Short.** What was wrong, then what changed. One fact per line; fragments are fine. Quotes and numbers. No background, file tour, hedging or restated diff. -- Under 150 words, 250 for a large feature, not counting images, quoted output - and Acceptance. +- Under 150 words, 250 for a large feature, not counting images, quoted output, + Acceptance and Agents. - Drop facts, not words. Full words, real names: a stranger must be able to act on it. A fact nobody acts on goes. @@ -19,8 +19,8 @@ fine. Quotes and numbers. No background, file tour, hedging or restated diff. | Comprehensive tests were added and the change was verified thoroughly across browsers. | Route suite 690. Chromium, Firefox, WebKit. Not checked: macOS Safari. | Never: a key, token, password, email address, personal message, private link, -host name, site address or machine attribution. A security problem goes to the -address in SECURITY.md, never to an issue. +host name, site address, or machine attribution outside `## Agents`. A security +problem goes to the address in SECURITY.md, never to an issue. ## First @@ -56,6 +56,11 @@ section, or write "Nothing visible changes." when templates or static files did. gh pr create --draft --title "fix(web): ..." --body-file pr.md +`## Agents` names each agent and model that wrote, reviewed or tested the change, +subagents included, and what it did. Working on it later, add your line. A model +you do not know is "unknown", never a guess. A squash keeps the title alone, so +none of it reaches `main`. + It stays a draft until the user says it is ready: CI runs then. Read both back. With `Closes`, the issue lists the pull request in diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 1d55354e..82ced1c3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,10 +1,10 @@ Closes # @@ -44,3 +49,8 @@ files changed: "Nothing visible changes." Else delete. --> ## Verified ## Risk + +## Agents + + diff --git a/AGENTS.md b/AGENTS.md index 7ecc8e4f..5451f493 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -22,9 +22,9 @@ list, no history. upstream's code at a pin, in its own environment. Ask before writing more than glue. - **Reuse before adding**, for example `ondisk`, `redact`, `paths`, `providers`. -- **No machine attribution** in a commit or a pull request: no assistant - `Co-Authored-By`, session link or generated-by line. Human co-authors - and existing commits stay. +- **No machine attribution** in a commit: no assistant `Co-Authored-By`, session + link or generated-by line. A pull request names its agents and models under + `## Agents` alone. Human co-authors and existing commits stay. - **Nothing merges without the owner's word.** ## Pages and commands @@ -138,7 +138,7 @@ The `file-issue` skill files both. - A pull request opens as a draft, with `Closes #n` when it finishes its issue, else `Refs #n`. - Title: `type(scope): summary`, lowercase except names, no final period. A squash - makes it the commit on `main`, and the body its message. + makes it the whole commit. - Types: `feat` `fix` `perf` `refactor` `docs` `test` `ci` `build` `chore` `revert` - Scopes: `standard` `catalogue` `runs` `traces` `compare` `judge` `builder` `web` `execution` `settings` `docs` `site` `ci` `release` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 05393dc7..2758d192 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -90,5 +90,7 @@ decision by the repository owner. Commit messages are about the change and why it was made. No machine attribution: no `Co-Authored-By: Claude`, no session metadata, no generated-by signature. A real person who contributed is named as a co-author as usual. +The agents and models used are named in the pull request, under `## Agents`; a +squash keeps its title alone. Nothing merges without the repository owner's word.