Skip to content

Establish guidelines for AI contributions#2272

Open
cjames23 wants to merge 3 commits into
pypa:masterfrom
cjames23:feat-AI-Policy
Open

Establish guidelines for AI contributions#2272
cjames23 wants to merge 3 commits into
pypa:masterfrom
cjames23:feat-AI-Policy

Conversation

@cjames23
Copy link
Copy Markdown
Member

@cjames23 cjames23 commented May 18, 2026

Adding AI guidelines to the contributing docs that establishes the rules for using AI for contributing to hatch.

closes #2218

run: hatch -v run docs:build-check
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN_MKDOCS_MATERIAL_INSIDERS: ${{ secrets.GH_TOKEN_MKDOCS_MATERIAL_INSIDERS }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please fix the docs first in a separate PR?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I can move these to a separate PR.

Comment on lines +17 to +18
2. Keep PRs limited in scope, PRs are still reviewed by a human.
3. Code should follow the conventions that are already in use in hatch's code base.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should move these guidelines elsewhere as they are unrelated to AI usage.

5. Add tests if possible to cover the lines you added.
6. Commit, and send a Pull Request.

## AI Contributions
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just shamelessly copy the first 3 items from Ghostty's AI policy and be done with it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I am all for that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Establish a policy on AI-assisted contributions

2 participants