当代码能跑但许可证不合规:编码智能体许可证约束处理能力评测
When Code Works but the License Doesn't: Evaluating License Constraint Handling in Coding Agents
AI 导读
NeurIPS 2026 VeriCode Workshop 接收的一项研究评测了编码智能体在开发专有软件时能否识别并遵守软件许可证约束,涵盖宽松型与 copyleft 许可证、许可证信息缺失、传递依赖、双重许可和分发场景。
正文 · 原文
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