On this page
Commit messages#
Format: Area(subject) - summary, then an optional body that says why: the current state, the constraint, the alternative you rejected. 156 of the last 200 non-merge commits follow it.
Admin(backup) - compact empty automation rows and dense scope picker on the org backup pageTest(partition) - ai-failover uses fake timers, so it runs isolatedDocs(page-by-page sweep) - every page under user-manual, product, guides ...
Area is the product area or package (Admin, Connectors, Data, Docs, Security, Scripts). The parenthesis holds the specific subject. Several areas in one commit are joined with +. Do not use feat(scope): or fix: prefixes. Reverts keep git's default Revert "..." form. Guard: review only; no hook checks the format.
Issue templates under .github/ISSUE_TEMPLATE/ use their own title prefixes (bug:, feat:). Those are issue titles, not commit messages.
Hooks are never bypassed#
Pre-commit formats staged files and runs security:scan; pre-push runs the fast gate (see README). --no-verify and HUSKY=0 are refused for agents by scripts/dev/agent-guard.py (§193) and are not accepted from people either. If a hook fails, fix the cause. Do not skip commit signing.
Branching: what is true#
The repository has two working modes.
| Who | Flow |
|---|---|
| Maintainers on the main working checkout | Commit directly to main; push after the pre-push hook passes. No long-lived branches. This is how almost all history was made: 2 of the last 300 commits are pull request merges. |
| Contributors from other teams | Branch from main, open a pull request with the template, wait for CI and the . reviewers, then merge. Pull requests #144 and #145 (November 2026) went this way. |
CI (.github/workflows/ci.yml) runs on pushes to main and on pull requests to main. Name a pull request with the commit format above, because that title becomes the commit message when it is squash-merged. Guard: review only.
Pull request contents#
One coherent change; tests at the right layer; evidence per Definition of done; the migration section filled in when packages/schema/sql/ changes. Mark unfinished items with the blocker, not as ticked.
Releases and deploys#
- Version: SemVer in the
VERSIONfile (0.3.2 at the time of writing). User-visible changes go under## UnreleasedinCHANGELOG.md, grouped as Added, Fixed, Security, Performance, Removed. - Pre-deploy gate:
docs/RELEASE-CHECKLIST.md. If a box cannot be ticked, do not ship. Production steps are in the go-live runbook,docs/runbooks/mso-cloud-go-live.md. - Deploy: the production host builds from its checked-out working tree with
scripts/start-prod.sh(add--with-cubewhen Cube changed). The script builds images, runs migrations and starts the stack, then warms and verifies the CDN cache; anyFAILline in its output is a defect to fix before calling the deploy done (§176). Commit before deploying so the build matches a commit. Only the owner listed in.github/CODEOWNERSchanges this script. - Tags: the repository has no deploy tags today.
git taglistsv0.3.0.0and one recovery tag; nodeploy/rNscheme exists in any script or document. Identify a deploy by its commit hash. - Rollback: the previous image must stay deployable and the checklist's rollback section filled in before release.
- Security reports: do not open a public issue; use the contact in
docs/SECURITY.md.