Lane
Isolated worktree + environment.
Stack
Chained lanes for stacked PRs.
Pack
Audit/replay artifact under
.ade/artifacts/packs/.Checkpoint
Immutable execution snapshot.
Session
Terminal session with metadata.
CTO
Always-on orchestrator agent.
Worker run
Structured multi-step AI unit.
Automation
Trigger-driven execution rule.
Worker
Scoped sub-agent that writes code.
ADE CLI
Native action surface for agents.
Job Engine
Background task scheduler.
PR Convergence
Automated PR-to-merge loop.
Conflict
Predicted or actual merge conflict.
Artifact
Proof produced by AI work.
Lane
A Lane is ADE’s unit of parallel work — an isolated execution environment with its own git branch, working directory, terminal sessions, agent context, and environment variables.Primary Lane
The repository’s main working directory. Every project has exactly one Primary Lane — it represents the cloned repo root itself. Cannot be deleted.
Worktree Lane
A git worktree created by ADE under
.ade/worktrees/<name>/. Fully managed by ADE: created, configured, and cleaned up via the Lanes UI.Attached Lane
An external git worktree that already exists on disk and has been imported into ADE. ADE tracks it but does not move its files. Can be “adopted” into a full Worktree Lane later.
Stack
A Stack is a chain of lanes for stacked PR workflows — each lane targets the lane directly above it as its base branch.ADE tracks rebase suggestions per-lane. When an upstream branch changes, a compact banner above the lane list surfaces each affected child. From there you can open the full workspace with View in Rebase tab, or dismiss the suggestion if it is not relevant.
Runtime context
ADE keeps runtime context local to the work being done. Agents receive lane/session state, selected artifacts, worker run details, and explicit user instructions. When they need product or architecture knowledge, they inspect the repo directly instead of relying on generated PRD or architecture summaries. ADE also stores some compatibility artifacts under.ade/artifacts/packs/ for audit and replay:
Conflict Pack
Conflict Pack
A resolution-context pack created when a conflict is detected between two lanes. Contains the conflicting file regions, each lane’s intent, and suggested resolution strategies. Injected into the resolver agent’s context.
Plan Pack
Plan Pack
A versioned coding plan generated during a Worker run’s Planning phase. Captures the worker run’s goal, steps, assumptions, risks, and executor assignments. Serves as the authoritative reference for all workers during execution.
Worker run Pack
Worker run Pack
A deterministic snapshot of a worker run at a specific point in time — used for resume, audit, and replay. Contains the full worker run state: plan, completed steps, artifacts, interventions, and cost data.
Checkpoint
A Checkpoint is an immutable snapshot created at session or commit boundaries, containing the git SHA, file deltas, timing, and actor metadata. Checkpoints appear in the History view and can be replayed to restore any lane’s state. They are append-only — ADE never deletes them unless you explicitly clear project data.Session
A Session is a terminal session with metadata attached — full transcript, timing, agent attribution, file delta computation, and worker run/step linkage. Every terminal window ADE opens is recorded. The History view groups sessions by lane, worker run, and date.CTO
The CTO (Chief Technical Officer agent) is ADE’s always-on, project-aware AI agent that sits at the top of the agent org chart. Unlike lane-level agents that focus on specific tasks, the CTO coordinates work across lanes and worker agents. The CTO can:- Spawn Worker agents in specific lanes to handle delegated tasks
- Sync with Linear — read issues, update status, create new issues when problems are discovered
- Manage budgets — track per-agent and per-worker run token spend, enforce limits
- Surface risks — proactively flag conflict risks, stale lanes, and budget overruns
- Conduct retrospectives — periodically review what worker runs succeeded and what failed
Worker run
A Worker run is a structured AI execution unit for complex, multi-step work. Workers provide accountability, cost tracking, and a formal lifecycle that ad-hoc chat sessions do not.Workers are visible in every build, but creation and live runs are paused in packaged releases until the orchestration flow is production-ready. Dev and internal builds run worker runs end-to-end. The Automations tab mirrors this: the worker run execution surface is shown but disabled in packaged builds.
Worker run Lifecycle
1
Planning
A planner agent (Claude CLI or Codex CLI) reads the worker run goal and generates a structured Plan — a JSON document with steps, executor hints, lane claims, dependencies, and a join policy. The planner also asks clarifying questions if the goal is ambiguous.
2
Approval (optional)
If the worker run requires human approval before execution, ADE pauses here and presents the plan for review. You can accept, edit, or reject the plan. If
launchMode is autopilot, this phase is skipped.3
Execution
Worker agents execute the plan’s steps. Parallel steps run simultaneously in separate lane worktrees. The Worker run coordinator monitors progress, handles failures, and retries steps according to the plan’s retry policy.
4
Validation
A dedicated validator agent (or self-validation, depending on the phase profile) reviews the completed work against the worker run’s goal and acceptance criteria. Computer-use proof may be required (screenshots, browser verification).
Worker run Statuses
Interventions
When a worker run cannot proceed without human input, it creates an Intervention and pauses. Intervention types include:approval_required— a phase requires explicit sign-offphase_approval— a phase boundary gate requires approval before advancingmanual_input— the agent needs an answer it cannot inferconflict— a merge conflict blocks a stepfailed_step— a step failed and automatic retry was not successfulbudget_limit_reached— the worker run has hit its token or cost caporchestrator_escalation— the coordinator detected an unrecoverable errorprovider_unreachable— the AI provider is unavailable
Automation
An Automation is a trigger → execution-surface rule that runs in response to:- time-based triggers (
schedule) - action-based triggers (webhooks, commits, PR events, manual runs)
Trigger Types
Git Events
Fires on
git.push, git.pr_opened, git.pr_merged, git.commit, and other git events. Example: auto-run tests when a PR is opened.Schedule (Cron)
Fires on a cron schedule. Example: run a dependency audit every Monday at 8am.
File Changes
Fires when specific files or patterns change. Example: regenerate the API documentation whenever
openapi.yaml changes.Webhook events
Fires from GitHub webhooks or generic external webhooks. Example: run a scan when a pull request review is requested.
Execution surface
Each rule chooses one execution surface:- agent-session: creates an automation-only chat thread with AI messages and tool events.
- worker run: launches a full worker run with planner, validation gates, intervention handling, and worker artifacts.
- built-in-task: runs a predefined ADE task without full worker run semantics.
Worker
A Worker is a sub-agent spawned by the CTO or by a Worker run to handle a specific, scoped task. Workers are the agents that actually write code. Worker characteristics:- Run in a specific lane with a scoped working directory
- Have bounded tool access — only the tools their role requires
- Operate within a budget limit set by the spawning coordinator
- Are attributed in session metadata for full traceability
- Can be
claude_cli,codex_cli, orunified(in-process API) executor kinds
ADE supports parallel workers — multiple workers executing different plan steps simultaneously in different lanes. The
parallelismCap field in the worker run plan limits how many workers run at once.ADE CLI and Actions
ADE CLI is the native action surface agents use to operate ADE.ade serve exposes the per-machine runtime endpoint at ~/.ade/sock/ade.sock, and ade can run one-off commands in headless mode when you explicitly bypass the machine runtime.
When an AI agent is running inside ADE (whether via Claude CLI, Codex CLI, or a local provider route), it can run ade commands against the same runtime surface as the desktop app and ade code to perform operations that go beyond simple text generation:
Git operations
Git operations
Stage files, commit, push, create branches, run merge simulations, cherry-pick, and manage stashes — all with full attribution back to the calling agent.
File access
File access
Read and write files across any lane’s worktree. File writes are atomic and logged as session deltas.
Terminal control
Terminal control
Spawn a new PTY session in a specific lane, write input, and read the output transcript.
Agent spawning
Agent spawning
Spawn a new Claude CLI or Codex CLI session in a lane, with a prompt and a budget limit. This is how the CTO delegates work to workers.
Pack management
Pack management
Read and write the audit/replay packs under
.ade/artifacts/packs/ (Conflict Pack, Plan Pack, Worker run Pack). These are records of work for audit and replay — they are not prepended to agent prompts.Worker run management
Worker run management
Create worker runs, update step status, add artifacts, create interventions, and report progress back to the Worker run coordinator.
Computer-use artifacts
Computer-use artifacts
Route screenshots, browser traces, video recordings, and console logs to their owners (worker runs, PRs, Linear issues, chat sessions).
orchestrator, agent, external, or evaluator. Coordinator-level tools (spawning agents, creating worker runs) are only available to orchestrator-role callers.
Job Engine
The Job Engine is ADE’s background task scheduler that handles work that should happen automatically, without user interaction. Current job types:- Conflict pack refresh — regenerates the audit Conflict Pack for a lane pair when their overlapping changes shift, so resolver context stays accurate
- Conflict prediction — periodically runs merge simulations between all active lane pairs to surface potential conflicts early
- Rebase suggestion generation — detects when upstream branches have moved and generates rebase suggestions for downstream lanes
- Automation execution — receives trigger events and executes the appropriate automation rules
In development mode, the Job Engine’s periodic conflict prediction is disabled by default (to reduce noise). Set
ADE_ENABLE_CONFLICT_PREDICTION=1 to force-enable it.PR Convergence
PR Convergence is ADE’s automated loop for driving a pull request from “has issues” to “ready to merge.” It combines an issue inventory, AI-powered resolution rounds, and an optional auto-converge poller into a single workflow accessible from the Path to Merge tab on any PR. The convergence system:- Scans the PR for failing CI checks, review comments requesting changes, and bot feedback (CodeRabbit, Copilot, Codex)
- Launches rounds — each round creates an agent session that reads the open issues, makes code changes, and commits
- Polls for CI completion and comment stabilization between rounds
- Decides whether to launch another round (if new issues appeared) or mark the PR as converged
- Auto-merges (optional) when convergence is complete and all checks pass
- Manual — you trigger each round explicitly and review results between rounds
- Auto-Converge — ADE runs the full loop autonomously, pausing only when it hits a limit (max rounds, rebase needed, or agent error)
.ade/ade.yaml.
The CTO agent can also drive PR convergence programmatically using five dedicated operator tools, enabling fully autonomous PR management without human interaction.
Conflict
A Conflict in ADE is a predicted or actual merge conflict between two lanes. ADE distinguishes between:- Predicted conflicts: File-level overlaps detected by running
git merge --no-commit --no-ffsimulations between lane pairs. These are surfaced in the Conflicts view before you attempt an actual merge. - Active conflicts: A real merge conflict that has occurred during a rebase or merge operation and requires resolution.
- A risk matrix — which lane pairs have the highest overlap risk
- File-level overlaps — which specific files are touched by multiple lanes
- AI resolution proposals — generated by ADE’s conflict resolver agent, with a diff-level proposed resolution
- External resolver sessions — if you prefer to use a CLI resolver (e.g., a dedicated agent), ADE can prepare and finalize resolver sessions
Proof / Artifact
A Proof (also called an Artifact) is evidence produced during AI-driven work. ADE collects, normalizes, and routes proof artifacts to the appropriate owners.Artifact Types
Proof Capture Flow
Agents capture intentional evidence by calling theade proof CLI — screenshot, short recording, or ingestion of an external browser trace:
- The agent runs
ade proof screenshot,ade proof record, orade proof ingestfrom a terminal inside its lane. - ADE’s artifact broker in the main process normalizes the input into a standard
ComputerUseArtifactrecord with kind, owner, and metadata. - The artifact is routed to its owner — a worker run step, a PR, a Linear issue, or a chat session — based on the flags passed to the CLI.
- The file is stored under
.ade/artifacts/computer-use/and linked in the database. - It appears in the Worker run Artifacts tab, the PR attachments panel, the chat session artifact panel, or the Linear issue sidebar, depending on routing.
Relationships Between Concepts
Here is how all the core concepts connect in a typical workflow:Glossary
Next Steps
Lanes Deep Dive
Everything about lane creation, templates, environment isolation, and proxy routing.
Workers Deep Dive
Phase profiles, budget management, interventions, and audit log export.
CTO Agent
Configure the CTO with Linear sync and worker spawning policies.
ADE CLI
Review the native ADE CLI action surface and project readiness settings.