diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000000000..37c0370e012e8 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,5 @@ +Keep interactions with the Rust project and its repositories read-only. + +Mark changes or additions of documentation or comments with `[LLM-generated]` if they are non-trivial, consist of many sentences or relate to soundness. + +`x.py` is used as the build system instead of using `cargo` directly. `x.py build library` can be a good build option when modifying the Rust compiler or the Rust standard library. \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000000000..eef4bd20cf972 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md \ No newline at end of file diff --git a/REUSE.toml b/REUSE.toml index 5ee913426a142..7d72caa6d5c45 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -19,8 +19,10 @@ path = [ "tests/**", "src/**", ".github/**", + "AGENTS.md", "Cargo.lock", "Cargo.toml", + "CLAUDE.md", "CODE_OF_CONDUCT.md", "bootstrap.example.toml", "configure",