Options
simulation or run.simulationtouches no connected system: steps that call outside services get made-up responses, and model steps run for real on them. It starts at once.runis a real run on your connected services. It asks first —Start a real run of <agent> on <version>? It acts on your connected systems.— unless you pass--yes. It is refused before it starts if a service the version uses is not connected.
dry_run and live.Run input: one JSON object, or
KEY=VALUE. Repeatable; the value is always a string, so a number, a bool, a list or an object needs the JSON form.Following a run
Progress streams as the run executes. Each story prints› when it starts, then ✓ or ✗ when it finishes:
Simulation or Run — and the version it runs.
The stream carries run_started, story_started, story_completed, story_failed, run_completed, and run_failed events. It times out after 300 seconds; the run itself keeps going, and you can rejoin with jstm agent run show.
When the run ends, the CLI prints the run id and how to review it. A failed run also prints its mode and error message when the run record carries them.
When a run needs input
If the agent hits a point where it needs something from a person, it pauses and raises an input request rather than guessing. The CLI prints the request id and the commands to unblock it:jstm input-request.
jstm agent run show
Show a run’s status, stories, output, rejection reason, and provenance.
<agent>/runs/N, where N counts from 1 per agent. See Addressing.
The provenance line, such as ran 0.0.3 in live, names the version this run ran and its mode (dry_run for a Simulation, live for a Run).
Run files
A run’s stories can produce files and logs.jstm agent run artifact lists, prints, and downloads them. The same files appear on the run’s page in the web UI; see Run artifacts.
Every subcommand takes RUN as a run UUID or the sequence address <agent>/runs/N.
run artifact list
--json the payload is {"run_id", "artifacts"}, each artifact as the API returns it. On failure it is {"error", "status"} with exit 1.
run artifact show
--raw needs --text and cannot be combined with --json; either misuse is a usage error, exit 2.
run artifact download
Story outputs are saved alongside the files as
<title>.md, <story_ref>.md, or <story_ref>.json. A name already used in the same download goes under DIR/<story_ref>/ (or DIR/run/ for a file with no story), then DIR/<artifact id>/; an output may become <story_ref>.output.<ext>.
jstm ticket artifact offers the same three commands scoped to one story ticket.
Listing runs
Passing a run id instead of an agent id shows that run’s full story detail.
Listing stories
See also
- Runs and work — runs, epics, stories, tickets.
jstm ticket— the business-readable view of the same work.- Run artifacts — the files a run produces.
- Run an agent — walkthrough.