Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.248 ·

Local-only work check can trust the main checkout

You get fewer false "you have unpushed work" warnings when the main checkout already has them.

You'll notice Improvements
JSON All of v2.1.248
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.248,
ImprovementsSection of the release
What

The check for whether a worktree holds commits that exist nowhere else can now treat the main checkout as proof they are safe. If the branch's upstream points at the main worktree's current position, a second check against that position can declare the tree clean, avoiding a false "you have unpushed work" warning.

Details
  • Enabled by an option passed by the caller; the source here does not show its default.
  • A new helper confirms the repository is not bare and that the main checkout's HEAD reference matches before the vouch is accepted.
Evidence

{ primaryCheckoutVouches: r }

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.248 →

Feedback