Project-Specific Conversation Histories

Resolved 💬 5 comments Opened Oct 20, 2025 by BobbyWang0120 Closed Nov 9, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

Problem:
Currently, when I use the Codex CLI command codex resume, it displays all conversations I have had with Codex, regardless of which project or working directory I am in. This makes it difficult to manage and review discussions that are specific to separate projects.

Request:
I would like Codex CLI to implement a mechanism for storing conversation history on a per-project basis. When I use codex resume in Project A's directory, it should only show conversations that occurred within Project A. Similarly, in Project B, Codex CLI should only display conversations from Project B. This would greatly improve contextual relevance and productivity for users managing multiple projects.

Proposed Solution:

  • Store conversation histories in a way that associates them with their respective working directories or unique project identifiers.
  • Update the behavior of codex resume so it only retrieves conversations related to the current directory/project.
  • Optionally, provide a way to merge or migrate histories if a project is reorganized or moved.

Benefits:

  • Easier to track project-specific conversations
  • Enhanced productivity by reducing clutter
  • Better organization for users working on multiple projects

Thank you for considering this feature!

Additional information

_No response_

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #3378
  • #5247
  • #5322

Powered by Codex Action

rockyicer · 10 months ago

please also add it to codex inside vscode IDE.

etraut-openai contributor · 10 months ago

@rockyicer, I modified the title to reflect that this feature applies to both the CLI and the VS Code Extension.

etraut-openai contributor · 9 months ago

This issue is a duplicate of https://github.com/openai/codex/issues/3550. Closing this one to consolidate.

raulcarlomagno · 10 days ago
please also add it to codex inside vscode IDE.

yes, i think this is a basic feature that it should support