# A Gated Spec-Driven Workflow: An Audit-Trail Study of Coding-Agent Work

DevFeed: [A Gated Spec-Driven Workflow: An Audit-Trail Study of Coding-Agent Work](<https://devfeed.tech/articles/a-gated-spec-driven-workflow-an-audit-trail-study-of-coding-agent-work-116203.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05094>)

Author: Rodrigo Figueiredo Abdo, Pedro Carvalho Brom

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Spec Driven Development](<https://devfeed.tech/topics/spec-driven-development.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [agent orchestration](<https://devfeed.tech/topics/agent-orchestration.md>), [qualitygates](<https://devfeed.tech/topics/qualitygates.md>), [audit](<https://devfeed.tech/topics/audit.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [audit](<https://devfeed.tech/tags/audit.md>), [audit-trail](<https://devfeed.tech/tags/audit-trail.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [development](<https://devfeed.tech/tags/development.md>), [executor](<https://devfeed.tech/tags/executor.md>), [fortran](<https://devfeed.tech/tags/fortran.md>), [inventory](<https://devfeed.tech/tags/inventory.md>), [logs](<https://devfeed.tech/tags/logs.md>), [model](<https://devfeed.tech/tags/model.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [python](<https://devfeed.tech/tags/python.md>), [sdd](<https://devfeed.tech/tags/sdd.md>), [spec-driven](<https://devfeed.tech/tags/spec-driven.md>), [spec-driven-development](<https://devfeed.tech/tags/spec-driven-development.md>), [study](<https://devfeed.tech/tags/study.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

The workflow gates each stage on user approval, has a reviewer subagent check artefacts against fixed defect lists, limits an executor to task-listed files, and uses block-level inventory checks for undeclared changes. In logs from nine features across seven author-run projects, five features completed every planned task, and 288 of 581 tasks were completed block by block. The executor made one undeclared change in the deliverable folder, which the check caught, though its reports noted other protocol departures. The orchestrator was weaker: it recorded undeclared changes in 11 of 247 checks, mostly attributed to in-round author requests and the environment, and halted work in only four. The study notes that the orchestrator runs and judges its own checks.

## Source excerpt

arXiv:2611.05094v1 Announce Type: new 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.