Repository navigation
Description
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:
- Queued prompts behave like steer prompts; multiple queued prompts sent simultaneously #17285 queued prompts behave like steer prompts / multiple queued prompts sent simultaneously
- Sending a message near the end of a codex response does not queue it #13078 sending a message near the end of a response does not queue it
- TUI can get stuck with 'Messages to be submitted after next tool call' when sending during active output #15842 pending queued/steer input can get stuck
- TUI mixes queued follow-ups with removed steer state, causing "pending steer" leakage and delayed execution #13892 queued follow-ups mixed with pending steer state
- Allow control slash commands like /permission and /fork during an active run #15137 control slash commands during active runs
Activity
etraut-openai commentedon Apr 23, 2026
This is currently by design, not a bug. I'll change this to a feature request.
[-]Queued prompts after queued /new are dropped when /new completes[/-][+]Allow queued prompts after queued /new[/+]JoeRoddy commentedon Apr 23, 2026
@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.etraut-openai commentedon Apr 23, 2026
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.JoeRoddy commentedon Apr 23, 2026
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.JoeRoddy commentedon May 17, 2026
@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.
etraut-openai commentedon May 31, 2026
This feature request hasn't received enough upvotes, so I'm closing.