在为 Linux 内核做贡献时使用 AI 辅助
阅读原文· github.comLinux 内核官方文档新增 coding-assistants.rst,明确贡献者使用 AI 辅助工具时的披露义务与代码审查标准,要求声明 AI 生成内容并确保符合内核编码规范,为开源大型项目整合 LLM 提供首个官方指引框架。
AI Coding Assistants
This document provides guidance for AI tools and developers using AI assistance when contributing to the Linux kernel.
AI tools helping with Linux kernel development should follow the standard kernel development process:
Documentation/process/development-process.rst
Documentation/process/coding-style.rst
Documentation/process/submitting-patches.rst
Licensing and Legal Requirements
All contributions must comply with the kernel's licensing requirements:
All code must be compatible with GPL-2.0-only
Use appropriate SPDX license identifiers
See Documentation/process/license-rules.rst for details
Signed-off-by and Developer Certificate of Origin