Allow users to auto-approve trusted terminal commands in Copilot Agent Mode #167487
Unanswered
smanegalaxy
asked this question in
Copilot Conversations
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Select Topic Area
Product Feedback
Copilot Feature Area
Copilot Agent Mode
Body
As a developer using GitHub Copilot Agent Mode (with MCP servers enabled), I find the repeated confirmation prompts for terminal commands — especially basic Git operations — to be disruptive to the flow.
For example, actions like:
git log
git status
git push
ls, cat, or other harmless read-only commands
require manual approval every time, even though they’re predictable and safe in most contexts.
Introduce a “trusted commands allowlist” feature, configurable per workspace or globally.
Example json: {
"copilot.autoApprove": [
"git status",
"git log --since=*",
"ls -la",
"git push"
]
}
✅ Benefits
Reduces friction for power users
Makes Copilot feel more like a true assistant
Keeps security intact while offering flexibility
🔒 Safeguards
Default to confirmation unless explicitly enabled
Optionally warn once per session
This would dramatically improve usability in terminal-integrated workflows, especially in AI-assisted GitOps or CI/CD setups.
All reactions