Repository navigation
Hand Self-merge check holds to the Day shift - #2438
Merged
Merged
Conversation
Owner
Author
|
Delivery completed on agent-authored or reviewed head 392511a. |
# Conflicts: # site/index.html # src/fix/selection.rs # src/logs.rs # src/logs/reading.rs # src/logs/reading/attribution.rs # src/logs/reading/inbox.rs # src/ready.rs
This was referenced Dec 5, 2026
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.
Summary
Pickup shares one branch and PR observation per readiness check and refreshes independently after reservation. The Ready issue checklist documents the hold. The Sign-off hold continues to decide CI readiness before a Run reaches its Self-merge check. An explicit
no-self-merge-checkstill lets Fix Pass consider a held PR under its usual rules.Evidence
Execution evidence
cargo test --test pickup_run an_all_closed_spec_with_an_empty_later_ticket_read_is_still_passed_over -- --exactleft: 2andright: 1.cargo test --test process a_later_process_failure_keeps_the_dispatched_self_merge_hold_in_email -- --exactResult: failedandCause: exit status 1. The hold-reason assertion failed.cargo test --test process published::a_nested_published_ticket_hold_reaches_its_owning_process_email -- --exactResult: succeeded. The nested hold-reason assertion failed.unless_mergedemail naming the open nested PR and its hold reason.cargo test --test pickup_run pickup_leaves_an_open_self_merge_check_hold_for_the_day_shift -- --exactdispatched Keeping the PR mergeable: merge the Base branch and conflict Repair #8 and left the held PR for Numbered Issue branches after a merged or closed PR #7 open.cargo test --locked --test fix_pass self_merge_checkpassed the skip, CI-red and conflict repair, and explicit override cases.cargo test --test ci a_self_merge_check_and_sign_off_hold_apply_independently -- --exactpassed.cargo test --test base_fix a_base_fix_obeys_the_self_merge_check -- --exactpassed with the held Base fix’s PR and reason in Ready for review.cargo test --locked --test self_merge_check a_pickuppassed both first-observed PR-body cases.The Ready issue checklist check failed with
AssertionError: Ready issue checklist omits the holdand passed after the documentation edit.npm run docs:check --prefix sitepassed after regenerating the manual.cargo test --locked --test pickup_model -- --nocapturepassed its claimed-dispatch checks. It also reproduced the model’s documented pre-Claim counterexample.npm test --prefix sitepassed all 74 checks. Local desktop and mobile Console walkthroughs showed the Base fix PR and its reason in Ready for review and in Command details. The Pickup documentation worked with JavaScript enabled and disabled.All four Linux Rust partitions, the coverage gate, the Console browser suite, and the site suite passed on
40922190. GitHub Actions runThe regression seams are the Pickup CLI and its GitHub calls, Fix Pass selection and Repair,
thirdshift status, and the owning Run’s email delivered to a Resend stand-in.Merge Danger
Door Two-way. Reverting restores the previous selection, Inbox, and notification behavior.
Blast radius Automation. This affects scheduled Pickup and Fix Pass selection, Ready for review, and notifications that report held PRs.
Unaddressed findings
Standards
None.
Spec
logs.dirand the same GitHub state. Both probes exited 101. The repository-scoped inventory atsrc/logs/reading.rs:553reads the executing host’s retained Command records. Spec Self-merge check: a repository-owned command that can hold any Self-merge #2421 and ADR 0037 define check execution and recording. A shared hold source, its lifetime, and how the Day shift releases it remain a Day shift decision. Follow-up #2439 · ADR 0037Security
None. The review traced the hold reason from the repository-owned check through the Inbox, Console, Pickup output and Run notification, plus Fix Pass and Pickup hold selection. The reason comes from a check that already runs repository code on the host, and the Console escapes it (a local
<b>payload rendered as text). Hold selection only leaves more pull requests for a person; it never skips the check before a Self-merge.Security review outcome
No unaddressed introduced findings.
Review coverage
Spec read all changed files. Standards read every changed file except
tests/process/published.rs, which contains the nested notification regression added after its follow-up. Both reviewers read the generated manual.Closes #2427
Built with codex codex-cli 0.167.2 · gpt-6.2-sol · xhigh