Skip to content

Branch conversations when editing earlier TUI prompts - #33201

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

Branch conversations when editing earlier TUI prompts#33201
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/15473535b3f9733b0300711a498969e6d389db79

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

Branch conversations when editing earlier TUI prompts

What changed

  • Fork the conversation immediately before the selected prompt instead of rolling back the current thread in place, preserving the original conversation.
  • Reopen the selected prompt in the new conversation with its images, text elements, and mention bindings intact.
  • Start a fresh conversation when editing the first prompt, show a dedicated continuation notice, and restore the prompt with an error if branching fails.

Testing

  • Cover branching before first and later prompts, source preservation, prompt restoration, hidden review prompts, mid-turn steering, in-progress turns, stale transcript entries, and mention bindings.

## What changed

- Fork the conversation immediately before the selected prompt instead of rolling back the current thread in place, preserving the original conversation.
- Reopen the selected prompt in the new conversation with its images, text elements, and mention bindings intact.
- Start a fresh conversation when editing the first prompt, show a dedicated continuation notice, and restore the prompt with an error if branching fails.

## Testing

- Cover branching before first and later prompts, source preservation, prompt restoration, hidden review prompts, mid-turn steering, in-progress turns, stale transcript entries, and mention bindings.

GitOrigin-RevId: 15473535b3f9733b0300711a498969e6d389db79
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/15473535b3f9733b0300711a498969e6d389db79 branch from efa881b to 469ce0d Compare July 15, 2026 01:37
@copyberry
copyberry Bot merged commit 469ce0d into main Jul 15, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/15473535b3f9733b0300711a498969e6d389db79 branch July 15, 2026 01:38
@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.

2 participants