docs: add hierarchical AGENTS and long-lived Copilot instructions#276
docs: add hierarchical AGENTS and long-lived Copilot instructions#276napetrov merged 5 commits intointel:mainfrom
Conversation
mihaic
left a comment
There was a problem hiding this comment.
Good idea to add these! I think we could include more details, but let's start small and see how it goes. I do have a couple of suggestions.
AGENTS.md
Outdated
| 1. Read this file. | ||
| 2. Read the nearest `AGENTS.md` for touched files. |
There was a problem hiding this comment.
Agents with support for AGENTS.md already have these instructions. For the cases when Copilot doesn't look at AGENTS.md, we added these instructions in its own file.
| 1. Read this file. | |
| 2. Read the nearest `AGENTS.md` for touched files. |
There was a problem hiding this comment.
Agreed. I trimmed AGENTS.md to AGENTS-aware context only and removed duplicated Copilot-policy text. Copilot-specific rules remain in .github/copilot-instructions.md.
AGENTS.md
Outdated
|
|
||
| ## Directory map | ||
| - `.github/AGENTS.md` | ||
| - `benchmark/AGENTS.md` | ||
| - `bindings/AGENTS.md` | ||
| - `cmake/AGENTS.md` | ||
| - `examples/AGENTS.md` | ||
| - `include/svs/AGENTS.md` | ||
| - `tests/AGENTS.md` | ||
| - `tools/AGENTS.md` | ||
| - `utils/AGENTS.md` |
There was a problem hiding this comment.
See previous comment.
| ## Directory map | |
| - `.github/AGENTS.md` | |
| - `benchmark/AGENTS.md` | |
| - `bindings/AGENTS.md` | |
| - `cmake/AGENTS.md` | |
| - `examples/AGENTS.md` | |
| - `include/svs/AGENTS.md` | |
| - `tests/AGENTS.md` | |
| - `tools/AGENTS.md` | |
| - `utils/AGENTS.md` |
There was a problem hiding this comment.
Addressed in the latest update: AGENTS.md now stays minimal and non-duplicative, with Copilot behavior centralized in .github/copilot-instructions.md.
mihaic
left a comment
There was a problem hiding this comment.
Agents are go! :) And actually one more suggestion below. Also, please remove the jumbled text from the commit message when merging.
.github/copilot-instructions.md
Outdated
| @@ -0,0 +1,24 @@ | |||
| # GitHub Copilot Instructions — ScalableVectorSearch | |||
|
|
|||
| ## Source of truth | |||
There was a problem hiding this comment.
This heading duplicates the "Source-of-truth files" heading below. We can leave the text in this section at the top level, without a heading.
| ## Source of truth |
ff0d4bd to
54d21fb
Compare
Per mihaic review comment: top-level intro text doesn't need a heading since there's already a 'Source-of-truth files' section below.
Summary
Details
Notes