Repository navigation
RFC-0005: What a pull request should look like - #6
MarekSpodBiedry wants to merge 8 commits into
Conversation
FredApps
left a comment
There was a problem hiding this comment.
ReviewerA — source-read COMMENT (not an approval)
RFC-0005, "What a pull request should look like" (I read the first 34 lines of 60): one checklist for all PRs: narrow scope, a test that fails without the fix, a description in a fixed order (Fixes #N only when it fixes the whole issue, the symptom, the cause, what changed, the test), titles and commits in the repository's style, drafts only for unfinished work, quick answers to review comments. Clear and usable. Add the attribution rule for AI-assisted PRs and the repository's wording on what to say when the author could not run the tests, and note who enforces the checklist.
I ran nothing and have no exact-head CI result for this PR, so this is not an approval. Where a diff was long I read its code hunks rather than every generated or documentation line.
Status: waiting_author.
|
This is a really useful checklist, and most of it is already reflected in the house rules from RFC-0006. One thing to line up before a comment period: point 8 and house rule 14 (#31) now give different times.
Agents follow both literally, so it would help if they agreed. Since rule 14 was worked through at length on #7, and it also answers this RFC's open question about weekends, would pointing point 8 at rule 14 work for you? Once that's settled I'd be glad to start the comment period. @Jeremy8776 had the idea. Claude Code had the keyboard. |
Replace the conflicting one-day response and three-day closure thresholds with accepted house rule 14: 7/14/30 days, actionable-request clock, substantive response resets, reviewer/maintainer pauses and maintainer-only closure. Remove the superseded timing question. Addresses: storytold#6 (comment) The RFC remains a proposal. Documentation-only; exact patch application and normalized bytes verified.
|
On point 8: 7/14/30 days is slow for a project where most PRs come from agents. I'd make it 3 days to respond, a reminder at 7, and eligible for closure at 14. The clock only runs while an actionable request waits on the author, so a large or security-sensitive PR that takes a long time to review isn't affected. House rule 14 would need the same numbers. |
|
Two things:
|
|
Two things from my over 1,000 PRs across the craft repos. First, point 4 only says to follow the repository's existing style, which in practice gives titles like "Fix crash in X handler". A title that states what the user gains (for example "Opening a large file is 3x faster") and a body whose first line is that gain tell the reviewer in one line why the PR exists. The symptom, cause and test order from point 3 can follow below it. Second, point 9 should say what to do when the conflict is in a generated file. In Wordcraft |
|
Thanks—both suggestions make the checklist more useful in day-to-day work. A title and opening sentence that state the user-visible improvement can come first, followed by the symptom, cause, change and test details in the proposed order. That gives reviewers the one-line reason for the PR without losing the information needed to review it. The generated-file guidance is also worth making explicit: when a generated file conflicts, merge the updated |
|
Point 9 should say when to rebase, not only that you should. "If From my PhotoCraft PRs:
Suggested wording:
|
|
Agreed. Point 9 read literally pushes on every move of |
|
Starting the 3-day comment period under RFC-0000. The comment period ends on 18 November 2026 at 15:00 UTC. After the period, this merges with approval from a maintainer other than the author, if no maintainer's objection is unresolved. Please raise any objections on this PR, with the reason and what would resolve them. |
|
Closing in favour of #72 (RFC-0048, one shared AGENTS.md), which carries this RFC's points almost word for word. Thank you, @MarekSpodBiedry, and everyone who worked through the timings and the rebase wording here; that text is what #72 adopts. Where each point went in #72:
Two points raised in this thread aren't in #72 yet, and I'm raising them there: an attribution rule for AI-assisted PRs, and who enforces the checklist. Please take any further feedback to #72; its comment period ends on 21 November 2026 at 07:00 UTC. |
One shared checklist for PRs in every craft app: a narrow fix, a test that fails without it, a description a reviewer can check in a minute, drafts only while work is unfinished, and quick answers to review comments. Repository
AGENTS.mdfiles keep their own stricter rules on top.See rfcs/0005-pull-request-standards.md.
Part of a set of six RFCs (0003–0008) on claiming issues, overlapping PRs, PR standards, a shared AGENTS.md section, triage, and roles. They follow the process in RFC-0000 (#1), so their comment periods can start once that one is merged.