You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on the same worktree I often usually fork multiple threads and after a certain point I want to merge those threads back into the base thread. This is a feature that I come across as needing frequently and I want to propose to add it to codex as well.
What the feature does
Given a source thread and K additional threads create a new thread with merged histories of all those threads.
User-facing behavior
In the implementation from the PR, the feature is exposed in the TUI via /combine.
The flow is:
choose a base thread
load candidate threads from the same workspace
select source threads in order
review the selection
create a new combined thread
The resulting thread shows provenance in history and metadata so the user can see which threads were combined.
Why this is needed
Forking is already a strong workflow for branching exploration, but there is currently no clean way to bring useful branches back together.
Creating a merge function gets complex quickly with trying to derive ancestors and maintaining thread history post compaction. Thus we decide to open this feature up to combine any N threads and leave it up to the user to decide if threads should be merged.
Activity
etraut-openai commentedon May 2, 2026
This feature request hasn't received enough upvotes, so I'm closing it.
vishaltandale00 commentedon May 2, 2026
🫥