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
Skill evaluator rejects shell calls before typed permission checks #1276
AgentRunner.BuildSessionConfig currently returns PermissionDecision = "ask" from OnPreToolUse for normal shell tools. With GitHub.Copilot.SDK 1.0.11 this produces a generic PermissionRequestHook, not PermissionRequestShell.
DecidePermissionRequest intentionally handles typed shell/read/write/MCP/URL requests and rejects unknown request variants. The generic hook therefore fails with Unsupported permission request during evaluation before CheckShellPermission can inspect PossiblePaths, PossibleUrls, link operations, or the pathless-command allowlist.
This prevents skills from running otherwise permitted local validation commands during native evaluation. It was reproduced while evaluating dotnet/maui-labs' Xcode 27 migration skill: every attempted audit command was denied before execution.
Proposed fix
Preserve the explicit denyShell pre-hook denial.
For normal shell tools, return no pre-hook decision and let the SDK issue the existing typed PermissionRequestShell.
Activity