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.
What is the Pull Requests View?
The PRs tab is ADE’s GitHub-connected PR management interface: every PR across every lane, with CI status, review state, and merge readiness visible without leaving the app. Each lane maps to at most one PR, and that link is surfaced in the Lanes view, the Workspace Graph, and the History timeline.Lane-to-PR Mapping
Stacked PR Support
Pre-Merge Simulation
Lane-to-PR Mapping
Every lane can have at most one associated PR at any time. The mapping is created when you open a PR from a lane and persists until the PR is closed or merged.| Lane State | PR Badge Shown |
|---|---|
| No PR created yet | ”Create PR” button |
| Draft PR open | Draft badge (grey) |
| PR open, no review | Open badge (blue) |
| PR approved | Approved badge (green) |
| Changes requested | Changes Requested badge (amber) |
| PR merged | Merged badge (purple) |
| PR closed (unmerged) | Closed badge (red) |
Creating a PR from a Lane
Open the lane's PR action
Review the pre-filled form
- Title — generated from the lane’s intent (from its Lane Pack)
- Description — the lane’s intent, acceptance criteria, and diff summary, formatted as markdown. If your repository has a
.github/pull_request_template.md, the template is prepended and the Lane Pack content is appended below it. - Base branch — the lane’s base branch. For stacked lanes, this is automatically set to the parent lane’s branch (not
main). - Reviewers — any reviewers configured in the lane settings or in
.ade/ade.yaml - Labels — labels mapped to the lane’s associated Linear issue (if connected)
Toggle draft mode if needed
Stacked PRs
ADE has first-class support for stacked PR workflows, where a series of lanes build on each other and their PRs target each other (rather than all targetingmain).
How Stacked PRs Are Structured
When a lane is stacked (its base branch is another lane’s branch), ADE automatically targets that lane’s branch when creating a PR:When a Parent PR Merges
When PR #42 (lane/auth-base → main) is merged:
- ADE detects the merge event via GitHub webhook / polling
- ADE automatically rebases
lane/auth-middlewareontomain(since its parent has now landed onmain) - The target branch of PR #43 is updated from
lane/auth-basetomain - If the rebase encounters conflicts, the affected lane enters
conflictstatus and the rebase pauses for manual resolution - The process repeats for each subsequent lane in the stack
.ade/ade.yaml under stacks.auto_rebase_on_parent_merge: false if you prefer to handle rebase timing manually.Stack Management
The PR list displays stacked PRs with indentation and dependency arrows. The stack header row shows:- Total PRs in the stack
- Number approved / pending / failing CI
- Merge Stack button (enabled when the bottom PR is ready to merge)
PR Detail View
Select any PR in the list to open its full detail in the right panel. The detail view has five tabs.- Overview
- Files Changed
- Comments
- Timeline
- Simulation
- Title and description — rendered markdown, with edit button (requires GitHub auth)
- Status badges — PR state, draft indicator, merge readiness score
- CI checks — all GitHub Actions checks with their current status (passing, failing, pending, skipped). Click any check to see its log output in an inline log viewer.
- Reviewers — reviewer avatars with approval/changes-requested/pending state
- Assignees and labels
- Base branch and head branch
- Creation date and last updated timestamp
- Conflict Risk badge — the latest integration simulation result for this PR
PR Actions
All PR actions are available from the detail view’s action bar at the top of the right panel.Update PR Description
Update PR Description
Request Review
Request Review
CODEOWNERS if present) and previous review history for the affected files.Approve / Submit Review
Approve / Submit Review
Mark as Ready
Mark as Ready
Merge PR
Merge PR
Close / Reopen PR
Close / Reopen PR
CI/CD Integration
ADE polls GitHub Actions for CI status on all linked PRs. The CI check list is visible in the PR Overview tab and as an icon badge on the PR list entry.Reading CI Status
| Icon | Status | Meaning |
|---|---|---|
| Green checkmark | success | Check passed |
| Red X | failure | Check failed |
| Yellow spinner | pending | Check is running |
| Grey dash | skipped | Check was skipped |
| Orange exclamation | action_required | Manual action needed |
Viewing CI Logs
Click any check name to expand its log output inline in the Overview tab. Logs are syntax-highlighted for common CI output formats (Go test output, Jest, pytest, etc.). UseCmd+F inside the log viewer to search for specific error text.
CI Failure Assistance
When any required check fails, a “Ask CTO about this failure” button appears below the failing check. Clicking it:- Opens the CTO chat panel
- Pre-loads the failing check’s log output as context
- Pre-fills the message: “CI is failing on PR #[N] in the [check-name] step. Here’s the log: […]”
Merge Strategies
ADE supports all three GitHub merge strategies. Select the strategy in the merge dialog.| Strategy | Description | When to use |
|---|---|---|
| Merge commit | Creates a merge commit with all individual commits | When you want the full commit history preserved |
| Squash and merge | Squashes all commits into one before merging | When individual commits are noisy and you want a clean history |
| Rebase and merge | Replays commits linearly onto the base branch | When you want linear history without a merge commit |
.ade/ade.yaml under stacks.merge_strategy.Stack Merge Workflow
The Merge Stack feature merges all PRs in a stack from bottom to top in the correct order, automatically rebasing each subsequent PR after the previous one lands.Verify stack readiness
Click 'Merge Stack'
Review the merge order
Monitor the merge sequence
main and updates its target branch, then merges PR #2, and so on. A progress indicator tracks each step.If a merge step fails (e.g., because the rebase encountered a conflict), the process pauses and surfaces the conflict for resolution. After you resolve it, click Resume Stack Merge to continue.Draft PRs
Lanes created with “draft” mode produce draft PRs. Draft mode can be set:- At lane creation time (in the New Lane dialog, under Advanced)
- After creation, in the Lane Settings (kebab menu ⋮ > Settings > PR Settings > Draft mode)
- Per-project default in
.ade/ade.yaml:
PR Templates
ADE respects.github/pull_request_template.md if present in your repository. When generating a PR description, ADE:
- Loads the template content
- Appends the lane’s intent and acceptance criteria (from the Lane Pack) below the template
- Fills in any template sections it can infer (e.g., “Type of change” checkboxes based on the diff)
.github/PULL_REQUEST_TEMPLATE/), ADE presents a dropdown to select which template to use when creating the PR.
Troubleshooting
Merge is blocked — 'Base branch is not up to date'
Merge is blocked — 'Base branch is not up to date'
conflict status and the Conflicts tab shows the details.Stale PR — description doesn't reflect recent commits
Stale PR — description doesn't reflect recent commits
CI is failing but the code looks correct
CI is failing but the code looks correct
Stack Merge paused mid-sequence
Stack Merge paused mid-sequence
Lane and PR are out of sync
Lane and PR are out of sync
Cannot post comments — authentication error
Cannot post comments — authentication error
pull_requests: write scope, or a GitHub App installation. Configure GitHub authentication in Settings > Integrations > GitHub. Read-only PR viewing (status, diffs, CI) works with a read-only token or the public GitHub API.Path to Merge
The Path to Merge tab is a dedicated convergence workspace inside every PR detail view. It provides a complete loop for resolving all outstanding issues — review comments, CI failures, and merge conflicts — until the PR is ready to land.Issue Inventory
ADE automatically scans the PR and builds an issue inventory — a structured list of every item blocking merge readiness:| Source | Detection |
|---|---|
| Review comments | GitHub review threads requesting changes |
| CI check failures | Any required check that is not passing |
| Bot reviews | Comments from review bots are auto-detected from the [bot] suffix on GitHub usernames — CodeRabbit, Copilot, Codex, Greptile, Seer, and any future GitHub App review bot are recognized without configuration |
| ADE PR issue resolver | ADE’s built-in issue resolver proactively detects and proposes fixes for common PR problems (missing tests, type errors, lint failures) before you run a full convergence round |
- State:
new,sent_to_agent,fixed,dismissed, orescalated - Severity:
critical,major, orminor(extracted from the issue body) - Headline: A compact display title extracted from the first line or bold text
- Source attribution: Whether the issue came from a human reviewer, CodeRabbit, Copilot, Codex, or ADE itself
Manual Convergence
In Manual mode, you control each resolution round:Review the issue inventory
Configure the round
Run Next Round
Auto-Converge Mode
Toggle Auto-Converge to let ADE run the full convergence loop autonomously:- Agent round — ADE launches a resolution round with all new issues
- Wait for CI — After the agent commits, ADE polls GitHub for check completion (~60s intervals)
- Wait for comments — Once checks finish, ADE polls for new review comments, requiring 2 stable polls before proceeding
- Decision gate — If new issues appeared: launch the next round. If no new issues: mark convergence as complete
- Auto-merge (optional) — If
autoMergeis enabled in pipeline settings and convergence is complete, ADE merges the PR automatically
- Rebase needed: If the PR is behind its base branch, behavior depends on the
onRebaseNeededsetting (auto_rebaseorpause) - Max rounds reached: Pauses and notifies you instead of running indefinitely
- Agent still running: Shows a “Agent working on round N…” banner with a link to view the active session
Pipeline Settings
Configure convergence behavior per-PR from the Path to Merge panel, or set project-wide defaults in.ade/ade.yaml:
| Setting | Default | Description |
|---|---|---|
autoMerge | false | Merge the PR automatically when all issues are resolved and checks pass |
mergeMethod | repo_default | Which GitHub merge strategy to use. repo_default uses whatever the repository allows |
maxRounds | 5 | Maximum convergence rounds before auto-converge pauses (1–20) |
onRebaseNeeded | pause | What to do when the PR branch is behind: pause stops and asks you; auto_rebase rebases automatically |
CTO Operator Tools
The CTO agent can drive PR convergence programmatically using five dedicated tools:| Tool | Description |
|---|---|
getPullRequestConvergence | Read the full convergence state: issue inventory, runtime, pipeline settings |
updatePullRequestConvergencePipeline | Edit pipeline settings (autoMerge, mergeMethod, maxRounds, onRebaseNeeded) |
updatePullRequestConvergenceRuntime | Directly set runtime state (status, poller, active session) |
startPullRequestConvergenceRound | Launch the next convergence round with a specific model, scope, and instructions |
stopPullRequestConvergence | Stop an active convergence run and interrupt the running session |
Configuration reference
Key PR-related settings in.ade/ade.yaml: