{"name":"CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING","slug":"claude-code-disable-file-checkpointing","family":"env","title":"Environment variables","noun":"environment variable","description":"Set to `1` to disable file [checkpointing](\/docs\/en\/checkpointing). The `\/rewind` command will not be able to restore code changes. Overrides the [`fileCheckpointingEnabled`](\/docs\/en\/settings-reference#filecheckpointingenabled) setting","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.280","released_at":"2026-09-22 15:44:39","spans":1}},"aliases":[],"entries":[{"version":"2.1.304","anchor":"file-checkpointing-and-a-settingsfile-reader-are-off-in-a-n","heading":"File checkpointing and marketplace fetches are off in sessions that cannot save files","line":"In one kind of session that cannot save files, Claude Code turns off file checkpointing, skips a config file and refuses marketplace fetches","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text"},{"version":"2.1.283","anchor":"a-bundled-hooks-modules-commandrun-hook-now-fires-only-for","heading":"A built-in module now reacts only to \/clear, \/diff and \/resume","line":"One built-in module that used to step in on every slash command now does so only for `\/clear`, `\/diff` and `\/resume`","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"},{"version":"2.1.280","anchor":"prdiff-pane-now-checks-file-checkpointing-before-auto-openi","heading":"PR\/diff pane now checks file checkpointing before auto-opening","line":"The PR\/diff pane now checks whether file checkpointing is on before auto-opening","released_at":"2026-09-22 15:44:39","reason":"found in this entry's text, named in this entry"},{"version":"1.0.128","anchor":"file-checkpointing-enablement","heading":"File Checkpointing Enablement","line":null,"released_at":"2025-09-27 16:06:56","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"CLAUDE_CODE_DISABLE_FILE_MENTIONS","slug":"claude-code-disable-file-mentions","description":"Claude Code now recognises a `CLAUDE_CODE_DISABLE_FILE_MENTIONS` environment variable, listed with other variables that turn features off"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-disable-file-checkpointing","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}