This post is about The Big Rejig and mistakes that burned millions of Claude tokens. Part I post here . AI agent orchestration: From spaghetti architecture to clean, predictable Elm architecture The First Factory Worked For those who’ve played the game, your first Factorio factory works. Iron moves on the conveyor belts, copper is delivered to assemblers and circuit boards come out on the other side. You added one thing at a time, solved one problem at a time and the factory hums. Then you decide to scale it. You try to add a new conveyor belt and realise the belt you need runs straight through the middle of three other assemblers. You try to decouple and reroute the belt. Then that reroute cuts off a different production line. You try to fix that. The fix introduces a bottleneck for another belt. You fix that. Hours later, your factory looks like patch work. The foundation works. But beware, improving it is like open chest surgery. Every Factorio player hits this wall at some point. It’s spaghetti.…