Is This Code Mine? Student Ownership When AI Agents Write the Spec and the Code
Gustavo Pinto, Enne Rebeca Silva de Freitas, Danilo Monteiro Ribeiro
Key points
From the paper's conclusion- We studied an assignment in which 18 pairs of students built applications with agents under Spec-Driven Development, combining the mined history of their repositories, the prompts they recorded, and a survey of 33 students.
Abstract
Software engineering courses are starting to ask students to build entire systems with AI coding agents, but little is known about what students actually do with them and whether they still own what they deliver. If the agent writes both the code and the decisions behind it, the artifacts we grade no longer show what students learned. We studied an assignment in which 18 pairs of students built applications with agents under Spec-Driven Development, combining the mined history of their repositories, the prompts they recorded, and a survey of 33 students. The agents wrote 69\% of the specifications meant to keep students in control, sometimes from a prompt of a few words. Students locate their ownership in the ideas, crediting themselves with half of them but a fifth of the code, yet most could not explain that code to a colleague or modify it without the agent, and what they report having written is unrelated to what their own commits declare. The three teams that met the 100,000-line target did so with generated code the application never uses, in one case proposed by the agent itself, and one team rewrote its history to backdate its specifications. Teaching with agents should therefore assess what students specify, review, and can explain, rather than what they ship, and enforce the engineering process with tools rather than trusting it to students or agents.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Teaching Novice Computing and Programming in the Agentic AI EraCommunications of the ACM · 2026
- What Open-Source Projects Tell Their Coding Agents: A Census of AGENTS.md and CLAUDE.mdarXiv · 2026
- AI Cannot Review What Humans Catch: A First Look at the Reviews of Agent Instruction FilesarXiv · 2026
- AgentSWE: Can Coding Agents Build the Agent You Actually Want?arXiv · 2026
- Mind the Intent Gap: A Methodology for Collaborative Agent-Driven Software EngineeringarXiv · 2026
- Do They Do as They Are Told? Investigating Coding Agents' Adherence to Explicit Instructions in Context FilesarXiv · 2026