Automations
An automation starts a real turn, or a published Workflow version, when you run it by hand or when the schedule fires. Each run leaves an auditable Conversation and Turn.
Entry point
Open Settings → Automations. From the empty state, New or a starter template. Templates fill an editable draft. Saving and running stay manual after you edit the draft.
Create
New asks for a type first. The type is fixed at creation:
- Single session: each run creates a real turn with the chosen agent, workspace, and prompt.
- Workflow: runs one published Workflow version. To target a different version, create another automation.
The form includes name, project, agent or workflow, prompt, branch, isolation, and trigger.
Isolation:
- Create an independent worktree per run (default)
- Share the project root: uses the current checkout. The backend rejects a dirty tree or a mismatched branch, and it will not merge, push, or publish.
Trigger is Manual or a schedule. A schedule can preview the next five runs. Timezone is an IANA name.
Save when the form is complete. The list switch is Enabled. A disabled row is skipped by the scheduler.
Run and history
Run now fires one execution immediately. Run history lists Running, Completed, Failed, Cancelled, Interrupted, and Skipped. A running row can Cancel run. Workflow targets offer Open Workflow.
Import and export
Copy spec JSON copies a document that omits database identity, secrets, and machine paths. Import JSON pastes it and leaves the row disabled until you enable it. Import resolves project, agent, and workflow references on the current Host.
Engine owner
For one data directory, only one automation engine owner exists at a time: the current desktop or vibex-server. Only the owner claims due jobs. If the page says the engine is held by another host, the view is read-only until that process releases it.
On Host startup, leftover direct-turn runs become Interrupted. Runs already attached to a Workflow run follow that run’s terminal state. Neither is fired again automatically. While the Host was down, at most the most recent missed schedule is backfilled.
Finished runs and their independent worktrees are kept for 30 days by default, under a per-directory space quota. Running runs stay until they finish.

