Todo/task tool availability no longer falls back to a remote feature flag; it's decided locally
The check that decides whether the todo/task tracking tools are available dropped a remote feature-flag lookup and an associated fallback branch it previously relied on. Now availability is decided purely by local conditions: it's enabled if certain internal checks pass, if the model's capability string is missing or matches specific known patterns, or if the environment variable CLAUDE_CODE_ENABLE_TODO_TOOLS is explicitly set to true, with no separate remote feature-flag fallback anymore.
This makes todo/task tool availability depend only on local, inspectable conditions (the model in use and the CLAUDE_CODE_ENABLE_TODO_TOOLS environment variable) rather than a remote flag fetched from Anthropic's servers.
Changed the task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) to be offered only on Claude 3.x, Opus 4.0–4.7, Sonnet 4.0–4.6…