Each of our thirty eight branches holds its own stock. Every night a balancing job compares each branch's stock of each product with a minimum and a maximum. Where a branch is above its maximum, the surplus is offered to others. Where a branch is below its minimum, the shortfall is filled from the nearest branch with surplus. The job raises the transfers, our shunter lorries collect the next day, and the goods usually arrive two or three days later.

In October 2024 a stock controller noticed that the same twelve pallets of loft insulation had travelled between our Ripon and Harrogate branches five times in six weeks. When we looked across the company, more than two hundred products were being moved in both directions between the same pairs of branches.

The job measured each branch's stock as what was on its shelves. Goods on our lorries belonged to neither branch in that figure. They left the sending branch's stock when they were despatched and joined the receiving branch's stock when they were booked in. So on the first night Ripon was short, Harrogate had surplus, and the job raised a transfer. On the second and third nights Ripon still looked short, because the pallets were on a lorry, so the job found surplus at Thirsk and raised another. When both deliveries arrived, Ripon was well above its maximum and offered the surplus back, by which time Harrogate was below its minimum after giving its pallets away. Every decision was correct for the figures the job could see, and those figures left out everything it had already set moving.

That October, about a fifth of the pallets on our shunter lorries were transfers that would later travel back. Each journey cost driver time and yard space, and insulation packs do not improve with handling.

Stock on a lorry now counts towards the branch it is travelling to. The job will not raise a new transfer for a product at a branch with one still open, and stock that has arrived by transfer within the last thirty days cannot be offered as surplus. We also widened the gap between minimum and maximum on fast moving lines, so ordinary swings in a busy week no longer trigger a move. A weekly report lists every product that has travelled both ways between two branches within sixty days. It now holds about a dozen lines a month.

Automation that acts on a measurement has to include in it what the automation has already set in motion. Otherwise it keeps correcting the same gap until its corrections arrive, and then starts correcting those.

– Serguey Shinder