arXiv(opens in a new tab)cs.SEAug 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2609.00252

Spec-Driven Development for Agentic Software Engineering: Harnessing Human-Agent Teamwork

Jessica Diaz, Joaquin Gayoso, Andrea Cimminio, Jorge Perez

JESSICA DÍAZ, Universidad Politécnica de Madrid, Spain

JOAQUÍN GAYOSO, Universidad Politécnica de Madrid, Spain

ANDREA CIMMINIO, Universidad Politécnica de Madrid, Spain

JORGE PÉREZ, Universidad Politécnica de Madrid, Spain

Context: Software engineering is moving from AI-assisted practices like vibe coding, in which assistants accelerate the work of individual developers, towards Agentic Software Engineering (ASE) in which autonomous agents are delegated goal-level tasks. However, from the industrial domain a productivity paradox has been reported; as individual developers productivity increases the team-level throughput, review capacity, and stability degrades since the discipline that team-scale software engineering requires is neglected. Objective: This paper aims to establish the conceptual and methodological foundations of Spec-Driven Development SDD as an enabling discipline for the operation of ASE at team scale and characterize the harness, i.e., the set of technical and methodological mechanisms through which teams govern agent behavior. Method: We conducted a conceptual analysis that, by necessity, draws predominantly on gray literature, i.e., the emerging vision and roadmap papers on ASE, together with practitioner reports, talks, and tooling. The reason is that peer-reviewed evidence and a shared academic-industrial vocabulary are not established in the field. Results: Using a comparative characterization of the paradigm progression as conceptual framing, the article presents (i) a socio-technical model of SDD in which specifications act as the contract substrate between humans and agents; (ii) an operational characterization of the harness, distinguishing the technical harness around the agent from the methodological harness around the team, and describing its mechanisms by means of worked examples; and (iii) a typology of five human-agent interaction patterns through which the human role is redefined. Conclusion: As a result, authors conclude that SDD reconstitutes, in a specification-centric form, the contracts that vibe coding dissolves, i.e., accountability, verifiability, and transferability. Given the immaturity of the evidence base, this work is explicitly presented as a first step toward an academic-industrial consensus, rather than as a validated theory, and we outline a research agenda for its empirical validation in future.

Additional Key Words and Phrases: Spec-Driven Development, Agentic Software Engineering, AI-Augmented Software Engineering, Human-Agent Collaboration, Agent Harness, Context Engineering, Persistent Knowledge, Specifications, Socio-Technical Model

1 Introduction

During these recent last years (from 2024 to 2026), autonomous coding agents (e.g., Claude Code, OpenAI Codex) moved from research demonstrations to production use in industry [1, 2, 23, 28, 30]. These agents are the most autonomous manifestation to date of Generative AI (GenAI), i.e., the family of foundation-model technologies that derive code, text, and other artifacts from natural-language input 1^{1}. This short period of time has not been long enough for the vocabulary of the field has been established or agreed; terms such as vibe coding [26] and Agentic Software Engineering (SE 3.0 or

1^{1} It is worth distinguishing both terms from the outset, since GenAI had already entered software engineering practice in a passive form, that of the assistant that responds to a developer's prompt, whereas an agent employs the same underlying technology in an active form, i.e., it holds its own thread of control and decides which actions to perform and when. The distinction is not merely lexical, as the present paper will argue that it is precisely this shift from passive to active that reconfigures the socio-technical structure of the team.

Authors' Contact Information: Jessica Díaz, yesica.diaz@upm.es, Universidad Politécnica de Madrid, Madrid, Spain; Joaquín Gayoso, joaquin.gayoso@upm.es, Universidad Politécnica de Madrid, Madrid, Spain; Andrea Cimminio, andrea.cimminio@upm.es, Universidad Politécnica de Madrid, Madrid, Spain; Jorge Pérez, jorge.perez@upm.es, Universidad Politécnica de Madrid, Madrid, Spain.

  1. Manuscript submitted to ACM

Díaz et al.

ASE) [22] are being adopted, contested, and redefined almost simultaneously. This terminological instability reflects an instability of practice and hinders its efficient in adoption. At least three development models currently coexist in industry: (i) traditional and Agile development with light GenAI assistance, in which the structure of the Software Development Life Cycle (SDLC) remains unchanged; (ii) vibe coding, in which an individual developer maintains a free-form natural-language dialogue with an GenAI assistant and accepts, rejects, or refines its outputs in a tight loop; and (iii) ASE, in which agents are delegated goal-level tasks and humans assume the role of orchestrators and verifiers.

It is worth mentioning that these models are not points on a smooth continuum, since each of them imposes different demands on team structure, artifact discipline, and governance. A team that is competent in chat-assisted coding does not, by that fact alone, become competent in ASE. Moreover, increasing reliance on conversational and agent-assisted development practices may expose limitations in existing team coordination and governance mechanisms, a phenomenon that several industrial reports have begun to document. In fact, the empirical motivation of this paper is what several industrial reports describe as a productivity paradox. The Faros AI report, based on more than 10,000 developers in 1,255 teams, found that GenAI adoption was associated with a 21% increase in individual task completion and a 98% increase in merged pull requests (PRs), but also with a 91% increase in PR review time and a 9% increase in defects per developer [14]. The DORA reports describe a comparable tension over time: in 2024, higher AI adoption was associated with reduced delivery performance and greater team-level instability [18], whereas the 2025 edition found the association with throughput reversed while instability persisted, and summarized the pattern by stating that AI does not fix a team but amplifies what is already there [19]. In the same vein, a randomized controlled trial conducted by METR found that experienced developers took 19% longer to complete tasks in their own repositories while believing they had been about 20% faster [33], and the Stack Overflow 2025 survey identifies “almost correct, but not quite” outputs as the most frequent frustration with AI tools [40]. A further signal comes from the code itself, since across 211 million changed lines authored between 2020 and 2024 the share associated with refactoring fell from 25% to below 10%, while duplicated code blocks increased eightfold [17]. Hence, the degradation is observed not only in how fast teams deliver, but also in the maintainability of what they deliver.

Figure 1 synthesizes this phenomenon. While GenAI adoption can substantially increase individual productivity, the resulting gains do not necessarily translate into improved team outcomes when governance, review, verification, and coordination capacities remain unchanged. Taken together, these data points suggest that the limiting factor is not model capability alone, but the absorption capacity of the surrounding socio-technical model. Hence, accelerating one phase of the SDLC (code production) does not accelerate the system as a whole if the downstream phases (review, verification, integration) retain their original capacity; in this case, the value created upstream is consumed by downstream bottlenecks. This effect is particularly relevant in modern code-review-based workflows, where review capacity is frequently the limiting resource rather than code production capacity [4]. This is, in essence, Amdahl's law [3] applied to the SDLC. In early Agile adoption a closely related pattern has been observed before; the acceleration introduced by short Scrum sprints often overwhelmed downstream system and operations teams, which were unable to absorb the increased delivery pace and consequently became bottlenecks. The phenomenon resembles the optimization of local subsystems at the expense of global flow, a challenge previously identified in lean software development and systems thinking approaches. This tension was one of the drivers behind the emergence of DevOps as a practice to rebalance end-to-end system capacity, as it has been analyzed in authors previous work [9]. The intermediate practice of vibe coding provides perhaps the clearest illustration of this paradox, as it emphasizes rapid individual code production while often relying on conversational interactions that leave limited traceability, rationale preservation, or reusable specification artifacts.

Figure

Fig. 1. The productivity paradox and the role of governance in ASE.

In this article, the authors delve about the transition from GenAI-augmented SE to ASE is principally a socio-technical reconfiguration rather than a technological event, and hypothesize that Spec-Driven Development (SDD) is the discipline that makes this transition feasible. More generally, the centrality of specifications is not new in software engineering. Requirements Engineering has long emphasized the role of specifications as communication and validation artifacts between stakeholders and developers [35, 39]. What changes in the agentic paradigm is that specifications become operational artifacts consumed directly by autonomous agents. Under SDD, specifications become the canonical, version-controlled contract between humans and agents, from which code, tests, documentation, and infrastructure are derived with a clear trace of their origin. In addition, the authors also argue that the adoption of SDD must be understood together with the notion of harness, i.e., the set of mechanisms, both technical and methodological, that surround the agent and the team, and that help translate the agent's capabilities into meaningful outcomes for the team. The harness concept has recently emerged in the practitioner literature as the infrastructure wrapping a model (Agent = Model + Harness) [6, 27]; in this paper, the harness is extended to the team level and connected to SDD. The progression from Agile to ASE and the limitations of vibe coding therefore provide the conceptual framing for the paper. Against this framing, authors propose two research questions:

  • RQ1. Which mechanisms constitute the harness through which teams govern agent behavior, and what is the role of specifications within it?

  • RQ2. Which interaction patterns enable effective human-agent collaboration under SDD, and how must human roles be redefined?

Díaz et al.

Before proceeding, authors need to highlight a methodological caveat on how the contributions of this paper should be interpreted. The phenomenon under analysis is barely two years old, although it would be inaccurate to claim that it has escaped academic attention altogether. Systematic reviews and roadmap articles have already mapped the landscape of GenAI-augmented and agentic SE in a traceable manner [2, 21, 23, 24, 30, 41]. What is missing is more specific than a general absence of evidence. The two constructs on which this paper rests, i.e., Spec-Driven Development understood as a team-level discipline and the harness understood as the set of mechanisms through which teams govern agent behavior, have not yet been the object of academic treatment. Both were named in practitioner discourse and are still being refined there, and, to the best of our knowledge, no peer-reviewed study has defined them, delimited their scope, or measured their effects. Considering that the available knowledge on these two constructs lives in gray literature: vision papers (many of them preprints), conference talks, practitioner blog posts, and open-source tooling whose documentation reflects operational practices acquired through great effort. As a result, authors deliberately and explicitly have built the reported analysis on this gray literature, and it is treated as such, i.e., as the best available evidence in an immature field rather than as settled science. We do not regard this as a weakness to be hidden, but as the defining condition of any honest contribution at this moment: the academic consensus that would allow us to do otherwise does not exist yet, and someone has to take the first step toward building it. The present article is intended as a structured synthesis that may help establishing a shared conceptual foundation for future empirical work. The contributions of this paper are the following:

  • C1. A socio-technical model of SDD that positions specifications as the contract substrate of human-agent collaboration (Section 4).
  • C2. An operational characterization of the harness for ASE, distinguishing the technical harness from the methodological harness and describing its constituent mechanisms with worked examples (Section 5)
  • C3. A typology of five human-agent interaction patterns through which the human role is redefined under SDD (Section 6).

The structure of the paper is as follows. Section 3 is devoted to the research methodology applied in this work. Section 2 traces the paradigm progression that motivates the framework. Section 4 and Section 5 establish SDD as the enabling discipline and characterize the harness (RQ1). Section 6 develops the interaction patterns and the redefinition of human roles (RQ2). Section 7 reports the traceability of the synthesis. Section 8 discusses benefits, risks, and threats to validity. Section 9 outlines a research agenda, including the study of organizational adoption pathways, which we deliberately leave as future work. Finally, Section 10 draws the main conclusions of our work.

References (19)