Contributing to DOTS¶
No direct commits to master¶
All nontrivial changes use a feature/fix branch and a pull request.
git fetch origin
git switch master
git pull --ff-only origin master
git switch -c <type>/<description>
# implement + local validation
./scripts/ci/lint.sh
./scripts/ci/test.sh
# if docs / registries / mkdocs.yml / SKILL.md changed:
./scripts/docs/generate.sh
./scripts/docs/check.sh
git push -u origin <branch>
# open PR targeting master
# wait for GitHub Actions — fix on the SAME branch until green
# merge only after required checks pass
Recommended branch prefixes: feat/ fix/ refactor/ docs/ test/ chore/
Local validation vs GitHub CI¶
These are distinct:
| Phrase | Meaning |
|---|---|
| local validation passed | lint/tests ran successfully on a developer machine |
| GitHub CI passed | the Actions checks on the PR (or post-merge master) completed successfully |
Do not report "CI green" from local validation alone. Agents must inspect the actual PR check runs before claiming completion.
Pinned lint tools (see scripts/ci/tool-versions.env):
./scripts/ci/lint.sh bootstraps these into .tools/bin (SHA-256 verified).
Pull requests¶
- Target
master. - Prefer squash merge for agent/feature work; the PR title becomes the
durable
mastercommit subject (Conventional Commits, e.g.fix(ci): …). - Release tags must be annotated (
git tag -a vX.Y.Z). Do not move or force-update an existing release tag. Tag only after post-mergemasterCI and Docs workflows are green. The Release workflow prepares the runner withscripts/ci/prepare_runner.sh, then re-runs lint, tests, and docs check on the tagged commit before it publishes. - Intermediate branch commits need not remain in permanent history.
GitHub repository settings (manual)¶
Configure a master ruleset / branch protection (admin UI; not automated here):
Require a pull request before merging
Require status checks to pass before merging
Block force pushes
Block branch deletion
Require conversation resolution before merging
For this single-maintainer repository:
Suggested required checks (names from .github/workflows/ci.yml and
.github/workflows/docs.yml):
Ubuntu test
Distro smoke (Ubuntu 24.04)
Distro smoke (Debian 13)
Distro smoke (Arch)
Distro smoke (Manjaro)
Distro smoke (Fedora)
Distro smoke (Void)
ARM64 smoke (Debian 13)
macOS smoke
Docs build
Require Docs build before merging documentation / registry / mkdocs.yml
changes (recommended for all PRs).
Documentation site: https://sempervent.github.io/dots/
(GitHub Pages via Actions — not gh-pages branch / not mkdocs gh-deploy).
Safety notes¶
- Never weaken backup gates or dry-run brew-safety for convenience.
- Do not commit secrets, credentials, or unrelated local scratch files.