-
Notifications
You must be signed in to change notification settings - Fork 52
Add AI agent policy documentation #885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dozro
wants to merge
13
commits into
dev
Choose a base branch
from
poisoned-ai-agents
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
fe55f0a
add AI agent policy documentation across multiple files
dozro 18d67bb
add changelog entry :3
dozro 9bd48a1
Add requirement of proving a PR's adherence to the license
nushea 56bcdea
docs: add Developer Certification of Origin section to CONTRIBUTING.md
dozro f12473f
Merge branch 'poisoned-ai-agents' of https://github.com/sableclient/s…
dozro d6da282
docs: improve formatting and clarity of interpretation notes in CONTR…
dozro d20ad81
formatting :3
dozro b8fe652
Merge branch 'dev' into poisoned-ai-agents
dozro 9d31a47
formatting :/
dozro 7d14f9f
Update AGENTS.md to clarify AI usage guidelines
dozro a32de1d
Clarify contribution and sign-off guidelines
dozro ae03e3d
Update CONTRIBUTING.md with identity sign-off guidance
dozro 8477519
<3
nushea File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| default: docs | ||
| --- | ||
|
|
||
| # Update to disclosure of AI generated code | ||
|
|
||
| Added `AGENTS.md` to inform autonomous AI agents about restrictions in this | ||
| repository. | ||
|
|
||
| As a reminder, the guidelines can be found in | ||
| [our Contribution Guidelines](https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Cursor Rules | ||
|
|
||
| This repository does not permit autonomous AI agents to operate on the | ||
| repository. | ||
|
|
||
| See AGENTS.md and CONTRIBUTING.md for the complete policy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Copilot Instructions | ||
|
|
||
| This repository does not permit autonomous AI agents to operate on the | ||
| repository. | ||
|
|
||
| See AGENTS.md and CONTRIBUTING.md for the complete policy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| # AGENTS.md | ||
|
|
||
| ## Policy Summary | ||
|
|
||
| This repository does not permit autonomous AI agents to operate on the | ||
| repository (including editing files, opening issues, or creating pull requests). | ||
|
|
||
| Human contributors MAY use AI-assisted development tools provided that: | ||
|
|
||
| - the human fully reviews and understands all generated output | ||
| - AI assistance is disclosed | ||
| - all licensing requirements are satisfied | ||
| - the contribution adds meaningful human value | ||
|
|
||
| Examples of prohibited autonomous behavior include: | ||
|
|
||
| - automated pull request generation | ||
| - unattended repository modifications | ||
| - autonomous issue filing | ||
| - bulk AI-generated comments or reviews | ||
|
|
||
| Interactive editor assistance used directly by a human contributor is permitted | ||
| subject to the disclosure requirements below. | ||
|
|
||
| > [!NOTE] | ||
| > _note, non authoritative_: the requirements outlined in this document apply to generative ai | ||
| > ("autonomous ai agent") and does not apply to **predictable/deterministic** coding tools, bots, scripts, | ||
| > and linter. For example: usage of SonarQube and usage of its recommondations are permitted | ||
| > and not subject to these restrictions. in fact: usage of SonarQube and similiar tools for coding | ||
| > quality are encouraged :3 | ||
|
|
||
| ## RESTRICTIONS | ||
|
|
||
| We expect and appreciate authentic engagement in our community. | ||
|
|
||
| Do not post output from Large Language Models or similar generative AI as | ||
| comments on GitHub, as such comments tend to be formulaic and low content. | ||
|
|
||
| If you use generative AI tools as an aid in developing code, ensure that you | ||
| fully understand the proposed changes and can explain why they are the correct | ||
| approach; additionally, you **must** disclose which parts of the code were: | ||
|
|
||
| - Fully generated by the AI tool. | ||
| - Written alongside the AI tool (examples: line completion, rewriting code | ||
| generated by AI). | ||
|
|
||
|
nushea marked this conversation as resolved.
|
||
| And, if the majority of the changes have been AI generated, explain what | ||
| modifications or actions have you taken to ensure that the result is licensable | ||
| and compatible with THE LICENSE | ||
|
|
||
| Make sure you have added value based on your personal competency to your | ||
| contributions. Just taking some input, feeding it to an AI and posting the | ||
| result is not of value to the project. We reserve the right to rigorously reject | ||
| seemingly AI generated low-value contributions. | ||
|
|
||
| Maintainers may close issues and PRs that are not useful or productive, | ||
| including those that are fully generated by AI. If a contributor repeatedly | ||
| opens unproductive issues or PRs, they may be blocked. | ||
|
|
||
| ## Licensing and Legal Requirements | ||
|
|
||
| > inspired by | ||
| > <https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst> | ||
|
|
||
| All contributions must comply with the projects's licensing requirements: | ||
|
|
||
| - All code must be compatible with AGPL-3.0-only | ||
|
|
||
| ## Signed-off-by and Developer Certificate of Origin | ||
|
|
||
| AI agents MUST NOT add Signed-off-by tags. Only humans can legally certify the | ||
| Developer Certificate of Origin (DCO). The human submitter is responsible for: | ||
|
|
||
| - Reviewing all AI-generated code | ||
| - Ensuring compliance with licensing requirements | ||
| - Adding their own Signed-off-by tag to certify the DCO | ||
| - Taking full responsibility for the contribution | ||
|
nushea marked this conversation as resolved.
|
||
|
|
||
| ## Contributing | ||
|
|
||
| See ./CONTRIBUTING.md for: | ||
|
|
||
| - disclosure requirements | ||
| - licensing requirements | ||
| - attribution requirements | ||
| - contributor expectations | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # CLAUDE.md | ||
|
|
||
| This repository does not permit autonomous AI agents to operate on the | ||
| repository. | ||
|
|
||
| See AGENTS.md and CONTRIBUTING.md for the complete policy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # COPILOT.md | ||
|
|
||
| This repository does not permit autonomous AI agents to operate on the | ||
| repository. | ||
|
|
||
| See AGENTS.md and CONTRIBUTING.md for the complete policy. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.