| 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 requests @hetaoBackend; the release coordinator assigns a repository collaborator other than the author |
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. Every PR that requires approval needs a reviewer other than the author, and security reports need a working private response path. Review maintainer additions and policy changes in a PR; do not silently grant repository access.
Published source covers the standalone CLI (interactive TUI, headless and ACP). The issue tracker also collects Desktop app feedback; accepting those reports does not expand the published source scope.
Everyone may report bugs, request features, ask questions, and flag documentation problems. Code and documentation PRs are accepted only from repository collaborators. Opening an issue or having a proposal accepted does not grant collaborator access or permission to submit a PR. Do not use good first issue or help wanted while external PRs are closed.
Use these labels independently:
| Category | Labels and meaning |
|---|---|
| Type | bug: reported malfunction; enhancement: requested improvement; documentation: missing or incorrect docs; question: usage or project-policy question |
| Product | desktop: Desktop app; cli: standalone mcode, including TUI, headless, ACP and its source builds/tooling |
| Triage | needs-triage: awaiting maintainer assessment; needs-info: a maintainer has asked the reporter for specific missing information |
needs-triage; reports created through other routes may need both added manually. A type label describes the report and does not confirm a defect or commit to implementation.desktop or cli from the report. Product dropdowns stay in the body; maintainers apply product labels manually. Use both only when the report establishes that both are affected. Leave product labels unset for unclear reports or repository-policy questions. The existing tui label may supplement cli for interactive-terminal-specific issues; it does not cover headless or ACP.needs-triage with needs-info, and retain any known type/product labels. When the reporter replies, remove needs-info and reassess. Do not automatically close issues for inactivity.needs-triage and record the next step in a comment. Assign a collaborator when someone takes responsibility; classification alone does not promise a fix or release date. For duplicates, link the original issue before closing with duplicate. For declined requests, explain the reason before closing with wontfix.Route security reports through Security. Do not ask for secrets or unredacted logs in public issues. Label setup is a separate repository operation: ensure the labels above exist before merging template changes, since forms cannot create missing labels. The Feishu workflow sends notifications only; it does not perform triage.
This small label set draws on the type and information-request handling in VS Code's triage guide and the needs-triage/needs-info states used by Ruff. Contribution eligibility follows this repository's policy.
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; committing this file does not activate it.
release_repo=MiniMax-AI/minimax-code
gh api "/repos/$release_repo/branches/main/protection"
gh api --method PUT "/repos/$release_repo/branches/main/protection" \
--input .github/branch-protection.json
gh 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 disabled while CODEOWNERS names only one reviewer; enable it when at least two active reviewers are listed. 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 repository PRs first. The assigned sync maintainer ports accepted shared changes into the internal source, preserving attribution and recording the PR reference internally. 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 scope, known limitations and the reviewer. Update source status, verification records, and both README entry points when their shared content changes. Publish source previews separately from npm and installer releases, following Releasing.
The release coordinator applies administrative settings only on the intended repository and reads back the result. Check current administrative readiness from the live repository before each release.