github / github/app

Tool whitelist for interactive mode (permissions)

オープン
#1,148 コメント 0 件 リアクション 4 件 担当者 0 名 GitHub で見る
Requests and ideas
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

### Feature summary

Tool whitelist for interactive mode on a global level (not only per session or repo)

### What problem are you trying to solve?

Currently Interactive mode requires manual approval for every tool call, including safe read-only operations (grep, cat, find, git log, git status, etc.). The only alternative is /allow-all which also approves destructive operations.

This feature request was also opened in the copilot-cli repo: https://github.com/github/copilot-cli/issues/1973

### Proposed solution

A user-scoped / global `permissions-config.json` instead of on a per-repo basis (https://github.com/github/copilot-cli/issues/1973#issuecomment-4335076889), could both be a solution for the copilot CLI and for the Copilot App too. Nice to have: from the settings menu you could edit these easily.

Workaround for github CLI at this time is a command line alias that includes the right allow flags (https://github.com/github/copilot-cli/issues/1973#issuecomment-4040243845). Modifuing the command line arguments in the copilot app is not supported so this is even a bigger problem here.

### Workflow impact

This would reduce the amount of times copilot asks for manual approval drastically, while still following principle of least privilege (that's why I don't use /allow-all-tools or auto mode)

### Installation context

_No response_

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by tracing interactive-mode approval behavior and the existing /allow-all path in the Copilot App. Then inspect how user settings and per-repository permissions are represented. Done means a user-scoped permissions configuration can allow selected safe tools globally while preserving approval for unlisted or destructive operations.

索引モデルが issue の本文から書いたものです。

評価

領域
authorization, desktop
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。