Define repeatable agent work with cron triggers, data-change triggers, and metric watchers.
Workflow shape
A workflow definition stores the goal, system prompt overlay, steps, enabled state, owner, daily run budget, output contract, and optional trigger configuration. Workflow definitions are also best-effort serialized into config version control as markdown.
Operator-triggered runs from the UI or control plane
thread_id, trigger payload, and actor context
Watchers
Watchers run GraphJin queries on a cadence, extract a dotted value path, compare the result, and enqueue a workflow fire when the condition is met. Cadence is clamped to at least 60 seconds, and debounce defaults to 3600 seconds.