{"version":"2.1.116","anchor":"session-retention-cleanup","canonical_anchor":"session-retention-cleanup","heading":"Session Retention Cleanup","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.116\/e\/session-retention-cleanup","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.116","markdown":"### Session Retention Cleanup\n\n**What**\n\nNew automatic cleanup of old chat transcripts based on a configurable retention period.\n\n**Usage**\n\n`\/\/ In settings.json { \"cleanupPeriodDays\": 30 \/\/ Default: 30 days }` **Details** - Automatically removes transcripts older than the configured period - Minimum value is 1 day; use `--no-session-persistence` to disable transcript writes entirely - Skips cleanup if user settings source is disabled and no enabled source provides the setting **Evidence** Retention setting (search for `\"cleanupPeriodDays\"`) \u2014 `cr1` at line ~598827"}