[Desktop] Cannot delete/remove project entries from sidebar
Open 💬 5 comments Opened Jun 3, 2026 by sbhorshy
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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:
- The underlying folder no longer exists (stale/orphaned entries)
- 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.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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.
+1 My issue is the exact same described in OP
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.
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