Repository navigation
Keeping long-running Codex conversations on track while exploring related topics #64264
Replies: 4 comments 16 replies
|
I think the underlying problem is that we're treating conversations as the primary source of truth for a task, even though conversations are inherently messy and exploratory. I've been experimenting with a different approach in an open-source skill I'm building for Codex and Claude Code: https://github.com/theyv/shape-and-execute The original intent, requirements, decisions and execution state live in a task folder rather than in the conversation. This allows me to clear the context, switch models or even switch between Claude Code and Codex without losing the state of the work. Side investigations can also be recorded as findings and revisited later instead of derailing the current task. What I find interesting about your proposal is that you're approaching a similar problem from the conversation management side, whereas I've approached it from the task orchestration side. I'd love to see Codex eventually support persistent, structured task state natively. I think there's quite a bit of overlap between these two approaches. |
|
On your question about preserving decisions, findings and unfinished work: WorkLedger keeps the agreed scope, decisions, recorded results and remaining work available to the next supported coding session. You can return to the original task after exploring a side topic without rebuilding its state from the conversation. We build WorkLedger at Digital Disruptors. It gives you that shared work record across sessions; it does not add bookmark or context-steering controls inside Codex. See the workflow demos. |
Follow-up: Connecting persistent task state with evolving user intentThe recent contributions from @theyv and @dijarvrella have helped me refine the original proposal. Shape & Execute's separation of intent, task state, and findings, together with WorkLedger's approach to persistent work records, specification versions, decisions, and evidence, suggests that conversation management and task orchestration could complement each other more closely. Rather than treating the conversation as the sole source of task state, or treating the original task intent as immutable, I would like to explore a model that connects four layers:
Possible refinementsBuilding on the discussion so far, I see several potential extensions to the original concept:
Important design principleThe goal is not to eliminate deviations from the original plan. Some deviations are valuable discoveries that reveal why the original plan needs to change. Instead, the system could help distinguish productive exploration from unintended scope expansion, while keeping changes visible, deliberate, and traceable. These controls should remain optional and lightweight. A short conversation should not require formal task management, and a minor clarification should not trigger an interruption. I am considering extending my existing interactive concept prototype to illustrate some of these interactions before exploring deeper implementation details. I would be interested in further perspectives on two questions:
Thanks again to both of you for sharing your approaches. The discussion has helped clarify several aspects of the original idea. |
|
On your context steering versus scope governance split: part of this can be tried today with existing commands and one small file. This is based on the current Codex docs plus a convention of my own; I have not run this exact protocol in Codex, so treat it as something to test. 1. Anchor. 2. Pick the detour on purpose.
3. Bring back a note, not the conversation. Before leaving a side chat or fork, ask for exactly this, then add it to This maps onto your levels: reordering touches only 4. Make the rule persistent. In 5. Test it. After a For the browser side of your workflow, disclosure: I built Alter Ego, a memory connector for ChatGPT, Claude, Gemini and other chats that support MCP. It logs questions automatically (its docs note that an assistant can still skip this) and lets you save instructions per project or task as plain files in your own cloud storage. It could hold notes like the ones above across chats. It is not a task panel, bookmark tool or scope guard. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Background
I regularly use Codex and ChatGPT for long-running software development, technical research, debugging, regression testing, and project planning.
One recurring difficulty is maintaining a clear direction throughout a conversation that evolves over many turns.
A conversation may begin with a general objective. As the discussion progresses, we discover new information, refine assumptions, investigate related topics, and sometimes change the original direction.
However, the chronological conversation history does not always reflect the research path or priorities that the user eventually develops.
I have seen several related feature requests addressing task progress, bookmarks, conversation navigation, branching, and context management.
Rather than proposing another isolated feature, I would like to discuss how these capabilities could work together in a more user-guided conversation management model.
1. Persistent task plans
A long-running conversation may contain several tasks, investigations, verification steps, and follow-up actions.
I would find it useful to have a persistent task panel that:
Users should not have to rely entirely on AI-generated summaries or task lists. They should also be able to maintain the plan themselves.
Related proposals: #64255, #35848, and #35930.
2. Conversation navigation and user-defined highlights
Codex Desktop already provides useful navigation capabilities within conversations, including its conversation minimap.
However, when using long ChatGPT conversations in a browser, I often find it difficult to locate an important explanation, technical decision, or previous result without manually searching or scrolling through the conversation.
Different users may also consider different parts of a conversation important. Automatically generated summaries may not always reflect what a particular user wants to preserve.
Useful capabilities could include:
Existing bookmark and navigation functionality could be extended where appropriate, rather than introducing redundant controls.
Related proposals: #23350, #38631, #46813, #51983, and #45758.
3. Context-aware conversation branching
During technical research, useful discoveries often lead to related but independent questions.
Investigating every new question within the original conversation can make it increasingly difficult to maintain the original objective.
An optional branching suggestion could help in these situations. The assistant could suggest opening a separate conversation when an emerging topic may require an independent investigation.
The user should remain in control of whether to create a branch, continue in the current conversation, or dismiss the suggestion.
Such suggestions should be optional, non-blocking, and avoid interrupting minor clarifications or necessary subtasks.
The existing proposal in #50606 describes a very similar interaction. Awareness of the active task plan could make such suggestions more useful.
When a side investigation produces an important finding, users could also choose to bring that result back into the main research path.
Related proposals: #50606, #40854, #24722, and #28860.
4. User-guided context steering
This is the aspect I am particularly interested in discussing.
A conversation does not always begin with a perfectly defined objective or research methodology. Users often develop their understanding and priorities gradually.
For example, suppose a conversation begins with a broad topic A and subsequently explores several related directions:
After further investigation, the user may decide that AB and BC represent the main research path, while AC and CD are useful but secondary explorations.
The original conversation history should remain intact. However, the user could explicitly identify AB and BC as the primary direction for subsequent work.
Figure 1. A conceptual separation between chronological conversation history and a revisable, user-guided context layer.
The selected priorities could also form a continuous research path rather than simply a collection of highlighted messages.
This path could evolve as the user's understanding develops, while secondary explorations remain available and the original conversation history stays unchanged.
Figure 1b. A user-defined research path that can evolve independently of the original chronological conversation history. The arrows indicate the selected progression, not established technical dependencies.
Possible interactions could include:
The assistant could optionally suggest these classifications, while users retain the ability to correct them.
I would describe this as a manual or semi-automatic context-steering mechanism.
Ideally, these user-defined priorities should remain visible and editable across conversation turns, application restarts, and context compaction.
The goal is not simply to create another bookmark system, but to provide a persistent and explicit way for users to communicate their evolving priorities to the assistant.
Bookmarks and context priorities are not necessarily the same
A user may bookmark a message because it contains useful information without wanting it to influence the current task.
Similarly, a user-selected research priority should guide subsequent work without automatically establishing that a particular hypothesis is correct.
It would therefore be useful to distinguish between:
These markings should be reversible and should not prevent the assistant from considering relevant contradictory evidence, necessary constraints, or other important information.
The original conversation history should remain available.
Interactive concept prototype
To make the proposed context-steering mechanism easier to understand, I created a lightweight interactive prototype.
The prototype allows users to:
Explore the Human-guided Conversation Management demos
These are independent, client-side concept prototypes intended to illustrate the proposed interaction models. They use fictional examples and simulated interactions without accessing actual Codex or ChatGPT conversations, connecting to AI models, or requiring an account.
I would be particularly interested in whether this kind of manual context-steering interaction would be useful in real long-running workflows.
5. How these ideas could work together
A persistent task plan would show what remains to be completed.
User-defined highlights would preserve important information and decisions.
Context-aware branching would help separate independent investigations.
User-guided context steering would allow users to refine the direction of the original conversation as their understanding develops.
Figure 2. An illustrative workspace combining task progress, user-selected research priorities, preserved explorations, and message-level actions.
These images are conceptual mockups, not screenshots of existing functionality or prescriptions for a specific implementation.
The capabilities could be introduced independently. A simple first version might focus on user-defined highlights, a persistent task list, and an explicit way to mark selected content as important to the current objective.
More advanced context organization and branch-management capabilities could follow later.
Related community discussions
I may have missed other related proposals. This discussion is not intended to duplicate existing requests or claim that these individual ideas are entirely new.
Instead, I would like to explore how they could complement each other from the perspective of long-running, user-guided workflows.
Questions for the community
Although my primary engineering workflow involves Codex, I believe many of these ideas could also benefit long-running ChatGPT conversations.
I would appreciate hearing other perspectives, including potential drawbacks and alternative approaches.
All reactions