Skip to main content
Automations are rule-based background workflows. Each rule pairs a trigger (a schedule, an event, or a webhook) with an execution surface, then runs either a scoped AI chat session or a sequence of deterministic built-in actions. Guardrails gate anything that would publish externally, so a low-confidence or unreviewed run never writes to GitHub, Linear, or the web on its own. Automations sit between the CTO (heavy, stateful, chat-driven) and raw cron (deterministic, no AI). They’re for the repeatable background work you’d otherwise do by hand: a nightly audit, a review on every PR, a summary when a chat ends.
The Automations tab is rolling out. In production builds it currently shows a “Soon” badge while the surface lands: the rule engine and run history described here are how it works once enabled.
The Automations builder in DAEX

The automation builder: a trigger, its execution surface, and the guardrails that gate it.

Anatomy of a rule

Trigger

What starts the rule: a cron schedule, an action event, or an inbound webhook.

Execution surface

Either an agent-session (a scoped AI chat) or built-in (deterministic DAEX actions).

Guardrails

Confidence threshold, human review, path/lane allowlists, and optional agent time limits.

Output

Where results go: a comment, a follow-up lane or task, a draft PR, or evidence only.

Triggers

A rule fires from one of three broad classes of trigger.
A 5-field cron schedule (minute, hour, day-of-month, month, day-of-week). Seconds aren’t supported. The editor previews the next fire time.
Linear triggers here are context only. There is no autonomous issue-routing engine: automations react to Linear events for their own work, and any Linear write is an explicit rule action. See Linear.

Execution surfaces

Choosing the surface is the key decision: it sets how much orchestration a rule carries.

agent-session

A scoped AI chat thread with the rule’s prompt and allowed tools. Best for reviews, audits, and short summaries. Appears in run history as a thread.

built-in

A sequence of deterministic DAEX actions: create a lane, run a command, run tests, predict conflicts, or dispatch an allowlisted DAEX action. No AI in the loop; sandboxed to the target lane’s worktree.
Built-in actions are deterministic by design: they shouldn’t wrap an AI call. When a step needs reasoning, use an agent-session (a built-in chain can embed one as a step).

Guardrails

Automations publish effects: comments, PRs, Linear updates, webhooks. Guardrails decide whether a run is allowed to publish, or whether it parks in a review queue first.

Time limits

An automation’s agent has no time limit by default. Like a chat you start yourself, it runs until the work is done: a release that waits an hour on CI and notarization is fine. If you want a backstop, open Limits on the agent step:
  • Stop after: end the agent’s turn after this many minutes, whatever it is doing.
  • Stop when idle for: end it after this many minutes with no activity. Waiting on a command, a tool, a subagent working in the foreground, or an approval does not count as idle; background tasks and long silent thinking can, so leave some room.
Either one interrupts the agent and keeps its chat open. A Run command step has its own Time limit (default 5 minutes) that stops the command if it hangs. Each rule also carries a review profile (quick, incremental, full, security, release-risk, cross-repo-contract) that sets the base confidence: security and release-risk start higher than quick.
Runs that need a human land in a queue with statuses like pending review, verification required, and completed clean. The dashboard shows a severity summary so you can triage without opening every run.

Secrets and scope

Env-ref secrets only

Webhook secrets and access tokens must be ${env:VAR_NAME} references: raw secret values are rejected and resolved at run time.

Sandboxed actions

Built-in shell actions stay inside the allowed workdirs; paths that escape the lane worktree or project root are rejected.

Authoring a rule

You can write a rule from a free-text brief (a planner turns the brief into a draft rule (triggers plus actions) that you review before saving) or build it directly in the rule editor by picking a trigger, an execution surface, and guardrails. Templates seed a new draft to start from. An unsaved rule is kept as one draft per repository on this computer, with its Runs on choice, through tab switches and restarts. When the rule runs on another computer, anything that computer’s DAEX can’t run yet is greyed out with the version it needs. A Send notification step can open what the run made: its chat, its lane or the run’s history. On the iPhone the link opens the run’s chat.
Use the simulate path to dry-run a rule against a synthetic trigger before enabling it: it lists exactly which actions would fire, with nothing published.

CTO overview

The persistent project-level operator with durable memory.

Linear

Attach issues, link PRs, and read issues from DAEX.