Setting Up the CTO
Open the CTO tab
Click the CTO tab in ADE’s left icon rail. On first launch, the onboarding wizard starts automatically.
Complete the onboarding wizard
The wizard walks through three steps:
- Identity creation — give the CTO a name and an initial persona prompt. This shapes how it communicates and what it prioritizes.
- Project scanning — the CTO reads your repository structure, existing PRD/architecture docs, recent git history, and
.ade/state to build its initial Project Pack. This takes 30–90 seconds on a typical project. - Integration handoff — optionally connect Linear (OAuth or manual token) and configure the heartbeat schedule.
**Screenshot: The CTO onboarding wizard on step 2 (“Project Scanning”) — showing a progress indicator with items being checked off: “Reading repository structure ✓”, “Analyzing recent commits ✓”, “Loading existing packs… (in progress)”, “Connecting to Linear (skipped)”.
Configure the heartbeat
In CTO > Settings, set the heartbeat interval. The default is every 15 minutes. You can also configure event-based triggers (e.g., “run when a PR is opened”, “run when a lane enters conflict status”).
Heartbeat Configuration
The CTO’s heartbeat is its core activation mechanism. On each heartbeat, the CTO runs a full project scan and takes any warranted actions.What the CTO checks on each heartbeat
- New commits — compares HEAD SHAs across all lanes to its last-known state
- PR status changes — checks for newly opened, approved, merged, or failed PRs
- Linear issue updates — polls for new comments, status transitions, and assignments in connected projects
- Stuck lanes — identifies lanes in
blockedorconflictstatus longer than a configurable threshold - Budget overruns — flags workers that have exceeded or are approaching their token/cost budgets
- Stale Lane Packs — identifies packs that have not been regenerated after recent commits
Heartbeat schedule options
- Interval-based
- Event-based
- Combined
Run every N minutes. Suitable for active development days where you want frequent check-ins.
Identity Restoration After Compaction
When a CTO chat session hits the compaction threshold, ADE automatically re-injects the CTO’s identity context after compaction completes. This means the CTO’s persona, core memory, memory protocol, and daily context instructions survive compaction — the CTO never loses its sense of self mid-conversation, even during very long sessions. This also applies to worker agents that have an identity key assigned.Manual activation
You can trigger the CTO immediately from the UI:- Click Run Heartbeat Now in the CTO Status panel
- Type a message in the CTO Chat — this activates the CTO in conversational mode
- Via Automations using the
cto-routeexecutor mode