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

Claude Code v2.1.248 ·

Desktop-released session cleanup path

Cleanup code reads a setting for how long to keep sessions released from the desktop app.

Nothing to try yet In Development
JSON All of v2.1.248
Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SessionsArea: what it touches
In DevelopmentKind: in v2.1.248,
In DevelopmentSection of the release

A desktopSessionCleanupPeriodDays setting and release-marker logic are present; nothing shows it running.

What

Cleanup code reads a desktopSessionCleanupPeriodDays setting, where 0 disables it, looks for a per-transcript release marker file, and decides between releasing the session for cleanup now or holding it for a grace period based on whether the marker says the session was deleted or archived.

Details
  • delete releases immediately; archive waits until the marker file's modification time is past the cutoff.
  • Falls back to a built-in default when the setting is unset.
  • The sweep's telemetry gained a matching counter.
Evidence

var U = ".desktop-released.json"

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

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up desktopSessionCleanupPeriodDays, on Configure server-managed settings. * An invalid `cleanupPeriodDays` or `desktopSessionCleanupPeriodDays` value stays in the cached copy and is never applied. server-managed-settings see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up desktopSessionCleanupPeriodDays, on Configure server-managed settings.
Anthropic's release notes agreeFixed Claude Desktop and Cowork sessions disappearing after 30 days: the transcript cleanup now keeps desktop-written sessions while they…
The name it cites is new in this buildNew in this build: desktopSessionCleanupPeriodDays

See this entry in the whole of v2.1.248 →

Feedback