CLI reference
Ten commands, and it stays that way.
| Command | What it does |
|---|---|
laight init | Scaffold .laight/ in the current repo |
laight validate [workflow] | Schema and semantic checks (run also does this first) |
laight run <workflow> [k=v…] | Spin up the rig, start the engine, follow it live |
laight watch [run] | Live pipeline view; no run means every run, one line each |
laight show [run] [--export] | A local, read-only web view on 127.0.0.1 |
laight inbox [<item> [<answer>…]] | The human queue; one item in full, or answer it |
laight attach <run> [seat] | Jump into the run's tmux session, or one seat's window |
laight abort <run> | Stop a live run; on a finished one, remove its worktrees |
laight doctor | Check tmux, git, the runtimes, hooks, queue and channels |
laight done <exit> [k=v…] | For agents: finish the current step |
Every command with side effects outside the run asks first and lists what it will do; --yes
skips the question.
For agents
An agent only ever needs one command:
laight done <exit> [key=value…]
It reads the run and seat from its environment. If an agent stops without it, a hook reminds it
once; if it stops again, you get a stuck item in the inbox.