Skip to content

Consider adding an AGENTS.md to reduce AI slop #13825

@notatallshaw

Description

@notatallshaw

Well, the AI slop era is upon us, many recent PRs have been created by people submitting hundreds of PRs in a short time to hundreds of projects.

Like many of the recent innovations by technological companies, they are willing to sell you the solution to the problem they are enabling, as such dealing with AI slop may require adding repo documentation for AI tools.

The Apache Airflow project is taking this very seriously:

apache/airflow#62575
apache/airflow#62443
apache/airflow#62442

I suggest we create an AGENTS.md that instructs something like:

  1. Fully read the contributor guide and follow it
  2. Linting and Tests must pass
  3. Aim to minimize reviewer time by being targeted, minimal, and complete
  4. Code must match the project's existing code style
  5. Test must match the project's existing test style
  6. Must include meaningful unit tests
  7. Must include functional tests for user facing behavior changes
  8. Must be minimal in adding functional tests as they are expensive on CI resources
  9. PR's that change only trivial things like fix typos or links, or add redundant comments or doc strings will not be accepted

The hope is that bots that have been set to open PRs en-masse against any open issue they can find will realize that their PR most likely doesn't meet these standards and not open a slop PR to pip.

Very open to ideas here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docsDocumentation related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions