The Software Delivery Loop: From Idea to Production and Back, with AI on the Team

Lesson 1 of a free course: the delivery loop and the developer task loop inside it, where AI agents fit, and the decisions that stay with people.

Watercolor illustration of software delivery as an infinity loop drawn as a race track. The left loop, labeled build, many trips per release, holds the developer task loop: define the task, implement, build and test, integrate, and review, with defining the task and review marked as decisions a person makes. The right loop, labeled run and learn, one trip per release, runs through deliver, production, feedback, planning and design. A signpost at the crossing marks the release decision, made by a person.

Lesson 1 of a free course on delivering software with AI on the team. New lessons arrive by email when you join the email list.

For leads

Delivering software is two loops, one inside the other:

  1. The delivery loop is the project’s loop: decide what to build, design it, set up how the team works, build it, deliver it, run it, and learn from production what to do next.
  2. The developer task loop runs inside development, once per task: understand the task, implement it, build and test, review, revise, and integrate.

AI agents now do much of the work inside the task loop, and they do it fast. That makes the points where a person decides matter more, not less:

  • A person decides what goes into the loop. Which problem, which task, and what “done” means.
  • A person decides whether what comes out is accepted. Passing checks is evidence. It is not the decision.
  • The loop doesn’t stop at the merge. Delivery, production and feedback are where most of the cost and risk live, and agents speed up none of them on their own.

The rest of this course is a lesson per activity in the delivery loop. This lesson is the map.

The infinity loop, with its left side opened up

Most teams have seen the DevOps “infinity loop”: plan, code, build, test, release, deploy, operate, monitor, and around again. It is a fair picture of a project, and nothing in this course contradicts it.

What it leaves out is the loop inside “code.” Every change goes around a smaller loop of its own, many times per release, and that inner loop is where AI agents now do most of their work. A diagram that shows only the outer loop can’t show where an agent’s work starts, where a person checks it, or who decides it’s good enough to keep.

The illustration at the top of this page is the infinity loop with that left side opened up. The right side, run and learn, goes around once per release. The left side, build, goes around once per task, many times per release. The blue stops are decisions a person makes. The signpost where the two sides cross is the release decision.

The delivery loop

Each activity answers one question. The activities overlap and repeat: you will revisit design after production teaches you something, and testing starts long before anything is delivered. They are not waterfall gates, and a small team may move through several in an afternoon.

Planning: what problem are we solving? Who the customer is, what outcome they need, and how you’ll know you delivered it. This is also where you decide what the first release does not include. Use cases are one way to write user goals down before anyone designs a solution. Lesson 2 covers planning.

Design: how should we solve it? Non-functional requirements, security, architecture, and the decisions worth recording so the next person (or agent) knows why. Design ends in work someone can execute: task cards an agent can finish. Lesson 3.

Setup: how will the team work? Roles, decision authority, the repository, CI, test strategy, the definition of done, and the instructions every agent follows. You bootstrap this once and keep adjusting it. See AGENTS.md and CLAUDE.md for Teams for the agent side. Lesson 4.

Developing: how do we build and verify it? The task loop, below. Lesson 5.

Delivering: how does it reach customers? Acceptance tests, documentation, versioning, deployment and rollback. A change isn’t delivered until a customer can use it. See the release process checklist. Lesson 6.

Production: how do we keep it working? Monitoring, incidents, patches. This is the part demos skip, and where the software spends most of its life. Lesson 7.

Feedback: what did we learn? Bugs, requests, usage data, retrospectives. Feedback is what turns the line from idea to production into a loop: it decides what the next round of planning works on. Lesson 8.

A proof of concept can skip most of this, and that’s fine as long as everyone knows it’s a proof of concept. Proof of Concept vs. Production covers how to tell the two apart and promote a demo on purpose.

The developer task loop

Inside developing, every task goes around this loop:

  1. Define the task. What to change, what “done” looks like, and how it will be checked. A person decides this, even when an agent drafted it.
  2. Implement. A person or an agent writes the change.
  3. Build and test. The project’s own checks run, the same way every time.
  4. Review and accept. Someone other than the author reads the change and decides whether it does what the task asked. A person decides this.
  5. Revise. If review finds a problem, the change goes back around.
  6. Integrate. The accepted change merges, and the delivery loop picks it up.

Agents are good at steps 2, 3 and 5, and they run them quickly. The two decisions in steps 1 and 4 are where a team keeps control of what it ships. Hand those to the same agent that does the work, and nobody is checking anything: the author is certifying its own change. Peer Review When AI Agents Write Some of the Code covers what that review should look like.

A real example from this site

This website runs on the same loop, with AI agents drafting many of the changes. In November 2026 an agent drafted a search-optimization change to one article: a new title and description. The task was clear, the change was small, and every automated check passed. It was reviewed and merged.

The new title claimed the code ran “the same for backtests and live trading.” It didn’t. The project it described has no live trading at all. The checks couldn’t catch that, because nothing in a build or a link check knows what the project actually does. It was caught the next day, and not by a check: a separate rewrite of the same article, written against the project’s code, had to be merged on top of the new title. Reconciling the two exposed the false claim, and the title was corrected.

Two lessons came out of it, and both are about the decisions, not the agent:

  • Passing checks is not acceptance. Checks cover what someone thought to automate. Whether a claim is true about your product is a judgment the reviewer has to make.
  • Review needs someone who knows the system. A quick read of a small change can pass anything that looks reasonable. What caught it was a comparison of the claim against the code.

Following one request through both loops

Here is a small, invented example of the whole thing working.

A customer of a scheduling app writes in: “I’d like to see my week’s jobs in my phone’s calendar.”

  • Planning. The team agrees the problem is real (several customers ask) and narrows it: a read-only calendar feed of the customer’s own jobs. Two-way sync is out of scope. Success means a customer can subscribe in their calendar app and see changes within an hour.
  • Design. The feed is a private URL per customer, so the design has to cover who can see it and how to revoke a leaked link. That becomes two tasks: generate and revoke feed links, and serve the feed.
  • Setup. Nothing new: the existing repository, CI and agent instructions apply.
  • Developing. An agent takes the first task. It implements, the tests pass, and review sends it back once because revoking a link didn’t invalidate cached copies. The second time around, it’s accepted and merged. The second task goes the same way.
  • Delivering. The feature ships behind a setting, with a help page that explains how to subscribe and how to revoke a link.
  • Production. Monitoring shows the feed endpoint is polled far more often than expected, because calendar apps refresh on their own schedule.
  • Feedback. That load is the most important thing the team learned. It goes back into planning as caching work for the next round, along with two customers asking for two-way sync.

The agent did a lot of the work here. The decisions that made it a good feature were all made by people: narrowing the scope, deciding a leaked link was a risk worth designing for, sending the first change back, and reading production data instead of declaring victory at the merge.

Why this matters

When agents make the task loop fast, the delivery loop doesn’t speed up to match. Changes pile up waiting for review. Features merge that nobody planned how to deliver. Production problems arrive faster than the team learns from them. The fix isn’t to slow the agents down. It’s to make sure every activity in the outer loop has an owner, and that the two decisions in the inner loop are made by someone who can be held to them.

Common pitfalls

Treating the loop as gates

“We’ll do security after design is done” turns a loop into a waterfall, and the problems arrive late and expensive. Every activity can come back around.

Letting the author accept its own work

An agent that writes a change and then reviews it hasn’t been reviewed. Neither has a person who approves code they asked an agent to write without reading it.

Stopping at the merge

A merged change isn’t delivered, and a delivered change isn’t working until production says so. Teams that measure only merges measure the cheap part.

Measuring the inner loop’s speed

“The agent closes ten tasks a day” says nothing about whether customers got anything. Watch how long an idea takes to reach production, and what production teaches you.

How to use this course

The course follows the loop: one lesson per activity, then a final lesson that puts it all together as one checklist. You can use it two ways:

  • Starting a new project: work through the lessons in order, and build each piece as you go.
  • Assessing a project you already run: read the lesson for the activity that hurts most, and fill in the gaps there first. Most teams under pressure have a strong developing step and weak delivering, production and feedback steps.

Either way, tailor it. A two-person team with low-risk software needs far less ceremony than a team whose software moves money or flies on aircraft. The process serves the project, not the other way around.

Your first step: a one-page project baseline

Pick one real project to work through the course with, and fill in the project baseline worksheet (also as a printable web page). It takes about fifteen minutes: the problem, who it’s for, what success looks like, where things stand today, who is on the team (people and agents), and one next action. Where you don’t know something, write “unknown.” That’s a finding, not a failure.

Next

Lesson 2 covers planning: the problem, the customer, success criteria, and scoping a first release so it can actually ship. It arrives by email when it’s published. Until then, the deeper articles linked above cover parts of each activity.

Where this fits

A practical path through the software delivery notes.

  1. Course lesson 1: The Delivery Loop (current page) The map: the delivery loop, the task loop inside it, and the decisions people keep.
  2. Software is Hard Start with why software projects drift and how feedback helps.
  3. Use Cases Capture user goals before turning them into implementation work.
  4. Use Cases to Tasks Break user value into small, testable pieces of work.
  5. Kanban Keep active work visible and limited.
  6. TDD Turn expected behavior into repeatable checks.
  7. Peer Review Review behavior, design, and maintainability before merging.
  8. Release Process Ship reviewed and tested work in small, recoverable releases.

Related reading