Skip to content

Add project-wide AI policy for AI-generated / AI-assistent content #5462

@asl

Description

@asl

This really should be org-wide issue, but there is no way to create this, so opening in p4c repo.

Different OSS projects adopted different policies for AI-related code ranging from being very open and permissive down to prohibitive. Notable example here is QEMU that specifies that use of AI-assisted code generators is not compatible with DCO (that P4C also adopts): https://github.com/qemu/qemu/blob/master/docs/devel/code-provenance.rst#use-of-ai-generated-content

Overall, there should be some kind of policy that governs the use of AI (LLM) assistants for the code submitted to P4lang sub-organization. These policies could be even different for different subprojects (tagging @p4lang/p4lang-p4runtime-maintainers for visibility).

Some example policies / discussions that could be reused:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions