Repository navigation
0.14.0
Worktrees clean up after themselves, and cleanup can no longer lose work.
Why. Over a month of real use the old policy never marked one worktree SAFE. It required a passed acceptance run and a verified push, nobody verified a push, and 174 workers left their worktrees until the directory was deleted by hand.
The rule now. A worker's branch is never deleted, so the only thing removing a worktree can lose is uncommitted edits, and those are committed to the branch first.
| Situation | Verdict |
|---|---|
| Worker or acceptance running, or an active dependent | BLOCKED |
| Landed, commit still on the target branch, worktree clean | SAFE |
| Finished without changing anything | SAFE |
| Unlanded commits or uncommitted edits | REVIEW for 7 days, then SAFE |
| Path, branch or registration does not match, or the base is unknown | REVIEW |
check_workersandoverview_deltasweep at most every ten minutes and list what they removed undercleaned.- After a worktree is gone, resume, land, a side question and a diff cut it again from the worker's branch.
CODEX_SUPERVISOR_NO_AUTO_CLEANUP=1turns the sweep off.CODEX_SUPERVISOR_CLEANUP_HOLD_DAYSchanges the 7 days.- The cleanup CLI is a bin now:
codex-supervisor-cleanup. verify_delivery_pushno longer creates a cleanup plan; cleanup does not depend on it.
Also fixed. Resume fell back to the project root when the worker's directory was missing, which could let a scratch worker write into the source directory. It now recreates a scratch directory and refuses otherwise.