Linux kernel drops mandatory Assisted-by AI disclosure tag
Linux kernel maintainers reached consensus at the Maintainers Summit to deprecate the Assisted-by tag that required contributors to disclose AI tool use in commit messages. A revision submitted by kernel developer Sasha Levin was accepted by documentation maintainer Jonathan Corbet on October 14 and still needs to be merged into the mainline. Levin said only about 10% of 18,533 non-merge commits through Linux 7.3-rc7 carried the tag, arguing it no longer served its purpose; Linus Torvalds called such mandatory disclosure rules "UTTERLY STUPID," while developer Laurent Pinchart objected to removing the tag without another disclosure mechanism.
Linux核心準備取消AI輔助開發的標註要求,核心開發者Sasha Levin於10月13日提交修訂版,移除開發者使用AI協助撰寫程式碼時,必須在提交紀錄加入Assisted-by標註的規定。文件維護者Jonathan Corbet已於14日接受修改,後續仍須整合至Linux主線。Linux核心發起人Linus Torvalds也在討論中反對限制AI工具使用,認為重點在於開發者是否理解自己提交的程式碼。
過去開發者使用大型語言模型協助製作Linux核心修補程式時,必須在提交紀錄加入Assisted-by: LLM標註,讓負責審查程式碼的維護者辨識是否使用AI。7月曾有開發者提議取消標註,但當時維護者認為有保留必要。直到10月的核心維護者高峰會,多數與會者才轉而支持移除規定,但仍有不同意見。
Sasha Levin指出,Linux 7.3截至第7個候選版的18,533筆非合併提交紀錄中,只有約10%附有Assisted-by標註。他認為實際使用AI的情況更普遍,部分開發者不知道規定,也有人刻意省略,而維護者很少追問。由於沒有標註不代表未使用AI,該規定已難以達到原本協助辨識的目的。
修改提案將刪除開發文件及程式碼檢查工具中對Assisted-by標註的要求,但既有的工具生成內容揭露指引仍然適用。原有指引要求提交者交代內容來源,並建議說明使用哪些工具、修改哪些部分,以及如何測試,開發者也必須親自檢查程式碼、確認授權符合規定,並在提交紀錄加入Signed-off-by署名,對修改內容負責,AI代理不得代為署名。
在討論過程中,開發者Laurent Pinchart主張提交說明應由人類撰寫,藉此確認開發者確實理解並參與修改內容。Linus Torvalds則反駁,若要以使用工具與否判斷開發者的能力,甚至可以禁止使用編譯器,要求開發者直接撰寫組合語言,他直言,這類限制工具使用的規定愚蠢至極(UTTERLY STUPID),強調開發者應理解自己的工作,而非以使用何種工具判斷其能力。
#Linux kernel#Linus Torvalds#Sasha Levin#Jonathan Corbet#Laurent Pinchart#Jeff Layton#Greg Kroah-Hartman#Nvidia