Allow queued prompts after queued /new
What version of Codex CLI is running?
codex-cli 0.123.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.4
What platform is your computer?
Darwin 25.4.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
WarpTerminal 0.2026.04.15.08.45.02
What issue are you seeing?
Codex CLI lets users queue prompts with Tab while the current turn is running. Queued prompts normally run after the current turn completes.
If /new is queued, and additional prompts are queued after /new, the queued /new runs and creates a new chat, but the remaining queued prompts after /new are dropped. They do not run in the newly created chat and do not remain visible/recoverable in the queue.
This loses user-entered prompts without an explicit warning.
What steps can reproduce the bug?
- Start Codex CLI.
- Submit a prompt that keeps the current turn running long enough to queue follow-up input.
- While the current turn is running, type
/newand press Tab to queue it. - Type one or more additional prompts and press Tab to queue them after
/new. - Wait for the active turn to complete.
- Observe that
/newruns and creates a new chat. - Observe that the prompts queued after
/neware dropped instead of running after the new chat is created.
What is the expected behavior?
Queued prompts after /new should not be silently dropped.
Expected behavior should be one of:
/newcreates the new chat, then subsequent queued prompts run in that new chat in order.- Or Codex rejects/warns when queuing prompts after a queued
/new, making clear that/newis a queue boundary. - Or Codex preserves the remaining queued prompts and lets the user decide what to do with them.
In all cases, user-entered queued prompts should remain recoverable unless explicitly discarded.
Additional information
I searched open issues and did not find an exact duplicate. Related but not identical issues include:
- #17285 queued prompts behave like steer prompts / multiple queued prompts sent simultaneously
- #13078 sending a message near the end of a response does not queue it
- #15842 pending queued/steer input can get stuck
- #13892 queued follow-ups mixed with pending steer state
- #15137 control slash commands during active runs
6 Comments
This is currently by design, not a bug. I'll change this to a feature request.
@etraut-openai the messages successfully queue in the ui. If it's by design, then an error should be surfaced if a user attempts to queue a new message while
/newis already queue'd.<img width="940" height="385" alt="Image" src="https://github.com/user-attachments/assets/bd6b5ded-0fe4-4408-966d-5ed4177dfd2b" />
Queued messages are not parsed until they are dequeued, so
/newisn't recognized as a new command until after it its dequeued.Keep in mind that
/newcreates an entirely new conversation. I'm not convinced that retaining queued commands that are part of one conversation should be replayed in the context of a new conversation.so i almost had an "oh wow!" eureka moment with this product, when i queue'd
/newand experimented with queueing something else after (assuming it would emit an error). when it didnt error i had an immediate revelation and got excited with how powerful it could be, because i thought i could compose long chains of actions, while simultaneously retaining full control over when to reset the context window:eg:
this would let me compose long sequences of work, and then step away from my computer for 30 minutes while it operated. when
/newresolved, and nothing happened with the command that the cli let me queue, it effectively felt like a broken promise.<img width="600" height="99" alt="Image" src="https://github.com/user-attachments/assets/07d3ed44-03c7-45e1-866b-e32191ed6157" />
@etraut-openai i still find myself wanting to do this constantly. i want to fully clear the context window before the reviewer starts, to not bias the review.
i can queue a review after
/compactbut then the reviewer will know its reviewing its own changes.as a user it just feels like an arbitrary restriction on my ability to compose the queue.
This feature request hasn't received enough upvotes, so I'm closing.