When Code Works but the License Doesn't: Evaluating License Constraint Handling in Coding Agents
Sundaraparipurnan Narayanan, Sandeep Vishwakarma
Key points
From the paper's conclusion- We argue that licensing in agentic development requires contextual constraint recognition and preservation across the software lifecycle, not merely license classification.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Prompts: Runtime Contracts for Coding AgentsarXiv · 2026
- What Open-Source Projects Tell Their Coding Agents: A Census of AGENTS.md and CLAUDE.mdarXiv · 2026
- AgentSWE: Can Coding Agents Build the Agent You Actually Want?arXiv · 2026
- Coding Agents Propagate Vulnerabilities in Code BasesarXiv · 2026
- Do They Do as They Are Told? Investigating Coding Agents' Adherence to Explicit Instructions in Context FilesarXiv · 2026
- Acquiring and Verifying Repository Norms for Coding AgentsarXiv · 2026