The Agentic SDLC

Part I · The shift

Chapter 1

How software gets made

Every change to software, from a new feature to a one-line fix, travels the same path. Companies name the steps differently, but the steps and the people are much the same everywhere.

Idea Requirement Code Review Test Release Operate People write the code Every stage moves at the speed of the people doing it What is learned in production feeds the next idea
Figure 1. The software development lifecycle. Every stage was designed around one assumption: that people write the code.

Before following a change along that path, it helps to meet the people who move it. Titles vary from company to company, and in a small team one person may hold several of these roles, but the work itself is the same:

Role What they own Where most of their time goes today
Product manager What to build and why Talking to customers, writing requirements, deciding priorities
Developer Turning a requirement into working code. Front end developers build what users see and click; back end developers build the services and data behind it; some teams also have mobile and platform developers Writing and changing code, and the tests for it
Reviewer Whether a change is good enough to go in. Usually another developer Reading other people's code line by line
QA engineer Whether the product works the way a customer will use it. Not every team has one Testing by hand and writing larger automated tests
Operations or site reliability engineer Keeping the live system running Watching the system, releasing changes and responding to problems

Keep these roles in mind. Every later chapter changes what at least one of them does.

It starts with an idea: a customer asks for something, a bug is reported, or the team decides something should work better. The product manager writes it up as a requirement, a short description of what should change and why, usually as a ticket in an issue tracker.

A developer writes the code on a branch, a separate copy that keeps work in progress away from everyone else. Along with the code, they write tests, small programs that check the code does what it should, and run them before anyone else sees the change. Many tests exist to catch regressions: things that used to work and quietly broke. How much of this is automated varies a lot. Some teams run every test automatically on every change, which is called continuous integration; many still run tests by hand, or only some of them.

When the change is ready, the developer opens a pull request: a proposed change waiting for review. The reviewer reads it and leaves comments: a question, a case that was missed, a simpler way to do it. The developer answers, changes the code and asks for another look. This can go back and forth a few times before the reviewer approves. Review is already a small loop: comment, change, check again, until it is good enough. Chapter 5 shows that agents work in the same shape.

The approved change is merged and deployed. Most teams deploy it first to a staging environment, sometimes called a sandbox: a private copy of the live system where they can try it safely. Once it looks right there, it is released to production, the live system customers use, and the team watches how it behaves. When something goes wrong in production, the team calls it an incident: the engineer on call is alerted, finds the cause and fixes it. What the team learns from incidents, usage and feedback becomes the next idea.

This path is the software development lifecycle, or SDLC. For decades it rested on one assumption: people write the code. Review exists because one person's work benefits from another's eyes. Tests exist because people make mistakes. Every stage moves at the speed of the people doing it.

The rest of this book is about what happens when that assumption stops being true.