nuf command reference
Generated from nuf docs --json at nuf commit 2e6607e (2026-12-01). nuf is not released yet: this is its main branch.
Grammar
Every command is nuf <noun> <verb> [arguments] [flags], and a few are a single word. A noun alone lists:nuf job is nuf job list. Every command has one spelling and no aliases. Durations carry a unit, such as 10m. Most acts name who acts with --by <session>; each command's flags below say which.
Global flags
| Flag | Meaning |
|---|---|
--json | Standard output is exactly one JSON envelope (below). |
--help | The same as -h. |
-h | Help for the command or noun, with examples. |
--dry-run | On an act: says what it would write, and writes nothing. |
--folder | Names another nuf folder for this one call. Such a call is a test folder’s: it runs jobs only on the local machine and sends nothing out. |
Exit codes
| Code | Answer | Meaning |
|---|---|---|
0 | yes | the answer is yes: green, taken, recorded, rendered |
1 | no | the answer is no: red, or a definite refusal |
2 | cannot judge | cannot judge: did not run, timed out, the record or the data is unreadable. Any other code (a killed process, a shell timeout) is read as 2 |
3 | held | held: not done, or not ready, because of a hold that is open, or because Policy changed and is not adopted yet (then nothing was written). The output names the hold, or `policy change` |
64 | usage | usage: a malformed line, an unknown flag, a missing --by, or a name (job, set, workload, app, hold) that does not exist. Nothing of the act was written (the due work before an act may have written its own records: the envelope's `due`) |
70 | bug | a bug: an internal error; the message names the step |
Over several jobs in one call, the worst answer wins. A passthrough command (env run) ends with the exit code of the command it ran, whatever it is, and prints nothing of its own; only the tool's own failures before that command starts answer from this table (2, 64 or 70).
The JSON envelope
With --json, standard output is exactly one object with these fields (envelope version 1):command, exit, answer, result, why, acts, already, dry_run, hint, due. why is there exactly when the exit code is not 0. Read the exit code first, then answer and why.
Reasons
When the exit code is not 0, why.code is one of these.
| Code | Exit | Meaning |
|---|---|---|
usage | 64 | the line is malformed: a flag, a value or an argument is wrong or missing |
unknown-name | 64 | a well-formed line names a job, set, hold, workload, app or pool that does not exist |
removed-spelling | 64 | the spelling was removed; the hint is the new one |
check-red | 1 | a check ran and is red |
refused | 1 | the act was refused: a definite no |
did-not-run | 2 | the job did not run (its pool, its start, its arrival check or a stop) |
timed-out | 2 | the wait ended at its timeout; nothing was stopped |
cannot-judge | 2 | the record, the data or the machine could not be read or does not allow an answer |
not-built | 2 | the command is in the table and not built here yet |
dry-run | 2 | a dry run of a command whose answer needs the run (check): it lists what would be written, and a dry run is no answer |
held | 3 | a hold is open and blocks this command (`hold list` names it), or Policy is not adopted (the operator's `policy change` adopts it) |
bug | 70 | an internal error |
Removed spellings
A removed spelling answers 64, with the new one as its hint.
| Was | Now |
|---|---|
nuf job status | nuf job show |
nuf job progress | nuf job show |
nuf job hold-release | nuf hold lift |
nuf stop-all | nuf job stop-all |
nuf version | nuf --version |
nuf sets | nuf set list |
nuf jobs | nuf job list |
nuf job request --wait | nuf check |
Commands
nuf check and nuf wait
nuf check: ask for checks, wait for them and answer: 0 green, 1 red, 2 did not run, 3 heldnuf wait: wait until the jobs have a stored report; the exit is the notice (0 green, 1 red, 2 did not run, 3 held)
nuf job commands
nuf job request: ask for a job and move on: 0 means only that the request was taken (checkwaits)nuf job show: a job's state, step, time so far, usual time and failing step; a job nobody follows shows as orphanednuf job log: the latest log lines of a job; for a red, the failing step and its lognuf job list: every job with its state and pool, and the job labs the runs in flight keepnuf job stop: cancel one job (the requester for its own, the jobs desk for any)nuf job restart: a fresh run of the same set, superseding the last (exit 3 while a hold is open)nuf job stop-all: the jobs desk's: stop every running job and open a hold; the jobs go back in the queuenuf job release-all: the jobs desk's: free everything the tool started, tagged by job; then nothing it made is left running
nuf hold commands
nuf hold list: the holds that are open: who set each, why and since whennuf hold lift: lift a hold: the requests that waited start, in the order they were made
nuf set and nuf lab commands
nuf set new: make a work set for an item: the worktrees of its repos, registered with the old tool where it registers themnuf set rm: remove a work set (refused while anything is uncommitted or not landed)nuf set list: every work set with its owner, age, last commit and labnuf set show: one work set, with its jobs and the feedback and eyes marks recorded for its changenuf lab start: start a builder lab on a work set, on a port of the app's builder rangenuf lab stop: stop a work set's labnuf lab list: the builder labs that are up, each with its address, state (up, or gone: nothing left of its process group) and the uncommitted files it saw, and the job labs of the runs in flightnuf lab strays: the listeners on builder ports that no lab-start act accounts for (the done-rule wants none in the week)
nuf workload and nuf pool commands
nuf workload coverage: per app: the check names its classes need (the old tool's guard), which its workloads cover, and whether it can join the switchnuf workload list: every workload the data declares: its app, what it covers, whether it starts a lab, its limitnuf pool list: the pools of the policy (runner labels inside Actions; the local machine is a place, not a pool), with what runs on each and its usual minutes; the providers with their money and whether they are onnuf pool show: one pool and its provider, with what runs there, the usual minutes and the money
nuf policy and nuf spend commands
nuf policy: Policy as the folder holds it: the board's numbers, the providers and pools with their caps, the guard classes, its hash (of the parsed data, so a comment does not change it), and whether that Policy is adopted (if not, every act but the stops is held)nuf policy change: adopt Policy as config/policy.yaml holds it now, by its hash, so held acts run again; it edits no file (the form that edits Policy comes with the policy guard)nuf spend: money per provider against its caps, today and this month: spent, reserved, a forecast from usual minutes, the warnings (each crossing once, from the ledger's history) and the switch-off
nuf init, nuf where and nuf env
nuf init: make the tool's folder in <dir> (or the current folder), which becomes the project folder: the launcher, the settings from the made-up example with only the local machine enabled in Policy, and that Policy adopted; it refuses the home folder (or a folder above it), a folder inside a Git work tree and a folder that has config/ already, and it needs no folder of its ownnuf where: where the tool is working: the project folder, the tool's folder, its config, local and state folders, the platform, the settings files in use, the version andcommand(the launcher's path, what hosts call); it answers in a refused folder too, with what it found and the refusal (2), and warns when NUF_DATA is set, which nothing readsnuf env: the job environment: each name a job's steps (and env run) get from the folder's env files, with its layer (config/env.yaml, its platform section, config/local/env.yaml); a value only from a shared file, never a local onenuf env run: run one command in this folder with the job environment on top of this shell's; it ends with the command's own exit code (the one exception to the exit table). A read: it writes nothing to the record and is never held
nuf feedback and nuf eyes commands
nuf feedback record: record what the operator said about a change, verbatim (a hub records it; never the change's own session)nuf feedback list: each change as ok by you or not looked at, open requests, changes that need eyes, today's oks, feedback after landingnuf eyes mark: ask for the operator's eyes on a change, on its headsnuf eyes list: the eyes marks recorded, and the changes that need the operator's eyes by group (a rule matched or marked, the tool cannot tell)
nuf summary and report commands
nuf bridge list: the old history's item-guards of the last N days, of the apps that have joined: each bridged (it joins a bridge-guard act) or typed by hand (a typed compare guard apart), with the run of clean days and the days with no lab samplenuf bridge week: the done-rule's week in one read: typed check records, the labs with no lab-start act that the ticks sampled (and now), and the reuse share of the periodnuf summary: the operator's summary, also what the bare command prints: jobs running and queued, holds open, needs-your-eyes counts by group, today's spend, unrecorded shadow movement, anything listednuf shadow: the landing tree in shadow beside the old tool: steps, differences, what cannot be comparednuf metrics: how jobs went over the last days: stage times per workload and pool, the share answered by reuse (by requests and minutes, whole-set and folder keys), the did-not-run rate and each did-not-run's cause, the local machine's loadnuf board: the old tool's board, read from its history (stage A: its own text and --json, kept byte for byte)nuf tick: the due work every act runs first, on its own: checks the ledger's sums, takes the shadow's steps, counts the labs with no lab-start, follows every job; at most one record a minute
nuf --version, nuf docs and completion
nuf --version: the version: the tag and the commitnuf docs: describe every command: class, flags, exit codes and result schema (--json), or the reference as textnuf completion: the shell completion script, generated from this table