Contribution Workflow
Loong treats docs, tests, verification, and architecture boundaries as part of a complete contribution.Contribution Tracks
Loong publicly distinguishes two contribution tracks.| Track | Good fit | What changes usually fall here |
|---|---|---|
| Track A | routine and low-risk work | docs updates, tests, small refactors, contained bug fixes |
| Track B | higher-risk work | security-sensitive behavior, public contract changes, kernel or policy changes, architecture-impacting refactors |
Validation Bar
The public minimum validation bar is:Docs Change Loop
For reader-facing docs work undersite/, use the docs-specific validation loop
in addition to the normal repository bar that still applies to the branch.
node
from the shell path instead of reusing the outer npm exec runtime automatically.
GitHub Actions mirrors this same loop in the docs-site job, so docs pull
requests should be reproducible locally before review.
The CI export step is time-bounded because Mintlify can occasionally leave the
process alive after the static export artifact has already been written.
Standard Workflow
- Branch from
dev. - Keep commits focused on one task or one coherent slice of work.
- Run the relevant validation checks before opening a PR.
- Open the PR against
dev. - Address review feedback without letting the branch sprawl into unrelated work.
When To Start With An Issue First
Open an issue or discussion before deep implementation when:- the change affects kernel or policy behavior
- the change weakens or reshapes a public contract
- the change is large enough that scope alignment matters more than coding speed
- you are not sure whether the work belongs in Track A or Track B
What Maintainers Expect
- public architecture boundaries should be preserved rather than bypassed
- reader-facing docs should be updated when the public contract changes
- generated or agent-assisted code still needs human ownership and review
- smaller, reviewable diffs are preferred over opaque drops that no reviewer can defend
Issue Intake
| If you have… | Public path |
|---|---|
| a reproducible runtime or workflow defect | bug report issue |
| a new capability or meaningful behavior change | feature request issue |
| confusing public docs or onboarding drift | documentation improvement issue |
| setup questions or broader discussion | GitHub Discussions or community channels |
| a vulnerability | private security advisory flow |
Documentation Language Scope
- The repository keeps Simplified Chinese support only for
README.zh-CN.md. - The Mintlify site under
site/is the main English reader-facing docs surface. - Repository markdown under
docs/remains public as supporting reference and source-facing material. - If broader docs i18n is introduced later, it should happen at the docs-site layer instead of by expanding repository-wide markdown translation.
Deep References
- Contributing
- Docs Workflow
- Contribution Areas We Especially Welcome
- Maintainer-managed GitHub intake details, labels, and automation rules stay repository-native instead of being promoted as primary reader-facing docs.