Conversation
The enqueue-and-re-enter handoff needs a session that can be prompted again on the landing-complete message. A launched worker cannot be: it is a headless command, so ending its pass on landing_pending=true left the branch landed and the item at reviewing-implementation with nobody to close it out — seven times in one night, each recovered by hand or by an improvised poll loop. Route the landing by whether the session can be re-entered. An operator-opened session keeps the two-call handoff. A launched worker passes --wait and holds its turn on the merge watcher wrapper, which polls the same four-fact landing readback (armed, queued, eligible, required checks) the handoff observer reads. Every way that wait ends is named: merged closes the item out in the same turn, a stopped landing rebases and re-gates, a red required check is terminal, and only the poll budget running out ends the turn — parked, with a HUMAN_GATE naming the reading and the resume command. None of them is silence. The blanket "Claude never passes --wait" is gone from every surface that taught it; what remains is the real constraint, that no session blocks a bare foreground call on the full wait. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Item branch for YOK-2793; lands through the merge queue's merge_group integration gate.