Skip to content

Add AI policy - #18187

Merged
nicolo-ribaudo merged 2 commits into
babel:mainfrom
nicolo-ribaudo:ai-policy
Aug 16, 2026
Merged

nicolo-ribaudo merged 2 commits into
babel:mainfrom
nicolo-ribaudo:ai-policy

Conversation

@nicolo-ribaudo

Copy link
Copy Markdown
Member
Q 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

The increasing number of entirely LLM-generated PRs, with no human interaction, is making it less and less fun for me to work on Babel.

This policy is a first attempt at defining what is and is not ok. It is very permissinve, as I'm an LLM user myself: it does not take any stance on code generation, and instead it focuses solely on what is meant to be human communication. It allows tools like AI reviews, since those are always explicitly marked as such.

As I know that people that currently are just telling their LLM "please find a bug in a popular project and submit a PR to fix it" will completely ignore this policy, I am also trying to add some sort of honeypot so that these sort of tools will automatically disclose themselves. Whenever an LLM follows the AGENTS.md instructions to open a pull request, we should just close it without even reading the code, and ideally block that account.

@babel-bot

babel-bot commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/62017

@nicolo-ribaudo nicolo-ribaudo added the PR: Docs 馃摑 A type of pull request used for our changelog categories label Aug 15, 2026
@pkg-pr-new

pkg-pr-new Bot commented Aug 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

commit: 851b520

@JLHwung JLHwung left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you.

Comment thread AGENTS.md
Co-authored-by: Hu谩ng J霉nli脿ng <[email protected]>

@liuxingbaoyu liuxingbaoyu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nicolo-ribaudo
nicolo-ribaudo merged commit ae2b1ab into babel:main Aug 16, 2026
57 checks passed
@nicolo-ribaudo
nicolo-ribaudo deleted the ai-policy branch August 16, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Docs 馃摑 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants