@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,2283 @@
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 18:00, unless the day can't fit.",
13
+ "value": 0,
14
+ "unit": "minutes",
15
+ "weight": 1,
16
+ "points": 0,
17
+ "label": "Appointments after closing"
18
+ },
19
+ {
20
+ "measure": "limit",
21
+ "name": "Treat ends by its latest finish (latestAt), unless the day can't fit.",
22
+ "value": 0,
23
+ "unit": "minutes",
24
+ "weight": 1,
25
+ "points": 0,
26
+ "label": "Appointments after latest finish"
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "level": 1,
32
+ "about": "priorities.Everyone seen by the time they wanted to leave",
33
+ "name": "Everyone seen by the time they wanted to leave",
34
+ "points": 1350,
35
+ "parts": [
36
+ {
37
+ "measure": "rule",
38
+ "name": "Treat by its preferred finish (preferredEnd), or it's late.",
39
+ "value": 135,
40
+ "unit": "minutes",
41
+ "weight": 10,
42
+ "points": 1350,
43
+ "label": "Appointments late"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "level": 2,
49
+ "about": "priorities.Then finish the day early",
50
+ "name": "Then finish the day early",
51
+ "points": 435,
52
+ "parts": [
53
+ {
54
+ "measure": "goal",
55
+ "name": "Then finish the day early: the finish time.",
56
+ "value": 435,
57
+ "unit": "minutes",
58
+ "weight": 1,
59
+ "points": 435,
60
+ "label": "Finish time"
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "run": "run-clinic-1",
66
+ "status": "planned",
67
+ "broken": [],
68
+ "operation": "sha256:b76e79b87d4c20bfba8f2d10c6bea7f2889508b84eb8e5ea7402924a04b5f368",
69
+ "showing": null,
70
+ "zone": "Europe/London",
71
+ "from": "2026-10-05T07:00:00.000Z",
72
+ "to": "2026-10-05T23:00:00.000Z",
73
+ "periods": [
74
+ {
75
+ "id": "2026-10-05",
76
+ "label": "Mon 5 Oct",
77
+ "from": "2026-10-05T07:00:00.000Z",
78
+ "to": "2026-10-05T23:00:00.000Z",
79
+ "open": true,
80
+ "plan": null,
81
+ "fits": [],
82
+ "day": {
83
+ "run": "run-clinic-1",
84
+ "mode": null,
85
+ "status": "optimal",
86
+ "why": "new",
87
+ "reusedFrom": null,
88
+ "says": "Solved this round.",
89
+ "modes": [],
90
+ "figures": []
91
+ },
92
+ "tight": [],
93
+ "cuts": []
94
+ }
95
+ ],
96
+ "rows": [
97
+ {
98
+ "id": "gym",
99
+ "noun": "equipment.room",
100
+ "label": "Rehab gym",
101
+ "area": null,
102
+ "facts": []
103
+ },
104
+ {
105
+ "id": "pool",
106
+ "noun": "equipment.room",
107
+ "label": "Hydro pool",
108
+ "area": null,
109
+ "facts": []
110
+ },
111
+ {
112
+ "id": "room-1",
113
+ "noun": "equipment.room",
114
+ "label": "Room 1",
115
+ "area": null,
116
+ "facts": []
117
+ },
118
+ {
119
+ "id": "room-2",
120
+ "noun": "equipment.room",
121
+ "label": "Room 2",
122
+ "area": null,
123
+ "facts": []
124
+ },
125
+ {
126
+ "id": "room-3",
127
+ "noun": "equipment.room",
128
+ "label": "Room 3",
129
+ "area": null,
130
+ "facts": []
131
+ }
132
+ ],
133
+ "crews": [],
134
+ "bands": [
135
+ {
136
+ "kind": "closed",
137
+ "about": "hours",
138
+ "from": "2026-10-05T17:00:00.000Z",
139
+ "to": "2026-10-05T23:00:00.000Z"
140
+ }
141
+ ],
142
+ "bars": [
143
+ {
144
+ "row": "gym",
145
+ "period": "2026-10-05",
146
+ "item": "appt-20261005-08",
147
+ "kind": "work",
148
+ "about": "processes.appointment.steps.treat",
149
+ "start": "2026-10-05T08:00:00.000Z",
150
+ "end": "2026-10-05T08:45:00.000Z"
151
+ },
152
+ {
153
+ "row": "gym",
154
+ "period": "2026-10-05",
155
+ "item": "appt-20261005-14",
156
+ "kind": "work",
157
+ "about": "processes.appointment.steps.treat",
158
+ "start": "2026-10-05T12:00:00.000Z",
159
+ "end": "2026-10-05T12:45:00.000Z"
160
+ },
161
+ {
162
+ "row": "pool",
163
+ "period": "2026-10-05",
164
+ "item": "appt-20261005-04",
165
+ "kind": "work",
166
+ "about": "processes.appointment.steps.treat",
167
+ "start": "2026-10-05T08:00:00.000Z",
168
+ "end": "2026-10-05T08:40:00.000Z"
169
+ },
170
+ {
171
+ "row": "pool",
172
+ "period": "2026-10-05",
173
+ "item": "appt-20261005-05",
174
+ "kind": "work",
175
+ "about": "processes.appointment.steps.treat",
176
+ "start": "2026-10-05T08:40:00.000Z",
177
+ "end": "2026-10-05T09:20:00.000Z",
178
+ "late": 20
179
+ },
180
+ {
181
+ "row": "pool",
182
+ "period": "2026-10-05",
183
+ "item": "appt-20261005-07",
184
+ "kind": "work",
185
+ "about": "processes.appointment.steps.treat",
186
+ "start": "2026-10-05T09:20:00.000Z",
187
+ "end": "2026-10-05T10:00:00.000Z",
188
+ "late": 15
189
+ },
190
+ {
191
+ "row": "pool",
192
+ "period": "2026-10-05",
193
+ "item": "appt-20261005-06",
194
+ "kind": "work",
195
+ "about": "processes.appointment.steps.treat",
196
+ "start": "2026-10-05T10:00:00.000Z",
197
+ "end": "2026-10-05T10:40:00.000Z",
198
+ "late": 70
199
+ },
200
+ {
201
+ "row": "room-1",
202
+ "period": "2026-10-05",
203
+ "item": "appt-20261005-03",
204
+ "kind": "work",
205
+ "about": "processes.appointment.steps.treat",
206
+ "start": "2026-10-05T07:30:00.000Z",
207
+ "end": "2026-10-05T08:00:00.000Z"
208
+ },
209
+ {
210
+ "row": "room-1",
211
+ "period": "2026-10-05",
212
+ "item": null,
213
+ "kind": "downtime",
214
+ "about": "equipment.room.downtime.turnover",
215
+ "start": "2026-10-05T08:25:00.000Z",
216
+ "end": "2026-10-05T08:30:00.000Z",
217
+ "reason": "Manual therapy → Initial assessment"
218
+ },
219
+ {
220
+ "row": "room-1",
221
+ "period": "2026-10-05",
222
+ "item": "appt-20261005-12",
223
+ "kind": "work",
224
+ "about": "processes.appointment.steps.treat",
225
+ "start": "2026-10-05T08:30:00.000Z",
226
+ "end": "2026-10-05T09:15:00.000Z"
227
+ },
228
+ {
229
+ "row": "room-1",
230
+ "period": "2026-10-05",
231
+ "item": null,
232
+ "kind": "downtime",
233
+ "about": "equipment.room.downtime.turnover",
234
+ "start": "2026-10-05T12:55:00.000Z",
235
+ "end": "2026-10-05T13:00:00.000Z",
236
+ "reason": "Initial assessment → Manual therapy"
237
+ },
238
+ {
239
+ "row": "room-1",
240
+ "period": "2026-10-05",
241
+ "item": "appt-20261005-15",
242
+ "kind": "work",
243
+ "about": "processes.appointment.steps.treat",
244
+ "start": "2026-10-05T13:00:00.000Z",
245
+ "end": "2026-10-05T13:30:00.000Z"
246
+ },
247
+ {
248
+ "row": "room-2",
249
+ "period": "2026-10-05",
250
+ "item": "appt-20261005-02",
251
+ "kind": "work",
252
+ "about": "processes.appointment.steps.treat",
253
+ "start": "2026-10-05T07:30:00.000Z",
254
+ "end": "2026-10-05T08:00:00.000Z"
255
+ },
256
+ {
257
+ "row": "room-2",
258
+ "period": "2026-10-05",
259
+ "item": null,
260
+ "kind": "downtime",
261
+ "about": "equipment.room.downtime.turnover",
262
+ "start": "2026-10-05T08:00:00.000Z",
263
+ "end": "2026-10-05T08:05:00.000Z",
264
+ "reason": "Sports massage → Shockwave therapy"
265
+ },
266
+ {
267
+ "row": "room-2",
268
+ "period": "2026-10-05",
269
+ "item": "appt-20261005-09",
270
+ "kind": "work",
271
+ "about": "processes.appointment.steps.treat",
272
+ "start": "2026-10-05T08:05:00.000Z",
273
+ "end": "2026-10-05T08:25:00.000Z"
274
+ },
275
+ {
276
+ "row": "room-2",
277
+ "period": "2026-10-05",
278
+ "item": "appt-20261005-10",
279
+ "kind": "work",
280
+ "about": "processes.appointment.steps.treat",
281
+ "start": "2026-10-05T08:25:00.000Z",
282
+ "end": "2026-10-05T08:45:00.000Z",
283
+ "late": 15
284
+ },
285
+ {
286
+ "row": "room-2",
287
+ "period": "2026-10-05",
288
+ "item": "appt-20261005-11",
289
+ "kind": "work",
290
+ "about": "processes.appointment.steps.treat",
291
+ "start": "2026-10-05T08:45:00.000Z",
292
+ "end": "2026-10-05T09:15:00.000Z",
293
+ "late": 15
294
+ },
295
+ {
296
+ "row": "room-2",
297
+ "period": "2026-10-05",
298
+ "item": null,
299
+ "kind": "downtime",
300
+ "about": "equipment.room.downtime.turnover",
301
+ "start": "2026-10-05T11:25:00.000Z",
302
+ "end": "2026-10-05T11:30:00.000Z",
303
+ "reason": "Shockwave therapy → Sports massage"
304
+ },
305
+ {
306
+ "row": "room-2",
307
+ "period": "2026-10-05",
308
+ "item": "appt-20261005-13",
309
+ "kind": "work",
310
+ "about": "processes.appointment.steps.treat",
311
+ "start": "2026-10-05T11:30:00.000Z",
312
+ "end": "2026-10-05T12:15:00.000Z"
313
+ },
314
+ {
315
+ "row": "room-3",
316
+ "period": "2026-10-05",
317
+ "item": "appt-20261005-01",
318
+ "kind": "work",
319
+ "about": "processes.appointment.steps.treat",
320
+ "start": "2026-10-05T07:30:00.000Z",
321
+ "end": "2026-10-05T08:15:00.000Z"
322
+ },
323
+ {
324
+ "row": "room-3",
325
+ "period": "2026-10-05",
326
+ "item": "appt-20261005-16",
327
+ "kind": "work",
328
+ "about": "processes.appointment.steps.treat",
329
+ "start": "2026-10-05T13:30:00.000Z",
330
+ "end": "2026-10-05T14:15:00.000Z"
331
+ }
332
+ ],
333
+ "marks": [
334
+ {
335
+ "kind": "ready",
336
+ "about": "processes.appointment.ready",
337
+ "at": "2026-10-05T07:30:00.000Z",
338
+ "item": "appt-20261005-01"
339
+ },
340
+ {
341
+ "kind": "due",
342
+ "about": "processes.appointment.due",
343
+ "at": "2026-10-05T08:30:00.000Z",
344
+ "item": "appt-20261005-01",
345
+ "spare": 15
346
+ },
347
+ {
348
+ "kind": "deadline",
349
+ "about": "processes.appointment.deadline",
350
+ "at": "2026-10-05T10:30:00.000Z",
351
+ "item": "appt-20261005-01",
352
+ "spare": 135
353
+ },
354
+ {
355
+ "kind": "ready",
356
+ "about": "processes.appointment.ready",
357
+ "at": "2026-10-05T07:30:00.000Z",
358
+ "item": "appt-20261005-02"
359
+ },
360
+ {
361
+ "kind": "due",
362
+ "about": "processes.appointment.due",
363
+ "at": "2026-10-05T08:15:00.000Z",
364
+ "item": "appt-20261005-02",
365
+ "spare": 15
366
+ },
367
+ {
368
+ "kind": "deadline",
369
+ "about": "processes.appointment.deadline",
370
+ "at": "2026-10-05T10:00:00.000Z",
371
+ "item": "appt-20261005-02",
372
+ "spare": 120
373
+ },
374
+ {
375
+ "kind": "ready",
376
+ "about": "processes.appointment.ready",
377
+ "at": "2026-10-05T07:30:00.000Z",
378
+ "item": "appt-20261005-03"
379
+ },
380
+ {
381
+ "kind": "due",
382
+ "about": "processes.appointment.due",
383
+ "at": "2026-10-05T08:15:00.000Z",
384
+ "item": "appt-20261005-03",
385
+ "spare": 15
386
+ },
387
+ {
388
+ "kind": "deadline",
389
+ "about": "processes.appointment.deadline",
390
+ "at": "2026-10-05T10:00:00.000Z",
391
+ "item": "appt-20261005-03",
392
+ "spare": 120
393
+ },
394
+ {
395
+ "kind": "ready",
396
+ "about": "processes.appointment.ready",
397
+ "at": "2026-10-05T08:00:00.000Z",
398
+ "item": "appt-20261005-04"
399
+ },
400
+ {
401
+ "kind": "due",
402
+ "about": "processes.appointment.due",
403
+ "at": "2026-10-05T08:45:00.000Z",
404
+ "item": "appt-20261005-04",
405
+ "spare": 5
406
+ },
407
+ {
408
+ "kind": "deadline",
409
+ "about": "processes.appointment.deadline",
410
+ "at": "2026-10-05T11:30:00.000Z",
411
+ "item": "appt-20261005-04",
412
+ "spare": 170
413
+ },
414
+ {
415
+ "kind": "ready",
416
+ "about": "processes.appointment.ready",
417
+ "at": "2026-10-05T08:00:00.000Z",
418
+ "item": "appt-20261005-05"
419
+ },
420
+ {
421
+ "kind": "due",
422
+ "about": "processes.appointment.due",
423
+ "at": "2026-10-05T09:00:00.000Z",
424
+ "item": "appt-20261005-05",
425
+ "late": 20
426
+ },
427
+ {
428
+ "kind": "deadline",
429
+ "about": "processes.appointment.deadline",
430
+ "at": "2026-10-05T11:30:00.000Z",
431
+ "item": "appt-20261005-05",
432
+ "spare": 130
433
+ },
434
+ {
435
+ "kind": "ready",
436
+ "about": "processes.appointment.ready",
437
+ "at": "2026-10-05T08:00:00.000Z",
438
+ "item": "appt-20261005-06"
439
+ },
440
+ {
441
+ "kind": "due",
442
+ "about": "processes.appointment.due",
443
+ "at": "2026-10-05T09:30:00.000Z",
444
+ "item": "appt-20261005-06",
445
+ "late": 70
446
+ },
447
+ {
448
+ "kind": "deadline",
449
+ "about": "processes.appointment.deadline",
450
+ "at": "2026-10-05T12:00:00.000Z",
451
+ "item": "appt-20261005-06",
452
+ "spare": 80
453
+ },
454
+ {
455
+ "kind": "ready",
456
+ "about": "processes.appointment.ready",
457
+ "at": "2026-10-05T08:00:00.000Z",
458
+ "item": "appt-20261005-07"
459
+ },
460
+ {
461
+ "kind": "due",
462
+ "about": "processes.appointment.due",
463
+ "at": "2026-10-05T09:45:00.000Z",
464
+ "item": "appt-20261005-07",
465
+ "late": 15
466
+ },
467
+ {
468
+ "kind": "deadline",
469
+ "about": "processes.appointment.deadline",
470
+ "at": "2026-10-05T12:00:00.000Z",
471
+ "item": "appt-20261005-07",
472
+ "spare": 120
473
+ },
474
+ {
475
+ "kind": "ready",
476
+ "about": "processes.appointment.ready",
477
+ "at": "2026-10-05T08:00:00.000Z",
478
+ "item": "appt-20261005-08"
479
+ },
480
+ {
481
+ "kind": "due",
482
+ "about": "processes.appointment.due",
483
+ "at": "2026-10-05T09:00:00.000Z",
484
+ "item": "appt-20261005-08",
485
+ "spare": 15
486
+ },
487
+ {
488
+ "kind": "deadline",
489
+ "about": "processes.appointment.deadline",
490
+ "at": "2026-10-05T11:00:00.000Z",
491
+ "item": "appt-20261005-08",
492
+ "spare": 135
493
+ },
494
+ {
495
+ "kind": "ready",
496
+ "about": "processes.appointment.ready",
497
+ "at": "2026-10-05T08:00:00.000Z",
498
+ "item": "appt-20261005-09"
499
+ },
500
+ {
501
+ "kind": "due",
502
+ "about": "processes.appointment.due",
503
+ "at": "2026-10-05T08:30:00.000Z",
504
+ "item": "appt-20261005-09",
505
+ "spare": 5
506
+ },
507
+ {
508
+ "kind": "deadline",
509
+ "about": "processes.appointment.deadline",
510
+ "at": "2026-10-05T10:30:00.000Z",
511
+ "item": "appt-20261005-09",
512
+ "spare": 125
513
+ },
514
+ {
515
+ "kind": "ready",
516
+ "about": "processes.appointment.ready",
517
+ "at": "2026-10-05T08:00:00.000Z",
518
+ "item": "appt-20261005-10"
519
+ },
520
+ {
521
+ "kind": "due",
522
+ "about": "processes.appointment.due",
523
+ "at": "2026-10-05T08:30:00.000Z",
524
+ "item": "appt-20261005-10",
525
+ "late": 15
526
+ },
527
+ {
528
+ "kind": "deadline",
529
+ "about": "processes.appointment.deadline",
530
+ "at": "2026-10-05T10:30:00.000Z",
531
+ "item": "appt-20261005-10",
532
+ "spare": 105
533
+ },
534
+ {
535
+ "kind": "ready",
536
+ "about": "processes.appointment.ready",
537
+ "at": "2026-10-05T08:15:00.000Z",
538
+ "item": "appt-20261005-11"
539
+ },
540
+ {
541
+ "kind": "due",
542
+ "about": "processes.appointment.due",
543
+ "at": "2026-10-05T09:00:00.000Z",
544
+ "item": "appt-20261005-11",
545
+ "late": 15
546
+ },
547
+ {
548
+ "kind": "deadline",
549
+ "about": "processes.appointment.deadline",
550
+ "at": "2026-10-05T11:00:00.000Z",
551
+ "item": "appt-20261005-11",
552
+ "spare": 105
553
+ },
554
+ {
555
+ "kind": "ready",
556
+ "about": "processes.appointment.ready",
557
+ "at": "2026-10-05T08:30:00.000Z",
558
+ "item": "appt-20261005-12"
559
+ },
560
+ {
561
+ "kind": "due",
562
+ "about": "processes.appointment.due",
563
+ "at": "2026-10-05T09:30:00.000Z",
564
+ "item": "appt-20261005-12",
565
+ "spare": 15
566
+ },
567
+ {
568
+ "kind": "deadline",
569
+ "about": "processes.appointment.deadline",
570
+ "at": "2026-10-05T11:30:00.000Z",
571
+ "item": "appt-20261005-12",
572
+ "spare": 135
573
+ },
574
+ {
575
+ "kind": "ready",
576
+ "about": "processes.appointment.ready",
577
+ "at": "2026-10-05T11:30:00.000Z",
578
+ "item": "appt-20261005-13"
579
+ },
580
+ {
581
+ "kind": "due",
582
+ "about": "processes.appointment.due",
583
+ "at": "2026-10-05T12:30:00.000Z",
584
+ "item": "appt-20261005-13",
585
+ "spare": 15
586
+ },
587
+ {
588
+ "kind": "deadline",
589
+ "about": "processes.appointment.deadline",
590
+ "at": "2026-10-05T14:30:00.000Z",
591
+ "item": "appt-20261005-13",
592
+ "spare": 135
593
+ },
594
+ {
595
+ "kind": "ready",
596
+ "about": "processes.appointment.ready",
597
+ "at": "2026-10-05T12:00:00.000Z",
598
+ "item": "appt-20261005-14"
599
+ },
600
+ {
601
+ "kind": "due",
602
+ "about": "processes.appointment.due",
603
+ "at": "2026-10-05T13:00:00.000Z",
604
+ "item": "appt-20261005-14",
605
+ "spare": 15
606
+ },
607
+ {
608
+ "kind": "deadline",
609
+ "about": "processes.appointment.deadline",
610
+ "at": "2026-10-05T15:00:00.000Z",
611
+ "item": "appt-20261005-14",
612
+ "spare": 135
613
+ },
614
+ {
615
+ "kind": "ready",
616
+ "about": "processes.appointment.ready",
617
+ "at": "2026-10-05T13:00:00.000Z",
618
+ "item": "appt-20261005-15"
619
+ },
620
+ {
621
+ "kind": "due",
622
+ "about": "processes.appointment.due",
623
+ "at": "2026-10-05T13:45:00.000Z",
624
+ "item": "appt-20261005-15",
625
+ "spare": 15
626
+ },
627
+ {
628
+ "kind": "deadline",
629
+ "about": "processes.appointment.deadline",
630
+ "at": "2026-10-05T16:00:00.000Z",
631
+ "item": "appt-20261005-15",
632
+ "spare": 150
633
+ },
634
+ {
635
+ "kind": "ready",
636
+ "about": "processes.appointment.ready",
637
+ "at": "2026-10-05T13:30:00.000Z",
638
+ "item": "appt-20261005-16"
639
+ },
640
+ {
641
+ "kind": "due",
642
+ "about": "processes.appointment.due",
643
+ "at": "2026-10-05T14:30:00.000Z",
644
+ "item": "appt-20261005-16",
645
+ "spare": 15
646
+ },
647
+ {
648
+ "kind": "deadline",
649
+ "about": "processes.appointment.deadline",
650
+ "at": "2026-10-05T16:30:00.000Z",
651
+ "item": "appt-20261005-16",
652
+ "spare": 135
653
+ }
654
+ ],
655
+ "items": [
656
+ {
657
+ "id": "appt-20261005-01",
658
+ "process": "processes.appointment",
659
+ "label": "Aroha",
660
+ "period": "2026-10-05",
661
+ "facts": [
662
+ {
663
+ "about": "processes.appointment.ready",
664
+ "label": "arrival",
665
+ "text": "08:30"
666
+ },
667
+ {
668
+ "about": "processes.appointment.due",
669
+ "label": "preferred finish",
670
+ "text": "09:30"
671
+ },
672
+ {
673
+ "about": "processes.appointment.deadline",
674
+ "label": "latest finish",
675
+ "text": "11:30"
676
+ },
677
+ {
678
+ "about": "processes.appointment.steps.treat",
679
+ "label": "fits",
680
+ "text": "3 of 5 rooms"
681
+ }
682
+ ],
683
+ "late": null,
684
+ "fulfils": [],
685
+ "steps": [
686
+ {
687
+ "about": "processes.appointment.steps.treat",
688
+ "on": "room-3",
689
+ "start": "2026-10-05T07:30:00.000Z",
690
+ "end": "2026-10-05T08:15:00.000Z",
691
+ "causes": [
692
+ {
693
+ "kind": "ready",
694
+ "about": "processes.appointment.ready",
695
+ "says": "Arrival: 08:30, so it can't start before then.",
696
+ "short": "Arrival 08:30",
697
+ "at": "2026-10-05T07:30:00.000Z",
698
+ "assumed": false,
699
+ "refs": {
700
+ "item": "appt-20261005-01"
701
+ },
702
+ "levers": [
703
+ {
704
+ "kind": "row",
705
+ "about": "processes.appointment.ready",
706
+ "says": "Its arrival"
707
+ }
708
+ ]
709
+ }
710
+ ],
711
+ "eligible": [
712
+ {
713
+ "on": "equipment.room",
714
+ "rows": [
715
+ "room-1",
716
+ "room-2",
717
+ "room-3"
718
+ ]
719
+ }
720
+ ]
721
+ }
722
+ ],
723
+ "broken": [],
724
+ "early": null
725
+ },
726
+ {
727
+ "id": "appt-20261005-02",
728
+ "process": "processes.appointment",
729
+ "label": "Callum",
730
+ "period": "2026-10-05",
731
+ "facts": [
732
+ {
733
+ "about": "processes.appointment.ready",
734
+ "label": "arrival",
735
+ "text": "08:30"
736
+ },
737
+ {
738
+ "about": "processes.appointment.due",
739
+ "label": "preferred finish",
740
+ "text": "09:15"
741
+ },
742
+ {
743
+ "about": "processes.appointment.deadline",
744
+ "label": "latest finish",
745
+ "text": "11:00"
746
+ },
747
+ {
748
+ "about": "processes.appointment.steps.treat",
749
+ "label": "fits",
750
+ "text": "3 of 5 rooms"
751
+ }
752
+ ],
753
+ "late": null,
754
+ "fulfils": [],
755
+ "steps": [
756
+ {
757
+ "about": "processes.appointment.steps.treat",
758
+ "on": "room-2",
759
+ "start": "2026-10-05T07:30:00.000Z",
760
+ "end": "2026-10-05T08:00:00.000Z",
761
+ "causes": [
762
+ {
763
+ "kind": "ready",
764
+ "about": "processes.appointment.ready",
765
+ "says": "Arrival: 08:30, so it can't start before then.",
766
+ "short": "Arrival 08:30",
767
+ "at": "2026-10-05T07:30:00.000Z",
768
+ "assumed": false,
769
+ "refs": {
770
+ "item": "appt-20261005-02"
771
+ },
772
+ "levers": [
773
+ {
774
+ "kind": "row",
775
+ "about": "processes.appointment.ready",
776
+ "says": "Its arrival"
777
+ }
778
+ ]
779
+ }
780
+ ],
781
+ "eligible": [
782
+ {
783
+ "on": "equipment.room",
784
+ "rows": [
785
+ "room-1",
786
+ "room-2",
787
+ "room-3"
788
+ ]
789
+ }
790
+ ]
791
+ }
792
+ ],
793
+ "broken": [],
794
+ "early": null
795
+ },
796
+ {
797
+ "id": "appt-20261005-03",
798
+ "process": "processes.appointment",
799
+ "label": "Priya",
800
+ "period": "2026-10-05",
801
+ "facts": [
802
+ {
803
+ "about": "processes.appointment.ready",
804
+ "label": "arrival",
805
+ "text": "08:30"
806
+ },
807
+ {
808
+ "about": "processes.appointment.due",
809
+ "label": "preferred finish",
810
+ "text": "09:15"
811
+ },
812
+ {
813
+ "about": "processes.appointment.deadline",
814
+ "label": "latest finish",
815
+ "text": "11:00"
816
+ },
817
+ {
818
+ "about": "processes.appointment.steps.treat",
819
+ "label": "fits",
820
+ "text": "3 of 5 rooms"
821
+ }
822
+ ],
823
+ "late": null,
824
+ "fulfils": [],
825
+ "steps": [
826
+ {
827
+ "about": "processes.appointment.steps.treat",
828
+ "on": "room-1",
829
+ "start": "2026-10-05T07:30:00.000Z",
830
+ "end": "2026-10-05T08:00:00.000Z",
831
+ "causes": [
832
+ {
833
+ "kind": "ready",
834
+ "about": "processes.appointment.ready",
835
+ "says": "Arrival: 08:30, so it can't start before then.",
836
+ "short": "Arrival 08:30",
837
+ "at": "2026-10-05T07:30:00.000Z",
838
+ "assumed": false,
839
+ "refs": {
840
+ "item": "appt-20261005-03"
841
+ },
842
+ "levers": [
843
+ {
844
+ "kind": "row",
845
+ "about": "processes.appointment.ready",
846
+ "says": "Its arrival"
847
+ }
848
+ ]
849
+ }
850
+ ],
851
+ "eligible": [
852
+ {
853
+ "on": "equipment.room",
854
+ "rows": [
855
+ "room-1",
856
+ "room-2",
857
+ "room-3"
858
+ ]
859
+ }
860
+ ]
861
+ }
862
+ ],
863
+ "broken": [],
864
+ "early": null
865
+ },
866
+ {
867
+ "id": "appt-20261005-04",
868
+ "process": "processes.appointment",
869
+ "label": "Tomasz",
870
+ "period": "2026-10-05",
871
+ "facts": [
872
+ {
873
+ "about": "processes.appointment.ready",
874
+ "label": "arrival",
875
+ "text": "09:00"
876
+ },
877
+ {
878
+ "about": "processes.appointment.due",
879
+ "label": "preferred finish",
880
+ "text": "09:45"
881
+ },
882
+ {
883
+ "about": "processes.appointment.deadline",
884
+ "label": "latest finish",
885
+ "text": "12:30"
886
+ },
887
+ {
888
+ "about": "processes.appointment.steps.treat",
889
+ "label": "fits",
890
+ "text": "1 of 5 rooms"
891
+ }
892
+ ],
893
+ "late": null,
894
+ "fulfils": [],
895
+ "steps": [
896
+ {
897
+ "about": "processes.appointment.steps.treat",
898
+ "on": "pool",
899
+ "start": "2026-10-05T08:00:00.000Z",
900
+ "end": "2026-10-05T08:40:00.000Z",
901
+ "causes": [
902
+ {
903
+ "kind": "ready",
904
+ "about": "processes.appointment.ready",
905
+ "says": "Arrival: 09:00, so it can't start before then.",
906
+ "short": "Arrival 09:00",
907
+ "at": "2026-10-05T08:00:00.000Z",
908
+ "assumed": false,
909
+ "refs": {
910
+ "item": "appt-20261005-04"
911
+ },
912
+ "levers": [
913
+ {
914
+ "kind": "row",
915
+ "about": "processes.appointment.ready",
916
+ "says": "Its arrival"
917
+ }
918
+ ]
919
+ }
920
+ ],
921
+ "eligible": [
922
+ {
923
+ "on": "equipment.room",
924
+ "rows": [
925
+ "pool"
926
+ ]
927
+ }
928
+ ]
929
+ }
930
+ ],
931
+ "broken": [],
932
+ "early": null
933
+ },
934
+ {
935
+ "id": "appt-20261005-05",
936
+ "process": "processes.appointment",
937
+ "label": "Leo",
938
+ "period": "2026-10-05",
939
+ "facts": [
940
+ {
941
+ "about": "processes.appointment.ready",
942
+ "label": "arrival",
943
+ "text": "09:00"
944
+ },
945
+ {
946
+ "about": "processes.appointment.due",
947
+ "label": "preferred finish",
948
+ "text": "10:00"
949
+ },
950
+ {
951
+ "about": "processes.appointment.deadline",
952
+ "label": "latest finish",
953
+ "text": "12:30"
954
+ },
955
+ {
956
+ "about": "processes.appointment.steps.treat",
957
+ "label": "fits",
958
+ "text": "1 of 5 rooms"
959
+ }
960
+ ],
961
+ "late": {
962
+ "minutes": 20,
963
+ "against": "due",
964
+ "says": "Leo is 20 min late: preferred finish 10:00.",
965
+ "chain": [
966
+ {
967
+ "kind": "equipment-busy",
968
+ "about": "equipment.room",
969
+ "says": "Hydro pool is busy with Tomasz's treat until 09:40.",
970
+ "short": "Hydro pool has Tomasz until 09:40",
971
+ "at": "2026-10-05T08:40:00.000Z",
972
+ "assumed": false,
973
+ "refs": {
974
+ "item": "appt-20261005-04",
975
+ "row": "pool",
976
+ "step": "processes.appointment.steps.treat"
977
+ },
978
+ "levers": [
979
+ {
980
+ "kind": "rule",
981
+ "about": "processes.appointment.steps.treat",
982
+ "says": "Treat in another room"
983
+ },
984
+ {
985
+ "kind": "equipment",
986
+ "about": "equipment.room",
987
+ "says": "One more room"
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "kind": "ready",
993
+ "about": "processes.appointment.ready",
994
+ "says": "Arrival: 09:00, so Tomasz can't start before then.",
995
+ "short": "Arrival 09:00",
996
+ "at": "2026-10-05T08:00:00.000Z",
997
+ "assumed": false,
998
+ "refs": {
999
+ "item": "appt-20261005-04"
1000
+ },
1001
+ "levers": [
1002
+ {
1003
+ "kind": "row",
1004
+ "about": "processes.appointment.ready",
1005
+ "says": "Its arrival"
1006
+ }
1007
+ ]
1008
+ }
1009
+ ]
1010
+ },
1011
+ "fulfils": [],
1012
+ "steps": [
1013
+ {
1014
+ "about": "processes.appointment.steps.treat",
1015
+ "on": "pool",
1016
+ "start": "2026-10-05T08:40:00.000Z",
1017
+ "end": "2026-10-05T09:20:00.000Z",
1018
+ "causes": [
1019
+ {
1020
+ "kind": "equipment-busy",
1021
+ "about": "equipment.room",
1022
+ "says": "Hydro pool is busy with Tomasz's treat until 09:40.",
1023
+ "short": "Hydro pool has Tomasz until 09:40",
1024
+ "at": "2026-10-05T08:40:00.000Z",
1025
+ "assumed": false,
1026
+ "refs": {
1027
+ "item": "appt-20261005-04",
1028
+ "row": "pool",
1029
+ "step": "processes.appointment.steps.treat"
1030
+ },
1031
+ "levers": [
1032
+ {
1033
+ "kind": "rule",
1034
+ "about": "processes.appointment.steps.treat",
1035
+ "says": "Treat in another room"
1036
+ },
1037
+ {
1038
+ "kind": "equipment",
1039
+ "about": "equipment.room",
1040
+ "says": "One more room"
1041
+ }
1042
+ ]
1043
+ },
1044
+ {
1045
+ "kind": "only",
1046
+ "about": "processes.appointment.steps.treat",
1047
+ "says": "Treat only in a room that suits the appointment's type.",
1048
+ "short": "Only 1 of 5 rooms at 09:40",
1049
+ "at": "2026-10-05T08:40:00.000Z",
1050
+ "assumed": false,
1051
+ "refs": {
1052
+ "row": "pool"
1053
+ },
1054
+ "levers": [
1055
+ {
1056
+ "kind": "rule",
1057
+ "about": "processes.appointment.steps.treat",
1058
+ "says": "Treat only in a room that suits the appointment's type."
1059
+ }
1060
+ ]
1061
+ }
1062
+ ],
1063
+ "eligible": [
1064
+ {
1065
+ "on": "equipment.room",
1066
+ "rows": [
1067
+ "pool"
1068
+ ]
1069
+ }
1070
+ ]
1071
+ }
1072
+ ],
1073
+ "broken": [],
1074
+ "early": null
1075
+ },
1076
+ {
1077
+ "id": "appt-20261005-06",
1078
+ "process": "processes.appointment",
1079
+ "label": "Marta",
1080
+ "period": "2026-10-05",
1081
+ "facts": [
1082
+ {
1083
+ "about": "processes.appointment.ready",
1084
+ "label": "arrival",
1085
+ "text": "09:00"
1086
+ },
1087
+ {
1088
+ "about": "processes.appointment.due",
1089
+ "label": "preferred finish",
1090
+ "text": "10:30"
1091
+ },
1092
+ {
1093
+ "about": "processes.appointment.deadline",
1094
+ "label": "latest finish",
1095
+ "text": "13:00"
1096
+ },
1097
+ {
1098
+ "about": "processes.appointment.steps.treat",
1099
+ "label": "fits",
1100
+ "text": "1 of 5 rooms"
1101
+ }
1102
+ ],
1103
+ "late": {
1104
+ "minutes": 70,
1105
+ "against": "due",
1106
+ "says": "Marta is 1 h 10 min late: preferred finish 10:30.",
1107
+ "chain": [
1108
+ {
1109
+ "kind": "equipment-busy",
1110
+ "about": "equipment.room",
1111
+ "says": "Hydro pool is busy with Anders' treat until 11:00.",
1112
+ "short": "Hydro pool has Anders until 11:00",
1113
+ "at": "2026-10-05T10:00:00.000Z",
1114
+ "assumed": false,
1115
+ "refs": {
1116
+ "item": "appt-20261005-07",
1117
+ "row": "pool",
1118
+ "step": "processes.appointment.steps.treat"
1119
+ },
1120
+ "levers": [
1121
+ {
1122
+ "kind": "rule",
1123
+ "about": "processes.appointment.steps.treat",
1124
+ "says": "Treat in another room"
1125
+ },
1126
+ {
1127
+ "kind": "equipment",
1128
+ "about": "equipment.room",
1129
+ "says": "One more room"
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "kind": "equipment-busy",
1135
+ "about": "equipment.room",
1136
+ "says": "Hydro pool is busy with Leo's treat until 10:20.",
1137
+ "short": "Hydro pool has Leo until 10:20",
1138
+ "at": "2026-10-05T09:20:00.000Z",
1139
+ "assumed": false,
1140
+ "refs": {
1141
+ "item": "appt-20261005-05",
1142
+ "row": "pool",
1143
+ "step": "processes.appointment.steps.treat"
1144
+ },
1145
+ "levers": [
1146
+ {
1147
+ "kind": "rule",
1148
+ "about": "processes.appointment.steps.treat",
1149
+ "says": "Treat in another room"
1150
+ },
1151
+ {
1152
+ "kind": "equipment",
1153
+ "about": "equipment.room",
1154
+ "says": "One more room"
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "kind": "equipment-busy",
1160
+ "about": "equipment.room",
1161
+ "says": "Hydro pool is busy with Tomasz's treat until 09:40.",
1162
+ "short": "Hydro pool has Tomasz until 09:40",
1163
+ "at": "2026-10-05T08:40:00.000Z",
1164
+ "assumed": false,
1165
+ "refs": {
1166
+ "item": "appt-20261005-04",
1167
+ "row": "pool",
1168
+ "step": "processes.appointment.steps.treat"
1169
+ },
1170
+ "levers": [
1171
+ {
1172
+ "kind": "rule",
1173
+ "about": "processes.appointment.steps.treat",
1174
+ "says": "Treat in another room"
1175
+ },
1176
+ {
1177
+ "kind": "equipment",
1178
+ "about": "equipment.room",
1179
+ "says": "One more room"
1180
+ }
1181
+ ]
1182
+ }
1183
+ ]
1184
+ },
1185
+ "fulfils": [],
1186
+ "steps": [
1187
+ {
1188
+ "about": "processes.appointment.steps.treat",
1189
+ "on": "pool",
1190
+ "start": "2026-10-05T10:00:00.000Z",
1191
+ "end": "2026-10-05T10:40:00.000Z",
1192
+ "causes": [
1193
+ {
1194
+ "kind": "equipment-busy",
1195
+ "about": "equipment.room",
1196
+ "says": "Hydro pool is busy with Anders' treat until 11:00.",
1197
+ "short": "Hydro pool has Anders until 11:00",
1198
+ "at": "2026-10-05T10:00:00.000Z",
1199
+ "assumed": false,
1200
+ "refs": {
1201
+ "item": "appt-20261005-07",
1202
+ "row": "pool",
1203
+ "step": "processes.appointment.steps.treat"
1204
+ },
1205
+ "levers": [
1206
+ {
1207
+ "kind": "rule",
1208
+ "about": "processes.appointment.steps.treat",
1209
+ "says": "Treat in another room"
1210
+ },
1211
+ {
1212
+ "kind": "equipment",
1213
+ "about": "equipment.room",
1214
+ "says": "One more room"
1215
+ }
1216
+ ]
1217
+ },
1218
+ {
1219
+ "kind": "only",
1220
+ "about": "processes.appointment.steps.treat",
1221
+ "says": "Treat only in a room that suits the appointment's type.",
1222
+ "short": "Only 1 of 5 rooms at 11:00",
1223
+ "at": "2026-10-05T10:00:00.000Z",
1224
+ "assumed": false,
1225
+ "refs": {
1226
+ "row": "pool"
1227
+ },
1228
+ "levers": [
1229
+ {
1230
+ "kind": "rule",
1231
+ "about": "processes.appointment.steps.treat",
1232
+ "says": "Treat only in a room that suits the appointment's type."
1233
+ }
1234
+ ]
1235
+ }
1236
+ ],
1237
+ "eligible": [
1238
+ {
1239
+ "on": "equipment.room",
1240
+ "rows": [
1241
+ "pool"
1242
+ ]
1243
+ }
1244
+ ]
1245
+ }
1246
+ ],
1247
+ "broken": [],
1248
+ "early": null
1249
+ },
1250
+ {
1251
+ "id": "appt-20261005-07",
1252
+ "process": "processes.appointment",
1253
+ "label": "Anders",
1254
+ "period": "2026-10-05",
1255
+ "facts": [
1256
+ {
1257
+ "about": "processes.appointment.ready",
1258
+ "label": "arrival",
1259
+ "text": "09:00"
1260
+ },
1261
+ {
1262
+ "about": "processes.appointment.due",
1263
+ "label": "preferred finish",
1264
+ "text": "10:45"
1265
+ },
1266
+ {
1267
+ "about": "processes.appointment.deadline",
1268
+ "label": "latest finish",
1269
+ "text": "13:00"
1270
+ },
1271
+ {
1272
+ "about": "processes.appointment.steps.treat",
1273
+ "label": "fits",
1274
+ "text": "1 of 5 rooms"
1275
+ }
1276
+ ],
1277
+ "late": {
1278
+ "minutes": 15,
1279
+ "against": "due",
1280
+ "says": "Anders is 15 min late: preferred finish 10:45.",
1281
+ "chain": [
1282
+ {
1283
+ "kind": "equipment-busy",
1284
+ "about": "equipment.room",
1285
+ "says": "Hydro pool is busy with Leo's treat until 10:20.",
1286
+ "short": "Hydro pool has Leo until 10:20",
1287
+ "at": "2026-10-05T09:20:00.000Z",
1288
+ "assumed": false,
1289
+ "refs": {
1290
+ "item": "appt-20261005-05",
1291
+ "row": "pool",
1292
+ "step": "processes.appointment.steps.treat"
1293
+ },
1294
+ "levers": [
1295
+ {
1296
+ "kind": "rule",
1297
+ "about": "processes.appointment.steps.treat",
1298
+ "says": "Treat in another room"
1299
+ },
1300
+ {
1301
+ "kind": "equipment",
1302
+ "about": "equipment.room",
1303
+ "says": "One more room"
1304
+ }
1305
+ ]
1306
+ },
1307
+ {
1308
+ "kind": "equipment-busy",
1309
+ "about": "equipment.room",
1310
+ "says": "Hydro pool is busy with Tomasz's treat until 09:40.",
1311
+ "short": "Hydro pool has Tomasz until 09:40",
1312
+ "at": "2026-10-05T08:40:00.000Z",
1313
+ "assumed": false,
1314
+ "refs": {
1315
+ "item": "appt-20261005-04",
1316
+ "row": "pool",
1317
+ "step": "processes.appointment.steps.treat"
1318
+ },
1319
+ "levers": [
1320
+ {
1321
+ "kind": "rule",
1322
+ "about": "processes.appointment.steps.treat",
1323
+ "says": "Treat in another room"
1324
+ },
1325
+ {
1326
+ "kind": "equipment",
1327
+ "about": "equipment.room",
1328
+ "says": "One more room"
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "kind": "ready",
1334
+ "about": "processes.appointment.ready",
1335
+ "says": "Arrival: 09:00, so Tomasz can't start before then.",
1336
+ "short": "Arrival 09:00",
1337
+ "at": "2026-10-05T08:00:00.000Z",
1338
+ "assumed": false,
1339
+ "refs": {
1340
+ "item": "appt-20261005-04"
1341
+ },
1342
+ "levers": [
1343
+ {
1344
+ "kind": "row",
1345
+ "about": "processes.appointment.ready",
1346
+ "says": "Its arrival"
1347
+ }
1348
+ ]
1349
+ }
1350
+ ]
1351
+ },
1352
+ "fulfils": [],
1353
+ "steps": [
1354
+ {
1355
+ "about": "processes.appointment.steps.treat",
1356
+ "on": "pool",
1357
+ "start": "2026-10-05T09:20:00.000Z",
1358
+ "end": "2026-10-05T10:00:00.000Z",
1359
+ "causes": [
1360
+ {
1361
+ "kind": "equipment-busy",
1362
+ "about": "equipment.room",
1363
+ "says": "Hydro pool is busy with Leo's treat until 10:20.",
1364
+ "short": "Hydro pool has Leo until 10:20",
1365
+ "at": "2026-10-05T09:20:00.000Z",
1366
+ "assumed": false,
1367
+ "refs": {
1368
+ "item": "appt-20261005-05",
1369
+ "row": "pool",
1370
+ "step": "processes.appointment.steps.treat"
1371
+ },
1372
+ "levers": [
1373
+ {
1374
+ "kind": "rule",
1375
+ "about": "processes.appointment.steps.treat",
1376
+ "says": "Treat in another room"
1377
+ },
1378
+ {
1379
+ "kind": "equipment",
1380
+ "about": "equipment.room",
1381
+ "says": "One more room"
1382
+ }
1383
+ ]
1384
+ },
1385
+ {
1386
+ "kind": "only",
1387
+ "about": "processes.appointment.steps.treat",
1388
+ "says": "Treat only in a room that suits the appointment's type.",
1389
+ "short": "Only 1 of 5 rooms at 10:20",
1390
+ "at": "2026-10-05T09:20:00.000Z",
1391
+ "assumed": false,
1392
+ "refs": {
1393
+ "row": "pool"
1394
+ },
1395
+ "levers": [
1396
+ {
1397
+ "kind": "rule",
1398
+ "about": "processes.appointment.steps.treat",
1399
+ "says": "Treat only in a room that suits the appointment's type."
1400
+ }
1401
+ ]
1402
+ }
1403
+ ],
1404
+ "eligible": [
1405
+ {
1406
+ "on": "equipment.room",
1407
+ "rows": [
1408
+ "pool"
1409
+ ]
1410
+ }
1411
+ ]
1412
+ }
1413
+ ],
1414
+ "broken": [],
1415
+ "early": null
1416
+ },
1417
+ {
1418
+ "id": "appt-20261005-08",
1419
+ "process": "processes.appointment",
1420
+ "label": "Nia",
1421
+ "period": "2026-10-05",
1422
+ "facts": [
1423
+ {
1424
+ "about": "processes.appointment.ready",
1425
+ "label": "arrival",
1426
+ "text": "09:00"
1427
+ },
1428
+ {
1429
+ "about": "processes.appointment.due",
1430
+ "label": "preferred finish",
1431
+ "text": "10:00"
1432
+ },
1433
+ {
1434
+ "about": "processes.appointment.deadline",
1435
+ "label": "latest finish",
1436
+ "text": "12:00"
1437
+ },
1438
+ {
1439
+ "about": "processes.appointment.steps.treat",
1440
+ "label": "fits",
1441
+ "text": "2 of 5 rooms"
1442
+ }
1443
+ ],
1444
+ "late": null,
1445
+ "fulfils": [],
1446
+ "steps": [
1447
+ {
1448
+ "about": "processes.appointment.steps.treat",
1449
+ "on": "gym",
1450
+ "start": "2026-10-05T08:00:00.000Z",
1451
+ "end": "2026-10-05T08:45:00.000Z",
1452
+ "causes": [
1453
+ {
1454
+ "kind": "ready",
1455
+ "about": "processes.appointment.ready",
1456
+ "says": "Arrival: 09:00, so it can't start before then.",
1457
+ "short": "Arrival 09:00",
1458
+ "at": "2026-10-05T08:00:00.000Z",
1459
+ "assumed": false,
1460
+ "refs": {
1461
+ "item": "appt-20261005-08"
1462
+ },
1463
+ "levers": [
1464
+ {
1465
+ "kind": "row",
1466
+ "about": "processes.appointment.ready",
1467
+ "says": "Its arrival"
1468
+ }
1469
+ ]
1470
+ }
1471
+ ],
1472
+ "eligible": [
1473
+ {
1474
+ "on": "equipment.room",
1475
+ "rows": [
1476
+ "gym",
1477
+ "room-3"
1478
+ ]
1479
+ }
1480
+ ]
1481
+ }
1482
+ ],
1483
+ "broken": [],
1484
+ "early": null
1485
+ },
1486
+ {
1487
+ "id": "appt-20261005-09",
1488
+ "process": "processes.appointment",
1489
+ "label": "Jonah",
1490
+ "period": "2026-10-05",
1491
+ "facts": [
1492
+ {
1493
+ "about": "processes.appointment.ready",
1494
+ "label": "arrival",
1495
+ "text": "09:00"
1496
+ },
1497
+ {
1498
+ "about": "processes.appointment.due",
1499
+ "label": "preferred finish",
1500
+ "text": "09:30"
1501
+ },
1502
+ {
1503
+ "about": "processes.appointment.deadline",
1504
+ "label": "latest finish",
1505
+ "text": "11:30"
1506
+ },
1507
+ {
1508
+ "about": "processes.appointment.steps.treat",
1509
+ "label": "fits",
1510
+ "text": "1 of 5 rooms"
1511
+ }
1512
+ ],
1513
+ "late": null,
1514
+ "fulfils": [],
1515
+ "steps": [
1516
+ {
1517
+ "about": "processes.appointment.steps.treat",
1518
+ "on": "room-2",
1519
+ "start": "2026-10-05T08:05:00.000Z",
1520
+ "end": "2026-10-05T08:25:00.000Z",
1521
+ "causes": [
1522
+ {
1523
+ "kind": "downtime",
1524
+ "about": "equipment.room.downtime.turnover",
1525
+ "says": "Room 2's turnover runs 09:00–09:05: Sports massage → Shockwave therapy.",
1526
+ "short": "Turnover at Room 2 until 09:05",
1527
+ "at": "2026-10-05T08:05:00.000Z",
1528
+ "assumed": false,
1529
+ "refs": {
1530
+ "item": "appt-20261005-02",
1531
+ "row": "room-2",
1532
+ "step": "processes.appointment.steps.treat"
1533
+ },
1534
+ "levers": [
1535
+ {
1536
+ "kind": "figure",
1537
+ "about": "equipment.room.downtime.turnover",
1538
+ "says": "The turnover's time for Sports massage → Shockwave therapy"
1539
+ },
1540
+ {
1541
+ "kind": "rule",
1542
+ "about": "equipment.room.downtime.turnover",
1543
+ "says": "When the turnover runs"
1544
+ }
1545
+ ]
1546
+ }
1547
+ ],
1548
+ "eligible": [
1549
+ {
1550
+ "on": "equipment.room",
1551
+ "rows": [
1552
+ "room-2"
1553
+ ]
1554
+ }
1555
+ ]
1556
+ }
1557
+ ],
1558
+ "broken": [],
1559
+ "early": null
1560
+ },
1561
+ {
1562
+ "id": "appt-20261005-10",
1563
+ "process": "processes.appointment",
1564
+ "label": "Mei",
1565
+ "period": "2026-10-05",
1566
+ "facts": [
1567
+ {
1568
+ "about": "processes.appointment.ready",
1569
+ "label": "arrival",
1570
+ "text": "09:00"
1571
+ },
1572
+ {
1573
+ "about": "processes.appointment.due",
1574
+ "label": "preferred finish",
1575
+ "text": "09:30"
1576
+ },
1577
+ {
1578
+ "about": "processes.appointment.deadline",
1579
+ "label": "latest finish",
1580
+ "text": "11:30"
1581
+ },
1582
+ {
1583
+ "about": "processes.appointment.steps.treat",
1584
+ "label": "fits",
1585
+ "text": "1 of 5 rooms"
1586
+ }
1587
+ ],
1588
+ "late": {
1589
+ "minutes": 15,
1590
+ "against": "due",
1591
+ "says": "Mei is 15 min late: preferred finish 09:30.",
1592
+ "chain": [
1593
+ {
1594
+ "kind": "equipment-busy",
1595
+ "about": "equipment.room",
1596
+ "says": "Room 2 is busy with Jonah's treat until 09:25.",
1597
+ "short": "Room 2 has Jonah until 09:25",
1598
+ "at": "2026-10-05T08:25:00.000Z",
1599
+ "assumed": false,
1600
+ "refs": {
1601
+ "item": "appt-20261005-09",
1602
+ "row": "room-2",
1603
+ "step": "processes.appointment.steps.treat"
1604
+ },
1605
+ "levers": [
1606
+ {
1607
+ "kind": "rule",
1608
+ "about": "processes.appointment.steps.treat",
1609
+ "says": "Treat in another room"
1610
+ },
1611
+ {
1612
+ "kind": "equipment",
1613
+ "about": "equipment.room",
1614
+ "says": "One more room"
1615
+ }
1616
+ ]
1617
+ },
1618
+ {
1619
+ "kind": "downtime",
1620
+ "about": "equipment.room.downtime.turnover",
1621
+ "says": "Room 2's turnover runs 09:00–09:05: Sports massage → Shockwave therapy.",
1622
+ "short": "Turnover at Room 2 until 09:05",
1623
+ "at": "2026-10-05T08:05:00.000Z",
1624
+ "assumed": false,
1625
+ "refs": {
1626
+ "item": "appt-20261005-02",
1627
+ "row": "room-2",
1628
+ "step": "processes.appointment.steps.treat"
1629
+ },
1630
+ "levers": [
1631
+ {
1632
+ "kind": "figure",
1633
+ "about": "equipment.room.downtime.turnover",
1634
+ "says": "The turnover's time for Sports massage → Shockwave therapy"
1635
+ },
1636
+ {
1637
+ "kind": "rule",
1638
+ "about": "equipment.room.downtime.turnover",
1639
+ "says": "When the turnover runs"
1640
+ }
1641
+ ]
1642
+ },
1643
+ {
1644
+ "kind": "ready",
1645
+ "about": "processes.appointment.ready",
1646
+ "says": "Arrival: 08:30, so Callum can't start before then.",
1647
+ "short": "Arrival 08:30",
1648
+ "at": "2026-10-05T07:30:00.000Z",
1649
+ "assumed": false,
1650
+ "refs": {
1651
+ "item": "appt-20261005-02"
1652
+ },
1653
+ "levers": [
1654
+ {
1655
+ "kind": "row",
1656
+ "about": "processes.appointment.ready",
1657
+ "says": "Its arrival"
1658
+ }
1659
+ ]
1660
+ }
1661
+ ]
1662
+ },
1663
+ "fulfils": [],
1664
+ "steps": [
1665
+ {
1666
+ "about": "processes.appointment.steps.treat",
1667
+ "on": "room-2",
1668
+ "start": "2026-10-05T08:25:00.000Z",
1669
+ "end": "2026-10-05T08:45:00.000Z",
1670
+ "causes": [
1671
+ {
1672
+ "kind": "equipment-busy",
1673
+ "about": "equipment.room",
1674
+ "says": "Room 2 is busy with Jonah's treat until 09:25.",
1675
+ "short": "Room 2 has Jonah until 09:25",
1676
+ "at": "2026-10-05T08:25:00.000Z",
1677
+ "assumed": false,
1678
+ "refs": {
1679
+ "item": "appt-20261005-09",
1680
+ "row": "room-2",
1681
+ "step": "processes.appointment.steps.treat"
1682
+ },
1683
+ "levers": [
1684
+ {
1685
+ "kind": "rule",
1686
+ "about": "processes.appointment.steps.treat",
1687
+ "says": "Treat in another room"
1688
+ },
1689
+ {
1690
+ "kind": "equipment",
1691
+ "about": "equipment.room",
1692
+ "says": "One more room"
1693
+ }
1694
+ ]
1695
+ },
1696
+ {
1697
+ "kind": "only",
1698
+ "about": "processes.appointment.steps.treat",
1699
+ "says": "Treat only in a room that suits the appointment's type.",
1700
+ "short": "Only 1 of 5 rooms at 09:25",
1701
+ "at": "2026-10-05T08:25:00.000Z",
1702
+ "assumed": false,
1703
+ "refs": {
1704
+ "row": "room-2"
1705
+ },
1706
+ "levers": [
1707
+ {
1708
+ "kind": "rule",
1709
+ "about": "processes.appointment.steps.treat",
1710
+ "says": "Treat only in a room that suits the appointment's type."
1711
+ }
1712
+ ]
1713
+ }
1714
+ ],
1715
+ "eligible": [
1716
+ {
1717
+ "on": "equipment.room",
1718
+ "rows": [
1719
+ "room-2"
1720
+ ]
1721
+ }
1722
+ ]
1723
+ }
1724
+ ],
1725
+ "broken": [],
1726
+ "early": null
1727
+ },
1728
+ {
1729
+ "id": "appt-20261005-11",
1730
+ "process": "processes.appointment",
1731
+ "label": "Dara",
1732
+ "period": "2026-10-05",
1733
+ "facts": [
1734
+ {
1735
+ "about": "processes.appointment.ready",
1736
+ "label": "arrival",
1737
+ "text": "09:15"
1738
+ },
1739
+ {
1740
+ "about": "processes.appointment.due",
1741
+ "label": "preferred finish",
1742
+ "text": "10:00"
1743
+ },
1744
+ {
1745
+ "about": "processes.appointment.deadline",
1746
+ "label": "latest finish",
1747
+ "text": "12:00"
1748
+ },
1749
+ {
1750
+ "about": "processes.appointment.steps.treat",
1751
+ "label": "fits",
1752
+ "text": "1 of 5 rooms"
1753
+ }
1754
+ ],
1755
+ "late": {
1756
+ "minutes": 15,
1757
+ "against": "due",
1758
+ "says": "Dara is 15 min late: preferred finish 10:00.",
1759
+ "chain": [
1760
+ {
1761
+ "kind": "equipment-busy",
1762
+ "about": "equipment.room",
1763
+ "says": "Room 2 is busy with Mei's treat until 09:45.",
1764
+ "short": "Room 2 has Mei until 09:45",
1765
+ "at": "2026-10-05T08:45:00.000Z",
1766
+ "assumed": false,
1767
+ "refs": {
1768
+ "item": "appt-20261005-10",
1769
+ "row": "room-2",
1770
+ "step": "processes.appointment.steps.treat"
1771
+ },
1772
+ "levers": [
1773
+ {
1774
+ "kind": "rule",
1775
+ "about": "processes.appointment.steps.treat",
1776
+ "says": "Treat in another room"
1777
+ },
1778
+ {
1779
+ "kind": "equipment",
1780
+ "about": "equipment.room",
1781
+ "says": "One more room"
1782
+ }
1783
+ ]
1784
+ },
1785
+ {
1786
+ "kind": "equipment-busy",
1787
+ "about": "equipment.room",
1788
+ "says": "Room 2 is busy with Jonah's treat until 09:25.",
1789
+ "short": "Room 2 has Jonah until 09:25",
1790
+ "at": "2026-10-05T08:25:00.000Z",
1791
+ "assumed": false,
1792
+ "refs": {
1793
+ "item": "appt-20261005-09",
1794
+ "row": "room-2",
1795
+ "step": "processes.appointment.steps.treat"
1796
+ },
1797
+ "levers": [
1798
+ {
1799
+ "kind": "rule",
1800
+ "about": "processes.appointment.steps.treat",
1801
+ "says": "Treat in another room"
1802
+ },
1803
+ {
1804
+ "kind": "equipment",
1805
+ "about": "equipment.room",
1806
+ "says": "One more room"
1807
+ }
1808
+ ]
1809
+ },
1810
+ {
1811
+ "kind": "downtime",
1812
+ "about": "equipment.room.downtime.turnover",
1813
+ "says": "Room 2's turnover runs 09:00–09:05: Sports massage → Shockwave therapy.",
1814
+ "short": "Turnover at Room 2 until 09:05",
1815
+ "at": "2026-10-05T08:05:00.000Z",
1816
+ "assumed": false,
1817
+ "refs": {
1818
+ "item": "appt-20261005-02",
1819
+ "row": "room-2",
1820
+ "step": "processes.appointment.steps.treat"
1821
+ },
1822
+ "levers": [
1823
+ {
1824
+ "kind": "figure",
1825
+ "about": "equipment.room.downtime.turnover",
1826
+ "says": "The turnover's time for Sports massage → Shockwave therapy"
1827
+ },
1828
+ {
1829
+ "kind": "rule",
1830
+ "about": "equipment.room.downtime.turnover",
1831
+ "says": "When the turnover runs"
1832
+ }
1833
+ ]
1834
+ }
1835
+ ]
1836
+ },
1837
+ "fulfils": [],
1838
+ "steps": [
1839
+ {
1840
+ "about": "processes.appointment.steps.treat",
1841
+ "on": "room-2",
1842
+ "start": "2026-10-05T08:45:00.000Z",
1843
+ "end": "2026-10-05T09:15:00.000Z",
1844
+ "causes": [
1845
+ {
1846
+ "kind": "equipment-busy",
1847
+ "about": "equipment.room",
1848
+ "says": "Room 2 is busy with Mei's treat until 09:45.",
1849
+ "short": "Room 2 has Mei until 09:45",
1850
+ "at": "2026-10-05T08:45:00.000Z",
1851
+ "assumed": false,
1852
+ "refs": {
1853
+ "item": "appt-20261005-10",
1854
+ "row": "room-2",
1855
+ "step": "processes.appointment.steps.treat"
1856
+ },
1857
+ "levers": [
1858
+ {
1859
+ "kind": "rule",
1860
+ "about": "processes.appointment.steps.treat",
1861
+ "says": "Treat in another room"
1862
+ },
1863
+ {
1864
+ "kind": "equipment",
1865
+ "about": "equipment.room",
1866
+ "says": "One more room"
1867
+ }
1868
+ ]
1869
+ },
1870
+ {
1871
+ "kind": "only",
1872
+ "about": "processes.appointment.steps.treat",
1873
+ "says": "Treat only in a room that suits the appointment's type.",
1874
+ "short": "Only 1 of 5 rooms at 09:45",
1875
+ "at": "2026-10-05T08:45:00.000Z",
1876
+ "assumed": false,
1877
+ "refs": {
1878
+ "row": "room-2"
1879
+ },
1880
+ "levers": [
1881
+ {
1882
+ "kind": "rule",
1883
+ "about": "processes.appointment.steps.treat",
1884
+ "says": "Treat only in a room that suits the appointment's type."
1885
+ }
1886
+ ]
1887
+ }
1888
+ ],
1889
+ "eligible": [
1890
+ {
1891
+ "on": "equipment.room",
1892
+ "rows": [
1893
+ "room-2"
1894
+ ]
1895
+ }
1896
+ ]
1897
+ }
1898
+ ],
1899
+ "broken": [],
1900
+ "early": null
1901
+ },
1902
+ {
1903
+ "id": "appt-20261005-12",
1904
+ "process": "processes.appointment",
1905
+ "label": "Imani",
1906
+ "period": "2026-10-05",
1907
+ "facts": [
1908
+ {
1909
+ "about": "processes.appointment.ready",
1910
+ "label": "arrival",
1911
+ "text": "09:30"
1912
+ },
1913
+ {
1914
+ "about": "processes.appointment.due",
1915
+ "label": "preferred finish",
1916
+ "text": "10:30"
1917
+ },
1918
+ {
1919
+ "about": "processes.appointment.deadline",
1920
+ "label": "latest finish",
1921
+ "text": "12:30"
1922
+ },
1923
+ {
1924
+ "about": "processes.appointment.steps.treat",
1925
+ "label": "fits",
1926
+ "text": "3 of 5 rooms"
1927
+ }
1928
+ ],
1929
+ "late": null,
1930
+ "fulfils": [],
1931
+ "steps": [
1932
+ {
1933
+ "about": "processes.appointment.steps.treat",
1934
+ "on": "room-1",
1935
+ "start": "2026-10-05T08:30:00.000Z",
1936
+ "end": "2026-10-05T09:15:00.000Z",
1937
+ "causes": [
1938
+ {
1939
+ "kind": "ready",
1940
+ "about": "processes.appointment.ready",
1941
+ "says": "Arrival: 09:30, so it can't start before then.",
1942
+ "short": "Arrival 09:30",
1943
+ "at": "2026-10-05T08:30:00.000Z",
1944
+ "assumed": false,
1945
+ "refs": {
1946
+ "item": "appt-20261005-12"
1947
+ },
1948
+ "levers": [
1949
+ {
1950
+ "kind": "row",
1951
+ "about": "processes.appointment.ready",
1952
+ "says": "Its arrival"
1953
+ }
1954
+ ]
1955
+ }
1956
+ ],
1957
+ "eligible": [
1958
+ {
1959
+ "on": "equipment.room",
1960
+ "rows": [
1961
+ "room-1",
1962
+ "room-2",
1963
+ "room-3"
1964
+ ]
1965
+ }
1966
+ ]
1967
+ }
1968
+ ],
1969
+ "broken": [],
1970
+ "early": null
1971
+ },
1972
+ {
1973
+ "id": "appt-20261005-13",
1974
+ "process": "processes.appointment",
1975
+ "label": "Rhys",
1976
+ "period": "2026-10-05",
1977
+ "facts": [
1978
+ {
1979
+ "about": "processes.appointment.ready",
1980
+ "label": "arrival",
1981
+ "text": "12:30"
1982
+ },
1983
+ {
1984
+ "about": "processes.appointment.due",
1985
+ "label": "preferred finish",
1986
+ "text": "13:30"
1987
+ },
1988
+ {
1989
+ "about": "processes.appointment.deadline",
1990
+ "label": "latest finish",
1991
+ "text": "15:30"
1992
+ },
1993
+ {
1994
+ "about": "processes.appointment.steps.treat",
1995
+ "label": "fits",
1996
+ "text": "3 of 5 rooms"
1997
+ }
1998
+ ],
1999
+ "late": null,
2000
+ "fulfils": [],
2001
+ "steps": [
2002
+ {
2003
+ "about": "processes.appointment.steps.treat",
2004
+ "on": "room-2",
2005
+ "start": "2026-10-05T11:30:00.000Z",
2006
+ "end": "2026-10-05T12:15:00.000Z",
2007
+ "causes": [
2008
+ {
2009
+ "kind": "ready",
2010
+ "about": "processes.appointment.ready",
2011
+ "says": "Arrival: 12:30, so it can't start before then.",
2012
+ "short": "Arrival 12:30",
2013
+ "at": "2026-10-05T11:30:00.000Z",
2014
+ "assumed": false,
2015
+ "refs": {
2016
+ "item": "appt-20261005-13"
2017
+ },
2018
+ "levers": [
2019
+ {
2020
+ "kind": "row",
2021
+ "about": "processes.appointment.ready",
2022
+ "says": "Its arrival"
2023
+ }
2024
+ ]
2025
+ }
2026
+ ],
2027
+ "eligible": [
2028
+ {
2029
+ "on": "equipment.room",
2030
+ "rows": [
2031
+ "room-1",
2032
+ "room-2",
2033
+ "room-3"
2034
+ ]
2035
+ }
2036
+ ]
2037
+ }
2038
+ ],
2039
+ "broken": [],
2040
+ "early": null
2041
+ },
2042
+ {
2043
+ "id": "appt-20261005-14",
2044
+ "process": "processes.appointment",
2045
+ "label": "Sofia",
2046
+ "period": "2026-10-05",
2047
+ "facts": [
2048
+ {
2049
+ "about": "processes.appointment.ready",
2050
+ "label": "arrival",
2051
+ "text": "13:00"
2052
+ },
2053
+ {
2054
+ "about": "processes.appointment.due",
2055
+ "label": "preferred finish",
2056
+ "text": "14:00"
2057
+ },
2058
+ {
2059
+ "about": "processes.appointment.deadline",
2060
+ "label": "latest finish",
2061
+ "text": "16:00"
2062
+ },
2063
+ {
2064
+ "about": "processes.appointment.steps.treat",
2065
+ "label": "fits",
2066
+ "text": "2 of 5 rooms"
2067
+ }
2068
+ ],
2069
+ "late": null,
2070
+ "fulfils": [],
2071
+ "steps": [
2072
+ {
2073
+ "about": "processes.appointment.steps.treat",
2074
+ "on": "gym",
2075
+ "start": "2026-10-05T12:00:00.000Z",
2076
+ "end": "2026-10-05T12:45:00.000Z",
2077
+ "causes": [
2078
+ {
2079
+ "kind": "ready",
2080
+ "about": "processes.appointment.ready",
2081
+ "says": "Arrival: 13:00, so it can't start before then.",
2082
+ "short": "Arrival 13:00",
2083
+ "at": "2026-10-05T12:00:00.000Z",
2084
+ "assumed": false,
2085
+ "refs": {
2086
+ "item": "appt-20261005-14"
2087
+ },
2088
+ "levers": [
2089
+ {
2090
+ "kind": "row",
2091
+ "about": "processes.appointment.ready",
2092
+ "says": "Its arrival"
2093
+ }
2094
+ ]
2095
+ }
2096
+ ],
2097
+ "eligible": [
2098
+ {
2099
+ "on": "equipment.room",
2100
+ "rows": [
2101
+ "gym",
2102
+ "room-3"
2103
+ ]
2104
+ }
2105
+ ]
2106
+ }
2107
+ ],
2108
+ "broken": [],
2109
+ "early": null
2110
+ },
2111
+ {
2112
+ "id": "appt-20261005-15",
2113
+ "process": "processes.appointment",
2114
+ "label": "Kofi",
2115
+ "period": "2026-10-05",
2116
+ "facts": [
2117
+ {
2118
+ "about": "processes.appointment.ready",
2119
+ "label": "arrival",
2120
+ "text": "14:00"
2121
+ },
2122
+ {
2123
+ "about": "processes.appointment.due",
2124
+ "label": "preferred finish",
2125
+ "text": "14:45"
2126
+ },
2127
+ {
2128
+ "about": "processes.appointment.deadline",
2129
+ "label": "latest finish",
2130
+ "text": "17:00"
2131
+ },
2132
+ {
2133
+ "about": "processes.appointment.steps.treat",
2134
+ "label": "fits",
2135
+ "text": "3 of 5 rooms"
2136
+ }
2137
+ ],
2138
+ "late": null,
2139
+ "fulfils": [],
2140
+ "steps": [
2141
+ {
2142
+ "about": "processes.appointment.steps.treat",
2143
+ "on": "room-1",
2144
+ "start": "2026-10-05T13:00:00.000Z",
2145
+ "end": "2026-10-05T13:30:00.000Z",
2146
+ "causes": [
2147
+ {
2148
+ "kind": "ready",
2149
+ "about": "processes.appointment.ready",
2150
+ "says": "Arrival: 14:00, so it can't start before then.",
2151
+ "short": "Arrival 14:00",
2152
+ "at": "2026-10-05T13:00:00.000Z",
2153
+ "assumed": false,
2154
+ "refs": {
2155
+ "item": "appt-20261005-15"
2156
+ },
2157
+ "levers": [
2158
+ {
2159
+ "kind": "row",
2160
+ "about": "processes.appointment.ready",
2161
+ "says": "Its arrival"
2162
+ }
2163
+ ]
2164
+ }
2165
+ ],
2166
+ "eligible": [
2167
+ {
2168
+ "on": "equipment.room",
2169
+ "rows": [
2170
+ "room-1",
2171
+ "room-2",
2172
+ "room-3"
2173
+ ]
2174
+ }
2175
+ ]
2176
+ }
2177
+ ],
2178
+ "broken": [],
2179
+ "early": null
2180
+ },
2181
+ {
2182
+ "id": "appt-20261005-16",
2183
+ "process": "processes.appointment",
2184
+ "label": "Elsie",
2185
+ "period": "2026-10-05",
2186
+ "facts": [
2187
+ {
2188
+ "about": "processes.appointment.ready",
2189
+ "label": "arrival",
2190
+ "text": "14:30"
2191
+ },
2192
+ {
2193
+ "about": "processes.appointment.due",
2194
+ "label": "preferred finish",
2195
+ "text": "15:30"
2196
+ },
2197
+ {
2198
+ "about": "processes.appointment.deadline",
2199
+ "label": "latest finish",
2200
+ "text": "17:30"
2201
+ },
2202
+ {
2203
+ "about": "processes.appointment.steps.treat",
2204
+ "label": "fits",
2205
+ "text": "3 of 5 rooms"
2206
+ }
2207
+ ],
2208
+ "late": null,
2209
+ "fulfils": [],
2210
+ "steps": [
2211
+ {
2212
+ "about": "processes.appointment.steps.treat",
2213
+ "on": "room-3",
2214
+ "start": "2026-10-05T13:30:00.000Z",
2215
+ "end": "2026-10-05T14:15:00.000Z",
2216
+ "causes": [
2217
+ {
2218
+ "kind": "ready",
2219
+ "about": "processes.appointment.ready",
2220
+ "says": "Arrival: 14:30, so it can't start before then.",
2221
+ "short": "Arrival 14:30",
2222
+ "at": "2026-10-05T13:30:00.000Z",
2223
+ "assumed": false,
2224
+ "refs": {
2225
+ "item": "appt-20261005-16"
2226
+ },
2227
+ "levers": [
2228
+ {
2229
+ "kind": "row",
2230
+ "about": "processes.appointment.ready",
2231
+ "says": "Its arrival"
2232
+ }
2233
+ ]
2234
+ }
2235
+ ],
2236
+ "eligible": [
2237
+ {
2238
+ "on": "equipment.room",
2239
+ "rows": [
2240
+ "room-1",
2241
+ "room-2",
2242
+ "room-3"
2243
+ ]
2244
+ }
2245
+ ]
2246
+ }
2247
+ ],
2248
+ "broken": [],
2249
+ "early": null
2250
+ }
2251
+ ],
2252
+ "setsFinish": [
2253
+ {
2254
+ "period": "2026-10-05",
2255
+ "row": "room-3",
2256
+ "says": "Room 3 sets the day's finish: busy from 08:30 to 15:15.",
2257
+ "chain": [
2258
+ {
2259
+ "kind": "ready",
2260
+ "about": "processes.appointment.ready",
2261
+ "says": "Arrival: 14:30, so Elsie can't start before then.",
2262
+ "short": "Arrival 14:30",
2263
+ "at": "2026-10-05T13:30:00.000Z",
2264
+ "assumed": false,
2265
+ "refs": {
2266
+ "item": "appt-20261005-16"
2267
+ },
2268
+ "levers": [
2269
+ {
2270
+ "kind": "row",
2271
+ "about": "processes.appointment.ready",
2272
+ "says": "Its arrival"
2273
+ }
2274
+ ]
2275
+ }
2276
+ ]
2277
+ }
2278
+ ],
2279
+ "undone": [],
2280
+ "plan": null,
2281
+ "rounds": null,
2282
+ "stock": []
2283
+ }