Question 680
Two independently scoped GitHub Copilot requirements are being reviewed. Requirement A: A repository maintainer wants the CLI to use a specific file while diagnosing a build issue. Requirement B: An engineer needs a second CLI instruction based on prior messages in the same working session. Choose TWO changes that directly cover A and B.
Explanation
Correct Answers
This action addresses requirement A: A repository maintainer wants the CLI to use a specific file while diagnosing a build issue. Explicit references help constrain terminal AI to the needed file. Verify by observing: The recommendation refers to the selected build file and passes a targeted validation.
This action addresses requirement B: An engineer needs a second CLI instruction based on prior messages in the same working session. Interactive sessions retain conversational task continuity where supported. Verify by observing: The follow-up uses previous session context and addresses the new constraint.
Incorrect Answers
Context quality can improve suggestions but still requires compilation. The two requirements instead call for these controls: (A) Mention the path in the CLI prompt and review the context chosen for the analysis; (B) Continue in the current interactive Copilot CLI session.
The current standalone Copilot CLI package and minimum Node.js version must be checked against GitHub documentation, not assumed from older GitHub CLI extensions. The two requirements instead call for these controls: (A) Mention the path in the CLI prompt and review the context chosen for the analysis; (B) Continue in the current interactive Copilot CLI session.
Spaces can package reusable context for repeated questions. The two requirements instead call for these controls: (A) Mention the path in the CLI prompt and review the context chosen for the analysis; (B) Continue in the current interactive Copilot CLI session.