React to PermissionRequestResultKind breaking change in GitHub.Copilot.SDK 0.1.32#326
Conversation
Co-authored-by: ViktorHofer <7412651+ViktorHofer@users.noreply.github.com>
a0631dd
into
dependabot/nuget/eng/skill-validator/src/all-other-nuget-ac7f55a1f1
Skill Validation Results
[1] Quality unchanged but weighted score is -53.0% due to: quality, completion (✓ → ✗), judgment, tokens (11553 → 86982), tool calls (0 → 7), time (7.9s → 31.1s)
Model: claude-opus-4.6 | Judge: claude-opus-4.6 |
* Bump the all-other-nuget group with 1 update Bumps GitHub.Copilot.SDK from 0.1.30 to 0.1.32 --- updated-dependencies: - dependency-name: GitHub.Copilot.SDK dependency-version: 0.1.32 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-other-nuget - dependency-name: GitHub.Copilot.SDK dependency-version: 0.1.32 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-other-nuget ... Signed-off-by: dependabot[bot] <support@github.com> * React to PermissionRequestResultKind breaking change in GitHub.Copilot.SDK 0.1.32 (#326) * Initial plan * Fix PermissionRequestResultKind breaking change in SDK 0.1.32 Co-authored-by: ViktorHofer <7412651+ViktorHofer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ViktorHofer <7412651+ViktorHofer@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: ViktorHofer <7412651+ViktorHofer@users.noreply.github.com>
SDK 0.1.32 changed
PermissionRequestResult.Kindfromstringto the strongly-typed structPermissionRequestResultKind, breaking compilation in four service files.Changes
AgentRunner.cs,Judge.cs,PairwiseJudge.cs: Replace"approved"/"denied-by-rules"string literals withPermissionRequestResultKind.Approved/PermissionRequestResultKind.DeniedByRulesOverfittingJudge.cs(2 sites): Same — always usesDeniedByRulessince the judge session grants no tool permissions✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.