What problem does it solve? AI coding sessions often end with loose ends — uncommitted changes, unpushed branches, stale worktrees, unfiled follow-ups — that get mentioned in a final summary instead of actually resolved. This skill forces every outstanding item into a resolved, tracked, or blocked state before a session is reported as finished. ## Core Features & Use Cases - Source-based enumeration: Queries git status, worktrees, upstream tracking, pull requests, filed issues, deferred trailers, and test suites instead of relying on memory. - Two-pass lifecycle: Runs a completion pass before merging and a workspace pass after cleanup, so defects are caught while they can still enter the pull request. - Three-state resolution: Every tail must end as resolved (with evidence), tracked (with a real ticket URL), or blocked (with a named external cause) — vague phrases like "left for later" are rejected. - Use Case: Before reporting a feature branch as done, run the closeout to discover an unpushed commit and a stale worktree, resolve both, then emit a CLOSEOUT block showing zero remaining tails. ## Quick Start Before writing your final session summary, run the session-closeout skill to enumerate and resolve every outstanding tail.