Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.62 KB

File metadata and controls

33 lines (22 loc) · 1.62 KB

CIRCT AI Tool Use Policy

The CIRCT project follows the upstream LLVM AI Tool Use Policy.

Summary

Contributors may use AI tools to assist with their work, but must:

  • Keep a human in the loop - All AI-generated content must be reviewed and understood by the contributor before submission
  • Take full accountability - The contributor is the author and is responsible for their contributions
  • Be transparent - Label contributions containing substantial AI-generated content (e.g., using AI-assisted-by: in commit messages)
  • Ensure quality - Contributions should be worth more to the project than the time required to review them

What This Means

Allowed:

  • Using AI tools to generate code that you review, understand, and can explain
  • Using AI for documentation that you verify for correctness
  • Using AI to help debug or optimize code you understand

Not Allowed:

  • Submitting AI-generated code without thorough human review
  • Using automated agents that take action without human approval (e.g., GitHub @claude agent)
  • Using AI tools to fix "good first issue" labeled issues (these are learning opportunities for newcomers)
  • Passing maintainer feedback to an LLM without understanding and addressing it yourself

Legal Requirements

Contributors using AI tools must still ensure they have the legal right to contribute code under the Apache-2.0 WITH LLVM-exception license. Using AI to regenerate copyrighted material does not remove the copyright.

Full Policy

For complete details, see the LLVM AI Tool Use Policy.