From 44ef48f3c68399cfe03db944c8d55e0bc48c391a Mon Sep 17 00:00:00 2001 From: Chummy Date: Tue, 17 Feb 2026 00:46:01 +0800 Subject: [PATCH] docs(agents): add superseded-PR title/body template --- AGENTS.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index cfbacfc..2670878 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -314,6 +314,37 @@ When a PR supersedes another contributor's PR and carries forward substantive co - In the PR body, list superseded PR links and briefly state what was incorporated from each. - If no actual code/design was incorporated (only inspiration), do not use `Co-authored-by`; give credit in PR notes instead. +### 9.3 Superseded-PR PR Template (Recommended) + +When superseding multiple PRs, use a consistent title/body structure to reduce reviewer ambiguity. + +- Recommended title format: `feat(): unify and supersede #, # [and #]` +- If this is docs/chore/meta only, keep the same supersede suffix and use the appropriate conventional-commit type. +- In the PR body, include the following template (fill placeholders, remove non-applicable lines): + +```md +## Supersedes +- # by @ +- # by @ +- # by @ + +## Integrated Scope +- From #: +- From #: +- From #: + +## Attribution +- Co-authored-by trailers added for materially incorporated contributors: Yes/No +- If No, explain why (for example: no direct code/design carry-over) + +## Non-goals +- + +## Risk and Rollback +- Risk: +- Rollback: +``` + Reference docs: - `CONTRIBUTING.md`