{"version":"2.1.332","anchor":"claude-code-transcript-local-gc-accepts-keep","canonical_anchor":"claude-code-transcript-local-gc-accepts-keep","heading":"CLAUDE_CODE_TRANSCRIPT_LOCAL_GC now also accepts keep","tier":"use","area":"Sessions","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/claude-code-transcript-local-gc-accepts-keep","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### `CLAUDE_CODE_TRANSCRIPT_LOCAL_GC` now also accepts `keep`\n\nSetting `CLAUDE_CODE_TRANSCRIPT_LOCAL_GC` to `keep` now skips the local transcript cleanup step, just as true already did\n\n**What**\n\nClaude Code saves transcripts, the records of your conversations, and has a cleanup step that removes old ones from your computer. The environment variable `CLAUDE_CODE_TRANSCRIPT_LOCAL_GC` controls that step. Before, only a true value made Claude Code skip the local cleanup. It now also skips it when the variable is set to `keep`.\n\n**Why**\n\n`keep` is a clearer value to write when what you want is for local transcripts to be kept.\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_TRANSCRIPT_LOCAL_GC`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: no"}