Local CI feedback loop¶
DOTS catches cheap, deterministic failures before git push. GitHub Actions
still owns final multi-platform / integration validation (Phase 11 and ongoing).
Quick start¶
# Requires package group `dev` (work/home profiles include it):
./setup.sh --profile work
# or: ./setup.sh --packages core,modern,dev
./dots check fast # cheap deterministic validators
./dots check workflows # actionlint + zizmor
./dots check docs # markdownlint + cspell + Vale + lychee + diagrams
./dots check docs --offline
./dots check docs status # publishing toolchain inventory
./dots check all-local # fast + full links + pre-commit
./dots check act list # list jobs act can see (needs container runtime)
./dots check release-notes # git-cliff preview to stdout (never writes CHANGELOG)
Validation is read-only: it never installs packages, never rewrites profiles, never starts Docker Desktop / OrbStack, never downloads browsers during docs checks, and never publishes documentation.
What fast runs¶
| Check | Tool | Notes |
|---|---|---|
| Workflow syntax | actionlint |
All .github/workflows/* |
| Workflow security | zizmor |
Offline; informational findings do not fail |
| Dockerfiles | hadolint |
Skips cleanly when none exist |
| Markdown | markdownlint-cli2 |
Project config: .markdownlint-cli2.jsonc |
| Spelling | cspell |
Dictionary: cspell.json |
| Shell subset | shellcheck + shfmt |
New CI surface + existing lint script |
| Internal links | lychee --exclude '^https?://' |
No public internet required |
What remains GitHub-only¶
- Full distro / OS matrices
- macOS runners and privileged jobs
- Paid external services
- Final release convergence
act can reproduce some Linux-compatible jobs locally. It is not a
complete substitute for GitHub-hosted runners.
Workflow audit¶
actionlint— syntax, expressions, workflow semanticszizmor— dangerous CI patterns (unpinned Actions, broad permissions, …)
Policy config: .github/zizmor.yml. Prefer fixing workflows over broad ignores.
Documentation validation¶
./dots check docs --offline # internal references + Vale + local diagrams
./dots check docs # includes external HTTP (transient 429 accepted)
./dots check docs status # Graphviz / Pandoc / Vale / Mermaid / Typst inventory
./dots check docs render # non-mutating previews (temp / explicit --output)
Configs: .markdownlint-cli2.jsonc, cspell.json, .lychee.toml, .vale.ini.
check fast keeps markdownlint + cspell + offline lychee only (no Vale/diagrams).
Full publishing toolchain docs: docs/using/docs-tooling.md. Requires package
groups dev + docs.
Dockerfiles and pre-commit¶
hadolintruns whenever Dockerfiles are discovered under the repo (Dockerfile,Dockerfile.*,*.Dockerfile), excluding vendor/generated trees.- Full
pre-commit run --all-filesis part ofall-local(notfast). - DOTS does not auto-install git hooks. To enable hooks explicitly:
Release-note preview¶
Uses cliff.toml and prints notes since the previous v* tag. It never
overwrites CHANGELOG.md.
act (already installed via dev)¶
Requirements:
acton PATH (package groupdev)- A container runtime already running (
dockerorpodman)
DOTS never forwards host secrets into act and never auto-starts a container GUI.
Missing tools¶
If validators are not installed:
Package ownership¶
All Phase 1 validators live in package group dev (one authoritative owner).
There is no separate ci group.