chore: Added symlink to AGENTS.md for copilot#16663
Open
jamescrosswell wants to merge 1 commit intomasterfrom
Open
chore: Added symlink to AGENTS.md for copilot#16663jamescrosswell wants to merge 1 commit intomasterfrom
jamescrosswell wants to merge 1 commit intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| @@ -0,0 +1 @@ | |||
| ../AGENTS.md No newline at end of file | |||
There was a problem hiding this comment.
Bug: The file .github/copilot-instructions.md is being replaced with a text string instead of actual instructions or a symlink, which will break GitHub Copilot's functionality.
Severity: HIGH
Suggested Fix
Either create a proper Git symbolic link from .github/copilot-instructions.md to AGENTS.md (e.g., using ln -s), or revert the change and keep .github/copilot-instructions.md as a regular file containing the full Markdown instructions.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: .github/copilot-instructions.md#L1
Potential issue: The pull request modifies the `.github/copilot-instructions.md` file to
contain the literal string `../AGENTS.md`. GitHub Copilot expects this file to contain
Markdown content with instructions, not a text reference to another file. As a result,
if this change is merged, Copilot will fail to load its custom instructions for all
developers working on this repository, effectively breaking this feature. The author may
have intended to create a symbolic link, but the change as implemented creates a regular
file with incorrect content.
Did we get this right? 👍 / 👎 to inform future reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Adding a symlink to the AGENTS.md file that will be picked up by the copilot extension when using this to work with LLMs in vscode etc.
IS YOUR CHANGE URGENT?
SLA
cc: @Flash0ver
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: