A Gated Spec-Driven Workflow: An Audit-Trail Study of Coding-Agent Work
Rodrigo Figueiredo Abdo, Pedro Carvalho Brom
Key points
From the paper's conclusion- We study one such workflow for Claude Code, in which almost every control is an instruction carried out by the same model that it constrains.
Abstract
Spec-driven development (SDD) asks a coding agent to work from specifications, plans, and task lists rather than from the chat transcript. We study one such workflow for Claude Code, in which almost every control is an instruction carried out by the same model that it constrains. The user must approve each stage before the next begins. A reviewer subagent checks each artefact against a fixed, stage-specific defect list, and an executor subagent may only touch the files listed in its task. After each block of tasks, the orchestrator runs a file-inventory check to detect undeclared changes. We analyse the logs and transcripts of nine features in seven projects, all run by the authors, ranging from a Fortran solver and Python programs to books and this paper. Of these, five finished with every planned task done, including the Fortran solver feature, and 288 of the 581 planned tasks were completed block by block. The executor kept to its declared files: it left only one undeclared change in the deliverable folder, and the check caught it, although its reports record other departures from the protocol. The weak point was the orchestrator, which runs and judges its own checks. It recorded undeclared changes in 11 of 247 block checks, mostly from the authors' in-round requests and the environment, and stopped work in only four.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Lessons Outlive Their Failures: A Case Study of Rules for AI Coding AgentsarXiv · 2026
- Loop Engineering: Version-Bound, Evidence-Gated Coordination for Production Coding AgentsarXiv · 2026
- AgentSWE: Can Coding Agents Build the Agent You Actually Want?arXiv · 2026
- Implementing the Spec Growth Engine: Preventing Spec-Code Divergence, and Growing the Spec with AgentsarXiv · 2026
- Built on Broken Assumptions (BOBA): Why Coding Agents Cannot Be Left AlonearXiv · 2026
- sudo L7: Can Coding Agents Act Like Staff Engineers?arXiv · 2026