Go to the content
DE Download
Pages of the documentation

Runs

A run is one execution of a workflow for one task. The Runs tab of the Workflows area shows each run.

The list

Each row is one run with its task, its workflow, and its state. The bar above the list filters by state and by text. Clear moves the shown runs that ended into the trash of your computer.

State Meaning
running An agent works.
waiting The run waits at a gate.
success Each step ended.
failed A step failed.
stopped You stopped the run: at a gate, at a breakpoint, or with Stop. A stop is no failure, so the state has a neutral color. Run again starts the run at the step where it stopped.
interrupted The process of the run ended without a result. Select Stop to record it as stopped.

When you start a run in the app, or start a run again, a notice in the bottom right corner of the window shows the run until it ends. Select the notice to open the run. Select the close button to hide the notice. The run continues.

Above the runs, the list Planned runs shows each open timer of a workflow with its time. Select a planned run to open the Schedulers area, where you change or remove the timer.

One run

Select a run. The panel shows each step with its agent, its model, its time, and its token use. Select a step to read its output. The output also shows while the step works.

When the run waits at a gate, the panel shows the gate at the top. Select your decision there. See Gates and branches.

While a run works or waits, each step that did not start yet shows the switches Pause before and Notify after. A change applies to this run only.

Above the steps, the panel links to the parts of the run. Select a part to open it:

  • Task file: opens the task file of the run in the file panel.

  • Workflow: opens the workflow in the editor.

  • Schedule: opens the Schedulers area. Only a run of a schedule has this link.

  • About … left: an estimate for a running run. It comes from the earlier runs of the same workflow.

  • Tokens of the run: the sum of the steps that ended.

  • PDF: stores the report of the run as a PDF file.

Stop and start again

  • Stop ends a running run. The step that worked gets the state failed.
  • Run again starts a failed run at its failed step. The steps that ended before do not run again.

When an agent reaches its limit

Turn on Continue a run after a usage limit in the settings. A run that failed at a limit then starts again after the limit starts again. Opfold must stay open for this.

When a run has no output

A run without any output for 15 minutes sends you a notice. Look at the run, and stop it when the agent does not continue.

How a step ends

An agent must write a small result file at the end of its step, with the result "success", "blocked", or "failed". Opfold adds this rule to the instruction of the agent. A step without a "success" result stops the run. So a run does not continue after a step that did not do its work. Such a step writes the task state from before the step again, so Run again finds the same task state as the first try.

A step can also stop before its agent starts. The contract opfold.yaml of its skill names the preconditions, for example a task state or an approved plan. When a check fails, the step gets the result "blocked", and the run shows each failed check. No agent starts, so the step costs no tokens. Fix the cause and select Run again.

Opfold records each step in the file timeline.json of the task folder: the start, the end, the result, the reason, the agent, the model, and the tokens. The task file shows the steps in its block opfold-timeline. See Tasks and projects.