Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.260 ·

Deleting a job/session can now discard confirmed unpushed worktree commits

Background job worktree deletion can now discard confirmed unpushed commits with a re-confirm step.

Group of 3 Use it now No documentation found Improvements
JSON All of v2.1.260
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.260,
What probably matters to youSection of the release

Deleting a background job's worktree previously refused outright when it held commits not pushed to any remote. Now a caller can pass a discardUnpushed pin (headSha plus worktreeDigest), and if the worktree's HEAD still matches that pin the removal proceeds despite the unpushed commits. If the pin no longer matches, or the unpushed commits are also referenced by another job's state, the kept-worktree reasons unpushed or the new unpushed_shared are returned instead, along with keptUnpushed/discardUnpushed info so the caller can re-confirm; unpushed_shared specifically refuses to offer a discard when another finished job's state.json also references the same worktree, to avoid destroying another session's output.

In the Fleet UI, deleting a session whose worktree has unpushed commits no longer fails silently: it reports the unpushed count and prompts to delete again to discard, tracking a discardOffer so a second delete forces discardUnpushed.

Read from
Names in the bundlediscardUnpushed

See this entry in the whole of v2.1.260 →

Feedback