c-09-git-worktree-manager Worktrees And Closeoutc-09-git-worktree-manager owns worktree lifecycle, integration, and cleanup.
Closeout sequencing and the commit approval gate belong to c-12-closeout
(see Skills); the c-09-git-worktree-manager skill only supplies the worktree contract path that
the c-12-closeout skill’s closeout consumes.
c-09-git-worktree-managerUse the c-09-git-worktree-manager skill when:
memory.mdThe c-09-git-worktree-manager skill creates a contract.md beside the task file:
ar-coordination/tasks/<repo>/<task-slug>/
task.md
contract.md
The contract records worktree paths, review state, closeout commits, integration commits, and cleanup state.
Provider authority has moved to MCP settings outside the coordinator root, and
coordinator-local Python provider scripts are no longer installed runtime
assets. Legacy c-09-git-worktree-manager provider preparation is therefore skipped unless a future
MCP worktree/provider operation handles the isolated provider runtime for the
new code worktree.
Closeout is run by c-12-closeout. For worktree-backed tasks, the c-09-git-worktree-manager skill
hands the c-12-closeout skill the task contract.md; the c-12-closeout skill keeps code and memory aligned:
memory.mdThe c-12-closeout skill records the closeout commits back into the contract, and the c-09-git-worktree-manager skill owns the
later integration and cleanup of those committed branches.
The c-09-git-worktree-manager skill integration lands reviewed task work back onto source branches. It can use fast-forward integration when source ancestry has not moved, or replay when compatible parallel work landed first.
Implementation approval is not commit approval. For worktree-backed tasks, the agent should run a dry-run closeout preview and ask for explicit commit approval before the c-12-closeout skill creates the closeout commits.
Cleanup happens only after successful integration and explicit approval.