Install the pinned tools once, then run the local qualification gates before opening a PR:
tools/dev/bootstrap-tools.sh
moon run dev-tools:doctor
moon run repo:js-format-check
moon run :check :compile :format-check :lint :tools-compile --affected
moon run :test :tools-unit --affectedThe runtime smoke starts embedded Postgres and is intentionally slower than unit tests.
The protected publish-dry-run operation is a release-candidate check: run it
from the GitHub Release workflow. It requires a successful, product-scoped
Qualified CI record for the exact release-bump commit; the workflow reuses an
eligible run or requests qualification when needed. The documented same-version control recovery
uses a separately qualified linear recovery head bound to that original
release-bump commit. It is not a routine source-PR check.
Install local hooks with:
bash tools/dev/install-hooks.shHooks stay deliberately smaller than CI: pre-commit handles file hygiene and
formatting, while commit-msg validates Conventional Commit messages. Run
moon run release-tools:metadata for a product metadata change. Release code
uses release-tools:test; workflow
and planner code uses ci-workflows:check. CI remains the source of truth for generated AOT runtime
matrices, packaging, Tauri, frontend, feature combinations, public API
compatibility, and supply-chain checks.
In GitHub branch protection, require the aggregate Required status before
merging; it already includes release intent, checks, tests, builds, and selected
E2E. Require linear history and squash merges, and keep force-push and deletion
disabled. Local hooks are convenience checks and can be skipped; CI is
authoritative.
Bundled runtime assets must stay aligned with product-local runtime metadata
under src/native/ and src/wasix/ and extension metadata under src/extensions/. If a
runtime or extension artifact target changes, update the owning product
metadata and run the affected Moon checks.
Releases are manual and must be dispatched from main through the GitHub
Actions Release workflow. Release Please manifest mode owns version bumps,
changelog updates, and the generated release PR. The protected publish workflow
owns exact-SHA product tags and draft GitHub releases. Product-local release
metadata owns publish targets and artifact shape; Moon dependency scopes
provide release coupling. See src/docs/maintainers/release.md for release intent,
trusted publishing, and workflow details.
A pure control-plane ci: change has no release-semantic owners, so preparing
a release after only that change creates no release PR and performs no registry
operation. A workflow or action change that alters compiler, SDK, build,
source-selection, target, or packaging behavior is product-semantic regardless
of its commit label and must advance the affected product versions.