[BUG] [REGRESSION] Deny Task tool is not respected

Resolved 💬 2 comments Opened Jun 19, 2025 by adriangalilea Closed Jun 28, 2025

Environment

  • Platform: Anthropic API
  • Claude CLI version: 1.0.29 (Claude Code)
  • Operating System: macOS 15.5
  • Terminal: Ghostty

Bug Description

After the last update, Claude Code is not respecting the "deny" list in settings.json for the Task tool. This functionality worked correctly for over a month with extensive use, but stopped working after yesterday's update.

Steps to Reproduce

  1. Have settings.json with "deny": ["Task”]
  2. Claude triggers the Task tool despite it being in the deny list

Expected Behavior

Claude should respect the deny list in settings.json and not use the Task tool when it's listed in the deny array.

Additional Context

  • The settings.json file has not been modified
  • The deny list contains: "deny": ["Task”] (also tried “Agent” since is referred as it in docs, but is Task the one that worked until now)
  • Have to manually remind Claude not to use Task tool every time

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗