[BUG] Slash commands crash extension when Bash permission granted (regression or incomplete fix for #6625)

Resolved 💬 3 comments Opened Nov 26, 2025 by stephanpark Closed Nov 30, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Issue #6625 marked resolved, but slash command permission problems persist and have escalated to extension crashes.

Environment:

  • Platform: Windows
  • Extension: VSCode Claude Code
  • Slash command: /align (reads global CLAUDE.md via Bash)

Severity: High - renders slash commands unusable, requires session restart

What Should Happen?

Expected behavior:

  • Explicit tool approvals in slash command should prevent prompts (#6625)
  • OR if prompting anyway, granting permission should allow execution
  • Extension should never crash/hang

Actual behavior:

  • Explicit approvals ignored ✗
  • Permission grant causes complete extension failure ✗
  • No error message, just silent hang ✗

Error Messages/Logs

Steps to Reproduce

Bug chain:

  1. Slash command includes explicit tool approvals in frontmatter
  2. Extension ignores explicit approvals, prompts for Bash permission anyway
  3. User grants permission via dropdown
  4. Extension crashes/hangs completely
  5. Session dropdown shows slash command name frozen (e.g., "/align")
  6. No recovery - requires session termination (5+ minutes wait confirmed unresponsive)

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.36 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Related issues:

  • #6625 (marked resolved but symptoms persist)
  • #3662 (permission prompts missing)
  • #4144 (bash permissions not working in slash commands)

View original on GitHub ↗

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