Skip to content

[Desktop] Cannot delete/remove project entries from sidebar #26026

Open

Description

@sbhorshy

Feature Request: Allow users to delete/remove project entries from sidebar

Problem

In the Codex Desktop app, the sidebar shows project entries. When a project folder no longer exists on disk (e.g., it was deleted or moved), the entry remains in the sidebar with no way to remove it. The only available option is "Archive", but there is no "Delete" or "Remove" action.

Expected Behavior

Users should be able to permanently remove/delete a project entry from the sidebar, especially when:

  1. The underlying folder no longer exists (stale/orphaned entries)
  2. The user no longer needs the project and wants to clean up the list

Current Workaround

Archiving the entry hides it from the active list, but the data remains and cannot be permanently removed.

Additional Context

  • The project entry path cannot be found anywhere in .codex/config.toml, AppData, or the sqlite databases, suggesting it is stored in internal app state that users cannot edit.
  • This makes it impossible for users to clean up orphaned entries even manually.

Activity

  1. added
    enhancement
    app
    session
    on Jun 3, 2026
  2. github-actions commented on Jun 3, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. joshka commented on Jun 14, 2026

    @joshka

    Another +1, with one nuance: my ideal behavior is closer to archiving/hiding a project than permanently deleting it.

    My use case: contribute to an open source project as a one-shot thing. I create/open the project, do the work, get a PR over the line, and then I am done. I do not need to see that project day to day unless I come back to it later.

    I would still want the historical perspective preserved: Codex interacted with that project, and I may want to search or restore that history later. But the project should have a first-class way to leave the normal sidebar/default project list without deleting the underlying project/thread history.

    So for this issue, I would strongly prefer a project-level “archive”, “hide from sidebar”, or “forget from default view” action over a delete-only cleanup model.

  4. lucas-bids commented on Jun 23, 2026

    @lucas-bids

    +1 My issue is the exact same described in OP

  5. SH4LT1S commented on Jul 7, 2026

    @SH4LT1S

    You can delete on Claude, btw ;)
    I made a mistake in prompt, stopped in the middle of running. Now I have useless chat I cant delete. Nice.

  6. LIU-Yinyi commented on Aug 8, 2026

    @LIU-Yinyi

    Is there any CLI to manipulate the projects from sidebar? I have built a workbench to batch manage the projects and sessions. But I found no native CLI command built into Codex Desktop to directly remove or clear project entries from the sidebar.

    Any workaround? Thanks :D

  7. wbdb commented on Sep 7, 2026

    @wbdb

    Same problem ChatGPT v26.901.51231 (Windows 11 Pro / WSL2)

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

    appenhancementsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions