instar 1.3.1985 → 1.3.1987
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/core/SecretStore.d.ts +4 -0
- package/dist/core/SecretStore.d.ts.map +1 -1
- package/dist/core/SecretStore.js +14 -0
- package/dist/core/SecretStore.js.map +1 -1
- package/dist/core/trustJourney/AccountPathService.d.ts +14 -0
- package/dist/core/trustJourney/AccountPathService.d.ts.map +1 -1
- package/dist/core/trustJourney/AccountPathService.js +50 -4
- package/dist/core/trustJourney/AccountPathService.js.map +1 -1
- package/dist/core/trustJourney/TrustJourneyStore.d.ts.map +1 -1
- package/dist/core/trustJourney/TrustJourneyStore.js +9 -0
- package/dist/core/trustJourney/TrustJourneyStore.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 +7 -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 +9 -5
- 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.1986.md +22 -0
- package/upgrades/1.3.1987.md +31 -0
- package/upgrades/side-effects/sec173-file-editor-fence.md +28 -0
- package/upgrades/side-effects/secret-drop-consume-persistence.md +77 -0
- package/upgrades/side-effects/trust-summary-derived.md +33 -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-23T15:54:20.862Z",
|
|
5
|
+
"instarVersion": "1.3.1987",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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": "1a7e87340e540f35e827ca4972931f7ce9374daec828232b9d7c9f13ca68b018",
|
|
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.1987",
|
|
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": "d4f3e153bc690ca3de2639b786a3b4adc49c5c26f608aabe7046ab90b7dfcbf0",
|
|
3
3
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
4
|
-
"packageVersion": "1.3.
|
|
4
|
+
"packageVersion": "1.3.1987"
|
|
5
5
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: patch -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
SEC-173, a file editor fence gap. The dashboard file editor (`POST /api/files/save`) keeps a never-editable list of paths whose contents decide what the agent runs. The list now also covers the repository's own `.git/` folder (including a worktree's `.git` pointer file and nested copies) and `.gitmodules`. Separately, the editor now refuses to save any file that has an execute bit, wherever it sits, and the reader shows such files as not editable. Viewing every one of these files is unchanged. On Windows, which has no execute bit, only the list applies.
|
|
9
|
+
|
|
10
|
+
## What to Tell Your User
|
|
11
|
+
|
|
12
|
+
- **Editor fence**: "The file editor on your dashboard can still open everything it could before, but it no longer saves changes to the agent's git folder or to script files."
|
|
13
|
+
|
|
14
|
+
## Summary of New Capabilities
|
|
15
|
+
|
|
16
|
+
| Capability | How to Use |
|
|
17
|
+
|-----------|-----------|
|
|
18
|
+
| The editor refuses git internals and script files | Automatic |
|
|
19
|
+
|
|
20
|
+
## Evidence
|
|
21
|
+
|
|
22
|
+
- `tests/unit/sec173-file-editor-git-fence.test.ts`: through the real save route and a real repository, a save into the git folder is refused and the file is unchanged; case variants, a worktree pointer file, nested copies and `.gitmodules` are covered while `.github/`, `.gitignore` and `.gitattributes` stay editable; a script and a symlink to a script are refused and the reader marks them not editable; an ordinary file still saves.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: patch -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
Consuming a submitted secret now removes its existing encrypted copy even if Secret Drop persistence was switched off after submission. Storage failures keep the submission retryable; a submission that was never stored does not create a vault or key during consumption.
|
|
9
|
+
|
|
10
|
+
SEC-141. A trust-raise request stores both the change and a `summary` written once by `summarize(change)`. The approval list (`deviceListing`), the phone approval (`onPresenceApproval`) and the chat approval showed or confirmed that stored text, and the replicated store accepted it as-is, so a forged request could pair a harmless summary with a dangerous change and a matching hash. `AccountPathService` now rebuilds the text from the change wherever a person reads it (`verified`): the chat card, including a deferred card re-sent from the stored record, the app listing, the agent-facing `GET /trust/requests`, and the "Done" replies. A request whose change does not hash to its recorded `proposalHash`, or that has no change (records from before changes were stored), is treated as altered: not listed, no card, not approvable (`request-altered`). `TrustJourneyStore` now fixes a request's change and hash by the first record seen for it; a later record may only add the card ids, and only under the same hash, so it cannot swap what a card the owner already saw would approve.
|
|
11
|
+
|
|
12
|
+
## What to Tell Your User
|
|
13
|
+
|
|
14
|
+
A secret that has been used and cleared will no longer reappear after secure storage is switched back on and the agent restarts. You do not need to change any settings.
|
|
15
|
+
|
|
16
|
+
- **Approvals match the change**: "When I ask you to approve more freedom, the description you see is now always rebuilt from the actual change, so it can't say one thing while the change does another."
|
|
17
|
+
|
|
18
|
+
## Summary of New Capabilities
|
|
19
|
+
|
|
20
|
+
None. This repairs the existing behavior for clearing a consumed secret.
|
|
21
|
+
|
|
22
|
+
| Capability | How to Use |
|
|
23
|
+
|-----------|-----------|
|
|
24
|
+
| Trust approval text derived from the change; altered requests refused | Automatic |
|
|
25
|
+
|
|
26
|
+
## Evidence
|
|
27
|
+
|
|
28
|
+
Five storage unit tests, thirteen HTTP route tests and three production-server lifecycle tests passed. The policy-toggle restart regression failed before the repair and passed afterward. Build, TypeScript and all 55 commit lints passed. Independent source/test/side-effects review concurred; full verification remains pending through the shared verifier. Review: `upgrades/side-effects/secret-drop-consume-persistence.md`.
|
|
29
|
+
|
|
30
|
+
- `tests/unit/trust-journey-device-approval.test.ts` (2 new): a forged request (harmless summary and hash, dangerous change) is neither listed nor approved; a request whose stored summary differs from its change shows and confirms the derived text.
|
|
31
|
+
- `tests/unit/trust-journey-account-path-service.test.ts` (2 new): a deferred chat card is built from the change, not the stored summary; a later record naming the real card cannot replace the request's change (the original change is applied). All four fail on main.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Side effects: file editor fence gap (SEC-173)
|
|
2
|
+
|
|
3
|
+
In plain words: the dashboard file editor's never-editable list now also covers the repository's own git folder and `.gitmodules`, and the editor refuses to save any file with an execute bit. 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 new exported `isExecutableFile`, one check in the save route, one term in the read route's `editable` flag) and 1 new unit test file.
|
|
6
|
+
|
|
7
|
+
## What changes for running agents
|
|
8
|
+
- **Never-editable list.** `.git/` and `.gitmodules` join the list. The existing case folding, separator folding and nested-root matching apply, so a worktree's `.git` pointer file and `.worktrees/<n>/.git/...` are covered, and a symlink into the git folder is refused through the resolved-path check. `.github/`, `.gitignore` and `.gitattributes` stay editable.
|
|
9
|
+
- **Execute bit.** `POST /api/files/save` returns 403 "Scripts cannot be edited from the file editor" when the resolved target has any execute bit, and `GET /api/files/read` reports `editable: false` for it. The editor cannot create links or change modes, and a newly created file is written without an execute bit. No-op on Windows.
|
|
10
|
+
- **Who notices.** An owner who edited a script or a git file from the dashboard. Neither was a supported use; both still open read-only.
|
|
11
|
+
- **Known residue (pre-existing, out of scope).** Files without an execute bit that a program interprets (for example `package.json` scripts or a `.js` file run by `node`) remain editable, as do instruction files, which are editable on purpose.
|
|
12
|
+
|
|
13
|
+
## Signal vs authority
|
|
14
|
+
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").
|
|
15
|
+
|
|
16
|
+
## Second-pass review
|
|
17
|
+
**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 every spelling of the git folder is refused (case, `./`, trailing slash, backslash, symlink via the resolved path, worktree pointer file, nested copies), that save is the only write route and the config PATCH cannot widen the fence, that the ENOENT create fallback is unreachable before the fence, that the execute-bit check follows symlinks and new files cannot be executable, and that the tests fail on the old code. Non-blocking notes: interpreted files without an execute bit remain the open class (recorded above), and the save route could open and fstat the descriptor before writing, as the read route does.
|
|
18
|
+
|
|
19
|
+
## Rollback
|
|
20
|
+
Revert the commit. No stored state changes.
|
|
21
|
+
|
|
22
|
+
## Tests
|
|
23
|
+
- `tests/unit/sec173-file-editor-git-fence.test.ts` (new, 7 cases) through the real routes and a real `git init` repository.
|
|
24
|
+
- `tests/e2e/file-viewer-e2e.test.ts` gains two cases on the real routes: a git folder inside an editable path is refused and unchanged; a script in an editable path reads as not editable and its save is refused. Not run by hand on the M5 (standing rule); Local Verify runs it.
|
|
25
|
+
- Existing fence and editor tests pass unchanged: `file-editor-never-editable-bypasses`, `console-files`, `grok-build-round17-security`, `file-routes-never-served-key-material`.
|
|
26
|
+
|
|
27
|
+
## Class-Closure Declaration
|
|
28
|
+
- `unbounded-self-action`: closure n/a. No loop or spawn added.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Side-Effects Review — Secret Drop Consume After Persistence Opt-Out
|
|
2
|
+
|
|
3
|
+
**Slug:** secret-drop-consume-persistence
|
|
4
|
+
**Date:** 2026-11-22
|
|
5
|
+
**Author:** Instar Agent (echo)
|
|
6
|
+
**Second-pass reviewer:** /root — independent source, tests and artifact review concurred
|
|
7
|
+
|
|
8
|
+
## Summary
|
|
9
|
+
|
|
10
|
+
Repair the approved Secret Drop store-first invariant: successful consume cleans both memory and an existing encrypted copy. The current persistDrops flag still controls new writes and fallback reads; it no longer exempts cleanup of an earlier stored copy. SecretStore.deleteIfStoreExists skips only actual ENOENT and avoids generating storage or keys for a never-persisted submission. Existing corrupt/unreadable/write failures propagate into the route's existing503 response before memory consumption. Browser passwords remain on their established never-stored path.
|
|
11
|
+
|
|
12
|
+
Authorization: Chief handoff d2cef5cc-5f53-4f73-b0c3-89f0a2af2857. Governing approved/converged spec: docs/specs/secret-drop-store-first.md, consume-cleans-both. This is separate from the stopped native Secret Drop/owner-decision feature designs. No new native target, tombstone, approval or context registry.
|
|
13
|
+
|
|
14
|
+
## Decision-point inventory
|
|
15
|
+
|
|
16
|
+
- Existing consume cleanup — modified: current write-policy opt-out no longer bypasses deletion of prior stored data.
|
|
17
|
+
- Stored-file absence — factual ENOENT bypass only; permission, malformed storage and write errors refuse through the existing route.
|
|
18
|
+
- Existing explicit consume query, bearer access, browser exception and fallback read policy — passed through unchanged.
|
|
19
|
+
|
|
20
|
+
## 1. Over-block
|
|
21
|
+
|
|
22
|
+
With persistence off, a corrupt/unreadable existing vault now refuses non-browser consumption because the route cannot establish that its stored copy was deleted. Memory remains retrievable and retryable. This is required by the approved consume-cleans-both invariant. Absent storage succeeds without a new vault/key. No message-content filtering.
|
|
23
|
+
|
|
24
|
+
## 2. Under-block
|
|
25
|
+
|
|
26
|
+
No new uncertainty is silently treated as deletion success. This repair retains the existing SecretStore atomic replacement semantics; it does not add a power-loss durability barrier or a new discard transaction. Three capped native feature lanes remain stopped under topic144636; this repair does not claim to implement them. No additional issue identified within the narrow policy-toggle defect.
|
|
27
|
+
|
|
28
|
+
## 3. Level-of-abstraction fit
|
|
29
|
+
|
|
30
|
+
SecretStore owns its configured storage path and distinguishes absent storage from actual errors. The existing retrieval route owns consume-before-memory order and its established503 error. No duplicated hard-coded vault path or parallel approval authority.
|
|
31
|
+
|
|
32
|
+
## 4. Signal vs authority compliance
|
|
33
|
+
|
|
34
|
+
Reference: [Signal vs Authority](../../docs/signal-vs-authority.md). No heuristic authority is introduced. Successful explicit consume requires factual removal/absence of an existing copy under the approved deterministic one-time retrieval contract; the new method does not inspect message meaning or choose an owner.
|
|
35
|
+
|
|
36
|
+
## 4b. Judgment-point check
|
|
37
|
+
|
|
38
|
+
No new static heuristic at a competing-signals decision point. Storage success, ENOENT and thrown errors are enumerable filesystem outcomes.
|
|
39
|
+
|
|
40
|
+
## 5. Interactions
|
|
41
|
+
|
|
42
|
+
Cleanup remains synchronous from peek through delete and memory consume. Existing delete exceptions refuse503 and preserve retry. persistDrops=false continues preventing new durable writes and fallback reads. Browser passwords still never touch the vault. Unrelated encrypted credentials survive selected-key deletion. No session/dispatch/controller changes.
|
|
43
|
+
|
|
44
|
+
## 6. External surfaces
|
|
45
|
+
|
|
46
|
+
The existing route now refuses a consume whose prior stored copy cannot be deleted even after persistence was disabled. The response remains the same503 wording without bearer token or secret values. No new API, permission, device path or agent-facing feature; existing awareness already teaches explicit consume and secure storage.
|
|
47
|
+
|
|
48
|
+
## 6b. Operator-surface quality
|
|
49
|
+
|
|
50
|
+
No new operator surface. Existing503 wording says the stored copy could not be removed, nothing was consumed and the caller can retry. The successful consume response and existing caller retry behavior are unchanged. No UI redesign, new choice, unexplained label or approval prompt.
|
|
51
|
+
|
|
52
|
+
## 7. Multi-machine posture
|
|
53
|
+
|
|
54
|
+
Machine-local BY DESIGN: Secret Drop values and their encrypted storage stay on the receiving machine. This repair deletes only the serving machine's existing local copy; it creates no synchronization, remote forwarding, URLs or notifications. No status/health/capabilities/channels surface changes.
|
|
55
|
+
|
|
56
|
+
## 8. Rollback cost
|
|
57
|
+
|
|
58
|
+
Revert the two source changes in a patch. No schema, config default, installed file or migration. Reverting restores the defect for future policy-toggle consumes; already consumed copies are intentionally unrecoverable. No live state manipulation occurs in this work.
|
|
59
|
+
|
|
60
|
+
## Conclusion
|
|
61
|
+
|
|
62
|
+
The targeted regression failed before the repair: after persistence was disabled, consume succeeded but restart recovered the supposedly consumed value. Focused unit5, route13 and real AgentServer lifecycle3 checks passed and verify absence, deletion failures, unchanged fallback policy and no resurrection. Full verification remains the shared verifier's responsibility; no full-green claim is made here.
|
|
63
|
+
|
|
64
|
+
## Second-pass review
|
|
65
|
+
|
|
66
|
+
Reviewer /root independently read source, tests and this artifact and concurred. Verified ENOENT-only absence, no constructor key/vault creation, propagation before memory consume, unchanged auth/fallback/write policy/browser exception, actual vault/route/restart tests and preservation of unrelated credentials. Parent required the operator-surface quality section, now included. Existing atomic replacement semantics remain; no power-loss or native-feature claim.
|
|
67
|
+
|
|
68
|
+
## Evidence pointers
|
|
69
|
+
|
|
70
|
+
- Unit: tests/unit/secret-store-existing-copy-delete.test.ts.
|
|
71
|
+
- HTTP: tests/integration/secret-drop-store-first.test.ts.
|
|
72
|
+
- Production lifecycle: tests/e2e/secret-drop-store-first-lifecycle.test.ts.
|
|
73
|
+
- Original reproduction: unit4fail/1pass, route2fail/11pass, lifecycle1fail/2pass before source repair.
|
|
74
|
+
|
|
75
|
+
## Class-Closure Declaration
|
|
76
|
+
|
|
77
|
+
No agent-authored-artifact defect — not applicable. No self-triggered controller is added or modified. This is runtime consume storage cleanup under an already approved invariant.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Side effects: trust approvals show text rebuilt from the change (SEC-141)
|
|
2
|
+
|
|
3
|
+
In plain words: the description a person approves is rebuilt from the change itself each time, and a request that does not match its own change is refused.
|
|
4
|
+
|
|
5
|
+
Tier 1. Size: 3 source files (`AccountPathService.ts`, `TrustJourneyStore.ts`, `src/server/routes.ts` `GET /trust/requests`), 2 test files extended.
|
|
6
|
+
|
|
7
|
+
## What changes
|
|
8
|
+
- New private `verified(req)`: requires a change, recomputes `proposalHashOf(proofSubject(change))` and compares it with the record's `proposalHash`, then returns `summarize(change)`. Any failure (no change, mismatch, summarize throwing) is logged as `trust-request-altered` and treated as altered.
|
|
9
|
+
- `deviceListing`: altered requests are left out; every listed row's `summary` is the derived text.
|
|
10
|
+
- `onPresenceApproval`: after the existing proposal-hash check, an altered request is refused with `request-altered` ("This request does not match the change it would make, so nothing was approved. The agent can send a fresh one."). The "Done" message names the derived text.
|
|
11
|
+
- Chat approval: the same check before consumption, with the same words as a threaded reply; the "Done" reply names the derived text.
|
|
12
|
+
- `sendCard`: the card text is the derived summary; an altered request gets no card ("undelivered", nothing approvable). This covers the deferred card re-sent when the owner accepts.
|
|
13
|
+
- `GET /trust/requests` (agent-facing): rows carry the derived summary; altered requests are left out (`derivedSummary`, public).
|
|
14
|
+
- `TrustJourneyStore` fold: a request's change and proposal hash are fixed by the first record seen for its id. A later record may add `cardMessageId`/`cardChatId` only when its `proposalHash` equals the first; any other later record is ignored. Honest card records always carry the same hash, so nothing honest changes.
|
|
15
|
+
- Records with no `change` (written before changes were stored) are hidden and refused; any such request was already past its 7-day card life.
|
|
16
|
+
- The "This would widen:" lines come from `raisesOf`, which reads current trust state, so they can differ slightly between the card, the listing and "Done"; the "Change:" line depends only on the change and is always the same. Accepted: the text describes the change as it is when shown.
|
|
17
|
+
- Not changed: the hash check at apply time (`proofCovers`), the record format. No app change: the app shows what the listing returns.
|
|
18
|
+
- For honest records nothing a person sees changes: the stored summary was written by the same `summarize(change)`.
|
|
19
|
+
|
|
20
|
+
## Signal vs authority
|
|
21
|
+
The refusal is a consistency check on the server's own record, not a new authority.
|
|
22
|
+
|
|
23
|
+
## Rollback
|
|
24
|
+
Revert the commit. No state change.
|
|
25
|
+
|
|
26
|
+
## Tests
|
|
27
|
+
- `trust-journey-device-approval` (+2), `trust-journey-account-path-service` (+2), `mobile-trust-approval-routes`: 60 pass. Also pass: `trust-journey-account-path`, `-corrupt-state`, `-governed-effects`, `-proof-check`, `-store`, `-review-c`.
|
|
28
|
+
|
|
29
|
+
## Second-pass review
|
|
30
|
+
|
|
31
|
+
**Reviewer:** independent Claude reviewer subagent, two rounds. Round 1 was blocking: a deferred chat card was still rendered from the stored summary (a forger who writes the true hash of their own dangerous change passes a hash check), a later request record could replace a request's change while naming the real card, and the agent-facing route returned stored text. All three are fixed here with tests. Round 2 verdict: concur.
|
|
32
|
+
|
|
33
|
+
Left as noted: no unit test drives a chat approval into an altered request that already has a card (the store rule now makes it hard to reach); a dropped later record with a different hash is not logged yet.
|