Ingka Group acquires Locus! Built for the real world, backed for the long run. Read here>Read the full story>
Ingka Group acquires Locus! Built for the real world, backed for the long run. Read the full story

Why Rules-Based TMS Logic Breaks at Modern CPG Distribution Scale An Architectural Diagnosis

Month-end close. 6:12am. A trade scheme just pulled three weeks of distributor orders into the final five days, and the promo SKU is sitting on a reefer at the co-packer, now in its third hour of detention. The grocery-DC appointment for that load closes at 2pm. The TMS has to compose a decision in the next few minutes that resolves all three signals together.

It composes none of them. It runs them as three separate rules, in the order they arrived, against three different decision contexts. By 6:17am, two have fired correctly, one has fired incorrectly, and the fourth decision, the one that needed all three inputs in conversation, never gets composed.

Let's go under the hood.

What rules-based architecture got right

Rules-based architecture had a job and did it well. In the late 1990s and early 2000s, when most enterprise TMS platforms were architected, CPG freight was predictable. Distributor orders arrived in weekly batches. Carrier capacity was contracted in advance. Primary lanes between plant and DC were stable. A planner ran the day in the morning, and the system executed against rules that encoded routing guides and exception thresholds.

The architecture worked because the problem was largely linear. The architectural assumption underneath it, that distribution is a sequence of largely independent decisions executed against stable parameters, was true at the time.

It is not true now. Demand signal now arrives in continuous streams, promo waves land mid-week, retailer compliance windows are measured in minutes, and decisions span cost, service, capacity, and freshness objectives at once. A rules-based architecture is structurally limited to processing the past. The gap is where margin leaks.

What changed: the decision shape

Three shifts have stretched the rules-based model past its envelope. Each one moves the architectural floor faster than rule-set maintenance can follow.

Fig. 01 Static plan-and-execute vs continuous replanning, conceptual

Rule-based architectures lock a plan against a snapshot of state and execute against it. When state changes mid-execution, recovery is exception-handled by humans. Composable architectures treat planning as a continuous process, re-optimizing as state evolves.

RULE-BASED · STATIC PLAN-AND-EXECUTE One plan, locked at T=08:00. Reality keeps moving. PLAN LOCKED 08:00 10:00 12:00 14:00 18:00 09:14 promo order wave 11:42 reefer detained 14:18 dock backlog HUMAN EXCEPTION QUEUE +1.4 h +2.1 h +1.8 h Each deviation exits the planning loop. Recovery latency is human reaction time. COMPOSABLE · CONTINUOUS REPLANNING Plan recomputes at every state change. Recovery is the operating loop. PLAN LIVE 08:00 10:00 12:00 14:00 18:00 09:14 promo order wave 11:42 reefer detained 14:18 dock backlog CONTINUOUS RE-PLAN LOOP + 0.8 s AUTO RE-PLAN + 1.2 s AUTO RE-PLAN + 0.6 s AUTO RE-PLAN Every state change recomposes the plan. Recovery latency is machine reaction time.

The system uses cost, service, capacity, and SLA constraints to build the plan. The architectural failure is not that it ignores those constraints; the plan is locked against a snapshot. When a promo order wave lands mid-week, when a reefer posts its third hour of detention, when a retailer moves an appointment window, the rules-based architecture has no native mechanism to recompose the plan against the new state. Recovery exits the planning loop and enters the human exception queue.

Fig. 02 Autonomous resolution rate, agentic vs rule-based exception management

Up to 80% of common incidents can be resolved autonomously. Time-to-resolution drops by 60–90% versus dashboard-and-human exception handling.

AGENTIC vs RULE-BASED EXCEPTION HANDLING AUTONOMOUS RESOLUTION RATE 80% of common incidents resolved autonomously 0% 100% (McKINSEY · EXHIBIT 5) TIME-TO-RESOLUTION DASHBOARD + HUMAN 100% AGENTIC 10–40% 60–90% reduction in time to resolve (McKINSEY · EXHIBIT 5)

McKinsey QuantumBlack, “Seizing the Agentic AI Advantage,” 2025-06-13

When a single rule fires incorrectly, downstream effects cascade through every decision that depended on it. By the time a planner is alerted that a dock appointment was missed, the recovery options that existed an hour earlier are gone.

Learn how the world's first agentic TMS can act in real-time governed by the policies your team defines

Fig. 03 Static rule-set maintenance vs continuous adaptation, conceptual

A rule-based system is exactly as smart as the day it was last patched. Agentic systems collapse cycle time through parallel execution and adapt continuously to changing conditions.

RULE-BASED · STATIC RULE-SET MAINTENANCE Logic patched once every few months. Often obsolete by go-live. LOGIC FROZEN CYCLE 1 ~3 MONTHS RECAL CYCLE 2 ~3 MONTHS RECAL CYCLE 3 ONGOING The world keeps moving. The logic does not, till your planner or their account manager recalibrates. COMPOSABLE · CONTINUOUS ADAPTATION Logic patched on every signal. Always current with the network. LOGIC LIVE CYCLE 1 · · · CYCLE n ~SEC ~SEC Every real-world signal updates the logic. Rules that stay current with your network reality.

McKinsey QuantumBlack, “Seizing the Agentic AI Advantage,” 2025-06-13

A rules-based system suffers from logic degradation: as the physical network evolves, the coded logic in the TMS becomes increasingly detached from physical reality. Maintaining it requires manual recalibration projects whose parameters are obsolete by the time they reach production. Agentic systems close that loop in production. Rules still encode policy and intent. What changes is the optimization layer, the learning loop, and the simulation capability that sits around them.

These three shifts describe a fundamentally different problem shape.

Where this surfaces in your operations

  1. Compliance fines that land weeks after dispatch are a plan locked at dock-out meeting a day that kept moving: nothing recomposed, and the penalty surfaces too late to learn from.
  2. Quarter-end order spikes that crash are data velocity hitting a system that plans on historical baselines, so the promo wave arrives as a surprise every cycle.
  3. Small drops that cost more than they earn are decision interdependency the system cannot evaluate, so it routes for distance and hopes, with loaded cost never in the conversation.
  4. Detention bleeding into spot freight is exception cascading: detection latency burns the cheap recovery options while the dwell builds.
  5. Short-dated stock rejected at the dock is decision interdependency at the network level, expressed as a static mileage default that is blind to shelf-life state.

The dashboard cannot show any of this because the dashboard reports against the parameters the system was given.

When the architecture broke in public

Two CPG cases show what happens, and what doesn’t, when an architecture meets a state change it cannot replan against. The first illustrates a system halting at a partial fault. The second is a side-by-side: two beauty majors, the same demand shock, two architectural reflexes. Neither is an outlier. The same pattern plays out every quarter-end inside CPG distribution networks at smaller scale; it just rarely makes the press.

J&J Snack Foods, 2022.

In February 2022 the snack and frozen-beverage manufacturer cut over to a new ERP platform. The cutover was planned for the slowest volume quarter. The execution layer could not keep pace with live operations: picking and scheduling broke, and production halted on frozen-novelty lines. The company quantified the damage in its own filings: roughly $20 million in lost sales in the fiscal second quarter and a $7.6 million rise in operating expenses.

The system treated the migration as a cutover event to execute rather than a state to recompose around. It halted, and the human queue absorbed the cost.

Estée Lauder vs L’Oréal, 2022–2024.

Both beauty majors rode the same engine through the 2010s: Asia travel retail, the duty-free corridors of Hainan and South Korea. Then the channel collapsed. The architectural responses diverged. Estée Lauder kept shipping into it as demand fell. By fiscal 2024, reported operating income had fallen 36%, and the company’s own results pointed to “actions taken by the Company and its retailers to reset inventory levels.” L’Oréal read the same signals and recomposed the network early: it cut stock-in-trade, rebalanced toward other channels and regions, and worked its Hainan exposure down to a marginal share of sales. In 2024 it posted 5.1% like-for-like growth and a record 20.0% operating margin.

Same shock, similar information. One absorbed it in the channel queue. The other ran a recomposition loop.

Both are static architecture in production. J&J Snack Foods halted at the exception. Estée Lauder absorbed in the queue. L’Oréal, facing the same shock, kept the recomposition loop running. The architecture is the difference.

Anas T

Anas T

Senior Content Writer - Product Marketing

Anas is a product marketer at Locus who enjoys turning complex logistics problems into simple, clear stories. Outside of work, he’s usually unwinding with a book or catching a good movie or series.