Repository navigation
Description
What version of the Codex App are you using?
OpenAI.Codex 26.707.3748.0 (Windows x64)
What issue are you seeing?
A normal same-directory fork contains the source thread's completed raw turns, but the agent in the fork does not receive or recognize the complete conversation history. It can claim that a specific earlier response is absent even though that exact response is present in the forked thread data. The context available to the agent may instead contain incomplete or seemingly unrelated task information.
This makes normal forking unreliable for continuing work from an earlier point.
Steps to reproduce
- Open a Codex Desktop task with a substantial completed conversation history.
- Wait for the active response to finish.
- Create a normal fork (same directory, not a worktree fork).
- In the fork, ask the agent whether it can see a specific completed assistant response from the source task.
- The agent says it cannot see that response or describes different context.
- Inspect the fork using the app's thread-reading interface: the supposedly missing user and assistant turns are present in the fork's stored history.
- Paste the missing response manually; the agent can then use it normally.
Expected behavior
A normal fork should provide the agent with the completed conversation history copied into the child thread, including earlier user messages, assistant responses, decisions, and task state.
Actual behavior
The child thread stores the correct raw turns, but the model-visible context is incomplete or reconstructed from an incorrect/insufficient summary. The agent denies seeing messages that demonstrably exist in the fork.
Evidence from this reproduction
- Source and fork used the same workspace directory.
- The missing response was a completed final assistant response, not an active or interrupted turn.
- Reading the child thread showed the exact missing response in its raw turn list.
- The child agent nevertheless explicitly stated that it did not see that response until it was pasted again.
- No data appears to have been lost at the persistence layer; the failure appears between persisted fork history and model-context construction/compaction.
Impact
Forking cannot be trusted for branching long planning or implementation conversations. Users may unknowingly continue with missing decisions or unrelated context, leading to incorrect changes.
Related issues
- Recent Thread history wiped in app, present in CLI #17354 — stored history remains present while app-visible/runtime history is missing
- Extend compaction prompt to reduce loss over multiple compactions #14347 — context compaction can lose earlier history
- thread/resume and thread/fork ignore developerInstructions override on first resumed turn #19045 —
thread/forkcan fail to inject expected model-visible context on the first turn (developer-instruction-specific) - Bug report: Session resume after rate limit loses task intent and continues on wrong context #8310 — resumed sessions can lose task intent and continue with unrelated context
This appears distinct because it specifically reproduces on a normal Desktop fork, and the complete raw turns are verifiably present in the child thread while unavailable to the child agent.
Activity
github-actions commentedon Jul 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
VolkumDev commentedon Aug 28, 2026
Another showcase of the incompetent people of OpenAI, what a surprise