github / github/copilot-cli

Auto approval stops working after ~1 hour

未关闭
#4,764 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@szabta89 已经在做这个了。

开始于 2026年9月9日。

triage
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Describe the bug

Assisted permissions mode stops working after approximately 1 hour, to get it working again i need to start a new session.

Affected version

GitHub Copilot CLI 1.0.83

Steps to reproduce the behavior
  • start a session and use /permissions assisted
  • It works fine for approximately an hour
  • Then it seems to flip back to manual
    • run /permissions assisted, it says: Auto approval is now enabled. Permission requests will include an LLM safety recommendation. Permission requests will still be shown
    • run /permissions manual and then /permissions assisted, it says: Couldn't enable auto approval. It may be unavailable in this session or disabled by policy.
  • To get it working again, restart Copilot CLI
Expected behavior

Auto approval should work for the duration of the session, as long as it's not disabled by the user.

Additional context

MacOS: 26.6.2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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