Pinned, checksum-locked developer tools, mise task archetypes for Go, Node, Python, Swift,
Terraform and OCI containers, and the house lint and license policy — mounted in every repo as a .mise/ submodule, with a
one-line Makefile on top.
git submodule add https://github.com/bitwise-media-group/toolchain.git .mise
mise trust --all
make pr
The repo pins its runtime and picks an archetype — every other tool, task and gate comes from
.mise/.
Pinned tools, shared tasks and house policy — mounted once, kept current by Renovate.
Every CLI is an exact pin in config.toml with per-platform sha256 (and provenance where
published) in mise.lock. No tools/go.mod, no linter
package.json.
common plus exactly one of go, node, python,
swift, terraform or containers — each with real fmt, lint, build,
test, ci and pr rollups.
include .mise/archetypes/go/include.mk forwards every target to
mise run, so make <task> and mise run <task> are
interchangeable.
SPDX headers via addlicense, prose via bun fmt + markdownlint, and workflows via actionlint +
zizmor — in every archetype, with house defaults read from .mise/.
Dockerfiles get hadolint + grype, helm charts and kustomizations get kubescape, scripts get shellcheck — each pass no-ops silently when a repo has none of the files.
Renovate bumps one pin here and re-locks; release-please cuts a tag; every consumer gets a submodule-bump PR. One commit updates the whole fleet.
Common first, then exactly one language archetype. They never stack.
CLI applications: golangci-lint, govulncheck, gotestsum, GoReleaser and a zensical docs site.
archetypes/go
node
Libraries and GitHub Actions on the package.json-script contract — npm, pnpm or bun.
archetypes/node
python
uv-native packages and Zensical docs sites: ruff, pytest, uv build.
archetypes/python
swift
SwiftPM packages and CLIs: swift format, swift test with coverage, GoReleaser.
archetypes/swift
terraform
Modules and environments: init, plan, apply, validate, tflint and terraform-docs.
archetypes/terraform
containers
OCI artifacts with patchy: mirror stores, images and Flux manifests — built, scanned, published, signed.
archetypes/containers
common only
Markdown and YAML repos with nothing to build or test: prose, license and workflow lint.
common
CI runs make lint, make build and make test —
whichever a repo defines.
$ make fmt# auto-fix code + prose, inject license headers
$ make lint# every check-mode pass — the CI gate
$ make test# unit tests with coverage → coverage/
$ make build# the binary, bundle, package or site
$ make ci# exactly what the reusable CI workflow runs
$ make pr# full local gate, then ./commit.sh if present
git submodule add https://github.com/bitwise-media-group/toolchain.git .mise
Pin the runtime and include common plus one archetype in the root
mise.toml; reduce the Makefile to one include.
mise trust --all && make help
Format, lint, test and build in one go — the full local gate before every pull request.
Daily workflowmake pr