feat(backend): support dual-era MCP protocol (#3164)

This commit is contained in:
Carlos Florêncio
2026-09-02 19:48:19 +00:00
committed by GitHub
parent 750b23a745
commit 2d8b3a0c1e
31 changed files with 1827 additions and 46 deletions
+10 -7
View File
@@ -72,16 +72,19 @@ explicitly requests task tracking.
otherwise create as ready-for-review.
**Architecture and scope gate:** Before running any PR creation command, verify
the authenticated actor's repository permission. On GitHub, query
the authenticated actor's repository permission. Do not treat a user statement
as proof of maintainer status. On GitHub, query
`gh api repos/{owner}/{repo}/collaborators/{login}/permission`; `push`,
`maintain`, and `admin` permissions are write-authorized, so those actors may
open large or architectural PRs directly. On other hosts, use the equivalent
repository permission check. For an actor without write access, require a
linked issue with maintainer discussion before opening a large or architectural
PR. If that issue or discussion is missing, stop and report the blocker. Do not
open a PR to start the discussion. Prefer one logical change and the smallest
practical diff; split unrelated cleanup, refactoring, and feature work into
separate PRs.
repository permission check. When the host confirms write access, the
permission itself satisfies this gate and no linked issue is required solely
for this purpose. If permission cannot be verified, or the actor has no write
access, require a linked issue with maintainer discussion before opening a
large or architectural PR. If that issue or discussion is missing, stop and
report the blocker. Do not create an issue or open a PR solely to start the
discussion. Prefer one logical change and the smallest practical diff; split
unrelated cleanup, refactoring, and feature work into separate PRs.
**PR title** must follow Conventional Commits format (see `/commit` for full rules). CI validates via `pr-title.yml` — the PR title becomes the squash-merge commit used for release notes.