Skip to content

Keep interrupted prompts in conversation history - #33198

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/30b368d00dfdb981d06d4c95ce3f252389b7917c
Jul 15, 2026
Merged

Keep interrupted prompts in conversation history#33198
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/30b368d00dfdb981d06d4c95ce3f252389b7917c

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

Keep interrupted prompts in conversation history

What changed

  • Leave an output-free interrupted prompt in the transcript and open a blank
    composer for the user's next instruction.
  • Use the normal interruption notice for both Esc and Ctrl-C interrupts.
  • Track safety-buffering prompts separately so failed retries can still restore
    the prompt, including after switching between threads.

Testing

  • Cover output-free Esc and Ctrl-C interrupts, failed safety-buffer retries,
    and restoration of safety-buffer state from thread snapshots.

## What changed

- Leave an output-free interrupted prompt in the transcript and open a blank
  composer for the user's next instruction.
- Use the normal interruption notice for both `Esc` and `Ctrl-C` interrupts.
- Track safety-buffering prompts separately so failed retries can still restore
  the prompt, including after switching between threads.

## Testing

- Cover output-free `Esc` and `Ctrl-C` interrupts, failed safety-buffer retries,
  and restoration of safety-buffer state from thread snapshots.

GitOrigin-RevId: 30b368d00dfdb981d06d4c95ce3f252389b7917c
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/30b368d00dfdb981d06d4c95ce3f252389b7917c branch from 820c018 to 70a0b1e Compare July 15, 2026 01:08
@copyberry
copyberry Bot merged commit 70a0b1e into main Jul 15, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/30b368d00dfdb981d06d4c95ce3f252389b7917c branch July 15, 2026 01:09
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 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