# CloudNativePG: AI-friendly with conditions

> AI-generated code, docs or comments are accepted if the contributor fully understands and can explain every line, guarantees licensing and provenance, and discloses significant AI use with an Assisted-by trailer. Unvetted boilerplate, AI-hallucinated fixes, unsolicited AI refactors and vague AI-written PR descriptions are prohibited.

- What it is: A Kubernetes operator for PostgreSQL. (Developer tool)
- Homepage: https://cloudnative-pg.io/
- Repository: https://github.com/cloudnative-pg/cloudnative-pg
- Overall stance: AI-friendly with conditions (Mostly friendly). AI-assisted contributions are accepted with extra rules, such as disclosing AI use, or AI is banned for issues or written text.
- Last classified: 2026-10-09 (manual review, medium confidence)
- Policy last changed: 2026-10-09
- Web page: https://areweaifriendly.com/projects/cloudnativepg/

## Policy by area

- **Code contributions**: AI-friendly with conditions (AI use must be disclosed; Contributor takes full responsibility; Output must be license-compatible)
- **Issues & bug reports**: No AI policy
- **AI-written text**: AI-friendly (A human must review the output)

## In their own words

- Code contributions: "You must fully understand every line of code you submit." (https://github.com/cloudnative-pg/governance/blob/main/AI_POLICY.md)
- Code contributions: "If you cannot guarantee the provenance and legal safety of the AI-generated code, do not submit it." (https://github.com/cloudnative-pg/governance/blob/main/AI_POLICY.md)
- Code contributions: "If AI was used to generate a significant portion of your contribution (beyond simple autocomplete), we ask that you disclose it in the PR description and through an `Assisted-by:` commit message trailer" (https://github.com/cloudnative-pg/governance/blob/main/AI_POLICY.md)
- AI-written text: "Using AI to write PR descriptions that are vague, overly flowery, or fail to accurately describe the technical changes." (https://github.com/cloudnative-pg/governance/blob/main/AI_POLICY.md)

## Sources

- [CloudNativePG AI Contribution Policy](https://github.com/cloudnative-pg/governance/blob/main/AI_POLICY.md), fetched 2026-10-09
