Main controls
Lane scope
Sessions run inside the selected lane’s worktree under
.ade/worktrees/, isolated from your primary checkout and from other lanes.Provider permission modes
Claude Code, Codex, Cursor, Factory Droid, and OpenCode each expose their own approval modes; ADE maps them to a common set.
Shared-config trust
Shared config that can spawn processes requires a trust confirmation before ADE will run it.
Secrets
Provider keys and credentials stay in local encrypted stores or gitignored files — never in shared config.
Lane scope
A lane is a git worktree. Chats, terminals, CLI sessions, and the processes they start are scoped to that worktree, so an agent working a task can’t reach into your primary checkout or another lane’s files. Do agent edits in lanes and keep the primary checkout for inspection — it’s your real working tree and the safer default to leave alone.Per-agent tool control
Each agent runs with a permission mode that governs how freely it can edit files and run commands. Set a stricter mode for unfamiliar repositories, and a more permissive one only when you trust the lane and the task. You can also scope which tools a session may use from the chat header.
Provider permission modes
How provider modes map
How provider modes map
Permission names vary by provider, but ADE groups them into a common set:
Set defaults per provider in Settings → AI Connections, and override per chat or worker as needed.
| Mode | Meaning |
|---|---|
| Plan / read-only | The agent can inspect and propose, but cannot freely edit. |
| Edit / default | The agent works in the lane with normal approval guardrails. |
| Full auto | The agent runs with fewer prompts. Use only when the environment is trusted. |
| Custom | The provider’s own configuration decides. |
The trust model for shared config
ADE splits project configuration into shared, version-controlled.ade/ade.yaml and a per-user, gitignored .ade/local.yaml. Shared config can introduce new commands — processes, stacks, test suites — that you haven’t approved. ADE treats that as sensitive: when the shared config changes, it must be trusted again before ADE will return an executable config that spawns processes. Cloning a repo and opening it requires confirming trust on its shared config the first time.
Local config isn’t trust-gated — you only need to trust your own overrides. Treat a shared-config change the same way you’d review a CI script or Dockerfile.
Practical defaults
- Do agent edits in worktree lanes, not the primary checkout.
- Keep the primary checkout for inspection or manual commands.
- Review diffs before committing or pushing.
- Use stricter approval modes for unfamiliar repositories.
- Keep provider keys and tokens out of shared config and out of Git.
- Review shared-config changes carefully before confirming trust.
Sensitive actions
Be extra careful with:- Force pushes.
- Commands that run outside the repository.
- Secret files and
.envfiles. - Scripts pulled from unreviewed branches.
- Networked deployment or release commands.
AI providers
Connect each agent and set permission presets.
Configuration overview
The
.ade/ directory, the trust model, and what not to commit.