From dfbd37eafc5fd7fb06bb327bd1e71971f5ac6a51 Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 28 Oct 2026 16:13:31 +0800 Subject: [PATCH] docs: a reporter's fix branch, patch or fixtures are credited in the commit 321sssrt-bit's analysis, fixtures and fix branch went into #3418, #1981 and #2033 with no co-author line. Now: a reporter's fork branch is merged with their commits as authored, anything else we use from them gets Co-authored-by, and a plain report is named in the body. Docs only; nothing reads this file's text. --- docs/contributors.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/contributors.md b/docs/contributors.md index 971b282af..f738171e2 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -1,4 +1,4 @@ -# Community PRs: what is closed unreviewed, and who is blocked +# Community PRs: what is closed unreviewed, who is credited, and who is blocked magpie merges community PRs through agents. Two things keep that from wearing the project down: a PR that could harm users is caught before any @@ -35,6 +35,22 @@ Close with a short reason, without running it, a PR that: the reason it was closed; - is one of several near-identical PRs opened seconds apart. +## Credit what a reporter gave + +PRs are open to collaborators only, so a reporter's fix often arrives in +an issue. Whoever uses it credits it in the commit: + +- A fix branch on the reporter's fork is merged with their commits as they + are, authored by them. The look-for-harm check above applies to it + first. What has to change goes in a commit of our own on top, and the + issue says what changed and why. +- A fix that uses the reporter's patch, test fixture, request body, error + text or root cause carries `Co-authored-by: ` for them. + Use their noreply address, `+@users.noreply.github.com` + (`gh api users/ --jq .id`), when no other address is known. +- A report that only says something is broken is named in the body + (`#, `), with no trailer. + ## Blocking an author An author is proposed for the block list when any one of these holds: