Pin, park, close, delete

Key Does Keeps
m Pin or unpin (mark, as in vim): pinned sessions stay at the top, and '1–'9 jump to them Everything
zz Park: move the session out of the way, to Parked Everything; the agent keeps running
x Close: the agent and panes stop, the session goes to History The worktree and branch
dd Delete: close, and remove its worktrees and their local branches Unpushed and uncommitted work, saved first

Pinned sessions are never removed by cleanup.

For a chat, dd removes its scratch folder instead. A folder you picked for a chat is never removed.

Both ask before doing anything, and say exactly what will happen. y or ↩ goes ahead; n, ⎋ or q cancels.

Closing a working session: its agent will stop, the worktree stays

Deleting a session: its worktrees and their local branches will be removed, uncommitted changes saved first

Deleting never loses work: uncommitted changes and unpushed commits are saved first as refs/heed/archive/<branch>, and the dialog says so for each worktree.

Closed and deleted sessions stay in History, where R reopens them (recreating the worktree from its branch, or from what was saved when the branch is gone).