For compliance reasons our organization wants to forbid access to copilot agentic mode. We have disabled agentic mode in our GitHub organization settings and users can no longer select it in Local or Copilot session targets.
The Local session target (per this manual) now mostly behaves as expected. However, when I switch to the Copilot session target, the "ask mode" there seems to be extremely clever, able to execute commands, read files and edit files.
Can I limit users to just Local or somehow enforce more limits on the capabilities of the Copilot session target?