Commit c9ce023
Add AGENTS.md for AI agent guidance (#455)
## Summary
- Adds a new `AGENTS.md` file to the repository root providing
persistent instructions for AI coding agents (Cursor, Copilot, Codex,
etc.)
- Covers git commit conventions (DCO sign-off, SSH signing), Python code
style (black with project-specific flags), C++ code style (clang-format
18), license headers (Apache-2.0 SPDX), whitespace rules, testing, and
PR/issue workflows
- All instructions are derived from existing CI configuration
(`.github/workflows/codestyle.yml`) and project conventions
(`CONTRIBUTING.md`, `pyproject.toml`)
Fixes #453
## Test plan
- [x] Verify `AGENTS.md` renders correctly on GitHub
- [x] Confirm black flags match `.github/workflows/codestyle.yml`
(`--target-version=py311 --line-length=120 --extend-exclude='wip/'`)
- [x] Confirm clang-format version and extensions match CI config (v18,
`h,cpp,cc,cu,cuh`)
- [x] Confirm pytest command aligns with `pyproject.toml`
`[tool.pytest.ini_options]`
- [x] Confirm SPDX header examples match existing source files
---------
Signed-off-by: Mark Harris <mharris@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 9b0b69d commit c9ce023
1 file changed
Lines changed: 93 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
0 commit comments