← All files

AI CONTRIBUTION POLICY TEMPLATE

A policy template for AI-assisted contributions: disclosure, human responsibility, licensing, and quality.

[ DOWNLOAD ][ MARKDOWN ][ SOURCE ]

A modern contribution policy for AI-assisted work: disclosure thresholds, human responsibility for every line, licensing and provenance checks, quality rules, and agent behaviour.

USE

  • Adapt the disclosure threshold to the project culture.
  • Keep the licensing section aligned with the project licence.
  • Review the policy at least every six months.

NOTES

  • This is a template, not legal advice.
  • Requirements for provenance records vary by jurisdiction and contract.

SOURCE

https://www.linuxfoundation.org/

FULL TEXT

[ DOWNLOAD ]
AI CONTRIBUTION POLICY — TEMPLATE
=================================
Version 1.0 — 2026-10-17

TEMPLATE ONLY. This document is a starting point, not legal advice. AI
tooling and its legal treatment change quickly; review the policy
regularly and adapt it to your jurisdiction and project.

Replace every value in [SQUARE BRACKETS].

---
# AI Contribution Policy — [PROJECT NAME]

## PURPOSE

This policy explains how AI-assisted contributions are handled in
[PROJECT NAME]. The goal is to keep the project's licensing clear, its
quality high, and responsibility with humans.

## SCOPE

This policy covers code, documentation, tests, translations, designs, and
issue or pull request text produced in whole or in part with generative AI
tools (assistants, code generators, chat models, agents).

## DISCLOSURE

- Disclose substantial AI assistance in the pull request description:
  which tool was used and for what (for example, drafting tests or
  refactoring).
- Routine assistance (autocomplete, formatting) does not need disclosure.
- Do not include AI-generated content that you cannot license under the
  project's licence ([LICENSE IDENTIFIER]).

## HUMAN RESPONSIBILITY

- A human contributor is responsible for every line of a contribution,
  including AI-generated code.
- Contributors must understand the change, be able to explain it in review,
  and maintain it afterwards.
- "The model wrote it" is not an acceptable answer to a review question.

## LICENSING AND PROVENANCE

- Verify that AI output does not reproduce substantial portions of
  third-party code with incompatible terms.
- Do not paste confidential, proprietary, or personal data into external AI
  services.
- Sign off commits under the DCO, or follow the CLA where applicable.
- Keep prompt-and-output records where required by [POLICY / REGULATION].

## QUALITY REQUIREMENTS

AI-assisted contributions follow the same rules as any other change:
- tests for behaviour changes;
- documentation updates;
- no unreviewed generated code in security-sensitive areas;
- code style and licensing checks pass.

## PROHIBITED USES

- Generating malicious code, obfuscation, or evasion techniques.
- Submitting generated vulnerability reports without validation.
- Impersonating a human reviewer or fabricating test results.
- Using AI to mass-produce low-quality issues or pull requests.

## AGENTS AND AUTOMATION

Automated agents may interact with the repository only through
[APPROVED CHANNELS] and must identify themselves as automated. Agents do
not have merge rights; a maintainer reviews and merges.

## ENFORCEMENT

Maintainers may request changes, close contributions, or restrict
participation for violations. Repeated or deliberate violations may lead
to a ban under the [CODE OF CONDUCT].

## POLICY CHANGES

The policy is reviewed every [6/12] months. Changes follow the project's
governance process: [GOVERNANCE LINK].

## REFERENCES

- Linux Foundation — AI policy resources: https://www.linuxfoundation.org/
- Open Source Guides: https://opensource.guide/
- Developer Certificate of Origin: https://developercertificate.org/

VERIFY SHA-256

Download the file, then choose it here. The checksum is compared locally in your browser.

Expected a8932a993c2b8e54840eef95b1cf03803d4884578b4a3d962fe6b3c241584ecc

CITE

AI CONTRIBUTION POLICY TEMPLATE (v1.0, 2026-10-17). Original. https://original.wales/files/ai-contribution-policy/ SHA-256: a8932a993c2b8e54840eef95b1cf03803d4884578b4a3d962fe6b3c241584ecc. Source: https://www.linuxfoundation.org/.

← All files