You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Tool whitelist for Interactive Mode #1973
Describe the feature or problem you'd like 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.
Proposed solution
Add a persistent allowed_tools whitelist in ~/.copilot/config.json, similar to how antigravity handles tool permissions. Users can pre-approve safe, non-modifying
commands and only be prompted for dangerous operations (file writes, deletes, shell commands that modify state).
Reacted by Dante De Ruwe, Amit Lalani, Bram Musters, Sorin Sbarnea, Boulc, Daniel Ahlborn, Costyn van Dongen, Maykon L Fonseca, Stephanie G., André Hollstein and 20 more
Would indeed be great if this can be configured with a config file, just like this is done in vscode by using chat.tools.terminal.autoApprove setup (vscode even supports regex patterns)
In general, configuring --allow-tool, --deny-tool, --available-tools, etc via either global or per-repo config would be great.
Reacted by Bram Musters, Sorin Sbarnea, Garrett Kelly , Adriano Arce and Jose Egas
Please add this! The incessant nagging for simple things like grep is dangerous, as it's making me want to just /yolo. Claude has had this feature for half a year!
Agree... this is crucial. I avoid using Copilot CLI whenever possible because Warp and Claude have much better experiences and are a lot less clunky. This missing feature is # 1 on my list.
User settings are now stored in ~/.copilot/settings.json, separate from internal state in config.json
settings.json seems like the ideal place for the whitelist and/or blacklist now.
EDIT: just noticed the permissions-config.json file that is used now for per-project permissions. Step in the right direction, but would be amazing if this could also accomodate global permissions
same need here. please allow persistent configuration of allow and deny tools. it's super tedious to reapprove every time. there are read only tools that i want to always allow but still get prompted for other tools, not a binary all or nothing.
This is my biggest source of frustration. In Claude Code, I can specify the depth of the permission. Here, only the first subcommand can be whitelisted. For glab, that is fatal, because i give permisison for e.g. creating issues, although i only need to give the agent read-access:
FYI: I talked to Steve Sanderson in person at NDC Oslo and he told me tool whitelists at a user level are not where he sees Copilot going moving forward. He suggested instead to use assisted tool permissions using /allow-all auto (also configurable by default within /config). This sends the requested tool to a separate LLM to judge whether or not tool usage is permitted. That, along with sandboxing, is more aligned to the Copilot teams vision for approvals.
*DanteDeRuwe* left a comment (github/copilot-cli#1973)
<#1973 (comment)>
FYI: I talked to Steve Sanderson in person at NDC Oslo and he told me tool
whitelists at a user level are not where he sees Copilot going moving
forward. He suggested instead to use assisted tool permissions using /allow-all
auto. This sends the requested tool to a separate LLM to judge whether or
not tool usage is permitted. That, along with sandboxing, is more aligned
to the Copilot teams vision for approvals.
—
Reply to this email directly, view it on GitHub
<#1973?email_source=notifications&email_token=BMBZYCTRJ7YMAGLASPPQBNT5RTXZXA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGA3DINZYHEZ2M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-5910647893>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BMBZYCX4JUV733WMBO4DWTT5RTXZXAVCNFSNUABFKJSXA33TNF2G64TZHM2TQNJYGYYDMNRUHNEXG43VMU5TIMBVGY3DGMRSG4YKC5QC>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
بخدا به غلط کردن افتادم بزرگترین اشتباه من که به این هوش اعتماد کردم
در تاریخ چهارشنبه ۳۰ سپتامبر ۲۰۲۶، ۱۵:۲۲ Dante De Ruwe <
***@***.***> نوشت:
> *DanteDeRuwe* left a comment (github/copilot-cli#1973)
> <#1973 (comment)>
>
> FYI: I talked to Steve Sanderson in person at NDC Oslo and he told me
> tool whitelists at a user level are not where he sees Copilot going moving
> forward. He suggested instead to use assisted tool permissions using /allow-all
> auto. This sends the requested tool to a separate LLM to judge whether
> or not tool usage is permitted. That, along with sandboxing, is more
> aligned to the Copilot teams vision for approvals.
>
> —
> Reply to this email directly, view it on GitHub
> <#1973?email_source=notifications&email_token=BMBZYCTRJ7YMAGLASPPQBNT5RTXZXA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGA3DINZYHEZ2M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-5910647893>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BMBZYCX4JUV733WMBO4DWTT5RTXZXAVCNFSNUABFKJSXA33TNF2G64TZHM2TQNJYGYYDMNRUHNEXG43VMU5TIMBVGY3DGMRSG4YKC5QC>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
Activity
DanteDeRuwe commentedon Mar 11, 2026
Right now I have set a command alias to be able to whitelist tools like so:
Would indeed be great if this can be configured with a config file, just like this is done in vscode by using
chat.tools.terminal.autoApprovesetup (vscode even supports regex patterns)In general, configuring
--allow-tool,--deny-tool,--available-tools, etc via either global or per-repo config would be great.ssbarnea commentedon Mar 15, 2026
I had to google a lot to find-out that was never implemented, back to Claude.
DanteDeRuwe commentedon Mar 24, 2026
Any updates on this?
DanteDeRuwe commentedon Mar 27, 2026
v1.0.12 just arrived and the release notes say:
So I was full of hope that we could define our permissions there (until copilot adds their own settings/config file).
Too bad it does not work properly. I logged bug #2338. Maybe soon...
jovere commentedon Apr 1, 2026
Please add this! The incessant nagging for simple things like grep is dangerous, as it's making me want to just /yolo. Claude has had this feature for half a year!
schizek commentedon Apr 10, 2026
Agree... this is crucial. I avoid using Copilot CLI whenever possible because Warp and Claude have much better experiences and are a lot less clunky. This missing feature is # 1 on my list.
czf commentedon Apr 14, 2026
Would also like to see this as an option in config.json
DanteDeRuwe commentedon Apr 28, 2026
settings.jsonseems like the ideal place for the whitelist and/or blacklist now.EDIT: just noticed the
permissions-config.jsonfile that is used now for per-project permissions. Step in the right direction, but would be amazing if this could also accomodate global permissionsyionis01 commentedon Apr 30, 2026
same need here. please allow persistent configuration of allow and deny tools. it's super tedious to reapprove every time. there are read only tools that i want to always allow but still get prompted for other tools, not a binary all or nothing.
DanteDeRuwe commentedon Jun 17, 2026
It's kind of ridiculous now that this is not supported yet. And "just use auto mode" does not follow principle of least privilege for me
joegas commentedon Aug 24, 2026
This is my biggest source of frustration. In Claude Code, I can specify the depth of the permission. Here, only the first subcommand can be whitelisted. For glab, that is fatal, because i give permisison for e.g. creating issues, although i only need to give the agent read-access:
Jerry10Mx commentedon Aug 24, 2026
kvnloo commentedon Sep 27, 2026
There is a second issue here beyond persistence: command permissions need to match the actual command shape, not just the first executable/subcommand.
For example, approving read-only
glab issue viewshould not implicitly authorizeglab issue create. Same forgit statusvsgit push.I would make shell permission matching operate on normalized argv/prefix rules and test at least:
That lets users safely remove approval fatigue without pushing them toward
/allow-all.DanteDeRuwe commentedon Sep 30, 2026
FYI: I talked to Steve Sanderson in person at NDC Oslo and he told me tool whitelists at a user level are not where he sees Copilot going moving forward. He suggested instead to use assisted tool permissions using
/allow-all auto(also configurable by default within/config). This sends the requested tool to a separate LLM to judge whether or not tool usage is permitted. That, along with sandboxing, is more aligned to the Copilot teams vision for approvals.Tak2121 commentedon Sep 30, 2026
Tak2121 commentedon Sep 30, 2026