# More useful context sharing (by forking or otherwise)

**URL:** <https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491>\
**Category:** Codex CLI\
**Tags:** codex-cli\
**Created:** [October 1, 2026, 8:58am UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491 "2026-10-01T08:58:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![matanox](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/matanox/32/628096_2.png) [@matanox](https://community.openai.com/u/matanox)\
**Post date:** [October 1, 2026, 8:58am UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/1 "2026-10-01T08:58:46Z")

</div>

Forking kind of works, but it seems to catastrophically merge conversations when forking more than once, even on the latest CLI update of today, at least on my system. Maybe that’s only a bug on my system.

It would be helpful to have a way to robustly reuse context as the basis for a new conversation, whether that’s part of the fork feature or a different one.

A somewhat mildly related feature request is this: [Feature request: Opt-in shared context between ChatGPT and Codex, including Memory and Reference Chat History](https://community.openai.com/t/feature-request-opt-in-shared-context-between-chatgpt-and-codex-including-memory-and-reference-chat-history/1382529)

---

<div class="post-metadata">

**Author:** ![merefield](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/merefield/32/14812_2.png) [@merefield](https://community.openai.com/u/merefield)\
**Post date:** [October 1, 2026, 9:04am UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/2 "2026-10-01T09:04:18Z")

</div>

[Codexometer](https://community.openai.com/t/a-copy-button-in-codex-cli-at-the-end-of-the-response-will-go-along-way/1397661/4) has a copy function? Explicitly ask codex to write out a handoff with a specific scope and then copy the result, paste it into a new session?

A little heath-robinson, but better than nothing?

---

<div class="post-metadata">

**Author:** ![matanox](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/matanox/32/628096_2.png) [@matanox](https://community.openai.com/u/matanox)\
**Post date:** [October 1, 2026, 9:52am UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/3 "2026-10-01T09:52:12Z")

</div>

I assume this will make the new session rebuild (from scratch) its memory representation of the actual context that matters ― whatever parts of the codebase which it loads to memory and builds context of in light of the prompt.

---

<div class="post-metadata">

**Author:** ![merefield](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/merefield/32/14812_2.png) [@merefield](https://community.openai.com/u/merefield)\
**Post date:** [October 1, 2026, 10:22am UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/4 "2026-10-01T10:22:03Z")

</div>

`/memories` turns memory on - new sessions inherit this recording, however created.

It is a separate channel to compaction.

So my theory is if you manually create a hand-off using a sensible prompt, you might not lose a lot with memory on.

Manually creating a hand-off definitely loses the history of tool calls and results (though these are in any case usually truncated).

In any case if you `/fork` you will take with you both any compaction and start with any memory. If you fork pre-compaction I believe it inherits the whole conversation.

---

<div class="post-metadata">

**Author:** ![merefield](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/merefield/32/14812_2.png) [@merefield](https://community.openai.com/u/merefield)\
**Post date:** [October 1, 2026, 10:35am UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/5 "2026-10-01T10:35:59Z")

</div>

In any case can you clarify what you mean by “catastrophically merge conversations"? What unexpected results are you seeing - can you provide a detailed example?

What do you mean by “forking more than once”? Are you resuming the parent before forking again or are you forking a fork?

---

<div class="post-metadata">

**Author:** ![RVG\_85](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/rvg_85/32/766498_2.png) [@RVG\_85](https://community.openai.com/u/RVG_85)\
**Post date:** [October 1, 2026, 5:38pm UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/6 "2026-10-01T17:38:38Z")

</div>

Reading this thread, I’m wondering whether the longer-term solution might be slightly different from making conversation forking itself more robust.

Forking is very useful when branching from a particular session, but for long-running projects it may be more useful to have a persistent project-context layer that exists independently of any individual conversation. It could hold the current decisions, requirements, constraints, project state and relevant handoffs, while new Codex sessions would retrieve only the context relevant to their task.

Personally, I would take this a little further. ChatGPT could be the place where ideas, decisions and requirements are developed, while AI continuously maintains a persistent project-context layer from those conversations. That context could then be used to create concrete tasks in a tool such as Linear, which could be delegated to Codex. After the task is completed, Codex or another agent could update the task status, while the resulting code changes and implementation state could feed back into the project context.

In that model, we would not need to keep transferring entire conversation histories between sessions. Different agents would instead consume the same current, selective project context.

This seems somewhat related to the “summarized project-level context layer” mentioned in the linked shared-context feature request, which OpenAI Support also seemed to view as a useful direction.

I’m curious how others see this: for larger projects, do we really need increasingly sophisticated conversation forking, or do we ultimately need persistent project context that can be shared across ChatGPT, Codex and other operational tools?

---

<div class="post-metadata">

**Author:** ![matanox](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/matanox/32/628096_2.png) [@matanox](https://community.openai.com/u/matanox)\
**Post date:** [October 7, 2026, 11:28pm UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/7 "2026-10-07T23:28:04Z")

</div>

This is somewhat already a ChatGPT feature by default kind of, in my subscription at least: it knows a ton about your projects and automatically brings in knowledge from past conversations when it makes sense.

That said, the original thread is more about reproducing code-ready context in a code development context.

---

<div class="post-metadata">

**Author:** ![RVG\_85](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/rvg_85/32/766498_2.png) [@RVG\_85](https://community.openai.com/u/RVG_85)\
**Post date:** [October 11, 2026, 3:25pm UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/8 "2026-10-11T15:25:00Z")

</div>

Hi

Yes, I agree that ChatGPT already knows a lot about our projects and can draw on previous conversations. What I’m proposing, though, is a more structured and precise record of the project’s current state, comparable to a dedicated project repository.

As you know, projects evolve continuously. Small, subtle changes and the addition of major modules both need to be recorded accurately, along with their effects on requirements, decisions, and dependencies. The context also needs to distinguish what was discussed or proposed from what was actually implemented.

I understand that your original point concerns reproducing code-ready context. I see the persistent project-context layer I described as a way to support exactly that, while also supporting architecture and planning. Codex could retrieve the implementation details relevant to a task, while ChatGPT could use the same underlying project state to develop requirements and architectural decisions. Completed work would then feed back into that shared context.

The results of completed work would then feed back into that shared context, which I believe would also address the problem you originally raised.

Br

Rvg

---

<div class="post-metadata">

**Author:** ![matanox](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/matanox/32/628096_2.png) [@matanox](https://community.openai.com/u/matanox)\
**Post date:** [October 11, 2026, 5:55pm UTC](https://community.openai.com/t/more-useful-context-sharing-by-forking-or-otherwise/1402491/9 "2026-10-11T17:55:11Z")

</div>

Thanks. Since this isn’t currently a feature, lets assume things are more complicated in the OpenAI underlying infrastructure and hosted data models …
