Teach task-finish to recycle submodule-bearing worktrees #4

Merged
weichen merged 1 commits from fix/task-finish-submodule-recycle into main 2026-09-30 03:27:15 +00:00
Owner

首次真实 dogfood 中 task-finish 撞上 git 不删含子模块 worktree 的限制;补 deinit→remove→prune→远端分支清理。未合入守卫不变。

首次真实 dogfood 中 task-finish 撞上 git 不删含子模块 worktree 的限制;补 deinit→remove→prune→远端分支清理。未合入守卫不变。
weichen added 1 commit 2026-09-30 03:27:15 +00:00
Why: git refuses to remove a worktree with initialized submodules; the first
real dogfood run of task-finish hit this on the empty-list fix task.
Evidence: the fix task's worktree recycled only after manual force-remove;
deinit-then-remove path exercised on the same state afterwards.
Impact: finish deinitializes submodules, removes, prunes, and deletes the
remote branch; unmerged-result guard unchanged.
Refs: .task/fix-empty-list-json.md
weichen merged commit 428628ffe2 into main 2026-09-30 03:27:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#4