Documentation Index
Fetch the complete documentation index at: https://ade-app.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
What an execution surface is
Every automation rule answers the same question twice: what triggers it, and what runs when it fires. The second half is the execution surface, and there are three.| Surface | Best for | Cost |
|---|---|---|
agent-session | Lightweight checks, short summaries, a single deterministic output | One short agent thread |
mission | Multi-step code changes, long workflows that need reviewable plans | A full mission run |
built-in | Deterministic ADE operations — tests, conflict prediction, status sync | No agent; no tokens |
Mission execution is paused in production builds. In packaged releases the rule editor and the Templates tab still display Mission as an option so teams can see how they would wire it, but selecting Mission is disabled with a “Coming soon” chip and the Save button is blocked. Dev and internal builds run mission automations today. When you plan an automation that needs a mission surface, use Chat or a built-in task as a stand-in until Missions ships.
Surface details
agent-session
agent-session
A lightweight chat thread created for the automation run.
- Starts from a single prompt and optional seed context
- Runs through the normal chat runtime with ADE-scoped tool access
- Produces normal agent messages, tool events, and a transcript
- Best when you want quick chat-like output and a readable record
mission
mission
A full mission run for work that needs a reviewable plan, multiple workers, or durable checkpoints.
- Planner, approval gate, execution, and validation phases
- Retry, intervention, and closeout handling
- Worker lifecycle with lane affinity
- Artifacts, step events, and the full intervention feed
built-in
built-in
A structured ADE-native task for short, deterministic work that doesn’t need a conversation.
- No full chat or mission thread
- Strongly typed inputs and outputs
- Useful for running test suites, predicting conflicts, and other maintenance sweeps
Building an automation rule
- Pick a time-based (
schedule) or action-based (git, file, lane, webhook, Linear, manual) trigger. - Pick an execution surface:
agent-sessionfor a quick AI outputmissionfor a complex or high-stakes workflow (dev builds only today)built-infor a known ADE operation
- For built-in rules, pick the target lane or leave it on “Auto-select from the trigger or primary lane.”
- Set a tool palette and memory policy.
- Configure guardrails and budget mode from Settings defaults.
- Add verification behavior and output routing.
Example rules
- PR reviewer — trigger
git.pr_opened, executionagent-session, output an automation thread plus an optional PR comment. - Nightly test sweep — trigger
schedule(0 8 * * 1-5), executionbuilt-in(run-tests) targeted at the primary lane. No tokens, just a test report artifact. - Cache cleanup — trigger
github-webhook, executionbuilt-in, internal usage summary with a status event. - Release triage — trigger
linear.issue_created, executionmission(dev builds) or a multi-stepagent-sessionas a fallback while Mission is gated.