Updates to Pulp's AI Policy

Hey folks,

There are a lot of LLM Agents busily doing their thing(s) these days, and only a limited number of people to review their output. While Pulp has a current AI Policy statement, we needed something better. To that end, we’re in the process of replacing the current statement with one based on a template from Red Hat’s Open Source and AI Program Office (OSAIPO).

Before we make it all official, we’re posting it here for everyone to see. If you’ve got a major problem with it, let us know!

Artificial Intelligence (AI) Contribution Policy (Boundary-and-Accountability Model)

Status: PROPOSED

Effective Date: Jan 1, 2027

Last Updated: Dec 1, 2026


Purpose

This policy establishes clear expectations for the use of AI-assisted tools (such as ChatGPT, Claude, GitHub Copilot, or similar) when contributing to this project. Our goal is to harness AI’s benefits while maintaining code quality, security, and contributor accountability.

Core Principles

1. Mandatory Disclosure

All contributors must disclose when AI tools were used to assist in creating or modifying code, documentation, or other project contributions.

What counts as AI-assisted:

  • Code generated or modified by AI coding assistants

  • Documentation drafted by AI tools

  • Test cases generated by AI

  • Commits where AI tools provided substantial input

How to disclose:

  • Include in PR description: “AI-assisted: [tool name]” or similar clear statement

  • Optional commit trailer: Assisted-by: GitHub Copilot / Assisted-by: ChatGPT / Assisted-by: [tool name]

  • When asked by reviewers, answer honestly about AI use

What doesn’t require disclosure:

  • Standard IDE autocomplete (non-AI)

  • Spell checkers and grammar tools

  • Code formatters (Ruff, Prettier, Black, etc.)

2. Bounded Use

AI assistance is permitted with the following boundaries:

:white_check_mark: Allowed:

  • Code assistance for experienced contributors (with disclosure)

  • AI code review of human-written or AI-generated code

  • Documentation generation (with human review)

  • Test generation (with human verification)

  • Refactoring assistance

:x: Prohibited:

  • AI contributions to “good first issues” (these are reserved for newcomers to learn)

  • Autonomous agents submitting PRs without human involvement

  • AI-generated code the contributor doesn’t understand

  • Bulk AI-generated contributions without prior discussion

3. Human Understanding Required

Contributors must be able to:

  • Explain their code in detail during review

  • Defend design decisions and trade-offs

  • Debug issues that arise from their contributions

  • Modify the code based on review feedback

"The AI generated it" or any equivalent is never an acceptable response to review questions or bug reports.

4. Human Accountability

The human contributor is fully accountable for the following until the PR is accepted:

  • All bugs, security issues, and quality problems in their contributions

  • Code correctness, performance, and maintainability

  • Ensuring contributions meet project standards

  • Fixing issues found in review

The AI tool is not accountable. The contributor who submits the code is.

Implementation

For Contributors

Before submitting AI-assisted contributions:

  1. Understand the code fully - Review every line, understand every decision

  2. Test thoroughly - Verify the code works as intended

  3. Review for security - Check for common vulnerabilities (injection, exposure of secrets, etc.)

  4. Disclose AI use - Be transparent in your PR description

  5. Be prepared to explain - Expect reviewers to ask questions

For Reviewers

When reviewing AI-disclosed contributions:

  1. Ask clarifying questions - Verify contributor understanding

  2. Focus on logic and design - AI often gets syntax right but logic wrong

  3. Check for common AI pitfalls:

  • Hallucinated functions/APIs

  • Over-complicated solutions

  • Security issues (deprecated functions, unsafe patterns, missing bounds checks — AI tools don’t always flag these)

  • Missing error handling

  1. Treat as you would any contribution - High standards apply regardless of how code was created

Enforcement

  • First violation (undisclosed AI use): Reminder about policy

  • Second violation: Request to revise contribution with disclosure

  • Repeated violations: Handled as community conduct issue per existing guidelines

We assume good faith. This policy exists to maintain quality and trust, not to punish.

As with any other contribution, the Pulp Project team reserves the right to reject any contribution for any reason.

Rationale

Why mandatory disclosure?

  • Helps reviewers know where to focus scrutiny

  • Allows community to learn what works (and what doesn’t)

  • Builds trust through transparency

  • Creates data for improving our practices

Why human accountability?

  • Code quality depends on human understanding

  • Contributors learn by being responsible for their code

  • Maintains high standards regardless of tool use

  • Prevents “AI did it” excuse culture

Why bounded use?

  • Preserves learning opportunities for newcomers

  • Prevents spam and low-effort contributions

  • Protects project character and community culture

Resources

  • Questions? [Contact maintainers / Open discussion issue]

Review and Updates

This policy will be reviewed as needed and updated based on:

  • Community feedback

  • Observed effectiveness

  • Evolution of AI tools

  • Lessons learned

Policy Version: 1.0

5 Likes