Skip to content

Protect ignored files and review project overrides ​

Part of the Workspace Cleanup checklist, verified with Orca 1.4.259. Repeat for the Mac and every paired server: Settings → Host → [host]. These settings remain UI-only; #23668 and #42909 track the scripting gaps. Screenshots show Orca 1.4.261 on the Mac with the German UI locale and Host Local Mac; server hosts were not captured. Images show that Mac's current values; where they differ from Recommended, follow the text.

Keep workspaces with ignored files ​

  • Path: Workspace Cleanup → Protection → Keep workspaces with ignored files.
  • Recommended: Off (keep only uncommitted work), on the Mac and every server, after moving irreplaceable ignored files (.env, keys) out of existing worktrees: the change starts a cleanup run at once. devkit doctor warns when the cleanup preview shows a deletable workspace held only by ignored files.
  • Why: agent worktrees always carry ignored caches (.memsearch/, target/), so On keeps every landed worktree and the merged rule never fires. Uncommitted changes and unpushed commits stay protected either way. Keep irreplaceable .env and local configuration in the main checkout; worktrees receive copies. Explicit devkit settlement instead preserves linked reports and durable evidence, verifies landing and tracked cleanliness, refuses nested repositories or live/unknown processes, then removes only the owned disposable child through native worktree rm. Automatic maintenance can also remove a native-created finished worker checkout before landing when its clean HEAD exactly matches the fetched authorized candidate tip; failed workers require unchanged immutable launch HEAD. Every report must be committed, and candidate branches and Task status survive this early cleanup. That targeted route discards all ignored/untracked child data without changing the global toggle; retain irreplaceable data outside disposable worker checkouts.
  • Scripting: UI-only. Custom regenerable paths in orca.yaml are a request, not an available option (#42909).

Protection with Keep workspaces with ignored files on and a kept workspace with its reason in Activity, Local Mac

Project overrides and verification ​

Project Settings → Workspace cleanup can override the host defaults for that project. Recommended: Use global, unless the project needs a deliberate Custom exception; Off disables cleanup for that project. Inspect overrides when a preview disagrees with host rules. This remains per-host/per-user UI configuration, not a versioned orca.yaml policy. Folder projects and paired web clients do not offer this control.

Project settings for onedot-devkit: Workspace cleanup → Cleanup rules set to Use global

After changing rules, review Workspace Cleanup → Activity and preview the same execution host. A retained workspace needs its reported reason resolved; only the checked settlement/finished-candidate routes authorize disposable-child removal. The recommendations above do not authorize running cleanup in someone else's active workspace.

External references ​

  • Source: Workspace Cleanup UI and exact labels, v1.4.259, Host picker, project overrides.
  • CLI: installed Orca 1.4.259 orca --help and bundled orca skills get orca-cli; commands inspect or execute existing rules, never configure them.
  • Native pretool hooks assign registered private worker TMPDIR roots and clean them before completion delivery; coordinator maintenance sweeps only older finished-Dispatch roots on local and configured offload hosts. Unknown and foreign paths are retained; this does not change Workspace Cleanup protection.
  • Devkit result preservation and landing: content/skills/coordinate/references/release.md.

Internal docs — onedot-devkit · devkit

devkitdevkit syncdevkit statusdevkit doctordevkit helpInternal docs · ONEDOT digital crew