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.217 Home All releases olderv2.1.216 v2.1.218newer
Claude Code v2.1.217

Worker Agent System Prompt

Feature flag
tengu_hazel_trellis Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.217: not a boolean we can read

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.217. It isn't a statement about your account. What a flag value here can and cannot tell you

Worker agents launched in multi-agent workflows now receive a structured system prompt covering environment awareness, scope limits, resumed task handling, error escalation, and output format. Key guidelines:

  • Don't modify code you don't understand; stop and report to the coordinator if confused
  • Complete exactly what was asked; suggest follow-ups for unrelated issues found
  • If you have the Task tool, you may use it to fan out — but workers at the depth cap don't receive it
  • Output structured: "What you did or found" then "Summary: one sentence"

The subagent spawn depth ceiling is now configurable via tengu_hazel_trellis (feature flag) or CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH (environment variable).

Evidence

Worker prompt (search for "You are a worker agent executing a task assigned by the coordinator") and depth env var (search for "CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH")

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