[Bug] Task tools (TaskCreate/TaskUpdate/TaskGet/TaskList) missing entirely in session despite config enabling them — v2.1.217
Bug Description
Environment:
- Claude Code version: 2.1.217
- OS: Windows 11 Home (10.0.26200)
- Launch method: custom .bat wrapper (claude.exe --permission-mode acceptEdits %*), not a
child/sub-session
- Models tested: Opus 4.8 (1M) and Sonnet 5 — same result on both, within the same session
Expected behavior:
Per changelog, TodoWrite was removed in v0.2.82 and replaced by TaskCreate / TaskUpdate /
TaskGet / TaskList as of v2.1.142+. My config explicitly enables this:
- ~/.claude/settings.json: "todoFeatureEnabled": true, "env": {"CLAUDE_CODE_ENABLE_TASKS":
"1"}
- permissions.allow includes TaskCreate, TaskGet, TaskList, TaskUpdate, TaskOutput, TaskStop
- Launcher script also sets CLAUDE_CODE_ENABLE_TASKS=1
So TaskCreate/TaskUpdate/TaskGet/TaskList should be available as tools in this session.
Actual behavior:
None of TaskCreate, TaskUpdate, TaskGet, TaskList appear — not as directly callable tools,
and not even in the deferred-tools list (confirmed via explicit lookup, which returned "No
matching deferred tools found"). Only TaskOutput and TaskStop are present (deferred),
alongside Agent/Workflow/Monitor. Switching model mid-session (Opus → Sonnet) did not change
this, ruling out model-tier gating.
Suspected cause:
Possibly related to #23874 (Task tools disabled by an isTTY check in the VSCode extension) —
this may be a broader detection issue affecting native Windows CLI sessions too, not just
the VSCode extension, since Bash tool calls in this session are piped through git-bash which
may confuse TTY/environment detection.
Steps to reproduce:
1. On Windows, launch claude.exe --permission-mode acceptEdits from a .bat script (not
directly from an interactive shell).
2. Confirm ~/.claude/settings.json has todoFeatureEnabled: true and
env.CLAUDE_CODE_ENABLE_TASKS: "1".
3. In-session, check available tools — TaskCreate/TaskUpdate/TaskGet/TaskList are absent
entirely, even in the deferred-tools registry.
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.1.217
- Feedback ID: 40a31f21-eea3-4870-8125-e89c2e30a56e
Errors
[]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗