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.
The .ade/ Directory
ADE initializes a .ade/ directory at the project root on first open. It is the single source of truth for all ADE configuration, runtime artifacts, and worktree management.
worktrees/ and artifacts/ subdirectories are ADE-managed. Do not edit them directly.
Configuration Layering
ADE resolves configuration through three layers applied in order. Lower layers override higher ones.ade.yaml
local.yaml
ade.yaml for your machine only. Contains preferred model, theme, editor settings, and notification preferences.local.secret.yaml
local.secret.yaml first, then local.yaml, then ade.yaml. A value in local.yaml shadows the same key in ade.yaml for that machine only.
The Trust Model (SHA-Based Approval)
ade.yaml can contain command definitions (process startup commands, automation executors, test suite runners). Because this file is committed to git, a malicious change in a PR could introduce arbitrary commands that run on your machine. ADE prevents this with a SHA-based approval gate.
ADE detects a change
ade.yaml changes — from a git pull, a teammate’s commit landing via fetch, or a direct edit — ADE immediately detects the difference.ADE shows a diff and pauses
You review and approve
ade.yaml — Full Schema Reference
Shared team config — commit this file. Every field is optional except name.
ai — AI defaults
ai — AI defaults
ai.* values are defaults. They can be overridden per-mission, per-worker, or per-automation at creation time. The monthlyBudgetCap is a hard ceiling — once reached, all agent activity pauses until the next billing period or you manually raise the cap in Settings → Budget.processes — Dev server definitions
processes — Dev server definitions
group field organizes processes visually in the UI.testSuites — Test runner config
testSuites — Test runner config
run command in agent contexts when a worker needs to execute tests. The watch command is used in lane terminal sessions for continuous testing. The ci command is used during Mission validation phases and automation triggers.lanes.profiles — Lane environment templates
lanes.profiles — Lane environment templates
automations — Event-driven automation rules
automations — Event-driven automation rules
trust.approvedSha — Do not edit
trust.approvedSha — Do not edit
trust.approvedSha field automatically as part of the approval workflow. Editing it manually will cause ADE to treat the config as unapproved and pause all commands until you complete the approval flow again.local.yaml — Full Schema Reference
Personal preferences — gitignored, never shared. Overrides ade.yaml values for your machine only.
local.secret.yaml — Full Schema Reference
API keys and service credentials. Always gitignored. Only the Electron main process reads it — the renderer never has access to its raw contents.
Hot-Reload Behavior
ADE watches all three config files using filesystem events (debounced 500ms). Changes take effect without restarting ADE.| File | What happens on change |
|---|---|
ade.yaml | ADE detects the change, diffs against the approved SHA, and suspends commands until you approve the new version |
local.yaml | Applied immediately; UI reflects changes (theme, font, notification preferences) within one render cycle |
local.secret.yaml | API key changes take effect on the next agent call; GitHub and Linear token changes trigger a refresh of the affected integration |
Best Practices
What to commit
What to commit
ade.yaml. It contains the team’s shared AI model defaults, lane profiles, automation definitions, test suite config, and process definitions. Committing it ensures all team members use the same baseline configuration.Do not commit local.yaml or local.secret.yaml. ADE’s .gitignore entries cover these, but double-check when initializing new repositories.Rotating API keys
Rotating API keys
local.secret.yaml and save. ADE hot-reloads the file and uses the new key on the next API call. The old key is never cached — once the file is saved, the old value is gone from memory.Never commit the old or new key values to git during rotation. If a key was accidentally committed, revoke it at the provider immediately regardless of whether you have since removed it from the file.Reviewing ade.yaml changes from teammates
Reviewing ade.yaml changes from teammates
git pull and ade.yaml has changed, ADE shows the approval dialog before resuming any command execution. Read the diff carefully — pay particular attention to changes in automations[*].executor, processes[*].command, and testSuites[*].ci. These fields define commands that will run on your machine.Using environment variables instead of file values
Using environment variables instead of file values
ADE_ANTHROPIC_API_KEY, ADE_OPENAI_API_KEY, etc. in the process environment before launching ADE. Environment variable values take precedence over local.secret.yaml.Multiple projects on the same machine
Multiple projects on the same machine
.ade/ directory with its own local.yaml and local.secret.yaml. You can use different API keys or different preferred models for different projects. Settings in one project’s .ade/ never affect another project.