Skip to content

Commit 74e02be

Browse files
committed
Adopt the AI policy in all of our ros2_rust repos
1 parent d524fa1 commit 74e02be

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Agent Instructions
2+
3+
## AI Policy
4+
Follow the projects [AI Policy](https://github.com/ros2-rust/ros2_rust/blob/main/docs/AI_POLICY.md). It applies to all contributions to this repository even if a human edits it.
5+
6+
## Commit Authoring
7+
For any commit that includes content generated in whole or in part by a generative AI tool, include this disclosure in the commit message body:
8+
9+
```text Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]```
10+
11+
Also include a matching disclosure in the pull request description.

CLAUDE.md

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

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
# rosidl_runtime_rs
22
Runtime utilities for working with generated ROS interfaces in Rust
3+
4+
## AI Policy
5+
Generative tools are allowed in producing contributions to its projects, with some qualifications:
6+
7+
- Any contribution may consist, in whole or in part, of the output of one or more generative tools.
8+
- Any use of generative tools in a contribution must be disclosed at the time of making the contribution.
9+
- The disclosure must be recorded in a way that ensures it has the same or greater lifetime as the contribution itself.
10+
11+
For source code contributions, you should add a disclosure statement in the commit message for all commits where some portion of the source code was generated.
12+
13+
`Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]`
14+
15+
Provide a similar disclosure statement in the PR description.
16+
17+
See the projects [AI Policy](https://github.com/ros2-rust/ros2_rust/blob/main/docs/AI_POLICY.md) for more details.

0 commit comments

Comments
 (0)