anthropics / anthropics/claude-code

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

未关闭
#91,629 3 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
area:permissions bug platform:macos
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

**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
[]
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
authorization, security
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。