Healthy Software: A Standard Anyone Can Check

ForkTex Engineering · November 27, 2026 · 4 min

FSD, the ForkTex Standard of Delivery, is an open standard for how a software repository is set up, checked, built and shipped. A repository is the folder that holds a project's code, and fsd is the small tool that holds it to the standard.

A repository binds the standard's atoms, named outcomes such as "the tests pass", to its own commands in one file: fsd.toml. Running fsd then shows, track by track, which atoms hold and which are missing.

Why a standard

Every repository is set up, checked and shipped a little differently. One runs its tests with one command, another with three, a third not at all, and the difference shows only to someone who reads the scripts. A claim such as "we follow good practice" cannot be checked, so nobody checks it.

FSD makes the claim checkable. Every check is a command that must pass, so a repository carries its own evidence: the kind that quality and security reviews ask for.

One file

# fsd.toml
standard = "1.0"
profile  = "library"

[operation]
setup = "poetry install"

[assurance]
format = "ruff format --check ."
lint   = ["ruff check .", "lint-imports"]
test   = "pytest -q"

[security]
audit = "pip-audit"

[delivery]
build   = "python -m build"
publish = "twine upload dist/*"

[documentation]
manual = { file = ["README.md", "AGENTS.md"] }

Each line is a binding: the atom on the left, the command that proves it on the right. The standard names the outcome and the repository chooses the tool. A list of commands runs in order and stops at the first failure.

Five tracks

Atoms are grouped into five tracks, and each track is judged on its own, so strength on one never hides a gap on another.

TrackAtomsCovers
operationsetup, start, stop, status, cleanInstalling and running the software locally
assuranceformat, lint, validate, test, licenseThe code's own quality checks
securityauditKnown vulnerabilities in dependencies
deliverybuild, install, publish, deploy, rollbackTurning code into something people use
documentationmanualWhether a newcomer can start from the repository alone

Assurance, security and documentation check without changing anything. Together they are the gate: fsd assurance, fsd security and fsd documentation decide whether a change is ready. Operation and delivery act, so their atoms run only when called by name.

Profiles

Each repository declares its profile, which says how the software reaches its user:

  • a library is used as a dependency by other software;
  • an application is installed onto a machine;
  • a service is deployed and operated.

One compatibility matrix maps every atom to every profile as must (a gap fails the track), should (a gap is a warning) or na (it does not apply). A library is never asked how it deploys; a service always is.

Any language, any toolchain

The standard says what must be true, never which tool makes it so. This is an excerpt from the fsd.toml of an Expo and TypeScript app:

standard = "1.0"
profile = "application"

[assurance]
format = "pnpm exec prettier --check src app"
lint = "pnpm exec eslint . --max-warnings 0"
validate = "pnpm exec tsc --noEmit -p ."
test = "pnpm exec jest"

[security]
audit = "pnpm audit --audit-level=high"

[delivery]
build = "pnpm exec expo export --platform web"
publish = { na = "store submission is not configured yet" }

An atom that does not apply is declared na, with its reason in writing. fsd runs on Linux, macOS and Windows and brings its own Python, so the repository it checks need not be written in Python.

From a check to a report

fsd                # every atom, its binding, and compliance per track
fsd assurance      # one track that checks: its compliance, then every atom in it
fsd report         # everything routine, without stopping: fsd-report.json and .md

Bare fsd executes nothing, so it is safe on a repository you do not trust. fsd report runs every routine atom and keeps the evidence: test results, coverage and findings, read from standard formats (JUnit, Cobertura, SARIF).

In fact, the FSD project itself uses the fsd manifest to ensure its own compliance. Its latest report: 240 tests, 0 failed, 100.00% of lines covered.

What it does not do

FSD checks that a command passes. It does not judge whether the tests behind that command are good: a repository that binds test to a single trivial test is compliant. The standard makes the gap visible; closing it remains the team's work.

Custom atoms, such as a migrate step, run by name and are listed, but they never count toward compliance.

Try it

uv tool install forktex-fsd      # or: pipx install forktex-fsd

FSD is open source: on GitHub and on PyPI as forktex-fsd, under AGPL-3.0-or-later or a commercial licence. We hold our own repositories to it. Think of it as a doctor for your software: it says what is healthy and what is missing.