theory-of-constraints-one-battle-after-another.md — pavlovicaleksandar
pavlovicaleksandar›pages›posts›theory-of-constraints-one-battle-after-another.md

One Battle After Another: Theory of Constraints and the Rise of Product Engineers

Aleksandar Pavlovic,
Back

In 1984 Eliyahu Goldratt wrote The Goal, a novel about a factory manager who has three months to save his plant. The idea behind it is called the Theory of Constraints, and it is simple enough to fit in one sentence: every system has exactly one step that limits its output, and improving any other step changes nothing.

If your team can review four pull requests a week, it ships four features a week. It does not matter how fast you write code. Write it faster and you don't ship more, you just grow a bigger pile of pull requests waiting for review.

Goldratt's recipe for this is five steps: find the constraint, get the most out of it, make everything else follow its pace, raise its capacity, and then go back to step one. The last step is the one people forget. When you break a constraint, it doesn't disappear. It moves somewhere else.

Software development spent the last few years learning this the hard way. So instead of explaining it, here is a small game. Each box is a stage of the SDLC, the number is how many items it can finish per week, and the dots are work waiting in front of it. Watch where the dots pile up, then press the button.

Disclaimer: this SDLC is very simplified on purpose. Real teams have more stages, rework, variability and a lot of other things going on. I left all of that out to make the idea easier to see.

Level 1/4 · Before AI

Engineers write every line by hand. Product has more ideas than the team can build, so the backlog in front of Code grows every week.

Ideas
5/wk
source
busy 0%
Code▲ constraint
2/wk
empty
idle 0%
Review & Test
4/wk
empty
idle 0%
week0
throughput0.0/wk
lead time–wk
waiting0
shipped0

What just happened

Before AI, implementation was the constraint. Product always had more ideas than engineers could build, and the backlog was the proof.

Agents for writing code broke that constraint almost overnight. Code got faster, but throughput only doubled, because the work went straight into the queue for review and testing. Lead time got worse: more work was in progress and all of it was waiting.

Agents for review & validation broke the next one. The backlog shipped in one nice burst, and then the pipeline went quiet. Engineers and agents were waiting. Not for code, not for review, but for someone to say what to build next.

That is where it gets interesting. The natural reaction is to throw more resources at the new constraint: more PMs, or agents for PMs. You probably noticed how well that went. Ideas worth building don't come from typing specs faster or from more people in the roadmap meeting. They come from understanding users and their problems, and the fastest way to get more of them is to move that understanding closer to the people who build.

So the one button that works is become a product engineer.

A product engineer is an engineer who cares about the problem as much as the code. They talk to users, decide what is worth building, build it, and check if it worked. Writing code is only one part of the job.

Why does it work? Because a product engineer owns the work end to end: from the idea, through the implementation, all the way to validating that it actually solved the problem. There is no handoff from PM to engineer, no spec that loses half of its meaning on the way, and no waiting for someone else to decide what comes next. The person who understands the problem is the same person who builds the solution and checks whether it worked. Every handoff is a queue, and every queue is a place where work waits. Product engineers simply have fewer of them.

To be honest, this is nothing new, and it is not because of AI. Owning the work end to end was the right way to build products long before agents showed up, and it is something I have personally believed in for a long time. AI just made it impossible to ignore. When code and review get cheap, the handoffs are the only thing left that is slow.

It is not the end of the game, though. The constraint is still there, it just moved again, this time to you.

One battle after another.

© Aleksandar Pavlovic.RSS