Skip to content

Accept user input when starting idle turns - #36947

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/116667d160d4464b525d9e4c7e8cc05d23a94008
Aug 4, 2026
Merged

Accept user input when starting idle turns#36947
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/116667d160d4464b525d9e4c7e8cc05d23a94008

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Accept user input when starting idle turns

What changed

  • Generalize CodexThread::try_start_turn_if_idle to accept exported
    TurnInput values, preserving user content and client IDs in the first model
    request.
  • Allow non-empty user input to start an idle turn in Plan mode while retaining
    the Plan-mode rejection for automatic response items and empty user input.
  • Process idle user input through the normal user-turn path so connector
    selections are cleared, prompt telemetry is recorded, and referenced skill
    instructions are included.

Testing

  • Cover idle user input in Default and Plan modes, response-item mailbox
    merging, empty-input rejection, and skill instruction injection.

## What changed

- Generalize `CodexThread::try_start_turn_if_idle` to accept exported
  `TurnInput` values, preserving user content and client IDs in the first model
  request.
- Allow non-empty user input to start an idle turn in Plan mode while retaining
  the Plan-mode rejection for automatic response items and empty user input.
- Process idle user input through the normal user-turn path so connector
  selections are cleared, prompt telemetry is recorded, and referenced skill
  instructions are included.

## Testing

- Cover idle user input in Default and Plan modes, response-item mailbox
  merging, empty-input rejection, and skill instruction injection.

GitOrigin-RevId: 116667d160d4464b525d9e4c7e8cc05d23a94008
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/116667d160d4464b525d9e4c7e8cc05d23a94008 branch from 6f63262 to 989a0b0 Compare August 4, 2026 18:52
@copyberry
copyberry Bot merged commit 989a0b0 into main Aug 4, 2026
20 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/116667d160d4464b525d9e4c7e8cc05d23a94008 branch August 4, 2026 18:54
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 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.

1 participant