NewsCrawler.org

Btrfs Proposes AI Agent Guidelines to Curb Low-Value Patches

Btrfs Proposes AI Agent Guidelines to Curb Low-Value Patches
Image: Reddit

Btrfs[1] developer Qu Wenruo of SUSE posted a patch[2] to the Linux kernel mailing list that adds an AGENTS Markdown file to the fs/btrfs directory. The file gives rules for newcomers and AI/LLM[3] agents, mainly on code comments, which the source says are often too verbose and superfluous in AI-generated code and patch messages. It also covers cover letters[4], visual aids and charts, patch versioning, and testing.

In the patch message, Qu Wenruo writes that btrfs is not the most affected subsystem, but that "newbies without common senses" are doing more harm than help. He cites wasting human review time on very low-value fixes filled with long paragraphs and useless test steps and results. He says it would be better to have agents follow common practices, and he hopes newcomers can build common sense.

He also wants the file to be clear and short enough to be read by both LLMs and humans who want to become long-term contributors. The documentation is now out for review on the kernel mailing list.

Read the original phoronix.comDiscussion

Discussion

One commenter shared a link to the patch on the kernel mailing list. Opinions are mixed: one calls the change balanced and reasonable, another calls it unremarkable, and a third says Phoronix should be banned from the subreddit.

Sources

Published: First seen: Читать по-русски

Open as a page