{"name":"CLAUDE_CODE_RESUME_FILES_KEPT","slug":"claude-code-resume-files-kept","family":"env","title":"Environment variables","noun":"environment variable","description":null,"description_source":"none","described_by":null,"presence":{"first_seen":"2.1.337","removed_in":null,"in_current_build":true,"newest_mined":"2.1.337","builds":1,"mined_builds":176,"first_cited":{"version":"2.1.337","released_at":"2026-12-04 17:10:04","spans":1}},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_RESUME_CACHE_WARM","slug":"claude-code-resume-cache-warm","description":"Claude Code recognises `CLAUDE_CODE_RESUME_CACHE_WARM` and lets a cache-warming request run when you resume a session"},{"name":"CLAUDE_CODE_RESUME_FROM_SESSION","slug":"claude-code-resume-from-session","description":"Child worker processes no longer inherit your session id, resume prompt or auth handles."},{"name":"CLAUDE_CODE_RESUME_HINT_COMMAND","slug":"claude-code-resume-hint-command","description":"Claude Code now passes a new `CLAUDE_CODE_RESUME_HINT_COMMAND` environment variable on when it relaunches or starts background sessions"},{"name":"CLAUDE_CODE_RESUME_INTERRUPTED_TURN","slug":"claude-code-resume-interrupted-turn","description":"Resuming a turn interrupted by shutdown now correctly sees the tool call as still pending instead of faked-answered."},{"name":"CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS","slug":"claude-code-resume-interrupted-turn-max-age-ms","description":"The staleness cutoff for auto-resuming an interrupted turn is now configurable, defaulting to 6 hours"},{"name":"CLAUDE_CODE_RESUME_PROMPT","slug":"claude-code-resume-prompt","description":"Child worker processes no longer inherit your session id, resume prompt or auth handles."},{"name":"CLAUDE_CODE_RESUME_REASON","slug":"claude-code-resume-reason","description":"New CLAUDE_CODE_RESUME_REASON env var labels why an interrupted turn was resumed"},{"name":"CLAUDE_CODE_RESUME_SESSIONSTART_HOOKS_WAIT_MS","slug":"claude-code-resume-sessionstart-hooks-wait-ms","description":"Claude Code now reads three new environment variables: agent progress summaries, a sleep-compaction delay and a resume hook wait"},{"name":"CLAUDE_CODE_RESUME_SHOWS_CUT_OFF_CALLS","slug":"claude-code-resume-shows-cut-off-calls","description":"A new CLAUDE_CODE_RESUME_SHOWS_CUT_OFF_CALLS setting lets a resumed session show tool calls that were interrupted mid-turn"},{"name":"CLAUDE_CODE_RESUME_SOURCE_ALIVE","slug":"claude-code-resume-source-alive","description":"The screen-reader setting CLAUDE_AX_SCREEN_READER now joins the environment variables Claude Code passes along"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-resume-files-kept","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}