instar 1.3.2006 → 1.3.2008
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/config/bearerConfigWrite.d.ts +14 -0
- package/dist/config/bearerConfigWrite.d.ts.map +1 -1
- package/dist/config/bearerConfigWrite.js +58 -0
- package/dist/config/bearerConfigWrite.js.map +1 -1
- package/dist/data/standards-guard-index.json +1 -1
- package/dist/data/standards-guard-index.meta.json +2 -2
- package/dist/data/standards-registry.meta.json +1 -1
- package/dist/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
- package/dist/native/instar-desktop-host +0 -0
- package/dist/server/fileRoutes.d.ts +2 -0
- package/dist/server/fileRoutes.d.ts.map +1 -1
- package/dist/server/fileRoutes.js +21 -0
- package/dist/server/fileRoutes.js.map +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +15 -0
- package/dist/server/routes.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +46 -46
- package/src/data/standards-guard-index.json +1 -1
- package/src/data/standards-guard-index.meta.json +2 -2
- package/src/data/standards-registry.meta.json +1 -1
- package/upgrades/1.3.2007.md +24 -0
- package/upgrades/1.3.2008.md +32 -0
- package/upgrades/side-effects/sec151-config-origin-fence.md +38 -0
- package/upgrades/side-effects/sec174-file-editor-runpaths.md +43 -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-11-
|
|
5
|
-
"instarVersion": "1.3.
|
|
4
|
+
"generatedAt": "2026-11-24T17:29:49.797Z",
|
|
5
|
+
"instarVersion": "1.3.2008",
|
|
6
6
|
"entryCount": 210,
|
|
7
7
|
"entries": {
|
|
8
8
|
"hook:session-start": {
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"type": "route-group",
|
|
453
453
|
"domain": "monitoring",
|
|
454
454
|
"sourcePath": "src/server/routes.ts",
|
|
455
|
-
"contentHash": "
|
|
455
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
456
456
|
"since": "2025-01-01"
|
|
457
457
|
},
|
|
458
458
|
"route-group:agents": {
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
"type": "route-group",
|
|
461
461
|
"domain": "sessions",
|
|
462
462
|
"sourcePath": "src/server/routes.ts",
|
|
463
|
-
"contentHash": "
|
|
463
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
464
464
|
"since": "2025-01-01"
|
|
465
465
|
},
|
|
466
466
|
"route-group:backups": {
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
"type": "route-group",
|
|
469
469
|
"domain": "operations",
|
|
470
470
|
"sourcePath": "src/server/routes.ts",
|
|
471
|
-
"contentHash": "
|
|
471
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
472
472
|
"since": "2025-01-01"
|
|
473
473
|
},
|
|
474
474
|
"route-group:git": {
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
"type": "route-group",
|
|
477
477
|
"domain": "coordination",
|
|
478
478
|
"sourcePath": "src/server/routes.ts",
|
|
479
|
-
"contentHash": "
|
|
479
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
480
480
|
"since": "2025-01-01"
|
|
481
481
|
},
|
|
482
482
|
"route-group:memory": {
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
"type": "route-group",
|
|
485
485
|
"domain": "memory",
|
|
486
486
|
"sourcePath": "src/server/routes.ts",
|
|
487
|
-
"contentHash": "
|
|
487
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
488
488
|
"since": "2025-01-01"
|
|
489
489
|
},
|
|
490
490
|
"route-group:semantic": {
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
"type": "route-group",
|
|
493
493
|
"domain": "memory",
|
|
494
494
|
"sourcePath": "src/server/routes.ts",
|
|
495
|
-
"contentHash": "
|
|
495
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
496
496
|
"since": "2025-01-01"
|
|
497
497
|
},
|
|
498
498
|
"route-group:status": {
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
"type": "route-group",
|
|
501
501
|
"domain": "monitoring",
|
|
502
502
|
"sourcePath": "src/server/routes.ts",
|
|
503
|
-
"contentHash": "
|
|
503
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
504
504
|
"since": "2025-01-01"
|
|
505
505
|
},
|
|
506
506
|
"route-group:capabilities": {
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
"type": "route-group",
|
|
509
509
|
"domain": "mapping",
|
|
510
510
|
"sourcePath": "src/server/routes.ts",
|
|
511
|
-
"contentHash": "
|
|
511
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
512
512
|
"since": "2025-01-01"
|
|
513
513
|
},
|
|
514
514
|
"route-group:project-map": {
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
"type": "route-group",
|
|
517
517
|
"domain": "mapping",
|
|
518
518
|
"sourcePath": "src/server/routes.ts",
|
|
519
|
-
"contentHash": "
|
|
519
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
520
520
|
"since": "2025-01-01"
|
|
521
521
|
},
|
|
522
522
|
"route-group:coherence": {
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
"type": "route-group",
|
|
525
525
|
"domain": "coherence",
|
|
526
526
|
"sourcePath": "src/server/routes.ts",
|
|
527
|
-
"contentHash": "
|
|
527
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
528
528
|
"since": "2025-01-01"
|
|
529
529
|
},
|
|
530
530
|
"route-group:topic-bindings": {
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"type": "route-group",
|
|
533
533
|
"domain": "sessions",
|
|
534
534
|
"sourcePath": "src/server/routes.ts",
|
|
535
|
-
"contentHash": "
|
|
535
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
536
536
|
"since": "2025-01-01"
|
|
537
537
|
},
|
|
538
538
|
"route-group:context": {
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
"type": "route-group",
|
|
541
541
|
"domain": "context",
|
|
542
542
|
"sourcePath": "src/server/routes.ts",
|
|
543
|
-
"contentHash": "
|
|
543
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
544
544
|
"since": "2025-01-01"
|
|
545
545
|
},
|
|
546
546
|
"route-group:scope-coherence": {
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
"type": "route-group",
|
|
549
549
|
"domain": "coherence",
|
|
550
550
|
"sourcePath": "src/server/routes.ts",
|
|
551
|
-
"contentHash": "
|
|
551
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
552
552
|
"since": "2025-01-01"
|
|
553
553
|
},
|
|
554
554
|
"route-group:canonical-state": {
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
"type": "route-group",
|
|
557
557
|
"domain": "state",
|
|
558
558
|
"sourcePath": "src/server/routes.ts",
|
|
559
|
-
"contentHash": "
|
|
559
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
560
560
|
"since": "2025-01-01"
|
|
561
561
|
},
|
|
562
562
|
"route-group:ci": {
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
"type": "route-group",
|
|
565
565
|
"domain": "monitoring",
|
|
566
566
|
"sourcePath": "src/server/routes.ts",
|
|
567
|
-
"contentHash": "
|
|
567
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
568
568
|
"since": "2025-01-01"
|
|
569
569
|
},
|
|
570
570
|
"route-group:sessions": {
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
"type": "route-group",
|
|
573
573
|
"domain": "sessions",
|
|
574
574
|
"sourcePath": "src/server/routes.ts",
|
|
575
|
-
"contentHash": "
|
|
575
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
576
576
|
"since": "2025-01-01"
|
|
577
577
|
},
|
|
578
578
|
"route-group:jobs": {
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
"type": "route-group",
|
|
581
581
|
"domain": "scheduling",
|
|
582
582
|
"sourcePath": "src/server/routes.ts",
|
|
583
|
-
"contentHash": "
|
|
583
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
584
584
|
"since": "2025-01-01"
|
|
585
585
|
},
|
|
586
586
|
"route-group:skip-ledger": {
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
"type": "route-group",
|
|
589
589
|
"domain": "scheduling",
|
|
590
590
|
"sourcePath": "src/server/routes.ts",
|
|
591
|
-
"contentHash": "
|
|
591
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
592
592
|
"since": "2025-01-01"
|
|
593
593
|
},
|
|
594
594
|
"route-group:telegram": {
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
"type": "route-group",
|
|
597
597
|
"domain": "communication",
|
|
598
598
|
"sourcePath": "src/server/routes.ts",
|
|
599
|
-
"contentHash": "
|
|
599
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
600
600
|
"since": "2025-01-01"
|
|
601
601
|
},
|
|
602
602
|
"route-group:attention": {
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
"type": "route-group",
|
|
605
605
|
"domain": "communication",
|
|
606
606
|
"sourcePath": "src/server/routes.ts",
|
|
607
|
-
"contentHash": "
|
|
607
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
608
608
|
"since": "2025-01-01"
|
|
609
609
|
},
|
|
610
610
|
"route-group:relationships": {
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
"type": "route-group",
|
|
613
613
|
"domain": "relationships",
|
|
614
614
|
"sourcePath": "src/server/routes.ts",
|
|
615
|
-
"contentHash": "
|
|
615
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
616
616
|
"since": "2025-01-01"
|
|
617
617
|
},
|
|
618
618
|
"route-group:feedback": {
|
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
"type": "route-group",
|
|
621
621
|
"domain": "feedback",
|
|
622
622
|
"sourcePath": "src/server/routes.ts",
|
|
623
|
-
"contentHash": "
|
|
623
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
624
624
|
"since": "2025-01-01"
|
|
625
625
|
},
|
|
626
626
|
"route-group:updates": {
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
"type": "route-group",
|
|
629
629
|
"domain": "updates",
|
|
630
630
|
"sourcePath": "src/server/routes.ts",
|
|
631
|
-
"contentHash": "
|
|
631
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
632
632
|
"since": "2025-01-01"
|
|
633
633
|
},
|
|
634
634
|
"route-group:dispatches": {
|
|
@@ -636,7 +636,7 @@
|
|
|
636
636
|
"type": "route-group",
|
|
637
637
|
"domain": "dispatches",
|
|
638
638
|
"sourcePath": "src/server/routes.ts",
|
|
639
|
-
"contentHash": "
|
|
639
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
640
640
|
"since": "2025-01-01"
|
|
641
641
|
},
|
|
642
642
|
"route-group:quota": {
|
|
@@ -644,7 +644,7 @@
|
|
|
644
644
|
"type": "route-group",
|
|
645
645
|
"domain": "monitoring",
|
|
646
646
|
"sourcePath": "src/server/routes.ts",
|
|
647
|
-
"contentHash": "
|
|
647
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
648
648
|
"since": "2025-01-01"
|
|
649
649
|
},
|
|
650
650
|
"route-group:publishing": {
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
"type": "route-group",
|
|
653
653
|
"domain": "publishing",
|
|
654
654
|
"sourcePath": "src/server/routes.ts",
|
|
655
|
-
"contentHash": "
|
|
655
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
656
656
|
"since": "2025-01-01"
|
|
657
657
|
},
|
|
658
658
|
"route-group:private-views": {
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"type": "route-group",
|
|
661
661
|
"domain": "publishing",
|
|
662
662
|
"sourcePath": "src/server/routes.ts",
|
|
663
|
-
"contentHash": "
|
|
663
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
664
664
|
"since": "2025-01-01"
|
|
665
665
|
},
|
|
666
666
|
"route-group:tunnel": {
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
"type": "route-group",
|
|
669
669
|
"domain": "networking",
|
|
670
670
|
"sourcePath": "src/server/routes.ts",
|
|
671
|
-
"contentHash": "
|
|
671
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
672
672
|
"since": "2025-01-01"
|
|
673
673
|
},
|
|
674
674
|
"route-group:events": {
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
"type": "route-group",
|
|
677
677
|
"domain": "networking",
|
|
678
678
|
"sourcePath": "src/server/routes.ts",
|
|
679
|
-
"contentHash": "
|
|
679
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
680
680
|
"since": "2025-01-01"
|
|
681
681
|
},
|
|
682
682
|
"route-group:evolution": {
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
"type": "route-group",
|
|
685
685
|
"domain": "evolution",
|
|
686
686
|
"sourcePath": "src/server/routes.ts",
|
|
687
|
-
"contentHash": "
|
|
687
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
688
688
|
"since": "2025-01-01"
|
|
689
689
|
},
|
|
690
690
|
"route-group:watchdog": {
|
|
@@ -692,7 +692,7 @@
|
|
|
692
692
|
"type": "route-group",
|
|
693
693
|
"domain": "monitoring",
|
|
694
694
|
"sourcePath": "src/server/routes.ts",
|
|
695
|
-
"contentHash": "
|
|
695
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
696
696
|
"since": "2025-01-01"
|
|
697
697
|
},
|
|
698
698
|
"route-group:topic-memory": {
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
"type": "route-group",
|
|
701
701
|
"domain": "memory",
|
|
702
702
|
"sourcePath": "src/server/routes.ts",
|
|
703
|
-
"contentHash": "
|
|
703
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
704
704
|
"since": "2025-01-01"
|
|
705
705
|
},
|
|
706
706
|
"route-group:state-sync": {
|
|
@@ -708,7 +708,7 @@
|
|
|
708
708
|
"type": "route-group",
|
|
709
709
|
"domain": "coordination",
|
|
710
710
|
"sourcePath": "src/server/routes.ts",
|
|
711
|
-
"contentHash": "
|
|
711
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
712
712
|
"since": "2025-01-01"
|
|
713
713
|
},
|
|
714
714
|
"route-group:intent": {
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
"type": "route-group",
|
|
717
717
|
"domain": "intent",
|
|
718
718
|
"sourcePath": "src/server/routes.ts",
|
|
719
|
-
"contentHash": "
|
|
719
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
720
720
|
"since": "2025-01-01"
|
|
721
721
|
},
|
|
722
722
|
"route-group:triage": {
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
"type": "route-group",
|
|
725
725
|
"domain": "safety",
|
|
726
726
|
"sourcePath": "src/server/routes.ts",
|
|
727
|
-
"contentHash": "
|
|
727
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
728
728
|
"since": "2025-01-01"
|
|
729
729
|
},
|
|
730
730
|
"route-group:operations": {
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
"type": "route-group",
|
|
733
733
|
"domain": "safety",
|
|
734
734
|
"sourcePath": "src/server/routes.ts",
|
|
735
|
-
"contentHash": "
|
|
735
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
736
736
|
"since": "2025-01-01"
|
|
737
737
|
},
|
|
738
738
|
"route-group:sentinel": {
|
|
@@ -740,7 +740,7 @@
|
|
|
740
740
|
"type": "route-group",
|
|
741
741
|
"domain": "safety",
|
|
742
742
|
"sourcePath": "src/server/routes.ts",
|
|
743
|
-
"contentHash": "
|
|
743
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
744
744
|
"since": "2025-01-01"
|
|
745
745
|
},
|
|
746
746
|
"route-group:trust": {
|
|
@@ -748,7 +748,7 @@
|
|
|
748
748
|
"type": "route-group",
|
|
749
749
|
"domain": "safety",
|
|
750
750
|
"sourcePath": "src/server/routes.ts",
|
|
751
|
-
"contentHash": "
|
|
751
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
752
752
|
"since": "2025-01-01"
|
|
753
753
|
},
|
|
754
754
|
"route-group:monitoring": {
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
"type": "route-group",
|
|
757
757
|
"domain": "monitoring",
|
|
758
758
|
"sourcePath": "src/server/routes.ts",
|
|
759
|
-
"contentHash": "
|
|
759
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
760
760
|
"since": "2025-01-01"
|
|
761
761
|
},
|
|
762
762
|
"route-group:commitments": {
|
|
@@ -764,7 +764,7 @@
|
|
|
764
764
|
"type": "route-group",
|
|
765
765
|
"domain": "commitments",
|
|
766
766
|
"sourcePath": "src/server/routes.ts",
|
|
767
|
-
"contentHash": "
|
|
767
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
768
768
|
"since": "2025-01-01"
|
|
769
769
|
},
|
|
770
770
|
"route-group:episodes": {
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
"type": "route-group",
|
|
773
773
|
"domain": "memory",
|
|
774
774
|
"sourcePath": "src/server/routes.ts",
|
|
775
|
-
"contentHash": "
|
|
775
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
776
776
|
"since": "2025-01-01"
|
|
777
777
|
},
|
|
778
778
|
"route-group:messages": {
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
"type": "route-group",
|
|
781
781
|
"domain": "coordination",
|
|
782
782
|
"sourcePath": "src/server/routes.ts",
|
|
783
|
-
"contentHash": "
|
|
783
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
784
784
|
"since": "2025-01-01"
|
|
785
785
|
},
|
|
786
786
|
"route-group:system-reviews": {
|
|
@@ -788,7 +788,7 @@
|
|
|
788
788
|
"type": "route-group",
|
|
789
789
|
"domain": "monitoring",
|
|
790
790
|
"sourcePath": "src/server/routes.ts",
|
|
791
|
-
"contentHash": "
|
|
791
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
792
792
|
"since": "2025-01-01"
|
|
793
793
|
},
|
|
794
794
|
"route-group:machine-mesh": {
|
|
@@ -804,7 +804,7 @@
|
|
|
804
804
|
"type": "route-group",
|
|
805
805
|
"domain": "security",
|
|
806
806
|
"sourcePath": "src/server/routes.ts",
|
|
807
|
-
"contentHash": "
|
|
807
|
+
"contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
|
|
808
808
|
"since": "2025-01-01"
|
|
809
809
|
},
|
|
810
810
|
"cli:init": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"generatedFrom": "source-tree",
|
|
4
4
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
5
|
-
"packageVersion": "1.3.
|
|
5
|
+
"packageVersion": "1.3.2008",
|
|
6
6
|
"guards": [
|
|
7
7
|
{
|
|
8
8
|
"ref": "docs/audits/phase-b/f10-triage.md",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sha256": "
|
|
2
|
+
"sha256": "160d28111ca0233d41bb03cf6457b34f348aed893e3303983775d3c48b357c0b",
|
|
3
3
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
4
|
-
"packageVersion": "1.3.
|
|
4
|
+
"packageVersion": "1.3.2008"
|
|
5
5
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: patch -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
SEC-174, a file editor fence gap. The dashboard file editor (`POST /api/files/save`) now also refuses to save anything under `.worktrees/`, the boot wrapper `.instar/instar-boot.*` in every extension, and any file named `package.json` or `.npmrc` at any depth (matched on the file name, any case). These files run without an execute bit, so the execute-bit check does not catch them. On Windows, which has no execute bit, the boot wrapper is covered only by this change. SEC-178 is folded in: the editor also refuses to save anything under `.instar/backups/`. A restore copies a snapshot's files back over the live ones, fenced ones such as `.instar/jobs.json` included, so an edited snapshot copy reached a fenced file at the next restore. Viewing every one of these files is unchanged, and the reader shows them as not editable.
|
|
9
|
+
|
|
10
|
+
## What to Tell Your User
|
|
11
|
+
|
|
12
|
+
- **Editor fence**: "The file editor on your dashboard still opens everything, but it no longer saves the agent's development copies, its start-up file, package manager settings, or its saved backups."
|
|
13
|
+
|
|
14
|
+
## Summary of New Capabilities
|
|
15
|
+
|
|
16
|
+
| Capability | How to Use |
|
|
17
|
+
|-----------|-----------|
|
|
18
|
+
| The editor refuses development checkouts, the boot wrapper, package manager files and backup snapshots | Automatic |
|
|
19
|
+
|
|
20
|
+
## Evidence
|
|
21
|
+
|
|
22
|
+
- `tests/unit/sec174-file-editor-runpaths.test.ts`: through the real save route, a script and a source file in a development checkout, the boot wrapper in two extensions, and `package.json` and `.npmrc` at the root and nested are each refused and left unchanged. The files are written without an execute bit. Case and separator variants are covered, look-alike names such as `package-lock.json` stay editable, and the reader marks a fenced file not editable.
|
|
23
|
+
- `tests/e2e/file-viewer-e2e.test.ts`: a `package.json` inside an editable folder is refused on the real routes.
|
|
24
|
+
- `tests/unit/sec178-file-editor-backups-fence.test.ts`: through the real save route and the real BackupManager, a snapshot's copy of the jobs list is refused and left unchanged, and a restore then leaves the live jobs list as it was. A skill script copy inside a snapshot is refused, case variants are covered, a snapshot stays viewable as not editable, and look-alike names stay editable. Three of its four cases fail without the fix.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: patch -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
SEC-145. `PATCH /config` refuses a few `sessions.*` keys because they choose which executable a session spawns (`OPERATOR_ONLY_SESSION_KEYS`: `frameworkBinaryPaths`, `claudePath`, `grokInteractiveSessions`). Keys of the same authority were missing: `sessions.tmuxPath` (the binary the server runs for every session), `sessions.anthropicBaseUrl`, `sessions.anthropicApiKey` and `sessions.credentials` (where every Claude session's conversation and tool calls go, and whose account pays), and `sessions.retainedClaudeBinary` (the directory the retained Claude binary runs from). They are now in the same list, so the API refuses them and they are set only in `.instar/config.json`. The commitment tracker's bearer write guard uses the same list, so it is covered too. No code path writes these keys through the API today.
|
|
9
|
+
|
|
10
|
+
SEC-151. `PATCH /config` and the bearer single-path writer now refuse a shared table of operator-only paths: the named tunnel's token, config file, hostname and relay providers; the threadline relay addresses; the agent-network trust switches (encryption to pinned peers, downgrade refusal, unknown-sender and local-route trust, first-contact policy, the warm-session trust floor); the pipe-mode limits for peer-started sessions; the default framework, component framework routing, enabled frameworks, per-framework default models and nature routing; and the feedback address and file. A body naming a second-level key that holds one of them is refused too, because that route replaces second-level keys whole. The tunnel, relay, feedback and dispatch on/off switches are unchanged.
|
|
11
|
+
|
|
12
|
+
## What to Tell Your User
|
|
13
|
+
|
|
14
|
+
- **Safer settings**: "The settings my own tools can change no longer include the ones that decide which programs I run or where my conversations go. Those now change only in the settings file on your computer."
|
|
15
|
+
|
|
16
|
+
- **Public address locked to the settings file**: "The settings interface my tools can use can no longer move my public address or my relay, switch off my checks on other agents, change which AI framework runs, or send my feedback elsewhere. Those now change only in my settings file on this computer."
|
|
17
|
+
|
|
18
|
+
## Summary of New Capabilities
|
|
19
|
+
|
|
20
|
+
| Capability | How to Use |
|
|
21
|
+
|-----------|-----------|
|
|
22
|
+
| Session binary and endpoint settings are file-only | Automatic |
|
|
23
|
+
|
|
24
|
+
| Capability | How to Use |
|
|
25
|
+
|-----------|-----------|
|
|
26
|
+
| Tunnel identity, relay addresses, agent-network trust, peer-session limits, framework routing and the feedback address fenced from the settings API | Automatic; set them in `.instar/config.json` |
|
|
27
|
+
|
|
28
|
+
## Evidence
|
|
29
|
+
|
|
30
|
+
- `tests/unit/bearer-config-write.test.ts`: new case naming each added key, refused at its own path and inside a `sessions` object; an ordinary session setting stays patchable. The existing loop over the whole list covers them too.
|
|
31
|
+
|
|
32
|
+
- `tests/unit/sec151-config-origin-fence.test.ts`: every fenced path is refused for both writers, a whole-subtree replacement is caught, and the feature switches still pass.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Side effects: the settings API cannot change the public address, the relay addresses, the agent-network trust switches, what a peer-started session may touch, which framework runs, or where feedback goes (SEC-151)
|
|
2
|
+
|
|
3
|
+
In plain words: the settings API, and the bearer writer that holds the same rules, could change the named tunnel's token, config file and hostname, so one API call could point the agent's public address at another tunnel account. The same calls could change where agent-to-agent traffic goes, switch off the agent-network trust checks, widen what a session started by a peer may touch, change which framework runs, and send feedback to another host. Those settings now come only from the config file.
|
|
4
|
+
|
|
5
|
+
Tier 1. Size: 2 source files (`src/config/bearerConfigWrite.ts`, `src/server/routes.ts`), 1 new test file. It is stacked on the SEC-145 branch, which fences the session-binary and Anthropic-connection keys the same way.
|
|
6
|
+
|
|
7
|
+
## What changes for running agents
|
|
8
|
+
- One shared table, `OPERATOR_ONLY_CONFIG_PATHS`, holds the fenced paths:
|
|
9
|
+
- `tunnel.token`, `tunnel.configFile`, `tunnel.hostname` and `tunnel.relayProviders`
|
|
10
|
+
- `threadline.relayUrl` and `threadline.listener.relayUrl`
|
|
11
|
+
- `threadline.listener.pipeMode.allowedTools`, `allowedPaths`, `minIqsBand` and `model`
|
|
12
|
+
- the agent-network trust settings `threadline.encryptToPinned`, `refuseDowngrade`, `relayUnknownSenderTrust`, `localRouteTrust`, `firstContactPolicy` and `warmSessionA2A.trustFloor`. These are read live, so a change took effect with no restart.
|
|
13
|
+
- `sessions.framework` (the agent-wide default, which has the highest precedence), `sessions.componentFrameworks`, `sessions.enabledFrameworks`, `sessions.frameworkDefaultModels` and `sessions.natureRouting`
|
|
14
|
+
- `feedback.webhookUrl` and `feedback.feedbackFile`
|
|
15
|
+
- `PATCH /config` refuses with a 400 (`fenced: [...]`) any body that would change a fenced path. The route merges one level deep, so a body naming a second-level key replaces that whole subtree. A body with `threadline.listener` or `threadline.warmSessionA2A` is refused for that reason, as is a non-object top-level value. The single-path writer still allows `threadline.warmSessionA2A.enabled`.
|
|
16
|
+
- `bearerConfigWriteRefusal` refuses a single-path write at a fenced path, at an ancestor that would replace it, or beneath it, matching whole path segments.
|
|
17
|
+
- Unchanged: the feature switches (`tunnel.enabled`, `threadline.relayEnabled`, `feedback.enabled`, `dispatches.enabled`) and every other setting. The maturation ladder writes its `enabled` switches through the live config directly, not through these routes, so it is unaffected. The framework-enable route, which has its own confirmation, still sets `enabledFrameworks`.
|
|
18
|
+
- No caller in `src` or the dashboard writes a fenced path through these routes.
|
|
19
|
+
|
|
20
|
+
## Review
|
|
21
|
+
An independent reviewer read the diff and the code paths behind it. It found no bypass and nothing broken: arrays, nulls, prototype keys and empty path segments are all refused, and the other config-writing routes cannot reach a fenced path. It raised one blocking gap, the agent-wide default framework `sessions.framework`, and several settings of the same kind: the agent-network trust switches, the feedback address and file, the pipe-mode band and model, the per-framework default models and the nature-routing chains. All are added here. `dispatches.dispatchFile` is fenced by the SEC-153 change. `tunnel.type` is left open, since switching it changes availability only, not where traffic goes. On a second pass over the additions the reviewer concurred. It noted that the maturation ladder can still flip the `enabled` switches of the trust settings and nature routing through its direct write, by design, and that a config-change commitment on a fenced path is now refused safely (nothing is written; the drift is still reported).
|
|
22
|
+
|
|
23
|
+
## Signal vs authority
|
|
24
|
+
It only removes a way in. The operator still sets every one of these in the config file.
|
|
25
|
+
|
|
26
|
+
## Rollback
|
|
27
|
+
Revert the commit. No state is written.
|
|
28
|
+
|
|
29
|
+
## Not in this change
|
|
30
|
+
A true allowlist, naming every setting the API may change instead of listing the forbidden ones, needs an inventory of what the dashboard and the feature switches write. It follows as a separate design note to the Chief of Staff.
|
|
31
|
+
|
|
32
|
+
## Tests
|
|
33
|
+
- `tests/unit/sec151-config-origin-fence.test.ts` (new, 7 cases):
|
|
34
|
+
- Each fenced path is named for a PATCH body, and a second-level replacement covers every fenced path below it.
|
|
35
|
+
- The feature switches and ordinary settings pass.
|
|
36
|
+
- The bearer writer refuses fenced paths, their ancestors and their descendants, allows the switches beside them, and matches whole segments.
|
|
37
|
+
- A wiring check shows `PATCH /config` runs the table.
|
|
38
|
+
- Also pass: `bearer-config-write`, `feature-enableaction-validity`, `feature-action-applier`, `org-action-check`, `grok-build-round17-security`, `Config`. Integration and end-to-end runs are left to Local Verify.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Side effects: file editor fence gap, run paths (SEC-174)
|
|
2
|
+
|
|
3
|
+
In plain words: the dashboard file editor no longer saves files a program runs that carry no execute bit: anything in a development checkout under `.worktrees/`, the boot wrapper `.instar/instar-boot.*`, and `package.json` or `.npmrc` at any depth. Viewing is unchanged.
|
|
4
|
+
|
|
5
|
+
Tier 1 by size, security-sensitive: an independent second-pass review is attached below. Size: `src/server/fileRoutes.ts` (two list entries, a name list, a new exported `hasNeverEditableName`, one line in `isNeverEditable`), 1 new unit test file, and one end-to-end case.
|
|
6
|
+
|
|
7
|
+
## What changes for running agents
|
|
8
|
+
- **Never-editable list.** `.worktrees/` and the prefix `.instar/instar-boot.` join the list. The existing case folding, separator folding and nested-root matching apply.
|
|
9
|
+
- **Names at any depth.** `package.json` and `.npmrc` are matched on the last path segment, in any case. Look-alikes stay editable: `package-lock.json`, `my-package.json`, `.npmrc.example`, and a folder named `package.json`.
|
|
10
|
+
- **Every chokepoint.** The save route, the read route's `editable` flag, the link route and the `editablePaths` config check all use `isNeverEditable`. Save and read check the resolved path too, so a link under another name is refused.
|
|
11
|
+
- **Who notices.** An owner who edited a manifest, a package manager setting or a development checkout from the dashboard. None of these was a supported use, and all still open read-only. Docs and notes inside `.worktrees/` also become read-only, which was accepted when the fence was approved.
|
|
12
|
+
- **Deliberately not fenced.** Tool config files (for example `vitest.config.*`) and instruction files, which are editable on purpose.
|
|
13
|
+
|
|
14
|
+
## Signal vs authority
|
|
15
|
+
Not applicable as a new judgment: this extends a deterministic deny list that is an invariant by design ("a dashboard credential must never yield arbitrary code execution").
|
|
16
|
+
|
|
17
|
+
## Second-pass review
|
|
18
|
+
**Reviewer:** independent Claude Sonnet subagent (fresh context, read-only, given the finding and the diff), 2026-11-22. Verdict: CONCUR, no blocking items. It confirmed:
|
|
19
|
+
- every chokepoint consults the predicate;
|
|
20
|
+
- case, backslash, `./`, trailing-slash and symlink spellings are refused, and a `.worktrees` linked outside the project is refused by path validation;
|
|
21
|
+
- the boot wrapper's real names in the source (`.cjs`, `.js`, `.sh`) are all covered by the prefix;
|
|
22
|
+
- look-alikes stay editable;
|
|
23
|
+
- the tests fail on the previous commit.
|
|
24
|
+
|
|
25
|
+
It suggested a link-alias test, which was added. It also noted that the link route has no dedicated test, but it shares the same predicate.
|
|
26
|
+
|
|
27
|
+
## SEC-178 folded in (backup snapshots)
|
|
28
|
+
- Change: `.instar/backups/` joins NEVER_EDITABLE_PREFIXES. BackupManager keeps its snapshots at `<stateDir>/backups`, and a restore copies every manifest file back to `<stateDir>/<file>`, fenced ones such as `jobs.json` included. The manifest hash covers only the file list and total size, so editing a snapshot copy needed no manifest change.
|
|
29
|
+
- Over-block: none expected. Nobody edits a snapshot from the phone; snapshots stay viewable and restorable. The nested match also fences a `.instar/backups/` inside a worktree copy, which is fine.
|
|
30
|
+
- Under-block: an agent whose stateDir is not `.instar` keeps its snapshots elsewhere; the default layout is `.instar`. Not done here, and recorded on the ledger for a later pass: keying the manifest hash over file contents, and the sibling copy paths (skill rendering from `.instar/skills/`, git-sync pull, job fork). Skipping fenced destinations at restore was declined because restoring the jobs list is the point of a restore.
|
|
31
|
+
- Review: an independent Sonnet reviewer CONCURRED with no blocking items. It confirmed save is the only write route and checks both the requested and resolved path, PATCH /api/files/config also consults the fence, and case, dot-segment, separator, link and nested variants are covered. Its non-blocking suggestions (derive the prefix from a non-default stateDir; key the manifest hash over contents) are recorded above as not done here.
|
|
32
|
+
|
|
33
|
+
## Rollback
|
|
34
|
+
Revert the commit. No stored state changes.
|
|
35
|
+
|
|
36
|
+
## Tests
|
|
37
|
+
- `tests/unit/sec174-file-editor-runpaths.test.ts` (new) through the real save and read routes, with files written without an execute bit.
|
|
38
|
+
- `tests/e2e/file-viewer-e2e.test.ts`: a `package.json` inside an editable folder is refused. Not run by hand on the M5 (standing rule); Local Verify runs it.
|
|
39
|
+
- `tests/unit/sec178-file-editor-backups-fence.test.ts` (new) through the real save route and the real BackupManager restore. Three of four cases fail without the fence.
|
|
40
|
+
- Existing fence and editor tests pass unchanged: `sec173-file-editor-git-fence`, `file-editor-never-editable-bypasses`, `console-files`, `file-routes-never-served-key-material`.
|
|
41
|
+
|
|
42
|
+
## Class-Closure Declaration
|
|
43
|
+
- `unbounded-self-action`: closure n/a. No loop or spawn added.
|