instar 1.2.78 → 1.2.80
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 +37 -6
- package/dist/commands/server.js.map +1 -1
- package/dist/server/AgentServer.d.ts +1 -0
- package/dist/server/AgentServer.d.ts.map +1 -1
- package/dist/server/AgentServer.js +1 -0
- package/dist/server/AgentServer.js.map +1 -1
- package/dist/server/routes.d.ts +12 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +37 -5
- package/dist/server/routes.js.map +1 -1
- package/dist/threadline/CollaborationSurfacer.d.ts +72 -0
- package/dist/threadline/CollaborationSurfacer.d.ts.map +1 -0
- package/dist/threadline/CollaborationSurfacer.js +122 -0
- package/dist/threadline/CollaborationSurfacer.js.map +1 -0
- package/dist/threadline/TopicLinkageHandler.d.ts.map +1 -1
- package/dist/threadline/TopicLinkageHandler.js +16 -11
- package/dist/threadline/TopicLinkageHandler.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +47 -47
- package/upgrades/1.2.79.md +68 -0
- package/upgrades/1.2.80.md +28 -0
- package/upgrades/side-effects/enable-layer-coherence.md +74 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./builtin-manifest.schema.json",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"generatedAt": "2026-05-
|
|
5
|
-
"instarVersion": "1.2.
|
|
4
|
+
"generatedAt": "2026-05-25T21:59:37.920Z",
|
|
5
|
+
"instarVersion": "1.2.80",
|
|
6
6
|
"entryCount": 191,
|
|
7
7
|
"entries": {
|
|
8
8
|
"hook:session-start": {
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
"type": "route-group",
|
|
393
393
|
"domain": "monitoring",
|
|
394
394
|
"sourcePath": "src/server/routes.ts",
|
|
395
|
-
"contentHash": "
|
|
395
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
396
396
|
"since": "2025-01-01"
|
|
397
397
|
},
|
|
398
398
|
"route-group:agents": {
|
|
@@ -400,7 +400,7 @@
|
|
|
400
400
|
"type": "route-group",
|
|
401
401
|
"domain": "sessions",
|
|
402
402
|
"sourcePath": "src/server/routes.ts",
|
|
403
|
-
"contentHash": "
|
|
403
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
404
404
|
"since": "2025-01-01"
|
|
405
405
|
},
|
|
406
406
|
"route-group:backups": {
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"type": "route-group",
|
|
409
409
|
"domain": "operations",
|
|
410
410
|
"sourcePath": "src/server/routes.ts",
|
|
411
|
-
"contentHash": "
|
|
411
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
412
412
|
"since": "2025-01-01"
|
|
413
413
|
},
|
|
414
414
|
"route-group:git": {
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
"type": "route-group",
|
|
417
417
|
"domain": "coordination",
|
|
418
418
|
"sourcePath": "src/server/routes.ts",
|
|
419
|
-
"contentHash": "
|
|
419
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
420
420
|
"since": "2025-01-01"
|
|
421
421
|
},
|
|
422
422
|
"route-group:memory": {
|
|
@@ -424,7 +424,7 @@
|
|
|
424
424
|
"type": "route-group",
|
|
425
425
|
"domain": "memory",
|
|
426
426
|
"sourcePath": "src/server/routes.ts",
|
|
427
|
-
"contentHash": "
|
|
427
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
428
428
|
"since": "2025-01-01"
|
|
429
429
|
},
|
|
430
430
|
"route-group:semantic": {
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
"type": "route-group",
|
|
433
433
|
"domain": "memory",
|
|
434
434
|
"sourcePath": "src/server/routes.ts",
|
|
435
|
-
"contentHash": "
|
|
435
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
436
436
|
"since": "2025-01-01"
|
|
437
437
|
},
|
|
438
438
|
"route-group:status": {
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"type": "route-group",
|
|
441
441
|
"domain": "monitoring",
|
|
442
442
|
"sourcePath": "src/server/routes.ts",
|
|
443
|
-
"contentHash": "
|
|
443
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
444
444
|
"since": "2025-01-01"
|
|
445
445
|
},
|
|
446
446
|
"route-group:capabilities": {
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
"type": "route-group",
|
|
449
449
|
"domain": "mapping",
|
|
450
450
|
"sourcePath": "src/server/routes.ts",
|
|
451
|
-
"contentHash": "
|
|
451
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
452
452
|
"since": "2025-01-01"
|
|
453
453
|
},
|
|
454
454
|
"route-group:project-map": {
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
"type": "route-group",
|
|
457
457
|
"domain": "mapping",
|
|
458
458
|
"sourcePath": "src/server/routes.ts",
|
|
459
|
-
"contentHash": "
|
|
459
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
460
460
|
"since": "2025-01-01"
|
|
461
461
|
},
|
|
462
462
|
"route-group:coherence": {
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
"type": "route-group",
|
|
465
465
|
"domain": "coherence",
|
|
466
466
|
"sourcePath": "src/server/routes.ts",
|
|
467
|
-
"contentHash": "
|
|
467
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
468
468
|
"since": "2025-01-01"
|
|
469
469
|
},
|
|
470
470
|
"route-group:topic-bindings": {
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
"type": "route-group",
|
|
473
473
|
"domain": "sessions",
|
|
474
474
|
"sourcePath": "src/server/routes.ts",
|
|
475
|
-
"contentHash": "
|
|
475
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
476
476
|
"since": "2025-01-01"
|
|
477
477
|
},
|
|
478
478
|
"route-group:context": {
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
"type": "route-group",
|
|
481
481
|
"domain": "context",
|
|
482
482
|
"sourcePath": "src/server/routes.ts",
|
|
483
|
-
"contentHash": "
|
|
483
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
484
484
|
"since": "2025-01-01"
|
|
485
485
|
},
|
|
486
486
|
"route-group:scope-coherence": {
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
"type": "route-group",
|
|
489
489
|
"domain": "coherence",
|
|
490
490
|
"sourcePath": "src/server/routes.ts",
|
|
491
|
-
"contentHash": "
|
|
491
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
492
492
|
"since": "2025-01-01"
|
|
493
493
|
},
|
|
494
494
|
"route-group:canonical-state": {
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
"type": "route-group",
|
|
497
497
|
"domain": "state",
|
|
498
498
|
"sourcePath": "src/server/routes.ts",
|
|
499
|
-
"contentHash": "
|
|
499
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
500
500
|
"since": "2025-01-01"
|
|
501
501
|
},
|
|
502
502
|
"route-group:ci": {
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
"type": "route-group",
|
|
505
505
|
"domain": "monitoring",
|
|
506
506
|
"sourcePath": "src/server/routes.ts",
|
|
507
|
-
"contentHash": "
|
|
507
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
508
508
|
"since": "2025-01-01"
|
|
509
509
|
},
|
|
510
510
|
"route-group:sessions": {
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
"type": "route-group",
|
|
513
513
|
"domain": "sessions",
|
|
514
514
|
"sourcePath": "src/server/routes.ts",
|
|
515
|
-
"contentHash": "
|
|
515
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
516
516
|
"since": "2025-01-01"
|
|
517
517
|
},
|
|
518
518
|
"route-group:jobs": {
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"type": "route-group",
|
|
521
521
|
"domain": "scheduling",
|
|
522
522
|
"sourcePath": "src/server/routes.ts",
|
|
523
|
-
"contentHash": "
|
|
523
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
524
524
|
"since": "2025-01-01"
|
|
525
525
|
},
|
|
526
526
|
"route-group:skip-ledger": {
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
"type": "route-group",
|
|
529
529
|
"domain": "scheduling",
|
|
530
530
|
"sourcePath": "src/server/routes.ts",
|
|
531
|
-
"contentHash": "
|
|
531
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
532
532
|
"since": "2025-01-01"
|
|
533
533
|
},
|
|
534
534
|
"route-group:telegram": {
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"type": "route-group",
|
|
537
537
|
"domain": "communication",
|
|
538
538
|
"sourcePath": "src/server/routes.ts",
|
|
539
|
-
"contentHash": "
|
|
539
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
540
540
|
"since": "2025-01-01"
|
|
541
541
|
},
|
|
542
542
|
"route-group:attention": {
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"type": "route-group",
|
|
545
545
|
"domain": "communication",
|
|
546
546
|
"sourcePath": "src/server/routes.ts",
|
|
547
|
-
"contentHash": "
|
|
547
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
548
548
|
"since": "2025-01-01"
|
|
549
549
|
},
|
|
550
550
|
"route-group:relationships": {
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
"type": "route-group",
|
|
553
553
|
"domain": "relationships",
|
|
554
554
|
"sourcePath": "src/server/routes.ts",
|
|
555
|
-
"contentHash": "
|
|
555
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
556
556
|
"since": "2025-01-01"
|
|
557
557
|
},
|
|
558
558
|
"route-group:feedback": {
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
"type": "route-group",
|
|
561
561
|
"domain": "feedback",
|
|
562
562
|
"sourcePath": "src/server/routes.ts",
|
|
563
|
-
"contentHash": "
|
|
563
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
564
564
|
"since": "2025-01-01"
|
|
565
565
|
},
|
|
566
566
|
"route-group:updates": {
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
"type": "route-group",
|
|
569
569
|
"domain": "updates",
|
|
570
570
|
"sourcePath": "src/server/routes.ts",
|
|
571
|
-
"contentHash": "
|
|
571
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
572
572
|
"since": "2025-01-01"
|
|
573
573
|
},
|
|
574
574
|
"route-group:dispatches": {
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
"type": "route-group",
|
|
577
577
|
"domain": "dispatches",
|
|
578
578
|
"sourcePath": "src/server/routes.ts",
|
|
579
|
-
"contentHash": "
|
|
579
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
580
580
|
"since": "2025-01-01"
|
|
581
581
|
},
|
|
582
582
|
"route-group:quota": {
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
"type": "route-group",
|
|
585
585
|
"domain": "monitoring",
|
|
586
586
|
"sourcePath": "src/server/routes.ts",
|
|
587
|
-
"contentHash": "
|
|
587
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
588
588
|
"since": "2025-01-01"
|
|
589
589
|
},
|
|
590
590
|
"route-group:publishing": {
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
"type": "route-group",
|
|
593
593
|
"domain": "publishing",
|
|
594
594
|
"sourcePath": "src/server/routes.ts",
|
|
595
|
-
"contentHash": "
|
|
595
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
596
596
|
"since": "2025-01-01"
|
|
597
597
|
},
|
|
598
598
|
"route-group:private-views": {
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
"type": "route-group",
|
|
601
601
|
"domain": "publishing",
|
|
602
602
|
"sourcePath": "src/server/routes.ts",
|
|
603
|
-
"contentHash": "
|
|
603
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
604
604
|
"since": "2025-01-01"
|
|
605
605
|
},
|
|
606
606
|
"route-group:tunnel": {
|
|
@@ -608,7 +608,7 @@
|
|
|
608
608
|
"type": "route-group",
|
|
609
609
|
"domain": "networking",
|
|
610
610
|
"sourcePath": "src/server/routes.ts",
|
|
611
|
-
"contentHash": "
|
|
611
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
612
612
|
"since": "2025-01-01"
|
|
613
613
|
},
|
|
614
614
|
"route-group:events": {
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"type": "route-group",
|
|
617
617
|
"domain": "networking",
|
|
618
618
|
"sourcePath": "src/server/routes.ts",
|
|
619
|
-
"contentHash": "
|
|
619
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
620
620
|
"since": "2025-01-01"
|
|
621
621
|
},
|
|
622
622
|
"route-group:evolution": {
|
|
@@ -624,7 +624,7 @@
|
|
|
624
624
|
"type": "route-group",
|
|
625
625
|
"domain": "evolution",
|
|
626
626
|
"sourcePath": "src/server/routes.ts",
|
|
627
|
-
"contentHash": "
|
|
627
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
628
628
|
"since": "2025-01-01"
|
|
629
629
|
},
|
|
630
630
|
"route-group:watchdog": {
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
"type": "route-group",
|
|
633
633
|
"domain": "monitoring",
|
|
634
634
|
"sourcePath": "src/server/routes.ts",
|
|
635
|
-
"contentHash": "
|
|
635
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
636
636
|
"since": "2025-01-01"
|
|
637
637
|
},
|
|
638
638
|
"route-group:topic-memory": {
|
|
@@ -640,7 +640,7 @@
|
|
|
640
640
|
"type": "route-group",
|
|
641
641
|
"domain": "memory",
|
|
642
642
|
"sourcePath": "src/server/routes.ts",
|
|
643
|
-
"contentHash": "
|
|
643
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
644
644
|
"since": "2025-01-01"
|
|
645
645
|
},
|
|
646
646
|
"route-group:state-sync": {
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
"type": "route-group",
|
|
649
649
|
"domain": "coordination",
|
|
650
650
|
"sourcePath": "src/server/routes.ts",
|
|
651
|
-
"contentHash": "
|
|
651
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
652
652
|
"since": "2025-01-01"
|
|
653
653
|
},
|
|
654
654
|
"route-group:intent": {
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
"type": "route-group",
|
|
657
657
|
"domain": "intent",
|
|
658
658
|
"sourcePath": "src/server/routes.ts",
|
|
659
|
-
"contentHash": "
|
|
659
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
660
660
|
"since": "2025-01-01"
|
|
661
661
|
},
|
|
662
662
|
"route-group:triage": {
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
"type": "route-group",
|
|
665
665
|
"domain": "safety",
|
|
666
666
|
"sourcePath": "src/server/routes.ts",
|
|
667
|
-
"contentHash": "
|
|
667
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
668
668
|
"since": "2025-01-01"
|
|
669
669
|
},
|
|
670
670
|
"route-group:operations": {
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
"type": "route-group",
|
|
673
673
|
"domain": "safety",
|
|
674
674
|
"sourcePath": "src/server/routes.ts",
|
|
675
|
-
"contentHash": "
|
|
675
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
676
676
|
"since": "2025-01-01"
|
|
677
677
|
},
|
|
678
678
|
"route-group:sentinel": {
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
"type": "route-group",
|
|
681
681
|
"domain": "safety",
|
|
682
682
|
"sourcePath": "src/server/routes.ts",
|
|
683
|
-
"contentHash": "
|
|
683
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
684
684
|
"since": "2025-01-01"
|
|
685
685
|
},
|
|
686
686
|
"route-group:trust": {
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
"type": "route-group",
|
|
689
689
|
"domain": "safety",
|
|
690
690
|
"sourcePath": "src/server/routes.ts",
|
|
691
|
-
"contentHash": "
|
|
691
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
692
692
|
"since": "2025-01-01"
|
|
693
693
|
},
|
|
694
694
|
"route-group:monitoring": {
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
"type": "route-group",
|
|
697
697
|
"domain": "monitoring",
|
|
698
698
|
"sourcePath": "src/server/routes.ts",
|
|
699
|
-
"contentHash": "
|
|
699
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
700
700
|
"since": "2025-01-01"
|
|
701
701
|
},
|
|
702
702
|
"route-group:commitments": {
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
"type": "route-group",
|
|
705
705
|
"domain": "commitments",
|
|
706
706
|
"sourcePath": "src/server/routes.ts",
|
|
707
|
-
"contentHash": "
|
|
707
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
708
708
|
"since": "2025-01-01"
|
|
709
709
|
},
|
|
710
710
|
"route-group:episodes": {
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
"type": "route-group",
|
|
713
713
|
"domain": "memory",
|
|
714
714
|
"sourcePath": "src/server/routes.ts",
|
|
715
|
-
"contentHash": "
|
|
715
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
716
716
|
"since": "2025-01-01"
|
|
717
717
|
},
|
|
718
718
|
"route-group:messages": {
|
|
@@ -720,7 +720,7 @@
|
|
|
720
720
|
"type": "route-group",
|
|
721
721
|
"domain": "coordination",
|
|
722
722
|
"sourcePath": "src/server/routes.ts",
|
|
723
|
-
"contentHash": "
|
|
723
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
724
724
|
"since": "2025-01-01"
|
|
725
725
|
},
|
|
726
726
|
"route-group:system-reviews": {
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
"type": "route-group",
|
|
729
729
|
"domain": "monitoring",
|
|
730
730
|
"sourcePath": "src/server/routes.ts",
|
|
731
|
-
"contentHash": "
|
|
731
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
732
732
|
"since": "2025-01-01"
|
|
733
733
|
},
|
|
734
734
|
"route-group:machine-mesh": {
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
"type": "route-group",
|
|
745
745
|
"domain": "security",
|
|
746
746
|
"sourcePath": "src/server/routes.ts",
|
|
747
|
-
"contentHash": "
|
|
747
|
+
"contentHash": "7ac85b7a93c149b17daa4e7ef7a6396e85ecab9f9560eb79b083284013907d5a",
|
|
748
748
|
"since": "2025-01-01"
|
|
749
749
|
},
|
|
750
750
|
"cli:init": {
|
|
@@ -1440,7 +1440,7 @@
|
|
|
1440
1440
|
"type": "subsystem",
|
|
1441
1441
|
"domain": "server",
|
|
1442
1442
|
"sourcePath": "src/server/AgentServer.ts",
|
|
1443
|
-
"contentHash": "
|
|
1443
|
+
"contentHash": "823d36d25490f6afb6968e96d27a538ce031dae7d97a7f2c979ddab707d2918a",
|
|
1444
1444
|
"since": "2025-01-01"
|
|
1445
1445
|
},
|
|
1446
1446
|
"subsystem:session-manager": {
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- bump: minor -->
|
|
4
|
+
<!-- minor = new capability, backward compatible -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
Threadline collaboration is now **visible to the operator** instead of happening
|
|
9
|
+
in an invisible side channel (CMT-509). Driven by a real incident: an agent-to-
|
|
10
|
+
agent collaboration ran entirely in background worker sessions and never surfaced
|
|
11
|
+
to the operator, AND the "report back" commitment resolved with the operator never
|
|
12
|
+
informed.
|
|
13
|
+
|
|
14
|
+
**The fixes (a quiet MVP — convergence scoped it down from "surface everything"
|
|
15
|
+
so it doesn't violate the near-silent-notifications standard):**
|
|
16
|
+
|
|
17
|
+
1. **Report-back commitments wait for the user.** A `threadline-reply` commitment
|
|
18
|
+
no longer resolves on delivery-mode alone — it resolves only when the reply was
|
|
19
|
+
actually surfaced to the user (live-inject into the topic session, or a
|
|
20
|
+
resume-pending whose Telegram surface confirmed). An un-surfaced reply leaves
|
|
21
|
+
the commitment OPEN (beacon keeps heartbeating; 7-day TTL backstop).
|
|
22
|
+
2. **Parentless conversations surface to a dedicated Threadline topic.** When a
|
|
23
|
+
peer reaches out cold (no parent topic), a single warranted first contact posts
|
|
24
|
+
to ONE dedicated "Threadline" topic — created on demand + reused, kept separate
|
|
25
|
+
from the generic attention list, never per-thread. One quiet post per
|
|
26
|
+
conversation (deduped), gated by the warrants-a-reply check so a multi-turn
|
|
27
|
+
exchange doesn't flood the operator.
|
|
28
|
+
3. Topic-bound conversations continue to surface in their parent topic
|
|
29
|
+
(TopicLinkageHandler), at most one user-facing post per reply.
|
|
30
|
+
|
|
31
|
+
## What to Tell Your User
|
|
32
|
+
|
|
33
|
+
When another agent collaborates with me, you'll now see it: cold outreach shows up
|
|
34
|
+
as one quiet heads-up in a dedicated Threadline topic, and a collaboration tied to
|
|
35
|
+
one of your conversations surfaces right there. And "I'll report back" now actually
|
|
36
|
+
waits until you've been told — it won't quietly mark itself done. It stays
|
|
37
|
+
near-silent: only genuinely new, relevant content surfaces.
|
|
38
|
+
|
|
39
|
+
## Summary of New Capabilities
|
|
40
|
+
|
|
41
|
+
| Capability | How to Use |
|
|
42
|
+
|-----------|-----------|
|
|
43
|
+
| Parentless-conversation surfacing | Automatic; one dedicated "Threadline" topic, deduped, near-silent |
|
|
44
|
+
| Commitment resolves only after user-facing surface | Automatic; un-surfaced replies keep the commitment open |
|
|
45
|
+
|
|
46
|
+
## Migration Notes
|
|
47
|
+
|
|
48
|
+
Additive. New state file `.instar/threadline/collaboration-surface.json` (dedicated
|
|
49
|
+
topic id + dedupe). Behind `threadline.surfaceCollaboration` (default on). No
|
|
50
|
+
`~/.codex` or relay change.
|
|
51
|
+
|
|
52
|
+
## Evidence
|
|
53
|
+
|
|
54
|
+
- Spec: `docs/specs/THREADLINE-COLLABORATION-SURFACING-SPEC.md` (+ ELI16 +
|
|
55
|
+
convergence report — scoped down to a low-noise MVP; §3 found to need no code
|
|
56
|
+
change against the live behavior).
|
|
57
|
+
- Tests: `CollaborationSurfacer.test.ts` (9 — routing/dedupe/topic-reuse/JSON-strip/
|
|
58
|
+
non-fatal), `TopicLinkageHandler.test.ts` (+1 regression: resume-pending with no
|
|
59
|
+
surface keeps the commitment open), wiring-integrity
|
|
60
|
+
`collaboration-surfacing-wiring.test.ts` (5 — constructed + invoked at both seams).
|
|
61
|
+
- Test-as-self on live `instar-codey` before merge (cold peer note → one operator
|
|
62
|
+
update, no spam, commitment resolves only after).
|
|
63
|
+
|
|
64
|
+
## Rollback
|
|
65
|
+
|
|
66
|
+
Behind `threadline.surfaceCollaboration` (flag off = today's behavior). The
|
|
67
|
+
commitment-resolution change is a guard on an existing call; revert removes it. No
|
|
68
|
+
state migration.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Upgrade Notes — NEXT
|
|
2
|
+
|
|
3
|
+
## What Changed
|
|
4
|
+
|
|
5
|
+
Enable-layer coherence — three objective fixes so a feature's on/off switch actually works:
|
|
6
|
+
|
|
7
|
+
1. **Telemetry deadlock fixed.** `POST /telemetry/enable` previously returned 503 ("subsystem not initialized") because the telemetry heartbeat was only constructed at boot *if telemetry was already enabled* — so it could never be turned on through its own endpoint. The heartbeat is now always constructed (construction is cheap and pure); the side-effecting parts (`start()`/submit()) already self-gate on the enabled flag, so a constructed-but-disabled heartbeat never starts a loop and never sends anything. Enabling now works.
|
|
8
|
+
|
|
9
|
+
2. **Two broken feature toggles fixed.** The `dispatches` and `feedback` feature toggles pointed at config keys the API refused to change, so calling them returned 400 (the switch was wired to nothing). Both keys are now accepted by `PATCH /config`. (Both are real config keys; the toggles simply weren't in the allowlist.)
|
|
10
|
+
|
|
11
|
+
3. **A guard so this can't recur.** A new build-time test asserts every feature's enable/disable action targets a real, accepted surface — a patchable config key or a known dedicated endpoint. This guard found the `feedback` toggle bug during development (in addition to the already-known `dispatches` one).
|
|
12
|
+
|
|
13
|
+
## What to Tell Your User
|
|
14
|
+
|
|
15
|
+
A few feature on/off switches were quietly wired to nothing — flipping them did nothing or errored. They work now, and there's a new safety check that fails the build if any future feature ships with a switch that points nowhere. Nothing changes in normal operation; this just makes "turn this feature on" mean what it says.
|
|
16
|
+
|
|
17
|
+
## Summary of New Capabilities
|
|
18
|
+
|
|
19
|
+
- `POST /telemetry/enable` works without a pre-existing enabled state (deadlock removed).
|
|
20
|
+
- The `dispatches` and `feedback` feature toggles now function via `PATCH /config`.
|
|
21
|
+
- New build-time guard: every feature's enable/disable action must target a real, patchable surface.
|
|
22
|
+
|
|
23
|
+
## Evidence
|
|
24
|
+
|
|
25
|
+
- **enableAction-validity guard** (`tests/unit/feature-enableaction-validity.test.ts`) — 15/15 green; it actively caught the `feedback` toggle bug (a second instance of the same class as the known `dispatches` bug) during development.
|
|
26
|
+
- **Telemetry safety** relies on the already-tested self-gating: `TelemetryHeartbeat.test.ts` covers "does not start when disabled" and "does not send when disabled," so always-constructing is side-effect-safe; the route's enable behavior is covered by `telemetry-routes.test.ts`.
|
|
27
|
+
- **Regression:** touched-area suite green (telemetry routes, TelemetryHeartbeat, validity = 99 passing); typecheck clean.
|
|
28
|
+
- **Side-effects review:** `upgrades/side-effects/enable-layer-coherence.md`.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Side-Effects Review — Enable-layer coherence (low-risk half)
|
|
2
|
+
|
|
3
|
+
**Version / slug:** `enable-layer-coherence`
|
|
4
|
+
**Date:** `2026-05-25`
|
|
5
|
+
**Author:** `echo`
|
|
6
|
+
**Second-pass reviewer:** `not required (objective bug-fixes, fail-safe, full guard coverage; spec-driven, approved)`
|
|
7
|
+
|
|
8
|
+
## Summary of the change
|
|
9
|
+
|
|
10
|
+
Three objective enable-path fixes (the low-risk half of feature-activation-coherence, approved by Justin): (1) always-construct `TelemetryHeartbeat` so `POST /telemetry/enable` isn't a deadlock (`src/commands/server.ts`); (2) add `dispatches` + `feedback` to the `PATCH /config` allowlist, extracted to an exported `PATCHABLE_CONFIG_KEYS` (`src/server/routes.ts`), fixing two toggles that 400'd; (3) a build-time enableAction-validity guard (`tests/unit/feature-enableaction-validity.test.ts`) that fails the build if any feature's enable/disable action targets a non-patchable surface. Spec: `docs/specs/enable-layer-coherence.md`.
|
|
11
|
+
|
|
12
|
+
## Decision-point inventory
|
|
13
|
+
|
|
14
|
+
- `PATCH /config` allowlist — **modify** — add two real config keys (`dispatches`, `feedback`); extract to a module-scope export.
|
|
15
|
+
- Telemetry heartbeat construction — **modify** — always construct (was conditional); side-effects unchanged (self-gated internally).
|
|
16
|
+
- enableAction-validity guard — **add** — build-time test, no runtime surface.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## 1. Over-block
|
|
21
|
+
|
|
22
|
+
No new block/allow runtime surface that rejects legitimate input. The allowlist change *widens* what `PATCH /config` accepts (adds two keys); it cannot newly reject anything. Telemetry construction has no block surface. "No over-block — the change only widens acceptance + adds a build-time test."
|
|
23
|
+
|
|
24
|
+
## 2. Under-block
|
|
25
|
+
|
|
26
|
+
The enableAction-validity guard could miss a malformed action shape it doesn't model (e.g. a future action with a method other than PATCH/POST, or a `/config` body nested differently). It checks top-level body keys for `PATCH /config` and a known-endpoint set otherwise; an exotic future action shape would pass unchecked. Acceptable: it covers every current shape and the failure mode it guards (non-allowlisted config key). Telemetry: a classifier/provider outage means telemetry simply doesn't send (it's off anyway) — no under-block of anything user-facing.
|
|
27
|
+
|
|
28
|
+
## 3. Level-of-abstraction fit
|
|
29
|
+
|
|
30
|
+
Right layer. The allowlist is the existing accept-list at the route boundary; extracting it to an export (consumed by both the route and the test) is the correct single-source-of-truth move. The telemetry fix matches the existing always-construct/gate-effects pattern already used by `PrivateViewer`/publishing in the same file. The guard is a build-time unit test — the right place to assert a static invariant about FeatureDefinitions.
|
|
31
|
+
|
|
32
|
+
## 4. Signal vs authority compliance
|
|
33
|
+
|
|
34
|
+
**Reference:** docs/signal-vs-authority.md
|
|
35
|
+
- [x] No — this change has no new block/allow authority surface (allowlist widening + always-construct + a build-time test).
|
|
36
|
+
|
|
37
|
+
No brittle logic gains blocking authority. The allowlist is a passive accept-list (unchanged mechanism). Telemetry's authority (consent checker + enabled flag) is untouched.
|
|
38
|
+
|
|
39
|
+
## 5. Interactions
|
|
40
|
+
|
|
41
|
+
- **Shadowing:** none. Allowlist check is unchanged in position; telemetry construction moved from conditional to unconditional but `.start()` is still deferred to the same post-scheduler point and still no-ops when disabled.
|
|
42
|
+
- **Double-fire:** none. Telemetry record callsites (`recordSessionSpawned`, `setConsentChecker`) now run for an always-constructed heartbeat; when disabled they buffer counters that never submit (bounded, harmless) and set a consent checker only consulted during (gated) submission.
|
|
43
|
+
- **Races:** none new. Construction is synchronous at boot; the allowlist is read-only per request.
|
|
44
|
+
- **Feedback loops:** none.
|
|
45
|
+
|
|
46
|
+
## 6. External surfaces
|
|
47
|
+
|
|
48
|
+
- **Other agents / install base:** ships to all agents on the normal server update. Telemetry stays off unless explicitly enabled (Echo: off). The two toggle fixes only make `dispatches`/`feedback` *enable-able* via API — they don't change any default (both remain whatever the config says; for Echo, `dispatches` absent = off, `feedback` already on).
|
|
49
|
+
- **External systems:** no new egress. Telemetry submission remains gated on enabled + consent (both off for Echo). Enabling `dispatches` for a *downstream* agent now also constructs its puller (`AutoDispatcher`, gated on `config.dispatches` existing) — but that only happens if that agent's config has dispatches, which is their choice.
|
|
50
|
+
- **Persistent state:** none added. `POST /telemetry/enable` provisions an install id only when actually called (unchanged).
|
|
51
|
+
- **Response shape:** unchanged for existing callers (allowlist widening doesn't alter success/empty responses for previously-accepted keys).
|
|
52
|
+
|
|
53
|
+
## 7. Rollback cost
|
|
54
|
+
|
|
55
|
+
Pure code + a test. Each fix independently revertable: telemetry → conditional construction (deadlock returns, nothing else); allowlist → drop the two keys (toggles 400 again); guard → delete the test. No persistent state, no migration, no agent-state repair, no user-visible regression during rollback. Fail-safe: a bug in the telemetry change cannot cause egress (start/submit self-gate) — worst case is "behaves like today."
|
|
56
|
+
|
|
57
|
+
## Conclusion
|
|
58
|
+
|
|
59
|
+
No design changes from the review. The guard validated itself by catching a real second bug (`feedback`) during implementation — a strong signal the abstraction is right. All three fixes are objective, fail-safe, and independently revertable; telemetry egress is unchanged (off for Echo). Clear to ship. The behavior-reducing dispositions (autonomous-evolution execution retirement, response-review merge) are deliberately excluded — they await Justin's explicit decision in a separate spec.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Second-pass review (if required)
|
|
64
|
+
|
|
65
|
+
Not required — objective bug-fixes, fail-safe, full guard coverage, spec-driven + approved.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Evidence pointers
|
|
70
|
+
|
|
71
|
+
- `tests/unit/feature-enableaction-validity.test.ts` — 15/15 green; caught the `feedback` toggle bug during development.
|
|
72
|
+
- `tests/unit/TelemetryHeartbeat.test.ts` — "does not start when disabled" / "does not send when disabled" (the property making always-construct safe).
|
|
73
|
+
- `tests/unit/telemetry-routes.test.ts` — enable-route behavior with a constructed heartbeat.
|
|
74
|
+
- Typecheck clean; touched-area regression sweep 99 passing.
|