Codeberg 禁 AI 代码引治理之争
推荐指数 42.0 NO. 013 · 2026.07.25
发布2026/07/24Score73Comments94
为什么值得看
开源托管平台 Codeberg 通过民主投票修改条款,禁止主要由生成式 AI 编写的项目入驻。作者指出民主决策不等于基础设施的可靠性,引发对开源平台治理模式的深层讨论。
编辑判断
这件事的微妙之处在于 Codeberg 的身份矛盾:它既是反商业垄断的 GitHub 替代品,又是由会员投票驱动的封闭俱乐部。对依赖 Codeberg 托管关键项目的团队来说,民主治理反而成了不确定性来源——今天可以禁 AI 代码,明天就可能禁特定许可证或政治立场的项目。
真正值得关注的信号是:AI 生成代码的"污染"争议已经从版权法层面蔓延到了开源社区的身份认同层面。如果你在用 AI 辅助写代码并计划开源,现在需要评估目标平台的条款兼容性,而不仅是许可证兼容性。GitHub 目前对 AI 代码没有明确限制,但 Copilot 的商业模式本身就让它立场暧昧。
社区反馈
负面 67 条评论
核心争论:开源平台应追求治理中立可预测,还是允许民主投票制定价值导向规则
It is a bad rule. Their community and their choice but I hope we get some fresh options in the open source universe.
I don’t even mind forges taking a stance on AI. That’s fine. But I agree with Armin Ronacher here: banning projects that “mostly consist of code written by generative AI tools” is like the infamous Supreme Court “I know it when I see it” line. Yes of course I know a project mostly written by generat
Exactly. > The line is open to interpretation precisely where it needs to be enforceable. It is way too arbitrary and open to interpretation and biases.