Orca Workspace Cleanup settings
Repeat this checklist on the Mac and every paired worker server. Return to the Orca settings guide for pairing, accounts, orchestration, browser and notifications.
Verified against Orca 1.4.259, using English interface labels. Open Settings → Host → [this computer or saved server] → Workspace Cleanup. The Host picker selects whose rules you change; local changes do not configure servers.
Review matching workspaces before confirming rule changes. These rules delete workspaces, not an archive; merged branches can be deleted with their workspace, while unmerged branches are kept. A retained branch is not a backup of untracked or ignored files.
The CLI can preview, run and report, but cannot set these rules. Use orca workspace cleanup preview --json to inspect current rules; add --environment <saved-server> for that server. Run actually deletes matching workspaces and needs a deliberate cleanup decision.
Do not edit profile-state.db or invent a cleanup: key in orca.yaml: #23668 tracks general settings commands, and #42909 requests repository-shared cleanup rules and regenerable directories. Neither proposal is a supported setting in this build.
Screenshots
Screenshots show Orca 1.4.261 on the Mac with the German UI locale and Host Local Mac; repeat the same pages for each server through the Host picker. Images show that Mac's current values; where they differ from Recommended, follow the text.
1. Delete merged workspaces
- Path: Workspace Cleanup → Rules → Delete merged workspaces.
- Recommended: On, on the Mac and every server.
- Why: removes completed PR work once Orca verifies the pull request is merged and everything in the workspace is in it; helps avoid accumulating finished devkit slices. A direct push to main is not necessarily PR-merge evidence.
- Scripting: UI-only rule; use the preview command above to verify, not to change it.

2. Delete unchanged workspaces
- Path: Workspace Cleanup → Rules → Delete unchanged workspaces.
- Recommended: On, on the Mac and every server.
- Why: clears empty starts with no commits beyond the default branch and no edits. It is not a substitute for landing a worker's changes.
- Scripting: UI-only rule; the same settings gaps apply.

3. Inactive workspaces and days
- Path: Workspace Cleanup → Rules → Delete inactive workspaces → Inactive for (days appears when enabled).
- Recommended: Off by default; if you deliberately adopt age-based deletion, start at 30 days and inspect the matching list before confirming. This is a devkit safety recommendation, not an Orca default.
- Why: an old workspace can still contain unfinished work. Inactivity alone does not prove publication or release. Do not use a short timeout to work around an unsettled devkit task.
- Scripting: UI-only rule and threshold; no supported repository policy yet (#42909).

4. Finished automation workspaces
- Path: Workspace Cleanup → Rules → Advanced → Delete finished automation workspaces.
- Recommended: On when using automations, on each execution host.
- Why: lets native cleanup consider workspaces created by a finished automation run. Finished does not replace review or publishing; inspect the preview and retain unfinished results.
- Scripting: UI-only cleanup rule; automation creation commands do not configure it.

5. Released orchestration worker workspaces
- Path: Workspace Cleanup → Rules → Advanced → Delete released orchestration worker workspaces.
- Recommended: On, on the Mac and every worker server.
- Why: native cleanup can remove released workers instead of leaving every completed slice on disk. Release follows result/report preservation and verified landing in the devkit lifecycle; never release a worker just to make it disappear. This rule is separate from closing its terminal.
- Scripting: UI-only rule;
worker-releaseis a lifecycle action, not a settings command.

Continue: protection and project overrides
Continue with ignored-file protection and project overrides before enabling cleanup. This is part of the checklist, not an optional safety step.