Skip to content

nuf set and nuf lab commands

Generated from nuf docs --json at nuf commit 2e6607e (2026-12-01). nuf is not released yet: this is its main branch.

nuf set new

Make a work set for an item: the worktrees of its repos, registered with the old tool where it registers them.

  • Act: writes records to the ledger.
  • Held (exit 3) while Policy is not adopted.
  • Takes --dry-run.
  • Takes --json.
nuf set new <app> --item <id> --owner <session> [--repos <a,b>] [--dry-run] [--json]
ArgumentMeaning
<app>An app of the data
FlagMeaning
--item <id> (required)The old tool's item id
--owner <session> (required)The session that owns the set
--repos <a,b>The repos, when not all the app's

--dry-run checks the names and the flags only: this act's own checks (git, the old tool, the process table) do not run, so the real run may still refuse.

Exit codes: 0 yes, 1 no, 2 cannot judge, 3 held, 64 usage, 70 bug.

Examples
nuf set new shop --item feat-fold --owner builder-7

nuf set rm

Remove a work set (refused while anything is uncommitted or not landed).

  • Act: writes records to the ledger.
  • Held (exit 3) while Policy is not adopted.
  • Takes --dry-run.
  • Takes --json.
nuf set rm <set> --by <session> [--discard] [--why <words>] [--dry-run] [--json]
ArgumentMeaning
<set>A work set id
FlagMeaning
--by <session> (required)Who is acting (attribution, not proof)
--discardRemove it although commits are neither landed nor dropped
--why <words>The reason (with --discard)

--dry-run checks the names and the flags only: this act's own checks (git, the old tool, the process table) do not run, so the real run may still refuse.

Exit codes: 0 yes, 1 no, 2 cannot judge, 3 held, 64 usage, 70 bug.

Examples
nuf set rm feat-fold --by builder-7

nuf set list

Every work set with its owner, age, last commit and lab.

  • Read: writes nothing to the record.
  • Takes --json.
nuf set list [--idle-min <N>] [--now <YYYY-MM-DDTHH:MM:SS>] [--json]
FlagMeaning
--idle-min <N>Flag a set idle after this many minutes
--now <YYYY-MM-DDTHH:MM:SS>Fix the clock for this call

Exit codes: 0 yes, 2 cannot judge, 64 usage, 70 bug.

nuf set show

One work set, with its jobs and the feedback and eyes marks recorded for its change.

  • Read: writes nothing to the record.
  • Takes --json.
nuf set show <set> [--now <YYYY-MM-DDTHH:MM:SS>] [--json]
ArgumentMeaning
<set>A work set id
FlagMeaning
--now <YYYY-MM-DDTHH:MM:SS>Fix the clock for this call

Exit codes: 0 yes, 2 cannot judge, 64 usage, 70 bug.

nuf lab start

Start a builder lab on a work set, on a port of the app's builder range.

  • Act: writes records to the ledger.
  • Held (exit 3) while Policy is not adopted.
  • Takes --dry-run.
  • Takes --json.
nuf lab start --set <id> --by <session> [--dry-run] [--json]
FlagMeaning
--set <id> (required)The work set
--by <session> (required)Who is acting (attribution, not proof)

--dry-run checks the names and the flags only: this act's own checks (git, the old tool, the process table) do not run, so the real run may still refuse.

Exit codes: 0 yes, 1 no, 2 cannot judge, 3 held, 64 usage, 70 bug.

Examples
nuf lab start --set feat-fold --by builder-7

nuf lab stop

Stop a work set's lab.

  • Act: writes records to the ledger.
  • Takes --dry-run.
  • Takes --json.
nuf lab stop --set <id> --by <session> [--why <words>] [--dry-run] [--json]
FlagMeaning
--set <id> (required)The work set
--by <session> (required)Who is acting (attribution, not proof)
--why <words>The reason

--dry-run checks the names and the flags only: this act's own checks (git, the old tool, the process table) do not run, so the real run may still refuse.

Exit codes: 0 yes, 1 no, 2 cannot judge, 64 usage, 70 bug.

Examples
nuf lab stop --set feat-fold --by builder-7

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.

  • Read: writes nothing to the record.
  • Takes --json.
nuf lab list [--json]

Exit codes: 0 yes, 2 cannot judge, 64 usage, 70 bug.

nuf lab strays

The listeners on builder ports that no lab-start act accounts for (the done-rule wants none in the week).

  • Read: writes nothing to the record.
  • Takes --json.
nuf lab strays [--json]

Exit codes: 0 yes, 2 cannot judge, 64 usage, 70 bug.

Examples
nuf lab strays