Skip to content

Allow empty input to start a turn - #38084

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

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

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Allow empty input to start a turn

What changed

  • Permit immediate user-message admission to start a turn when Op::UserInput
    has no items. The turn can proceed with its generated environment context and
    does not emit a user-message item.
  • Continue rejecting empty input for persisted admission, where there is no
    user message to persist.

Testing

  • Cover successful empty-input turn admission and completion.
  • Cover prompt rejection of empty persisted admission.

## What changed

- Permit immediate user-message admission to start a turn when `Op::UserInput`
  has no items. The turn can proceed with its generated environment context and
  does not emit a user-message item.
- Continue rejecting empty input for persisted admission, where there is no
  user message to persist.

## Testing

- Cover successful empty-input turn admission and completion.
- Cover prompt rejection of empty persisted admission.

GitOrigin-RevId: d534cf0e228e3bc77f45fe6d9bd25c9073216fbd
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d534cf0e228e3bc77f45fe6d9bd25c9073216fbd branch from de07666 to 52d9218 Compare August 11, 2026 23:03
@copyberry
copyberry Bot merged commit 52d9218 into main Aug 11, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d534cf0e228e3bc77f45fe6d9bd25c9073216fbd branch August 11, 2026 23:04
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 11, 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