What
When transcript cleanup bails because settings failed validation, the message now names which retention key was involved instead of always saying cleanupPeriodDays.
Details
- The guard loops over both retention keys.
desktopSessionCleanupPeriodDaysis only checked against user settings and flag settings as sources.
Evidence
Skipping cleanup: settings have validation errors but
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundlecleanupPeriodDays
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 cleanupPeriodDays, on All settings.
| Every other key | Takes the value from the highest source that sets it | [`cleanupPeriodDays`](#cleanupperioddays), [`model`](#model) |settings-reference see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up cleanupPeriodDays, on All settings.
Anthropic's release notes agree
Fixed Claude Desktop and Cowork sessions disappearing after 30 days: the transcript cleanup now keeps desktop-written sessions while they…