Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Explore the .claude directory changedclaude-directory

Nearest release: v2.1.239, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+10added
Lines−9removed
From line 1,522 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits45to this page, all time

The whole hunk

from line 1522, old and new numbered
/
lines
from line 1522
15221522| `file-history/<session>/` | Pre-edit snapshots of files Claude changed, used for [checkpoint restore](/docs/en/checkpointing). Holds snapshots for the 100 most recent checkpoints; snapshot files that no retained checkpoint references are deleted, except each file's first snapshot |
15231523| `plans/` | Plan files written during [plan mode](/docs/en/permission-modes#analyze-before-you-edit-with-plan-mode) |
15241524| `debug/` | Per-session debug logs, written only when you start with `--debug` or run `/debug` |
1525| `paste-cache/`, `image-cache/` | Contents of large pastes and attached images |
1525| `paste-cache/` | Contents of large pastes |
1526| `image-cache/<session>/` | Attached images. On each sweep, Claude Code removes the directories of all other sessions, whatever their age. |
15261527| `session-env/` | Per-session environment metadata |
15271528| `tasks/` | Per-session task lists written by the task tools |
15281529| `shell-snapshots/` | Aliases, functions, and shell options captured at startup and applied by the [Bash tool](/docs/en/tools-reference#bash-tool-behavior) to each command. Removed on clean exit. The sweep clears any left after a crash. |
1529| `backups/` | Timestamped copies of `~/.claude.json` taken before config migrations |
1530| `backups/` | Earlier versions of `~/.claude.json`, copied when Claude Code rewrites the file. Claude Code keeps the five newest, plus a copy of any version it couldn't parse. |
15301531| `feedback-bundles/` | Redacted transcript archives written by `/feedback` on third-party providers or when no Anthropic credentials are configured, for sending to your Anthropic account team |
15311532| `usage-data/` | `report.html` and timestamped report copies written by [`/insights`](/docs/en/costs#analyze-your-usage-patterns), plus cached per-session analysis data used to build them |
15321533| `todos/`, `statsig/`, `logs/` | Legacy directories from older versions. No longer written. The sweep removes their contents and then the empty directory. |
from line 1543
15421543 
15431544The following paths are not covered by automatic cleanup and persist indefinitely.
15441545 
1545| Path under `~/.claude/` | Contents |
1546| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1547| `history.jsonl` | Every prompt you've typed, with timestamp and project path. Used for up-arrow recall. |
1548| `stats-cache.json` | Aggregated token and cost counts shown by `/usage` |
1549| `remote-settings.json` | Cached copy of [server-managed settings](/docs/en/server-managed-settings) for your organization. Only present when your organization has configured them. Refreshed on each launch. |
1550| `cache/changelog.md` | Cached copy of the Claude Code changelog, used to show release notes after an update. Refreshed in the background. |
1551| `policy-limits.json` | Cached feature policy settings for your organization. Only present for some account types. Refreshed automatically. |
1546| Path under `~/.claude/` | Contents |
1547| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1548| `history.jsonl` | Every prompt you've typed, with timestamp and project path. Used for up-arrow recall. |
1549| `stats-cache.json` | Aggregated token and cost counts shown by `/usage` |
1550| `remote-settings.json` | Cached copy of [server-managed settings](/docs/en/server-managed-settings) for your organization, or `{}` when your organization has configured none. Only present when the session [fetches them](/docs/en/server-managed-settings#platform-availability). Claude Code checks for updates at startup and hourly during a session. |
1551| `cache/changelog.md` | Cached copy of the Claude Code changelog, used to show release notes after an update. Refreshed in the background. |
1552| `policy-limits.json` | Cached feature policy settings for your organization. Only present for some account types. Refreshed automatically. |
15521553 
15531554Other small cache and lock files appear depending on which features you use and are safe to delete.
15541555 
Feedback