Repository navigation
Add AGENTS.md and update the docs - #1550
LunarCapsule127 wants to merge 4 commits into
Conversation
|
I think the |
|
Thanks Hugh @hsorby , that makes sense. Done in 0796d18: the pull request rules are now in |
|
Yes please move the testing into the testing docs as well. This PR is fine for updating that document. |
|
@hsorby Thank you and no worries at all! I've moved the test rules into docs/testing.rst in 955a255, together with how to run each CI check locally. That replaces the Buildbot instructions and fills in the TODOs there. In place of Buildbot, it now explains how to run the CI workflow by hand on your own fork. AGENTS.md now keeps only the pointers to the docs, the project layout and the notes on a local environment. Are there any other changes you'd like? For example, docs/review_process.rst still asks reviewers to check Buildbot, and a few pages still have TODOs (the labels in contributing.rst, setup.rst, versions.rst and coverage_statistics.rst). I'm happy to update any of them here or in a separate PR, whichever you prefer. |
Addresses issue #1519.
As discussed on the issue, this adds an AGENTS.md at the root of the repository: a plain Markdown file that AI coding tools read before they start work, and that people can read just as easily.
For anything the documentation already covers, AGENTS.md points to the right file in docs/. Following Hugh's review, the rules that are followed in practice but weren't written down yet now go straight into the docs: the pull request rules into docs/contributing.rst, which also moves from develop and Buildbot to main and GitHub Actions, the code rules into docs/coding_standards.rst, and the test rules and how to run each CI check locally into docs/testing.rst, which replaces the Buildbot instructions and fills in its TODOs. Every command and target comes from the CMake files and .github/workflows/ci.yml.
The last section, "A local environment", is new rather than an existing rule: the project has no guidance yet on virtual environments or containers, and it's what I needed when testing #1516 in Docker. It may fit better in the contributing guide, so please keep, move or drop it as you see fit. Please change anything else you'd like worded differently too. It's meant as a first version for you and @agarny to shape. 🙂