openai / openai/codex

Failed to branch before the selected prompt: the selected prompt is a steer and cannot be branched independently

Open
#38,865 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug CLI session TUI
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

What version of Codex CLI is running?

0.147.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.6-sol

What platform is your computer?

No response

What terminal emulator and version are you using (if applicable)?

No response

Codex doctor report

What issue are you seeing?

■ Conversation interrupted - tell the model what to do differently. Something went wrong? Hit /feedback to report the issue.
■ Failed to branch before the selected prompt: the selected prompt is a steer and cannot be branched independently

What steps can reproduce the bug?

Steer it, then interrupt (Esc); Esc x2 to go back to modify the steer prompt => impossible

What is the expected behavior?

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the flow in Codex CLI: send a steer, press Esc to interrupt, then press Esc again to modify the steer prompt. Trace the interrupt and branching flow that produces the error, and consider the issue done when this sequence lets the selected steer be edited or branched without the failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.