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.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Forked contexts reuse the system prompt instead of re-rendering it

You'll notice
Useful2 Signal2
Elsewhere

Forked contexts reuse the already-rendered system prompt instead of rebuilding it each time.

What

Starting a forked context used to rebuild the system prompt from scratch every time. It now takes a cached bundle when one exists, or the prompt already rendered for the current turn, and only builds a new one as a last resort.

Details
  • When it does build one, it now passes the current permission mode as well as the main loop's model, so the forked prompt matches the mode you are actually in.
  • The cache-breaking phrase is read from the call's own options rather than global app state.
Evidence

renderedSystemPrompt

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

See this entry in the whole of v2.1.247 →