Runs & execution

A run is a single autonomous task. This page covers its lifecycle, states, and how to control it.

Lifecycle

StateMeaning
queuedAccepted, waiting for an executor.
runningActively planning, editing or executing.
healedRecovered from one or more failures, completed successfully.
okCompleted successfully without recovery.
failedHalted after exhausting recovery budget.
cancelledStopped by a user or policy.

Triggering a run

bash
# CLI
veyra run "Refactor billing module to use webhooks"

# REST
curl -X POST https://veyra.tubox.cloud/v1/runs \
  -H "Authorization: Bearer $VEYRA_KEY" \
  -d '{"goal":"Refactor billing module to use webhooks","repo":"acme/api"}'

Inputs

  • goal — natural language intent.
  • repo — target repository (Git remote or local path).
  • branch — base branch (default: main).
  • policy — overrides for sandboxing, model routing, or budgets.

Cancelling

Cancel from the Run history page or with veyra cancel <run-id>. Cancellation is graceful — Veyra will commit any safe partial work before halting.

Hello