instar 1.3.48 → 1.3.50
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/feedback-factory/dryrun/HttpParitySource.d.ts +82 -0
- package/dist/feedback-factory/dryrun/HttpParitySource.d.ts.map +1 -0
- package/dist/feedback-factory/dryrun/HttpParitySource.js +138 -0
- package/dist/feedback-factory/dryrun/HttpParitySource.js.map +1 -0
- package/dist/lifeline/TelegramLifeline.d.ts.map +1 -1
- package/dist/lifeline/TelegramLifeline.js +16 -0
- package/dist/lifeline/TelegramLifeline.js.map +1 -1
- package/dist/messaging/TelegramAdapter.d.ts +29 -0
- package/dist/messaging/TelegramAdapter.d.ts.map +1 -1
- package/dist/messaging/TelegramAdapter.js +53 -20
- package/dist/messaging/TelegramAdapter.js.map +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +33 -1
- package/dist/server/routes.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +47 -47
- package/upgrades/1.3.49.md +31 -0
- package/upgrades/1.3.50.md +70 -0
- package/upgrades/side-effects/feedback-factory-http-source.md +99 -0
- package/upgrades/side-effects/mentee-receiver-forward-dispatch.md +99 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./builtin-manifest.schema.json",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"generatedAt": "2026-05-
|
|
5
|
-
"instarVersion": "1.3.
|
|
4
|
+
"generatedAt": "2026-05-28T04:22:02.259Z",
|
|
5
|
+
"instarVersion": "1.3.50",
|
|
6
6
|
"entryCount": 193,
|
|
7
7
|
"entries": {
|
|
8
8
|
"hook:session-start": {
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
"type": "route-group",
|
|
410
410
|
"domain": "monitoring",
|
|
411
411
|
"sourcePath": "src/server/routes.ts",
|
|
412
|
-
"contentHash": "
|
|
412
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
413
413
|
"since": "2025-01-01"
|
|
414
414
|
},
|
|
415
415
|
"route-group:agents": {
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
"type": "route-group",
|
|
418
418
|
"domain": "sessions",
|
|
419
419
|
"sourcePath": "src/server/routes.ts",
|
|
420
|
-
"contentHash": "
|
|
420
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
421
421
|
"since": "2025-01-01"
|
|
422
422
|
},
|
|
423
423
|
"route-group:backups": {
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"type": "route-group",
|
|
426
426
|
"domain": "operations",
|
|
427
427
|
"sourcePath": "src/server/routes.ts",
|
|
428
|
-
"contentHash": "
|
|
428
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
429
429
|
"since": "2025-01-01"
|
|
430
430
|
},
|
|
431
431
|
"route-group:git": {
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
"type": "route-group",
|
|
434
434
|
"domain": "coordination",
|
|
435
435
|
"sourcePath": "src/server/routes.ts",
|
|
436
|
-
"contentHash": "
|
|
436
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
437
437
|
"since": "2025-01-01"
|
|
438
438
|
},
|
|
439
439
|
"route-group:memory": {
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
"type": "route-group",
|
|
442
442
|
"domain": "memory",
|
|
443
443
|
"sourcePath": "src/server/routes.ts",
|
|
444
|
-
"contentHash": "
|
|
444
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
445
445
|
"since": "2025-01-01"
|
|
446
446
|
},
|
|
447
447
|
"route-group:semantic": {
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
"type": "route-group",
|
|
450
450
|
"domain": "memory",
|
|
451
451
|
"sourcePath": "src/server/routes.ts",
|
|
452
|
-
"contentHash": "
|
|
452
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
453
453
|
"since": "2025-01-01"
|
|
454
454
|
},
|
|
455
455
|
"route-group:status": {
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
"type": "route-group",
|
|
458
458
|
"domain": "monitoring",
|
|
459
459
|
"sourcePath": "src/server/routes.ts",
|
|
460
|
-
"contentHash": "
|
|
460
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
461
461
|
"since": "2025-01-01"
|
|
462
462
|
},
|
|
463
463
|
"route-group:capabilities": {
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
"type": "route-group",
|
|
466
466
|
"domain": "mapping",
|
|
467
467
|
"sourcePath": "src/server/routes.ts",
|
|
468
|
-
"contentHash": "
|
|
468
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
469
469
|
"since": "2025-01-01"
|
|
470
470
|
},
|
|
471
471
|
"route-group:project-map": {
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"type": "route-group",
|
|
474
474
|
"domain": "mapping",
|
|
475
475
|
"sourcePath": "src/server/routes.ts",
|
|
476
|
-
"contentHash": "
|
|
476
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
477
477
|
"since": "2025-01-01"
|
|
478
478
|
},
|
|
479
479
|
"route-group:coherence": {
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"type": "route-group",
|
|
482
482
|
"domain": "coherence",
|
|
483
483
|
"sourcePath": "src/server/routes.ts",
|
|
484
|
-
"contentHash": "
|
|
484
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
485
485
|
"since": "2025-01-01"
|
|
486
486
|
},
|
|
487
487
|
"route-group:topic-bindings": {
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
"type": "route-group",
|
|
490
490
|
"domain": "sessions",
|
|
491
491
|
"sourcePath": "src/server/routes.ts",
|
|
492
|
-
"contentHash": "
|
|
492
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
493
493
|
"since": "2025-01-01"
|
|
494
494
|
},
|
|
495
495
|
"route-group:context": {
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
"type": "route-group",
|
|
498
498
|
"domain": "context",
|
|
499
499
|
"sourcePath": "src/server/routes.ts",
|
|
500
|
-
"contentHash": "
|
|
500
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
501
501
|
"since": "2025-01-01"
|
|
502
502
|
},
|
|
503
503
|
"route-group:scope-coherence": {
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
"type": "route-group",
|
|
506
506
|
"domain": "coherence",
|
|
507
507
|
"sourcePath": "src/server/routes.ts",
|
|
508
|
-
"contentHash": "
|
|
508
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
509
509
|
"since": "2025-01-01"
|
|
510
510
|
},
|
|
511
511
|
"route-group:canonical-state": {
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
"type": "route-group",
|
|
514
514
|
"domain": "state",
|
|
515
515
|
"sourcePath": "src/server/routes.ts",
|
|
516
|
-
"contentHash": "
|
|
516
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
517
517
|
"since": "2025-01-01"
|
|
518
518
|
},
|
|
519
519
|
"route-group:ci": {
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
"type": "route-group",
|
|
522
522
|
"domain": "monitoring",
|
|
523
523
|
"sourcePath": "src/server/routes.ts",
|
|
524
|
-
"contentHash": "
|
|
524
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
525
525
|
"since": "2025-01-01"
|
|
526
526
|
},
|
|
527
527
|
"route-group:sessions": {
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
"type": "route-group",
|
|
530
530
|
"domain": "sessions",
|
|
531
531
|
"sourcePath": "src/server/routes.ts",
|
|
532
|
-
"contentHash": "
|
|
532
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
533
533
|
"since": "2025-01-01"
|
|
534
534
|
},
|
|
535
535
|
"route-group:jobs": {
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
"type": "route-group",
|
|
538
538
|
"domain": "scheduling",
|
|
539
539
|
"sourcePath": "src/server/routes.ts",
|
|
540
|
-
"contentHash": "
|
|
540
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
541
541
|
"since": "2025-01-01"
|
|
542
542
|
},
|
|
543
543
|
"route-group:skip-ledger": {
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
"type": "route-group",
|
|
546
546
|
"domain": "scheduling",
|
|
547
547
|
"sourcePath": "src/server/routes.ts",
|
|
548
|
-
"contentHash": "
|
|
548
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
549
549
|
"since": "2025-01-01"
|
|
550
550
|
},
|
|
551
551
|
"route-group:telegram": {
|
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
"type": "route-group",
|
|
554
554
|
"domain": "communication",
|
|
555
555
|
"sourcePath": "src/server/routes.ts",
|
|
556
|
-
"contentHash": "
|
|
556
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
557
557
|
"since": "2025-01-01"
|
|
558
558
|
},
|
|
559
559
|
"route-group:attention": {
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"type": "route-group",
|
|
562
562
|
"domain": "communication",
|
|
563
563
|
"sourcePath": "src/server/routes.ts",
|
|
564
|
-
"contentHash": "
|
|
564
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
565
565
|
"since": "2025-01-01"
|
|
566
566
|
},
|
|
567
567
|
"route-group:relationships": {
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
"type": "route-group",
|
|
570
570
|
"domain": "relationships",
|
|
571
571
|
"sourcePath": "src/server/routes.ts",
|
|
572
|
-
"contentHash": "
|
|
572
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
573
573
|
"since": "2025-01-01"
|
|
574
574
|
},
|
|
575
575
|
"route-group:feedback": {
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
"type": "route-group",
|
|
578
578
|
"domain": "feedback",
|
|
579
579
|
"sourcePath": "src/server/routes.ts",
|
|
580
|
-
"contentHash": "
|
|
580
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
581
581
|
"since": "2025-01-01"
|
|
582
582
|
},
|
|
583
583
|
"route-group:updates": {
|
|
@@ -585,7 +585,7 @@
|
|
|
585
585
|
"type": "route-group",
|
|
586
586
|
"domain": "updates",
|
|
587
587
|
"sourcePath": "src/server/routes.ts",
|
|
588
|
-
"contentHash": "
|
|
588
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
589
589
|
"since": "2025-01-01"
|
|
590
590
|
},
|
|
591
591
|
"route-group:dispatches": {
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
"type": "route-group",
|
|
594
594
|
"domain": "dispatches",
|
|
595
595
|
"sourcePath": "src/server/routes.ts",
|
|
596
|
-
"contentHash": "
|
|
596
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
597
597
|
"since": "2025-01-01"
|
|
598
598
|
},
|
|
599
599
|
"route-group:quota": {
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
"type": "route-group",
|
|
602
602
|
"domain": "monitoring",
|
|
603
603
|
"sourcePath": "src/server/routes.ts",
|
|
604
|
-
"contentHash": "
|
|
604
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
605
605
|
"since": "2025-01-01"
|
|
606
606
|
},
|
|
607
607
|
"route-group:publishing": {
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
"type": "route-group",
|
|
610
610
|
"domain": "publishing",
|
|
611
611
|
"sourcePath": "src/server/routes.ts",
|
|
612
|
-
"contentHash": "
|
|
612
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
613
613
|
"since": "2025-01-01"
|
|
614
614
|
},
|
|
615
615
|
"route-group:private-views": {
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
"type": "route-group",
|
|
618
618
|
"domain": "publishing",
|
|
619
619
|
"sourcePath": "src/server/routes.ts",
|
|
620
|
-
"contentHash": "
|
|
620
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
621
621
|
"since": "2025-01-01"
|
|
622
622
|
},
|
|
623
623
|
"route-group:tunnel": {
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
"type": "route-group",
|
|
626
626
|
"domain": "networking",
|
|
627
627
|
"sourcePath": "src/server/routes.ts",
|
|
628
|
-
"contentHash": "
|
|
628
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
629
629
|
"since": "2025-01-01"
|
|
630
630
|
},
|
|
631
631
|
"route-group:events": {
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
"type": "route-group",
|
|
634
634
|
"domain": "networking",
|
|
635
635
|
"sourcePath": "src/server/routes.ts",
|
|
636
|
-
"contentHash": "
|
|
636
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
637
637
|
"since": "2025-01-01"
|
|
638
638
|
},
|
|
639
639
|
"route-group:evolution": {
|
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
"type": "route-group",
|
|
642
642
|
"domain": "evolution",
|
|
643
643
|
"sourcePath": "src/server/routes.ts",
|
|
644
|
-
"contentHash": "
|
|
644
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
645
645
|
"since": "2025-01-01"
|
|
646
646
|
},
|
|
647
647
|
"route-group:watchdog": {
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
"type": "route-group",
|
|
650
650
|
"domain": "monitoring",
|
|
651
651
|
"sourcePath": "src/server/routes.ts",
|
|
652
|
-
"contentHash": "
|
|
652
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
653
653
|
"since": "2025-01-01"
|
|
654
654
|
},
|
|
655
655
|
"route-group:topic-memory": {
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
"type": "route-group",
|
|
658
658
|
"domain": "memory",
|
|
659
659
|
"sourcePath": "src/server/routes.ts",
|
|
660
|
-
"contentHash": "
|
|
660
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
661
661
|
"since": "2025-01-01"
|
|
662
662
|
},
|
|
663
663
|
"route-group:state-sync": {
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
"type": "route-group",
|
|
666
666
|
"domain": "coordination",
|
|
667
667
|
"sourcePath": "src/server/routes.ts",
|
|
668
|
-
"contentHash": "
|
|
668
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
669
669
|
"since": "2025-01-01"
|
|
670
670
|
},
|
|
671
671
|
"route-group:intent": {
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
"type": "route-group",
|
|
674
674
|
"domain": "intent",
|
|
675
675
|
"sourcePath": "src/server/routes.ts",
|
|
676
|
-
"contentHash": "
|
|
676
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
677
677
|
"since": "2025-01-01"
|
|
678
678
|
},
|
|
679
679
|
"route-group:triage": {
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
"type": "route-group",
|
|
682
682
|
"domain": "safety",
|
|
683
683
|
"sourcePath": "src/server/routes.ts",
|
|
684
|
-
"contentHash": "
|
|
684
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
685
685
|
"since": "2025-01-01"
|
|
686
686
|
},
|
|
687
687
|
"route-group:operations": {
|
|
@@ -689,7 +689,7 @@
|
|
|
689
689
|
"type": "route-group",
|
|
690
690
|
"domain": "safety",
|
|
691
691
|
"sourcePath": "src/server/routes.ts",
|
|
692
|
-
"contentHash": "
|
|
692
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
693
693
|
"since": "2025-01-01"
|
|
694
694
|
},
|
|
695
695
|
"route-group:sentinel": {
|
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
"type": "route-group",
|
|
698
698
|
"domain": "safety",
|
|
699
699
|
"sourcePath": "src/server/routes.ts",
|
|
700
|
-
"contentHash": "
|
|
700
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
701
701
|
"since": "2025-01-01"
|
|
702
702
|
},
|
|
703
703
|
"route-group:trust": {
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
"type": "route-group",
|
|
706
706
|
"domain": "safety",
|
|
707
707
|
"sourcePath": "src/server/routes.ts",
|
|
708
|
-
"contentHash": "
|
|
708
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
709
709
|
"since": "2025-01-01"
|
|
710
710
|
},
|
|
711
711
|
"route-group:monitoring": {
|
|
@@ -713,7 +713,7 @@
|
|
|
713
713
|
"type": "route-group",
|
|
714
714
|
"domain": "monitoring",
|
|
715
715
|
"sourcePath": "src/server/routes.ts",
|
|
716
|
-
"contentHash": "
|
|
716
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
717
717
|
"since": "2025-01-01"
|
|
718
718
|
},
|
|
719
719
|
"route-group:commitments": {
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
"type": "route-group",
|
|
722
722
|
"domain": "commitments",
|
|
723
723
|
"sourcePath": "src/server/routes.ts",
|
|
724
|
-
"contentHash": "
|
|
724
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
725
725
|
"since": "2025-01-01"
|
|
726
726
|
},
|
|
727
727
|
"route-group:episodes": {
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
"type": "route-group",
|
|
730
730
|
"domain": "memory",
|
|
731
731
|
"sourcePath": "src/server/routes.ts",
|
|
732
|
-
"contentHash": "
|
|
732
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
733
733
|
"since": "2025-01-01"
|
|
734
734
|
},
|
|
735
735
|
"route-group:messages": {
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
"type": "route-group",
|
|
738
738
|
"domain": "coordination",
|
|
739
739
|
"sourcePath": "src/server/routes.ts",
|
|
740
|
-
"contentHash": "
|
|
740
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
741
741
|
"since": "2025-01-01"
|
|
742
742
|
},
|
|
743
743
|
"route-group:system-reviews": {
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
"type": "route-group",
|
|
746
746
|
"domain": "monitoring",
|
|
747
747
|
"sourcePath": "src/server/routes.ts",
|
|
748
|
-
"contentHash": "
|
|
748
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
749
749
|
"since": "2025-01-01"
|
|
750
750
|
},
|
|
751
751
|
"route-group:machine-mesh": {
|
|
@@ -761,7 +761,7 @@
|
|
|
761
761
|
"type": "route-group",
|
|
762
762
|
"domain": "security",
|
|
763
763
|
"sourcePath": "src/server/routes.ts",
|
|
764
|
-
"contentHash": "
|
|
764
|
+
"contentHash": "dc3bf7dc7f07613be4717b02dc3dfa5ffae4a5e8faa1c401ab1947c010002afb",
|
|
765
765
|
"since": "2025-01-01"
|
|
766
766
|
},
|
|
767
767
|
"cli:init": {
|
|
@@ -1521,7 +1521,7 @@
|
|
|
1521
1521
|
"type": "subsystem",
|
|
1522
1522
|
"domain": "communication",
|
|
1523
1523
|
"sourcePath": "src/lifeline/TelegramLifeline.ts",
|
|
1524
|
-
"contentHash": "
|
|
1524
|
+
"contentHash": "f44cbf8d78df7dab429a50f3e70c2bb27b6f36a8fb32ea48e7f088650680eec2",
|
|
1525
1525
|
"since": "2025-01-01"
|
|
1526
1526
|
},
|
|
1527
1527
|
"subsystem:orphan-process-reaper": {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- bump: patch -->
|
|
4
|
+
|
|
5
|
+
## What Changed
|
|
6
|
+
|
|
7
|
+
Next increment of the **Feedback Factory Migration** (Dawn → Echo; spec `docs/specs/feedback-factory-migration.md`, approved). Ships the **live Portal adapter** behind the dry-run/compare seam after a clean architectural pivot from Dawn (committed Portal-side at `d65136b3b6`): Prisma Data Platform forbids `CREATE ROLE`/`GRANT` for any account, so a read-only Postgres role can't be minted. Dawn replaced direct DB access with a Portal-internal endpoint `GET /api/instar/read` — Bearer-token-authed (`instar:read` scope), max 1000 rows per request, returns the same three tables (feedback, clusters, dispatches) with paging metadata.
|
|
8
|
+
|
|
9
|
+
New module:
|
|
10
|
+
|
|
11
|
+
- **`src/feedback-factory/dryrun/HttpParitySource.ts`** — implements the existing `ParitySource` interface via that endpoint. Async `prepare()` pre-fetches a consistent snapshot (walking pages, deduping clusters by `clusterId`, stopping when `returned_count < limit`). Sync `readPortalClusters()` returns the snapshot. The runner's seam, the parity comparator, the three order-independent invariants, and the JSONL audit trail are all unchanged — only the read adapter swaps.
|
|
12
|
+
|
|
13
|
+
Still internal — not yet wired into any route or job. Live verification waits on the `instar:read` token landing via Secret Drop.
|
|
14
|
+
|
|
15
|
+
## What to Tell Your User
|
|
16
|
+
|
|
17
|
+
- Dawn hit a database-platform limitation (Prisma Cloud refuses to mint a read-only user) and pivoted to an internal HTTP endpoint instead. It's actually a cleaner seam — my dry-run tests against the same contract her Phase-2 work will use, with no Prisma-admin dependency.
|
|
18
|
+
|
|
19
|
+
## Summary of New Capabilities
|
|
20
|
+
|
|
21
|
+
| Capability | How to Use |
|
|
22
|
+
|-----------|-----------|
|
|
23
|
+
| HTTP-backed live ParitySource for Phase-1/3 dry-run | Internal `src/feedback-factory/dryrun/HttpParitySource.ts` — `await new HttpParitySource({baseUrl,token}).prepare()`, then pass to `runDryRunCompare` |
|
|
24
|
+
|
|
25
|
+
## Evidence
|
|
26
|
+
|
|
27
|
+
- **10 new unit tests**, all green; full feedback-factory unit dir green; `tsc --noEmit` clean.
|
|
28
|
+
- **Both-sides-of-boundary**: Bearer auth + field mapping (camelCase AND snake_case tolerance), single-page snapshot + multi-page pagination with `clusterId`-dedup + `returned_count < pageSize` stop signal, `maxPages` safety cap, error-status preservation, malformed-row rejection (no silent skip of contract violations), prepare-before-read invariant, defensive-copy snapshot.
|
|
29
|
+
- **Faithful to the existing seam**: `HttpParitySource` is purely additive — implements the same `ParitySource` interface as `InMemoryParitySource`, so the runner / comparator / invariants / cutover gate are byte-identical for in-memory tests and the live Portal path.
|
|
30
|
+
|
|
31
|
+
Side-effects: `upgrades/side-effects/feedback-factory-http-source.md`.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Instar Upgrade Guide — NEXT
|
|
2
|
+
|
|
3
|
+
<!-- bump: patch -->
|
|
4
|
+
|
|
5
|
+
## What Changed
|
|
6
|
+
|
|
7
|
+
**Fix: mentee receiver wiring now fires on the lifeline-forward path.** The
|
|
8
|
+
mentee receiver wiring shipped in PR #462 installs an a2a hook on the primary
|
|
9
|
+
`TelegramAdapter`. But the hook only fired when the adapter polled directly.
|
|
10
|
+
In production both Echo and Codey run with `--no-telegram` — the primary
|
|
11
|
+
adapter is in send-only mode and never polls; the lifeline polls and forwards
|
|
12
|
+
messages via `/internal/telegram-forward`, which called
|
|
13
|
+
`ctx.telegram.onTopicMessage` directly and BYPASSED the a2a hook gate. The
|
|
14
|
+
mentee-side receiver was dead in production as a result.
|
|
15
|
+
|
|
16
|
+
This PR closes the gap end-to-end:
|
|
17
|
+
|
|
18
|
+
1. **`TelegramAdapter.dispatchAgentMessageHook(ctx)` (new public method)** —
|
|
19
|
+
extracts the hook invocation from the polling text-dispatch path into a
|
|
20
|
+
reusable dispatcher. Polling now calls it; the lifeline-forward handler
|
|
21
|
+
ALSO calls it. Same gate, both paths.
|
|
22
|
+
2. **`/internal/telegram-forward` (server)** — invokes
|
|
23
|
+
`dispatchAgentMessageHook` BEFORE falling through to `onTopicMessage`. If
|
|
24
|
+
the hook claims the message (`handled:true`), the route short-circuits
|
|
25
|
+
with `{ ok: true, forwarded: true, agentMessage: true }` and the
|
|
26
|
+
user-message path is NOT also dispatched.
|
|
27
|
+
3. **`TelegramLifeline.forwardToServer` (lifeline)** — populates `senderIsBot`,
|
|
28
|
+
`senderChatId`, `senderBotId` in the forward body from the Telegram update.
|
|
29
|
+
Required so the a2a hook's spoof defense (drop a marker from a real user
|
|
30
|
+
typing a marker-shaped string) can apply on forwarded messages.
|
|
31
|
+
|
|
32
|
+
**Backward compatibility:** newer server / older lifeline → `senderIsBot`
|
|
33
|
+
omitted → treated as falsy → marker-bearing forwards drop closed (matches the
|
|
34
|
+
spec invariant: a real user typing a marker MUST be dropped). Newer
|
|
35
|
+
lifeline / older server → unknown fields ignored, no regression.
|
|
36
|
+
|
|
37
|
+
**Caught by:** dogfood — Echo + Codey on v1.3.49, both with the receiver
|
|
38
|
+
wiring from PR #462 installed and Codey's `config.mentee` block populated.
|
|
39
|
+
Manual `/mentor/tick` failed silently because Codey's hook was never invoked
|
|
40
|
+
on the lifeline-forward path. Spec §Recipient side describes the hook as
|
|
41
|
+
"registered with `TelegramAdapter.onMessage`"; the original implementation
|
|
42
|
+
read this as the polling path, missing the dual-path nature of message
|
|
43
|
+
ingress in send-only mode.
|
|
44
|
+
|
|
45
|
+
## What to Tell Your User
|
|
46
|
+
|
|
47
|
+
A small fix that closes a quiet but real gap: the cross-agent mentor pipeline
|
|
48
|
+
now actually fires end-to-end in production, not just in tests. The previous
|
|
49
|
+
release shipped the receiver wiring, but only the polling adapter saw
|
|
50
|
+
inbound a2a messages — and in production we run a separate process for
|
|
51
|
+
polling, so the wiring was dead. After this update, mentor prompts route
|
|
52
|
+
correctly through to mentee sessions, and replies come back. No config
|
|
53
|
+
changes required on your end.
|
|
54
|
+
|
|
55
|
+
## Summary of New Capabilities
|
|
56
|
+
|
|
57
|
+
| Capability | How to Use |
|
|
58
|
+
|-----------|-----------|
|
|
59
|
+
| `TelegramAdapter.dispatchAgentMessageHook(ctx)` | Public dispatcher — any caller in possession of the adapter can invoke the agent-message hook the same way the polling path does. The lifeline-forward handler now does this automatically. |
|
|
60
|
+
| Lifeline-forward carries spoof-defense fields | `senderIsBot`/`senderChatId`/`senderBotId` are populated in the `/internal/telegram-forward` body so the a2a hook's spoof defense applies on forwarded messages. |
|
|
61
|
+
|
|
62
|
+
## Evidence
|
|
63
|
+
|
|
64
|
+
11 new tests, all green: 8 unit on `dispatchAgentMessageHook` (no-op safe,
|
|
65
|
+
handled returns true, fall-through, FAIL-OPEN on hook throw, three
|
|
66
|
+
senderBotId derivation modes, caller override); 3 integration on the
|
|
67
|
+
`/internal/telegram-forward` route (short-circuit when claimed,
|
|
68
|
+
fall-through when not, backward-compat with adapters lacking the method).
|
|
69
|
+
`tsc --noEmit` clean. Side-effects review:
|
|
70
|
+
`upgrades/side-effects/mentee-receiver-forward-dispatch.md`.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Side-effects review — feedback-factory HttpParitySource adapter
|
|
2
|
+
|
|
3
|
+
Spec: `docs/specs/feedback-factory-migration.md` (converged v2, approved 2026-05-26).
|
|
4
|
+
Increment: the live Portal `/api/instar/read` adapter implementing the existing
|
|
5
|
+
`ParitySource` seam. Single new src module + its unit test; zero edits to existing
|
|
6
|
+
code.
|
|
7
|
+
|
|
8
|
+
## What this ships
|
|
9
|
+
|
|
10
|
+
The HTTP adapter behind the dry-run/compare seam after Dawn's architectural pivot
|
|
11
|
+
(committed Portal-side at `d65136b3b6`): Prisma Data Platform forbids `CREATE ROLE`/
|
|
12
|
+
`GRANT`/`REVOKE` for any account including superusers, so a read-only Postgres role
|
|
13
|
+
couldn't be minted. Dawn replaced direct DB access with a Portal-internal endpoint
|
|
14
|
+
`GET /api/instar/read` (max 1000 rows/request, Bearer-token-authed,
|
|
15
|
+
`instar:read` scope, JSON envelope with `data.{feedback,clusters,dispatches}` +
|
|
16
|
+
`meta.{total_feedback_rows,returned_count,query_time_ms,timestamp}`).
|
|
17
|
+
|
|
18
|
+
`HttpParitySource` implements `ParitySource` by pre-fetching that snapshot via an
|
|
19
|
+
async `prepare()` and serving it through the existing sync `readPortalClusters()`
|
|
20
|
+
read. The runner's seam, comparator (parity.ts), invariants, audit trail
|
|
21
|
+
(JSONL), and `divergent === true` cutover gate are unchanged — only the read
|
|
22
|
+
adapter swaps. This is exactly what the dependency-injection seam was for.
|
|
23
|
+
|
|
24
|
+
## Over-block / under-block
|
|
25
|
+
|
|
26
|
+
- **Errors**: any non-OK Portal response throws `HttpParitySourceError` with the
|
|
27
|
+
preserved status code. No silent partial snapshots — a 401/403/5xx surfaces
|
|
28
|
+
immediately and halts the prepare(). This is the right direction (false
|
|
29
|
+
block is recoverable; a silent partial snapshot would produce a phantom
|
|
30
|
+
"divergent" verdict that blocks Phase 4 cutover for the wrong reason).
|
|
31
|
+
- **Malformed cluster rows**: a row missing required fields (`clusterId` / `type`
|
|
32
|
+
/ `title`) throws, NOT silently skipped. A contract violation from Portal is
|
|
33
|
+
exactly the kind of thing we need to see, not hide.
|
|
34
|
+
- **Field naming tolerance**: the mapper accepts both camelCase (Prisma default)
|
|
35
|
+
and snake_case (raw SQL projection) — chosen because Dawn's endpoint contract
|
|
36
|
+
doesn't pin the projection style and over-strictness here would cause
|
|
37
|
+
needless live-rollout friction.
|
|
38
|
+
- **Snapshot freshness**: `prepare()` is idempotent — re-calling re-fetches.
|
|
39
|
+
Callers that want a stable snapshot for one dry-run pass simply call it once;
|
|
40
|
+
callers that want a fresh snapshot per pass call it per pass. Neither path is
|
|
41
|
+
blocked.
|
|
42
|
+
- **`readPortalClusters()` before `prepare()`**: throws (no silent empty array).
|
|
43
|
+
An empty snapshot would also produce a phantom "divergent: false" verdict that
|
|
44
|
+
would mis-gate cutover.
|
|
45
|
+
|
|
46
|
+
## Level-of-abstraction fit
|
|
47
|
+
|
|
48
|
+
- The adapter lives in `dryrun/` next to `dryRunCompare.ts` because it is the
|
|
49
|
+
composition's read-source, not a pure piece of the processor logic
|
|
50
|
+
(`processor/` stays pure / decision-only).
|
|
51
|
+
- It implements the existing `ParitySource` interface verbatim — the seam was
|
|
52
|
+
designed for exactly this swap. The runner doesn't know whether it's reading
|
|
53
|
+
from `InMemoryParitySource` or `HttpParitySource`; that's the test/live
|
|
54
|
+
symmetry the migration spec called for.
|
|
55
|
+
- `fetch` is injected via `fetchImpl` so unit tests can stub it. The default
|
|
56
|
+
uses the runtime's global `fetch` (Node ≥18 / modern fetch).
|
|
57
|
+
|
|
58
|
+
## Signal-vs-authority compliance
|
|
59
|
+
|
|
60
|
+
Still signal-only. The adapter produces data; the runner produces a verdict; no
|
|
61
|
+
authority to act flows from this code. Portal stays sole writer (the
|
|
62
|
+
read-only API surface does not expose mutation). The cutover authority remains
|
|
63
|
+
where the spec puts it: Dawn's line-by-line review + Justin's go/no-go.
|
|
64
|
+
|
|
65
|
+
## Interactions
|
|
66
|
+
|
|
67
|
+
- **Portal `/api/instar/read`**: the only external surface this adapter touches.
|
|
68
|
+
Read-only by Dawn's design (no PUT/POST/DELETE in the endpoint contract). The
|
|
69
|
+
Bearer token (`instar:read` scope) sits in the adapter's config — never logged,
|
|
70
|
+
never persisted by the adapter, owned by the caller. Token delivery happens
|
|
71
|
+
out of band via Secret Drop (in-memory only, never on disk, never in chat
|
|
72
|
+
history).
|
|
73
|
+
- **`ParitySource` interface, `runDryRunCompare`, `parity.ts`**: unchanged. No
|
|
74
|
+
edits to existing feedback-factory code — additive only.
|
|
75
|
+
- **No config, hook, route, template, or migration surface is touched.** No
|
|
76
|
+
Migration Parity / Agent Awareness obligation triggered.
|
|
77
|
+
- **Pagination contract**: keyed off the feedback table (`returned_count <
|
|
78
|
+
pageSize` = exhausted). Clusters/dispatches per Dawn's contract accompany
|
|
79
|
+
each page; the adapter dedupes clusters by `clusterId` across pages, so
|
|
80
|
+
repeated clusters across pages cost only the network round-trip, not
|
|
81
|
+
correctness. Safety cap at `maxPages` (default 200 = 200k feedback rows)
|
|
82
|
+
prevents infinite-loop pathology if Portal returned the wrong meta.
|
|
83
|
+
|
|
84
|
+
## Rollback cost
|
|
85
|
+
|
|
86
|
+
Trivial. One new `src/feedback-factory/dryrun/HttpParitySource.ts` plus its test.
|
|
87
|
+
Nothing imports it from production paths yet. Reverting removes the adapter
|
|
88
|
+
without any downstream impact.
|
|
89
|
+
|
|
90
|
+
## Deferrals
|
|
91
|
+
|
|
92
|
+
- **Live verification** waits on the `instar:read` token landing via the open
|
|
93
|
+
Secret Drop. The adapter + 10 unit tests fully prove the read shape, mapping,
|
|
94
|
+
pagination, error path, and prepare-invariant against a stubbed `fetch`; the
|
|
95
|
+
live token only exercises the actual Portal endpoint. <!-- tracked: topic-12476 -->
|
|
96
|
+
- **Cursor-based pagination** (a Last-Modified-style cursor instead of offset)
|
|
97
|
+
is not used: Dawn's documented contract is offset/limit. If she adds a cursor
|
|
98
|
+
later, the adapter takes one config field and a small page-loop tweak. The
|
|
99
|
+
current offset-with-dedup is correct under offset semantics. <!-- tracked: topic-12476 -->
|