LibreOffice Tightens Policy on AI-Assisted Code Contributions, Requiring Approval and Disclosure for Large Language Model Use
English text is being prepared.
The TDF, the organization behind LibreOffice, has tightened its policy on AI-assisted code contributions. Contributors must obtain approval before using large language models, disclose the relevant tools when submitting contributions, and be able to explain how their patches work line by line. The new rules prohibit using large language models to write commit messages, code comments, bug reports, or developer communications, and also ban their use in certain parts of the codebase.
Why read this
AI score 65
The new rules make prior approval, disclosure of use, and line-by-line explanations requirements for contributions, illustrating how an open-source project is balancing development efficiency with accountability for code.
Topics
Body
TDF强调,LibreOffice本身在设计上并不包含任何AI功能。不过,该组织也承认,AI辅助编程已成为软件开发社区必须面对的现实,许多开源项目正在调整规则,以限制低质量、未经充分审查的“AI垃圾”代码进入代码库。
尽管如此,TDF并未全面禁止AI辅助开发。该基金会认为,只要最终贡献质量合格,即使开发过程中使用了AI,也应当被接受。它还指出,LibreOffice所依赖的许多第三方组件,甚至编译器本身,都已经在使用相关技术。
但TDF同时希望维护人工编写代码的价值,因此决定收紧对LLM使用的管理。根据新政策,贡献者在使用LLM协助开发前必须事先获得批准;提交代码时必须披露AI工具的使用情况;对于借助LLM完成的补丁,贡献者必须能够用自己的语言解释其中每一行被修改代码的原理和作用。
此外,新规明确禁止使用LLM撰写提交信息、代码注释、缺陷报告以及与其他开发者沟通的消息。部分代码库区域也被划为禁止使用LLM的范围,以进一步降低AI生成内容带来的风险。
这一变化与当前软件开发领域的整体趋势相呼应。此前,Linux创始人林纳斯·托瓦兹也曾对AI辅助编程表达过较为积极的态度,但前提是开发者遵守相应规则。随着AI工具在编程中的普及,如何在提高效率与保障代码质量、可维护性和责任归属之间取得平衡,正成为开源社区的重要议题。
接下来,外界将关注LibreOffice的代码审查者和维护者如何具体执行这些规定,以及他们将采取何种方式验证贡献者是否遵守了披露、审批和解释义务。
AI Trends