Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Makefile Targets

This document is generated by make m6e-generate-docs from the #@ help annotations and the projectfile tool manifest — hand edits are overwritten on the next regeneration.

Book

book-pdf

Print each built language book to dist/pdf/<name>-<lang>.pdf with headless Chrome

.makefile/container/scripts/book-pdf.sh dist/site dist/pdf ${identity.name}

Image: D9T_JS_TOOLS_IMAGE

book-stage

Stage one mdBook per language from the docs and the rendered page collections

pf-bridge book --output dist/book --rendered dist/pages

Image: PF_BRIDGE_IMAGE

mdbook-build

Build each staged language book into dist/site/<lang>/, the root sending to the default language

auto-book dist/book dist/site

Image: D9T_MDBOOK_IMAGE

Bootstrap

bootstrap

One-time project setup — submodules, custom bootstrap script, preflight probes

custom-bootstrap-script

Run .makefile/project/bootstrap.sh when the project ships one

ensure-ssh-agent

Ensure ssh-agent is running with keys loaded (no-op once per make tree)

m6e-cache-init

Create the host cache directories the projectfile declares as build mounts

preflight

Run every preflight probe — check the host has the tooling the project needs

preflight-b19

Verify buildah is installed (the b19 assembler drives it directly)

preflight-binfmt

Verify QEMU binfmt handlers are registered for cross-architecture builds

preflight-buildah

Verify buildah is installed

preflight-buildx-plugin

Verify the Docker Buildx plugin is installed

preflight-compose-plugin

Verify the Docker Compose plugin is installed

preflight-docker

Verify the container runtime CLI is installed

preflight-docker-version

Verify the container runtime version meets the minimum required

preflight-registries

Fail early when a registry variable is unset and still parked on the *.invalid sentinel

Build

build-push

Build the image and push it to the registry

build-push-with-b19

Build with the b19 direct-assembler and push to registry

Internal target

build-push-with-buildah

Build with buildah and push to registry

Internal target

build-push-with-buildx

Build with BuildX and push to registry

Internal target

build-with-b19

Build with the b19 direct-assembler (buildah, no Dockerfile)

Internal target

build-with-buildah

Build with buildah (Dockerfile-driven, daemonless)

Internal target

build-with-buildx

Build with BuildX using the shared BuildKit cache

Internal target

container-build

Build the container image with the configured backend

CI

act

Replay the generated GHA workflows locally via act (one goal: make act-<goal>)

ci-check

Verify the committed workflows match org.projectfile.ci — exits non-zero on drift

ci-dag

Run the projectfile’s CI DAG — its goals (or every sink), keeping going past failures

ci-generate

Regenerate committed GHA + Forgejo workflows from org.projectfile.ci

dive

Analyze Docker image layer efficiency with dive

install-hooks

Install the lefthook Git hooks from the committed config (dev machines only)

matrix-%

Run one target in every matrix cell, e.g. make matrix-container-build (no gates, no join)

matrix-sweep

Run the whole CI pipeline — one DAG pass without a matrix, or once per matrix cell then the join

Compose

dc-config

Print the fully resolved compose configuration

dc-diagnose

Post-mortem of every stack container — image, state, health, last logs

dc-down

Tear down the compose stack — stop and remove its containers and network

dc-down-v

Tear down the compose stack and delete its volumes

dc-logs

Show the compose services’ logs

dc-logs-f

Follow the compose services’ logs

dc-ps

List the compose stack’s containers

dc-pull

Pull fresh registry images for the stack — sidecars ride mutable tags compose will not re-pull

dc-restart

Restart the compose services

dc-start

Start the stopped compose services

dc-stop

Stop the running compose services

dc-top

Show the processes running inside the compose services

dc-up

Bring up the compose stack in the foreground

dc-up-d

Bring up the compose stack detached, dumping diagnostics on failure

w-dc-ps

Continuously refresh the compose service list (watch dc-ps)

Container

compose-config-check

Validate every compose file and the variables it references

.makefile/container/scripts/compose-config.sh

Image: host runner

compose-example-check

Validate the README’s example compose file

sh -c 'test ! -f .compose/example.yaml || docker compose --file .compose/example.yaml config --no-interpolate --quiet'

Image: DOCKER_CLI_IMAGE

configuration-capture

Table every environment variable the image sets into docs/configuration.d

.makefile/container/scripts/configuration-capture.sh --default-lang=${org.projectfile.i18n.default-language} ${org.projectfile.i18n.languages[]}

Image: host runner

configuration-names-check

Verify every environment table names the variables the Dockerfile sets, without the image

.makefile/container/scripts/configuration-capture.sh --names --default-lang=${org.projectfile.i18n.default-language} ${org.projectfile.i18n.languages[]}

Image: host runner

container-exec

Open a shell in the running Docker container

container-healthcheck

Run the healthcheck.d scripts inside the running container

container-inspect

Show the running container’s full metadata (Docker inspect)

container-lineage

Print the image lineage (ancestry) recorded in the running container

container-read-health

Print the running container’s current health status

container-read-only-probe

Restart the compose stack with the image on a read-only root and assert it turns healthy

container-report

Run report.d in the container and save its output to a report file

container-run

Run a fresh container from the built image (with mounted secrets) and shell into it

container-test

Run the test.d suite inside the running container

dockerfile-parse-buildah

Parse the Dockerfile with buildah, skipped when it is not installed

.makefile/container/scripts/dockerfile-parse.sh buildah

Image: host runner

dockerfile-parse-buildx

Parse the Dockerfile with docker buildx, skipped when it is not installed

.makefile/container/scripts/dockerfile-parse.sh docker

Image: host runner

hadolint

Lint the Dockerfile for best practices

hadolint Dockerfile

Image: HADOLINT_IMAGE

pages-capture

Capture each declared page collection catalog into docs/<name>.yaml

.makefile/container/scripts/pages-capture.sh --default-lang=${org.projectfile.i18n.default-language} ${org.projectfile.i18n.languages[]}

Image: host runner

pf-bridge-containerignore-check

Verify .containerignore still matches the projectfile

pf-bridge ignore .containerignore --check

Image: PF_BRIDGE_IMAGE

pf-bridge-containerignore-generate

Generate .containerignore from the projectfile

pf-bridge ignore .containerignore --force

Image: PF_BRIDGE_IMAGE

pf-bridge-dockerignore-check

Verify .dockerignore still matches the projectfile

pf-bridge ignore .dockerignore --check

Image: PF_BRIDGE_IMAGE

pf-bridge-dockerignore-generate

Generate .dockerignore from the projectfile

pf-bridge ignore .dockerignore --force

Image: PF_BRIDGE_IMAGE

usage-capture

Capture each declared –help into docs/usage.d

.makefile/container/scripts/usage-capture.sh --default-lang=${org.projectfile.i18n.default-language} ${org.projectfile.i18n.languages[]}

Image: host runner

Dependencies

apt-pin

Pin the built image’s apt package versions into common.apt.deps

check-outdated-apt

Report pinned apt versions that lag the image’s repositories (no writes)

Fetch

fetch

Download every pinned external dependency into the fetch cache

fetch-list

List the cached dependency downloads

fetch-wipe

Delete the fetch cache of pre-downloaded dependencies

Git

git-bug-clusters

Show files most touched by bugfix commits (defect clusters)

.makefile/core/scripts/git-maint.sh git-bug-clusters

Image: host runner

git-churn

Show the most changed files in the last year (churn hotspots)

.makefile/core/scripts/git-maint.sh git-churn

Image: host runner

git-clean-ignored

Delete ignored files and directories (Git clean -Xfd)

.makefile/core/scripts/git-maint.sh git-clean-ignored

Image: host runner

git-clean-untracked

Delete untracked files and directories (Git clean -fd)

.makefile/core/scripts/git-maint.sh git-clean-untracked

Image: host runner

git-contributors

Rank contributors all-time versus the last 6 months (bus factor)

.makefile/core/scripts/git-maint.sh git-contributors

Image: host runner

git-crisis

Show revert/hotfix/rollback commits from the last year (firefighting)

.makefile/core/scripts/git-maint.sh git-crisis

Image: host runner

git-disk-usage

Report repository disk usage

.makefile/core/scripts/git-maint.sh git-disk-usage

Image: host runner

git-fetch-prune

Fetch and prune deleted remote branches

.makefile/core/scripts/git-maint.sh git-fetch-prune

Image: host runner

git-fetch-prune-all

Fetch all remotes and prune

.makefile/core/scripts/git-maint.sh git-fetch-prune-all

Image: host runner

git-gc

Garbage-collect the repository

.makefile/core/scripts/git-maint.sh git-gc

Image: host runner

git-list-remotes

List configured remotes

.makefile/core/scripts/git-maint.sh git-list-remotes

Image: host runner

git-optimize

Run the full maintenance chain — gc, repack, pack-refs, reflog clean

.makefile/core/scripts/git-maint.sh git-optimize

Image: host runner

git-pack-refs

Pack loose refs into packed-refs

.makefile/core/scripts/git-maint.sh git-pack-refs

Image: host runner

git-prune-tags

Prune deleted remote tags locally

.makefile/core/scripts/git-maint.sh git-prune-tags

Image: host runner

git-pull-all

Pull all branches from every remote

.makefile/core/scripts/git-maint.sh git-pull-all

Image: host runner

git-push-all

Push all branches to every remote

.makefile/core/scripts/git-maint.sh git-push-all

Image: host runner

git-push-current

Push the current branch to every remote

.makefile/core/scripts/git-maint.sh git-push-current

Image: host runner

git-push-force-all

Force-push all branches to every remote — rewrites remote history

.makefile/core/scripts/git-maint.sh git-push-force-all

Image: host runner

git-rebuild-repo

Rewrite the object database via fast-export | fast-import

.makefile/core/scripts/git-maint.sh git-rebuild-repo

Image: host runner

git-reflog-clean

Expire and clean the reflog

.makefile/core/scripts/git-maint.sh git-reflog-clean

Image: host runner

git-remove-merged

Delete merged local branches

.makefile/core/scripts/git-maint.sh git-remove-merged

Image: host runner

git-repack

Repack objects into fewer packs

.makefile/core/scripts/git-maint.sh git-repack

Image: host runner

git-reset-current

Hard-reset the current branch to its upstream — discards local commits

.makefile/core/scripts/git-maint.sh git-reset-current

Image: host runner

git-sizer

Report Git repository size metrics and oversized objects

git-sizer

Image: D9T_GO_TOOLS_IMAGE

git-stats

Show commit count and the most active contributors

.makefile/core/scripts/git-maint.sh git-stats

Image: host runner

git-submodules-pull-all

Initialise and pull every Git submodule

git-velocity

Show commits per month across all history (project pulse)

.makefile/core/scripts/git-maint.sh git-velocity

Image: host runner

git-verify

Verify repository object integrity

.makefile/core/scripts/git-maint.sh git-verify

Image: host runner

git-worktree-check

Verify git resolves the work tree to this project directory

pf-bridge-gitattributes-check

Verify .gitattributes still matches the projectfile

pf-bridge gitattributes --check

Image: PF_BRIDGE_IMAGE

pf-bridge-gitattributes-generate

Generate .gitattributes from the projectfile

pf-bridge gitattributes --force

Image: PF_BRIDGE_IMAGE

pf-bridge-gitignore-check

Verify .gitignore still matches the projectfile

pf-bridge ignore .gitignore --check

Image: PF_BRIDGE_IMAGE

pf-bridge-gitignore-generate

Generate .gitignore from the projectfile

pf-bridge ignore .gitignore --force

Image: PF_BRIDGE_IMAGE

pf-scan-git

Import Git metadata into the projectfile

pf-bridge scan git

Image: PF_BRIDGE_IMAGE

Help

help

List every target by category — the terminal view of docs/how-to/MAKEFILE.md

m6e-commit-docs

Regenerate docs/how-to/MAKEFILE.md and commit the result

m6e-generate-docs

Regenerate docs/how-to/MAKEFILE.md from the #@ help annotations

I18n

i18n-check

Check translations for gaps

auto-i18n check

Image: D9T_MISC_TOOLS_IMAGE

i18n-extract

Extract translatable strings into the PO template

auto-i18n extract

Image: D9T_MISC_TOOLS_IMAGE

i18n-init

Create a new language (usage: make i18n-init M6E_I18N_LOCALE=uk)

auto-i18n init

Image: D9T_MISC_TOOLS_IMAGE

i18n-stats

Report translation coverage statistics

auto-i18n stats

Image: D9T_MISC_TOOLS_IMAGE

i18n-update

Merge new strings into existing translations

auto-i18n update

Image: D9T_MISC_TOOLS_IMAGE

Image

docker-push

Push the locally built image to the registry — the publish leaf of the CI DAG

image-history

Show the layer history of the built image

image-inspect

Show the built image’s full metadata (Docker image inspect)

image-list

List local Docker images matching this project

image-remove

Remove the locally built Docker image

image-warm

Pre-pull the base, tool and frontend images the projectfile names, so a later build runs offline

pages-check

Verify the committed page catalogs match the declared executable, else the built image, and every extras page names a catalog ID

usage-check

Verify the committed –help captures in docs/usage.d match the declared executable, else the built image

License

pf-bridge-license-check

Verify LICENSE still matches the projectfile

pf-bridge license --check

Image: PF_BRIDGE_IMAGE

pf-bridge-license-generate

Generate LICENSE from the projectfile

pf-bridge license --force

Image: PF_BRIDGE_IMAGE

reuse-annotate

Add missing licence headers to source files

reuse annotate

Image: D9T_PYTHON_TOOLS_IMAGE

reuse-download

Fetch the licence texts the project references

reuse download

Image: D9T_PYTHON_TOOLS_IMAGE

reuse-lint

Verify every file carries licence information (REUSE)

reuse lint

Image: D9T_PYTHON_TOOLS_IMAGE

reuse-spdx

Generate an SPDX bill of materials of the sources

reuse spdx

Image: D9T_PYTHON_TOOLS_IMAGE

Lint

auto-alex

Flag insensitive or inconsiderate wording

auto-alex

Image: D9T_JS_TOOLS_IMAGE

auto-checkov

Scan IaC for security misconfigurations

auto-checkov

Image: D9T_PYTHON_TOOLS_IMAGE

auto-html-validate

Validate HTML markup

auto-html-validate

Image: D9T_JS_TOOLS_IMAGE

auto-jsonlint

Lint JSON files

auto-jsonlint

Image: D9T_JS_TOOLS_IMAGE

auto-ls-lint

Enforce file and directory naming conventions

auto-ls-lint

Image: D9T_GO_TOOLS_IMAGE

auto-markdownlint

Lint Markdown structure and style

auto-markdownlint

Image: D9T_JS_TOOLS_IMAGE

auto-markdownlint-fix

Autofix markdownlint findings

auto-markdownlint --fix

Image: D9T_JS_TOOLS_IMAGE

auto-mdformat

Reformat Markdown files consistently

auto-mdformat

Image: D9T_PYTHON_TOOLS_IMAGE

auto-proselint

Flag common English prose style issues

auto-proselint

Image: D9T_PYTHON_TOOLS_IMAGE

auto-scc

Count lines of code and complexity

auto-scc

Image: D9T_GO_TOOLS_IMAGE

auto-shellcheck

Lint shell scripts for bugs and pitfalls

auto-shellcheck

Image: D9T_MISC_TOOLS_IMAGE

auto-textlint

Lint prose for style, grammar and correctness

auto-textlint

Image: D9T_JS_TOOLS_IMAGE

auto-textlint-fix

Autofix textlint findings

auto-textlint --fix

Image: D9T_JS_TOOLS_IMAGE

auto-yamllint

Lint YAML for syntax and style

auto-yamllint

Image: D9T_PYTHON_TOOLS_IMAGE

auto-zizmor-forgejo

Audit Forgejo Actions workflows for security issues

auto-zizmor --forge forgejo

Image: D9T_RUST_TOOLS_IMAGE

auto-zizmor-github

Audit GitHub Actions workflows for security issues

auto-zizmor --forge github

Image: D9T_RUST_TOOLS_IMAGE

buf-lint

Lint protobuf sources with buf

buf lint

Image: D9T_GO_TOOLS_IMAGE

commitlint

Lint the last commit message against the convention

commitlint --last

Image: D9T_JS_TOOLS_IMAGE

editorconfig-checker

Verify files comply with .editorconfig

editorconfig-checker

Image: D9T_GO_TOOLS_IMAGE

folderslint

Enforce folder naming conventions

folderslint

Image: D9T_JS_TOOLS_IMAGE

ignorelint-check

Check ignore files for issues

ignorelint

Image: IGNORELINT_IMAGE

ignorelint-fix

Autofix ignore-file issues

ignorelint --fix

Image: IGNORELINT_IMAGE

leasot

List todo and FIXME markers across the source

check-leasot

Image: D9T_JS_TOOLS_IMAGE

protolint

Lint protobuf sources with protolint

protolint lint .

Image: D9T_GO_TOOLS_IMAGE

shfmt

Format shell scripts with shfmt

shfmt --write .

Image: D9T_GO_TOOLS_IMAGE

spiderlint-%

Crawl and lint one site org.spiderlint.sites names, as spiderlint-SITE

vacuum

Lint the OpenAPI specification

vacuum lint openapi.yaml

Image: D9T_GO_TOOLS_IMAGE

yamlfmt

Format YAML files with yamlfmt

yamlfmt .

Image: D9T_GO_TOOLS_IMAGE

Maintenance

ci-cache-wipe

Purge this project’s m6e-run skip cache so every tool runs again

clean

Safe cleanup — stop every matrix variant’s stack; caches, reports, volumes and secrets stay

reports-wipe

Delete every report under the reports directory

wipe

Wipe — clean plus every destructive teardown the bolt-ons declare, reports last

Meta

m6e-commit

Commit bumped .makefile/ submodule pointers

m6e-update

Update the .makefile/ submodules, then regenerate docs/how-to/MAKEFILE.md

m6e-update-and-commit

Update and commit the .makefile/ submodules in one step

Internal target

Metadata

auto-cffr-validate

Validate CITATION.cff against the cffr schema

auto-cffr-validate

Image: D9T_R_TOOLS_IMAGE

Network

check-docker-network

Ensure the shared dev Docker network exists (no-op in the CI scenario)

remove-docker-network

Remove the Docker network

Node

auto-e18e-analyze

Analyze dependencies for ecosystem performance

auto-e18e-analyze

Image: D9T_JS_TOOLS_IMAGE

auto-e18e-migrate

Migrate to leaner dependency replacements

auto-e18e-migrate

Image: D9T_JS_TOOLS_IMAGE

auto-eslint

Lint JavaScript and TypeScript

auto-eslint --no-warn-ignored --max-warnings=${org.projectfile.eslint.max-warnings}

Image: D9T_JS_TOOLS_IMAGE

auto-eslint-fix

Autofix ESLint findings

auto-eslint --fix

Image: D9T_JS_TOOLS_IMAGE

auto-stylelint

Lint CSS and style sheets

auto-stylelint --allow-empty-input

Image: D9T_JS_TOOLS_IMAGE

auto-stylelint-fix

Autofix stylelint findings

auto-stylelint --fix

Image: D9T_JS_TOOLS_IMAGE

check-outdated-deps-npm

Check toolbox npm pins for upstream drift

.makefile/core/scripts/check-outdated.sh ' -> ' .makefile/core/scripts/check-outdated-deps.sh .container/*/deps/*.npm.deps

Image: NODE_TOOL_IMAGE

check-outdated-npm

Check for outdated npm dependencies

.makefile/core/scripts/check-outdated.sh "^Package +Current" npm outdated

Image: NODE_TOOL_IMAGE

cypress

Run end-to-end tests with Cypress

cypress run

Image: D9T_JS_TOOLS_IMAGE

depcheck

Find unused and missing npm dependencies

depcheck

Image: D9T_JS_TOOLS_IMAGE

howfat

Report the installed dependency weight of the project

howfat

Image: D9T_JS_TOOLS_IMAGE

jshint

Lint JavaScript with JSHint

jshint .

Image: D9T_JS_TOOLS_IMAGE

knip

Find unused files, dependencies and exports

knip

Image: D9T_JS_TOOLS_IMAGE

lesshint

Lint LESS files

lesshint .

Image: D9T_JS_TOOLS_IMAGE

lockfile-lint

Validate the npm lockfile for integrity and https resources

lockfile-lint --path package-lock.json --type npm --validate-https

Image: D9T_JS_TOOLS_IMAGE

npm-check

Report outdated and unused npm dependencies

npm-check

Image: D9T_JS_TOOLS_IMAGE

npm-format-check

Check the source is formatted by prettier

npm run format:check

Image: NODE_TOOL_IMAGE

npm-format-fix

Format the source with prettier

npm run format

Image: NODE_TOOL_IMAGE

npm-format-staged

Format the staged source with prettier

npx --no-install prettier --write --ignore-unknown

Image: NODE_TOOL_IMAGE

npm-install

Install node_modules from the lockfile for lint/analyze tools

npm ci

Image: NODE_TOOL_IMAGE

Link this checkout into ~/.local/bin, so bin entries run the working copy without sudo

sh -c 'NPM_CONFIG_PREFIX="$$HOME/.local" npm link'

Image: host runner

npm-lock-sync

Stamp the projectfile version into package-lock.json, offline

npm version ${identity.version} --no-git-tag-version --allow-same-version --ignore-scripts

Image: NODE_TOOL_IMAGE

npm-package-json-lint

Lint package.json files

npmPkgJsonLint .

Image: D9T_JS_TOOLS_IMAGE

npm-project-audit

Audit npm dependencies for vulnerabilities

auto-audit-ci

Image: D9T_JS_TOOLS_IMAGE

npm-test

Run the package.json test script

npm test --if-present

Image: NODE_TOOL_IMAGE

npm-typecheck

Run the package.json typecheck script

npm run typecheck --if-present

Image: NODE_TOOL_IMAGE

pf-bridge-audit-ci-check

Verify audit-ci.jsonc still matches the projectfile

pf-bridge vulnerabilities audit-ci.jsonc --check

Image: PF_BRIDGE_IMAGE

pf-bridge-audit-ci-generate

Generate audit-ci.jsonc from the projectfile

pf-bridge vulnerabilities audit-ci.jsonc --force

Image: PF_BRIDGE_IMAGE

pf-bridge-browserslistrc-check

Verify .browserslistrc still matches the projectfile

pf-bridge browserslist --check

Image: PF_BRIDGE_IMAGE

pf-bridge-browserslistrc-generate

Generate .browserslistrc from the projectfile

pf-bridge browserslist --force

Image: PF_BRIDGE_IMAGE

pf-bridge-npmignore-check

Verify .npmignore still matches the projectfile

pf-bridge ignore .npmignore --check

Image: PF_BRIDGE_IMAGE

pf-bridge-npmignore-generate

Generate .npmignore from the projectfile

pf-bridge ignore .npmignore --force

Image: PF_BRIDGE_IMAGE

pf-bridge-package-json-check

Verify package.json and the projectfile agree

pf-bridge npm --check

Image: PF_BRIDGE_IMAGE

pf-bridge-package-json-sync

Sync package.json with the projectfile

pf-bridge npm

Image: PF_BRIDGE_IMAGE

stryker

Run JavaScript mutation testing and enforce the minimum mutation score

auto-stryker

Image: D9T_JS_TOOLS_IMAGE

Projectfile

pf-bridge-ai-policy-md-check

Verify AI_POLICY.md still matches the projectfile

pf-bridge ai-policy --check

Image: PF_BRIDGE_IMAGE

pf-bridge-ai-policy-md-generate

Generate AI_POLICY.md from the projectfile

pf-bridge ai-policy --force

Image: PF_BRIDGE_IMAGE

pf-bridge-check

Verify every projectfile-derived file this project declares

pf-bridge check

Image: PF_BRIDGE_IMAGE

pf-bridge-citation-cff-check

Verify CITATION.cff and the projectfile agree

pf-bridge cff CITATION.cff --check

Image: PF_BRIDGE_IMAGE

pf-bridge-citation-cff-sync

Sync CITATION.cff with the projectfile

pf-bridge cff CITATION.cff

Image: PF_BRIDGE_IMAGE

pf-bridge-claudeignore-check

Verify .claudeignore still matches the projectfile

pf-bridge ignore .claudeignore --check

Image: PF_BRIDGE_IMAGE

pf-bridge-claudeignore-generate

Generate .claudeignore from the projectfile

pf-bridge ignore .claudeignore --force

Image: PF_BRIDGE_IMAGE

pf-bridge-code-of-conduct-md-check

Verify CODE_OF_CONDUCT.md still matches the projectfile

pf-bridge coc --check

Image: PF_BRIDGE_IMAGE

pf-bridge-code-of-conduct-md-generate

Generate CODE_OF_CONDUCT.md from the projectfile

pf-bridge coc --force

Image: PF_BRIDGE_IMAGE

pf-bridge-codeowners-check

Verify CODEOWNERS and the projectfile agree

pf-bridge codeowners --check

Image: PF_BRIDGE_IMAGE

pf-bridge-codeowners-sync

Sync CODEOWNERS with the projectfile

pf-bridge codeowners

Image: PF_BRIDGE_IMAGE

pf-bridge-contributing-md-check

Verify CONTRIBUTING.md still matches the projectfile

pf-bridge contributing --check

Image: PF_BRIDGE_IMAGE

pf-bridge-contributing-md-generate

Generate CONTRIBUTING.md from the projectfile

pf-bridge contributing --force

Image: PF_BRIDGE_IMAGE

pf-bridge-fragments-check

Verify FEATURES.md, ROADMAP.md and USAGE.md still match the docs/*.d fragments

pf-bridge fragments --check

Image: PF_BRIDGE_IMAGE

pf-bridge-fragments-generate

Assemble FEATURES.md, ROADMAP.md and USAGE.md from docs/*.d fragments

pf-bridge fragments --create-all

Image: PF_BRIDGE_IMAGE

pf-bridge-list

List available projectfile bridges

pf-bridge --list

Image: PF_BRIDGE_IMAGE

pf-bridge-readme-check

Verify the committed readme still matches the projectfile

pf-bridge readme --check

Image: PF_BRIDGE_IMAGE

pf-bridge-readme-generate

Generate README.md from the projectfile

pf-bridge readme --force

Image: PF_BRIDGE_IMAGE

pf-bridge-support-md-check

Verify SUPPORT.md still matches the projectfile

pf-bridge support --check

Image: PF_BRIDGE_IMAGE

pf-bridge-support-md-generate

Generate SUPPORT.md from the projectfile

pf-bridge support --force

Image: PF_BRIDGE_IMAGE

pf-forge-list

List forge metadata fields

pf-bridge forge list

Image: PF_BRIDGE_IMAGE

pf-forge-push

Push projectfile metadata to the forge

pf-bridge forge push

Image: PF_BRIDGE_IMAGE

pf-optimize

Optimize and rewrite the projectfile

pf-cli optimize

Image: PF_CLI_IMAGE

pf-optimize-sorted

Optimize the projectfile with sorted keys

pf-cli optimize --sorted

Image: PF_CLI_IMAGE

pf-scan

Scan the project and update the projectfile

pf-bridge scan all

Image: PF_BRIDGE_IMAGE

pf-scan-stacks

Detect the tech stack into the projectfile

pf-bridge scan stacks

Image: PF_BRIDGE_IMAGE

pf-validate

Validate the projectfile document

pf-cli validate

Image: PF_CLI_IMAGE

Publish

cosign-preflight

Prove the cosign signing key signs and verifies before anything is pushed

auto-cosign preflight

Image: D9T_GO_TOOLS_IMAGE

cosign-sbom-attest

Attest the SBOM to the published image with cosign

auto-cosign attest

Image: D9T_GO_TOOLS_IMAGE

cosign-sign

Sign the published image with cosign

auto-cosign sign

Image: D9T_GO_TOOLS_IMAGE

syft-sbom-image

Generate an SBOM of the live built image (syft)

auto-syft image $(M6E_IMAGE_FULLNAME)

Image: D9T_GO_TOOLS_IMAGE

Release

pre-release

Release the next candidate of the version the commits imply, X.Y.Z-rc.N

release

Stamp the version the commits imply into every derived file, commit and tag it signed, titled NOTE with NOTE_FILE as body — make --dry-run release prints the plan

release-major

Release the next major — the only way past 0.x

release-minor

Release the next minor, whatever the commits imply

release-notes

Print the notes of everything committed since the last final release, changing nothing

release-patch

Release the next patch, whatever the commits imply

svu-current

Show the version the latest Git tag carries

svu current --tag.mode=current --tag.prefix=${org.projectfile.release.tag-prefix}

Image: D9T_GO_TOOLS_IMAGE

svu-major

Show the next major version

svu major --tag.mode=current --tag.prefix=${org.projectfile.release.tag-prefix}

Image: D9T_GO_TOOLS_IMAGE

svu-minor

Show the next minor version

svu minor --tag.mode=current --tag.prefix=${org.projectfile.release.tag-prefix}

Image: D9T_GO_TOOLS_IMAGE

svu-next

Show the next version the commits since the last tag imply

svu next --v0 --tag.mode=current --tag.prefix=${org.projectfile.release.tag-prefix}

Image: D9T_GO_TOOLS_IMAGE

svu-patch

Show the next patch version

svu patch --tag.mode=current --tag.prefix=${org.projectfile.release.tag-prefix}

Image: D9T_GO_TOOLS_IMAGE

Secrets

check-secrets

Verify the legacy M6E_SECRETS list exists on disk, generating anything missing

generate-secrets

Generate every secret file declared in the legacy M6E_SECRETS list

secrets-provision

Materialise every secret declared in the projectfile into .secrets/

secrets-wipe

Remove the .secrets directory

Security

clamav-db-update

Refresh the shared ClamAV virus database

auto-clamav db-update

Image: D9T_MISC_TOOLS_IMAGE

clamav-scan-source

Scan project source for malware (clamav)

auto-clamav fs

Image: D9T_MISC_TOOLS_IMAGE

gitleaks

Scan Git history for leaked secrets

gitleaks detect --source . --redact --verbose

Image: D9T_GO_TOOLS_IMAGE

grype-db-update

Update the grype vulnerability database

grype db update

Image: D9T_GO_TOOLS_IMAGE

grype-scan-image

Scan the live built image for vulnerabilities (grype)

auto-grype image $(M6E_IMAGE_FULLNAME)

Image: D9T_GO_TOOLS_IMAGE

grype-scan-source

Scan project source for vulnerabilities (grype)

auto-grype

Image: D9T_GO_TOOLS_IMAGE

osv-scanner-db-update

Mirror the offline OSV databases for the fleet’s ecosystems

osv-db-mirror

Image: D9T_GO_TOOLS_IMAGE

osv-scanner-scan-source

Scan dependencies against the OSV database

auto-osv-scanner --offline-vulnerabilities

Image: D9T_GO_TOOLS_IMAGE

pf-bridge-grype-check

Verify .grype.yaml still matches the projectfile

pf-bridge vulnerabilities .grype.yaml --check

Image: PF_BRIDGE_IMAGE

pf-bridge-grype-generate

Generate .grype.yaml from the projectfile

pf-bridge vulnerabilities .grype.yaml --force

Image: PF_BRIDGE_IMAGE

pf-bridge-osv-check

Verify osv-scanner.toml still matches the projectfile

pf-bridge vulnerabilities osv-scanner.toml --check

Image: PF_BRIDGE_IMAGE

pf-bridge-osv-generate

Generate osv-scanner.toml from the projectfile

pf-bridge vulnerabilities osv-scanner.toml --force

Image: PF_BRIDGE_IMAGE

pf-bridge-security-md-check

Verify SECURITY.md still matches the projectfile

pf-bridge security --check

Image: PF_BRIDGE_IMAGE

pf-bridge-security-md-generate

Generate SECURITY.md from the projectfile

pf-bridge security --force

Image: PF_BRIDGE_IMAGE

pf-bridge-trivyignore-check

Verify .trivyignore still matches the projectfile

pf-bridge vulnerabilities .trivyignore --check

Image: PF_BRIDGE_IMAGE

pf-bridge-trivyignore-generate

Generate .trivyignore from the projectfile

pf-bridge vulnerabilities .trivyignore --force

Image: PF_BRIDGE_IMAGE

trivy-db-update

Update the trivy vulnerability database

auto-trivy db-update

Image: D9T_GO_TOOLS_IMAGE

trivy-scan-image

Scan the live built image for vulnerabilities (trivy)

auto-trivy image $(M6E_IMAGE_FULLNAME)

Image: D9T_GO_TOOLS_IMAGE

trivy-scan-source

Scan project source for vulnerabilities (trivy)

auto-trivy fs

Image: D9T_GO_TOOLS_IMAGE

Workflow

all

Default goal — runs M6E_ALL_GOAL (ci unless the project repoints it)

ci

Run the full CI pipeline locally — isolated ci- resources, matrix sweep, teardown on exit

Pipeline Targets

Generated from org.projectfile.ci.nodes — each is invocable as make <target>.

analyzed

Run the heavy analysis sweep (mutation testing, benchmarks)

Goal — lowered to its own CI workflow.

artifacts-are-ok

Verify every produced artifact — the image, the binaries, the site

audited

Re-scan the pinned dependencies and published artifacts for new vulnerabilities

Goal — lowered to its own CI workflow.

check-outdated

Report every pinned dependency that lags upstream

Goal — lowered to its own CI workflow.

databases-updated

Refresh the shared grype, trivy, osv and clamav databases

inputs-are-ok

Verify every build input — source, documentation and the projectfile

pre-commit

Run the commit gate — the fast syntax checks

pre-push

Run the push gate — every input check, including tests and the vulnerability scans

preflight-passed

Prove the run’s images, disk, keys and hosts are there before any build, test or scan starts

projectfile-is-ok

Verify every projectfile-derived file still matches the projectfile

projectfile-sync

Regenerate every projectfile-derived file

published

Build, test, scan and publish the release artifacts

Goal — lowered to its own CI workflow.

release-is-ready

Run the pseudo-CI pipeline locally — build, test and scan, without publishing

syntax-is-ok

Run the fast syntax checks — source lint, documentation lint and the projectfile projections