Keep Claude working toward a goal changedgoal
Nearest release: v2.1.335, published 5 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 3 Dec 2026 03:26 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 3 Dec 2026 03:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
95
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits26to this page, all time
The whole hunk
from line 95, old and new numbered
/
from line 95
9595
9696### Resume with an active goal
9797
98When you resume a session, Claude Code restores a goal that was still active when the session ended. Claude Code restores it on every resume route: `--continue`, `--resume` with a session ID, name, or [transcript file path](https://code.claude.com/docs/en/sessions.md#resume-a-session), and the [session picker](https://code.claude.com/docs/en/sessions.md#use-the-session-picker). Before v2.1.239, Claude Code restored the goal on every route except the `claude --resume` picker.
98A goal that was still active when the session ended comes back when you [resume the session](https://code.claude.com/docs/en/sessions.md#resume-a-session) with `--continue`, `--resume`, or the [session picker](https://code.claude.com/docs/en/sessions.md#use-the-session-picker). Restoring from the `claude --resume` picker requires Claude Code v2.1.239 or later.
9999
100100The goal's turn count and timer reset.
101101
No line in this hunk matches that.