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
(sidebar): delete a project folder, choosing what goes with it #474
A delete (trash) button on a project folder in the sidebar, for folders that are not worth keeping, such as scratch directories. It opens the same checkbox modal as the folder archive of #473, with what to delete:
the project's sessions: delete them, or leave them archived;
the project's settings;
the project's schedule files;
the sessions' transcripts (~/.claude/projects/<folder>/), which also removes them from claude --resume.
The project's own directory on disk is never offered. The folder leaves Switchboard.
The only removal is Hide Project at the bottom of the project settings (public/settings-panel.js:424, handler :684), which calls remove-project (main.js:741): the project goes into hiddenProjects, its settings are deleted (deleteSetting('project:' + projectPath)), its cache and search index are dropped, and it leaves the schedule registry. Transcripts stay on disk. The confirmation says only that the project is hidden and session files are kept.
The worktree header has a Hide worktree button calling the same IPC (public/sidebar.js:1163).
Decisions taken
Every box remembers its last state, except transcripts, which always starts unchecked: deleting history must not become a two-click habit.
Running sessions are stopped first, as the archive verbs do.
Hide Project in the project settings opens this modal instead of its current behaviour.
Q3 decided by the maintainer on 2026-11-10: the project-delete dialog will also offer, as an option, removal of linked worktrees from disk, each one individually previewed and selected (spec slice E, after A4).
Activity
devsuitup commentedon Oct 28, 2026
Codex rows (#821): delete through sessionFile, never a $CODEX_HOME date folder. Also coordinate with the worktree-delete issue from #831.
devsuitup commentedon Oct 28, 2026
Coordinate with #841 (worktree delete dialog forces only what it showed): one removal rule for both.
(projects): keep hidden-project matching identical to before and buil…
(projects): keep relative hidden-entry trigger tests on one drive (#474)
(projects): scope delete marks to the host they were made on (#474) (#…
fix(dialogs): validate choice ids and labels before mounting (#474)
(dialogs): let the choice dialog refresh its plan asynchronously (#474)…
fix(projects): gate worktree launches on their project and gate respa…
(projects): add a project operation gate to every launch path (#474) (#…
(projects): ignore missing projects in the gate and bound preview req…
devsuitup commentedon Nov 10, 2026
Q3 decided by the maintainer on 2026-11-10: the project-delete dialog will also offer, as an option, removal of linked worktrees from disk, each one individually previewed and selected (spec slice E, after A4).
fix(projects): bound the delete planner and refuse unowned members (#474
(projects): plan a project deletion read-only (#474) (#1060)
(projects): keep the delete plan when a row path is missing (#474) (#…
fix(projects): refuse a deletion while another operation owns the pro…
24 remaining items
(projects): start automation after the bounded holds wait and retry m…
(projects): compose project deletion in main (#474) (#1095)
(projects): fix review findings and fixtures for project deletion (#474)
(projects): keep deferred settings saves honest and remote-aware duri…
(projects): delete a project from the sidebar and Settings (#474) (#1096
(projects): keep worktree removal labels out of the settings-default …
(projects): list worktrees without -z and scope the deletion preview (#…
(projects): never let the worktree inventory block a plain deletion (#…
(projects): block selected worktrees on unlocated live sessions and g…
(projects): block on unlocated schedule runs and keep a margin for th…
(projects): read worktree activity from the preview's own process tab…
(projects): abort worktree removal's process reads and share its boun…
(projects): offer to remove linked worktree folders when deleting a p…
devsuitup commentedon Nov 13, 2026
Done in v0.0.106 (beta): #1093, #1095, #1096, #1098, #1104 and #1105. Follow-up: #1106.