github / github/copilot-cli

Auto-allow permissions on session start

未關閉
#3,877 2 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:permissions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

Add a persistent setting to automatically run /allow-all when starting a new session.

### Proposed solution

Suggested implementation:
- Add a setting like `permissions.auto_allow_all: true` (configurable via /settings)
- Or add a startup preference in ~/.copilot/config

### Example prompts or workflows

I work in trusted directories and need to run /allow-all at the start of every session. Having to manually enable permissions each time creates friction in the workflow.

### Additional context

Same as Claude's bypass permissions toggle.

貢獻指南

開啟貢獻指南

研究方向

Start by tracing the existing /allow-all command and the /settings flow. Compare the proposed permissions.auto_allow_all setting with the startup preference in ~/.copilot/config, then determine how a new session reads persisted settings. Done means a documented, configurable preference automatically applies the intended permission behavior when a session starts.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli, security
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。