Question 320
A developer working in a governed organization reports, the following condition is confirmed: A maintainer wants a migration using specific database schema columns. What should the team do first?
Explanation
Correct Answer
Given that A maintainer wants a migration using specific database schema columns, choose "Attach the current schema and representative valid data". Data shape context helps produce executable changes. This targets the identified problem rather than a neighboring issue.
Incorrect Answers
The action "Include the interface and the failing call site" is useful when A prompt to fix a TypeScript type error omits the interface declaration. Both sides of the type contract are necessary to diagnose the error. Under the stated condition A maintainer wants a migration using specific database schema columns, instead choose "Attach the current schema and representative valid data". Data shape context helps produce executable changes.
The alternative "Provide reproducible inputs, environment, and the error trace" fits another situation: A bug report says login fails without logs or steps to reproduce. Concrete evidence distinguishes competing failure causes. Here the condition is A maintainer wants a migration using specific database schema columns; use "Attach the current schema and representative valid data" instead. Data shape context helps produce executable changes.
The alternative "Reference the existing helper and request reuse" addresses Copilot creates a new validation helper although the project already has one. Repository context avoids duplicate implementations. It does not resolve A maintainer wants a migration using specific database schema columns; the correct choice is "Attach the current schema and representative valid data". Data shape context helps produce executable changes.