Skip to content

Commit 053644b

Browse files
committed
[chore] Add AGENTS.md file
1 parent 97f66a9 commit 053644b

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

AGENTS.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 docs/coding-guidelines.md on any contributions.
20+
21+
## Commit formatting
22+
23+
We appreciate it if users disclose the use of AI tools when the significant part of a commit is
24+
taken from a tool without changes. When making a commit this should be disclosed through an
25+
Assisted-by: commit message trailer.
26+
27+
Examples:
28+
29+
```
30+
Assisted-by: ChatGPT 5.2
31+
Assisted-by: Claude Opus 4.5
32+
```

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)