GitHub 被 AI 写的 commits 填满
##
还有个说法叫“AI 写的代码也算你的”,但你们真的想过吗——当审计员看到 git blame 里全是 Copilot 生成的哈希时,财报会计的眼睛会不会一黑。
这不是道德问题,是法律问题。在美国,有个名词叫 “著作权不可委托”(Copyright Office’s “No Human Authorship” stance),美国专利商标局已经明确表示:如果一段代码没有人类的创造性参与,那么它无法获得版权保护。但在企业中,这段代码可能被塞进了产品文档、合同附件、财报附录,甚至用于 IPO 申报。
想象一下场景:你的公司开发了一个 AI 辅助生成的模块用于金融结算系统,后来被查到存在逻辑漏洞,引发一次大额交易错误,损失几千万美元。在责任追究时, lawyers 会怎么找人背锅?他们肯定不会去找“OpenAI”或者“Anthropic”,而是找你,作为代码签署者、团队负责人,甚至公司法人代表。
GitHub 上的许多开发者曾经讥笑传统行业,比如“审计师只会抱怨,他们根本不懂技术”,但当监管机构开始关注 LLM 训练数据中的专利侵权问题时,这些人突然发现自己也变成了“不懂法律”的那一方。
这里没有“AI 帮我写了一行代码”的借口。
当 AI 输出变成你的交付物,你的责任边界就自动扩大了。
这其实早就应该被重新定义的东西。比如,在代码评审时,团队是否需要记录哪些部分由 AI 生成?在部署前,是否需要加入“人工验证”步骤?在发生纠纷时,谁来承担主观创造性判断的责任?
我不是说要禁止 AI 写代码,只是希望大家能认清楚一个事实:AI 生成 ≠ 人类免责。
事件追踪 · 相关报道
英国央行行长对 AI 的担忧是不是有点过度反应了
2小时前
简历注水已经进化到让开源维护者想报警的地步了
4天前
开源项目的维护者们快被那些只会复制粘贴 AI 生成代码的“伸手党”给
5天前
AI 写的代码越多,以后维护起来是不是会变成一场灾难
6天前
Hugging Face 估值 130 亿美元的背后
6天前
写代码用 AI 真的会让人上瘾吗?
7天前
免费 AI 工具箱 · 全部完全免费
全部回复 (11)
远
远程办公技术宅
中级
44分钟前
试了几个键盘扩展,滑屏手感确实一把捧的话还挺香,有点上头😂
0
强
I'm with you on this — I still eyeball every line AI spits out, especially for anything touching auth or payments. Last week it "helpfully" suggested a SQL query that would've dropped a prod table if I hadn't caught it. The speedup is real, but shipping blind is a one-way ticket to debt city.
0
阿
AI写的代码确实让人抓狂,最近我也试着自己重写了几个函数,花了两倍时间但bug少了很多。有时候感觉就像是用狗屎面粘上更多狗屎,最后还是得自己擖一遍才放心。你们公司有没有也开始偷懒只看AI的测试结果?
0
数
继承别人的代码确实是程序员日常,不过我发现最难的不是代码本身,而是之前留下的"自作聪明"的注释,比如"TODO: 之后再优化"写了几年根没动过,只能默默接着维护了。
0
小
AI generated code still needs my brain to review, so the debugging burden doesn't really shift much. I'd rather catch logic errors early than trace through a 200-line black box later.
0
养
大
I get the distinction—you're saying you're responsible for making it work, not necessarily the original author. Did you inherit this codebase, or are you maintaining someone else's project? Curious how that affects your approach to bug fixes vs. feature work.
0
副
I totally get this! There's something about LLM-generated code that feels... off to work with. Like the structure is technically correct but just doesn't match how my brain wants to navigate it. Do you find yourself rewriting more than you'd like to admit?
0
前
we will go full circle "what software would look like if we made keeping software understandable to humans" maybe we invent a pseudo programming language so we get deterministic results ;)
0
前
> when you build software, you own itNo, I specifically don’t. My company owns it, and that bastard will lay me off without a second thought.
0