-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagent-demo.json
More file actions
592 lines (592 loc) · 15 KB
/
Copy pathagent-demo.json
File metadata and controls
592 lines (592 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
{
"label": "synthetic",
"statement": "Synthetic fleet with known faults written in. The signals, verdicts and actions are exactly what the agent produced, unedited.",
"cycle_id": "10f662ece670",
"generated_at": "2026-09-29T22:05:54.659575+00:00",
"weeks": 6,
"planted": [
{
"machine_id": "MX-7100",
"kind": "drift",
"note": "cycle drifts 1.9% -> 24% over the window, stability ~97%"
},
{
"machine_id": "MX-7101",
"kind": "stop_burst",
"note": "stops x4 from 2026-08-24"
},
{
"machine_id": "MX-7102",
"kind": "post_maintenance",
"note": "deviation +9% after maintenance on 2026-08-17"
}
],
"machines": [
{
"machine_id": "MX-7100",
"approved_cycle_s": 31.0,
"weekly_deviation_pct": [
3.1,
7.3,
11.1,
14.5,
18.6,
22.5
],
"weekly_stability_pct": [
96.9,
96.9,
97.0,
97.0,
97.0,
97.0
],
"weekly_stops": [
19,
22,
25,
23,
21,
24
],
"signals": {
"cycle_deviation": {
"value": 22.48,
"unit": "%",
"detail": "mean cycle +22.5% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": 19.36,
"unit": "pp",
"detail": "deviation moved +19.4 points from the first week to the last"
},
"cycle_stability": {
"value": 97.0,
"unit": "%",
"detail": "cycle stability 97.0% over the last 5 days"
},
"stop_rate": {
"value": 1.17,
"unit": "x",
"detail": "4.8 stops/day in the last week vs 4.1 in the first two weeks (1.2x)"
}
},
"verdict": {
"abnormal": true,
"severity": "high",
"pattern": "silent_drift",
"hypothesis": "Cycle duration drifted +19.4 points across the window while stability held at 97% — a steady, worsening cycle that no single-day threshold shows; consistent with tooling wear or a standard that no longer matches the part.",
"evidence": [
"cycle_deviation_trend",
"cycle_stability",
"cycle_deviation"
],
"reasoner": "rules"
},
"actions": [
{
"tool": "root_cause",
"ok": true,
"summary": "5-step root-cause sketch for silent_drift",
"chain": [
"Cycle duration is above the approved cycle and rising week on week.",
"The rise is smooth and the cycle is stable, so it is not stops or operator variation.",
"A smooth, monotonic slowdown points to wear (tooling, hydraulics) or a changed material/setup.",
"Wear that was not caught means the approved cycle is being compared, not the trend.",
"Check tooling condition and material lot; if unchanged, re-baseline the approved cycle."
]
},
{
"tool": "work_order",
"ok": true,
"summary": "P2 work order: MX-7100: silent drift",
"work_order": {
"priority": "P2",
"checks": [
"Inspect tooling wear and hydraulics",
"Confirm material lot vs approved setup",
"Re-baseline approved cycle if the part changed"
],
"done_when": "cycle within 5% of approved for five consecutive days"
}
},
{
"tool": "alert",
"ok": true,
"summary": "high alert: Silent Drift"
}
]
},
{
"machine_id": "MX-7101",
"approved_cycle_s": 42.0,
"weekly_deviation_pct": [
0.7,
0.8,
0.7,
0.7,
0.7,
0.8
],
"weekly_stability_pct": [
96.7,
96.5,
96.8,
96.6,
97.1,
96.5
],
"weekly_stops": [
15,
16,
26,
15,
48,
52
],
"signals": {
"cycle_deviation": {
"value": 0.78,
"unit": "%",
"detail": "mean cycle +0.8% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": 0.11,
"unit": "pp",
"detail": "deviation moved +0.1 points from the first week to the last"
},
"cycle_stability": {
"value": 96.5,
"unit": "%",
"detail": "cycle stability 96.5% over the last 5 days"
},
"stop_rate": {
"value": 3.35,
"unit": "x",
"detail": "10.4 stops/day in the last week vs 3.1 in the first two weeks (3.4x)"
}
},
"verdict": {
"abnormal": true,
"severity": "medium",
"pattern": "stop_burst",
"hypothesis": "Unplanned stops ran 3.4x the earlier rate in the last week with the cycle itself unchanged — an availability problem, not a speed problem.",
"evidence": [
"stop_rate"
],
"reasoner": "rules"
},
"actions": [
{
"tool": "root_cause",
"ok": true,
"summary": "5-step root-cause sketch for stop_burst",
"chain": [
"Unplanned stops multiplied while the cycle itself stayed the same.",
"Availability, not speed, is what fell.",
"Frequent short stops usually trace to feed, ejection or sensor faults rather than the mould.",
"Pull the stop reason codes for the last week and rank them.",
"Fix the top reason first; re-check the stop rate after two shifts."
]
},
{
"tool": "alert",
"ok": true,
"summary": "medium alert: Stop Burst"
}
]
},
{
"machine_id": "MX-7102",
"approved_cycle_s": 24.0,
"weekly_deviation_pct": [
2.5,
2.2,
2.0,
9.6,
11.1,
10.9
],
"weekly_stability_pct": [
97.6,
97.6,
97.4,
97.6,
97.6,
97.5
],
"weekly_stops": [
21,
18,
19,
19,
20,
19
],
"signals": {
"cycle_deviation": {
"value": 10.94,
"unit": "%",
"detail": "mean cycle +10.9% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": 8.42,
"unit": "pp",
"detail": "deviation moved +8.4 points from the first week to the last"
},
"cycle_stability": {
"value": 97.5,
"unit": "%",
"detail": "cycle stability 97.5% over the last 5 days"
},
"stop_rate": {
"value": 0.97,
"unit": "x",
"detail": "3.8 stops/day in the last week vs 3.9 in the first two weeks (1.0x)"
},
"post_maintenance_deviation": {
"value": 9.33,
"unit": "pp",
"detail": "deviation +9.3 points after maintenance on 2026-08-17 vs the week before"
}
},
"verdict": {
"abnormal": true,
"severity": "high",
"pattern": "post_maintenance_degradation",
"hypothesis": "Deviation is +9.3 points worse after the last maintenance than the week before it — the intervention degraded the cycle rather than restoring it.",
"evidence": [
"post_maintenance_deviation",
"cycle_deviation"
],
"reasoner": "rules"
},
"actions": [
{
"tool": "maintenance_impact",
"ok": true,
"summary": "deviation +2.0% -> +11.4% across maintenance on 2026-08-17 (worse)"
},
{
"tool": "work_order",
"ok": true,
"summary": "P2 work order: MX-7102: post maintenance degradation",
"work_order": {
"priority": "P2",
"checks": [
"Diff current settings against the pre-maintenance record",
"Verify replaced parts' tolerances",
"Restore or re-approve; log which"
],
"done_when": "deviation back to the pre-maintenance level for five consecutive days"
}
},
{
"tool": "alert",
"ok": true,
"summary": "high alert: Post Maintenance Degradation"
}
]
},
{
"machine_id": "MX-7103",
"approved_cycle_s": 18.0,
"weekly_deviation_pct": [
2.9,
3.1,
3.1,
3.2,
2.9,
3.1
],
"weekly_stability_pct": [
97.4,
97.5,
97.4,
97.6,
97.6,
97.3
],
"weekly_stops": [
15,
20,
17,
17,
18,
22
],
"signals": {
"cycle_deviation": {
"value": 3.15,
"unit": "%",
"detail": "mean cycle +3.1% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": 0.28,
"unit": "pp",
"detail": "deviation moved +0.3 points from the first week to the last"
},
"cycle_stability": {
"value": 97.3,
"unit": "%",
"detail": "cycle stability 97.3% over the last 5 days"
},
"stop_rate": {
"value": 1.26,
"unit": "x",
"detail": "4.4 stops/day in the last week vs 3.5 in the first two weeks (1.3x)"
}
},
"verdict": {
"abnormal": false,
"severity": "low",
"pattern": "normal",
"hypothesis": "Within normal variation on every detector.",
"evidence": [],
"reasoner": "rules"
},
"actions": []
},
{
"machine_id": "MX-7104",
"approved_cycle_s": 42.0,
"weekly_deviation_pct": [
0.6,
0.9,
1.1,
1.2,
0.9,
0.8
],
"weekly_stability_pct": [
96.3,
96.2,
96.1,
96.2,
96.0,
96.1
],
"weekly_stops": [
19,
23,
19,
21,
17,
20
],
"signals": {
"cycle_deviation": {
"value": 0.82,
"unit": "%",
"detail": "mean cycle +0.8% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": 0.26,
"unit": "pp",
"detail": "deviation moved +0.3 points from the first week to the last"
},
"cycle_stability": {
"value": 96.1,
"unit": "%",
"detail": "cycle stability 96.1% over the last 5 days"
},
"stop_rate": {
"value": 0.95,
"unit": "x",
"detail": "4.0 stops/day in the last week vs 4.2 in the first two weeks (1.0x)"
}
},
"verdict": {
"abnormal": false,
"severity": "low",
"pattern": "normal",
"hypothesis": "Within normal variation on every detector.",
"evidence": [],
"reasoner": "rules"
},
"actions": []
},
{
"machine_id": "MX-7105",
"approved_cycle_s": 18.0,
"weekly_deviation_pct": [
2.0,
2.2,
2.0,
2.0,
2.0,
2.2
],
"weekly_stability_pct": [
97.4,
97.5,
97.3,
97.3,
97.2,
97.1
],
"weekly_stops": [
22,
19,
21,
21,
20,
22
],
"signals": {
"cycle_deviation": {
"value": 2.17,
"unit": "%",
"detail": "mean cycle +2.2% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": 0.2,
"unit": "pp",
"detail": "deviation moved +0.2 points from the first week to the last"
},
"cycle_stability": {
"value": 97.1,
"unit": "%",
"detail": "cycle stability 97.1% over the last 5 days"
},
"stop_rate": {
"value": 1.07,
"unit": "x",
"detail": "4.4 stops/day in the last week vs 4.1 in the first two weeks (1.1x)"
}
},
"verdict": {
"abnormal": false,
"severity": "low",
"pattern": "normal",
"hypothesis": "Within normal variation on every detector.",
"evidence": [],
"reasoner": "rules"
},
"actions": []
},
{
"machine_id": "MX-7106",
"approved_cycle_s": 42.0,
"weekly_deviation_pct": [
2.1,
2.0,
2.0,
2.3,
2.3,
2.0
],
"weekly_stability_pct": [
96.3,
96.3,
96.4,
96.4,
96.2,
96.3
],
"weekly_stops": [
19,
18,
19,
20,
25,
21
],
"signals": {
"cycle_deviation": {
"value": 2.03,
"unit": "%",
"detail": "mean cycle +2.0% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": -0.09,
"unit": "pp",
"detail": "deviation moved -0.1 points from the first week to the last"
},
"cycle_stability": {
"value": 96.3,
"unit": "%",
"detail": "cycle stability 96.3% over the last 5 days"
},
"stop_rate": {
"value": 1.14,
"unit": "x",
"detail": "4.2 stops/day in the last week vs 3.7 in the first two weeks (1.1x)"
}
},
"verdict": {
"abnormal": false,
"severity": "low",
"pattern": "normal",
"hypothesis": "Within normal variation on every detector.",
"evidence": [],
"reasoner": "rules"
},
"actions": []
},
{
"machine_id": "MX-7107",
"approved_cycle_s": 18.0,
"weekly_deviation_pct": [
1.3,
1.3,
1.6,
1.6,
1.4,
1.3
],
"weekly_stability_pct": [
97.0,
97.0,
97.2,
97.2,
97.1,
97.0
],
"weekly_stops": [
15,
17,
19,
25,
18,
13
],
"signals": {
"cycle_deviation": {
"value": 1.28,
"unit": "%",
"detail": "mean cycle +1.3% vs approved over the last 5 days"
},
"cycle_deviation_trend": {
"value": 0.01,
"unit": "pp",
"detail": "deviation moved +0.0 points from the first week to the last"
},
"cycle_stability": {
"value": 97.0,
"unit": "%",
"detail": "cycle stability 97.0% over the last 5 days"
},
"stop_rate": {
"value": 0.81,
"unit": "x",
"detail": "2.6 stops/day in the last week vs 3.2 in the first two weeks (0.8x)"
}
},
"verdict": {
"abnormal": false,
"severity": "low",
"pattern": "normal",
"hypothesis": "Within normal variation on every detector.",
"evidence": [],
"reasoner": "rules"
},
"actions": []
}
],
"notes": [
"sense: 33 signals over 8 machines",
"reason (rules): 3 abnormal of 8",
"act: 8 tool call(s), 0 failed"
]
}