Repository navigation
CONTRIBUTING: how outside pull requests are handled - #330
Merged
Merged
Conversation
Add the rules for fixes, features and ideas from outside, and what happens to an outside pull request after it is opened. Mirror them in the Chinese version.
A fix merges when CI is green and no review objection is open. Whoever merges a patch renumbers it from the series on main. Make the template, AGENTS.md, the Copilot instructions and patches/README.md say the same.
A plain review comment does not block. The maintainer who requested the changes clears their own objection. Andy decides only when the two maintainers disagree.
A feature from outside never merges by waiting. It needs a maintainer to agree to the idea, try the app and review the code. Remove the AI attribution rule from AGENTS.md and the Copilot instructions.
v0lumehi
force-pushed
the
v0lumehi/contributing-outside-prs
branch
from
October 31, 2026 16:19
3f850c0 to
b224be3
Compare
LNPANDY
approved these changes
Oct 31, 2026
LNPANDY
left a comment
Owner
There was a problem hiding this comment.
Matches what we agreed, including the issue-follows-not-leads flow for outside features and the renumber-at-merge rule. Two things for the follow-up PRs so they are not lost: (1) the maintainers' rules from today's #206 post-mortem — an admin merge never goes over red CI, and a slow re-review gets a ping instead of the override — belong in AGENTS.md; (2) the release-candidate section must carry the engine clause: the rc's signed latest.json names the engine_id the release carries, and the whole-app test verifies first start lands on exactly that tree.
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix or feature
What and why
The maintainers agreed on rules for pull requests from outside. They were not written down. This PR adds them to
CONTRIBUTING.mdandCONTRIBUTING.zh-CN.md.The rules cover three things. A fix is welcome without asking first. A feature PR needs an issue within 48 hours of the first maintainer reply and the agreement of one maintainer. An outside PR never merges automatically, and one maintainer tries the CI-built app and reviews the code. The PR also says what happens when we do not want a change and when a PR waits on its author for 30 days.
Two rules apply to every PR, ours and outside ones. Every fix goes through a PR and merges when CI is green. No approval is needed. Only an unanswered "changes requested" review from a maintainer blocks it. A plain review comment does not block. The maintainer who requested the changes reviews again after the fix is pushed and approves or withdraws. If the two maintainers disagree about an objection, Andy decides. A patch in
patches/takes the next free number frompatches/seriesonmain, and whoever merges renumbers it and notes it in the PR. The 48-hour rule for features applies only to the maintainers' own PRs. A feature or fix from outside never merges by waiting or before the maintainer check.The PR also removes the "no AI attribution" rule from
AGENTS.mdand.github/copilot-instructions.md. It is a personal rule of mine and not a project rule.The same rules are now in
.github/pull_request_template.md,AGENTS.md,.github/copilot-instructions.mdandpatches/README.md, so no file says something different.Checked
###sections sit inside "A pull request".#a-pull-requestanchor in the Chinese file point to existing targets.Screenshots
None, no visible change.
Scope
dm/,scripts/,docs/,ref/) is added to the repository