{"version":"2.1.329","anchor":"retention-cleanup-skips-when-managed-settings-may-be-unreada","canonical_anchor":"retention-cleanup-skips-when-managed-settings-may-be-unreada","heading":"Transcript cleanup is skipped when the retention setting might be hidden","tier":"notice","area":"Sessions","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/retention-cleanup-skips-when-managed-settings-may-be-unreada","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Transcript cleanup is skipped when the retention setting might be hidden\n\nClaude Code now skips deleting old transcripts when it cannot be sure it has read every setting that might control how long they are kept\n\n**What**\n\nClaude Code deletes old transcripts (saved records of your conversations) after the number of days set in `cleanupPeriodDays`. It now skips that cleanup when it cannot be sure what that setting is. This happens when:\n\n- your user settings file is empty\n\n- the managed settings on your computer (settings an administrator sets for the machine) were not read in full\n\nIn that case it logs: \"Skipping retention cleanup: this computer's managed settings were not read in full, so cleanupPeriodDays may be set to a value that cannot be seen.\"\n\n**Why**\n\nThis stops Claude Code from deleting transcripts under the wrong retention period when a policy that sets one cannot be read.\n\n- Area: Sessions\n- Names: `cleanupPeriodDays`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}