You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Desktop] Cannot delete/remove project entries from sidebar #26026
appIssues related to the Codex desktop appenhancementNew feature or requestsessionIssues involving session (thread) management, resuming, forking, naming, archiving
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.
Reacted by Josh McKinney, Lucas Vidal, SH4LT1S, Jason Βoxman, konstpapav, Sicheng He, Yann Henon, Kurorin, wbdb, kbangert-bf and 2 more
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.
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.
appIssues related to the Codex desktop appenhancementNew feature or requestsessionIssues involving session (thread) management, resuming, forking, naming, archiving
Activity
github-actions commentedon Jun 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
joshka commentedon Jun 14, 2026
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.
lucas-bids commentedon Jun 23, 2026
+1 My issue is the exact same described in OP
SH4LT1S commentedon Jul 7, 2026
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.
LIU-Yinyi commentedon Aug 8, 2026
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
wbdb commentedon Sep 7, 2026
Same problem ChatGPT v26.901.51231 (Windows 11 Pro / WSL2)