fix: tell a hands-off run its await gates are unavailable (#1234) - #1250
Merged
Conversation
suleimansh
marked this pull request as ready for review
July 26, 2026 23:07
suleimansh
marked this pull request as draft
July 26, 2026 23:15
suleimansh
marked this pull request as ready for review
July 26, 2026 23:17
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 #1234
Send an ambiguous prompt to a Run on: Claude web session and our own system prompt tells it to showChoices and AWAIT. It obeys, parks on a question, and the session is spent: nothing local can answer it (see #1234 for why every read/write route is closed).
This is the interim fix the issue settled on, worded as availability per the OP:
prompts/protocols/hands_off.md, composed bycomposeRunSystemright after the await protocol it amends, only whenDriver.handsOffis set (fix(the-framework): end a Claude web run at the hand-off (#1225) #1231). It covers all four await gates, tells the agent to take the most plausible reading, state the assumption in one line, and carry on. Non-blocking blocks are unaffected, andprompts/system_prompt.mdis untouched, so the System prompt #326 byte guard does not move.run.tsandprompt-run.ts) so they cannot drift (System prompt: clean internal architecture + unit tests #501).runFrameworkwith a hands-off driver.The long-term shape (gates as per-session capabilities, and the #1237 bridge answering the questions that still happen) stays as discussed on the issue; this block deletes itself cleanly once that lands.
Note:
check:prompt-driftcurrently fails on main over the ANLYSIS/ANALYSIS rename (repo commit 63095ae vs the #326 issue body); unrelated to this PR.