Repository navigation
Make request_user_input blocking behavior explicit - #611
Merged
Merged
Conversation
Clients need to know whether a `request_user_input` request must wait for an explicit response or may auto-resolve. Using `autoResolutionMs` as that signal conflated the blocking decision with timeout policy. - Add required `isBlocking` fields to user input protocol and app-server request payloads. Plan-mode requests are blocking, while requests from other enabled modes are non-blocking. - Drive the TUI's auto-resolution behavior from `isBlocking` and remove `autoResolutionMs` from the model-facing tool schema. - Deprecate `autoResolutionMs` while retaining it for compatibility, and treat legacy payloads without `isBlocking` as blocking. - Cover mode-derived blocking behavior, legacy deserialization, app-server forwarding, delegated requests, and TUI auto-resolution. GitOrigin-RevId: 29aade657ef743065ec264376ba567a9b353d7d7
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
GraciousGazelles
marked this pull request as ready for review
August 14, 2026 03:11
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Aug 14, 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
request_user_inputblocking-intent change onto the maintained downstream branchisBlockingprotocol and app-server fields while keeping legacy payloads fail-safe as blockingWhy
The presence of a timeout field should not be the authority for whether a user decision is mandatory. Making blocking intent explicit prevents required decisions from expiring while retaining a clear non-blocking path for prompts that may auto-resolve.
This is adapted from upstream commit
e2c0837923ca29b54facdb567326db42a0aefd1b(openai#36410).Validation
78ada8ea24f9996524ec90749b0105687523f359blocking-cirun https://github.com/sednalabs/codex/actions/runs/31761040176 succeeded on attempt 2Final status
2026-08-14T08:04:45Zad234c55af87193f94f9651416fa53b36a19d391