Files
Luong NGUYEN ac9ee17169 docs: make version stamps and Compatible Models footers true (#259)
Type: docs

Makes the version stamps, Compatible Models footers and locale README badges say only what has been checked. Every claim below was checked against `https://code.claude.com/docs/en/<page>.md` or the raw changelog (2.1.303–2.1.322), not written from memory.

## Part A: English footers at 2.1.310 / 2.1.302

Each file's behavioural claims were checked against every changelog entry after its stamp, up to 2.1.322, and against the current docs. A stamp moves only when every claim checks out.

| File | Claims checked | Fixes | Sources | New stamp |
|---|---|---|---|---|
| `INDEX.md` | ~75: AGENTS.md rule (v2.1.277); skill/agent/MCP install paths; `/mcp__github__list_prs`; 5 hook types, 33 events, task-tool model note; `--plugin-dir`; checkpoint menu (6 options); `/workflows`, ultracode (v2.1.284), size guideline; 6 permission modes; `/loop` and the cron tools; Chrome; Remote Control; `SendMessage`/`ListAgents`/`notify_when_idle`; CLI flags | 1. Workflow size: medium aims for fewer than 10 agents only since v2.1.271 (15 before), and the default is small on a Pro plan. 2. dontAsk: file reads inside the working directories also run, as do *most* calls a `permissions.allow` rule or a `PreToolUse` hook approves (neither can approve critical-path `rm`/`rmdir` or network-path reads), and an installed mod can approve some calls. No version is given: the changelog doesn't say when a mod's `tool.check` allow arrived (it is already referenced in 2.1.290, 2.1.292 and 2.1.299). 3. `SendMessage` also reaches sessions on other machines and in the cloud, from a session connected to Remote Control with a claude.ai sign-in; a cloud session can't answer with `SendMessage`. The L383 use-case column now says the same. 4. The `--model` list adds the Fable models. 5. Plan mode: "Read-only analysis" → researches and proposes, runs shell commands to explore, edits blocked until the plan is approved. | [workflows#set-a-size-guideline](https://code.claude.com/docs/en/workflows#set-a-size-guideline) ("The default is `medium`, or `small` when you're signed in on a Pro plan with Claude Code v2.1.271 or later"); CL 2.1.219 ("aim for fewer than 15 agents"), CL 2.1.271 ("lowered the medium size guideline from 15 to 10 agents"); [permission-modes](https://code.claude.com/docs/en/permission-modes#allow-only-pre-approved-tools-with-dontask-mode) ("a mod you installed can still approve some of those calls"; "Claude still runs … file reads inside your working directories and read-only Bash commands"; "It also denies the built-in `AskUserQuestion` tool even if your allow rules match it"; "An allow rule or `PreToolUse` hook can't approve these: Recognized `rm` and `rmdir` critical-path removals … Reads from a network path"); CL 2.1.292 ("Fixed a plugin's `tool.check` hook answering allow running a tool…"), CL 2.1.299 ("…that a `PreToolUse` hook or a mod's `tool.check` hook allowed"); [permission-modes#analyze-before-you-edit-with-plan-mode](https://code.claude.com/docs/en/permission-modes#analyze-before-you-edit-with-plan-mode) ("Claude reads files, runs shell commands to explore, and writes a plan, but does not edit your source. Except in interactive terminal sessions with bypass permissions available, edits stay blocked until you approve the plan."); [cross-session-messaging](https://code.claude.com/docs/en/cross-session-messaging) ("reach your sessions on other machines or in the cloud"; "from a session that is connected to Remote Control, which needs a claude.ai sign-in"; "A cloud session … can't use `SendMessage` to answer a message from another machine"); model-config. The "device card" line checked out against [whats-new/2026-w34](https://code.claude.com/docs/en/whats-new/2026-w34). | **2.1.322** |
| `LEARNING-ROADMAP.md` | 33 hook events / 5 types; 6 built-in subagents (Explore, Plan, General-purpose, claude, statusline-setup, claude-code-guide); 60+ commands (commands page has 121 rows); `/design` (v2.1.265); `/plan`, `/rewind`, `/loop 5m`, `/schedule`; 6 permission modes (Manual since v2.1.200); Alt+T; skill `effort`/`shell`; plugin `workflows`/`channels`/`dependencies`; agent-teams env var; `claude mcp add --transport http`; `-r`, `--max-turns`, `--output-format json`; all 17 source links resolve | 1. Remote Control: "generally available" → "out of research preview", the docs' own wording. 2. Extended thinking (L368, Exercise 3, checklist): Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models always use extended thinking, so the exercise uses `/effort` and scopes Alt+T / Option+T to models that allow turning thinking off. 3. Exercise 4: checkpoints are automatic and unnamed, so step 1 no longer creates a named "Clean state" checkpoint and step 5 says which one to `/rewind` to. | [whats-new/2026-w34](https://code.claude.com/docs/en/whats-new/2026-w34): "Any machine running `claude remote-control` now shows up as a device card at the top of the Code tab in the Claude app. Remote Control is also out of research preview."; [interactive-mode](https://code.claude.com/docs/en/interactive-mode): Alt+T "Has no effect on Opus 5.5, Sonnet 5.5, Haiku 5.5, or the Fable models, which always use extended thinking."; [model-config](https://code.claude.com/docs/en/model-config): "the effort level is the primary control for how much thinking happens"; [checkpointing](https://code.claude.com/docs/en/checkpointing): "Every prompt you send that starts a turn creates a new checkpoint" | **2.1.322** |
| `resources.md` | Adaptive reasoning on Opus 4.7+, Sonnet 5+, Haiku 5.5 and the Fable models; permission modes; 33 hook events; `/loop` and cron; 7 memory tiers; Chrome; keybinding chords; Code Review; Monitor (2.1.98); `/goal` and `claude agents` (2.1.139); `--json` (2.1.145); all links | none needed | model-config, hooks, memory, agent-view, changelog | **stays 2.1.310**: L253 gives `/run`, `/verify`, `/run-skill-generator` as "(v2.1.145+)". Neither the changelog, the v2.1.145 release notes, the skills/commands docs nor the what's-new pages for weeks 19–22 give a version. |
| `03-skills/claude-md/SKILL.md` | `name`/`description` frontmatter, `$ARGUMENTS`; CLAUDE.md locations and loading; "under 200 lines"; AGENTS.md gates (v2.1.277, v2.1.281), blocking files, `/config` Project instructions values and default; `@AGENTS.md`/symlink fallback; `.claude/agents/` | L196: the list of cases where AGENTS.md isn't read now includes a disabled built-in plugin, and limits the upgrade case to "in some cases" after upgrading from v2.1.276 or earlier | [memory#when-agents-md-support-is-unavailable](https://code.claude.com/docs/en/memory#when-agents-md-support-is-unavailable): "You used `/plugin` to disable the built-in plugin that reads `AGENTS.md`"; "In some cases, it's your first session after you upgrade from v2.1.276 or earlier" | **stays 2.1.302**: no primary source states L24 ("~150-200 instructions", "system prompt already uses ~50") or L214 (the system reminder says CLAUDE.md "may or may not be relevant") |
| `07-plugins/devops-automation/README.md` | `--plugin-dir` install; commands; agents; hooks; MCP; workflow; source URLs (all 200) | none: the stale claims need a design decision (below) | [plugins/components](https://code.claude.com/docs/en/plugins/components): "Save a command at `commands/<file>.md` and it becomes `/<plugin>:<file>`"; [plugins-reference](https://code.claude.com/docs/en/plugins-reference) standard layout: "Hooks \| `hooks/hooks.json`", "MCP servers \| `.mcp.json`" | **stays 2.1.302**: bare `/deploy`, `/rollback`, `/status` (`/status` is also a built-in), `/incident`; `hooks/*.js` are never registered (no `hooks/hooks.json`); `mcp/kubernetes-config.json` never loads (no `.mcp.json` or `mcpServers`) |
| `07-plugins/documentation/README.md` | same | none | same | **stays 2.1.302**: bare command names; `mcp/github-docs-config.json` never loads, so the `GITHUB_TOKEN` setup has no effect |
| `07-plugins/pr-review/README.md` | same | none | same | **stays 2.1.302**: bare command names; `hooks/pre-review.js` is not registered; `mcp/github-config.json` never loads |

No changelog entry from 2.1.303 to 2.1.322 touched the plugin READMEs or SKILL.md. Their problems predate the stamps, and #209 already listed the hook/MCP files that never load.

**Locale copies:** the same factual fixes went into every locale with the same sentence. That's dontAsk and plan mode in all six INDEX files; workflow size in fa and ko; `SendMessage` and the use-case column in fa and ko; the `--model` list in fa and ko; "generally available" in fa and ko LEARNING-ROADMAP; the extended-thinking exercise/checklist and the checkpoint exercise in all six LEARNING-ROADMAP copies; the AGENTS.md cases in all six SKILL.md copies. Locale stamps were not bumped. INDEX and LEARNING-ROADMAP stay at 2.1.310 in every locale, and the SKILL.md copies keep their footers.

## Part B: Compatible Models footers

The new list is **Claude Fable 5.2, Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 5.5, Claude Haiku 4.5**. It is used on root docs and module pages alike, and it's the README FAQ's list, so the footers and the FAQ no longer disagree.

Why one list for both file types: STYLE_GUIDE's footer rule ("List all compatible models") applies to both. A shorter "current models only" list on module pages would break that rule. Justification from [model-config](https://code.claude.com/docs/en/model-config):

- **Current models:** "| Anthropic API | Opus 5.5 | Sonnet 5.5 | Haiku 5.5 |"; "the `fable` alias resolves to Fable 5 in Claude apps gateway sessions and to Fable 5.2 everywhere else"; "Fable 5.2 requires Claude Code v2.1.321 or later".
- **Older models still in use:**
  - "**Fable 5.1 or Fable 5**: select it by model ID."
  - "| Claude Platform on AWS | Opus 5.5 | Sonnet 4.6 | Haiku 4.5 |".
  - "biology-flagged requests re-run on Opus 5, and cybersecurity-flagged requests re-run on Opus 4.8".
  - "**Sonnet 5.5**: cybersecurity-flagged requests re-run on Sonnet 5."
- **None are retired.** The [models overview](https://platform.claude.com/docs/en/about-claude/models/overview) that model-config links marks only Opus 4.1, Opus 4 and Sonnet 4 as "retired". All eleven listed models appear there without that mark.

Scope: 336 lines in 331 files. The changed lines are the `**Compatible Models**` lines (92, some of them in locale files) and every localized label (`호환 모델`, `مدل‌های سازگار`, `Các Mô Hình Tương Thích`, `Сумісні моделі`, `対応モデル`, `互換モデル`, `兼容模型`), plus the italic `*対応:…*` / `*Для …*` / `*适用于 …*` lines in the ja/uk/zh concepts guides. Labels, separators (`, ` `、` `، `) and locale stamps are unchanged. The README FAQ lines and the 05-mcp `tool_reference` note are not footers and were left alone. The footer lines of `CHANGELOG.md`, `fa/CHANGELOG.md` and `ko/CHANGELOG.md` also carry the new list; only the footer line changed, not the entries.

## Part C: locale README badges

Real state: the newest version that most (more than half) of the locale's ten module READMEs carry or exceed, backed by the sync commit that brought them there.

A badge is marked **(partial)** when one or more of the locale's module READMEs has no version footer (never synced since its first translation), or when the locale is a condensed translation. A module synced to an older version than the badge doesn't make it partial on its own; the majority rule above already covers that. Only zh meets the rule (02-memory and 05-mcp have no footer, and #247 calls zh condensed).

| Locale | Old badge / "latest" | Evidence | New |
|---|---|---|---|
| ja | 2.1.119 (badge, "latest", FAQ) | module footers: 3×2.1.322, 5×2.1.316, 1×2.1.310, 1×2.1.302; 8/10 ≥ 2.1.316 (#230); #247 carried only the sections ja has | **2.1.316** (Oct 2026) |
| uk | 2.1.112 (FAQ line; no badge) | 3×2.1.322, 4×2.1.316, 1×2.1.310, 2×2.1.302; 7/10 ≥ 2.1.316 (#230) | **2.1.316** (Oct 2026) |
| zh | 2.1.112 (badge, "latest", FAQ) | 2.1.316, 2.1.310 ×2, 2.1.302 ×2, 2.1.300 ×2, 2.1.278; 02 and 05 have no footer (untouched since the first translation); 7/10 ≥ 2.1.300 (#193); #247 was "condensed", model lists only | **2.1.300 (partial)** (Oct 2026): the badge, "latest" and FAQ lines say zh is condensed and that 02-memory and 05-mcp haven't been synced since the April 2026 translation |
| ko | 2.1.310 | 5×2.1.322, 5×2.1.310; #228 synced ko to 2.1.310, and #247 says 2.1.316 "was not backfilled" | **2.1.310** (unchanged) |
| fa | 2.1.310 | 5×2.1.322, 5×2.1.316; #241 "syncs the translation from v2.1.310 to v2.1.316"; #247 carried only the 2.1.322 P1 changes | **2.1.316** (Oct 2026) |
| vi | none (README has no badge or version line) | 4×2.1.322, 6×2.1.316 | no change |

Months come from the docs changelog: 2.1.300 was released October 14, 2026 and 2.1.316 October 31, 2026. The README *footers* in fa/ja/ko/uk/zh stay at 2.1.322: #247 checked those files themselves, while the badge describes the whole locale.

## Deliberately left

- **Stamps not bumped:** `resources.md` (2.1.310), `03-skills/claude-md/SKILL.md` and the three plugin READMEs (2.1.302), for the reasons in the Part A table.
- **Example plugins:** the fix is a design choice between wiring up `hooks/hooks.json` / `.mcp.json` and rewording the READMEs, and renaming commands to `/<plugin>:<name>` touches seven languages plus `07-plugins/README.md` (bare `/review-pr`). It needs a follow-up issue.
- **Same unverifiable version elsewhere:** `03-skills/README.md` also said `/run-skill-generator` is v2.1.145+. Handled by #262, now merged into this branch from `main`.
- **Older `--model` lists:** ja/uk/vi/zh INDEX have pre-5.x lists (e.g. "Sonnet 4.6, Opus 4.7, Haiku 4.5"). That isn't the English sentence, so it belongs to a locale sync.

## Follow-ups
- **LEARNING-ROADMAP `/effort` line (review r3 N13):** line 368 can read as if `/effort` applies only to the models that always use extended thinking; per model-config's effort table it also works on Opus 5, Sonnet 5 and Opus 4.8. Not wrong; clarify in the next pass.

- **Compatible Models scope (review S3):** Opus 4.6 is Microsoft Foundry's current `opus`, and Sonnet 4.5 is the current `sonnet` on Bedrock, Google Cloud's Agent Platform and Foundry (deprecated, retiring Nov 30, 2026), per model-config's alias table. Both are still in use, so either add them to the FAQ and every footer (Sonnet 4.5 marked deprecated), or define the list's scope in STYLE_GUIDE (e.g. the models the aliases resolve to on the Anthropic API plus older models in active use) and cite the deprecations table.
- **Model order (review N8):** the list puts Opus 4.8 after Sonnet 4.6. Grouping by family (Fable, Opus 5.5/5/4.8, Sonnet, Haiku) would read better; the order is shared by STYLE_GUIDE, the FAQ and every footer, so change it everywhere at once.
- **Example plugins:** the follow-up issue proposed above.

## Validation

- `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid pre-commit run --files <338 changed files>`: every hook passes, including link-check (246 URLs per language). The Mermaid hooks can't install here (`language: node must have package.json or additional_dependencies`, the same failure #247 reported). `python scripts/check_mermaid.py --strict` was run directly instead: Pele 1.6.0 rendered all 416 blocks.
- `python scripts/check_cross_references.py`: all valid (674 files).
- Review fix round 1 (18 files): the same `pre-commit run --files` passes every hook (Mermaid hooks skipped as above; no Mermaid block was touched), and the cross-reference check is still valid after merging `main`.
- Review fix round 2 (14 files: the extended-thinking wording in all 7 LEARNING-ROADMAP files, the dontAsk line in all 7 INDEX files): `pre-commit run --files` passes every hook (Mermaid hooks skipped; no Mermaid block touched), and the cross-reference check is valid (674 files) after merging `main` again (#257).
- Pre-push secret scan: it flagged `06-hooks/README.md:1683` (en, fa, vi), a false positive. The `sk-…{20,}` pattern matches the docs anchor `hooks#pretooluse-ask-decisions-in-auto-mode`, which has been on `main` since 11b2ae3 (en), c2f92c8 (fa) and 8de1820 (vi), and is not on a line this PR changes. The PR's added lines have no secret-pattern matches.

Closes #256
2026-11-12 14:29:18 +01:00
..

Claude How To

체크포인트 및 되감기

체크포인트를 사용하면 Claude Code 세션에서 대화 상태를 저장하고 이전 시점으로 되돌릴 수 있습니다. 이는 다양한 접근 방식을 실험하거나, 실수를 복구하거나, 여러 해결 방법을 비교하는 데 매우 유용합니다.

개요

체크포인트는 대화 상태를 저장하고 이전 시점으로 되돌릴 수 있게 해주는 기능입니다. 이를 통해 안전하게 다양한 접근 방식을 실험하고 탐색할 수 있습니다. 체크포인트에는 다음이 포함됩니다:

  • 모든 메시지 기록
  • 파일 수정 내역
  • 도구 사용 기록
  • 세션 컨텍스트

체크포인트는 다양한 접근 방식을 탐색하거나, 실수를 복구하거나, 대안들을 비교할 때 매우 유용합니다.

핵심 개념

개념 설명
체크포인트 메시지, 파일, 컨텍스트를 포함한 대화 상태의 스냅샷
되감기(Rewind) 체크포인트 시점으로 돌아가 이후 변경 사항을 폐기
브랜치 포인트 여러 접근 방식을 탐색하기 위한 기준 체크포인트

체크포인트 접근 방법

체크포인트는 두 가지 방법으로 접근할 수 있습니다:

키보드 단축키 사용

Esc 키를 두 번 누르면(Esc + Esc) 체크포인트 인터페이스가 열리며 저장된 체크포인트를 탐색할 수 있습니다.

슬래시 명령어 사용

빠른 접근을 위해 /rewind 명령어(별칭: /checkpoint, /undo)를 사용할 수 있습니다:

# 되감기 인터페이스 열기
/rewind

# 별칭 사용
/checkpoint

되감기 옵션

되감기를 수행하면 다음 6가지 옵션이 제공됩니다:

  1. 코드와 대화 복원 -- 파일과 메시지를 해당 체크포인트 상태로 모두 복원
  2. 대화만 복원 -- 메시지만 되돌리고 파일은 현재 상태 유지
  3. 코드만 복원 -- 파일만 되돌리고 대화 기록은 유지
  4. 여기서부터 요약 -- 선택 시점 이후의 대화를 AI가 생성한 요약으로 압축하여 컨텍스트 공간을 확보. 이전 메시지는 유지되며 디스크 파일은 변경되지 않음. 원본 메시지는 세션에 보존됨. 필요 시 특정 주제 중심으로 요약 가능
  5. 여기까지 요약 -- 반대 방향의 요약: 선택 시점 이전의 모든 내용을 AI가 생성한 요약으로 압축하고, 이 시점 이후의 메시지는 그대로 유지. "여기서부터 요약"과 함께 사용하면 컨텍스트 창을 양방향으로 원하는 부분만 압축 가능. 디스크 파일은 변경되지 않으며 원본 메시지는 세션 기록에 보존됨
  6. 취소 -- 작업을 취소하고 현재 상태로 복귀

참고: 대화를 복원하거나 여기서부터 요약을 선택하면 선택한 메시지의 원본 프롬프트가 입력창에 복원되어 다시 전송하거나 수정할 수 있습니다. 여기까지 요약을 선택하면 입력창이 빈 상태로 대화의 끝에 머무릅니다.

팁: 되감기 후 종료하기 전에 Claude에게 프롬프트를 하나 보내십시오. Claude Code는 되감은 대화를 그 프롬프트와 함께 저장하므로, 먼저 종료하면 되감았던 메시지가 다시 돌아올 수 있습니다. 이를 다시 제거하려면 /rewind를 실행하고 같은 프롬프트를 선택한 뒤 대화만 복원을 선택하십시오. 복원된 파일은 되감기 직후 상태로 유지됩니다.

/clear는 더 이상 강한 경계가 아님 (v2.1.191+): /rewind는 /clear를 실행하기 전에 만들어진 체크포인트에서도 재개할 수 있습니다. 대화를 지워도 그 이전 상태가 영구적으로 폐기되지 않으므로, 이전 코드나 컨텍스트가 다시 필요하면 clear를 넘어 되감을 수 있습니다.

자동 체크포인트

Claude Code는 자동으로 체크포인트를 생성합니다:

  • 모든 사용자 입력마다 체크포인트 생성
  • 영구 저장: 체크포인트가 대화와 함께 저장되므로 세션을 재개한 후에도 /rewind를 사용할 수 있음
  • 자동 정리: 30일 후 자동 삭제

따라서 몇 분 전부터 며칠 전까지 모든 시점으로 되돌아갈 수 있습니다.

사용 사례

시나리오 워크플로
다양한 접근 방식 탐색 저장 → A 시도 → 저장 → 되감기 → B 시도 → 비교
안전한 리팩터링 저장 → 리팩터링 → 테스트 → 실패 시 되감기
A/B 테스트 저장 → A 설계 → 저장 → 되감기 → B 설계 → 비교
실수 복구 문제 발견 → 마지막 정상 상태로 되감기

체크포인트 사용 방법

확인 및 되감기

Esc를 두 번 누르거나 /rewind를 입력하면 체크포인트 브라우저가 열립니다. 시간순으로 모든 체크포인트가 표시되며 원하는 시점을 선택해 되돌릴 수 있습니다.

체크포인트 상세 정보

각 체크포인트에는 다음 정보가 포함됩니다:

  • 생성 시간
  • 수정된 파일 목록
  • 대화 메시지 수
  • 사용된 도구 목록

실전 예시

예시 1: 다양한 접근 방식 탐색

User: API에 캐싱 레이어를 추가해줘

Claude: Redis 캐싱을 API에 추가하겠습니다...
[A 시점 체크포인트 생성 후 변경 수행]

User: 아니, 인메모리 캐싱으로 해보자

Claude: 다른 접근 방식을 위해 되감기합니다...
[Esc+Esc로 A 체크포인트로 되감기]
[인메모리 캐싱 적용]

User: 이제 두 방식 비교할 수 있겠다

예시 2: 실수 복구

User: 인증 모듈을 JWT로 리팩터링해줘

Claude: 인증 모듈을 리팩터링합니다...
[대규모 변경 수행]

User: 잠깐, OAuth가 깨졌어. 되돌리자

Claude: 리팩터링 이전 상태로 되감겠습니다...
[리팩터링 이전 체크포인트로 복귀]

User: 이번엔 더 안전하게 해보자

예시 3: 안전한 실험

User: 함수형 스타일로 다시 작성해보자
[실험 시작 전 체크포인트 생성]

Claude: 함수형 스타일로 변경 중...

User: 테스트 실패했어. 되돌리자
[체크포인트로 복귀]

Claude: 이전 상태로 복원했습니다. 다른 접근을 시도해보겠습니다.

예시 4: 브랜치 비교

User: 두 가지 DB 설계를 비교하고 싶어
[시작 체크포인트]

Claude: 첫 번째 설계 구현...
[스키마 A 구현]

User: 다시 돌아가서 두 번째 방식도 해보자
[시작 체크포인트로 되감기]

Claude: 스키마 B 구현...
[스키마 B 구현]

User: 이제 두 가지 비교 가능

체크포인트 보관 정책

Claude Code는 체크포인트를 자동 관리합니다:

  • 모든 사용자 입력마다 자동 생성
  • 최대 30일간 보관
  • 오래된 체크포인트는 자동 삭제

워크플로 패턴

탐색을 위한 브랜칭 전략

여러 접근 방식을 비교할 때:

1. 초기 상태 → 체크포인트 A
2. 방법 1 시도 → 체크포인트 B
3. A로 되감기
4. 방법 2 시도 → 체크포인트 C
5. B와 C 비교
6. 최종 선택 후 진행

안전한 리팩터링 패턴

큰 변경을 할 때:

1. 현재 상태 → 자동 체크포인트
2. 리팩터링 시작
3. 테스트 실행
4. 성공 → 계속 진행
5. 실패 → 되감기 후 다른 접근 시도

모범 사용법

체크포인트는 자동 생성되므로 별도 저장 없이 작업할 수 있습니다. 하지만 다음 원칙을 권장합니다:

효과적인 사용법

✅ 권장

  • 되감기 전 체크포인트 목록 확인
  • 다른 방향을 실험할 때 rewind 활용
  • 여러 접근 방식 비교에 활용
  • 각 옵션의 의미 정확히 이해

❌ 비권장

  • 체크포인트를 코드 저장소처럼 의존
  • 외부 파일 변경 추적 용도로 사용
  • Git 커밋 대체 수단으로 사용

구성(Configuration)

체크포인트는 Claude Code의 기본 내장 동작이며, 별도의 설정 없이 자동으로 활성화됩니다. 모든 사용자 입력마다 자동으로 체크포인트가 생성됩니다.

체크포인트 동작은 두 가지 설정으로 제어합니다. 하나는 스냅숏 생성 여부, 다른 하나는 보관 기간입니다:

{
  "fileCheckpointingEnabled": true,
  "cleanupPeriodDays": 30
}
설정 기본값 효과
fileCheckpointingEnabled true 각 편집 전에 파일 스냅숏을 만들어 /rewind로 복원할 수 있게 함. v2.1.119+ 필요. /config에서 **Rewind code (checkpoints)**로 표시됨. 대응 환경 변수: CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING
cleanupPeriodDays 30 세션 기록 및 체크포인트를 보관하는 일수

Claude Code는 최근 100개 체크포인트의 스냅숏만 보관하며, 그보다 오래된 것은 보관 기간 안이라도 삭제됩니다.

v2.1.117 업데이트: cleanupPeriodDays는 이제 체크포인트뿐만 아니라 여러 디스크 캐시의 보관 기간을 관리합니다(아래는 일부이며, 세션 기록, file-history/, plans/, debug/, paste-cache/ 등도 포함됩니다):

  • 세션 체크포인트
  • ~/.claude/tasks/ — 영구 작업 리스트
  • ~/.claude/shell-snapshots/ — 셸 환경 스냅샷
  • ~/.claude/backups/ — ~/.claude.json의 이전 버전(최신 5개 유지)

하나의 설정값으로 이 디렉터리들이 동일한 보관 기간 기준으로 정리됩니다.

제한사항(Limitations)

체크포인트에는 다음과 같은 제한이 있습니다:

  • Bash로만 변경한 파일은 추적되지 않음 - Claude가 파일 편집 도구로 한 번 편집한 파일이라면, 이후 Bash 명령어가 그 파일에 가한 변경도 /rewind로 되돌릴 수 있지만, Bash 명령어로만 변경된 파일은 추적되지 않음. v2.1.309부터 sed -i도 다른 Bash 편집과 동일하게 취급됨
  • 외부 변경은 추적되지 않음 - Claude Code 외부(에디터, 터미널 등)에서 발생한 변경은 기록되지 않음
  • 버전 관리 시스템 대체 불가 - 영구적이고 감사 가능한 변경 이력은 Git을 사용해야 함
  • 서브에이전트 편집은 복원되지 않음 - 대화에서 Claude가 아직 편집하지 않은 파일을 서브에이전트가 편집하면 추적되지 않으므로 /rewind는 이를 그대로 둠(git으로 되돌려야 함). 예외적으로 포그라운드 context: fork 스킬의 편집은 메인 세션과 마찬가지로 복원됨

v2.1.216 업데이트: /rewind는 더 이상 추적 경로의 심볼릭 링크나 하드 링크를 통해 파일을 복원하거나 삭제하지 않습니다. 추적 경로가 심볼릭 링크나 하드 링크로 해석되면 링크를 따라가지 않고 건너뛰며, 이 이유로 건너뛴 경로 수를 보고합니다.

문제 해결(Troubleshooting)

체크포인트가 보이지 않음

문제: 예상한 체크포인트가 없음

해결 방법:

  • 체크포인트가 정리되었는지 확인
  • 디스크 공간 확인
  • cleanupPeriodDays 값이 충분히 큰지 확인 (기본 30일)

되감기 실패

문제: 체크포인트로 되돌아갈 수 없음

해결 방법:

  • 커밋되지 않은 변경 사항 충돌 여부 확인
  • 체크포인트 손상 여부 확인
  • 다른 체크포인트로 되감기 시도

Git과의 통합

체크포인트는 Git을 대체하지 않고 보완하는 기능입니다:

기능 Git 체크포인트
범위 파일 시스템 대화 + 파일
지속성 영구적 세션 기반
세분화 커밋 단위 모든 시점
속도 상대적으로 느림 즉시
공유 가능 제한적

둘을 함께 사용하는 것이 권장됩니다:

  1. 빠른 실험에는 체크포인트 사용
  2. 확정된 변경은 Git 커밋 사용
  3. Git 작업 전 체크포인트 생성
  4. 성공한 상태를 Git에 저장

빠른 시작 가이드(Quick Start Guide)

기본 워크플로

  1. 일반적으로 작업 - Claude Code가 자동으로 체크포인트 생성
  2. 되돌리고 싶을 때 - Esc 두 번 또는 /rewind 사용
  3. 체크포인트 선택 - 목록에서 원하는 시점 선택
  4. 복원 방식 선택 - 코드와 대화 복원, 대화만 복원, 코드만 복원, 여기서부터 요약, 여기까지 요약, 취소 중 선택
  5. 작업 계속 - 해당 시점에서 다시 작업 진행

키보드 단축키

  • Esc + Esc - 체크포인트 브라우저 열기
  • /rewind - 체크포인트 접근 명령어
  • /checkpoint, /undo - /rewind의 별칭

되감기를 언제 해야 하는가: 컨텍스트 모니터링

체크포인트는 되돌릴 수 있게 해주지만, 언제 되돌려야 하는지도 중요합니다. 대화가 길어질수록 Claude의 컨텍스트 윈도우가 차게 되고, 모델 성능이 점진적으로 저하될 수 있습니다. 이때 사용자는 인지하지 못한 상태에서 품질이 낮아진 결과를 기반으로 코드를 생성할 수 있습니다.

**cc-context-stats**는 이를 해결하기 위해 Claude Code 상태바에 실시간 컨텍스트 구간 표시를 제공합니다. 컨텍스트를 세 구간으로 나누어 보여줍니다:

  • Plan (초록): 안전한 계획 및 개발 단계
  • Code (노랑): 새로운 계획 시작은 피해야 하는 단계
  • Dump (주황): 마무리하고 되감기가 필요한 단계

이 구간이 변경되면 체크포인트를 만들고 새로 시작하는 것이 권장됩니다.

관련 개념(Related Concepts)

추가 자료(Additional Resources)

요약(Summary)

체크포인트는 Claude Code의 자동 기능으로, 작업을 잃지 않고 다양한 접근 방식을 안전하게 실험할 수 있게 해줍니다. 모든 사용자 입력마다 자동으로 체크포인트가 생성되므로 언제든지 이전 시점으로 되돌릴 수 있습니다.

핵심 장점:

  • 여러 접근 방식을 자유롭게 실험 가능
  • 실수 발생 시 빠른 복구
  • 다양한 해결책 비교 가능
  • Git과 안전하게 함께 사용 가능

중요: 체크포인트는 Git을 대체하지 않습니다. 빠른 실험에는 체크포인트를, 확정된 변경에는 Git을 사용하세요.


최종 업데이트: 2026년 10월 26일 Claude Code 버전: 2.1.310 출처: