GitHub: kind can now return "CUSTOM_AGENT" GitHub's API specification now lists "CUSTOM_AGENT" as a possible value for copilot_code_review_sources[].kind on review-comment objects, adding it to the existing "CUSTOM_INSTRUCTIONS", "MCP" and "SKILL" values. The change affects code that reads GitHub review-comment objects across 7 GitHub operations, and breaks exhaustive switches, strict parsers and generated client enums that lack a branch for the new value. What changed Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums. Affects copilot code review sources .kind on review-comment reachable from 1 operation. New value: CUSTOM AGENT . can now return "CUSTOM AGENT" Who is affected Code that reads GitHub's review-comment objects, used by 7 GitHub operations. Before and after | Where | Before | After | |---|---|---| | review-comment.copilot code review sources .kind | "CUSTOM INSTRUCTIONS", "MCP", "SKILL" | "CUSTOM AGENT", "CUSTOM INSTRUCTIONS", "MCP", "SKILL" | | pull-request-review-comment.copilot code review sources .kind | "CUSTOM INSTRUCTIONS", "MCP", "SKILL" | "CUSTOM AGENT", "CUSTOM INSTRUCTIONS", "MCP", "SKILL" | Code that breaks switch response.copilot code review sources 0 .kind { // existing branches … // no branch for "CUSTOM AGENT" default: throw new Error "unexpected kind" ; } Based on GitHub’s published API specification. How severity is decided https://driftwatch.et/method .