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.229 Home All releases olderv2.1.228 v2.1.231newer
Claude Code v2.1.229

Sibling workflow agents stagger their first request to warm the cache

Use it now
Useful3 Signal3
Workflows Notable

Parallel workflow agents stagger their first call to share cache; tune with an env var.

CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MSDISABLE_PROMPT_CACHING
What

When several workflow agents start with an identical prompt prefix, the followers now wait briefly for the leader's first response so their request hits the prompt cache instead of paying full price for the same prefix. The wait is capped by CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS, which has a built-in default when unset and is forced to 0 when DISABLE_PROMPT_CACHING is set.

Details
  • Agents sharing a prefix register in a warm-up map; the first one through is the leader
  • Followers wait up to the cap, then proceed regardless
  • With prompt caching disabled there is no wait at all
Evidence

CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS

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.229 →