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]: Support "assisted permissions" from GitHub Copilot #64656
It uses another LLM to verify whether a command is safe for the model to run. This is probably the only solution that can be used in enterprise environments where GitHub Copilot is the only allowed provider. It would be great to have this in OpenCode as well.
Thanks for the request! I think this is a duplicate of #37564, which asks for the same thing: an opt-in mode where a model reviews a tool call before it would be auto-approved, and anything that looks unsafe goes back to a normal permission prompt. It lists Copilot CLI's auto mode as one of the examples.
Possible duplicates and related issues, ordered by likelihood:
[FEATURE]: "Auto mode" LLM model classifier auto-approval for permissions #37564: the same feature, an LLM reviewer that gates permission approvals. Its thread has a v2 plugin you can use now, built on the permission evaluate hook. You can point it at any model you have configured, so it can use a GitHub Copilot model as the reviewer. That thread also links to community plugins.
I'm closing this issue now as a duplicate of #37564. Please add your details there, especially the enterprise case where GitHub Copilot is the only allowed provider. If you think this is a different request, reply here and the issue will be reopened.
This feature is specific to GitHub Copilot—it is probably not billed by Copilot and uses already-approved models. This can be disabled at the organization level. Since OpenCode is officially supported by GitHub Copilot, there could be a way to use the same mechanism without needing to set up additional models like JEV.
Thanks for explaining. You're right that this is a different request from #37564. That issue asks for a reviewer model that OpenCode configures and runs itself. You're asking for OpenCode to use GitHub Copilot's own assisted-permissions evaluation when the Copilot provider is in use, so that:
no extra reviewer model needs to be set up,
it runs on models your organization already approves in Copilot, and
the organization or enterprise policy that enables or disables assisted permissions still applies.
I've reopened this as its own feature request, and maintainers will consider it. I can't promise whether or when it will happen.
I didn't find anything about assisted permissions in the parts of OpenCode's GitHub Copilot integration I read. Plugins can change permission decisions through a permission evaluate hook. So whether this could even be done as a plugin depends on GitHub exposing the assisted-permissions check (and the policy setting) to third-party clients. I don't know whether GitHub offers that. If you know of a documented API for it, linking it here would help.
Activity
opencodejr commentedon Nov 18, 2026
Thanks for the request! I think this is a duplicate of #37564, which asks for the same thing: an opt-in mode where a model reviews a tool call before it would be auto-approved, and anything that looks unsafe goes back to a normal permission prompt. It lists Copilot CLI's auto mode as one of the examples.
Possible duplicates and related issues, ordered by likelihood:
evaluatehook. You can point it at any model you have configured, so it can use a GitHub Copilot model as the reviewer. That thread also links to community plugins.I'm closing this issue now as a duplicate of #37564. Please add your details there, especially the enterprise case where GitHub Copilot is the only allowed provider. If you think this is a different request, reply here and the issue will be reopened.
aklajnert commentedon Nov 18, 2026
This feature is specific to GitHub Copilot—it is probably not billed by Copilot and uses already-approved models. This can be disabled at the organization level. Since OpenCode is officially supported by GitHub Copilot, there could be a way to use the same mechanism without needing to set up additional models like JEV.
opencodejr commentedon Nov 18, 2026
Thanks for explaining. You're right that this is a different request from #37564. That issue asks for a reviewer model that OpenCode configures and runs itself. You're asking for OpenCode to use GitHub Copilot's own assisted-permissions evaluation when the Copilot provider is in use, so that:
I've reopened this as its own feature request, and maintainers will consider it. I can't promise whether or when it will happen.
Related:
I didn't find anything about assisted permissions in the parts of OpenCode's GitHub Copilot integration I read. Plugins can change permission decisions through a permission
evaluatehook. So whether this could even be done as a plugin depends on GitHub exposing the assisted-permissions check (and the policy setting) to third-party clients. I don't know whether GitHub offers that. If you know of a documented API for it, linking it here would help.