arXiv cs.AI· Sundaraparipurnan Narayanan, Sandeep Vishwakarma·· 10 小时前AI 评分39
代码能跑但许可证不行:评估编程智能体的许可证约束处理能力
When Code Works but the License Doesn't: Evaluating License Constraint Handling in Coding Agents
AI 导读
研究评估了多个编程智能体在开发专有软件时能否识别并遵守软件许可证约束,结果显示功能正确与许可证正确之间存在持续差距:智能体能成功构建和测试软件,却忽视来源、授权与分发方面的许可证限制。当许可证信息被转化为依赖替换、架构调整和发布门禁等工程动作时,智能体表现更好。研究认为智能体开发中的许可证处理需要贯穿软件生命周期的上下文约束识别与保持,而非仅做许可证分类。
正文 · 原文
Abstract:Coding agents increasingly undertake repository-level development, including dependency selection, source modification, and software deployment. However, existing evaluations prioritize functional success over licensing correctness and commercial suitability.
We investigate whether agents recognize and preserve software-license constraints when developing proprietary software. Experiments across multiple agents examine permissive and copyleft licenses, missing licensing information, transitive dependencies, source modification, dual licensing, vendoring, and distribution contexts. Agent traces, repository changes, and final artifacts are evaluated against licensing ground truth.
Results reveal a persistent gap between functional and licensing correctness. Agents can successfully build and test software while overlooking licensing constraints involving provenance, authorization, and distribution. Better outcomes emerge when licensing information translates into engineering actions such as dependency substitution, architectural changes, and release gating. We argue that licensing in agentic development requires contextual constraint recognition and preservation across the software lifecycle, not merely license classification.
| Comments: | Accepted at the NeurIPS 2026 VeriCode Workshop |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Emerging Technologies (cs.ET) |
| Cite as: | arXiv:2611.23299 [cs.SE] |
| (or arXiv:2611.23299v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2611.23299 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Sundaraparipurnan Narayanan [view email]
[v1]
Wed, 4 Nov 2026 10:34:30 UTC (22 KB)
来源:arXiv cs.AI · arxiv.org