Skip to content

CONTRIBUTING: how outside pull requests are handled - #330

Merged
v0lumehi merged 4 commits into
mainfrom
v0lumehi/contributing-outside-prs
Oct 31, 2026
Merged

v0lumehi merged 4 commits into
mainfrom
v0lumehi/contributing-outside-prs

Conversation

@v0lumehi

@v0lumehi v0lumehi commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Fix or feature

  • Fix
  • 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.md and CONTRIBUTING.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 from patches/series on main, 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.md and .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.md and patches/README.md, so no file says something different.

Checked

  • Tests: None, documentation only.
  • Visual QA: Read the Markdown of both files. The new ### sections sit inside "A pull request".
  • Run on a device or Mac: Not applicable.
  • Links: The Discussions link and the #a-pull-request anchor in the Chinese file point to existing targets.

Screenshots

None, no visible change.

Scope

  • No engine file (dm/, scripts/, docs/, ref/) is added to the repository
  • No keys, game files or data extracted from a game in the change or the attachments

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.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 31, 2026
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.
@github-actions github-actions Bot added patch-queue Changes the patch queue or the upstream pin ci Workflows and repository tooling labels Oct 31, 2026
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
v0lumehi force-pushed the v0lumehi/contributing-outside-prs branch from 3f850c0 to b224be3 Compare October 31, 2026 16:19

@LNPANDY LNPANDY left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@v0lumehi
v0lumehi merged commit 8837f19 into main Oct 31, 2026
12 checks passed
@v0lumehi
v0lumehi deleted the v0lumehi/contributing-outside-prs branch November 1, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Workflows and repository tooling documentation Improvements or additions to documentation patch-queue Changes the patch queue or the upstream pin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants