Trace a suggestion from editor to review
When a completion uses the wrong currency type, locate where that assumption entered its context. Changing the wording alone may leave the wrong type definition in scope.
Diagnose an answer with stale context
Follow a completion through four steps. The client assembles a prompt from the request and available context such as selected lines, nearby declarations or conversation history. The service processes that request and calls a model. The response may pass through service filters before the client displays it. The developer can inspect, reject or edit the suggestion before saving. Useful context varies by surface and permissions. A plausible answer cannot establish that a particular file was sent or that a suggested symbol exists in the installed version.
Separate what must be transmitted to answer a request from how the provider retains data or uses it to improve products. Check the current plan, organizational settings and applicable terms. Do not infer a retention period from the appearance of an editor suggestion. If a team investigates missing completions, record the client version, sign-in identity, enabled policies and whether the service is reachable. Avoid copying a sensitive prompt into a support ticket.
Keep inputs constant while changing one source of context. Record the original selected function and prompt, substitute a different interface definition, and check which claims change. This experiment can identify a useful correction to the prompt. It does not reveal the service’s hidden internal state or the organization’s retention policy.
Worked case 1
A response invents a method called onRefunded in a library that the service pins to an older version.
Check your reasoning
Inspect that installed version's public API, supply its relevant signature and rerun a focused test. A convincing method name is evidence of pattern completion, not a version check.
Worked case 2
The current file is small, yet suggestions keep mentioning a discarded design.
Check your reasoning
Compare the active selection and open context with the chat history. Start a fresh conversation with the current interface and identical request; use the result to narrow down which context influenced the answer.
GitHub documentation · GH-300 skills outline
Related lesson in GitHub Foundations. Trace a release through Git history.
Practice with the recording
A suggestion changes after a developer opens the relevant test file. Why could that happen with the same model?
Check your reasoning
The editor can use available surrounding code and relevant context when assembling a request. Opening a test can expose a contract that was previously missing. Reproduce the comparison with the same prompt and inspect which files were included.
Current GH-300 course · 41:07 · Lionel Gurret · GH-300 Study Cram · 8:46
What reaches the model
Trace the instruction, selected code and relevant workspace context from editor to request, then the returned suggestion through applicable filtering. Repeat in a fresh conversation with the same acceptance tests. Check the organization’s settings before making a claim about retention or sharing.
Trace a suggestion from editor to review quiz
Answer 3 questions. Check each answer for an explanation.