Skip to content

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

FlagMeaning
--jsonStandard output is exactly one JSON envelope (below).
--helpThe same as -h.
-hHelp for the command or noun, with examples.
--dry-runOn an act: says what it would write, and writes nothing.
--folderNames 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

CodeAnswerMeaning
0yesthe answer is yes: green, taken, recorded, rendered
1nothe answer is no: red, or a definite refusal
2cannot judgecannot 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
3heldheld: 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`
64usageusage: 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`)
70buga 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.

CodeExitMeaning
usage64the line is malformed: a flag, a value or an argument is wrong or missing
unknown-name64a well-formed line names a job, set, hold, workload, app or pool that does not exist
removed-spelling64the spelling was removed; the hint is the new one
check-red1a check ran and is red
refused1the act was refused: a definite no
did-not-run2the job did not run (its pool, its start, its arrival check or a stop)
timed-out2the wait ended at its timeout; nothing was stopped
cannot-judge2the record, the data or the machine could not be read or does not allow an answer
not-built2the command is in the table and not built here yet
dry-run2a dry run of a command whose answer needs the run (check): it lists what would be written, and a dry run is no answer
held3a hold is open and blocks this command (`hold list` names it), or Policy is not adopted (the operator's `policy change` adopts it)
bug70an internal error

Removed spellings

A removed spelling answers 64, with the new one as its hint.

WasNow
nuf job statusnuf job show
nuf job progressnuf job show
nuf job hold-releasenuf hold lift
nuf stop-allnuf job stop-all
nuf versionnuf --version
nuf setsnuf set list
nuf jobsnuf job list
nuf job request --waitnuf 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 held
  • nuf 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 (check waits)
  • nuf job show: a job's state, step, time so far, usual time and failing step; a job nobody follows shows as orphaned
  • nuf job log: the latest log lines of a job; for a red, the failing step and its log
  • nuf job list: every job with its state and pool, and the job labs the runs in flight keep
  • nuf 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 queue
  • nuf 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 when
  • nuf 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 them
  • nuf 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 lab
  • nuf set show: one work set, with its jobs and the feedback and eyes marks recorded for its change
  • nuf lab start: start a builder lab on a work set, on a port of the app's builder range
  • nuf lab stop: stop a work set's lab
  • nuf 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 flight
  • nuf 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 switch
  • nuf workload list: every workload the data declares: its app, what it covers, whether it starts a lab, its limit
  • nuf 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 on
  • nuf 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 own
  • nuf 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 and command (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 reads
  • nuf 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 one
  • nuf 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 landing
  • nuf eyes mark: ask for the operator's eyes on a change, on its heads
  • nuf 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 sample
  • nuf 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 period
  • nuf 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 listed
  • nuf shadow: the landing tree in shadow beside the old tool: steps, differences, what cannot be compared
  • nuf 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 load
  • nuf 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 commit
  • nuf docs: describe every command: class, flags, exit codes and result schema (--json), or the reference as text
  • nuf completion: the shell completion script, generated from this table