@teamkeel/solver 0.0.0-stage → 0.509.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/index.cjs +6878 -0
  2. package/dist/index.d.cts +9 -0
  3. package/dist/index.d.ts +9 -0
  4. package/dist/index.js +6850 -0
  5. package/dist/internal.cjs +17244 -0
  6. package/dist/internal.d.cts +1275 -0
  7. package/dist/internal.d.ts +1275 -0
  8. package/dist/internal.js +17164 -0
  9. package/dist/layout-ZQ45Tlkb.d.cts +2111 -0
  10. package/dist/layout-efr1Ke_2.d.ts +2111 -0
  11. package/dist/layout.cjs +19 -0
  12. package/dist/layout.d.cts +2 -0
  13. package/dist/layout.d.ts +2 -0
  14. package/dist/layout.js +1 -0
  15. package/dist/record-results-BWnJIpkK.d.ts +222 -0
  16. package/dist/record-results-DPczGZWH.d.cts +222 -0
  17. package/dist/types-DIFPlxBZ.d.cts +1865 -0
  18. package/dist/types-DIFPlxBZ.d.ts +1865 -0
  19. package/fixtures/operation/bakery/operation.json +350 -0
  20. package/fixtures/operation/bakery/plan.json +872 -0
  21. package/fixtures/operation/bakery/readback.json +114 -0
  22. package/fixtures/operation/bakery/score.json +1520 -0
  23. package/fixtures/operation/bakery/timeline.json +2376 -0
  24. package/fixtures/operation/clinic/operation.json +223 -0
  25. package/fixtures/operation/clinic/plan.json +383 -0
  26. package/fixtures/operation/clinic/readback.json +83 -0
  27. package/fixtures/operation/clinic/score.json +1305 -0
  28. package/fixtures/operation/clinic/timeline.json +2283 -0
  29. package/fixtures/operation/field-service/operation.json +194 -0
  30. package/fixtures/operation/field-service/plan.json +172 -0
  31. package/fixtures/operation/field-service/readback.json +73 -0
  32. package/fixtures/operation/field-service/score.json +585 -0
  33. package/fixtures/operation/field-service/timeline.json +661 -0
  34. package/fixtures/operation/filling/operation.json +245 -0
  35. package/fixtures/operation/filling/plan.json +525 -0
  36. package/fixtures/operation/filling/readback.json +87 -0
  37. package/fixtures/operation/filling/score.json +756 -0
  38. package/fixtures/operation/filling/timeline.json +1322 -0
  39. package/fixtures/operation/shop/operation.json +320 -0
  40. package/fixtures/operation/shop/plan.json +664 -0
  41. package/fixtures/operation/shop/readback.json +130 -0
  42. package/fixtures/operation/shop/score.json +1106 -0
  43. package/fixtures/operation/shop/timeline.json +2734 -0
  44. package/fixtures/operation/warehouse-day/operation.json +517 -0
  45. package/fixtures/operation/warehouse-day/plan.json +477 -0
  46. package/fixtures/operation/warehouse-day/readback.json +207 -0
  47. package/fixtures/operation/warehouse-day/score.json +979 -0
  48. package/fixtures/operation/warehouse-day/timeline.json +1420 -0
  49. package/package.json +63 -4
  50. package/README.md +0 -3
@@ -0,0 +1,1322 @@
1
+ {
2
+ "schema": "keel.solver.timeline/2",
3
+ "ladder": [
4
+ {
5
+ "level": 0,
6
+ "about": null,
7
+ "name": null,
8
+ "points": 0,
9
+ "parts": [
10
+ {
11
+ "measure": "limit",
12
+ "name": "Closes at 22:00, unless the day can't fit.",
13
+ "value": 0,
14
+ "unit": "minutes",
15
+ "weight": 1,
16
+ "points": 0,
17
+ "label": "Batches after closing"
18
+ }
19
+ ]
20
+ },
21
+ {
22
+ "level": 1,
23
+ "about": "priorities.Batches filled by their due time, then the day finished early",
24
+ "name": "Batches filled by their due time, then the day finished early",
25
+ "points": 550,
26
+ "parts": [
27
+ {
28
+ "measure": "rule",
29
+ "name": "Fill by its due time (dueAt), or it's late.",
30
+ "value": 13,
31
+ "unit": "minutes",
32
+ "weight": 10,
33
+ "points": 130,
34
+ "label": "Batches late"
35
+ },
36
+ {
37
+ "measure": "goal",
38
+ "name": "First, batches filled by their due time, then the day finished early: the minutes the batches are late times 10, plus the finish time.",
39
+ "value": 420,
40
+ "unit": "minutes",
41
+ "weight": 1,
42
+ "points": 420,
43
+ "label": "Finish time"
44
+ }
45
+ ]
46
+ }
47
+ ],
48
+ "run": "run-filling-1",
49
+ "status": "planned",
50
+ "broken": [],
51
+ "operation": "sha256:379d002d5d0721f34977dd428db486348ccc0fcc923be6d0b2cbf9a7bf43b99a",
52
+ "showing": null,
53
+ "zone": "Europe/London",
54
+ "from": "2026-10-05T05:00:00.000Z",
55
+ "to": "2026-10-05T23:00:00.000Z",
56
+ "periods": [
57
+ {
58
+ "id": "2026-10-05",
59
+ "label": "Mon 5 Oct",
60
+ "from": "2026-10-05T05:00:00.000Z",
61
+ "to": "2026-10-05T23:00:00.000Z",
62
+ "open": true,
63
+ "plan": null,
64
+ "fits": [],
65
+ "day": {
66
+ "run": "run-filling-1",
67
+ "mode": null,
68
+ "status": "optimal",
69
+ "why": "new",
70
+ "reusedFrom": null,
71
+ "says": "Solved this round.",
72
+ "modes": [],
73
+ "figures": []
74
+ },
75
+ "tight": [],
76
+ "cuts": []
77
+ }
78
+ ],
79
+ "rows": [
80
+ {
81
+ "id": "line-1",
82
+ "noun": "equipment.line",
83
+ "label": "Line 1",
84
+ "area": "filling",
85
+ "facts": []
86
+ },
87
+ {
88
+ "id": "line-2",
89
+ "noun": "equipment.line",
90
+ "label": "Line 2",
91
+ "area": "filling",
92
+ "facts": []
93
+ },
94
+ {
95
+ "id": "line-3",
96
+ "noun": "equipment.line",
97
+ "label": "Line 3",
98
+ "area": "filling",
99
+ "facts": []
100
+ },
101
+ {
102
+ "id": "vessel-a",
103
+ "noun": "equipment.mixing vessel",
104
+ "label": "Vessel A",
105
+ "area": null,
106
+ "facts": []
107
+ },
108
+ {
109
+ "id": "vessel-b",
110
+ "noun": "equipment.mixing vessel",
111
+ "label": "Vessel B",
112
+ "area": null,
113
+ "facts": []
114
+ }
115
+ ],
116
+ "crews": [],
117
+ "bands": [
118
+ {
119
+ "kind": "closed",
120
+ "about": "hours",
121
+ "from": "2026-10-05T21:00:00.000Z",
122
+ "to": "2026-10-05T23:00:00.000Z"
123
+ }
124
+ ],
125
+ "bars": [
126
+ {
127
+ "row": "line-1",
128
+ "period": "2026-10-05",
129
+ "item": "batch-02",
130
+ "kind": "work",
131
+ "about": "processes.batch.steps.fill",
132
+ "start": "2026-10-05T05:35:00.000Z",
133
+ "end": "2026-10-05T06:23:00.000Z"
134
+ },
135
+ {
136
+ "row": "line-1",
137
+ "period": "2026-10-05",
138
+ "item": null,
139
+ "kind": "downtime",
140
+ "about": "equipment.line.downtime.line clean",
141
+ "start": "2026-10-05T06:23:00.000Z",
142
+ "end": "2026-10-05T06:53:00.000Z",
143
+ "reason": "Orange tonic → Lemonade"
144
+ },
145
+ {
146
+ "row": "line-1",
147
+ "period": "2026-10-05",
148
+ "item": "batch-03",
149
+ "kind": "work",
150
+ "about": "processes.batch.steps.fill",
151
+ "start": "2026-10-05T06:53:00.000Z",
152
+ "end": "2026-10-05T08:13:00.000Z",
153
+ "late": 13
154
+ },
155
+ {
156
+ "row": "line-1",
157
+ "period": "2026-10-05",
158
+ "item": "batch-06",
159
+ "kind": "work",
160
+ "about": "processes.batch.steps.fill",
161
+ "start": "2026-10-05T09:10:00.000Z",
162
+ "end": "2026-10-05T10:10:00.000Z"
163
+ },
164
+ {
165
+ "row": "line-1",
166
+ "period": "2026-10-05",
167
+ "item": null,
168
+ "kind": "downtime",
169
+ "about": "equipment.line.downtime.line clean",
170
+ "start": "2026-10-05T10:15:00.000Z",
171
+ "end": "2026-10-05T10:45:00.000Z",
172
+ "reason": "Lemonade → Orange tonic"
173
+ },
174
+ {
175
+ "row": "line-1",
176
+ "period": "2026-10-05",
177
+ "item": "batch-07",
178
+ "kind": "work",
179
+ "about": "processes.batch.steps.fill",
180
+ "start": "2026-10-05T10:45:00.000Z",
181
+ "end": "2026-10-05T11:57:00.000Z"
182
+ },
183
+ {
184
+ "row": "line-2",
185
+ "period": "2026-10-05",
186
+ "item": "batch-01",
187
+ "kind": "work",
188
+ "about": "processes.batch.steps.fill",
189
+ "start": "2026-10-05T05:40:00.000Z",
190
+ "end": "2026-10-05T06:55:00.000Z"
191
+ },
192
+ {
193
+ "row": "line-2",
194
+ "period": "2026-10-05",
195
+ "item": null,
196
+ "kind": "downtime",
197
+ "about": "equipment.line.downtime.line clean",
198
+ "start": "2026-10-05T07:10:00.000Z",
199
+ "end": "2026-10-05T07:55:00.000Z",
200
+ "reason": "Anise tonic → Tomato sauce"
201
+ },
202
+ {
203
+ "row": "line-2",
204
+ "period": "2026-10-05",
205
+ "item": "batch-04",
206
+ "kind": "work",
207
+ "about": "processes.batch.steps.fill",
208
+ "start": "2026-10-05T07:55:00.000Z",
209
+ "end": "2026-10-05T08:40:00.000Z"
210
+ },
211
+ {
212
+ "row": "line-2",
213
+ "period": "2026-10-05",
214
+ "item": "batch-08",
215
+ "kind": "work",
216
+ "about": "processes.batch.steps.fill",
217
+ "start": "2026-10-05T11:00:00.000Z",
218
+ "end": "2026-10-05T12:00:00.000Z"
219
+ },
220
+ {
221
+ "row": "line-3",
222
+ "period": "2026-10-05",
223
+ "item": "batch-05",
224
+ "kind": "work",
225
+ "about": "processes.batch.steps.fill",
226
+ "start": "2026-10-05T08:53:00.000Z",
227
+ "end": "2026-10-05T10:00:00.000Z"
228
+ },
229
+ {
230
+ "row": "vessel-a",
231
+ "period": "2026-10-05",
232
+ "item": "batch-01",
233
+ "kind": "work",
234
+ "about": "processes.batch.steps.mix",
235
+ "start": "2026-10-05T05:00:00.000Z",
236
+ "end": "2026-10-05T05:40:00.000Z"
237
+ },
238
+ {
239
+ "row": "vessel-a",
240
+ "period": "2026-10-05",
241
+ "item": "batch-01",
242
+ "kind": "hold",
243
+ "about": "processes.batch.steps.mix",
244
+ "start": "2026-10-05T05:40:00.000Z",
245
+ "end": "2026-10-05T06:55:00.000Z",
246
+ "holdsFor": "processes.batch.steps.fill"
247
+ },
248
+ {
249
+ "row": "vessel-a",
250
+ "period": "2026-10-05",
251
+ "item": "batch-04",
252
+ "kind": "work",
253
+ "about": "processes.batch.steps.mix",
254
+ "start": "2026-10-05T06:55:00.000Z",
255
+ "end": "2026-10-05T07:55:00.000Z"
256
+ },
257
+ {
258
+ "row": "vessel-a",
259
+ "period": "2026-10-05",
260
+ "item": "batch-04",
261
+ "kind": "hold",
262
+ "about": "processes.batch.steps.mix",
263
+ "start": "2026-10-05T07:55:00.000Z",
264
+ "end": "2026-10-05T08:40:00.000Z",
265
+ "holdsFor": "processes.batch.steps.fill"
266
+ },
267
+ {
268
+ "row": "vessel-a",
269
+ "period": "2026-10-05",
270
+ "item": "batch-06",
271
+ "kind": "work",
272
+ "about": "processes.batch.steps.mix",
273
+ "start": "2026-10-05T08:40:00.000Z",
274
+ "end": "2026-10-05T09:10:00.000Z"
275
+ },
276
+ {
277
+ "row": "vessel-a",
278
+ "period": "2026-10-05",
279
+ "item": "batch-06",
280
+ "kind": "hold",
281
+ "about": "processes.batch.steps.mix",
282
+ "start": "2026-10-05T09:10:00.000Z",
283
+ "end": "2026-10-05T10:10:00.000Z",
284
+ "holdsFor": "processes.batch.steps.fill"
285
+ },
286
+ {
287
+ "row": "vessel-a",
288
+ "period": "2026-10-05",
289
+ "item": "batch-07",
290
+ "kind": "work",
291
+ "about": "processes.batch.steps.mix",
292
+ "start": "2026-10-05T10:10:00.000Z",
293
+ "end": "2026-10-05T10:45:00.000Z"
294
+ },
295
+ {
296
+ "row": "vessel-a",
297
+ "period": "2026-10-05",
298
+ "item": "batch-07",
299
+ "kind": "hold",
300
+ "about": "processes.batch.steps.mix",
301
+ "start": "2026-10-05T10:45:00.000Z",
302
+ "end": "2026-10-05T11:57:00.000Z",
303
+ "holdsFor": "processes.batch.steps.fill"
304
+ },
305
+ {
306
+ "row": "vessel-b",
307
+ "period": "2026-10-05",
308
+ "item": "batch-02",
309
+ "kind": "work",
310
+ "about": "processes.batch.steps.mix",
311
+ "start": "2026-10-05T05:00:00.000Z",
312
+ "end": "2026-10-05T05:35:00.000Z"
313
+ },
314
+ {
315
+ "row": "vessel-b",
316
+ "period": "2026-10-05",
317
+ "item": "batch-02",
318
+ "kind": "hold",
319
+ "about": "processes.batch.steps.mix",
320
+ "start": "2026-10-05T05:35:00.000Z",
321
+ "end": "2026-10-05T06:23:00.000Z",
322
+ "holdsFor": "processes.batch.steps.fill"
323
+ },
324
+ {
325
+ "row": "vessel-b",
326
+ "period": "2026-10-05",
327
+ "item": "batch-03",
328
+ "kind": "work",
329
+ "about": "processes.batch.steps.mix",
330
+ "start": "2026-10-05T06:23:00.000Z",
331
+ "end": "2026-10-05T06:53:00.000Z"
332
+ },
333
+ {
334
+ "row": "vessel-b",
335
+ "period": "2026-10-05",
336
+ "item": "batch-03",
337
+ "kind": "hold",
338
+ "about": "processes.batch.steps.mix",
339
+ "start": "2026-10-05T06:53:00.000Z",
340
+ "end": "2026-10-05T08:13:00.000Z",
341
+ "holdsFor": "processes.batch.steps.fill"
342
+ },
343
+ {
344
+ "row": "vessel-b",
345
+ "period": "2026-10-05",
346
+ "item": "batch-05",
347
+ "kind": "work",
348
+ "about": "processes.batch.steps.mix",
349
+ "start": "2026-10-05T08:13:00.000Z",
350
+ "end": "2026-10-05T08:53:00.000Z"
351
+ },
352
+ {
353
+ "row": "vessel-b",
354
+ "period": "2026-10-05",
355
+ "item": "batch-05",
356
+ "kind": "hold",
357
+ "about": "processes.batch.steps.mix",
358
+ "start": "2026-10-05T08:53:00.000Z",
359
+ "end": "2026-10-05T10:00:00.000Z",
360
+ "holdsFor": "processes.batch.steps.fill"
361
+ },
362
+ {
363
+ "row": "vessel-b",
364
+ "period": "2026-10-05",
365
+ "item": "batch-08",
366
+ "kind": "work",
367
+ "about": "processes.batch.steps.mix",
368
+ "start": "2026-10-05T10:00:00.000Z",
369
+ "end": "2026-10-05T11:00:00.000Z"
370
+ },
371
+ {
372
+ "row": "vessel-b",
373
+ "period": "2026-10-05",
374
+ "item": "batch-08",
375
+ "kind": "hold",
376
+ "about": "processes.batch.steps.mix",
377
+ "start": "2026-10-05T11:00:00.000Z",
378
+ "end": "2026-10-05T12:00:00.000Z",
379
+ "holdsFor": "processes.batch.steps.fill"
380
+ }
381
+ ],
382
+ "marks": [
383
+ {
384
+ "kind": "due",
385
+ "about": "processes.batch.due",
386
+ "at": "2026-10-05T07:00:00.000Z",
387
+ "item": "batch-01",
388
+ "spare": 5
389
+ },
390
+ {
391
+ "kind": "due",
392
+ "about": "processes.batch.due",
393
+ "at": "2026-10-05T07:00:00.000Z",
394
+ "item": "batch-02",
395
+ "spare": 37
396
+ },
397
+ {
398
+ "kind": "due",
399
+ "about": "processes.batch.due",
400
+ "at": "2026-10-05T08:00:00.000Z",
401
+ "item": "batch-03",
402
+ "late": 13
403
+ },
404
+ {
405
+ "kind": "due",
406
+ "about": "processes.batch.due",
407
+ "at": "2026-10-05T09:00:00.000Z",
408
+ "item": "batch-04",
409
+ "spare": 20
410
+ },
411
+ {
412
+ "kind": "due",
413
+ "about": "processes.batch.due",
414
+ "at": "2026-10-05T10:00:00.000Z",
415
+ "item": "batch-05",
416
+ "spare": 0
417
+ },
418
+ {
419
+ "kind": "due",
420
+ "about": "processes.batch.due",
421
+ "at": "2026-10-05T10:30:00.000Z",
422
+ "item": "batch-06",
423
+ "spare": 20
424
+ },
425
+ {
426
+ "kind": "due",
427
+ "about": "processes.batch.due",
428
+ "at": "2026-10-05T12:00:00.000Z",
429
+ "item": "batch-07",
430
+ "spare": 3
431
+ },
432
+ {
433
+ "kind": "due",
434
+ "about": "processes.batch.due",
435
+ "at": "2026-10-05T13:00:00.000Z",
436
+ "item": "batch-08",
437
+ "spare": 60
438
+ }
439
+ ],
440
+ "items": [
441
+ {
442
+ "id": "batch-01",
443
+ "process": "processes.batch",
444
+ "label": "B-01",
445
+ "period": "2026-10-05",
446
+ "facts": [
447
+ {
448
+ "about": "processes.batch.due",
449
+ "label": "due time",
450
+ "text": "08:00"
451
+ }
452
+ ],
453
+ "late": null,
454
+ "fulfils": [],
455
+ "steps": [
456
+ {
457
+ "about": "processes.batch.steps.mix",
458
+ "on": "vessel-a",
459
+ "start": "2026-10-05T05:00:00.000Z",
460
+ "end": "2026-10-05T05:40:00.000Z",
461
+ "causes": [
462
+ {
463
+ "kind": "hours",
464
+ "about": "hours",
465
+ "says": "The site opens at 06:00.",
466
+ "short": "Opens 06:00",
467
+ "at": "2026-10-05T05:00:00.000Z",
468
+ "assumed": false,
469
+ "refs": {},
470
+ "levers": [
471
+ {
472
+ "kind": "hours",
473
+ "about": "hours",
474
+ "says": "Open earlier"
475
+ }
476
+ ]
477
+ }
478
+ ],
479
+ "eligible": []
480
+ },
481
+ {
482
+ "about": "processes.batch.steps.fill",
483
+ "on": "line-2",
484
+ "start": "2026-10-05T05:40:00.000Z",
485
+ "end": "2026-10-05T06:55:00.000Z",
486
+ "causes": [
487
+ {
488
+ "kind": "step-before",
489
+ "about": "processes.batch.steps.mix",
490
+ "says": "It waits for its mix to end (06:40).",
491
+ "short": "Its mix ends 06:40",
492
+ "at": "2026-10-05T05:40:00.000Z",
493
+ "assumed": false,
494
+ "refs": {
495
+ "item": "batch-01",
496
+ "step": "processes.batch.steps.mix"
497
+ },
498
+ "levers": [
499
+ {
500
+ "kind": "row",
501
+ "about": "processes.batch.steps.mix",
502
+ "says": "Its mix time"
503
+ }
504
+ ]
505
+ }
506
+ ],
507
+ "eligible": [
508
+ {
509
+ "on": "equipment.line",
510
+ "rows": [
511
+ "line-1",
512
+ "line-2",
513
+ "line-3"
514
+ ]
515
+ }
516
+ ]
517
+ }
518
+ ],
519
+ "broken": [],
520
+ "early": null
521
+ },
522
+ {
523
+ "id": "batch-02",
524
+ "process": "processes.batch",
525
+ "label": "B-02",
526
+ "period": "2026-10-05",
527
+ "facts": [
528
+ {
529
+ "about": "processes.batch.due",
530
+ "label": "due time",
531
+ "text": "08:00"
532
+ }
533
+ ],
534
+ "late": null,
535
+ "fulfils": [],
536
+ "steps": [
537
+ {
538
+ "about": "processes.batch.steps.mix",
539
+ "on": "vessel-b",
540
+ "start": "2026-10-05T05:00:00.000Z",
541
+ "end": "2026-10-05T05:35:00.000Z",
542
+ "causes": [
543
+ {
544
+ "kind": "hours",
545
+ "about": "hours",
546
+ "says": "The site opens at 06:00.",
547
+ "short": "Opens 06:00",
548
+ "at": "2026-10-05T05:00:00.000Z",
549
+ "assumed": false,
550
+ "refs": {},
551
+ "levers": [
552
+ {
553
+ "kind": "hours",
554
+ "about": "hours",
555
+ "says": "Open earlier"
556
+ }
557
+ ]
558
+ }
559
+ ],
560
+ "eligible": []
561
+ },
562
+ {
563
+ "about": "processes.batch.steps.fill",
564
+ "on": "line-1",
565
+ "start": "2026-10-05T05:35:00.000Z",
566
+ "end": "2026-10-05T06:23:00.000Z",
567
+ "causes": [
568
+ {
569
+ "kind": "step-before",
570
+ "about": "processes.batch.steps.mix",
571
+ "says": "It waits for its mix to end (06:35).",
572
+ "short": "Its mix ends 06:35",
573
+ "at": "2026-10-05T05:35:00.000Z",
574
+ "assumed": false,
575
+ "refs": {
576
+ "item": "batch-02",
577
+ "step": "processes.batch.steps.mix"
578
+ },
579
+ "levers": [
580
+ {
581
+ "kind": "row",
582
+ "about": "processes.batch.steps.mix",
583
+ "says": "Its mix time"
584
+ }
585
+ ]
586
+ }
587
+ ],
588
+ "eligible": [
589
+ {
590
+ "on": "equipment.line",
591
+ "rows": [
592
+ "line-1",
593
+ "line-2",
594
+ "line-3"
595
+ ]
596
+ }
597
+ ]
598
+ }
599
+ ],
600
+ "broken": [],
601
+ "early": null
602
+ },
603
+ {
604
+ "id": "batch-03",
605
+ "process": "processes.batch",
606
+ "label": "B-03",
607
+ "period": "2026-10-05",
608
+ "facts": [
609
+ {
610
+ "about": "processes.batch.due",
611
+ "label": "due time",
612
+ "text": "09:00"
613
+ }
614
+ ],
615
+ "late": {
616
+ "minutes": 13,
617
+ "against": "due",
618
+ "says": "B-03 is 13 min late: due time 09:00.",
619
+ "chain": [
620
+ {
621
+ "kind": "step-before",
622
+ "about": "processes.batch.steps.mix",
623
+ "says": "It waits for its mix to end (07:53).",
624
+ "short": "Its mix ends 07:53",
625
+ "at": "2026-10-05T06:53:00.000Z",
626
+ "assumed": false,
627
+ "refs": {
628
+ "item": "batch-03",
629
+ "step": "processes.batch.steps.mix"
630
+ },
631
+ "levers": [
632
+ {
633
+ "kind": "row",
634
+ "about": "processes.batch.steps.mix",
635
+ "says": "Its mix time"
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "kind": "equipment-busy",
641
+ "about": "equipment.mixing vessel",
642
+ "says": "Vessel B is kept for B-02's fill until 07:23.",
643
+ "short": "Vessel B has B-02 until 07:23",
644
+ "at": "2026-10-05T06:23:00.000Z",
645
+ "assumed": true,
646
+ "refs": {
647
+ "item": "batch-02",
648
+ "row": "vessel-b",
649
+ "step": "processes.batch.steps.fill"
650
+ },
651
+ "levers": [
652
+ {
653
+ "kind": "rule",
654
+ "about": "processes.batch.steps.mix",
655
+ "says": "Mix in another mixing vessel"
656
+ },
657
+ {
658
+ "kind": "equipment",
659
+ "about": "equipment.mixing vessel",
660
+ "says": "One more mixing vessel"
661
+ }
662
+ ]
663
+ },
664
+ {
665
+ "kind": "step-before",
666
+ "about": "processes.batch.steps.mix",
667
+ "says": "B-02 waits for its mix to end (06:35).",
668
+ "short": "B-02's mix ends 06:35",
669
+ "at": "2026-10-05T05:35:00.000Z",
670
+ "assumed": false,
671
+ "refs": {
672
+ "item": "batch-02",
673
+ "step": "processes.batch.steps.mix"
674
+ },
675
+ "levers": [
676
+ {
677
+ "kind": "row",
678
+ "about": "processes.batch.steps.mix",
679
+ "says": "Its mix time"
680
+ }
681
+ ]
682
+ }
683
+ ]
684
+ },
685
+ "fulfils": [],
686
+ "steps": [
687
+ {
688
+ "about": "processes.batch.steps.mix",
689
+ "on": "vessel-b",
690
+ "start": "2026-10-05T06:23:00.000Z",
691
+ "end": "2026-10-05T06:53:00.000Z",
692
+ "causes": [
693
+ {
694
+ "kind": "equipment-busy",
695
+ "about": "equipment.mixing vessel",
696
+ "says": "Vessel B is kept for B-02's fill until 07:23.",
697
+ "short": "Vessel B has B-02 until 07:23",
698
+ "at": "2026-10-05T06:23:00.000Z",
699
+ "assumed": true,
700
+ "refs": {
701
+ "item": "batch-02",
702
+ "row": "vessel-b",
703
+ "step": "processes.batch.steps.fill"
704
+ },
705
+ "levers": [
706
+ {
707
+ "kind": "rule",
708
+ "about": "processes.batch.steps.mix",
709
+ "says": "Mix in another mixing vessel"
710
+ },
711
+ {
712
+ "kind": "equipment",
713
+ "about": "equipment.mixing vessel",
714
+ "says": "One more mixing vessel"
715
+ }
716
+ ]
717
+ }
718
+ ],
719
+ "eligible": []
720
+ },
721
+ {
722
+ "about": "processes.batch.steps.fill",
723
+ "on": "line-1",
724
+ "start": "2026-10-05T06:53:00.000Z",
725
+ "end": "2026-10-05T08:13:00.000Z",
726
+ "causes": [
727
+ {
728
+ "kind": "step-before",
729
+ "about": "processes.batch.steps.mix",
730
+ "says": "It waits for its mix to end (07:53).",
731
+ "short": "Its mix ends 07:53",
732
+ "at": "2026-10-05T06:53:00.000Z",
733
+ "assumed": false,
734
+ "refs": {
735
+ "item": "batch-03",
736
+ "step": "processes.batch.steps.mix"
737
+ },
738
+ "levers": [
739
+ {
740
+ "kind": "row",
741
+ "about": "processes.batch.steps.mix",
742
+ "says": "Its mix time"
743
+ }
744
+ ]
745
+ },
746
+ {
747
+ "kind": "downtime",
748
+ "about": "equipment.line.downtime.line clean",
749
+ "says": "Line 1's line clean runs 07:23–07:53: Orange tonic → Lemonade.",
750
+ "short": "Line clean at Line 1 until 07:53",
751
+ "at": "2026-10-05T06:53:00.000Z",
752
+ "assumed": false,
753
+ "refs": {
754
+ "item": "batch-02",
755
+ "row": "line-1",
756
+ "step": "processes.batch.steps.fill"
757
+ },
758
+ "levers": [
759
+ {
760
+ "kind": "figure",
761
+ "about": "equipment.line.downtime.line clean",
762
+ "says": "The line clean's time for Orange tonic → Lemonade"
763
+ },
764
+ {
765
+ "kind": "rule",
766
+ "about": "equipment.line.downtime.line clean",
767
+ "says": "When the line clean runs"
768
+ }
769
+ ]
770
+ }
771
+ ],
772
+ "eligible": [
773
+ {
774
+ "on": "equipment.line",
775
+ "rows": [
776
+ "line-1",
777
+ "line-2",
778
+ "line-3"
779
+ ]
780
+ }
781
+ ]
782
+ }
783
+ ],
784
+ "broken": [],
785
+ "early": null
786
+ },
787
+ {
788
+ "id": "batch-04",
789
+ "process": "processes.batch",
790
+ "label": "B-04",
791
+ "period": "2026-10-05",
792
+ "facts": [
793
+ {
794
+ "about": "processes.batch.due",
795
+ "label": "due time",
796
+ "text": "10:00"
797
+ },
798
+ {
799
+ "about": "processes.batch.steps.fill",
800
+ "label": "fits",
801
+ "text": "2 of 3 lines"
802
+ }
803
+ ],
804
+ "late": null,
805
+ "fulfils": [],
806
+ "steps": [
807
+ {
808
+ "about": "processes.batch.steps.mix",
809
+ "on": "vessel-a",
810
+ "start": "2026-10-05T06:55:00.000Z",
811
+ "end": "2026-10-05T07:55:00.000Z",
812
+ "causes": [
813
+ {
814
+ "kind": "equipment-busy",
815
+ "about": "equipment.mixing vessel",
816
+ "says": "Vessel A is kept for B-01's fill until 07:55.",
817
+ "short": "Vessel A has B-01 until 07:55",
818
+ "at": "2026-10-05T06:55:00.000Z",
819
+ "assumed": true,
820
+ "refs": {
821
+ "item": "batch-01",
822
+ "row": "vessel-a",
823
+ "step": "processes.batch.steps.fill"
824
+ },
825
+ "levers": [
826
+ {
827
+ "kind": "rule",
828
+ "about": "processes.batch.steps.mix",
829
+ "says": "Mix in another mixing vessel"
830
+ },
831
+ {
832
+ "kind": "equipment",
833
+ "about": "equipment.mixing vessel",
834
+ "says": "One more mixing vessel"
835
+ }
836
+ ]
837
+ }
838
+ ],
839
+ "eligible": []
840
+ },
841
+ {
842
+ "about": "processes.batch.steps.fill",
843
+ "on": "line-2",
844
+ "start": "2026-10-05T07:55:00.000Z",
845
+ "end": "2026-10-05T08:40:00.000Z",
846
+ "causes": [
847
+ {
848
+ "kind": "step-before",
849
+ "about": "processes.batch.steps.mix",
850
+ "says": "It waits for its mix to end (08:55).",
851
+ "short": "Its mix ends 08:55",
852
+ "at": "2026-10-05T07:55:00.000Z",
853
+ "assumed": false,
854
+ "refs": {
855
+ "item": "batch-04",
856
+ "step": "processes.batch.steps.mix"
857
+ },
858
+ "levers": [
859
+ {
860
+ "kind": "row",
861
+ "about": "processes.batch.steps.mix",
862
+ "says": "Its mix time"
863
+ }
864
+ ]
865
+ }
866
+ ],
867
+ "eligible": [
868
+ {
869
+ "on": "equipment.line",
870
+ "rows": [
871
+ "line-1",
872
+ "line-2"
873
+ ]
874
+ }
875
+ ]
876
+ }
877
+ ],
878
+ "broken": [],
879
+ "early": null
880
+ },
881
+ {
882
+ "id": "batch-05",
883
+ "process": "processes.batch",
884
+ "label": "B-05",
885
+ "period": "2026-10-05",
886
+ "facts": [
887
+ {
888
+ "about": "processes.batch.due",
889
+ "label": "due time",
890
+ "text": "11:00"
891
+ }
892
+ ],
893
+ "late": null,
894
+ "fulfils": [],
895
+ "steps": [
896
+ {
897
+ "about": "processes.batch.steps.mix",
898
+ "on": "vessel-b",
899
+ "start": "2026-10-05T08:13:00.000Z",
900
+ "end": "2026-10-05T08:53:00.000Z",
901
+ "causes": [
902
+ {
903
+ "kind": "equipment-busy",
904
+ "about": "equipment.mixing vessel",
905
+ "says": "Vessel B is kept for B-03's fill until 09:13.",
906
+ "short": "Vessel B has B-03 until 09:13",
907
+ "at": "2026-10-05T08:13:00.000Z",
908
+ "assumed": true,
909
+ "refs": {
910
+ "item": "batch-03",
911
+ "row": "vessel-b",
912
+ "step": "processes.batch.steps.fill"
913
+ },
914
+ "levers": [
915
+ {
916
+ "kind": "rule",
917
+ "about": "processes.batch.steps.mix",
918
+ "says": "Mix in another mixing vessel"
919
+ },
920
+ {
921
+ "kind": "equipment",
922
+ "about": "equipment.mixing vessel",
923
+ "says": "One more mixing vessel"
924
+ }
925
+ ]
926
+ }
927
+ ],
928
+ "eligible": []
929
+ },
930
+ {
931
+ "about": "processes.batch.steps.fill",
932
+ "on": "line-3",
933
+ "start": "2026-10-05T08:53:00.000Z",
934
+ "end": "2026-10-05T10:00:00.000Z",
935
+ "causes": [
936
+ {
937
+ "kind": "step-before",
938
+ "about": "processes.batch.steps.mix",
939
+ "says": "It waits for its mix to end (09:53).",
940
+ "short": "Its mix ends 09:53",
941
+ "at": "2026-10-05T08:53:00.000Z",
942
+ "assumed": false,
943
+ "refs": {
944
+ "item": "batch-05",
945
+ "step": "processes.batch.steps.mix"
946
+ },
947
+ "levers": [
948
+ {
949
+ "kind": "row",
950
+ "about": "processes.batch.steps.mix",
951
+ "says": "Its mix time"
952
+ }
953
+ ]
954
+ }
955
+ ],
956
+ "eligible": [
957
+ {
958
+ "on": "equipment.line",
959
+ "rows": [
960
+ "line-1",
961
+ "line-2",
962
+ "line-3"
963
+ ]
964
+ }
965
+ ]
966
+ }
967
+ ],
968
+ "broken": [],
969
+ "early": null
970
+ },
971
+ {
972
+ "id": "batch-06",
973
+ "process": "processes.batch",
974
+ "label": "B-06",
975
+ "period": "2026-10-05",
976
+ "facts": [
977
+ {
978
+ "about": "processes.batch.due",
979
+ "label": "due time",
980
+ "text": "11:30"
981
+ }
982
+ ],
983
+ "late": null,
984
+ "fulfils": [],
985
+ "steps": [
986
+ {
987
+ "about": "processes.batch.steps.mix",
988
+ "on": "vessel-a",
989
+ "start": "2026-10-05T08:40:00.000Z",
990
+ "end": "2026-10-05T09:10:00.000Z",
991
+ "causes": [
992
+ {
993
+ "kind": "equipment-busy",
994
+ "about": "equipment.mixing vessel",
995
+ "says": "Vessel A is kept for B-04's fill until 09:40.",
996
+ "short": "Vessel A has B-04 until 09:40",
997
+ "at": "2026-10-05T08:40:00.000Z",
998
+ "assumed": true,
999
+ "refs": {
1000
+ "item": "batch-04",
1001
+ "row": "vessel-a",
1002
+ "step": "processes.batch.steps.fill"
1003
+ },
1004
+ "levers": [
1005
+ {
1006
+ "kind": "rule",
1007
+ "about": "processes.batch.steps.mix",
1008
+ "says": "Mix in another mixing vessel"
1009
+ },
1010
+ {
1011
+ "kind": "equipment",
1012
+ "about": "equipment.mixing vessel",
1013
+ "says": "One more mixing vessel"
1014
+ }
1015
+ ]
1016
+ }
1017
+ ],
1018
+ "eligible": []
1019
+ },
1020
+ {
1021
+ "about": "processes.batch.steps.fill",
1022
+ "on": "line-1",
1023
+ "start": "2026-10-05T09:10:00.000Z",
1024
+ "end": "2026-10-05T10:10:00.000Z",
1025
+ "causes": [
1026
+ {
1027
+ "kind": "step-before",
1028
+ "about": "processes.batch.steps.mix",
1029
+ "says": "It waits for its mix to end (10:10).",
1030
+ "short": "Its mix ends 10:10",
1031
+ "at": "2026-10-05T09:10:00.000Z",
1032
+ "assumed": false,
1033
+ "refs": {
1034
+ "item": "batch-06",
1035
+ "step": "processes.batch.steps.mix"
1036
+ },
1037
+ "levers": [
1038
+ {
1039
+ "kind": "row",
1040
+ "about": "processes.batch.steps.mix",
1041
+ "says": "Its mix time"
1042
+ }
1043
+ ]
1044
+ }
1045
+ ],
1046
+ "eligible": [
1047
+ {
1048
+ "on": "equipment.line",
1049
+ "rows": [
1050
+ "line-1",
1051
+ "line-2",
1052
+ "line-3"
1053
+ ]
1054
+ }
1055
+ ]
1056
+ }
1057
+ ],
1058
+ "broken": [],
1059
+ "early": null
1060
+ },
1061
+ {
1062
+ "id": "batch-07",
1063
+ "process": "processes.batch",
1064
+ "label": "B-07",
1065
+ "period": "2026-10-05",
1066
+ "facts": [
1067
+ {
1068
+ "about": "processes.batch.due",
1069
+ "label": "due time",
1070
+ "text": "13:00"
1071
+ }
1072
+ ],
1073
+ "late": null,
1074
+ "fulfils": [],
1075
+ "steps": [
1076
+ {
1077
+ "about": "processes.batch.steps.mix",
1078
+ "on": "vessel-a",
1079
+ "start": "2026-10-05T10:10:00.000Z",
1080
+ "end": "2026-10-05T10:45:00.000Z",
1081
+ "causes": [
1082
+ {
1083
+ "kind": "equipment-busy",
1084
+ "about": "equipment.mixing vessel",
1085
+ "says": "Vessel A is kept for B-06's fill until 11:10.",
1086
+ "short": "Vessel A has B-06 until 11:10",
1087
+ "at": "2026-10-05T10:10:00.000Z",
1088
+ "assumed": true,
1089
+ "refs": {
1090
+ "item": "batch-06",
1091
+ "row": "vessel-a",
1092
+ "step": "processes.batch.steps.fill"
1093
+ },
1094
+ "levers": [
1095
+ {
1096
+ "kind": "rule",
1097
+ "about": "processes.batch.steps.mix",
1098
+ "says": "Mix in another mixing vessel"
1099
+ },
1100
+ {
1101
+ "kind": "equipment",
1102
+ "about": "equipment.mixing vessel",
1103
+ "says": "One more mixing vessel"
1104
+ }
1105
+ ]
1106
+ }
1107
+ ],
1108
+ "eligible": []
1109
+ },
1110
+ {
1111
+ "about": "processes.batch.steps.fill",
1112
+ "on": "line-1",
1113
+ "start": "2026-10-05T10:45:00.000Z",
1114
+ "end": "2026-10-05T11:57:00.000Z",
1115
+ "causes": [
1116
+ {
1117
+ "kind": "step-before",
1118
+ "about": "processes.batch.steps.mix",
1119
+ "says": "It waits for its mix to end (11:45).",
1120
+ "short": "Its mix ends 11:45",
1121
+ "at": "2026-10-05T10:45:00.000Z",
1122
+ "assumed": false,
1123
+ "refs": {
1124
+ "item": "batch-07",
1125
+ "step": "processes.batch.steps.mix"
1126
+ },
1127
+ "levers": [
1128
+ {
1129
+ "kind": "row",
1130
+ "about": "processes.batch.steps.mix",
1131
+ "says": "Its mix time"
1132
+ }
1133
+ ]
1134
+ }
1135
+ ],
1136
+ "eligible": [
1137
+ {
1138
+ "on": "equipment.line",
1139
+ "rows": [
1140
+ "line-1",
1141
+ "line-2",
1142
+ "line-3"
1143
+ ]
1144
+ }
1145
+ ]
1146
+ }
1147
+ ],
1148
+ "broken": [],
1149
+ "early": null
1150
+ },
1151
+ {
1152
+ "id": "batch-08",
1153
+ "process": "processes.batch",
1154
+ "label": "B-08",
1155
+ "period": "2026-10-05",
1156
+ "facts": [
1157
+ {
1158
+ "about": "processes.batch.due",
1159
+ "label": "due time",
1160
+ "text": "14:00"
1161
+ },
1162
+ {
1163
+ "about": "processes.batch.steps.fill",
1164
+ "label": "fits",
1165
+ "text": "2 of 3 lines"
1166
+ }
1167
+ ],
1168
+ "late": null,
1169
+ "fulfils": [],
1170
+ "steps": [
1171
+ {
1172
+ "about": "processes.batch.steps.mix",
1173
+ "on": "vessel-b",
1174
+ "start": "2026-10-05T10:00:00.000Z",
1175
+ "end": "2026-10-05T11:00:00.000Z",
1176
+ "causes": [
1177
+ {
1178
+ "kind": "equipment-busy",
1179
+ "about": "equipment.mixing vessel",
1180
+ "says": "Vessel B is kept for B-05's fill until 11:00.",
1181
+ "short": "Vessel B has B-05 until 11:00",
1182
+ "at": "2026-10-05T10:00:00.000Z",
1183
+ "assumed": true,
1184
+ "refs": {
1185
+ "item": "batch-05",
1186
+ "row": "vessel-b",
1187
+ "step": "processes.batch.steps.fill"
1188
+ },
1189
+ "levers": [
1190
+ {
1191
+ "kind": "rule",
1192
+ "about": "processes.batch.steps.mix",
1193
+ "says": "Mix in another mixing vessel"
1194
+ },
1195
+ {
1196
+ "kind": "equipment",
1197
+ "about": "equipment.mixing vessel",
1198
+ "says": "One more mixing vessel"
1199
+ }
1200
+ ]
1201
+ }
1202
+ ],
1203
+ "eligible": []
1204
+ },
1205
+ {
1206
+ "about": "processes.batch.steps.fill",
1207
+ "on": "line-2",
1208
+ "start": "2026-10-05T11:00:00.000Z",
1209
+ "end": "2026-10-05T12:00:00.000Z",
1210
+ "causes": [
1211
+ {
1212
+ "kind": "step-before",
1213
+ "about": "processes.batch.steps.mix",
1214
+ "says": "It waits for its mix to end (12:00).",
1215
+ "short": "Its mix ends 12:00",
1216
+ "at": "2026-10-05T11:00:00.000Z",
1217
+ "assumed": false,
1218
+ "refs": {
1219
+ "item": "batch-08",
1220
+ "step": "processes.batch.steps.mix"
1221
+ },
1222
+ "levers": [
1223
+ {
1224
+ "kind": "row",
1225
+ "about": "processes.batch.steps.mix",
1226
+ "says": "Its mix time"
1227
+ }
1228
+ ]
1229
+ }
1230
+ ],
1231
+ "eligible": [
1232
+ {
1233
+ "on": "equipment.line",
1234
+ "rows": [
1235
+ "line-1",
1236
+ "line-2"
1237
+ ]
1238
+ }
1239
+ ]
1240
+ }
1241
+ ],
1242
+ "broken": [],
1243
+ "early": null
1244
+ }
1245
+ ],
1246
+ "setsFinish": [
1247
+ {
1248
+ "period": "2026-10-05",
1249
+ "row": "line-1",
1250
+ "says": "Line 1 sets the day's finish: busy from 06:35 to 12:57, with 2 line cleans. Three causes shown, and 2 more batches before it.",
1251
+ "chain": [
1252
+ {
1253
+ "kind": "step-before",
1254
+ "about": "processes.batch.steps.mix",
1255
+ "says": "B-08 waits for its mix to end (12:00).",
1256
+ "short": "B-08's mix ends 12:00",
1257
+ "at": "2026-10-05T11:00:00.000Z",
1258
+ "assumed": false,
1259
+ "refs": {
1260
+ "item": "batch-08",
1261
+ "step": "processes.batch.steps.mix"
1262
+ },
1263
+ "levers": [
1264
+ {
1265
+ "kind": "row",
1266
+ "about": "processes.batch.steps.mix",
1267
+ "says": "Its mix time"
1268
+ }
1269
+ ]
1270
+ },
1271
+ {
1272
+ "kind": "equipment-busy",
1273
+ "about": "equipment.mixing vessel",
1274
+ "says": "Vessel B is kept for B-05's fill until 11:00.",
1275
+ "short": "Vessel B has B-05 until 11:00",
1276
+ "at": "2026-10-05T10:00:00.000Z",
1277
+ "assumed": true,
1278
+ "refs": {
1279
+ "item": "batch-05",
1280
+ "row": "vessel-b",
1281
+ "step": "processes.batch.steps.fill"
1282
+ },
1283
+ "levers": [
1284
+ {
1285
+ "kind": "rule",
1286
+ "about": "processes.batch.steps.mix",
1287
+ "says": "Mix in another mixing vessel"
1288
+ },
1289
+ {
1290
+ "kind": "equipment",
1291
+ "about": "equipment.mixing vessel",
1292
+ "says": "One more mixing vessel"
1293
+ }
1294
+ ]
1295
+ },
1296
+ {
1297
+ "kind": "step-before",
1298
+ "about": "processes.batch.steps.mix",
1299
+ "says": "B-05 waits for its mix to end (09:53).",
1300
+ "short": "B-05's mix ends 09:53",
1301
+ "at": "2026-10-05T08:53:00.000Z",
1302
+ "assumed": false,
1303
+ "refs": {
1304
+ "item": "batch-05",
1305
+ "step": "processes.batch.steps.mix"
1306
+ },
1307
+ "levers": [
1308
+ {
1309
+ "kind": "row",
1310
+ "about": "processes.batch.steps.mix",
1311
+ "says": "Its mix time"
1312
+ }
1313
+ ]
1314
+ }
1315
+ ]
1316
+ }
1317
+ ],
1318
+ "undone": [],
1319
+ "plan": null,
1320
+ "rounds": null,
1321
+ "stock": []
1322
+ }