Skip to content

Commit e622ef6

Browse files
authored
docs: point CONTRIBUTING.md at AGENTS.md (#9199) (#9286)
Part of #9199. ### Description Adds the `CONTRIBUTING.md` line asked for in #9199's acceptance criteria. It goes at the end of the Tool-Assisted Contribution Policy section and says that the root `AGENTS.md` exists, that a package can add its own `AGENTS.md` next to its code, and that these files count as documentation, so a PR that changes a convention one of them describes should update that file too. #9200 and #9221 each carry their own version of this line, but both currently have conflicts with `dev`. This PR is just the one paragraph, so it can merge on its own. Whichever lands second can drop its copy. Only the root `AGENTS.md` exists on `dev` today, so the wording doesn't claim any leaf files exist yet. ### Types of changes - [x] Non-breaking change (fix or new feature that would not break existing functionality). > The PR text and the change were drafted with Claude Opus 5.5. I reviewed and checked both. Signed-off-by: arxh80 <archie.mullins8@gmail.com>
1 parent 89b1ce4 commit e622ef6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Attribution of AI-generated content should be included, for example with trailer
3737

3838
Code review and analysis can be assisted through the use of tools, for example linting or formatting tools. Diagnostic output from such tools does not form part of the submission but should be clearly labelled. The key emphasis is that these tools assist and do not replace human review, so contributors and reviewers must consider what might be missed by these tools, or what might be hallucinated. It might be helpful to review code with a different tool from one used for generation.
3939

40+
The root [`AGENTS.md`](AGENTS.md) describes how the code base works for AI coding assistants, and a package can add its own `AGENTS.md` next to its code for notes specific to it. Treat these files as documentation: when a change alters a convention one of them describes, update that file in the same pull request.
41+
4042
## The contribution process
4143

4244
*Pull request early*

0 commit comments

Comments
 (0)