Reference
These pages hold the exact facts that the tutorials and feature pages summarize: every
sow.yml field and its default, every path SOW writes, every exit code and JSON field a
script can rely on, and what to do when a command fails. Come here when you need a
precise answer rather than an explanation. For a command’s flags and output, see
Commands or run sow help COMMAND.
- Configuration — Every
sow.ymlfield with its default and validation rule, including signing keys, password files, and publication targets. - Package references — How to name a stored package on the command line, and what to do when a reference is ambiguous.
- Repository layout — Where package files, indexes, and private state live, and which directory to serve.
- Exit codes — What each code means and how a script should react to it.
- JSON output — The
sow.cli/v1envelope and the result fields of every command. - Platforms and integrations — Supported systems, filesystems, packages, and clients, how they are tested, and the known gaps.
- Troubleshooting — Match an error, status, or client failure to its cause and fix.
Example conventions
Command blocks omit the shell prompt so you can copy them. In syntax descriptions,
uppercase words such as NAME and DIR are placeholders, square brackets mark optional
arguments, ... marks a repeatable argument, and | separates alternatives.
Paths, IDs, hashes, timestamps, and counts in sample output depend on the workspace. Treat operation and Generation IDs as strings; see JSON output.
Troubleshooting
Match an error message, status value, exit code, or client failure to its cause and the commands that fix it.
sow.yml Reference
Every sow.yml field with its default and validation rule, plus key references, the password-file contract, and publication targets.
Package References
Name a stored package by digest, coordinate, file name, or bare name, and resolve ambiguous or missing matches.
Repository Layout
Where package files, indexes, private state, and publication output live, and which of them to serve.
Exit Codes
What exit codes 0–6 and 130 mean, what to do next, and how to branch on them in scripts.
JSON Output
The sow.cli/v1 envelope, error classes, ID types, and the result fields of every command.
Platforms & Integrations
What SOW runs on, which packages and clients it supports, how that is tested, and what it does not support.