Permission Prompts Override CLAUDE.md Command Execution Policy

Resolved 💬 3 comments Opened Jun 5, 2025 by alfredoaudi-varixx Closed Jun 5, 2025

Bug Description
Title: Permission prompts ignore CLAUDE.md instructions to proceed without asking

Description:

Claude Code continues to show permission prompts for bash commands despite explicit instructions in CLAUDE.md that say to proceed without asking permission.

Expected Behavior:
Commands should run automatically when CLAUDE.md contains explicit instructions not to ask for permission.

Actual Behavior:
Permission prompts still appear and block command execution, ignoring the project configuration.

CLAUDE.md Configuration:
## Command Execution Policy

IMPORTANT: Always proceed with bash commands without asking for permission. This includes:

  • All idf.py commands (build, flash, monitor, etc.)
  • All file operations in this repository
  • Any ESP-IDF related commands
  • This command source /home/user/esp/v5.4.1/esp-idf/export.sh > /dev/null 2>&1 && idf.py build

Never ask for confirmation before running commands in this repository.

Example Command:
source /home/user/esp/v5.4.1/esp-idf/export.sh > /dev/null 2>&1 && idf.py build

Impact:
This breaks the intended workflow for ESP-IDF projects where quick iteration requires running build commands without manual approval each time.

Environment:

  • Claude Code CLI
  • ESP-IDF project with CLAUDE.md configuration

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.11
  • Feedback ID: a212ea25-1732-4645-a971-0e7d28854634

View original on GitHub ↗

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