How Claude Code works changedhow-claude-code-works
Nearest release: v2.1.334, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 1 Dec 2026 22:20 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 1 Dec 2026 22:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
127
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits31to this page, all time
The whole hunk
from line 127, old and new numbered
/
from line 127
127127
128128#### When context fills up
129129
130Claude Code manages context automatically as you approach the limit. It compacts the conversation into a summary. The summary keeps your requests and key code snippets, but detailed instructions from early in the conversation may be lost. Put persistent rules in CLAUDE.md.
130Claude Code manages context automatically as you approach the [auto-compact window](https://code.claude.com/docs/en/model-config.md#context-window-and-auto-compaction). It compacts the conversation into a summary. The summary keeps your requests and key code snippets, but detailed instructions from early in the conversation may be lost. Put persistent rules in CLAUDE.md.
131131
132132To control what's preserved during compaction, add a "Compact Instructions" section to CLAUDE.md or run `/compact` with a focus (like `/compact focus on the API changes`).
133133
No line in this hunk matches that.