# AI Usage Policy

The Hatchet project has strict rules for AI usage[^1]:

- **All AI usage in any form must be disclosed.** You must state
  the tool you used (e.g. Claude Code, Cursor, Amp) along with
  the extent that the work was AI-assisted.

- **Pull requests created in any way by AI may not be opened for issues marked as "good first
issue".** These issues are intended for new contributors to learn the codebase, and are thus
wasted if AI solves them.

- **Pull requests created in any way by AI can only be for accepted issues.** Drive-by pull requests
  that do not reference an accepted issue will be closed. If AI isn't disclosed but a maintainer
  suspects its use, the PR will be closed. If you want to share code for a non-accepted issue, open
  a discussion or attach it to an existing discussion.

- **Issues and discussions can use AI assistance but must have a full
  human-in-the-loop.** This means that any content generated with AI
  must have been reviewed _and edited_ by a human before submission.
  AI is very good at being overly verbose and including noise that
  distracts from the main point. Humans must do their research and
  trim this down.

[^1]: Adapted from [pola-rs/polars/AI_POLICY.md](https://github.com/pola-rs/polars/blob/09bf86ff9ea052d8ba05097b1e0cbc3ad99144bc/AI_POLICY.md).
