Granular tool permission controls — allow-list specific tools
- 主要言語
- 言語のデータがありません
- スター
- 2.1k
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## Description:
Currently, Tool permissions only offers two options: "Approve all" or "Ask every time". There is no way to allow specific tools automatically while still requiring approval for others.
## Requested feature:
Add per-tool permission configuration in Settings → Sessions → Tool permissions, allowing users to define an allow-list of tools that run without confirmation (e.g. grep, glob, view) while all other tools still require explicit approval.
## Use case:
Read-only tools like grep/ripgrep pose no risk to the codebase and interrupting the agent flow to approve every search is disruptive. Write/execute tools (bash, file edit, git push) should still require confirmation. A middle ground between "trust everything" and "approve everything" would significantly improve agent UX without sacrificing safety on destructive operations.
## Proposed UI:
In the Tool permissions dropdown, add a third option: "Custom" — opens a list of available tools with individual allow/ask toggles per tool.
コントリビューションガイド
調査の方向性
Start in Settings → Sessions → Tool permissions and trace how the existing “Approve all” and “Ask every time” choices are represented and applied. Done means a “Custom” option provides per-tool allow/ask toggles, with allow-listed tools skipping confirmation while all others still prompt, including the read-only and write/execute examples.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- desktop, security
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100