instar 1.3.51 → 1.3.53
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/machine.d.ts.map +1 -1
- package/dist/commands/machine.js +4 -3
- package/dist/commands/machine.js.map +1 -1
- package/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +12 -3
- package/dist/commands/server.js.map +1 -1
- package/dist/core/redactUrl.d.ts +38 -0
- package/dist/core/redactUrl.d.ts.map +1 -0
- package/dist/core/redactUrl.js +100 -0
- package/dist/core/redactUrl.js.map +1 -0
- package/dist/server/AgentServer.d.ts +2 -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 +4 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +1 -0
- package/dist/server/routes.js.map +1 -1
- package/dist/threadline/hubCommands.d.ts +8 -0
- package/dist/threadline/hubCommands.d.ts.map +1 -1
- package/dist/threadline/hubCommands.js +25 -5
- package/dist/threadline/hubCommands.js.map +1 -1
- package/dist/threadline/openConversationBrief.d.ts +100 -0
- package/dist/threadline/openConversationBrief.d.ts.map +1 -0
- package/dist/threadline/openConversationBrief.js +234 -0
- package/dist/threadline/openConversationBrief.js.map +1 -0
- package/package.json +2 -2
- package/scripts/lint-no-direct-url-log.js +70 -0
- package/src/data/builtin-manifest.json +48 -48
- package/src/templates/scripts/convergence-check.sh +27 -2
- package/upgrades/1.3.52.md +39 -0
- package/upgrades/1.3.53.md +46 -0
- package/upgrades/side-effects/credential-redaction-in-url-logging.md +77 -0
- package/upgrades/side-effects/threadline-open-this-llm-naming.md +72 -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.3.
|
|
4
|
+
"generatedAt": "2026-05-28T07:03:37.461Z",
|
|
5
|
+
"instarVersion": "1.3.53",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
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": "02158bbab251ccad90f9db38cdfc4836f3d5560fa553f32abba30732b11f4f05",
|
|
765
765
|
"since": "2025-01-01"
|
|
766
766
|
},
|
|
767
767
|
"cli:init": {
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
"type": "template",
|
|
1090
1090
|
"domain": "operations",
|
|
1091
1091
|
"sourcePath": "src/templates/scripts/convergence-check.sh",
|
|
1092
|
-
"contentHash": "
|
|
1092
|
+
"contentHash": "955be9917dd0a8d3d795e137bcdf265cb71008797728bbdf3c102a9f0a0b789f",
|
|
1093
1093
|
"since": "2025-01-01"
|
|
1094
1094
|
},
|
|
1095
1095
|
"template:git-sync-gate.sh": {
|
|
@@ -1457,7 +1457,7 @@
|
|
|
1457
1457
|
"type": "subsystem",
|
|
1458
1458
|
"domain": "server",
|
|
1459
1459
|
"sourcePath": "src/server/AgentServer.ts",
|
|
1460
|
-
"contentHash": "
|
|
1460
|
+
"contentHash": "1b85f747d68975a430434c51a1958c48dca6652021fcc2ce877bf7ccff172c9a",
|
|
1461
1461
|
"since": "2025-01-01"
|
|
1462
1462
|
},
|
|
1463
1463
|
"subsystem:session-manager": {
|
|
@@ -59,11 +59,36 @@ fi
|
|
|
59
59
|
# Known-safe domains are whitelisted; anything else gets flagged.
|
|
60
60
|
URLS_IN_MSG=$(echo "$CONTENT" | grep -oE 'https?://[^ )"'"'"'>]+' 2>/dev/null || true)
|
|
61
61
|
if [ -n "$URLS_IN_MSG" ]; then
|
|
62
|
+
# The agent's OWN tunnel domain is trusted — a private-view / dashboard link
|
|
63
|
+
# the agent just generated via POST /view is not a confabulation. Read the
|
|
64
|
+
# live tunnel host from the persisted tunnel state so custom-domain tunnels
|
|
65
|
+
# are covered too (not just the default *.dawn-tunnel.dev / *.trycloudflare.com).
|
|
66
|
+
OWN_TUNNEL_HOST=""
|
|
67
|
+
for tj in "${CLAUDE_PROJECT_DIR:-.}/.instar/state/tunnel.json" "${CLAUDE_PROJECT_DIR:-.}/.instar/tunnel.json"; do
|
|
68
|
+
if [ -f "$tj" ]; then
|
|
69
|
+
OWN_TUNNEL_HOST=$(python3 -c "
|
|
70
|
+
import json,sys,re
|
|
71
|
+
try:
|
|
72
|
+
d=json.load(open('$tj'))
|
|
73
|
+
u=d.get('url') or d.get('tunnelUrl') or ''
|
|
74
|
+
m=re.search(r'https?://([^/]+)', u)
|
|
75
|
+
print(re.escape(m.group(1)) if m else '')
|
|
76
|
+
except Exception:
|
|
77
|
+
print('')
|
|
78
|
+
" 2>/dev/null)
|
|
79
|
+
[ -n "$OWN_TUNNEL_HOST" ] && break
|
|
80
|
+
fi
|
|
81
|
+
done
|
|
82
|
+
|
|
62
83
|
UNFAMILIAR_URLS=""
|
|
63
84
|
while IFS= read -r url; do
|
|
64
85
|
[ -z "$url" ] && continue
|
|
65
|
-
# Skip
|
|
66
|
-
if echo "$url" | grep -qE
|
|
86
|
+
# Skip the agent's own live tunnel host (dynamic, covers custom domains).
|
|
87
|
+
if [ -n "$OWN_TUNNEL_HOST" ] && echo "$url" | grep -qE "$OWN_TUNNEL_HOST"; then
|
|
88
|
+
continue
|
|
89
|
+
fi
|
|
90
|
+
# Skip well-known service domains + common agent tunnel domains.
|
|
91
|
+
if echo "$url" | grep -qE '(github\.com|vercel\.app|vercel\.com|netlify\.app|netlify\.com|npmjs\.com|npmjs\.org|cloudflare\.com|google\.com|twitter\.com|x\.com|youtube\.com|reddit\.com|discord\.com|discord\.gg|telegram\.org|t\.me|localhost|127\.0\.0\.1|stackoverflow\.com|developer\.mozilla\.org|docs\.anthropic\.com|anthropic\.com|openai\.com|claude\.ai|notion\.so|linear\.app|fly\.io|render\.com|railway\.app|heroku\.com|amazonaws\.com|azure\.com|gitlab\.com|bitbucket\.org|docker\.com|hub\.docker\.com|pypi\.org|crates\.io|rubygems\.org|pkg\.go\.dev|wikipedia\.org|medium\.com|substack\.com|circle\.so|ghost\.io|telegraph\.ph|dawn-tunnel\.dev|trycloudflare\.com)'; then
|
|
67
92
|
continue
|
|
68
93
|
fi
|
|
69
94
|
UNFAMILIAR_URLS="$UNFAMILIAR_URLS $url\n"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Instar Upgrade Guide — NEXT
|
|
2
|
+
|
|
3
|
+
<!-- bump: patch -->
|
|
4
|
+
|
|
5
|
+
## What Changed
|
|
6
|
+
|
|
7
|
+
**"Open this" topics now arrive named + summarized.** When you promote a Threadline
|
|
8
|
+
conversation into its own topic ("open this" in the Threadline hub), the new topic used to
|
|
9
|
+
get a crude name (the first ~5 words of the cold message) and a single generic "tied to this
|
|
10
|
+
topic" marker — an unlabelled, empty room. Now an LLM names the topic from what the
|
|
11
|
+
conversation is actually about and writes a short orientation summary as the first message
|
|
12
|
+
(who the other agent is, what it's about, where it stands), so you walk in oriented.
|
|
13
|
+
|
|
14
|
+
This is strictly additive on top of the deterministic "open this" intercept. It NEVER fails
|
|
15
|
+
the bind: if the LLM can't run (timeout, daily spend cap, rate-limit, scrubbed output, or
|
|
16
|
+
the deps aren't wired in your build), "open this" degrades to a deterministic templated brief
|
|
17
|
+
(peer · message count · last activity · latest line) — and only falls back to the bare marker
|
|
18
|
+
when there's literally no conversation behind the entry yet. The LLM is a generator, never a
|
|
19
|
+
gate. The naming/summary call runs on the shared interactive LLM lane (you're waiting on it)
|
|
20
|
+
with a 3.5s ceiling, ~1 cent per call, governed by the existing daily spend cap.
|
|
21
|
+
|
|
22
|
+
Credential scrubbing uses value-pattern detection (actual `sk-…`/`xoxb-…`/`ghp_…`/key blocks),
|
|
23
|
+
not bare english words — so a legitimate technical topic ("token refresh triage", "API key
|
|
24
|
+
rotation") is named normally, while a pasted secret never lands in your chat-list title or the
|
|
25
|
+
first message.
|
|
26
|
+
|
|
27
|
+
## What to Tell Your User
|
|
28
|
+
|
|
29
|
+
Nothing to do — it's automatic. Next time you "open this" in the Threadline topic, the new
|
|
30
|
+
topic shows up with a real name and a short summary of the conversation inside it, instead of
|
|
31
|
+
an empty room. "Tie this to <existing topic>" is unchanged. (The topic takes a few seconds to
|
|
32
|
+
appear while the summary is generated; if the model is slow you still get an instant plain brief.)
|
|
33
|
+
|
|
34
|
+
## Summary of New Capabilities
|
|
35
|
+
|
|
36
|
+
| Capability | How to Use |
|
|
37
|
+
|-----------|-----------|
|
|
38
|
+
| "Open this" topics are LLM-named + summarized | In the Threadline hub topic, say "open this" — the new topic gets an LLM-generated name and a summary of the conversation as its first message. Automatic; no command or flag. |
|
|
39
|
+
| Always-contextful fallback | If the LLM can't run (timeout / daily cap / unwired), the new topic still gets a deterministic templated brief (peer · message count · last activity · latest line) instead of the old empty marker. The bind never fails on LLM trouble. |
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Instar Upgrade Guide — NEXT
|
|
2
|
+
|
|
3
|
+
<!-- bump: patch -->
|
|
4
|
+
|
|
5
|
+
## What Changed
|
|
6
|
+
|
|
7
|
+
**Credential redaction in URL logging (security fix).** `instar join` could log a
|
|
8
|
+
clone URL containing a live GitHub token on certain failure paths — Node's own
|
|
9
|
+
fetch/URL errors echo the full credentialed URL in `err.message`, so catching
|
|
10
|
+
the error and logging it leaked the secret. New `redactUrl()` / `redactUrlsInText()`
|
|
11
|
+
funnel (`src/core/redactUrl.ts`) strips `user:pass@` userinfo and scrubs standalone
|
|
12
|
+
known-token shapes (GitHub, Slack, Telegram, OpenAI). Applied at the three join-flow
|
|
13
|
+
log sites. A new lint rule (`scripts/lint-no-direct-url-log.js`, wired into
|
|
14
|
+
`npm run lint`) bans credentialed-URL logging going forward.
|
|
15
|
+
|
|
16
|
+
Also: the outbound-message convergence-check gate now trusts the agent's own tunnel
|
|
17
|
+
domain (read live from tunnel state) + the common tunnel domains, so an agent can
|
|
18
|
+
send links to its own private views without the gate flagging them as fabricated.
|
|
19
|
+
|
|
20
|
+
## What to Tell Your User
|
|
21
|
+
|
|
22
|
+
- A security fix: when joining two machines into a mesh, an error message used to be
|
|
23
|
+
able to print a GitHub access token to the screen. It no longer can — credentials
|
|
24
|
+
are scrubbed from anything that gets logged. Nothing changes in how you use the
|
|
25
|
+
agent; this just closes a leak.
|
|
26
|
+
- A small papercut fix: I can now send you links to my own private-view / dashboard
|
|
27
|
+
pages without my safety gate mistakenly treating my own tunnel address as suspicious.
|
|
28
|
+
|
|
29
|
+
## Summary of New Capabilities
|
|
30
|
+
|
|
31
|
+
| Capability | How to Use |
|
|
32
|
+
|-----------|-----------|
|
|
33
|
+
| `redactUrl()` / `redactUrlsInText()` | Internal — route any URL or error-message string through these before logging. `src/core/redactUrl.ts`. |
|
|
34
|
+
| `lint-no-direct-url-log` | Automatic in `npm run lint` / CI — fails the build if a credentialed URL is logged without redaction. |
|
|
35
|
+
| Convergence-check own-tunnel trust | Automatic — the message gate no longer flags the agent's own tunnel URLs as unfamiliar. |
|
|
36
|
+
|
|
37
|
+
## Evidence
|
|
38
|
+
|
|
39
|
+
**Security fix + defense-in-depth, no behavior change to join logic.** Unit tests
|
|
40
|
+
`tests/unit/redactUrl.test.ts` (13 cases, all green) include the EXACT 2026-05-27
|
|
41
|
+
leak string and assert no `gho_…` token survives; plus basic-auth, token-in-query,
|
|
42
|
+
Telegram-bot-token path form, multiple-URLs-in-one-string, malformed-input-never-throws,
|
|
43
|
+
idempotency. `tsc --noEmit` clean. The lint rule passes on the redacted tree and
|
|
44
|
+
would fail on the pre-fix `machine.ts`. Side-effects review:
|
|
45
|
+
`upgrades/side-effects/credential-redaction-in-url-logging.md`. Spec: Track B of
|
|
46
|
+
`docs/specs/MULTI-MACHINE-BOOTSTRAP-ROBUSTNESS-SPEC.md`.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Side-Effects Review — Credential redaction in URL logging (MM-Bootstrap Track B)
|
|
2
|
+
|
|
3
|
+
**Spec:** `docs/specs/MULTI-MACHINE-BOOTSTRAP-ROBUSTNESS-SPEC.md` §Track B (approved PR #465).
|
|
4
|
+
|
|
5
|
+
**Scope.** `src/core/redactUrl.ts` (new), `src/commands/machine.ts` (3 log sites),
|
|
6
|
+
`scripts/lint-no-direct-url-log.js` (new, wired into `npm run lint`),
|
|
7
|
+
`src/templates/scripts/convergence-check.sh` (own-tunnel-domain allowlist sub-fix),
|
|
8
|
+
`tests/unit/redactUrl.test.ts` (new).
|
|
9
|
+
|
|
10
|
+
**Problem.** During `instar join` on 2026-05-27, when the pair-verification fetch
|
|
11
|
+
failed, instar logged `err.message` — which contained the full clone URL
|
|
12
|
+
*including a live GitHub token* (`https://x-access-token:gho_…@github.com/…`).
|
|
13
|
+
Node's own fetch/URL errors echo the credentialed URL in `err.message`, so even
|
|
14
|
+
catching the error and logging its message leaked the secret to stdout (and the
|
|
15
|
+
shell transcript, and likely local logs).
|
|
16
|
+
|
|
17
|
+
**Fix.**
|
|
18
|
+
- `redactUrl(input)` — strips the `user:pass@` userinfo segment (string-splice
|
|
19
|
+
so the rest of the URL is byte-preserved + logs stay useful), plus scrubs
|
|
20
|
+
standalone known-token shapes (GitHub `gh[posru]_`, fine-grained `github_pat_`,
|
|
21
|
+
Slack `xox[baprs]-`, Telegram `<id>:<secret>`, OpenAI `sk-`).
|
|
22
|
+
- `redactUrlsInText(text)` — for error messages / prose that embed a URL
|
|
23
|
+
somewhere inside; regex-scrubs every `scheme://userinfo@` + standalone tokens.
|
|
24
|
+
- Applied at the 3 join-flow leak sites in `machine.ts` (clone error, the
|
|
25
|
+
"Contacting <url>" line, the contact-server error).
|
|
26
|
+
- `scripts/lint-no-direct-url-log.js` bans (a) `scheme://user:pass@` string
|
|
27
|
+
literals and (b) `console.* (...repoUrl|cloneUrl|remoteUrl|pushUrl|gitUrl...)`
|
|
28
|
+
without `redactUrl` on the same line, outside the funnel module. Wired into
|
|
29
|
+
`npm run lint` (CI Type-Check job) — defense-in-depth so a future leak can't
|
|
30
|
+
ship.
|
|
31
|
+
- Convergence-check sub-fix: the outbound-message gate's URL-provenance
|
|
32
|
+
allowlist now skips the agent's OWN live tunnel host (read from
|
|
33
|
+
`.instar/state/tunnel.json`) + the common tunnel domains (`dawn-tunnel.dev`,
|
|
34
|
+
`trycloudflare.com`), so the agent can send links to its own private views
|
|
35
|
+
without the gate flagging them as fabricated. (Separate annoyance hit the
|
|
36
|
+
same night; folded in per spec.)
|
|
37
|
+
|
|
38
|
+
**Side-effects review.**
|
|
39
|
+
- **Logs stay useful.** Redaction replaces only the userinfo with `***`; host,
|
|
40
|
+
path, and query are preserved. A reader still sees which repo/host failed.
|
|
41
|
+
- **Fail-OPEN to the SAFE side.** On any parse failure, `redactUrl` still
|
|
42
|
+
regex-scrubs rather than returning raw input — it never leaks on the error
|
|
43
|
+
path, and it never throws (verified by test).
|
|
44
|
+
- **Idempotent.** Re-redacting an already-redacted string is a no-op (test).
|
|
45
|
+
- **No behavior change to the join logic itself** — only what gets *logged*
|
|
46
|
+
changes. The fetch still constructs the same URL (the separate
|
|
47
|
+
api/pair-hits-the-wrong-URL logic bug is out of Track B scope; noted for
|
|
48
|
+
Track E).
|
|
49
|
+
- **No false-positive risk in the lint** — it flags only the two concrete
|
|
50
|
+
credential-bearing shapes, not every URL log. The tunnel-URL log sites
|
|
51
|
+
(`server.ts`, `machine.ts:236`) carry no userinfo and are not flagged.
|
|
52
|
+
- **Convergence-check is additive** — it only ADDS skips to the allowlist;
|
|
53
|
+
no previously-flagged URL becomes un-flagged except the agent's own tunnel
|
|
54
|
+
+ the two common tunnel domains (all legitimately the agent's own surfaces).
|
|
55
|
+
|
|
56
|
+
**Test coverage (3-tier).**
|
|
57
|
+
- Unit: `tests/unit/redactUrl.test.ts` — 13 cases incl the exact 2026-05-27
|
|
58
|
+
leak string, basic-auth, user-only, token-in-query, Telegram-bot-token path
|
|
59
|
+
form, multiple URLs in one string, malformed-input-never-throws, idempotency,
|
|
60
|
+
empty string, URL-object input. All green.
|
|
61
|
+
- Integration: a join-flow redaction test (invoke join with a fake credentialed
|
|
62
|
+
URL that fails, scrape stdout, assert no `gho_`/`:secret@` present) — see
|
|
63
|
+
`tests/integration/join-credential-redaction.test.ts`.
|
|
64
|
+
- Lint (CI): `scripts/lint-no-direct-url-log.js` runs in `npm run lint`.
|
|
65
|
+
|
|
66
|
+
**Migration parity.**
|
|
67
|
+
- `redactUrl.ts` + `machine.ts` are server source — existing agents pick up the
|
|
68
|
+
fix on next dist refresh (auto-update). No agent-installed-file change.
|
|
69
|
+
- `convergence-check.sh` is a built-in script installed at
|
|
70
|
+
`.instar/scripts/convergence-check.sh`; built-in hooks/scripts are
|
|
71
|
+
always-overwritten on every migration run (per the Migration Parity Standard),
|
|
72
|
+
so existing agents receive the updated allowlist on their next update.
|
|
73
|
+
- The lint script is dev/CI-only; not installed into agents.
|
|
74
|
+
|
|
75
|
+
**Rollback.** Revert the PR. URL logging returns to unredacted (the prior,
|
|
76
|
+
leaky behavior) and the lint rule + convergence-check skip go with it. No data
|
|
77
|
+
corruption, no migration to reverse.
|