Build, Simulation, Run
Simulation and Run are the two modes a run has. You choose one each time you start a run, and each trigger has one.
The CLI and the app say Simulation and Run. The API and JSON output send the wire values
dry_run and live.
Every build is a sealed version
Building an agent produces a new version, numbered per agent (0.0.1, 0.0.2, …). A version never changes after it is built, so a run of it today behaves like a run of it next month. List an agent’s versions with jstm agent version list.
Every run is version-pinned
A run names the version it runs. Start one without naming a version and it runs the latest built version; name one to run an older version. A trigger — a schedule, a webhook, a chat or Slack message — is pinned to one version and has its own mode. It keeps running that version until someone changes it: a new build does not move it. To move a trigger to a newer version, re-pin it withjstm trigger update --version. Run again on an old run runs that run’s version, not the latest.
A run must be traceable to its capability, spec version, agent version, recipe version, trigger, skills and tools, and runtime configuration.
The two loops
The lifecycle is not a line that ends at the first Run. It is two loops that compound.The engineering loop
Turns organizational intent into a trusted agent. It answers one question: has this agent earned the right to operate this capability? The engineering loop creates trust before anything real happens.The operating loop
Turns real execution into organizational learning. It answers a different question: is this capability delivering its intended outcome, and how should it improve? The engineering loop creates trust. The operating loop compounds it.A real Run is a decision, not a default
A newly built version runs nowhere until someone starts it. People decide when the evidence from Simulations is enough to run it for real, and which version a schedule or webhook should run.jstm agent readiness <agent-id> reports blockers and exits non-zero when any exist, so the check runs in a script as easily as at a terminal.
A teammate can review a specific version before you run it for real; see Reviews.
Next
From Simulation to a real Run
Walk the steps with real commands.
Runs and work
What a run produces and how to read it.