Grocery is one of the world’s most unforgiving businesses. Every missed sale, every wasted apple and every substitution gone wrong erodes profit in an industry where margins are measured in pennies.