Documentation
README
Finishing a Development Branch
Overview
Integration choice and checkout lifetime are separate. Verify first, mutate only task-owned resources, then prove what was removed or retained.
Core principle: fresh evidence -> authorized integration -> ownership-aware cleanup -> Git/path readback.
Announce at start: explain which branch/worktree lifecycle is being closed.
Step 1: Environment and Ownership Detection
Read the task's TaskStartSnapshot and current repository state. Record:
- root,
HEAD, branch/detached state, upstream divergence, and active Git ops; - staged/unstaged/untracked paths and the task-owned delta;
git worktree list --porcelain;- branch/worktree creator, task ownership, base branch, and cleanup trigger.
This is the opening of the README. Read the full README on GitHub.