Most plants don’t lack alarms. They lack the time between the alarm and a plan the shop can run. A line stops, the MES sees it, the board turns red. By the time the schedule has been rewritten and sent back to the floor, half a day is often gone. The time isn’t spent noticing. It’s spent tracing the impact, trying options, and getting someone to agree.
This is one pass through that gap, using a demo plant: a metal packaging factory, seven lines coating and printing tinplate, a little over a hundred open orders. The numbers are illustrative, not a customer measurement.
11:26. Line 8 stops
Line 8 is one of two eight-color presses. The main drive motor has failed. Maintenance estimates 48 hours. The shop logs an event — type, line, expected duration, cause — and submits it.
Two things happen immediately. The downtime is past the replan threshold, so the four print operations that were sitting on Line 8 are released and waiting to be placed again. The disruption-response agent wakes up.
In this plant, a stoppage this serious is supposed to wait for a planner’s approval before the schedule changes. There is a condition under which it doesn’t have to. It shows up below.
What it actually affects
A person doing this step opens the schedule, finds the operations, finds the orders they belong to, finds which line can take them, and checks who gets pushed if they move. With a hundred open orders, that search is the morning.
The agent already has the four released operations and their orders. It looks up the load on lines qualified to run them. Those relationships are already in the model: an operation hangs on a manufacturing order, a manufacturing order hangs on a sales order, and each line has a record of what it can run. Eight-color print can only run on Line 8 and Line 9. Walking that graph takes under a second, and the indirect effects don’t get dropped on the way.
It also separates two facts that are easy to mix together. The system currently shows 21 late orders. Seventeen of them were already late before the stoppage. Only four were caused by it — their operations were just released and don’t have a new date yet. Without that split, you can’t tell what a fix actually recovered.
Three options, each one a real schedule
The agent tries three responses on a copy of the plan. The live schedule doesn’t move until one of them is accepted.
| Option | Late orders | Recovered | Newly late | Operations moved | Lines on overtime |
|---|---|---|---|---|---|
| A. Replan now. Move the work. | 19 | 2 | 0 | 3 | 0 |
| B. Add 20% overtime on Line 9, then replan | 18 | 3 | 0 | 3 | 1 |
| C. Don’t replan. Wait for the repair. | 21 | 0 | 0 | 0 | 0 |
Every number in that table comes from a full scheduling run, not an estimate. B saves one more order than A, and the price is overtime on Line 9. C changes nothing, which is the right answer when the line will be back quickly.
The decision was made before the motor failed
This used to be the slow part. Find the supervisor to talk about overtime. Tell sales which dates move. Wait for a nod. A few hours is normal. A day is not unusual.
This time it didn’t wait. The planner had already given the agent three limits: don’t create a newly late order, don’t add overtime, and don’t move more than 40 operations. An option inside all three can be applied without asking.
A fits. No new late orders, no overtime, three operations moved. The agent recommends A, records the approval against the event, and applies the replan. The log says 11:28. Two minutes after the shop reported the failure.
B wasn’t chosen because it needs overtime. Overtime costs money and needs people, so the boundary says zero lines on overtime. If the planner later decides this class of case can be left to the agent, they change that limit from zero to one.
If the recommended option had crossed the boundary — overtime is the only way to save the orders — the agent stops and puts the comparison on the planner’s list. Someone has to choose it.
Publishing it, and taking it back
After the replan, Line 8 is marked down and its work sits on Line 9, the other eight-color press.
If maintenance finishes early, or the event was a false alarm, the execution log has a rollback. The plan returns to what it was before the stoppage. Every step the agent took can be undone the same way.
Where the time actually went
| Step | Before | This time |
|---|---|---|
| Noticing | Whoever happens to see it | The shop reports it, and the system picks it up |
| Judging the impact | A planner flipping through sheets, half an hour to half a day | The agent walks the relationships, in seconds |
| Trying options | Change a parameter, re-run, compare. Hours. | Three options, each one a full schedule |
| Deciding | A conversation, a few hours to a day | Inside the boundary, the agent acts. Outside it, the planner does. |
| Issuing the plan | Edit it, then send it | Applied when it’s accepted, and reversible |
The largest saving is the decision. It comes from a rule written down in advance: what may be done directly, and what has to be asked. That line used to live in each person’s head, and the standards didn’t match. Now it’s in the system, and every execution is on the record. Anyone can look it up. The same comparison, and what an explanation has to include before a planner will trust it, is the subject of why a recommendation has to explain itself.
A check you can run this week
Pick the last three line exceptions and write down five times:
| What to record | What the gap tells you |
|---|---|
| When it actually happened | Use the floor’s time, not the time the system logged it |
| When the planner knew | The gap is how long noticing took |
| When the impact was clear | The gap is how long tracing related orders took |
| When the first option existed | The gap is how long the trial-and-error took |
| When the revised plan was issued | The gap is how long coordination and sign-off took |
Three samples is enough to see the pattern. Slow to notice is a monitoring problem. Slow to judge the impact means the relationships aren’t in the system. Slow to try options means there is no automatic re-solve. Slow to decide means there is no comparison you can put side by side, or no boundary agreed in advance.
Those four problems have four different fixes. Without the times, the diagnosis is usually just that the planners aren’t fast enough.
The loop this sits inside — sense, understand, decide, improve — is described in putting AI into the plan, rather than beside it. You can also see how disruption-response agents are governed on the agents page.



