Skip to content

Make user input blocking behavior explicit - #36410

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/29aade657ef743065ec264376ba567a9b353d7d7
Aug 1, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/29aade657ef743065ec264376ba567a9b353d7d7

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

Make user input blocking behavior explicit

Why

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.

What changed

  • 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.

Testing

  • Cover mode-derived blocking behavior, legacy deserialization, app-server
    forwarding, delegated requests, and TUI auto-resolution.

## Why

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.

## What changed

- 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.

## Testing

- Cover mode-derived blocking behavior, legacy deserialization, app-server
  forwarding, delegated requests, and TUI auto-resolution.

GitOrigin-RevId: 29aade657ef743065ec264376ba567a9b353d7d7
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/29aade657ef743065ec264376ba567a9b353d7d7 branch from 6e7b6ea to e2c0837 Compare August 1, 2026 00:38
@copyberry
copyberry Bot merged commit e2c0837 into main Aug 1, 2026
22 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/29aade657ef743065ec264376ba567a9b353d7d7 branch August 1, 2026 00:39
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants