| Responsibility | Current routing | Responsibilities |
|---|---|---|
| Repository administration and release coordination | @hetaoBackend, release coordinator | Maintain access and branch protection, assign reviewers, coordinate release approval and publish only verified candidates |
| Code review | .github/CODEOWNERS routes to @hetaoBackend; an additional designated reviewer is PENDING |
Review correctness, tests, capability boundaries, licenses and public-source scope; authors do not approve their own PRs |
| Security triage | @hetaoBackend coordinates a private channel under Security | Receive reports privately, appoint a responder and coordinate fixes/disclosure; no response SLA is currently promised |
| Shared-source synchronization | The release coordinator assigns a maintainer to each sync PR | Preserve public adaptations, review conflicts and new files, and keep private history/review material out of public PRs |
These are repository maintenance responsibilities, not an assertion that an account owns the product's copyright. An additional designated reviewer, a second security responder and a public fallback security address are not yet confirmed by the maintainers. Maintainer additions and changes to this policy should be reviewed in a PR; do not silently grant repository access.
verification and source-history-artifact checks. Dismiss stale approvals when the reviewed code changes. A billing outage, cancellation or absent check is not a pass.When migrating older CI configurations, replace required individual OS/Node check names with the two aggregate contexts above before removing the old names. Documentation-only changes intentionally skip platform jobs, so those individual contexts must not be required. Read back both classic branch protection and effective rulesets; workflow changes do not update either setting.
CODEOWNERS requests reviewers; it does not enforce protection by itself. The intended administrative configuration is .github/branch-protection.json. Applying it requires repository administration access. Read back the live settings after applying and when setting up the eventual public repository; committing this file does not activate it.
release_repo=MiniMax-AI/minimax-code
gh-axi api "/repos/$release_repo/branches/main/protection"
gh-axi api PUT "/repos/$release_repo/branches/main/protection" \
--input .github/branch-protection.json
gh-axi api "/repos/$release_repo/branches/main/protection"
Inspect existing rules before applying: the PUT operation replaces classic branch protection. Preserve any stronger existing protections. This baseline requires the two GitHub Actions checks, one independent approval, resolved conversations and enforcement for administrators; force pushes and branch deletion remain disabled. Confirm that a reviewer other than the PR author has write access before enabling the rule. Required code-owner approval is currently disabled in this configuration because only the repository owner is designated in CODEOWNERS; enable it after a second code owner is confirmed. Independent PR approval remains required. Repository plan availability and token permissions must support the settings.
Contributors must have permission to submit their changes under the existing license applicable to each changed file/package. Preserve original authorship and notices, identify imported material and its provenance, and do not include credentials or third-party personal data. The PR template records this confirmation. This process introduces no separate CLA, DCO bot or copyright assignment. If a contribution needs different terms, resolve them before merging.
Accepted changes land through public PRs first. The assigned sync maintainer ports accepted shared changes into the internal source, preserving attribution and recording the public PR reference internally. Public PRs may record that porting is pending or complete; they must not expose private links, commit messages or review reports.
For the next sync, use the three-way process in Source synchronization. Confirm that the accepted public contribution remains present, inspect conflicts and deletions, and advance sourceRevision only after reviewing the complete candidate. Do not use a bulk overwrite or import internal Git history.
The release coordinator explicitly dispatches Node compatibility and Source candidate for the reviewed revision before a source release; normal PR/main checks do not produce a candidate. Changes to supported Node versions, native dependencies or compatibility-sensitive verification tooling need the compatibility run before merge, and candidate/export changes need a selected-branch candidate run once its manual entry is available.
The release coordinator records the selected source commit and archive receipt, current verification results, publication authorization, known limitations and the reviewer. Update preparation status, verification records, and both README entry points when their shared content changes. Publish source previews separately from npm/installer releases, following Releasing.
The release coordinator applies administrative settings only on the intended repository and reads back the result. Current administrative readiness must be checked live. The 2026-09-12 inspection found main unprotected; protection/ruleset reads returned 403 and private vulnerability reporting returned 404 through the available CLI. The browser session was not authenticated. These errors leave configuration incomplete, and do not establish that private reporting is enabled or usable.