Skip to content

A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

fix: correct autoCheckpoint config documentation in 08-checkpoints (#39)

JiayuWang(王嘉宇)749c79f63352
diff --git a/08-checkpoints/README.md b/08-checkpoints/README.md
index e49ecd3..24306f8 100644
--- a/08-checkpoints/README.md
+++ b/08-checkpoints/README.md
@@ -207,15 +207,17 @@ Since checkpoints are created automatically, you can focus on your work without
## Configuration
-You can toggle automatic checkpoints in your settings:
+Checkpoints are a built-in default behavior in Claude Code and do not require any configuration to enable. Every user prompt automatically creates a checkpoint.
+
+The only checkpoint-related setting is `cleanupPeriodDays`, which controls how long sessions and checkpoints are retained:
```json
{
- "autoCheckpoint": true
+ "cleanupPeriodDays": 30
}
```
-- `autoCheckpoint`: Enable or disable automatic checkpoint creation on every user prompt (default: `true`)
+- `cleanupPeriodDays`: Number of days to retain session history and checkpoints (default: `30`)
## Limitations
@@ -233,8 +235,8 @@ Checkpoints have the following limitations:
**Solution**:
- Check if checkpoints were cleared
-- Verify that `autoCheckpoint` is enabled in your settings
- Check disk space
+- Ensure `cleanupPeriodDays` is set high enough (default: 30 days)
### Rewind Failed