← Back to Pull requests

Add AI Contribution Policy for OpenSSF Technical Initiatives #605

Open
justaugustus opened this pull request with 318 lines diff across 1 files
View on GitHub
justaugustus justaugustus commented on Apr 28, 2026 08:54 UTC
Author

Summary

  • Introduces a comprehensive AI contribution policy for all OpenSSF Technical Initiatives, covering AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration

  • Establishes a permissive-by-default stance with clear accountability: five guiding principles, contributor responsibility framework (adapted from ASF guidance), and default prohibition on fully autonomous AI contributions

  • Adds an OpenSSF-specific Security Considerations section addressing AI-generated code risks, with references to the BEST WG and AI/ML Security WG

  • Provides governance mechanisms: TI-level exceptions via the TAC Decision Process, AGENTS.md adoption guidance, and annual review cadence with trigger-based interim reviews
  • Decision Type

    Major — Cross-foundation policy change per the [TAC Decision Process](process/TAC-Decision-Process.md)

  • 15 business day review period

  • 7 TAC approvers required
  • Key References

  • Kubernetes contributor guide: pull requests

  • ASF Generative Tooling Guidance

  • RedMonk 2026 AI Policy Landscape in Open Source

  • OpenSSF BEST WG: Security-Focused Guide for AI Code Assistant Instructions

  • AGENTS.md specification
  • Review Suggestions

  • TAC members review for completeness and alignment with OpenSSF governance

  • AI/ML Security WG and BEST WG leads review for consistency with their published guidance

  • Verify all external links resolve correctly

  • Present at TAC meeting for discussion before vote closes
  • Co-Authored-By: Claude <noreply@anthropic.com>

    Diff: 318 lines (+318 / -0) across 1 files Reviewer: mihaimaruseac Review duration: 319854m
    All Vouch review confidence checks passed
    Residual risk 0.05 = Change Risk (0.49) × (1 − Review Confidence (0.89)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.49 · 318 lines diff across 1 files
    0.49
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.90 · 5 substantive comment(s)
    0.90
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    89%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.345
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    54 items
    justaugustus justaugustus commented on Apr 28, 2026 08:59 UTC
    Reviewer

    @SecurityCRob — as promised, here's a starting point for the OpenSSF AI policy.

    Tagging in the leads of relevant areas for review:

  • AI/ML: @mihaimaruseac @camaleon2016

  • BEST: @balteravishay @gkunz
  • cc: @ossf/tac

    lehors lehors commented on Apr 28, 2026 14:46 UTC
    Contributor

    It would make sense to reference the Linux Foundation's Generative AI Policy:
    https://www.linuxfoundation.org/legal/generative-ai

    Even though I think its rule #2 represents a real challenge with many of the existing tools available today:

    If any pre-existing copyrighted materials (including pre-existing open source code) authored or owned by third parties are included in the AI tool’s output, prior to contributing such output to the project, the Contributor should confirm that they have have permission from the third party owners–such as the form of an open source license or public domain declaration that complies with the project’s licensing policies–to use and modify such pre-existing materials and contribute them to the project. Additionally, the contributor should provide notice and attribution of such third party rights, along with information about the applicable license terms, with their contribution.

    TracyRagan TracyRagan commented on Apr 28, 2026 16:03 UTC
    Contributor

    This is a thoughtful and timely policy direction, and establishing a consistent foundation-wide stance on AI-assisted contributions makes sense given how quickly agent-supported development is evolving.

    And as I mentioned on our call, there are a few practical concerns from the perspective of smaller or resource-constrained Technical Initiatives. The default prohibition on fully autonomous AI contributions may create friction for projects already relying on automation (e.g., dependency update bots or remediation workflows), especially as the boundary between “automation” and “autonomy” is still evolving. Clarifying that distinction would help maintainers apply the policy consistently.

    Disclosure expectations and additional review considerations may also introduce extra overhead for already bandwidth-limited maintainer teams. Similarly, guidance around adopting AGENTS.md is forward-looking, but the ecosystem around it is still emerging and may be difficult for some projects to operationalize immediately.

    It may help to position this policy clearly as guardrails with flexibility at the TI level, and to ensure the TAC exception pathway is lightweight enough to support legitimate security automation use cases as agent-driven workflows mature.

    arewm arewm commented on code on Apr 28, 2026 21:37 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.

    This paragraph feels awkwardly worded. Changing the first sentence feels better, but rewording the entire paragraph may be better yet.

    Reviewers' work will change depending on whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    

    arewm arewm commented on code on Apr 28, 2026 21:42 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.

    I don't know where the best place to include this is, but DCO signoff should NOT be done by an agent. These should only be done by a human which may be orchestrating the agent.

    arewm arewm commented on code on Apr 28, 2026 21:47 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.

    Are we just talking about code contributions at this point in time or is this also relevant for issues and comments on issues/PRs?

    arewm arewm commented on code on Apr 28, 2026 21:50 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.

    Is there a proposed enforcement mechanism if a user is determined to have used an agentic tool without a human in the loop? Do we need to be explicit about this also applying to maintainers?

    arewm arewm commented on code on Apr 28, 2026 21:53 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading

    Does this policy also hold for removing AI generated issue comments as well? Part of the challenge that I have encountered is the tendency of overly verbose agreement, especially if you have multiple autonomous agents communicating back and forth in a single location.

    arewm arewm commented on code on Apr 28, 2026 21:55 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.

    Should this be more than one maintainer if possible for redundancy?

    arewm arewm commented on code on Apr 28, 2026 21:57 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading
    +- Reclaim issues that were claimed by automated agents without follow-through
    +
    +When closing or removing AI-generated content, use a respectful, consistent rationale that references this policy.
    +
    +### Proactive Recommendations
    +
    +- Apply the project's existing commit conventions to AI-assisted contributions the same way as any other contribution. Projects without commit conventions may consider adopting basic standards (e.g., conventional commits, "what/why" format, squash-on-merge policy).
    +- **Reduce the attack surface for low-quality AI contributions proactively:**
    +  - Keep `CONTRIBUTING.md`, `README.md`, and issue templates current — outdated or vague guidance increases the likelihood that AI agents produce off-target submissions.
    +  - Minimize unnecessary dependency sprawl — each dependency is an additional surface for automated "bump" or "fix" PRs.
    +  - Use clear, specific "good first issue" labels and remove stale ones — AI agents often target these labels for automated issue claiming.
    +
    +## AGENTS.md in OpenSSF Repositories
    +
    +OpenSSF repositories should include an `AGENTS.md` file to set expectations for AI agent behavior.
    +
    +### Rationale
    +
    +`AGENTS.md` is a tool-agnostic standard for providing instructions to AI coding agents interacting with a repository, stewarded by the [Agentic AI Foundation (AAIF)](https://aaif.io/). Adopting `AGENTS.md` serves as a mitigation tool — it sets explicit expectations for how AI agents should behave in a repo, reducing low-quality automated contributions.
    +
    +### Details
    +
    +OpenSSF repos should follow the [AGENTS.md specification](https://agents.md/) for file naming and placement:
    +
    +- Place an `AGENTS.md` file at the repository root, consistent with other community health files (`README.md`, `CONTRIBUTING.md`, `SECURITY.md`).
    +- For monorepos, nested `AGENTS.md` files may be placed in subpackages — the closest `AGENTS.md` to the edited file takes precedence.
    +
    +`AGENTS.md` files in OpenSSF repositories must follow these guidelines:
    +
    +- **Tool-agnostic content only.** Do not reference specific vendors or products. The file should work with any AI coding agent.
    +- **No confidential information.** Do not include non-public architecture details, infrastructure references, or information that is not already public in the repo.
    +- **Project-specific instructions.** Focus on contribution standards, testing requirements, coding conventions, and review expectations specific to the project.
    +- **Keep it maintained.** An outdated `AGENTS.md` is worse than none — it will produce contributions that don't match current project expectations. Treat it as a living document alongside `CONTRIBUTING.md`.
    +- **Maintainer-controlled.** `AGENTS.md` and other agent configuration files are maintained by project maintainers. Pull requests from external contributors that modify agent configuration files require explicit maintainer review and approval. This prevents tool-specific config sprawl and keeps agent instructions consistent with the project's contribution standards, while still allowing good-faith fixes (typos, broken links, outdated commands) to be reviewed on their merits.
    +
    +For security-specific agent instructions, TIs should reference the [Security-Focused Guide for AI Code Assistant Instructions](https://best.openssf.org/Security-Focused-Guide-for-AI-Code-Assistant-Instructions) published by the OpenSSF Best Practices Working Group.
    +
    +## Security Considerations

    Another security consideration is for maintainers that use AI tooling. Especially if threads get to be long, maintainers might be more likely to use their own tooling to process the large amount of input. This exposes them to prompt injection vulnerabilities especially as comments in issues and pull requests can container hidden HTML which will be processed by the agents even if not seen.

    Is this out of scope of the current document?

    justaugustus justaugustus commented on code on Apr 29, 2026 07:46 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.

    - Have a named maintainer team (ideally, more than one person) accountable for the agent's outputs and for revoking access if the behavior becomes harmful
    

    justaugustus justaugustus commented on Apr 29, 2026 09:05 UTC
    Author

    It would make sense to reference the Linux Foundation's Generative AI Policy: https://www.linuxfoundation.org/legal/generative-ai

    > Even though I think its rule #2 represents a real challenge with many of the existing tools available today [...]

    @lehors — Great point; I've added references to the LF policy and challenges in https://github.com/ossf/tac/pull/605/commits/f20ee1345ac9407541918a2f7687a73ac5951bc7.

    justaugustus justaugustus commented on code on Apr 29, 2026 09:44 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading

    Does this policy also hold for removing AI generated issue comments as well?

    @arewm — Yes, is there language that would better clarify this?

    Part of the challenge that I have encountered is the tendency of overly verbose agreement, especially if you have multiple autonomous agents communicating back and forth in a single location.

    Are there any examples that you can share of this?
    The most recent one that comes to mind for me is https://github.com/ossf/tac/issues/583.

    justaugustus justaugustus commented on code on Apr 29, 2026 09:49 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading
    +- Reclaim issues that were claimed by automated agents without follow-through
    +
    +When closing or removing AI-generated content, use a respectful, consistent rationale that references this policy.
    +
    +### Proactive Recommendations
    +
    +- Apply the project's existing commit conventions to AI-assisted contributions the same way as any other contribution. Projects without commit conventions may consider adopting basic standards (e.g., conventional commits, "what/why" format, squash-on-merge policy).
    +- **Reduce the attack surface for low-quality AI contributions proactively:**
    +  - Keep `CONTRIBUTING.md`, `README.md`, and issue templates current — outdated or vague guidance increases the likelihood that AI agents produce off-target submissions.
    +  - Minimize unnecessary dependency sprawl — each dependency is an additional surface for automated "bump" or "fix" PRs.
    +  - Use clear, specific "good first issue" labels and remove stale ones — AI agents often target these labels for automated issue claiming.
    +
    +## AGENTS.md in OpenSSF Repositories
    +
    +OpenSSF repositories should include an `AGENTS.md` file to set expectations for AI agent behavior.
    +
    +### Rationale
    +
    +`AGENTS.md` is a tool-agnostic standard for providing instructions to AI coding agents interacting with a repository, stewarded by the [Agentic AI Foundation (AAIF)](https://aaif.io/). Adopting `AGENTS.md` serves as a mitigation tool — it sets explicit expectations for how AI agents should behave in a repo, reducing low-quality automated contributions.
    +
    +### Details
    +
    +OpenSSF repos should follow the [AGENTS.md specification](https://agents.md/) for file naming and placement:
    +
    +- Place an `AGENTS.md` file at the repository root, consistent with other community health files (`README.md`, `CONTRIBUTING.md`, `SECURITY.md`).
    +- For monorepos, nested `AGENTS.md` files may be placed in subpackages — the closest `AGENTS.md` to the edited file takes precedence.
    +
    +`AGENTS.md` files in OpenSSF repositories must follow these guidelines:
    +
    +- **Tool-agnostic content only.** Do not reference specific vendors or products. The file should work with any AI coding agent.
    +- **No confidential information.** Do not include non-public architecture details, infrastructure references, or information that is not already public in the repo.
    +- **Project-specific instructions.** Focus on contribution standards, testing requirements, coding conventions, and review expectations specific to the project.
    +- **Keep it maintained.** An outdated `AGENTS.md` is worse than none — it will produce contributions that don't match current project expectations. Treat it as a living document alongside `CONTRIBUTING.md`.
    +- **Maintainer-controlled.** `AGENTS.md` and other agent configuration files are maintained by project maintainers. Pull requests from external contributors that modify agent configuration files require explicit maintainer review and approval. This prevents tool-specific config sprawl and keeps agent instructions consistent with the project's contribution standards, while still allowing good-faith fixes (typos, broken links, outdated commands) to be reviewed on their merits.
    +
    +For security-specific agent instructions, TIs should reference the [Security-Focused Guide for AI Code Assistant Instructions](https://best.openssf.org/Security-Focused-Guide-for-AI-Code-Assistant-Instructions) published by the OpenSSF Best Practices Working Group.
    +
    +## Security Considerations

    Is this out of scope of the current document?

    I don't think this is necessarily out-of-scope, but I wonder if operational guidance belongs in a different document? What do you think?

    justaugustus justaugustus commented on code on Apr 29, 2026 09:54 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.

    Code contributions, issue creation, and comments on issues and pulls requests are all in scope for this policy.

    justaugustus justaugustus commented on code on Apr 29, 2026 09:59 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.

    There's no enforcement mechanism specific to this policy — enforcement follows existing OpenSSF governance: the Code of Conduct, TI-level governance processes, and maintainer authority (which the policy explicitly grants — maintainers can close, revert, or remove content).

    On whether this applies to maintainers: yes (Guiding Principles section says "all participants — maintainers, contributors, and reviewers.")

    I'd prefer not to design a policy-specific enforcement regime at this stage; it would add complexity and the existing governance mechanisms cover the realistic scenarios. I'm happy to discuss if others feel differently.

    justaugustus justaugustus commented on code on Apr 29, 2026 10:16 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.

    Hmmm... I'm not sure I agree here, but I also don't have a fully-formed opinion here just yet.

    If we accept the framing of the policy (that AI is a tool in a contributor's toolbelt, just like any other), then what is the material difference between a human running git commit --signoff and an agent that a human has guided doing the same?

    The real risk is an agent signing off without the human's meaningful involvement — but that scenario is already prohibited: autonomous contributions are not accepted by default, and contributors must understand and be able to explain every change they submit. If you can't explain the change, you shouldn't be certifying you have the right to submit it.

    Open to debate here; this is just my initial take based on the current iteration of this policy and the DCO itself.

    justaugustus justaugustus commented on Apr 29, 2026 10:18 UTC
    Reviewer

    @arewm — Thanks for the review!

    I made a few light edits based on your feedback and integrated your direct code suggestions, where they were applicable.

    justaugustus justaugustus commented on Apr 29, 2026 10:50 UTC
    Author

    This is a thoughtful and timely policy direction, and establishing a consistent foundation-wide stance on AI-assisted contributions makes sense given how quickly agent-supported development is evolving.

    > And as I mentioned on our call, there are a few practical concerns from the perspective of smaller or resource-constrained Technical Initiatives. [...]

    Thanks for your comments on the call and quick follow-up here, @TracyRagan!

    A few notes on how the current draft addresses some of the concerns you've raised:

  • Automation vs. autonomy: The policy (in its current form) exempts all GitHub Apps and bots authorized through OpenSSF governance prior to the effective date (Dependabot, Scorecard, CI bots, etc.). These are explicitly not subject to this policy. For new automation, TIs can permit specific autonomous behaviors through their AGENTS.md with scoped, documented, maintainer-owned configurations. That said, I think you're right that we could do a better job distinguishing deterministic automation (e.g., a bot that bumps a dependency version) from generative AI autonomy (e.g., an agent that writes and submits code independently). I'll look at clarifying that distinction in the glossary or autonomous contributions section.

  • Maintainer overhead: The disclosure model was revised to not require disclosure by default — AI tool use is treated as workflow. Disclosure is only required when the normal accountability assumption breaks down (autonomous contributions or unreviewed AI-produced content). This should minimize overhead for bandwidth-limited teams.

  • AGENTS.md: The policy uses "should" (recommended), not "must." TIs can adopt it when it makes sense for them.

  • Exception pathway: The exception process uses "Content-type review" (72h, 3 approvers) rather than "Major" — designed to be lightweight.
  • I agree with your framing of "guardrails with flexibility at the TI level" — that's the intent.
    Happy to add language that makes that positioning more explicit.

    arewm arewm commented on code on Apr 29, 2026 12:13 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading
    +- Reclaim issues that were claimed by automated agents without follow-through
    +
    +When closing or removing AI-generated content, use a respectful, consistent rationale that references this policy.
    +
    +### Proactive Recommendations
    +
    +- Apply the project's existing commit conventions to AI-assisted contributions the same way as any other contribution. Projects without commit conventions may consider adopting basic standards (e.g., conventional commits, "what/why" format, squash-on-merge policy).
    +- **Reduce the attack surface for low-quality AI contributions proactively:**
    +  - Keep `CONTRIBUTING.md`, `README.md`, and issue templates current — outdated or vague guidance increases the likelihood that AI agents produce off-target submissions.
    +  - Minimize unnecessary dependency sprawl — each dependency is an additional surface for automated "bump" or "fix" PRs.
    +  - Use clear, specific "good first issue" labels and remove stale ones — AI agents often target these labels for automated issue claiming.
    +
    +## AGENTS.md in OpenSSF Repositories
    +
    +OpenSSF repositories should include an `AGENTS.md` file to set expectations for AI agent behavior.
    +
    +### Rationale
    +
    +`AGENTS.md` is a tool-agnostic standard for providing instructions to AI coding agents interacting with a repository, stewarded by the [Agentic AI Foundation (AAIF)](https://aaif.io/). Adopting `AGENTS.md` serves as a mitigation tool — it sets explicit expectations for how AI agents should behave in a repo, reducing low-quality automated contributions.
    +
    +### Details
    +
    +OpenSSF repos should follow the [AGENTS.md specification](https://agents.md/) for file naming and placement:
    +
    +- Place an `AGENTS.md` file at the repository root, consistent with other community health files (`README.md`, `CONTRIBUTING.md`, `SECURITY.md`).
    +- For monorepos, nested `AGENTS.md` files may be placed in subpackages — the closest `AGENTS.md` to the edited file takes precedence.
    +
    +`AGENTS.md` files in OpenSSF repositories must follow these guidelines:
    +
    +- **Tool-agnostic content only.** Do not reference specific vendors or products. The file should work with any AI coding agent.
    +- **No confidential information.** Do not include non-public architecture details, infrastructure references, or information that is not already public in the repo.
    +- **Project-specific instructions.** Focus on contribution standards, testing requirements, coding conventions, and review expectations specific to the project.
    +- **Keep it maintained.** An outdated `AGENTS.md` is worse than none — it will produce contributions that don't match current project expectations. Treat it as a living document alongside `CONTRIBUTING.md`.
    +- **Maintainer-controlled.** `AGENTS.md` and other agent configuration files are maintained by project maintainers. Pull requests from external contributors that modify agent configuration files require explicit maintainer review and approval. This prevents tool-specific config sprawl and keeps agent instructions consistent with the project's contribution standards, while still allowing good-faith fixes (typos, broken links, outdated commands) to be reviewed on their merits.
    +
    +For security-specific agent instructions, TIs should reference the [Security-Focused Guide for AI Code Assistant Instructions](https://best.openssf.org/Security-Focused-Guide-for-AI-Code-Assistant-Instructions) published by the OpenSSF Best Practices Working Group.
    +
    +## Security Considerations

    This is of course a complex and rapidly evolving space. The defenses that work today will not work "tomorrow" because the attacker moves second. Anyone using AI on OpenSSF projects will hopefully be aware of the risks and work to mitigate them so I think that it makes sense to at least acknowledge those risks in this document. I wouldn't be surprised if these recommendations/concerns grew so that a separate cross-referenced document would be a better organization.

    I have interacted with a couple of suspected OpenClaw instances in the SLSA project which brought this concern to the forefront of my mind.

    arewm arewm commented on code on Apr 29, 2026 12:17 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading

    Another example from SLSA: https://github.com/slsa-framework/slsa/issues/1594 but some of those same identities were engaging in similar behaviors in https://github.com/in-toto/attestation/pull/549 as well as on issues against personal repositories https://github.com/arewm/refs.arewm.com/issues/1 after I defined a custom provenance buildType.

    arewm arewm commented on code on Apr 29, 2026 12:20 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.

    We were discussing potential enforcement mechanisms within SLSA. Are you trying to say that OpenSSF doesn't want to address enforcement at a foundation level or that any enforcement within the foundation should be deferred until a later date? I assume the former. Within SLSA, for example, we were weighing potential enforcement options which would still be conformant to this policy since it would be a more restrictive policy than what is being established here, correct?

    arewm arewm commented on code on Apr 29, 2026 12:38 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.

    AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code, issue, and comment quality is maintained.
    

    arewm arewm commented on code on Apr 29, 2026 13:33 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.

    NOTE: This comment is from the perspective of commits. The discussion of human involvement is important for other contributions like comments/issues but it is not as easy to have a clear signal.

    I accept that AI is just a tool, but it is a tool that provides new capabilities. With most other tools previously, the tools may have just informed the direction of work for humans to implement or at a maximum, the humans running them _needed_ to verify the output that may have been generated. With LLM based tooling, however, it is easy to not review the changes at all.

    I know that this document is worded in terms of meaningful human involvement

    If you can't explain the change, you shouldn't be certifying you have the right to submit it.

    This seems to pair well with the terminology from the DCO

    (a) The contribution was created in whole or in part by me and I

    have the right to submit it under the open source license

    indicated in the file; or

    > (b) The contribution is based upon previous work that, to the best

    of my knowledge, is covered under an appropriate open source

    license and I have the right under that license to submit that

    work with modifications, whether created in whole or in part

    by me, under the same open source license (unless I am

    permitted to submit under a different license), as indicated

    in the file; or

    What is not explicitly clear and is therefore up to interpretation is what a minimum human involvement is. If I have a well documented feature definition to constrain a LLM model producing a code change, is that meaningful involvement? I suspect that it isn't. If I use do that same process but I review the output for adherence/conformance to the spec, is the human involvement now meaningful enough? Do you have to iterate back and forth with an LLM as a human for involvement to become meaningful?

    Just claiming that a human can explain the change is a much lower bar than how I interpret the DCO. If you have an agent that automatically applies a DCO, there is no required human involvement and its presence becomes meaningless when trying to intuit a human's involvement.

    LLM tools are only becoming more integrated with the SDLC and software is being built by harnesses autonomously from prompts. I don't see an _inherent_ issue with that as long as those contributions remain guided by humans (it will always be hard to define what is sufficient human involvement/guidance). The indication that a commit is guided and reviewed by a human is the DCO. If LLMs will auto-apply a DCO then maintainers will not have a signal as to whether a human is in the loop. If we require DCO to be applied by a human as a policy, then maintainers have that signal to fall back on. If we require that a human must apply DCO then detecting the opposite becomes a potentially actionable policy violation.

    arewm arewm commented on code on Apr 29, 2026 13:43 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,311 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +Reviewers' work will change depending on whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. When pre-existing copyrighted materials are included in AI-generated output, contributors should confirm they have permission to use and modify those materials (such as an open source license or public domain declaration that complies with the project's licensing policies), provide notice and attribution of third-party rights, and include information about the applicable license terms with their contribution. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available. Note: as the [Linux Foundation's Generative AI Policy](https://www.linuxfoundation.org/legal/generative-ai) acknowledges, reliably identifying third-party materials in AI-generated output remains a practical challenge with current tools.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer team (ideally, more than one person) accountable for the agent's outputs and for revoking access if the behavior becomes harmful
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)

    This is much harder in practice and we are already seeing it in the wild. See https://github.com/microsoft/agent-governance-toolkit/issues/748#issuecomment-4267909610 for reference. A (presumed) autonomous agent posted to an issue claiming that they have been working on something similar. The project maintainer accepted the contributions which later were revealed to be reactive clone. Only after that call-out did the (presumed) autonomous agent admit the connection and add the attribution.

    This line may still be good to include for maintainers to fall back on for a rationale to close/revert contributions, but I suspect that it would be too much burden for maintainers to carefully consider at every contribution. Agents submitting work are not always honest/complete with their attributions.

    funnelfiasco funnelfiasco commented on code on Apr 29, 2026 18:27 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.

    If you can't explain the change, you shouldn't be certifying you have the right to submit it.

    I'm not sure that holds. The legal right to submit something and knowing what that thing is are only loosely-related. Anyone who has held a conversation of any significant length with me knows that I say all kinds of things that I can copyright, but cannot explain. :-)

    funnelfiasco funnelfiasco commented on code on Apr 29, 2026 18:33 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,311 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +Reviewers' work will change depending on whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.

    this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.

    I would not call this an "unresolved question." Courts have been pretty consistent that copyright comes from human activity (see, for the most famous example, the "Monkey selfie case"). Until that's overturned, the question is resolved: AI tools cannot hold copyright.

    (I am not a lawyer, so if someone here is one and wants to tell me I'm wrong, I'll accept it)

    funnelfiasco funnelfiasco commented on Apr 29, 2026 18:40 UTC
    Contributor

    There's a bit of a mismatch between the title and the content here. The policy is generally on AI contributions, but the title talks about "usage" would reasonably include bots for issue triage, security review, etc. I think the scope of the current proposal is good, so making it clear that it's an AI _contribution_ policy is probably sufficient for now.

    justaugustus justaugustus commented on code on Apr 29, 2026 20:32 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.

    Are you trying to say that OpenSSF doesn't want to address enforcement at a foundation level or that any enforcement within the foundation should be deferred until a later date? I assume the former.

    @arewm — Apologies for the confusion here; it's actually a ✨ secret third thing ✨:

  • None of my capacities (Governing Board member, Technical Advisory Council member, project maintainer, and Steering Committee member) grant me sole authority to speak as the foundation.

  • As a foundation, AFAICT, we do not have a documenting framework for writing/enacting policies. The only published policy in the repo is around GitHub Access Management and it was last updated 3 years ago.
  • ---

    So, consider this response the opinion of a contributor and interested party in improving how we interact with AI tooling:

  • I want the OpenSSF to provide guidance on how maintainers can protect project quality and their bandwidth

  • I want policy guidance that is not so overly restrictive that it impedes innovation, but reasonably strong to provide all projects a consistent baseline to build on top of

  • I want policy guidance that provides a path for remediation, so that [new] contributors do not feel discouraged simply because they are experimenting with what was previously a non-standard/non-existent workflow

  • I want policy language that, as much as possible, treats AI as a another tool in our toolbox, as opposed to non-reusable carve-outs. Today it's AI, but tomorrow it could be something else and our documentation should be durable in the face of that. On the same thread:

  • I want enforcement mechanisms for policy violations that align with or [more preferred,] are embedded within well-known/-understood community health practices for open source governance (e.g., project contribution guidelines, issue/PR templates, foundation-level code of conduct documents/procedures), as opposed to having an embedded, policy-based enforcement route
  • I say all of that to say: I don't disagree with enforcement being something we should address _somewhere_, but I'd like to see feedback from my peers in the @ossf/tac and staff members, like @SecurityCRob, before we can make a decision on where those somewheres are.

    justaugustus justaugustus commented on code on Apr 29, 2026 20:34 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading

    Really appreciate the reference points, @arewm!
    Looks like we both ran into the same GitHub "user" 😅

    justaugustus justaugustus commented on code on Apr 29, 2026 20:42 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Adapted from the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html), contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer owner accountable for the agent's outputs and for revoking access if the behavior becomes harmful.
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading
    +- Reclaim issues that were claimed by automated agents without follow-through
    +
    +When closing or removing AI-generated content, use a respectful, consistent rationale that references this policy.
    +
    +### Proactive Recommendations
    +
    +- Apply the project's existing commit conventions to AI-assisted contributions the same way as any other contribution. Projects without commit conventions may consider adopting basic standards (e.g., conventional commits, "what/why" format, squash-on-merge policy).
    +- **Reduce the attack surface for low-quality AI contributions proactively:**
    +  - Keep `CONTRIBUTING.md`, `README.md`, and issue templates current — outdated or vague guidance increases the likelihood that AI agents produce off-target submissions.
    +  - Minimize unnecessary dependency sprawl — each dependency is an additional surface for automated "bump" or "fix" PRs.
    +  - Use clear, specific "good first issue" labels and remove stale ones — AI agents often target these labels for automated issue claiming.
    +
    +## AGENTS.md in OpenSSF Repositories
    +
    +OpenSSF repositories should include an `AGENTS.md` file to set expectations for AI agent behavior.
    +
    +### Rationale
    +
    +`AGENTS.md` is a tool-agnostic standard for providing instructions to AI coding agents interacting with a repository, stewarded by the [Agentic AI Foundation (AAIF)](https://aaif.io/). Adopting `AGENTS.md` serves as a mitigation tool — it sets explicit expectations for how AI agents should behave in a repo, reducing low-quality automated contributions.
    +
    +### Details
    +
    +OpenSSF repos should follow the [AGENTS.md specification](https://agents.md/) for file naming and placement:
    +
    +- Place an `AGENTS.md` file at the repository root, consistent with other community health files (`README.md`, `CONTRIBUTING.md`, `SECURITY.md`).
    +- For monorepos, nested `AGENTS.md` files may be placed in subpackages — the closest `AGENTS.md` to the edited file takes precedence.
    +
    +`AGENTS.md` files in OpenSSF repositories must follow these guidelines:
    +
    +- **Tool-agnostic content only.** Do not reference specific vendors or products. The file should work with any AI coding agent.
    +- **No confidential information.** Do not include non-public architecture details, infrastructure references, or information that is not already public in the repo.
    +- **Project-specific instructions.** Focus on contribution standards, testing requirements, coding conventions, and review expectations specific to the project.
    +- **Keep it maintained.** An outdated `AGENTS.md` is worse than none — it will produce contributions that don't match current project expectations. Treat it as a living document alongside `CONTRIBUTING.md`.
    +- **Maintainer-controlled.** `AGENTS.md` and other agent configuration files are maintained by project maintainers. Pull requests from external contributors that modify agent configuration files require explicit maintainer review and approval. This prevents tool-specific config sprawl and keeps agent instructions consistent with the project's contribution standards, while still allowing good-faith fixes (typos, broken links, outdated commands) to be reviewed on their merits.
    +
    +For security-specific agent instructions, TIs should reference the [Security-Focused Guide for AI Code Assistant Instructions](https://best.openssf.org/Security-Focused-Guide-for-AI-Code-Assistant-Instructions) published by the OpenSSF Best Practices Working Group.
    +
    +## Security Considerations

    Fair point on acknowledging the risks, even if we can't immediately address them.
    Will update the language around this section.

    gkunz gkunz commented on Apr 29, 2026 20:42 UTC
    Contributor

    Thank you @justaugustus for drafting this extensive document. I generally agree with the proposed policy, being aware though that some aspects are challenging to implement, for instance code snippet scans and the corresponding attributions.

    Still, the current draft would work for me as a good "first version" of the policy, meaning that we should rather have a policy than none, and due to the speed at which the technology and development processes evolve, we should be very clear and aware that we may not get it right the first time and want to revisit and iteratively improve this policy.

    hen hen commented on code on Apr 29, 2026 20:42 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,311 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +Reviewers' work will change depending on whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.

    Agreed. Given that 'author' is a copyright term that is often the employer, it feels complex to include 'co-authored', and doubly complex as Ben points out to have that refer to a tool.

    jkjell jkjell commented on code on Apr 29, 2026 20:57 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,310 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +What does change reviewers' work is whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.

    And the inverse is true wrt AI generated code. If the code can be explained by the submitter but, they did not influence the generated content in a "significant" way, it's unlikely they can claim copyright.

    Hayden-IO Hayden-IO commented on Apr 29, 2026 21:16 UTC
    Contributor

    Thank you @justaugustus for starting this! We've been working on AI usage policies for Sigstore and SLSA, and at a glance, I'm happy to see these largely overlap.

    This is a very detailed policy, and I'd worry that contributors will not take the time to read all of it. Could we have a more concise policy that describes the absolute requirements, and a secondary document that goes into more depth?

    I also assume that this is meant to be consumed by humans. I wonder if we should have an AGENTS.md file as well to inform LLMs on how to make contributions, or at the very least verify that an LLM can summarize this policy accurately.

    Hayden-IO Hayden-IO commented on code on Apr 29, 2026 21:26 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,311 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +Reviewers' work will change depending on whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code, issue, and comment quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. When pre-existing copyrighted materials are included in AI-generated output, contributors should confirm they have permission to use and modify those materials (such as an open source license or public domain declaration that complies with the project's licensing policies), provide notice and attribution of third-party rights, and include information about the applicable license terms with their contribution. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available. Note: as the [Linux Foundation's Generative AI Policy](https://www.linuxfoundation.org/legal/generative-ai) acknowledges, reliably identifying third-party materials in AI-generated output remains a practical challenge with current tools.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer team (ideally, more than one person) accountable for the agent's outputs and for revoking access if the behavior becomes harmful
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading
    +- Reclaim issues that were claimed by automated agents without follow-through
    +
    +When closing or removing AI-generated content, use a respectful, consistent rationale that references this policy.
    +
    +### Proactive Recommendations
    +
    +- Apply the project's existing commit conventions to AI-assisted contributions the same way as any other contribution. Projects without commit conventions may consider adopting basic standards (e.g., conventional commits, "what/why" format, squash-on-merge policy).
    +- **Reduce the attack surface for low-quality AI contributions proactively:**
    +  - Keep `CONTRIBUTING.md`, `README.md`, and issue templates current — outdated or vague guidance increases the likelihood that AI agents produce off-target submissions.
    +  - Minimize unnecessary dependency sprawl — each dependency is an additional surface for automated "bump" or "fix" PRs.
    +  - Use clear, specific "good first issue" labels and remove stale ones — AI agents often target these labels for automated issue claiming.

    I believe that "good first issue"s are exactly what AI should _not_ tackle. These are meant to be small in scope and introduce new contributors to the codebase. They're usually easy to implement, and if a maintainer wanted them done fast, they could simply point their own LLM at the issues.

    Hayden-IO Hayden-IO commented on code on Apr 29, 2026 21:35 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,311 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +

    What's the level of disclosure we expect? e.g.

    "I used AI"
    "I used AI to write some parts of this PR or issue"
    "I used AI to write tests only"
    "I used AI to help me communicate in another language"

    I don't think we should be overly prescriptive, and maybe we can leave it up to the individual projects, but I do think there's a wide range of reasons to use AI and some may not require explicit disclosure (namely the last of these).

    Hayden-IO Hayden-IO commented on code on Apr 29, 2026 21:41 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,311 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +Reviewers' work will change depending on whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code, issue, and comment quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. When pre-existing copyrighted materials are included in AI-generated output, contributors should confirm they have permission to use and modify those materials (such as an open source license or public domain declaration that complies with the project's licensing policies), provide notice and attribution of third-party rights, and include information about the applicable license terms with their contribution. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available. Note: as the [Linux Foundation's Generative AI Policy](https://www.linuxfoundation.org/legal/generative-ai) acknowledges, reliably identifying third-party materials in AI-generated output remains a practical challenge with current tools.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer team (ideally, more than one person) accountable for the agent's outputs and for revoking access if the behavior becomes harmful
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.

    Do we have any guidance on outright banning contributors who repeatedly ignore the policy?

    Hayden-IO Hayden-IO commented on code on Apr 29, 2026 21:45 UTC
    Code Review
    policies/ai.md:1
    @@ -0,0 +1,311 @@
    +# AI Usage in OpenSSF Technical Initiatives
    +
    +This policy defines how the OpenSSF approaches the use of AI development tools in contributions to its Technical Initiatives (TIs). It covers AI-assisted and AI-autonomous contributions, disclosure expectations, maintainer review practices, and repository-level agent configuration.
    +
    +AI is reshaping open source dynamics. Organizations and foundations that prohibit AI usage risk falling behind; those that accept it uncritically risk quality, security, and legal exposure. This policy takes a pragmatic middle path — permissive by default, with clear accountability expectations — while acknowledging that the landscape is evolving rapidly and that questions around contributor consent, competitive dynamics, and community norms remain open.
    +
    +This is a living document. It will be reviewed periodically and updated as the AI landscape evolves (see [Review Cadence](#review-cadence)).
    +
    +## Scope
    +
    +This policy applies to:
    +
    +- Repositories under [github.com/ossf](https://github.com/ossf) and other OpenSSF-controlled organizations
    +- All interaction types: pull requests, issues, review comments, discussions, and automated activity
    +- All contributors, regardless of organizational affiliation
    +
    +This policy does **not** replace:
    +
    +- Individual TI contribution guidelines (`CONTRIBUTING.md`)
    +- The OpenSSF [Developer Certificate of Origin (DCO)](../dco.md) requirement
    +- Employer-specific policies that contributors may be subject to
    +
    +Individual TIs may adopt **stricter** rules than this policy (see [TI-Level Exceptions](#ti-level-exceptions)) but may not be more permissive.
    +
    +## Glossary
    +
    +- **AI development tools**: Copilots, agents, editors, and other tools that generate or transform code, documentation, or other project artifacts.
    +- **AI-assisted contribution**: Any contribution (PR, issue, comment, review) where a human used AI development tools to help produce the work, but the human directed the process and reviewed the output.
    +- **AI-autonomous contribution**: Any contribution produced and submitted by an AI agent acting independently, without meaningful human direction or review of the specific output.
    +- **Repo agent config**: Files intended to guide coding agents (e.g., `AGENTS.md`, tool config files, agent instructions).
    +
    +## Guiding Principles
    +
    +These five principles govern how the OpenSSF approaches AI usage in its Technical Initiatives. They apply to all participants — maintainers, contributors, and reviewers.
    +
    +1. **Be transparent.** Disclose AI usage. Don't obscure how contributions were produced. Transparency builds trust with maintainers and the broader community.
    +
    +2. **Take responsibility.** The human contributor owns the contribution. AI development tools don't reduce accountability for correctness, security, or licensing. "The AI wrote it" is not a defense.
    +
    +3. **Demonstrate understanding.** Contributors must be able to explain what they submit. If you cannot walk through the change and justify its design, it is not ready for review.
    +
    +4. **Respect maintainer time.** AI has lowered the cost of producing contributions but not the cost of reviewing them. Contributors must ensure their submissions are worth the review effort and are appropriately scoped.
    +
    +5. **Engage authentically.** Interact as if you were interacting with humans, not machines. Review comments, issue discussions, and community interactions should reflect genuine human engagement.
    +
    +## Disclosure of AI Usage
    +
    +The OpenSSF treats AI development tools as part of a contributor's workflow, comparable to editors, linters, or language servers. Tool use itself is not something reviewers need flagged. Contributors are fully responsible for every contribution they submit (see [Contributor Responsibility for AI-Assisted Work](#contributor-responsibility-for-ai-assisted-work)), and the [Developer Certificate of Origin (DCO)](../dco.md) provides the formal accountability attestation. Within that framework, disclosure of AI tool use is **not** required by default.
    +
    +Disclosure **is** required in the two cases where the normal accountability assumption breaks down:
    +
    +1. **AI-autonomous contributions** (see [AI-Autonomous Contributions](#ai-autonomous-contributions)): the contribution lacks a human who directed the work and reviewed the specific output.
    +2. **Unreviewed AI-produced content**: the contributor is submitting AI-produced content they have not meaningfully reviewed and cannot fully explain. For example, a large generated change the contributor is asking maintainers to evaluate without having walked through it themselves.
    +
    +In both cases, disclosure exists so reviewers know the standard accountability assumption does not hold for the contribution, and can adjust their review accordingly. Outside these two cases, AI tool use is treated as workflow and does not require disclosure.
    +
    +### Rationale
    +
    +Disclosure adds value when it tells reviewers something they need to act on. Whether a contributor used an AI tool while working on a contribution does not, on its own, change what reviewers are evaluating. The change still has to be correct, in scope, well-explained, and aligned with project standards. AI tool use is heterogeneous across contributors, and across the lifecycle of a single contribution (research, drafting, refactoring, testing, documentation). Tracking it adds noise without improving review, and works against the policy's own *Respect maintainer time* principle.
    +
    +Reviewers' work will change depending on whether a human is meaningfully behind the contribution. When a contribution is AI-autonomous, or when the contributor is forwarding AI-produced content they have not reviewed, the accountability frame the project relies on (DCO, contributor responsibility, ability to engage in review) is weaker. Those are the cases where reviewers benefit from explicit signal, and where this policy requires disclosure.
    +
    +This framing is consistent with the broader policy: the contributor owns the contribution, AI tool use does not reduce responsibility, and "the AI wrote it" is not a defense. It is also consistent with [RedMonk's 2026 analysis](https://redmonk.com/kholterhoff/2026/02/26/generative-ai-policy-landscape-in-open-source/) of disclosure norms across open source organizations, which describes disclosure as a mechanism for surfacing accountability concerns rather than as a tracking mechanism for tool use.
    +
    +### Pull Request Disclosure
    +
    +Pull request templates should include at minimum:
    +
    +1. An attestation that the contributor has read and understood the project's contribution guidelines (`CONTRIBUTING.md`).
    +2. An attestation that the contributor has reviewed the contribution and can explain its design and tradeoffs. If any AI-produced content in the contribution has not been meaningfully reviewed by the contributor, the PR description should say so and identify which parts, so reviewers can adjust their review accordingly.
    +
    +The detailed expectations around AI usage should live in `CONTRIBUTING.md`. The PR template captures the attestation; `CONTRIBUTING.md` holds the substance.
    +
    +### Commit Trailers
    +
    +For machine-parseable provenance tracking, two conventions exist in the ecosystem:
    +
    +- `Generated-by: <tool>` — Recommended by the [Apache Software Foundation](https://www.apache.org/legal/generative-tooling.html). This is a provenance marker indicating which tool was used. It does not imply authorship.
    +- `Co-authored-by: <tool>` — Widely used in practice and rendered by GitHub's UI. However, this implies co-authorship, which raises unresolved questions about whether AI development tools can hold authorship or copyright.
    +
    +There is no industry standard for AI commit attribution. Current behavior varies across tools: Claude Code and Aider both default to `Co-authored-by:` trailers; GitHub Copilot's coding agent co-authors commits with the developer who assigned the task; other tools (Cursor, Windsurf, OpenAI Codex) either add no attribution by default or do not document their behavior. No major AI coding agent currently defaults to `Generated-by:`.
    +
    +AI provenance trailers are recommended but not required at the policy level. Individual TIs may require them through their own contribution conventions. AI provenance trailers are additive — they do not replace or conflict with DCO `Signed-off-by:` trailers. Projects using [DCO Bot](https://probot.github.io/apps/dco/) or similar enforcement tools for `Signed-off-by:` are fully compatible with AI provenance trailers.
    +
    +## Contributor Responsibility for AI-Assisted Work
    +
    +Contributors are fully responsible for AI-assisted contributions. They must understand, test, and be able to explain every change they submit. AI assistance does not reduce contributor responsibility. TIs should document these expectations in their `CONTRIBUTING.md`.
    +
    +### Rationale
    +
    +AI has lowered the cost of producing contributions but not the cost of reviewing them. Maintainers report that low-quality AI-generated submissions create significant triage burden. Holding contributors to the same standards regardless of tooling ensures review effort is respected and code, issue, and comment quality is maintained.
    +
    +### Requirements
    +
    +All contributors must:
    +
    +- **Understand and be able to explain** every meaningful change
    +- Run tests and verification appropriate for the change
    +- Keep PRs appropriately scoped; avoid large automated PRs unless coordinated with maintainers
    +- Write commit messages that explain what the change does and why. AI-drafted commit messages are acceptable when the contributor has reviewed them and can stand by what they say, the same standard that applies to any AI-assisted content
    +- **Do not use AI to respond to review comments** — reviewers expect to engage with the human author ([Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/))
    +
    +### Legal Obligations
    +
    +Contributors using AI development tools must ensure:
    +
    +1. **Tool terms compatibility**: The AI development tool's terms of service do not conflict with the project's open source license or the [Open Source Definition](https://opensource.org/osd). Most major tools grant users rights to generated output, but this varies by plan and terms of service. Contributors should verify.
    +
    +2. **No third-party copyrighted material**: AI-generated output does not contain copyrighted third-party code, or if it does, that code is compatible with the project's license. When pre-existing copyrighted materials are included in AI-generated output, contributors should confirm they have permission to use and modify those materials (such as an open source license or public domain declaration that complies with the project's licensing policies), provide notice and attribution of third-party rights, and include information about the applicable license terms with their contribution. Contributors should review AI output for copied or closely adapted snippets and use code scanning tools where available. Note: as the [Linux Foundation's Generative AI Policy](https://www.linuxfoundation.org/legal/generative-ai) acknowledges, reliably identifying third-party materials in AI-generated output remains a practical challenge with current tools.
    +
    +3. **Reasonable assurance**: Contributors have taken reasonable steps to verify the above, whether by reviewing tool terms, scanning output, or manually reviewing generated code. These conditions ask for diligence and attestation, not proof. The framing is analogous to DCO, but the AI legal landscape (copyright in generated output, training-data provenance, derivative-work questions) is unsettled and lacks DCO's accumulated precedent and tested practice. Contributors and TIs should treat the analogy as a working framework rather than a settled equivalence.
    +
    +### Recommendations
    +
    +Examples of reasonable AI development tool uses include, but are not limited to: explaining existing code, generating boilerplate, improving grammar for non-native English speakers, brainstorming design alternatives, and scaffolding tests.
    +
    +When existing code is used as the basis for a change (whether transformed by hand or via AI tooling), contributors should note the source in the PR description. This is a source-attribution and licensing concern and is independent of whether the contribution otherwise requires disclosure under the rules above.
    +
    +## AI-Autonomous Contributions
    +
    +All contributions to OpenSSF repositories must have a responsible human who directed the work and can explain and defend it. Fully autonomous AI contributions — where an agent acts independently without meaningful human oversight of the specific output — are not accepted by default.
    +
    +### Rationale
    +
    +Autonomous AI agents can produce high volumes of contributions without the human accountability that open source collaboration depends on. This creates disproportionate review burden, degrades signal-to-noise in issue trackers, and undermines the authentic human engagement that sustains open source communities. No step in the contribution workflow should happen without a human in the loop.
    +
    +### Details
    +
    +The following autonomous agent behaviors are not acceptable:
    +
    +- **Automated PR submission**: Agents opening pull requests without a human reviewing and approving the specific changes before submission
    +- **Automated issue filing**: Agents filing bug reports or feature requests without a human verifying the issue reflects a genuine, real-world use case
    +- **Issue claiming**: Agents claiming issues (especially "good first issue" labels) without a human intending to personally follow through on the work
    +- **Automated review comments**: Agents posting unsolicited code review feedback on others' pull requests
    +- **Automated discussion responses**: Agents responding in issue or discussion threads without human oversight of the specific response
    +
    +A human using an AI development tool to *draft* any of the above — and then reviewing, editing, and submitting the output themselves — is an **AI-assisted** contribution, not an AI-autonomous one, and is acceptable under this policy.
    +
    +### Exceptions
    +
    +**GitHub Apps and bots authorized through OpenSSF governance processes prior to the effective date of this policy** (e.g., Dependabot, Scorecard, CI bots) are not subject to this policy. They predate it and are governed by their own approval processes. Bots authorized on or after that date are subject to this policy and must satisfy its requirements through whatever autonomous-behavior pathway the policy provides.
    +
    +Individual TIs may permit specific autonomous agent behaviors in their repositories by documenting them in `AGENTS.md`. To be valid, a permitted behavior must:
    +
    +- Be scoped to specific actions, not open-ended autonomy. For example, "post a structured CI summary on PRs" is in scope; "act on PRs" is not.
    +- Have a named maintainer team (ideally, more than one person) accountable for the agent's outputs and for revoking access if the behavior becomes harmful
    +- Identify the agent's account or bot username so reviewers can recognize it in the contribution stream.
    +- Be revocable by any maintainer if the behavior produces low-quality, off-target, or harmful output.
    +
    +Permitted autonomous behaviors do not waive DCO, contributor responsibility, or the maintainer's authority to close or revert outputs. A TI may not use this mechanism to permit categories of autonomous activity that this policy explicitly prohibits in the [Details](#details) section above.
    +
    +## Maintainer Review of AI-Assisted Contributions
    +
    +Maintainers should review AI-assisted contributions on technical merit and project standards. They may close contributions that are not reviewable or that impose disproportionate review cost.
    +
    +### Rationale
    +
    +Maintainer time is the scarcest resource in open source. AI development tools have increased the volume of contributions without increasing review capacity. Maintainers need clear authority and consistent practices for handling AI-assisted and AI-autonomous submissions efficiently.
    +
    +### Reviewing Pull Requests
    +
    +Suggested maintainer checklist:
    +
    +- Does the PR have a clear "what/why"?
    +- Is it appropriately scoped?
    +- Do tests/verification cover the change?
    +- Can the author explain the design and tradeoffs?
    +- Has the contributor disclosed AI usage as required?
    +- Any license/provenance red flags? (Review AI output for copied snippets, unusual style, or comments referencing other projects)
    +
    +When a PR does not meet project standards, maintainers should first engage with the contributor — ask clarifying questions, request changes, and give the contributor a chance to demonstrate understanding. If the contributor is unwilling or unable to adhere to the project's contribution standards, maintainers may close the PR with a respectful rationale (per [Kubernetes norms](https://www.k8s.dev/docs/guide/pull-requests/)). The close message should reference this policy and offer the contributor the opportunity to reopen the PR if they are willing to meet the project's expectations.
    +
    +For obvious spam or fully autonomous submissions with no human behind them, immediate closure is appropriate as a defensive measure.
    +
    +### Handling AI-Generated Issues and Comments
    +
    +Maintainers may:
    +
    +- Close AI-generated issues that lack genuine use cases or real-world context
    +- Remove or flag AI-generated review comments that are unsolicited or misleading
    +- Reclaim issues that were claimed by automated agents without follow-through
    +
    +When closing or removing AI-generated content, use a respectful, consistent rationale that references this policy.
    +
    +### Proactive Recommendations
    +
    +- Apply the project's existing commit conventions to AI-assisted contributions the same way as any other contribution. Projects without commit conventions may consider adopting basic standards (e.g., conventional commits, "what/why" format, squash-on-merge policy).
    +- **Reduce the attack surface for low-quality AI contributions proactively:**
    +  - Keep `CONTRIBUTING.md`, `README.md`, and issue templates current — outdated or vague guidance increases the likelihood that AI agents produce off-target submissions.
    +  - Minimize unnecessary dependency sprawl — each dependency is an additional surface for automated "bump" or "fix" PRs.
    +  - Use clear, specific "good first issue" labels and remove stale ones — AI agents often target these labels for automated issue claiming.
    +
    +## AGENTS.md in OpenSSF Repositories
    +
    +OpenSSF repositories should include an `AGENTS.md` file to set expectations for AI agent behavior.
    +
    +### Rationale
    +
    +`AGENTS.md` is a tool-agnostic standard for providing instructions to AI coding agents interacting with a repository, stewarded by the [Agentic AI Foundation (AAIF)](https://aaif.io/). Adopting `AGENTS.md` serves as a mitigation tool — it sets explicit expectations for how AI agents should behave in a repo, reducing low-quality automated contributions.
    +
    +### Details
    +
    +OpenSSF repos should follow the [AGENTS.md specification](https://agents.md/) for file naming and placement:
    +
    +- Place an `AGENTS.md` file at the repository root, consistent with other community health files (`README.md`, `CONTRIBUTING.md`, `SECURITY.md`).
    +- For monorepos, nested `AGENTS.md` files may be placed in subpackages — the closest `AGENTS.md` to the edited file takes precedence.
    +
    +`AGENTS.md` files in OpenSSF repositories must follow these guidelines:
    +
    +- **Tool-agnostic content only.** Do not reference specific vendors or products. The file should work with any AI coding agent.
    +- **No confidential information.** Do not include non-public architecture details, infrastructure references, or information that is not already public in the repo.
    +- **Project-specific instructions.** Focus on contribution standards, testing requirements, coding conventions, and review expectations specific to the project.
    +- **Keep it maintained.** An outdated `AGENTS.md` is worse than none — it will produce contributions that don't match current project expectations. Treat it as a living document alongside `CONTRIBUTING.md`.
    +- **Maintainer-controlled.** `AGENTS.md` and other agent configuration files are maintained by project maintainers. Pull requests from external contributors that modify agent configuration files require explicit maintainer review and approval. This prevents tool-specific config sprawl and keeps agent instructions consistent with the project's contribution standards, while still allowing good-faith fixes (typos, broken links, outdated commands) to be reviewed on their merits.
    +
    +For security-specific agent instructions, TIs should reference the [Security-Focused Guide for AI Code Assistant Instructions](https://best.openssf.org/Security-Focused-Guide-for-AI-Code-Assistant-Instructions) published by the OpenSSF Best Practices Working Group.
    +
    +## Security Considerations
    +
    +As a security-focused foundation, the OpenSSF must be particularly attentive to the security implications of AI-generated contributions. This section highlights risks and review practices specific to AI-assisted work in security-critical open source projects.
    +
    +### AI-Generated Code Security Risks
    +
    +AI development tools can introduce security vulnerabilities through several mechanisms:
    +
    +- **Insecure code patterns**: AI models may generate code with injection flaws, insecure defaults, improper input validation, or other [OWASP Top 10](https://owasp.org/www-project-top-ten/) vulnerabilities.
    +- **Outdated security practices**: AI-generated code may use deprecated cryptographic algorithms, insecure random number generation, or other patterns that were acceptable when the training data was produced but are no longer considered safe.
    +- **Dependency risks**: AI tools may suggest unmaintained, compromised, or non-existent packages (dependency confusion / hallucinated packages), introducing supply chain risk.
    +- **Sensitive data exposure**: Contributors must not include secrets, credentials, or sensitive data in AI tool prompts, as this data may be logged, stored, or used for model training depending on the tool's terms of service.
    +
    +### Security Review of AI-Assisted Contributions
    +
    +Maintainers of OpenSSF TIs should apply heightened scrutiny to AI-assisted contributions that touch security-sensitive areas, including:
    +
    +- Cryptographic implementations or configurations
    +- Authentication and authorization logic
    +- Input validation and sanitization
    +- Supply chain tooling (build systems, dependency resolution, artifact signing)
    +- Security policy files (`SECURITY.md`, vulnerability disclosure processes)
    +
    +For security-critical changes, maintainers should verify that AI-generated tests are not merely testing the AI-generated implementation against itself. Domain expert review is strongly recommended for any AI-assisted changes to security-critical logic.
    +
    +### Relevant OpenSSF Resources
    +
    +- [AI/ML Security Working Group](https://github.com/ossf/ai-ml-security) — Addresses security challenges unique to AI/ML in open source
    +- [Security-Focused Guide for AI Code Assistant Instructions](https://best.openssf.org/Security-Focused-Guide-for-AI-Code-Assistant-Instructions) — Best practices for configuring AI coding agents with security in mind
    +- [SAFE Framework](https://github.com/SAFE-MCP/safe-mcp) — Security framework for AI agent interactions (OpenSSF Sandbox project)
    +
    +## TI-Level Exceptions
    +
    +This policy establishes a permissive default for OpenSSF Technical Initiatives. Individual TIs may adopt stricter rules — up to and including a prohibition on AI-assisted contributions — if justified by the TI's risk profile.
    +
    +### Dimensions
    +
    +"Stricter" rules are rules that raise requirements along one or more of the following dimensions, without weakening any other dimension below this policy's defaults:
    +
    +- **Disclosure**: requiring disclosure of AI tool use beyond the cases this policy requires.
    +- **Autonomous contributions**: prohibiting categories of autonomous activity, or applying tighter constraints to autonomous behaviors that would otherwise be permitted.
    +- **Review process**: requiring additional review steps for AI-assisted contributions (e.g., two-maintainer approval, mandatory domain-expert sign-off for security-critical changes).
    +- **Provenance**: requiring `Generated-by:` or other provenance trailers that this policy treats as optional.
    +- **Scope of AI use**: prohibiting AI tool use in specific code areas (e.g., cryptography, authentication) or in the project as a whole.
    +- **Verification**: requiring specific verification practices for AI-assisted output (e.g., mandatory code scanning for copied snippets, mandatory end-to-end test runs).
    +
    +Rules that weaken any dimension below this policy's defaults (for example, waiving DCO sign-off for AI-assisted commits, or accepting autonomous contributions this policy prohibits) are not "stricter" rules and may not be adopted at the TI level.
    +
    +### Criteria
    +
    +Criteria that may justify stricter rules:
    +
    +- **Security-critical code**: Cryptography, authentication, access control, or code that directly handles secrets
    +- **Infrastructure code**: Code that runs in production environments where bugs have outsized impact
    +- **Regulatory or compliance requirements**: Projects subject to specific regulatory obligations
    +- **Maintainer capacity constraints**: Projects where the maintainer team has explicitly documented that AI-assisted contribution volume exceeds review capacity
    +
    +### Process

    What's the rationale for requiring that each TI reach out to have their own policy?

    Concretely, Sigstore and SLSA have planned their own policies. While they don't diverge from this policy, I would prefer to be able to maintain our own copy that highlights project-specific examples without overhead of having to get TAC approval.

    justaugustus justaugustus commented on Apr 29, 2026 22:01 UTC
    Author

    Thanks @gkunz, @Hayden-IO, and everyone else for the positive feedback and constructive discussions. Keep it coming!

    ---

    Hayden, on your feedback specifically...

    We've been working on AI usage policies for Sigstore and SLSA, and at a glance, I'm happy to see these largely overlap.

    Would you mind sharing links to any AI policy discussions, issues, PRs for the respective projects?
    Would love to take a look at the feedback you're getting.

    This is a very detailed policy, and I'd worry that contributors will not take the time to read all of it. Could we have a more concise policy that describes the absolute requirements, and a secondary document that goes into more depth?

    This is very much in-line with my feedback in https://github.com/ossf/tac/pull/605/changes#r3160032293:

    [...], but I wonder if operational guidance belongs in a different document? What do you think?

    I think we're starting to cross the boundary between policies, standards, guidelines, and procedures.

    While I don't think we immediately need to nail a concrete taxonomy, my maintainer wishlist (xref: https://github.com/ossf/tac/pull/605#discussion_r3163988329) would include:

  • this policy

  • supplemental guidance, that includes:

  • - snippets that I can include in my project's CONTRIBUTING.md (or equivalent), issue/pull request templates, AGENTS.md that align with the policy
    - escalation path for project-level enforcement of the policy, including tactics/suggestions for conversing with contributors who may not be aware of the policy or are failing to adhere to it
    - tooling recommendations to incorporate into existing workflows with policy adherence <— I don't have these today; open to recommendations

    I also assume that this is meant to be consumed by humans.

    Humans are absolutely the first audience, but I see no reason why this couldn't eventually be crafted as or be consumed by an agent skill.

    steiza steiza commented on May 11, 2026 20:38 UTC
    Reviewer

    Whew, there's a lot here! This doc has a hybrid of describing best practices, a few requirements for TIs (which I think of as capital-P Process), and a framework for thinking about things with high-level recommendations for TIs to figure out implementation in the context of their system (which I think of as capital-P Policy, in the GRC sense). I don't think we need to split those different parts out of this doc for this version, but it's something to keep in mind as we iterate on this content.

    Otherwise I left a few questions and a minor reword suggestion. Thank you @justaugustus for taking the lead on this!

    mihaimaruseac mihaimaruseac approved these changes on May 18, 2026 14:36 UTC
    Approved Reviewer

    Thank you so much for writing this!

    marcelamelara marcelamelara requested changes on May 25, 2026 22:54 UTC
    Changes Requested Reviewer

    @justaugustus thank you! I've got a couple of small changes I'd like to see before this is merged, but otherwise I think this policy is a greta first draft!

    torgo torgo commented on May 27, 2026 14:05 UTC
    Contributor

    I really like this document. It mirrors work that is happening in various open tech communities around the web - a lot of which has been referenced. Another example that I've been involved with is the "Use of Large Language Models in Standards Work" group note from the W3C Advisory Board. My overall concern with the document is that it's quire long.

    I would like to make some suggestions about making this document a bit more accessible and understandable to readers who may be coming to it fresh. This will help people understand what requirements it puts on them, as well as helping it influence the larger discussion going on in the industry.

    In many places in the document, it uses language that sounds like a requirement, e.g. "_OpenSSF repositories should include an AGENTS.md file to set expectations for AI agent behavior._" I think it should be made very clear which things are requirements, which are recommendations, and to whom those requirements / recommendations applies. This could be done using formatting. This will make it easier to skim the document and understand what the policy statements are and whether they apply to the reader or not.

    Does that make sense? If so, I'm happy to leave some specific PRs.

    justaugustus justaugustus commented on May 29, 2026 20:06 UTC
    Author

    Thanks everyone for the comments here!

    I plan to give this another pass next week to incorporate feedback, including making the policy a bit more concise (I'll likely trim/remove the exceptions section) and take @torgo up on the editing offer once I've done my next pass.

    justaugustus justaugustus commented on Jun 09, 2026 15:24 UTC
    Author

    I plan to give this another pass next week to incorporate feedback

    My next review pass is still pending due to a few commitments, but I have shared this draft with @mkdolan and @swinslow to do an official LF Legal review :)

    justaugustus justaugustus commented on Jul 31, 2026 17:11 UTC
    Author

    > I plan to give this another pass next week to incorporate feedback

    > My next review pass is still pending due to a few commitments, but I have shared this draft with @mkdolan and @swinslow to do an official LF Legal review :)

    Pinged Steve and Mike this week to remind about this review.

    justaugustus justaugustus commented on Aug 04, 2026 22:09 UTC
    Author

    [...] but I have shared this draft with @mkdolan and @swinslow to do an official LF Legal review :)

    I have initial feedback from @swinslow and we'll be meeting tomorrow to dig in!

    Santoshkumarpuppala Santoshkumarpuppala commented on Aug 09, 2026 11:29 UTC
    Contributor

    I run an AI-assisted pipeline for open-source vulnerability research, and everything it finds goes out through coordinated disclosure. From that angle there is one failure mode I would suggest naming explicitly, and I think it is the "related but separate" case @marcelamelara raised above.

    The prohibited-behaviors list frames automated PR submission as a quality and accountability problem: review burden, signal-to-noise, human-in-the-loop. For security fixes there is a sharper and separate harm. An agent that finds a vulnerability and opens a public PR to fix it has disclosed the vulnerability in the act of fixing it. The diff, the commit message, and any linked issue describe the flaw and point at its exact location before a fixed release exists. That is a premature-disclosure event regardless of how good the fix is, and regardless of whether a human reviewed the code.

    So the control that matters here is not "was there a human in the loop" but "did this route through the project's security policy instead of a normal PR." Those are different gates. A human-guided, well-reviewed, DCO-signed PR still causes the harm if the change is security-relevant and the underlying issue was not already public.

    Concretely, I would suggest the policy state that AI-generated changes which fix a security-relevant defect should follow the TI's coordinated-disclosure process (SECURITY.md / private advisory) rather than being opened as a public pull request, and that maintainers may close such a PR and redirect it to the security channel. This belongs under Security Considerations rather than the general autonomous-contributions section, because it applies even when the contribution is fully compliant with everything else in the policy.

    Happy to draft that paragraph if it is useful.

    justaugustus justaugustus commented on Aug 26, 2026 21:35 UTC
    Author

    Quick updates here...

    I have a list of recommendations to work through and will also be splitting this into two documents:

  • the policy itself (short and to-the-point)

  • FAQ / explainer with rationales, considerations, etc.
  • As this was one of the most consistent requests, we'll be recommending the following for attribution for AI assistance:

    Assisted-by: <agent>:<model_version> [tool1] [tool2]

    in line with the Linux kernel guidance.

    chrisxie-fw chrisxie-fw commented on Aug 27, 2026 17:57 UTC
    Contributor

    Following up on the invitation in #628 — a suggestion for the Commit Trailers section of policies/ai.md.

    The section covers the declaration layer well. Worth considering one short addition acknowledging the verifiable layer above trailers, so the policy has a place for it as tooling matures. Trailers are self-attested — nothing prevents them being wrong, absent, or lost in a rebase/squash. For TIs that want provenance they can check rather than trust, a signed attestation can carry the same identifier plus its context, cross-checkable against the trailer. Suggested text, to append at the end of the Commit Trailers section:

    Verifiable provenance. Commit trailers are self-attested declarations. Where tooling supports it, TIs may additionally record AI provenance as a signed attestation (e.g. an in-toto predicate) that binds the same AGENT_NAME:MODEL_VERSION identifier — along with context such as the model, prompt fingerprint, checks executed, and human approvals — to the artifact digests. An attestation complements rather than replaces the trailer: the trailer is the human-readable declaration, the attestation the machine-verifiable evidence, and a mismatch between them is itself a useful review signal. This mirrors the existing pairing of DCO Signed-off-by: (declaration) with cryptographic commit signing (evidence). No standard predicate exists yet; draft work in this direction includes the vendor-neutral openfab/generation predicate (discussion: #628). Verifiable provenance is optional at the policy level and, like trailers, additive to DCO.

    A side-benefit for the marketing-risk concern the section notes: a verifiable attestation makes third-party "project X uses our tool" claims checkable — the attestation records exactly what was used and for which commits, no more.

    justaugustus justaugustus commented on Sep 09, 2026 19:20 UTC
    Author

    While this policy is in draft/hasn't been ratified, I'd appreciate if commenters/reviewers could respect the spirit of it, and not submit AI-generated comments here.

    funnelfiasco funnelfiasco commented on Nov 30, 2026 21:14 UTC
    Contributor

    It appears that the Linux kernel dropped the Assisted-by requirement. I am personally still in favor of keeping it here, but I will not put a lot of energy into advocating for it if the consensus is that we should follow suit.

    Reviewers
    Assignees
    justaugustus justaugustus
    Labels
    risk: low confidence: 89.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 49.5% (MEDIUM) · Higher = larger blast radius
    49.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 89.2% · Lower = rushed or shallow review
    89.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 5.4% · Safe to merge
    5.4%
    Repository