Skip to content

Commit 0a861a9

Browse files
authored
Merge pull request #5140 from modelcontextprotocol/v2/chore/5121-protect-v2-main
docs: record the v2/main ruleset (PRs only, no force-push or deletion)
2 parents 6d613ec + dedd411 commit 0a861a9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,15 @@ Cut feature branches from **`origin/v2/main`**. **Never open a PR against
274274
`main`**, with one exception: a milestone's merge PR, which the `release`
275275
skill opens. There is no `v1` line in this repository.
276276

277+
**`v2/main` changes only through a merged PR.** Its ruleset, `v2/main: PRs
278+
only`, refuses deletion, force-pushes and direct pushes, and has no bypass
279+
actors. It requires no approvals, so a maintainer can merge their own PR. No
280+
automation pushes to `v2/main`: the Version Packages and Prepare Python
281+
Release workflows push branches of their own and open PRs. A workflow that
282+
needs to push to `v2/main` directly is a change to this rule and its ruleset,
283+
decided first. The `main` guard (**Source is v2/main**) trusts `v2/main`'s
284+
history, so this ruleset is what makes that trust hold.
285+
277286
- **Repo**: https://github.com/modelcontextprotocol/servers
278287
- **Project board**: [Servers V2 (#43)](https://github.com/orgs/modelcontextprotocol/projects/43)
279288

0 commit comments

Comments
 (0)