Codex Desktop: move Archive away from Rename/Pin in task context menu
Open 💬 2 comments Opened Jul 15, 2026 by Jason-Wang313
What happened?
In Codex Desktop, when right-clicking a task/session in the sidebar, the context menu places Archive very close to common non-destructive actions like Rename and Pin.
This makes it easy to accidentally archive a task when the intended action is just to rename or pin it. I have already mispressed Archive while trying to use Rename.
Why this is a problem
Archive is a higher-impact action than Rename or Pin because it removes the task from the active sidebar flow. Even if it can be undone or found later, an accidental archive is disruptive and surprising compared with the nearby actions.
Expected behavior
Please separate Archive from lower-risk actions such as Rename and Pin in the task/session right-click menu. Possible fixes:
- Put Archive in a separate menu group with a divider.
- Move Archive farther away from Rename and Pin.
- Place destructive or visibility-changing actions near the bottom of the menu.
- Consider an undo affordance after archiving, if not already present.
Environment
- Product: Codex Desktop app
- Area: Sidebar task/session right-click context menu
2 Comments
Additional related UX request: the right-click context menu itself feels slightly too small in Codex Desktop.
Making the menu a bit larger, for example with larger text, more padding, and/or taller menu rows, would make each action easier to read and target. That should reduce both misreading and accidental clicks, especially for adjacent actions like Rename, Pin, and Archive.
Adding a macOS reproduction where the impact is substantially worse for managed-worktree tasks.
Important clarification: this was not the right-click/context menu described in the issue body. It was the left sidebar task list itself. Each task row exposes Pin and Archive as two adjacent inline buttons on the right side of the row. I intended to click Pin and hit Archive instead.
The inline placement itself is reasonable and convenient. My primary request is not necessarily to remove or relocate the Archive button. The problem is that Archive executes immediately with no confirmation even when it triggers a filesystem cleanup that Undo cannot restore.
Environment:
Observed behavior:
This means the current Undo affordance is misleading for managed-worktree tasks: the visible archive state is reversible, but the filesystem side effect is not. What looks like a minor accidental click can interrupt a long-running task and discard uncommitted work.
Requested UX/safety changes:
Related accidental-archive UX report: #30230.
Related recovery reports: #10917 and #12166.