You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PR autopilot with a trust dial: CI green, address feedback, merge when conditions met #255
Inspired by GitHub Copilot's Agent Merge and Copilot CLI's /pr auto and /pr automerge, plus Greptile's auto-approve-under-risk-ceiling.
A per-thread graduated-autonomy setting for landing PRs: level 1 = drive CI to green; level 2 = also address review feedback (#161 is the plumbing); level 3 = merge automatically when configurable conditions hold (checks green, N approvals, no P0 review findings, path/author filters; auth/secrets/migrations never auto-merged). The trust dial is the UX: one control, explicit levels.
Research notes (Mergify State of Merge Queues 2026, Trunk): (1) batch-and-bisect merging: batch compatible agent PRs through one CI run, auto-bisect failed batches to isolate the culprit. (2) Trunk-style flaky-test quarantine so agents stop chasing false CI failures (mute-and-track, with auto-filed tickets). (3) Their data: AI-assisted PRs broke main HALF as often as human ones (1.9% vs 4.4%); good ammunition for the trust dial's defaults.
Deep-dive detail (Conductor): user TODOs that gate merge — checklist items in a merge-readiness panel that block merging until checked off. Human-verified gates complementing the agent verification side.
Claude Code Desktop's shipped version of the trust dial is two toggles in a CI status bar (docs):
After a PR is opened, a CI status bar appears in the session; gh polls check results and surfaces failures.
Auto-fix toggle: Claude reads the failure output and iterates until checks pass.
Auto-merge toggle: merges once all checks pass, squash only — and it requires GitHub's own auto-merge to be enabled on the repo first, so the ultimate gate is a repo setting the agent cannot flip.
Desktop notification when CI finishes; optional auto-archive of the session when the PR merges or closes.
Three things Solenta should copy directly:
The dial lives on the PR, in the thread, after the PR exists — not in global settings. The user opts into autonomy for this change with the diff still on screen.
Leaning on GitHub's native auto-merge instead of merging itself. The agent enables a GitHub feature; branch protection and required reviews stay authoritative. That is much less machinery than Local merge queue: serialized lanes with a check gate and human-only promote #346's local merge queue and it cannot bypass repo policy.
Squash only. One knob fewer.
Together with #161 (route CI failures back to the thread) this is the whole loop; #363's PR-status sidebar icon is the glanceable half of the same status bar.
Core shipped in 0.24.0: PR watch-and-wake (electron/prWatch.js) fixes failing CI and answers reviews and conflicts, and auto-merge when green uses gh pr merge --auto. A single "trust dial" setting was not built; open a fresh issue if it's still wanted. Closing in the 2026-10-09 board cleanup (#1532).
Activity
currentbits commentedon Aug 17, 2026
Research notes (Mergify State of Merge Queues 2026, Trunk): (1) batch-and-bisect merging: batch compatible agent PRs through one CI run, auto-bisect failed batches to isolate the culprit. (2) Trunk-style flaky-test quarantine so agents stop chasing false CI failures (mute-and-track, with auto-filed tickets). (3) Their data: AI-assisted PRs broke main HALF as often as human ones (1.9% vs 4.4%); good ammunition for the trust dial's defaults.
currentbits commentedon Aug 17, 2026
Deep-dive detail (Conductor): user TODOs that gate merge — checklist items in a merge-readiness panel that block merging until checked off. Human-verified gates complementing the agent verification side.
currentbits commentedon Aug 19, 2026
Claude Code Desktop's shipped version of the trust dial is two toggles in a CI status bar (docs):
ghpolls check results and surfaces failures.Three things Solenta should copy directly:
Together with #161 (route CI failures back to the thread) this is the whole loop; #363's PR-status sidebar icon is the glanceable half of the same status bar.
currentbits commentedon Oct 9, 2026
Core shipped in 0.24.0: PR watch-and-wake (
electron/prWatch.js) fixes failing CI and answers reviews and conflicts, and auto-merge when green usesgh pr merge --auto. A single "trust dial" setting was not built; open a fresh issue if it's still wanted. Closing in the 2026-10-09 board cleanup (#1532).