anthropics / anthropics/claude-code

Read outside working directory offers no 'allow once' option

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

描述

## Summary
When Claude Code asks permission to Read a file outside the working directories (here a plugin job log under `~/.claude/plugins/data/codex-openai-codex/state/.../jobs/.log`), the prompt offers only deny or allow-always. There is no "allow once".

## Expected
The same "allow once" choice that Bash and other permission prompts offer, so a single read can be granted without permanently widening the read scope.

## Actual
The user must either reject the read or grant it permanently. The user rejected it.

## Context
- Claude Code CLI, Linux (cachyos), model claude-opus-5
- Trigger: Read tool on an absolute path outside the project working directory
- Prompt text shown to the model on rejection: "The user did not allow this read outside the working directories"

Filed on behalf of the user from within a Claude Code session.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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