Skip to content

Linux Desktop loses saved local projects and task-to-project associations while config.toml remains intact #46428

Closed as not planned

Description

@Xernz

mise ~/.config/mise/config.toml tools: gh@2.100.0

Environment

  • Codex Desktop package: 26.901.20858-1
  • Bundled Codex CLI: 0.153.0-alpha.5
  • Platform: Arch Linux x86_64, Wayland
  • Codex mode in the ChatGPT desktop app

Summary

The Codex Desktop project list disappeared even though the local project folders, Codex sessions, and project trust entries in ~/.codex/config.toml remain intact.

Re-adding a local folder recreates the visible project, but existing Codex tasks are not automatically grouped under it. Their working directories match the project paths, but their project association is missing.

Observed behavior

  1. Before recovery, the Desktop project registry reported an empty project list.
  2. Existing Codex tasks and their local working directories were still present.
  3. ~/.codex/config.toml parses successfully and contains approximately 126 [projects."<path>"] entries, including trusted entries for the affected repositories.
  4. After manually re-adding one project, the project became visible again.
  5. Existing tasks still had no project association (projectId: null) even when their cwd matched the re-added project path.
  6. The local folders and task/session data were not deleted.

Expected behavior

  • Desktop should preserve or recover its saved local-project registry after an update/restart.
  • Existing tasks should retain their project associations.
  • If project metadata is rebuilt from local state, tasks whose working directory matches a project should either be re-associated or offered a recovery/migration path.
  • Re-adding a project should not require manually rebuilding all historical task associations.

Reproduction / evidence

  1. Use Codex Desktop on Linux with multiple local projects and existing tasks.
  2. Keep the corresponding trusted project entries in ~/.codex/config.toml.
  3. Restart or update the Desktop app.
  4. Observe that the Projects area is empty or missing previously saved projects.
  5. Confirm that the local folders and task history still exist.
  6. Re-add one affected folder through the UI.
  7. Observe that the project appears, but historical tasks remain ungrouped because their project association is null.

This is not the ChatGPT-vs-Codex mode mix-up described in some recent reports; the behavior was observed inside Codex mode, and the project registry itself was empty before manual re-addition.

Related reports:

Please advise whether there is an official project/session index rebuild or migration-repair procedure. I have not deleted, reset, or manually modified Codex state databases.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    sessionIssues involving session (thread) management, resuming, forking, naming, archiving
    on Sep 18, 2026
  2. github-actions commented on Sep 18, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxappIssues related to the Codex desktop appbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archiving

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions