Merge pull request 'Worktree cleanup is scoped to this session's own agents' (#27) from eureka-self/worktree-scope into main

This commit is contained in:
Eureka 2026-10-23 10:36:38 +00:00
commit 614caf8832

View file

@ -698,7 +698,11 @@ Scripts that know a project's layout stay in that project.
merged-cut worktrees that a handoff had put off "until idle". C: fell to
1.4 GB free during an operator flight, and a new checkout died mid-write.
Operator: "you really gotta start cleaning up after yourself". Check free
space before creating a worktree.
space before creating a worktree. Remove only worktrees this session's agents
created, by name. Never sweep a root by path prefix. The same day's sweep
found another Self's live tree "clean and pushed", and
`git worktree remove --force` emptied it mid-build. "Clean" says nothing
about who is working in a tree.
## Adapting the pipeline