Skip to main content
Understanding ADE’s vocabulary is the fastest path to using it effectively. This page defines every core concept, explains how they relate to each other, and points to the deeper feature documentation for each.
**Screenshot: A high-level diagram (drawn in ADE’s Workspace Graph view) showing a project with a Primary Lane, two Worktree Lanes arranged in a Stack, an open Mission, and a Conflict indicator between two lanes. Labels visible for “Lane”, “Stack”, “Mission”, “Conflict”.

Lane

A Lane is the fundamental unit of parallel work in ADE. Every lane is an isolated execution environment: it has its own git branch, its own working directory, its own terminal sessions, its own agent context, and its own process 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.
Each lane stores:
  • Branch name and base branch reference
  • Appearance (color, icon) for identification in the UI
  • Environment status — whether the lane’s dev server, ports, and dependencies are initialized
  • Active sessions — current terminal and agent sessions running in this lane’s directory
  • Pack reference — the context pack currently associated with this lane
Think of lanes the way you think of browser tabs — each is an isolated context, and switching between them does not disrupt the others. Unlike browser tabs, lanes persist their state even when you are not looking at them.
**Screenshot: The Lanes panel showing three lanes: one Primary (with a house icon), one Worktree (green branch icon), and one Attached (chain-link icon). Show the branch name, status badge, and an “active agent” indicator on the Worktree lane.

Stack

A Stack is a layered arrangement of lanes for stacked PR workflows. Each lane in a stack targets the lane directly above it as its base branch, forming a dependency chain.
  main
   └── feature/auth          ← Lane 1 (targets main)
        └── feature/auth-ui  ← Lane 2 (targets feature/auth)
             └── feature/auth-tests  ← Lane 3 (targets feature/auth-ui)
Stacks are visualized as a connected chain in the Workspace Graph. ADE understands the stack topology and can:
  • Automatically rebase downstream lanes when an upstream lane is updated
  • Suggest rebase operations when the upstream branch moves
  • Show the full stack chain in the lane inspector
To create a stacked lane, use Lanes → New Child Lane and select the parent lane. ADE sets the child’s base branch to the parent’s current branch automatically.
ADE tracks rebase suggestions per-lane. When an upstream branch changes, ADE surfaces a rebase suggestion with a preview of the affected commits. You can accept, defer, or dismiss it.

Pack

A Pack is a durable context bundle that carries project or lane knowledge to AI agents. Packs are structured documents stored in .ade/artifacts/packs/ and injected into agent system prompts to give agents meaningful project awareness before they write a single line of code. ADE defines several pack types:
A project-wide context document generated from the repository’s source code, documentation, and git history. Contains:
  • High-level architecture description
  • Key modules and their responsibilities
  • Coding conventions and patterns
  • Risk signals (files that frequently cause conflicts, complex areas)
  • Recent significant changes
The Project Pack is regenerated periodically by the Job Engine and whenever you explicitly trigger a context refresh.
A lane-specific context document. Contains:
  • The lane’s intent — what this lane is supposed to accomplish
  • Acceptance criteria — how success is defined
  • Checkpoints — immutable snapshots of progress so far
  • Touched files — which files the lane’s agent has modified
  • Outstanding risks — known issues the agent flagged
Lane Packs are updated at session boundaries and after commits.
An issue-scoped aggregate pack that combines the Project Pack, relevant Lane Packs, and Linear issue context into a single context bundle for a specific feature. Used when a feature spans multiple lanes.
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.
A versioned coding plan generated during a Mission’s Planning phase. Captures the mission’s goal, steps, assumptions, risks, and executor assignments. Serves as the authoritative reference for all workers during execution.
A deterministic snapshot of a mission at a specific point in time — used for resume, audit, and replay. Contains the full mission state: plan, completed steps, artifacts, interventions, and cost data.

Checkpoint

A Checkpoint is an immutable execution snapshot created at session or commit boundaries. Checkpoints are the mechanism ADE uses to make work replayable and auditable. Each checkpoint contains:
  • SHA anchors — the git commit SHAs for every lane at the time of the checkpoint
  • Deltas — the set of changes since the previous checkpoint
  • Metadata — timing, actor (human or agent), session ID, and trigger reason
  • Validation context — whether the checkpoint passed any validation gate
Checkpoints appear in the History view as a timeline you can navigate. You can replay any checkpoint to restore a lane’s state to that exact moment.
Checkpoints are append-only. ADE never deletes them (unless you explicitly clear project data). This makes the History view a complete audit trail of all work done in a project.

Session

A Session is a terminal session with rich metadata attached. In ADE, every terminal window — whether you opened it manually or an agent spawned it — is recorded as a session. Session metadata includes:
  • Transcript — the full input/output stream, stored to disk
  • Timing — start time, end time, duration
  • Agent attribution — whether this session was opened by a human, the CTO, a Mission worker, or an Automation
  • Delta computation — which files changed during this session, derived from git status snapshots at open/close
  • Mission and step linkage — if the session was opened by a Mission worker, it is linked to the specific step and attempt
Sessions are the atomic unit of terminal work. The History view groups sessions by lane, by mission, and by 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 maintains a persistent memory of the entire project and orchestrates work across all lanes. The CTO can:
  • Maintain and update a project memory (architecture, decisions, team conventions)
  • 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-mission token spend, enforce limits
  • Surface risks — proactively flag conflict risks, stale lanes, and budget overruns
  • Conduct retrospectives — periodically review what missions succeeded and what failed, and update project memory accordingly
**Screenshot: The CTO view showing the CTO agent’s chat interface with a recent message like “I’ve reviewed this week’s missions. Auth lane is blocked by a conflict with the billing lane — I’ve created a conflict pack and assigned a resolver.” Show the Linear sync indicator and the “Memory updated” badge.
The CTO is configured in Settings → CTO. You can set its model, budget limit, Linear workspace, and how aggressively it spawns workers without asking you first.
If you are a solo developer, think of the CTO as your always-on senior engineer who is watching your project while you sleep. Brief it on your goals at the start of the week; it will decompose the work, assign it to agents, and present you with completed PRs.

Mission

A Mission is a structured AI execution unit for complex, multi-step work. Missions provide accountability, cost tracking, and a formal lifecycle that ad-hoc chat sessions do not.

Mission Lifecycle

Queued → Planning → [Approval] → Execution → Validation → Completed
                                                         ↘ Failed
                                                         ↘ Canceled
1

Planning

A planner agent (Claude CLI or Codex CLI) reads the mission 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 mission 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 Mission 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 mission’s goal and acceptance criteria. Computer-use proof may be required (screenshots, browser verification).

Mission Statuses

StatusMeaning
queuedCreated but not yet started
planningPlanner agent generating the execution plan
in_progressWorkers executing plan steps
intervention_requiredPaused — requires human input to continue
completedAll steps done and validation passed
failedA step failed and could not be recovered
canceledStopped by the user

Interventions

When a mission cannot proceed without human input, it creates an Intervention and pauses. Intervention types include:
  • approval_required — a phase requires explicit sign-off
  • phase_approval — a phase boundary gate requires approval before advancing
  • manual_input — the agent needs an answer it cannot infer
  • conflict — a merge conflict blocks a step
  • failed_step — a step failed and automatic retry was not successful
  • budget_limit_reached — the mission has hit its token or cost cap
  • orchestrator_escalation — the coordinator detected an unrecoverable error
  • provider_unreachable — the AI provider is unavailable
You resolve interventions from the Mission’s Run panel by providing an answer, accepting defaults, or canceling the run.

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.
  • mission: launches a full mission with planner, validation gates, intervention handling, and worker artifacts.
  • built-in-task: runs a predefined ADE task without full mission semantics.
Agent-session outputs appear in Automations → History. Mission outputs appear in Missions.

Worker / Employee Agent

A Worker (also called an Employee Agent) is a sub-agent spawned by the CTO or by a Mission 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, or unified (in-process API) executor kinds
The Mission coordinator manages worker lifecycle: spawning, monitoring heartbeats, retrying failed workers, and collecting their outputs.
ADE supports parallel workers — multiple workers executing different plan steps simultaneously in different lanes. The parallelismCap field in the mission plan limits how many workers run at once.

MCP (Model Context Protocol)

MCP is the protocol ADE uses to expose its capabilities to AI agents as callable tools. ADE’s built-in MCP server speaks JSON-RPC 2.0 over a Unix domain socket and implements the Model Context Protocol 2025-06-18 specification. When an AI agent is running inside ADE (whether via Claude CLI, Codex CLI, or the in-process API), it can call ADE’s MCP tools to perform operations that go beyond simple text generation:
Stage files, commit, push, create branches, run merge simulations, cherry-pick, and manage stashes — all with full attribution back to the calling agent.
Read and write files across any lane’s worktree. File writes are atomic and logged as session deltas.
Spawn a new PTY session in a specific lane, write input, and read the output transcript.
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.
Read, write, and refresh context packs. Agents can update their own lane pack with new context they have discovered.
Create missions, update step status, add artifacts, create interventions, and report progress back to the Mission coordinator.
Add to and search the project’s persistent memory store. Rate-limited per session to prevent memory spam.
Route screenshots, browser traces, video recordings, and console logs to their owners (missions, PRs, Linear issues, chat sessions).
Sessions are authenticated by role: orchestrator, agent, external, or evaluator. Coordinator-level tools (spawning agents, creating missions) 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:
  • Lane pack refresh — triggered when a lane’s files change significantly, to keep the lane’s context pack current
  • 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
The Job Engine uses a per-lane queue with deduplication: if a lane refresh is already running, a second trigger is coalesced into a single pending request rather than creating a duplicate job.
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.

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-ff simulations 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.
The Conflict view shows:
  • 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
**Screenshot: The Conflicts view showing a risk matrix with three lanes across the top/left, one red high-risk cell, and a details panel on the right showing the overlapping file names and an AI resolution proposal button.

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

TypeDescription
screenshotA static image of the browser or desktop at a specific moment
browser_verificationA structured record of a browser-based verification test
browser_traceA full Playwright/CDP trace recording of a browser session
video_recordingA screen recording of an agent executing computer-use tasks
console_logsBrowser or Node.js console output captured during testing
test_reportA structured test run result (pass/fail per test case)
summaryA human-readable summary of completed work
prA link to an opened or merged pull request
patchA raw git patch file
planThe generated mission plan document

Computer-Use Flow

When a computer-use backend (Ghost OS, agent-browser, or local fallback) produces an artifact:
  1. The artifact is received by ADE’s Computer Use Broker in the main process
  2. It is normalized into a standard ComputerUseArtifact record with kind, owner, and metadata
  3. It is routed to its owner — a mission step, a PR, a Linear issue, or a chat session
  4. It is stored under .ade/artifacts/ and linked in the database
  5. It appears in the Mission Artifacts tab, the PR review panel, or the Linear issue sidebar, depending on routing

Relationships Between Concepts

Here is how all the core concepts connect in a typical workflow:
Project
├── Primary Lane
├── Worktree Lanes (1..n)
│   ├── Sessions (terminal + agent)
│   ├── Pack (context bundle)
│   ├── Checkpoints (immutable snapshots)
│   └── Conflicts ↔ other lanes

├── Stacks (chains of lanes)

├── Missions (1..n)
│   ├── Plan (generated by Planner)
│   ├── Steps → Workers → Sessions
│   ├── Interventions (human touchpoints)
│   ├── Artifacts (proof, summaries, PRs)
│   └── Mission Pack (audit snapshot)

├── CTO Agent
│   ├── Project Memory
│   ├── Workers (spawned into lanes)
│   └── Linear sync

├── Automations
│   └── Triggers → Missions or direct agent runs

└── Job Engine
    ├── Conflict prediction
    ├── Pack refresh
    └── Automation execution

Glossary

TermDefinition
ADEAgentic Development Environment. The product.
LaneIsolated git worktree + process environment, the fundamental unit of parallel work.
Primary LaneThe repository’s root working directory, always present.
Worktree LaneA lane backed by git worktree add, managed by ADE under .ade/worktrees/.
Attached LaneAn externally created worktree imported into ADE for tracking.
StackA chain of lanes in a stacked PR topology.
PackA durable context bundle injected into agent prompts.
CheckpointAn immutable snapshot of lane state at a session or commit boundary.
SessionA PTY terminal session with metadata, transcript, and delta tracking.
CTOAlways-on project-aware AI agent at the top of the agent org chart.
MissionA structured multi-step AI execution unit with full lifecycle and audit trail.
Worker / Employee AgentA sub-agent spawned by the CTO or a Mission to handle a specific task.
AutomationA trigger → executor rule that fires an agent in response to an event.
Automation execution surfaceagent-session, mission, or built-in-task; each determines where results are stored and how much workflow structure is available.
InterventionA mission pause point requiring human input to continue.
MCPModel Context Protocol — the JSON-RPC 2.0 protocol ADE uses to expose tools to agents.
Job EngineADE’s background scheduler for pack refresh, conflict prediction, and automation execution.
ConflictA predicted or actual merge conflict between two lanes.
Artifact / ProofEvidence produced by computer-use agents (screenshots, traces, videos, test reports).
PlanThe structured execution document generated by a Mission’s planner agent.
PhaseA stage in a Mission’s lifecycle (Planning, Execution, Validation, etc.).
Phase ProfileA reusable configuration of phases and their settings, applied to missions at launch.
Phase CardThe configuration unit for a single phase: model, budget, validation gate, approval requirement.
baseRefThe project’s primary integration branch (e.g., main). Configured in ade.yaml.
.ade/The directory ADE creates at the repo root to store its metadata, worktrees, and artifacts.

Next Steps

Lanes Deep Dive

Everything about lane creation, templates, environment isolation, and proxy routing.

Missions Deep Dive

Phase profiles, budget management, interventions, and audit log export.

CTO Agent

Configure the CTO with Linear sync, persistent memory, and worker spawning policies.

MCP Server Reference

Full reference for every ADE MCP tool, authentication roles, and connecting external clients.