{"version":"2.1.318","anchor":"transcript-read-ahead-before-resume-with-an-opt-out-env-var","canonical_anchor":"transcript-read-ahead-before-resume-with-an-opt-out-env-var","heading":"Resuming some remote sessions reads the transcript ahead, with a way to turn it off","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/transcript-read-ahead-before-resume-with-an-opt-out-env-var","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### Resuming some remote sessions reads the transcript ahead, with a way to turn it off\n\nClaude Code can read a session's transcript ahead of resuming it; set `CLAUDE_CODE_DISABLE_TRANSCRIPT_READ_AHEAD` to skip this\n\n**Unclear.** Another condition also decides whether the read-ahead runs, and what it checks is not stated.\n\n**What**\n\nA transcript is the saved record of a conversation, used to pick a session back up. For sessions connected through an SDK address that do not use storage version 5, Claude Code now reads the transcript ahead of time when resuming. A large transcript is read in several pieces at once. If that read is cancelled, the resume is stopped.\n\nSet the environment variable `CLAUDE_CODE_DISABLE_TRANSCRIPT_READ_AHEAD` to skip the read-ahead.\n\n**Why**\n\nThis changes how those sessions are resumed, and the variable gives you a way back if the read-ahead causes trouble.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}