Why My Agentic SDLC Stalled

The agents in my projects kept working, writing tests and reviewing results. At times, hardly any usable features followed. Examining the process, I found rules that prolonged this state. Since September 26, the process has retained useful experimental code and limited the entire repair effort. I moved a second project to executable scenarios and a merge gate. A gain in speed has yet to be demonstrated.

FC
· 10 min read

Part 7 of 8 in the series The Agentic Engineering Pipeline for the SDLC

In two of my projects, agents wrote tests, revised checking scripts and submitted new reports. Meanwhile, I kept asking about the same missing feature in the applications. Both projects used my method template. The agents involved were Codex with GPT-5.6 Sol and GPT-6 Sol, Claude Code with Claude Opus 5.5 and Muse Code with Muse Spark 1.3. More rules had done little to change it.

I examined the template alongside the working instructions and run records from both projects. In one project, the daily reports from September 19 to 23 recorded no newly verified user task. The history examined contained 265 non-merge commits, of which 190 changed Markdown files only. These records do not tell me how much time the work consumed or whether a changed document was needed to build the next feature to meet its requirements.

The other project had recently made progress on recovery after failures, and in a system that has to produce evidence of its results, the verification tool is itself a product feature. Diagnosing both projects as producing useless tests would be wrong. I was concerned about the longer stretches in which further repairs and passed checks still left no additional use case ready to use.

What I had built into the process

In my assessment of spec-driven development, I described how much depends on executable acceptance checks. As later defects appeared, the instructions grew more specific. A reviewer found a test that did not detect its intended fault, so we added a counter-check. As the person commissioning the work, I took part in introducing another prohibition after an agent concealed an error status.

Many individual corrections had a good reason, but together they created assignments that agents could keep fulfilling without bringing the application any closer to a state someone could use. There was always another test matrix to complete or another report to correct. The product defect remained unresolved.

One of my rules for the spike even required duplicate work. Before the plan gate, I required an isolated experiment that ran a use case through the components involved, so the agent would find out early whether its approach worked or failed at an interface. Tests and findings were intended for the plan, while the rule required throwing away the experiment’s product code. The working integration had to be built again later.

I had introduced a handover at which working functionality could be lost. The concern behind the rule was reasonable: unreviewed experimental code does not belong on the main branch. But I had no justification for requiring every useful experiment to be rewritten.

The round budget also limited only part of the effort. Functional corrections were capped, while mechanical repairs did not count towards the limit. With tool problems and fresh reviews of individual changes adding more work, an attempt kept consuming resources even when, on paper, it had not reached its limit and was allowed to continue.

With these rules, I had expanded acceptance checks while making the route to the first working implementation unnecessarily difficult. A process change will not remove model errors or difficult architecture questions. I could still remove the compulsory duplicate work immediately.

The Definition of Done was already there

By an executable product path, I mean a flow from the intended input to the point where someone uses the result. For an import, that might be where an authorised query returns the imported data, while a successful helper function somewhere along the way says little about whether the complete flow works.

This belongs in a Definition of Done. The Scrum Guide requires a usable Increment that works with previous Increments. The Definition of Done describes the required quality state. Individual acceptance criteria add what the particular feature is supposed to do.

My projects already had completion rules of this kind. Another sentence about user value would hardly have resolved the stagnation. The Definition of Done says which state we accept, but gives the model no route to that state when it gets lost in repairs while building the feature.

I have therefore changed how the first implementation tasks are scoped. The first slice contains a small, complete use case across the necessary components, and we extend that running version to cover the remaining agreed cases until the assignment is fulfilled. The whole story is finished only once every acceptance criterion and the product’s shared quality requirements are met.

For a data product, that first slice might read a specified source record and return it through the intended read interface. Permissions and preserving the source belong in the experiment. Later slices add further data cases or recovery, as required by the assignment. This describes a possible task scope. We have not yet completed that product run successfully.

Reusing the useful experiment

I have corrected the disposal rule in the flow with a coordinator. The experiment stays isolated. Once its provenance, diff and affected risks have been reviewed, the same code may become the implementation candidate. The required plan review and authorisation still apply, as does independent acceptance before merging.

We discard an unsuitable experiment. If it proves useful, the agent works on an application whose behaviour it has already observed and adds the missing cases to the same code base until the result is complete.

For acceptance, I separate requirements from observations. Approved requirements and my decisions determine what the product must deliver. Code and runtime show what exists. If the application produces an incorrect number, more passing tests do not turn that number into the new expected value.

I reviewed the mandatory files too. User flows, examples and test notes are kept in ticket sections or refer to a shared source, where the next person or agent working on the feature will find the information. A second file containing the same text rarely helps.

Research on instructions and repairs

Evaluating AGENTS.md found no general improvement in success from additional context files on Python tasks from existing repositories. Agents followed the instructions and did more testing or exploration, with mean inference costs increasing by more than 20 percent. The June 2026 revision recommends necessary project-specific guidance and evaluating its benefit.

That is a narrower finding than an explanation of my entire SDLC. The study examined neither my prohibition registers nor our assignments lasting several days, but it does show that following an instruction alone says nothing about its benefit. During the revision, I asked what each additional obligation was for.

SlopCodeBench examines successive extensions to the same code base. In the May 2026 version, structural quality problems grew across many trajectories. Explicit guidance on code quality improved the initial code but did not prevent subsequent deterioration. The results concern the evaluated agents working on 36 Python problems with a total of 196 checkpoints.

I therefore want to observe the extensions after the first finished feature as well. If a later feature damages previous behaviour, that loss belongs in the same assessment as the new use case, even if the first version produced by the changed procedure looked good.

TraceCoder evaluates an approach to repairing code. It uses runtime traces, remembers failed repairs and rolls back harmful changes. On BigCodeBench-Complete, removing instrumentation reduced success from 89.04 to 78.51 percent. These component comparisons provide evidence for mechanisms within the system. The study tested benchmark code repair, rather than a full SDLC in a running project.

For my process, I am therefore testing the following assumption: before another repair, I need an observation that narrows down the cause, such as a test whose result distinguishes two possible faults or protects behaviour that has already been demonstrated.

Fewer handovers and focused checks

I start with one implementation owner and an independent review of the result, adding another agent when there is a specific question to answer, such as where a measured value came from. The agent acting as an early adversary may later handle acceptance, provided it stays independent of the author and meets the applicable model requirements.

Towards a Science of Scaling Agent Systems shows why agent count alone explains little. Collaboration helped on tasks that could be split into independent parts. Closely sequential decisions could fare worse with additional coordination. The study supplies no universally best team size for my projects.

Tests now follow the risk of a change. Data loss, unauthorised access and failed recovery still require independent negative checks against the product. Such a check deliberately introduces a relevant faulty situation and shows that the control detects it. Creating an artificial fault for every row of a text matrix is no longer a general obligation.

A text correction is reviewed against its sources and for consistency, while a configuration change could delete data and needs different checks even if its diff is short. File type does not decide this. Existing evidence can be reused where its binding to code, configuration and reviewed scope still applies. Affected interfaces and permissions are checked again.

Access controls and isolation remain in place. A scanner finding suspicious error handling is a reason to inspect it. Expected failures can be handled when the expected and actual statuses are recorded, every other deviation fails the run, and the environment is cleaned up afterwards.

When a repair attempt ends

The budget now covers the entire attempt. Mechanical fixes count alongside reviewer rounds, tool and environment work, and failed calls. Opening a new ticket does not reset the budget.

Before another run, the agent names the changed code or a different suspected cause, together with the expected result that will let it assess the hypothesis after the run. An identical repeat needs a question about reproducibility or variation. Without this distinction, I would just have added a mandatory field to the old loop.

When no knowledge is added or the budget runs out, we save the last useful state. The responsible agent describes the unresolved cause and a different approach. Where needed, I bring in a person with relevant expertise. The papers provide no universal limit on the number of rounds.

Ending this attempt does not close the product assignment. A smaller delivery scope requires my explicit decision. Failed checks and features still lacking evidence remain open, even if their unfinished parts would fit neatly into a follow-up ticket.

What became of the corrections

The revised rules have been in the training template and one of the two projects since September 26, alongside changes to the templates and dispatch prompts that previously contradicted the new flow. The rule checker’s existing self-tests passed in both directories. They check the behaviour of that tool, but do not establish whether the revised rules lead to usable software faster.

In the second project, a command-line agent for local language models, I did not add these corrections. Every approval there rested on a written verdict that a language model gave about a diff, and at no point did a machine check against the running product whether a task was done. The rules in this post change how such a verdict comes about. They give the machine no criterion it can check on its own.

So that project got a fresh start on the same day: a fixed list of user tasks, one executable scenario per task kept out of the agents’ reach, and a merge gate that alone marks a task as done. The loop’s lead agent there is Claude Code on Claude Opus 5.5, the developer sessions run in Claude Code and in Muse Code on Muse Spark 1.3, and the live scenarios have run against GLM 5.3 via OpenRouter since September 28. The old process is archived there, and the other project has run on the corrected version since September 26. A comparison of both flows on the same initial code is therefore no longer available.

The resulting process built around a loop and an oracle describes how user tasks, executable acceptance checks and integration form a reusable method.

AI Agentic Coding Software Engineering Spec-Driven Development SDLC