Question 120
Two independently scoped GitHub Copilot requirements are being reviewed. Requirement A: A team asks a coding agent to update a repository issue and then open a pull request for review. Requirement B: A developer wants Copilot to propose a focused rewrite of several functions while remaining in the editor. Select TWO actions, one satisfying each independent requirement.
Explanation
Correct Answers
This action addresses requirement A: A team asks a coding agent to update a repository issue and then open a pull request for review. Agent-delivered code is subject to the normal repository change-control process rather than direct unreviewed production adoption. Verify by observing: The agent produces a traceable PR with only the requested issue changes; the reviewer verifies the diff, tests and permissions before merge.
This action addresses requirement B: A developer wants Copilot to propose a focused rewrite of several functions while remaining in the editor. Match Copilot's interaction mode to the complexity and authorization needed. Verify by observing: All targeted functions are changed with unrelated files untouched.
Incorrect Answers
Apparent Copilot policy conflicts can result from layered entitlements and client-specific availability; an IDE toggle is not proof that a central restriction was overridden. The two requirements instead call for these controls: (A) Delegate the scoped repository issue to an authorized Copilot coding agent, require its change proposal to remain in a reviewable pull request and apply existing branch protections and CI; (B) Select the supported multi-file edit workflow and review the resulting diff.
Copilot review findings are hypotheses requiring normal engineering validation. The two requirements instead call for these controls: (A) Delegate the scoped repository issue to an authorized Copilot coding agent, require its change proposal to remain in a reviewable pull request and apply existing branch protections and CI; (B) Select the supported multi-file edit workflow and review the resulting diff.
IDE availability requires the client integration and an authorized session. The two requirements instead call for these controls: (A) Delegate the scoped repository issue to an authorized Copilot coding agent, require its change proposal to remain in a reviewable pull request and apply existing branch protections and CI; (B) Select the supported multi-file edit workflow and review the resulting diff.