Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Plan mode can be restored by reading the transcript

You'll notice
Useful4 Signal4
Plan Mode

Resuming a session can now re-enter plan mode by reading your transcript, and this is on by default.

What

Resuming a session could previously only restore plan mode from a value the previous run recorded. A new path instead scans the transcript backwards for plan markers, ExitPlanMode tool calls and plan-mode user turns, classifies the session as still in a plan, exited, or neither, and re-enters plan mode when a plan is open and no recorded mode exists. It is controlled by the tengu_tranquil_fern gate, which defaults to on when no server value is present.

Details
  • Applies only when a --sdk-url is used, or when no permission mode was given on the command line; never when forking a session.
  • Tool results that begin with the team-lead submission message, or that carry an awaiting-leader-approval marker, count as still in plan.
  • When it fires, the restore source is recorded as "transcript" rather than the previous run's recorded mode.
  • A second latch condition sits alongside the gate, and what it tracks is not determinable from this code path.
Evidence

[planModeResume] re-entering plan mode from the transcript's open plan segment (was

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.246 →