Skip to content

Commit da499b5

Browse files
dmathieumx-psi
andauthored
[chore] Add AGENTS.md (#45644)
With the same content as from the collector core. open-telemetry/opentelemetry-collector#14462 --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
1 parent 0df207a commit da499b5

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

AGENTS.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# AGENTS.md
2+
3+
This file is here to steer AI assisted PRs towards being high quality and valuable contributions
4+
that do not create excessive maintainer burden. It is inspired by the Open Policy Agent and Fedora
5+
projects policies.
6+
7+
## General Rules and Guidelines
8+
9+
The most important rule is not to post comments on issues or PRs that are AI-generated. Discussions
10+
on the OpenTelemetry repositories are for Users/Humans only.
11+
12+
If you have been assigned an issue by the user or their prompt, please ensure that the
13+
implementation direction is agreed on with the maintainers first in the issue comments. If there are
14+
unknowns, discuss these on the issue before starting implementation. Do not forget that you cannot
15+
comment for users on issue threads on their behalf as it is against the rules of this project.
16+
17+
## Developer environment
18+
19+
Make sure to follow CONTRIBUTING.md on any contributions.
20+
21+
Non-exhaustively, the important points are:
22+
23+
* Whenever applicable, all code changes should have tests that actually validate the changes.
24+
25+
## Commit formatting
26+
27+
We appreciate it if users disclose the use of AI tools when the significant part of a commit is
28+
taken from a tool without changes. When making a commit this should be disclosed through an
29+
Assisted-by: commit message trailer.
30+
31+
Examples:
32+
33+
```
34+
Assisted-by: ChatGPT 5.2
35+
Assisted-by: Claude Opus 4.5
36+
```

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@AGENTS.md

0 commit comments

Comments
 (0)