anthropics / anthropics/claude-code

[Bug] Excessive permission prompts for allowed directories in auto mode

Open
#91,629 3 comments 4 reactions 0 assignees View on GitHub
area:permissions bug platform:macos
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
permissions.blockReadsOutsideWorkingDirectories -- is being called with every single change, even when I have those directories enabled and allowed. So, I'm not sure but auto mode has me tapping approve again and again..

**Environment Info**
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.258
- Feedback ID: ea2ce5ef-89c2-4390-9a3c-296086a9494b

**Errors**
```json
[]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing calls to permissions.blockReadsOutsideWorkingDirectories during auto mode, using the reported darwin environment and repeated approval behavior as the reproduction. Determine why allowed directories still prompt on every change, then verify that approved directories no longer require repeated prompts while disallowed reads remain protected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.