Docs · CLI reference
CLI reference
The tempergraph command drives everything the engine does: it starts and answers runs, reads their state, authors and upgrades workflows, and improves them over time. In Claude Code you rarely type it yourself, because the run skill and the others call it for you; this reference is for driving runs yourself and for scripts.
tempergraph --help prints the same list of verbs, and tempergraph <verb> --help the options of one verb. tempergraph help --json prints the whole tree as one JSON document.
Conventions#
- A thread is named
<workflow>/<task id>(for exampledoc-refresh/t1) or by its alias. A bare task id is refused with the threads it could mean. --jsongives machine-readable output, for scripts and agents.--state-root <dir>, given before the verb, names where runs keep their state. Without it, the state goes to.tempergraph/in the folder you start in, or the nearest one above it.
Exit codes#
| Exit | Meaning | What to do |
|---|---|---|
| 0 | Finished; every step passed its gate | Read the outcome verdict, cost and branch |
| 2 | Refused; nothing ran or was spent | Follow the message; run --check shows the same refusal |
| 3 | Paused for a person | Decide, then resume |
| 4 | Stopped or drained | Resume with the command the message gives |
| 5 | Retries spent, timeout, loop budget or infrastructure failure | Not a success. Read the logs, then rerun or fix the workflow |
| 127 | Engine not installed | See Getting started |
Operate runs#
run | resolve, preflight and start a workflow |
resume | resume a paused, stopped or unfinished thread |
attention | everything waiting on a person, oldest first |
status | the status document, or one thread's detail document |
wait | block until a thread's outcome |
events | a thread's run-log records in order |
logs | one log of a run from the local store |
facts | read-only facts about a run |
stop | ask a live run to stop |
rerun | a new thread forked from an earlier one at a unit, linked to it |
report | cost and friction reports over this state root's runs |
config | resolved run settings and the settings files |
Inspect and improve workflows#
list | the workflow catalog |
graph | the workflow diagram |
validate | validate a workflow |
audit | advisory, read-only audit of a workflow (no model call) |
outcome | the good outcome, its measures and revision candidates |
executors | registered executors and their capabilities |
self-check | a step's preview of its gate's check, run by the step itself |
improve | clusters, proposals, paired trials and cause analyses |
label | a person's label on a gate judgement: agree or disagree |
labels | the labelling queue and judge reliability grades |
evals | judge calibration and eval suites: score, bar, run, report, labels |
promote-check | measure a workflow version against a stage's criteria |
supervision | the supervision journal and the cost of supervising runs |
stats | run statistics per month, for this machine or across machines from a sink |
store | size, retention and export of the local store |
Author and upgrade workflows#
author | author a workflow from what a good result is: sessions, approvals, verify, trial and grade |
blueprint | check, draw or compare a workflow blueprint (no model) |
scaffold | write a workflow package from an approved authoring session (no model) |
literals | scan a workflow for case literals (no model) |
upgrade | bring a workflow up to the running engine |
upgrade-check | check a workflow against the running engine (the same as upgrade --check) |
hooks | commands the engine runs on lifecycle events: add, remove, list, test |
Install, register and place runs#
install | first install of the engine |
update | move to the engine release staged in the plugin; roll back; prune old engines |
workflows | the workflow registry |
worktree | run worktrees |
carry | a run's state on its own git branch, to move it between machines: push, pull, status, drop |
schedule | schedule a workflow once or on a recurrence |
help | this list of verbs, grouped |
Global options#
| Option | What it does |
|---|---|
--state-root DIR | outside a git repository: the state root to use; ignored inside one |
Edit this page on GitHub · engine 0.9.0