AskUserQuestion intermittently shows a permission prompt despite bypassPermissions + allow rule (VS Code extension)

Open 💬 0 comments Opened Jun 14, 2026 by shaiport

Environment

  • Claude Code VS Code extension v2.1.177 (darwin-x64)
  • VS Code 1.124.2 · macOS 15.7.7 (Intel)
  • settings.json: defaultMode: "bypassPermissions", permissions.allow includes "AskUserQuestion", skipDangerousModePermissionPrompt: true

Description
The AskUserQuestion tool intermittently shows "Claude is requesting permission to use AskUserQuestion" in the VS Code panel. Most of the time the question renders directly with no prompt, but occasionally it requires an Allow click first. The behavior is inconsistent within and across sessions, with no clear trigger.

Expected
Consistent behavior. AskUserQuestion is documented as not being a permission-gated tool, so it should either never require a permission prompt or do so consistently. bypassPermissions mode and an allow: ["AskUserQuestion"] rule do not reliably suppress it.

Actual
Sometimes prompts for permission, sometimes does not.

View original on GitHub ↗