{"name":"tengu_hazel_trellis","slug":"tengu-hazel-trellis","family":"flag","title":"Feature flags","noun":"feature flag","description":"Default `3`. Maximum subagent nesting depth, used when `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH` is unset; a value that is not an integer of at least `1` uses `3`, and the result is cached after the first read. Launching an agent at or past this depth fails with `Subagent nesting limit reached (depth N of M)`, and several agent-tool checks compare against it, some only asking whether it is above `1`.","description_source":"code","described_by":{"bundle":"2.1.272","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.257","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":19,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.217","anchor":"worker-agent-system-prompt","heading":"Worker Agent System Prompt","line":null,"released_at":"2026-07-21 19:55:38","reason":"gate cited by this entry, found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[{"version":"2.1.217","state":"unknown","account":null,"baseline":null,"code_default":null}],"related":[{"name":"tengu_hazel_lantern","slug":"tengu-hazel-lantern","description":"Attachments fetched ahead of time in remote sessions can have their hold renewed, and ones that stall show `[attachment did not arrive]`"},{"name":"tengu_hazel_osprey","slug":"tengu-hazel-osprey","description":"Default `false`. Turns on the `context-hint-2026-04-09` beta for main-thread requests that carry first-party betas: once an estimate of savable tokens reaches `20000`, the request body gets `context_hint` with `enabled: true` and a `target_tokens_saved` from `tengu_hazel_osprey_floor` (default `75000`, omitted unless above 0). API errors such as 422, 424, 409, 529 or an invalid request turn the hint off again."},{"name":"tengu_hazel_osprey_floor","slug":"tengu-hazel-osprey-floor","description":"Number, code default `75000`. While the `tengu_hazel_osprey` context-hint feature is on for main-thread requests, a request that qualifies for the hint carries `context_hint: {enabled: true, target_tokens_saved: <value>}`; a value of `0` or less leaves `target_tokens_saved` out."},{"name":"tengu_hazel_quire","slug":"tengu-hazel-quire","description":"Claude has the machinery to write dated session log files for auto-memory, but nothing calls it."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/flag\/tengu-hazel-trellis","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}