Repository navigation
Post-merge verification loop: delayed re-check, auto-reopen on regression - #494
Merged
currentbits merged 7 commits intoAug 18, 2026
Merged
Conversation
… Drag-and-drop images and folders onto the thread, like the C
… Subagent model pool: described candidates, the lead picks pe
… Thread breadcrumb: click the project slug to start a new thr
…read keyboard shortcuts (⌘N / ⌘⇧N)
… Linux: prove it works — no CI leg, never tested
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Resolve three conflicts: keep the #420 postmerge store helpers, and take main's slash-command palette wiring in Composer and ThreadView.
currentbits
deleted the
coder/post-merge-verification-loop-delayed-re--a7e398
branch
October 3, 2026 16:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #420.
Merged is not worked. After a thread's PR flips to MERGED, Solenta now schedules a delayed mechanical re-check of that thread's verify command against the merged default branch, and reopens the planboard issue (or starts a fix thread) if it regressed.
Why
The pre-merge gate (#296) only proves the worktree at turn time. Downstream landings and flaky suites can still break main hours later. This is the PostHog-style eval: re-run the tests after merge, not on the agent's word.
What changed
issueNumberwhen a thread is started from the planboard (also parsed from the firstGitHub issue #N:prompt).prState→ MERGED, if the thread has averifyCommand, arm a one-shotpostMergeVerify(default 24h;CODER_POSTMERGE_DELAY_MSfor tests). Not a user-visible Automation — those mint agent turns on a cadence.gh issue reopen+ comment +plan:todo, and spawn a Regression: fix thread with the Verification loop: agents must prove their work before a thread goes green #296 failure bundle (same verify command, worktree pending).Uses the existing automations scheduler pattern, the #296 verify engine, and the PR-state refresh hook. A crash mid-check heals back to scheduled-due.
Tests
Schedule / due / pass / fail / skip, plus a real detached checkout
reopenIssue(reopen + comment +plan:todo; already-open is success)PR refresh: OPEN → MERGED with a verify command arms the check
Verification card copy for the delayed status
PR created by the Grok agent