instar 1.3.259 → 1.3.261
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.
- package/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +14 -0
- package/dist/commands/server.js.map +1 -1
- package/dist/config/ConfigDefaults.d.ts.map +1 -1
- package/dist/config/ConfigDefaults.js +1 -0
- package/dist/config/ConfigDefaults.js.map +1 -1
- package/dist/core/types.d.ts +3 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/messaging/TelegramAdapter.d.ts +71 -0
- package/dist/messaging/TelegramAdapter.d.ts.map +1 -1
- package/dist/messaging/TelegramAdapter.js +144 -0
- package/dist/messaging/TelegramAdapter.js.map +1 -1
- package/dist/monitoring/StaleSessionBackstop.d.ts +22 -0
- package/dist/monitoring/StaleSessionBackstop.d.ts.map +1 -1
- package/dist/monitoring/StaleSessionBackstop.js +31 -6
- package/dist/monitoring/StaleSessionBackstop.js.map +1 -1
- package/dist/monitoring/sentinelWiring.d.ts +4 -0
- package/dist/monitoring/sentinelWiring.d.ts.map +1 -1
- package/dist/monitoring/sentinelWiring.js.map +1 -1
- package/dist/scaffold/templates.d.ts.map +1 -1
- package/dist/scaffold/templates.js +2 -0
- package/dist/scaffold/templates.js.map +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +21 -8
- package/dist/server/routes.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +46 -46
- package/src/scaffold/templates.ts +2 -0
- package/upgrades/1.3.260.md +72 -0
- package/upgrades/1.3.261.md +45 -0
- package/upgrades/side-effects/notification-ux-coherence.md +59 -0
- package/upgrades/side-effects/stalebackstop-accuracy.md +52 -0
- package/upgrades/1.3.259.md +0 -32
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./builtin-manifest.schema.json",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"generatedAt": "2026-06-
|
|
5
|
-
"instarVersion": "1.3.
|
|
4
|
+
"generatedAt": "2026-06-05T01:20:58.426Z",
|
|
5
|
+
"instarVersion": "1.3.261",
|
|
6
6
|
"entryCount": 198,
|
|
7
7
|
"entries": {
|
|
8
8
|
"hook:session-start": {
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
"type": "route-group",
|
|
419
419
|
"domain": "monitoring",
|
|
420
420
|
"sourcePath": "src/server/routes.ts",
|
|
421
|
-
"contentHash": "
|
|
421
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
422
422
|
"since": "2025-01-01"
|
|
423
423
|
},
|
|
424
424
|
"route-group:agents": {
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
"type": "route-group",
|
|
427
427
|
"domain": "sessions",
|
|
428
428
|
"sourcePath": "src/server/routes.ts",
|
|
429
|
-
"contentHash": "
|
|
429
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
430
430
|
"since": "2025-01-01"
|
|
431
431
|
},
|
|
432
432
|
"route-group:backups": {
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"type": "route-group",
|
|
435
435
|
"domain": "operations",
|
|
436
436
|
"sourcePath": "src/server/routes.ts",
|
|
437
|
-
"contentHash": "
|
|
437
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
438
438
|
"since": "2025-01-01"
|
|
439
439
|
},
|
|
440
440
|
"route-group:git": {
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
"type": "route-group",
|
|
443
443
|
"domain": "coordination",
|
|
444
444
|
"sourcePath": "src/server/routes.ts",
|
|
445
|
-
"contentHash": "
|
|
445
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
446
446
|
"since": "2025-01-01"
|
|
447
447
|
},
|
|
448
448
|
"route-group:memory": {
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
"type": "route-group",
|
|
451
451
|
"domain": "memory",
|
|
452
452
|
"sourcePath": "src/server/routes.ts",
|
|
453
|
-
"contentHash": "
|
|
453
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
454
454
|
"since": "2025-01-01"
|
|
455
455
|
},
|
|
456
456
|
"route-group:semantic": {
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"type": "route-group",
|
|
459
459
|
"domain": "memory",
|
|
460
460
|
"sourcePath": "src/server/routes.ts",
|
|
461
|
-
"contentHash": "
|
|
461
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
462
462
|
"since": "2025-01-01"
|
|
463
463
|
},
|
|
464
464
|
"route-group:status": {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
"type": "route-group",
|
|
467
467
|
"domain": "monitoring",
|
|
468
468
|
"sourcePath": "src/server/routes.ts",
|
|
469
|
-
"contentHash": "
|
|
469
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
470
470
|
"since": "2025-01-01"
|
|
471
471
|
},
|
|
472
472
|
"route-group:capabilities": {
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
"type": "route-group",
|
|
475
475
|
"domain": "mapping",
|
|
476
476
|
"sourcePath": "src/server/routes.ts",
|
|
477
|
-
"contentHash": "
|
|
477
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
478
478
|
"since": "2025-01-01"
|
|
479
479
|
},
|
|
480
480
|
"route-group:project-map": {
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
"type": "route-group",
|
|
483
483
|
"domain": "mapping",
|
|
484
484
|
"sourcePath": "src/server/routes.ts",
|
|
485
|
-
"contentHash": "
|
|
485
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
486
486
|
"since": "2025-01-01"
|
|
487
487
|
},
|
|
488
488
|
"route-group:coherence": {
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
"type": "route-group",
|
|
491
491
|
"domain": "coherence",
|
|
492
492
|
"sourcePath": "src/server/routes.ts",
|
|
493
|
-
"contentHash": "
|
|
493
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
494
494
|
"since": "2025-01-01"
|
|
495
495
|
},
|
|
496
496
|
"route-group:topic-bindings": {
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"type": "route-group",
|
|
499
499
|
"domain": "sessions",
|
|
500
500
|
"sourcePath": "src/server/routes.ts",
|
|
501
|
-
"contentHash": "
|
|
501
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
502
502
|
"since": "2025-01-01"
|
|
503
503
|
},
|
|
504
504
|
"route-group:context": {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
"type": "route-group",
|
|
507
507
|
"domain": "context",
|
|
508
508
|
"sourcePath": "src/server/routes.ts",
|
|
509
|
-
"contentHash": "
|
|
509
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
510
510
|
"since": "2025-01-01"
|
|
511
511
|
},
|
|
512
512
|
"route-group:scope-coherence": {
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
"type": "route-group",
|
|
515
515
|
"domain": "coherence",
|
|
516
516
|
"sourcePath": "src/server/routes.ts",
|
|
517
|
-
"contentHash": "
|
|
517
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
518
518
|
"since": "2025-01-01"
|
|
519
519
|
},
|
|
520
520
|
"route-group:canonical-state": {
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
"type": "route-group",
|
|
523
523
|
"domain": "state",
|
|
524
524
|
"sourcePath": "src/server/routes.ts",
|
|
525
|
-
"contentHash": "
|
|
525
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
526
526
|
"since": "2025-01-01"
|
|
527
527
|
},
|
|
528
528
|
"route-group:ci": {
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
"type": "route-group",
|
|
531
531
|
"domain": "monitoring",
|
|
532
532
|
"sourcePath": "src/server/routes.ts",
|
|
533
|
-
"contentHash": "
|
|
533
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
534
534
|
"since": "2025-01-01"
|
|
535
535
|
},
|
|
536
536
|
"route-group:sessions": {
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
"type": "route-group",
|
|
539
539
|
"domain": "sessions",
|
|
540
540
|
"sourcePath": "src/server/routes.ts",
|
|
541
|
-
"contentHash": "
|
|
541
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
542
542
|
"since": "2025-01-01"
|
|
543
543
|
},
|
|
544
544
|
"route-group:jobs": {
|
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
"type": "route-group",
|
|
547
547
|
"domain": "scheduling",
|
|
548
548
|
"sourcePath": "src/server/routes.ts",
|
|
549
|
-
"contentHash": "
|
|
549
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
550
550
|
"since": "2025-01-01"
|
|
551
551
|
},
|
|
552
552
|
"route-group:skip-ledger": {
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
"type": "route-group",
|
|
555
555
|
"domain": "scheduling",
|
|
556
556
|
"sourcePath": "src/server/routes.ts",
|
|
557
|
-
"contentHash": "
|
|
557
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
558
558
|
"since": "2025-01-01"
|
|
559
559
|
},
|
|
560
560
|
"route-group:telegram": {
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
"type": "route-group",
|
|
563
563
|
"domain": "communication",
|
|
564
564
|
"sourcePath": "src/server/routes.ts",
|
|
565
|
-
"contentHash": "
|
|
565
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
566
566
|
"since": "2025-01-01"
|
|
567
567
|
},
|
|
568
568
|
"route-group:attention": {
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
"type": "route-group",
|
|
571
571
|
"domain": "communication",
|
|
572
572
|
"sourcePath": "src/server/routes.ts",
|
|
573
|
-
"contentHash": "
|
|
573
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
574
574
|
"since": "2025-01-01"
|
|
575
575
|
},
|
|
576
576
|
"route-group:relationships": {
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
"type": "route-group",
|
|
579
579
|
"domain": "relationships",
|
|
580
580
|
"sourcePath": "src/server/routes.ts",
|
|
581
|
-
"contentHash": "
|
|
581
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
582
582
|
"since": "2025-01-01"
|
|
583
583
|
},
|
|
584
584
|
"route-group:feedback": {
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
"type": "route-group",
|
|
587
587
|
"domain": "feedback",
|
|
588
588
|
"sourcePath": "src/server/routes.ts",
|
|
589
|
-
"contentHash": "
|
|
589
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
590
590
|
"since": "2025-01-01"
|
|
591
591
|
},
|
|
592
592
|
"route-group:updates": {
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
"type": "route-group",
|
|
595
595
|
"domain": "updates",
|
|
596
596
|
"sourcePath": "src/server/routes.ts",
|
|
597
|
-
"contentHash": "
|
|
597
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
598
598
|
"since": "2025-01-01"
|
|
599
599
|
},
|
|
600
600
|
"route-group:dispatches": {
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
"type": "route-group",
|
|
603
603
|
"domain": "dispatches",
|
|
604
604
|
"sourcePath": "src/server/routes.ts",
|
|
605
|
-
"contentHash": "
|
|
605
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
606
606
|
"since": "2025-01-01"
|
|
607
607
|
},
|
|
608
608
|
"route-group:quota": {
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
"type": "route-group",
|
|
611
611
|
"domain": "monitoring",
|
|
612
612
|
"sourcePath": "src/server/routes.ts",
|
|
613
|
-
"contentHash": "
|
|
613
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
614
614
|
"since": "2025-01-01"
|
|
615
615
|
},
|
|
616
616
|
"route-group:publishing": {
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
"type": "route-group",
|
|
619
619
|
"domain": "publishing",
|
|
620
620
|
"sourcePath": "src/server/routes.ts",
|
|
621
|
-
"contentHash": "
|
|
621
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
622
622
|
"since": "2025-01-01"
|
|
623
623
|
},
|
|
624
624
|
"route-group:private-views": {
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
"type": "route-group",
|
|
627
627
|
"domain": "publishing",
|
|
628
628
|
"sourcePath": "src/server/routes.ts",
|
|
629
|
-
"contentHash": "
|
|
629
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
630
630
|
"since": "2025-01-01"
|
|
631
631
|
},
|
|
632
632
|
"route-group:tunnel": {
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
"type": "route-group",
|
|
635
635
|
"domain": "networking",
|
|
636
636
|
"sourcePath": "src/server/routes.ts",
|
|
637
|
-
"contentHash": "
|
|
637
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
638
638
|
"since": "2025-01-01"
|
|
639
639
|
},
|
|
640
640
|
"route-group:events": {
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
"type": "route-group",
|
|
643
643
|
"domain": "networking",
|
|
644
644
|
"sourcePath": "src/server/routes.ts",
|
|
645
|
-
"contentHash": "
|
|
645
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
646
646
|
"since": "2025-01-01"
|
|
647
647
|
},
|
|
648
648
|
"route-group:evolution": {
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
"type": "route-group",
|
|
651
651
|
"domain": "evolution",
|
|
652
652
|
"sourcePath": "src/server/routes.ts",
|
|
653
|
-
"contentHash": "
|
|
653
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
654
654
|
"since": "2025-01-01"
|
|
655
655
|
},
|
|
656
656
|
"route-group:watchdog": {
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
"type": "route-group",
|
|
659
659
|
"domain": "monitoring",
|
|
660
660
|
"sourcePath": "src/server/routes.ts",
|
|
661
|
-
"contentHash": "
|
|
661
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
662
662
|
"since": "2025-01-01"
|
|
663
663
|
},
|
|
664
664
|
"route-group:topic-memory": {
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
"type": "route-group",
|
|
667
667
|
"domain": "memory",
|
|
668
668
|
"sourcePath": "src/server/routes.ts",
|
|
669
|
-
"contentHash": "
|
|
669
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
670
670
|
"since": "2025-01-01"
|
|
671
671
|
},
|
|
672
672
|
"route-group:state-sync": {
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
"type": "route-group",
|
|
675
675
|
"domain": "coordination",
|
|
676
676
|
"sourcePath": "src/server/routes.ts",
|
|
677
|
-
"contentHash": "
|
|
677
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
678
678
|
"since": "2025-01-01"
|
|
679
679
|
},
|
|
680
680
|
"route-group:intent": {
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
"type": "route-group",
|
|
683
683
|
"domain": "intent",
|
|
684
684
|
"sourcePath": "src/server/routes.ts",
|
|
685
|
-
"contentHash": "
|
|
685
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
686
686
|
"since": "2025-01-01"
|
|
687
687
|
},
|
|
688
688
|
"route-group:triage": {
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
"type": "route-group",
|
|
691
691
|
"domain": "safety",
|
|
692
692
|
"sourcePath": "src/server/routes.ts",
|
|
693
|
-
"contentHash": "
|
|
693
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
694
694
|
"since": "2025-01-01"
|
|
695
695
|
},
|
|
696
696
|
"route-group:operations": {
|
|
@@ -698,7 +698,7 @@
|
|
|
698
698
|
"type": "route-group",
|
|
699
699
|
"domain": "safety",
|
|
700
700
|
"sourcePath": "src/server/routes.ts",
|
|
701
|
-
"contentHash": "
|
|
701
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
702
702
|
"since": "2025-01-01"
|
|
703
703
|
},
|
|
704
704
|
"route-group:sentinel": {
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
"type": "route-group",
|
|
707
707
|
"domain": "safety",
|
|
708
708
|
"sourcePath": "src/server/routes.ts",
|
|
709
|
-
"contentHash": "
|
|
709
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
710
710
|
"since": "2025-01-01"
|
|
711
711
|
},
|
|
712
712
|
"route-group:trust": {
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
"type": "route-group",
|
|
715
715
|
"domain": "safety",
|
|
716
716
|
"sourcePath": "src/server/routes.ts",
|
|
717
|
-
"contentHash": "
|
|
717
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
718
718
|
"since": "2025-01-01"
|
|
719
719
|
},
|
|
720
720
|
"route-group:monitoring": {
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
"type": "route-group",
|
|
723
723
|
"domain": "monitoring",
|
|
724
724
|
"sourcePath": "src/server/routes.ts",
|
|
725
|
-
"contentHash": "
|
|
725
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
726
726
|
"since": "2025-01-01"
|
|
727
727
|
},
|
|
728
728
|
"route-group:commitments": {
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
"type": "route-group",
|
|
731
731
|
"domain": "commitments",
|
|
732
732
|
"sourcePath": "src/server/routes.ts",
|
|
733
|
-
"contentHash": "
|
|
733
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
734
734
|
"since": "2025-01-01"
|
|
735
735
|
},
|
|
736
736
|
"route-group:episodes": {
|
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
"type": "route-group",
|
|
739
739
|
"domain": "memory",
|
|
740
740
|
"sourcePath": "src/server/routes.ts",
|
|
741
|
-
"contentHash": "
|
|
741
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
742
742
|
"since": "2025-01-01"
|
|
743
743
|
},
|
|
744
744
|
"route-group:messages": {
|
|
@@ -746,7 +746,7 @@
|
|
|
746
746
|
"type": "route-group",
|
|
747
747
|
"domain": "coordination",
|
|
748
748
|
"sourcePath": "src/server/routes.ts",
|
|
749
|
-
"contentHash": "
|
|
749
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
750
750
|
"since": "2025-01-01"
|
|
751
751
|
},
|
|
752
752
|
"route-group:system-reviews": {
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
"type": "route-group",
|
|
755
755
|
"domain": "monitoring",
|
|
756
756
|
"sourcePath": "src/server/routes.ts",
|
|
757
|
-
"contentHash": "
|
|
757
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
758
758
|
"since": "2025-01-01"
|
|
759
759
|
},
|
|
760
760
|
"route-group:machine-mesh": {
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
"type": "route-group",
|
|
771
771
|
"domain": "security",
|
|
772
772
|
"sourcePath": "src/server/routes.ts",
|
|
773
|
-
"contentHash": "
|
|
773
|
+
"contentHash": "d2718318046b6de40e16b114e4dc579ca5518ff687f2c1999ed1bc07fc1c816c",
|
|
774
774
|
"since": "2025-01-01"
|
|
775
775
|
},
|
|
776
776
|
"cli:init": {
|
|
@@ -419,6 +419,8 @@ This routes feedback to the Instar maintainers automatically. Valid types: \`bug
|
|
|
419
419
|
- Also: when a session is autonomously shut down, you get a "your session was shut down — <reason>" notice (recovery-bounces and your own operator kills stay silent). Turn the notice off with \`{"monitoring": {"reapNotify": {"enabled": false}}}\`.
|
|
420
420
|
- Proactive: user asks "where did my session go?" / "why did X disappear?" / "did something get killed?" → GET /sessions/reap-log and explain the most recent reaped/skipped entries for that session.
|
|
421
421
|
|
|
422
|
+
**🩺 Agent Health lane (calm self-health notices)** — Routine notices about MY OWN internal state (a session that looks stuck, a peer I can't reach) land in ONE calm, named "🩺 Agent Health" Telegram topic — never topic-after-topic. Each is normal-priority (not a user-critical alert), names the topic in plain language (e.g. "the 'EXO 3.0' session", never \`topic-19077\`), ends with a next step you can just reply to, and same-session re-escalations are de-duped so the lane stays quiet. Ships **default-on, no config** (it's a delivery-shaper in code — it never gates or drops anything; every notice is still in the attention store). Tune via \`messaging[].config.agentHealthLane\` = \`{ "enabled": true, "topicName": "🩺 Agent Health", "dedupWindowMs": 1800000 }\` (set \`enabled:false\` for the old per-item-topic behavior). Proactive: user asks "what's this Agent Health topic?" / "why are my stale-session notices grouped?" → explain the calm lane (the StaleSessionBackstop now routes its "looks stuck" heads-up here at normal priority instead of spawning a topic each time).
|
|
423
|
+
|
|
422
424
|
**Applying config & hook changes to running sessions** — A running session keeps the config it was *spawned* with. Claude Code loads \`.claude/settings.json\` (hooks, model) **once, at session start** — so a config change (default model, a disabled feature) or a newly-added hook does NOT reach an already-running session. It only takes effect on the next session, OR when you restart the existing one. (This is why a UserPromptSubmit hook added mid-session never fires for that live session — the session was launched before the hook existed.)
|
|
423
425
|
- Restart ONE session (preserves the conversation via \`claude --resume\`): \`curl -X POST -H "Authorization: Bearer $AUTH" http://localhost:${port}/sessions/refresh -H 'Content-Type: application/json' -d '{"sessionName":"<tmux-name>","reason":"config change"}'\`
|
|
424
426
|
- Restart EVERY running Telegram-bound session in one call (staggered, each conversation preserved): \`curl -X POST -H "Authorization: Bearer $AUTH" http://localhost:${port}/sessions/restart-all -H 'Content-Type: application/json' -d '{"reason":"applied new default model"}'\` → \`{ scheduled: [...], count, skipped }\`. Pass \`{"excludeSession":"<tmux-name>"}\` to keep the calling session alive. Non-Telegram-bound (Slack/iMessage/headless) sessions are skipped.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: minor -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
Added a CI gate (`.github/workflows/eli16-pr-gate.yml` + the pure check
|
|
9
|
+
`scripts/eli16-pr-description-check.mjs`) that requires every PR's DESCRIPTION to carry a
|
|
10
|
+
plain-English ELI16 overview, and FAILS the PR when it is missing. Per Justin's standard
|
|
11
|
+
(2026-06-05): the PR description is what a reviewer reads and approves on the link, and the PRs "had
|
|
12
|
+
different formats." The ELI16 *file* (docs/specs/<slug>.eli16.md) is unchanged and still enforced at
|
|
13
|
+
commit time; this closes the PR-body half. Re-runs on `edited` (self-clears on a description fix);
|
|
14
|
+
exempts bot authors + the automated release-cut PR.
|
|
15
|
+
|
|
16
|
+
Self-health notices now land in ONE calm "🩺 Agent Health" topic instead of spawning
|
|
17
|
+
a new Telegram topic per event. Previously the StaleSessionBackstop raised a HIGH
|
|
18
|
+
"Session topic-N is stale but unkillable" attention item every stall episode, and
|
|
19
|
+
because HIGH bypasses the topic-flood guard, each spawned its own forum topic — a wall
|
|
20
|
+
of cryptic, unnamed, non-actionable threads (one agent had 54 of 116 topics that were
|
|
21
|
+
this kind of auto-generated noise).
|
|
22
|
+
|
|
23
|
+
The fix is a delivery-shaper in the messaging layer: an attention item may now opt into
|
|
24
|
+
`lane:'agent-health'`. Lane items route into a single, persistently-named lane topic
|
|
25
|
+
from the very first item, never spawn their own topic (even if mis-tagged HIGH), and
|
|
26
|
+
same-session re-escalations are suppression-deduped within a window. The StaleSessionBackstop
|
|
27
|
+
now emits into that lane at NORMAL priority with a topic-name-resolved, reply-able
|
|
28
|
+
message ("Heads-up on the 'EXO 3.0' session … reply 'check EXO 3.0' …" instead of
|
|
29
|
+
"Session topic-19077 is stale but unkillable"). Nothing is gated or dropped — every
|
|
30
|
+
notice is still in the attention store.
|
|
31
|
+
|
|
32
|
+
## What to Tell Your User
|
|
33
|
+
|
|
34
|
+
Your agent's routine self-health heads-ups — like "a session looks stuck" — now collect
|
|
35
|
+
in one calm, named "Agent Health" topic instead of creating a fresh topic every time.
|
|
36
|
+
Each one names the session in plain language, ends with a next step you can just reply
|
|
37
|
+
to, and repeats are bundled so the topic stays quiet. It is on by default and never
|
|
38
|
+
blocks anything. If you'd rather have the old one-topic-per-notice behavior, you can turn
|
|
39
|
+
the lane off in your config.
|
|
40
|
+
|
|
41
|
+
## Summary of New Capabilities
|
|
42
|
+
|
|
43
|
+
- A calm "🩺 Agent Health" lane: self-health attention items (opt-in via the lane field)
|
|
44
|
+
route into one named topic, never topic-after-topic.
|
|
45
|
+
- Suppression-dedup: the same session re-escalating within the dedup window is recorded
|
|
46
|
+
but not re-posted, so the lane stays quiet.
|
|
47
|
+
- Named, actionable notices: the StaleSessionBackstop heads-up resolves the human topic
|
|
48
|
+
name and ends with a reply-able next step, at NORMAL priority.
|
|
49
|
+
- Tunable via messaging config (enabled / topicName / maxTrackedKeys / dedupWindowMs);
|
|
50
|
+
default-on, set enabled to false for the prior behavior.
|
|
51
|
+
|
|
52
|
+
## Evidence
|
|
53
|
+
|
|
54
|
+
- The decision is a PURE function (`checkPrDescriptionEli16`) with 10 unit tests covering both
|
|
55
|
+
sides (has-overview → pass; missing / too-short / next-heading-boundary / comment-stripped → fail)
|
|
56
|
+
and every exemption (bot, release-cut, title-mentions-release non-exemption, null inputs).
|
|
57
|
+
- `node --check scripts/eli16-pr-description-check.mjs` clean. New additive workflow — cannot affect
|
|
58
|
+
existing checks/builds/releases; a failing PR is visible + self-clears on a description edit.
|
|
59
|
+
- This PR's own description carries an ELI16 overview (dogfoods the gate). scripts + workflow + test
|
|
60
|
+
only, no `src/` (internal-only lane).
|
|
61
|
+
|
|
62
|
+
- Unit (tests/unit/stale-session-backstop.test.ts): the escalation is lane-routed,
|
|
63
|
+
NORMAL, keyed per-session, names the topic (never topic-N), and carries a reply CTA.
|
|
64
|
+
- Integration (tests/integration/agent-health-lane.test.ts): a real TelegramAdapter
|
|
65
|
+
routes N self-health notices into exactly ONE lane topic, sends HIGH ones to the lane
|
|
66
|
+
too, suppression-dedups same-key re-escalations (intro + one line, rest audited), and
|
|
67
|
+
leaves non-lane items untouched.
|
|
68
|
+
- E2E (tests/e2e/agent-health-lane-route.test.ts): over real HTTP, POST /attention
|
|
69
|
+
carries lane+healthKey through and lane items bypass the per-topic tone-gate (still
|
|
70
|
+
delivered even when the gate would block), while non-lane items still run the gate.
|
|
71
|
+
- 95 related tests green (incl. the flood-guard + tone-gate suites); tsc clean;
|
|
72
|
+
pre-push-gate clean.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: minor -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
The stale-session watchdog no longer cries wolf on healthy long-running sessions. Two
|
|
9
|
+
detection-accuracy fixes in StaleSessionBackstop:
|
|
10
|
+
|
|
11
|
+
1. Operator-protected sessions (the reaper's protectedSessions) are never flagged as
|
|
12
|
+
stale — they're deliberately kept alive, so escalating them was a false alarm.
|
|
13
|
+
2. Conversational/autonomous sessions get a far more forgiving no-progress window
|
|
14
|
+
(conversationalEscalateMinutes, default 180 min) than run-to-completion jobs (which
|
|
15
|
+
keep the strict 30-min window). A long autonomous session that legitimately idles
|
|
16
|
+
between turns or waits on a multi-minute tool call no longer trips the 30-minute
|
|
17
|
+
"looks stuck" threshold.
|
|
18
|
+
|
|
19
|
+
This is the detection half of the Notification UX Coherence work; PR1 shipped the calm
|
|
20
|
+
"🩺 Agent Health" lane (the delivery half). The fake-work guards (transcript tail-hash +
|
|
21
|
+
cpu-seconds delta) are unchanged — genuine wedges are still caught; the backstop is still
|
|
22
|
+
signal-only and never auto-kills.
|
|
23
|
+
|
|
24
|
+
## What to Tell Your User
|
|
25
|
+
|
|
26
|
+
Your agent will stop pinging you that a long-running session "looks stuck" when it's
|
|
27
|
+
actually just working through a slow step or waiting between turns. Sessions you've
|
|
28
|
+
marked as protected are never flagged at all, and ordinary long conversations get a much
|
|
29
|
+
more patient window before the agent mentions anything. Genuinely-stuck work is still
|
|
30
|
+
caught — just without the false alarms.
|
|
31
|
+
|
|
32
|
+
## Summary of New Capabilities
|
|
33
|
+
|
|
34
|
+
- StaleSessionBackstop exempts operator-protected sessions from stale escalation.
|
|
35
|
+
- New monitoring.staleBackstop.conversationalEscalateMinutes (default 180): a forgiving
|
|
36
|
+
no-progress window for conversational/autonomous sessions, separate from the strict job
|
|
37
|
+
window (unverifiableEscalateMinutes, 30). Clamped to never be more aggressive than the
|
|
38
|
+
job window.
|
|
39
|
+
|
|
40
|
+
## Evidence
|
|
41
|
+
|
|
42
|
+
- Unit (tests/unit/stale-session-backstop.test.ts): a protected session is never
|
|
43
|
+
escalated even well past the window; the threshold split — a healthy long conversational
|
|
44
|
+
session at 35 min does NOT escalate while a wedged job at 35 min DOES.
|
|
45
|
+
- 82 standards + backstop tests green; tsc clean; pre-push-gate clean.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Side-Effects Review — Notification UX Coherence (PR1: the calm Agent-Health lane)
|
|
2
|
+
|
|
3
|
+
## What changed (mechanically)
|
|
4
|
+
|
|
5
|
+
A new opt-in routing lane in the messaging layer. An attention item may now carry
|
|
6
|
+
`lane:'agent-health'` (+ optional `healthKey`). When set, `createAttentionItem`
|
|
7
|
+
routes it into ONE persistently-named "🩺 Agent Health" forum topic BEFORE (and
|
|
8
|
+
bypassing) the topic-flood guard, suppression-dedups same-`healthKey` re-escalations
|
|
9
|
+
within a window, and never spawns a per-item topic. `StaleSessionBackstop` now emits
|
|
10
|
+
its "looks stuck" escalation into that lane at `NORMAL` (was `HIGH`), with a
|
|
11
|
+
topic-name-resolved, next-step-bearing, reply-able message. The `/attention` route
|
|
12
|
+
carries `lane`/`healthKey` through and lets lane items skip the per-topic outbound
|
|
13
|
+
tone-gate.
|
|
14
|
+
|
|
15
|
+
## Blast radius / who is affected
|
|
16
|
+
|
|
17
|
+
- **Items WITHOUT `lane`**: byte-for-byte unchanged — same guard, same topics, same
|
|
18
|
+
tone-gate. The only caller that sets the lane today is `StaleSessionBackstop`.
|
|
19
|
+
- **The flood guard**: untouched logic; lane items simply never reach it.
|
|
20
|
+
- **The tone-gate**: still runs for every non-lane item; lane items bypass it because
|
|
21
|
+
they don't spawn a per-item topic and are named+CTA-bearing by construction.
|
|
22
|
+
|
|
23
|
+
## Failure modes considered
|
|
24
|
+
|
|
25
|
+
- **Telegram unavailable**: `routeToAgentHealthLane` returns null on topic-create
|
|
26
|
+
failure; the item is still recorded in the attention store (never dropped). Best-
|
|
27
|
+
effort send is `@silent-fallback-ok` (a transient send failure must not crash the
|
|
28
|
+
attention path) — consistent with the existing flood-notice path.
|
|
29
|
+
- **Lane topic deleted out from under us**: the cached `agentHealthTopicId` is cleared
|
|
30
|
+
on send failure so it's recreated next time (same pattern as `floodNoticeByBucket`).
|
|
31
|
+
- **Concurrent first-escalations**: a single in-flight creation promise
|
|
32
|
+
(`agentHealthPending`) prevents a double-create race (covered by integration test).
|
|
33
|
+
- **Unbounded memory**: the dedup ring is hard-capped at `maxTrackedKeys` (default 256),
|
|
34
|
+
oldest-evicted.
|
|
35
|
+
- **A genuinely-stuck session now NORMAL not HIGH**: it still surfaces (in the calm lane
|
|
36
|
+
+ the attention store + the dashboard); it is no longer a per-topic interrupt. The
|
|
37
|
+
global "tmux control plane unreachable" item stays HIGH. PR2 will reduce the
|
|
38
|
+
false-positive RATE; PR1 only changes delivery.
|
|
39
|
+
|
|
40
|
+
## What this does NOT do (explicit non-goals)
|
|
41
|
+
|
|
42
|
+
- Does NOT gate, block, drop, delay, or rewrite any message — pure delivery-shaper.
|
|
43
|
+
- Does NOT change the StaleSessionBackstop's detection logic (PR2).
|
|
44
|
+
- Does NOT touch the "went quiet" / "can't reach…routing" SentinelNotifier paths
|
|
45
|
+
(tracked as fast-follow; they were the older floods).
|
|
46
|
+
|
|
47
|
+
## Reversibility
|
|
48
|
+
|
|
49
|
+
`messaging[].config.agentHealthLane.enabled:false` restores the prior per-item-topic
|
|
50
|
+
behavior for self-health items. No schema migration, no data migration, no on-disk
|
|
51
|
+
format change. Additive type fields only.
|
|
52
|
+
|
|
53
|
+
## Tests
|
|
54
|
+
|
|
55
|
+
Unit (StaleSessionBackstop: lane/healthKey/NORMAL/named-title/next-step + name
|
|
56
|
+
resolution), integration (real TelegramAdapter: N notices → 1 topic, HIGH→lane,
|
|
57
|
+
suppression-dedup + audit, non-lane unaffected), E2E (HTTP /attention: lane+healthKey
|
|
58
|
+
passthrough, tone-gate bypass for lane, no regression for non-lane). 95 related tests
|
|
59
|
+
green; tsc clean.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Side-Effects Review — StaleBackstop detection accuracy (PR2 / D5)
|
|
2
|
+
|
|
3
|
+
## What changed (mechanically)
|
|
4
|
+
|
|
5
|
+
`StaleSessionBackstop` no longer cries wolf on healthy long-running sessions:
|
|
6
|
+
1. **Protected sessions are never escalated.** New `isProtectedSession?(session)` dep
|
|
7
|
+
(wired in server.ts to the reaper's `getProtectedSessions()`, matched by tmux name
|
|
8
|
+
or session name). A protected session — one the operator deliberately keeps alive —
|
|
9
|
+
skips BOTH escalation paths (no-progress and long-indeterminate).
|
|
10
|
+
2. **Conversational/autonomous sessions get a forgiving window.** New
|
|
11
|
+
`conversationalEscalateMinutes` option (default 180, clamped to ≥ the job window).
|
|
12
|
+
The no-progress threshold is now `session.jobSlug ? unverifiableEscalateMinutes (30)
|
|
13
|
+
: max(conversationalEscalateMinutes, unverifiableEscalateMinutes)`. A job runs to
|
|
14
|
+
completion (strict 30-min window); a conversational/autonomous session legitimately
|
|
15
|
+
idles between turns and while waiting on multi-minute tool calls, so it gets 180.
|
|
16
|
+
|
|
17
|
+
## Blast radius
|
|
18
|
+
|
|
19
|
+
- The fake-work guards (`hasForwardProgress`: tail-hash + cpu-seconds delta) are
|
|
20
|
+
UNTOUCHED — wedge detection is unchanged; this only widens the no-progress WINDOW for
|
|
21
|
+
conversational sessions and exempts protected ones.
|
|
22
|
+
- A genuinely-wedged JOB still escalates at 30 min (unchanged).
|
|
23
|
+
- A genuinely-wedged conversational session still escalates — just at 180 min, not 30.
|
|
24
|
+
Combined with PR1's calm lane, even that is a single calm heads-up, not topic-spam.
|
|
25
|
+
- Config additive + defaulted; absent config → defaults apply (180 / protected-from-reaper).
|
|
26
|
+
|
|
27
|
+
## Failure modes considered
|
|
28
|
+
|
|
29
|
+
- **conversationalEscalateMinutes mis-set below the job window**: clamped up via
|
|
30
|
+
`max(...)` at the decision site, so it can never be MORE aggressive than the job window.
|
|
31
|
+
- **isProtectedSession absent** (older wiring / tests): optional-chained → no session
|
|
32
|
+
treated as protected (prior behavior), never throws.
|
|
33
|
+
- **Protected list by name vs id**: matched against both `tmuxSession` and `name`.
|
|
34
|
+
|
|
35
|
+
## Non-goals
|
|
36
|
+
|
|
37
|
+
- Does NOT change delivery (that's PR1's lane).
|
|
38
|
+
- Does NOT auto-kill anything (the backstop remains signal-only).
|
|
39
|
+
|
|
40
|
+
## Reversibility
|
|
41
|
+
|
|
42
|
+
`monitoring.staleBackstop.conversationalEscalateMinutes: 30` restores the old uniform
|
|
43
|
+
window; protection follows the existing `protectedSessions` list. Additive only.
|
|
44
|
+
|
|
45
|
+
## Tests
|
|
46
|
+
|
|
47
|
+
Unit (stale-session-backstop.test.ts): protected session never escalates; the
|
|
48
|
+
conversational-vs-job threshold split (a healthy long conversational session at 35 min
|
|
49
|
+
does NOT escalate while a wedged job DOES). Existing mechanism tests pinned to the 30-min
|
|
50
|
+
window via `conversationalEscalateMinutes: M`. 82 standards + backstop tests green; tsc
|
|
51
|
+
clean. (Also: bumped the no-silent-fallbacks baseline 458→459 for PR1's lane fallback, and
|
|
52
|
+
tracked main's untacked `/secrets/sync-status` migrator section — both per Zero-Failure.)
|