Copilot coding agent supports code referencing
Source: GitHub Changelog
Copilot coding agent supports code referencing
The Copilot coding agent, an asynchronous, autonomous background agent, now works with Copilot code referencing.
If the agent generates code that matches code in a public GitHub repository, the matching code is highlighted in the agent session logs with a link to the original source, allowing you to see where the code comes from and any applicable license.
The Copilot coding agent does not support the “Suggestions matching public code” policy’s Block mode. When the policy is set to Block, suggestions that match public code are not blocked; instead, they are highlighted in the session logs.
For more details, see the GitHub Docs article “Finding public code that matches GitHub Copilot suggestions”.