Investigate conversation recovery after folder renames in Codex and Claude Code
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
この issue はまだ評価されていません。
説明
Problem
Renaming or moving a local project folder can make existing coding-agent conversations disappear from the project history or prevent those conversations from resuming in the correct directory.
Jérôme reports experiencing this problem with another folder. The affected folder, application, version, and exact symptoms have not yet been recorded. This is an actual user report, not only a hypothetical concern about this repository.
Desired answer
Establish what happens in the installed versions of Codex and Claude Code, and provide a tested procedure for recovering existing conversations and preserving continuity when a project folder moves or is renamed. Distinguish command-line applications, desktop applications, and editor integrations; success in one interface does not prove success in another.
Documentation and reported failures
Claude Code documents project-directory session storage, moving an individual session with /cd, and finding a session across projects with claude --resume <session-id>:
https://code.claude.com/docs/en/sessions#sessions-in-other-worktrees-and-projects
Codex documents codex resume --all, choosing the current or saved directory when resuming, and an explicit --cd directory override:
https://learn.chatgpt.com/docs/developer-commands?surface=cli
These commands provide individual-session recovery routes. They do not establish that a filesystem rename automatically migrates all project history, memory, permissions, or application configuration.
Reported failures in the upstream repositories are evidence of problems in the reported versions, not proof of current behaviour in Jérôme's installed versions:
Investigation and validation
- Record the affected interfaces and installed versions, and obtain the missing details of Jérôme's existing affected folder before attempting recovery there.
- Use a disposable project in each actual interface Jérôme uses. Create a representative conversation with an identifiable fact and a file operation, and record its session identifier and original absolute path.
- Close the sessions, rename the disposable project folder, and record whether the conversation remains visible and resumable.
- Test the documented recovery procedure. Verify the conversation retains its earlier context and file operations use the new directory.
- Restart the application and verify that the recovered conversation remains discoverable and resumes in the new directory.
- Check separately what happens to other conversations, project memory, permissions, configured paths, and linked Git worktrees where applicable. Do not generalize a single recovered conversation to the entire project.
- Record raw output or exact visible messages, versions, steps, results, and remaining limits. Distinguish hidden history from deleted transcripts and from failure to resume.
Deliverables and acceptance criteria
- A clear answer for each tested interface: automatic preservation, supported manual recovery, or unresolved failure.
- A reviewable recovery and migration procedure, including backup and rollback steps before changing real session storage.
- A tested answer for the already affected folder once its identity and symptoms are established.
- Explicit evidence boundaries: documentation, upstream reports, local reproduction, and successful local recovery.
- No renaming of the active repository folder or rewriting of real conversation storage as part of preliminary validation.
Related repository rename
This investigation informs the existing repository rename request:
- 主要言語
- 言語のデータがありません
- スター
- 1
- フォーク
- 0
- 平均マージ
- 7分
- マージ済み PR(30日)
- 17
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jeromeetienne/coding_agent_plugin のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
jeromeetienne/coding_agent_plugin#7 ·
メンテナーはふだん 1 日以内に返信
-
jeromeetienne/coding_agent_plugin#62 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
jeromeetienne/coding_agent_plugin#25 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
jeromeetienne/coding_agent_plugin#19 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
jeromeetienne/coding_agent_plugin#9 ·
メンテナーはふだん 1 日以内に返信