Objective
Document required branch protections and ship a preflight script that mirrors merge gates locally.
Target area
scripts/, CONTRIBUTING
Context
Contributors should know that PRs merge only with passing CI and no conflicts.
Requirements
- Document required status checks and conflict-free requirement
- Provide
scripts/preflight-pr.sh running fmt/clippy/tests subset
- Link from CONTRIBUTING PR guidelines
Acceptance criteria
Pull request merge requirements
Pull requests that resolve this issue must not be merged until all of the following are true:
- All required CI checks are green on the latest commit of the PR (build, tests, lint/format, and any workflow jobs required by branch protection).
- The branch has no merge conflicts with the target branch (
master / default), and a clean merge or rebase is possible without unresolved conflicts.
- Review feedback is addressed, and the change remains focused on this issue’s acceptance criteria.
Contributors should run the local CI-equivalent checks before opening or updating the PR (see CI_ENFORCEMENT.md and CONTRIBUTING.md).
Objective
Document required branch protections and ship a preflight script that mirrors merge gates locally.
Target area
scripts/, CONTRIBUTINGContext
Contributors should know that PRs merge only with passing CI and no conflicts.
Requirements
scripts/preflight-pr.shrunning fmt/clippy/tests subsetAcceptance criteria
Pull request merge requirements
Pull requests that resolve this issue must not be merged until all of the following are true:
master/ default), and a clean merge or rebase is possible without unresolved conflicts.Contributors should run the local CI-equivalent checks before opening or updating the PR (see
CI_ENFORCEMENT.mdandCONTRIBUTING.md).