Why: git unconditionally refuses worktree remove when the tree contains
gitlinks (index-level check; deinit does not bypass it), so the PR#4 fix
path still failed on the second real task.
Evidence: after deinit the worktree was clean and submodule dirs empty, yet
remove refused; rm -rf + worktree prune is the documented workaround and
was proven manually on the empty-list task worktree.
Impact: task-finish now completes the recycle path automatically after its
merge verification; no guard weakened.
Refs: Agent-System-Dev PR#4; policy/tool-adaptation-matrix.md A5
weichen
merged commit 1e08eb6ba2 into main2026-09-30 03:37:20 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
task-finish 回收通路第二击:git 对含 gitlink 的 worktree 无条件拒绝 remove(索引级检查,deinit 不绕过)。合入验证+deinit 之后自动 rm -rf+prune 兜底。守卫不变。证据:tool-adaptation 任务现场复现并手验通路。