Introduction
Contributors may use AI coding assistants (large language models, code completion tools, agentic assistants) when working on YAC. This page defines how such contributions are disclosed and what the contributor is accountable for.
Accountability
- The committer of a changeset is the author of it, regardless of whether AI tools were used to generate it. The author is responsible for the correctness, quality, and licensing of the change.
- All committed code must be understood by the author. The author must be able to explain why the change is correct and how it works.
- All code changes must be reviewed by the author. An additional reviewer may review the code if contributed via a merge request.
- Reviewers may use AI tools to assist in a review.
- The Reviewer is responsible for the final evaluation of the review and the decision to merge, revise, or discard the contribution.
- The author is responsible for ensuring that the contribution does not introduce any third-party material that is incompatible with YAC's licensing, and no material that would require attribution or notices that are not present in the contribution.
Disclosure
Disclose any use of AI tools in code review and generation by adding an Assisted-by: trailer to the commit message. The trailer names the tool and, where known, the model version:
Examples:
Assisted-by: Claude Code:claude-opus-5
Assisted-by: GitHub Copilot:gpt-5