ddflow_cleanup
Categorizes worktrees and branches by merge and dirty state, reports cleanup options, and can safely remove merged worktrees and branches without touching dirty worktrees.
Instructions
Classify every ddflow worktree and branch: merged (safe to remove), unmerged (carries commits nobody landed), dirty (uncommitted edits — a human looks), orphan, or stale branch. Reports by default; with apply=true it removes merged worktrees and branches and lands commits for items the queue already considers done. A dirty tree is NEVER touched automatically, whatever you pass — it is the only thing here that exists nowhere else.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Perform the safe actions. |