docs(agents): document worktree/branch cleanup as part of PR close-out #76
Reference in New Issue
Block a user
Delete Branch "docs/75-worktree-branch-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
AGENTS.mdtreating worktree/branch cleanup as part of closing out a merged PR, not a separately-remembered step.git worktree remove --force --force(double-f) is needed once a worktree has initialized submodules to run tests, andgit worktree removenever deletes either the feature branch or theAgenttool's auto-generatedworktree-agent-<id>isolation branch — both need explicitgit branch -d.Fixes #75
Test plan