VSCode extension: repeatedly asks permission for already-allowed git commands (Opus 4.6)

Resolved 💬 5 comments Opened Mar 3, 2026 by lpintes Closed Apr 1, 2026

Bug Description

When using Claude Code as a VSCode extension with Opus 4.6, it repeatedly asks for permission to run basic git commands (git log, git status, git diff) that have already been allowed. The permission dialog only shows Yes/No options — there is no "Allow" (i.e. "always allow") option, so the user cannot permanently grant permission.

Expected Behavior

  • After allowing a command once (or via an "Allow" option), it should not ask again for the same command type.
  • The permission dialog should include an "Allow" / "Always allow" option, not just Yes/No.

Steps to Reproduce

  1. Open a git repository in VSCode
  2. Start a Claude Code conversation (Opus 4.6, VSCode extension)
  3. Ask Claude to do something that triggers git log, git status, or git diff
  4. Approve the command when prompted (Yes)
  5. Continue working — Claude will ask permission for the same commands again
  6. Note: only Yes/No buttons are shown, no "Allow" / "Always allow" option

Environment

  • Claude Code: VSCode native extension
  • Model: Opus 4.6
  • OS: Windows 10/11 (MINGW64)
  • Shell: bash

Additional Context

This makes the workflow very tedious, especially for tasks like committing where multiple git commands are needed in sequence. Each one requires manual approval despite having been approved moments before.

View original on GitHub ↗

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