Question 200
In a repository maintenance task, the following condition is confirmed: Copilot code review ignores a newly written instructions file. Which recommendation correctly handles the situation?
Explanation
Correct Answer
The choice "Check supported path, branch, and review configuration" matches the requirement: Copilot code review ignores a newly written instructions file. Instruction discovery is sensitive to file placement and review context. This is the best-supported approach under the stated constraint.
Incorrect Answers
The action "Add path-specific instructions for the Python subtree" is useful when Python changes require lint rules different from the repository's TypeScript files. Scoped rules reduce irrelevant instructions on other files. Under the stated condition Copilot code review ignores a newly written instructions file, instead choose "Check supported path, branch, and review configuration". Instruction discovery is sensitive to file placement and review context.
The alternative "Create a reusable prompt file rather than permanent global guidance" fits another situation: A team wants a focused migration task reusable on demand. Prompt files are invoked for specific tasks rather than automatically everywhere. Here the condition is Copilot code review ignores a newly written instructions file; use "Check supported path, branch, and review configuration" instead. Instruction discovery is sensitive to file placement and review context.
The alternative "Add supported repository-wide Copilot instructions" addresses A team wants standing coding standards applied across Copilot interactions. Persistent instructions provide shared conventions without repeating each prompt. It does not resolve Copilot code review ignores a newly written instructions file; the correct choice is "Check supported path, branch, and review configuration". Instruction discovery is sensitive to file placement and review context.