Skip to content

Add eng/common/AGENTS.md to give downstream agents extra context - #16757

Merged
mmitche merged 2 commits into
mainfrom
copilot/add-agents-md-file
Apr 30, 2026
Merged

mmitche merged 2 commits into
mainfrom
copilot/add-agents-md-file

Conversation

@lbussell

Copy link
Copy Markdown
Member

The intent of this PR is to help coding agents in arcade repos understand eng/common. If agents try to edit files in eng/common, this will automatically get added to their context.

It is worded in such a way that it should not discourage coding agents from making edits directly in the Arcade repo. If the contents contained something like "Do not edit files in this directory" then agents would probably have problems editing the files in the arcade repo itself.

@ViktorHofer

Copy link
Copy Markdown
Member

Are you certain that such AGENTS.md file is picked up? Copilot tells me the following:

Per the docs, Copilot CLI reads AGENTS.md only from the git root and the current working directory — not arbitrary nested subfolders.

@mmitche
mmitche merged commit 3acb602 into main Apr 30, 2026
9 checks passed
@mmitche
mmitche deleted the copilot/add-agents-md-file branch April 30, 2026 14:34
@ViktorHofer

Copy link
Copy Markdown
Member

@mmitche there was still a question from my side (see above) whether the file is actually useful or not.

@mmitche

mmitche commented May 4, 2026

Copy link
Copy Markdown
Member

@mmitche there was still a question from my side (see above) whether the file is actually useful or not.

I had a similar thought as you after I approved this. @lbussell to confirm

@lbussell

lbussell commented May 6, 2026

Copy link
Copy Markdown
Member Author

Supported in VS Code with the setting chat.useNestedAgentsMdFiles. Not supported in Copilot CLI yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants