Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.66 ·

Sub-Agent Context Forking (forkContext)

Entry
JSON All of v2.1.66
EntryKind: in v2.1.66,
ChangesSection of the release
What

Agents can now receive the full parent conversation context when spawned as sub-agents, enabling better awareness of what the user has been working on.

Details
  • New forkContext frontmatter field for agent .md definitions (set to true or false)
  • When enabled, the sub-agent receives prior conversation messages as read-only context
  • Agents with forkContext: true must use model: inherit to avoid context length mismatch
  • A new ### FORKING CONVERSATION CONTEXT ### boundary marker is injected to clearly separate inherited context from the sub-agent's own task
  • The sub-agent is instructed to only use tools available in its own system prompt, even if context messages reference other tools
Evidence

Sub-agent entry system (search for "sub_agent_entered" and "FORKING CONVERSATION CONTEXT")

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

Feedback