Skip to main content
A real Run is a decision, not a default. This guide takes one built version from Simulation to a real Run, and says what to look at before each step.

Prerequisites

1

Pick the version

Versions are listed newest first, with when each was built, how many triggers run it, and its latest review. Every command below names the version, so you run exactly what you checked even if someone builds again in between.
2

Check the Simulation evidence

Ask the outcome question, not the execution question. Not “did every story complete?” but “would this have produced the right result?”In a Simulation, outside services return made-up responses, so check the shape of what the agent would have sent — the right channel, the right fields, the right accounts — rather than the data. A Simulation that finishes green while targeting the wrong payments is a failure that looks like a success.To try the version once more with real-looking input:
3

Check readiness

A Simulation needs no connected services, so it can pass when a real Run would be refused. Readiness checks the connections and skills themselves.For an extra check against the real service:
4

Ask for a review (optional)

The reviewer signs off on, or declines, that version. A review is advice: it doesn’t start or block anything. See Reviews.
5

Run it for real

A Run has real side effects. The agent will post to Slack and read real Stripe data. The command shows what it will run and asks first; --yes skips the question.
If a service the version uses is not connected, the Run is refused before it starts, with a message naming the service.Watch this one. It is the first time this version changes something outside JoyStream. Start with a test channel or a single account before pointing it at everything.
6

Review the Run evidence

Give it enough Runs to see variation — a day with no failed payments, a day with an unusual one, a day when Stripe is slow. The interesting evidence is in the edge cases, not the happy path.Check the tickets for exceptions and escalations. An agent that never escalated may handle everything well, or may not have met anything hard yet.
7

Set it running

Agents usually run on a schedule or a trigger rather than by hand. A trigger is pinned to one version and has its own mode:
Without --version, the trigger is pinned to the latest version when it is created. Either way it keeps running that version: building again does not move it.See Schedule an agent and Trigger an agent.

Checking in a script

jstm agent readiness exits non-zero when there are blockers, so it composes:

Moving to a new version, and back

After you build a new version, check it in Simulation, then re-pin the trigger to it:
The command prints the old version and the new one. To go back to a known-good version while you fix a problem, re-pin it to the earlier one:
To stop scheduled Runs without deleting anything:

See also