Switching to sub-agents resets queued prompts in the main agent
Resolved 💬 1 comment Opened Mar 2, 2026 by sasanktumpati Closed Mar 2, 2026
What version of Codex CLI is running?
0.106.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.3-codex
What platform is your computer?
Darwin 25.2.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Kitty
What issue are you seeing?
https://github.com/user-attachments/assets/10a891bb-2557-4c03-b8c7-2e19175833d4
Switching between different agents via /agent removes the queued prompts.
What steps can reproduce the bug?
- Tell codex to spawn a sub-agent and queue a prompt in the main agent
- Switch to the sub-agent spawned and then switch back to the main agent
- The prompt that was queued is removed from the queue in the main agent.
This also happens for prompts queued in the subagents.
What is the expected behavior?
The queued prompts should persist
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗