instar 1.3.2013 → 1.3.2014
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +3 -1
- package/dist/commands/server.js.map +1 -1
- package/dist/core/appConversationPool.d.ts +2 -0
- package/dist/core/appConversationPool.d.ts.map +1 -1
- package/dist/core/appConversationPool.js +1 -1
- package/dist/core/appConversationPool.js.map +1 -1
- package/dist/core/credentialLineMask.d.ts +53 -0
- package/dist/core/credentialLineMask.d.ts.map +1 -0
- package/dist/core/credentialLineMask.js +223 -0
- package/dist/core/credentialLineMask.js.map +1 -0
- package/dist/core/outputCredentialScrub.d.ts +7 -0
- package/dist/core/outputCredentialScrub.d.ts.map +1 -1
- package/dist/core/outputCredentialScrub.js +27 -0
- package/dist/core/outputCredentialScrub.js.map +1 -1
- package/dist/core/transcriptCheckpoints.d.ts +7 -0
- package/dist/core/transcriptCheckpoints.d.ts.map +1 -1
- package/dist/core/transcriptCheckpoints.js +63 -2
- package/dist/core/transcriptCheckpoints.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/AgentServer.d.ts.map +1 -1
- package/dist/server/AgentServer.js +2 -0
- package/dist/server/AgentServer.js.map +1 -1
- package/dist/server/inboundCredentialNotice.d.ts +3 -0
- package/dist/server/inboundCredentialNotice.d.ts.map +1 -1
- package/dist/server/inboundCredentialNotice.js +8 -1
- package/dist/server/inboundCredentialNotice.js.map +1 -1
- package/dist/server/mobileConversationRoutes.d.ts +5 -0
- package/dist/server/mobileConversationRoutes.d.ts.map +1 -1
- package/dist/server/mobileConversationRoutes.js +11 -2
- package/dist/server/mobileConversationRoutes.js.map +1 -1
- package/dist/server/routes.d.ts +8 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +56 -2
- package/dist/server/routes.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +47 -47
- 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.2014.md +25 -0
- package/upgrades/side-effects/sec164-credential-scrub-1c.md +55 -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-24T21:01:40.498Z",
|
|
5
|
+
"instarVersion": "1.3.2014",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
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": "083764d9614dc3ae0682a5ca53d804b7315267ab285723bfe7be16e8e9130384",
|
|
808
808
|
"since": "2025-01-01"
|
|
809
809
|
},
|
|
810
810
|
"cli:init": {
|
|
@@ -1596,7 +1596,7 @@
|
|
|
1596
1596
|
"type": "subsystem",
|
|
1597
1597
|
"domain": "server",
|
|
1598
1598
|
"sourcePath": "src/server/AgentServer.ts",
|
|
1599
|
-
"contentHash": "
|
|
1599
|
+
"contentHash": "90873cc49d3682d9ba4fc15f3bb86345eed92e819d1e4d3e5c98b9919cd8c0dd",
|
|
1600
1600
|
"since": "2025-01-01"
|
|
1601
1601
|
},
|
|
1602
1602
|
"subsystem:session-manager": {
|
|
@@ -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.2014",
|
|
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": "389a76f9cd347b29bc48bc19fc46cc8ecaa31dedc71e484b9d13569d1f7b0503",
|
|
3
3
|
"registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
|
|
4
|
-
"packageVersion": "1.3.
|
|
4
|
+
"packageVersion": "1.3.2014"
|
|
5
5
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: patch -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
SEC-164, part 1c. When a session's transcript is copied to another of the agent's machines, a live key inside it is masked on both sides: inside each row before it leaves, and inside each checked chunk before the copy is written. The mask keeps every line the same length and the same structure. It changes only the key's characters inside a text value, never a field name, a signed thinking block, encrypted reasoning or image data. The copy scrub follows `security.credentialScrub.inPlace`: on a development agent it starts by only counting what it would mask (recorded as evidence, never the value), and masks once that setting is on. Three items carried from part 1b also land. A person who pastes a key into an Instar app conversation now gets the same fixed notice with a one-tap Secret Drop link, and the receiving session sees a one-line note. Incoming masking also matches the agent's own configured keys (its API, bot and tunnel tokens) by exact value.
|
|
9
|
+
|
|
10
|
+
## What to Tell Your User
|
|
11
|
+
|
|
12
|
+
- **Keys stay out of copies between my computers**: "If a key ever shows up in a session record, the copy sent to my other computers has it blanked out too."
|
|
13
|
+
- **The app tells you too**: "If you paste a key into the app, I remove it and give you a one-tap link to send it safely, the same as in Telegram."
|
|
14
|
+
|
|
15
|
+
## Summary of New Capabilities
|
|
16
|
+
|
|
17
|
+
| Capability | How to Use |
|
|
18
|
+
|-----------|-----------|
|
|
19
|
+
| Live keys masked in transcript copies between machines (counted first, masked once `inPlace` is on) | Automatic on development agents; `security.credentialScrub.inPlace` switches counting to masking |
|
|
20
|
+
| Removed-key notice and session note in Instar app conversations | Automatic when the switch is on |
|
|
21
|
+
|
|
22
|
+
## Evidence
|
|
23
|
+
|
|
24
|
+
- `tests/unit/sec164-line-mask.test.ts` (16 cases) shows the following. The mask keeps the byte length and the keys. It never changes a field name. It finds a key after an escaped newline and in a PEM block written with escapes, keeps offsets right after multibyte characters, and scans a value hidden behind a duplicate key. It leaves signed thinking, encrypted reasoning and image data alone. The dry run counts only, and a non-JSON line is left alone. The mode reader covers off, dry run and on. Source-order checks show the copy source masks before redaction and the receipt masks after the hash check.
|
|
25
|
+
- `tests/integration/mobile-native-signed-records.test.ts`: the app case now also checks that exactly one notice is posted and that the session sees the note.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Side effects: live keys are masked in transcript copies between machines; the app gets the removed-key notice (SEC-164 part 1c)
|
|
2
|
+
|
|
3
|
+
Spec: `docs/specs/credential-scrub-at-rest.md` §3.1, §3.2, §3.4 and §4.5 (converged, approved under option A). Stacked on part 1b (PR 3627), which is stacked on part 1a (PR 3621).
|
|
4
|
+
|
|
5
|
+
## What changes for running agents
|
|
6
|
+
|
|
7
|
+
All of this sits behind `security.credentialScrub.enabled` (dev-gated). The copy scrub also follows `security.credentialScrub.inPlace`, read live by the new `credentialScrubModeReader`: off when `enabled` is off, a count-only dry run while `inPlace` is not true, and masking once it is `true`.
|
|
8
|
+
|
|
9
|
+
- **`src/core/credentialLineMask.ts` (new): the same-length JSON line mask.** It is shared with the slice 1d sweeper.
|
|
10
|
+
- A small byte tokenizer finds every string literal and its raw byte range. A literal that `JSON.parse` would hide behind a later duplicate key is still scanned.
|
|
11
|
+
- Each value literal is decoded with a map from each decoded character back to its raw byte, then scanned with the shared detection.
|
|
12
|
+
- Each match is overwritten in place with `[credential removed]` padded with spaces, or with `*` per byte when it is shorter than 20 bytes. An escape inside the span becomes plain characters, and no backslash or quote is written.
|
|
13
|
+
- Key names are never changed. Signed thinking text, encrypted reasoning, redacted thinking data and media base64 with a known image signature are never changed; a match there counts as unmeasured.
|
|
14
|
+
- The masked line must re-parse with the same structure. Otherwise nothing changes, and the line counts as unscannable.
|
|
15
|
+
- **Copy source** (`TranscriptCheckpointSource.tick`): each row goes through the mask before the existing token-and-PIN redaction, and so before the chunk's offsets and hash are computed.
|
|
16
|
+
- **Copy receipt** (`TranscriptCopyStore.assemble`): after the chunk's length, hash and start offset check out, the same-length mask runs before the copy is written. The body's length never changes, so the manifest offsets hold. This cleans copies from an older build that did not mask at its source.
|
|
17
|
+
- **Evidence:** the copy scrub records `credentialScrub` evidence by side and mode, at most once per ten minutes per side and mode, with the counts it stands for. Applied masks are `fired`, dry-run counts are `held`. Only kinds and counts are recorded, never a value.
|
|
18
|
+
- **Carried from 1b: the app conversation notice and session note.** `createRoutes` sets `ctx.appCredentialNotice`, which posts the fixed notice with a fresh Secret Drop link as a server-written agent message. Its event id derives from the message id, so a replay appends nothing. The app conversation route calls it for the owner, a team member or an owner device from before people existed, and passes a one-line `sessionNote` through `dispatchStoredAppMessage`. The note goes to the session only and is never stored.
|
|
19
|
+
- **Carried from 1b: the agent's own keys.** Incoming masking now also uses an `OwnCredentialMatcher` built from the API token, the Telegram bot token, the Slack bot and app tokens and the tunnel token. It keeps only a keyed hash and a short prefix, and is rebuilt at most once a minute.
|
|
20
|
+
|
|
21
|
+
## Closed open item
|
|
22
|
+
|
|
23
|
+
- **Slack lifeline kinds:** `SlackLifeline` is never started, and `/internal/slack-forward` refuses every request (slack-outbound-robustness §2.7). So no queued Slack message is replayed through it today. Its queue is still masked (part 1b). The kinds field belongs with Phase 2.2, which makes that route deliver.
|
|
24
|
+
|
|
25
|
+
## Known limits
|
|
26
|
+
|
|
27
|
+
- A literal over 1 MB is scanned whole, not in pieces. A transcript row is bounded by one checkpoint (larger rows are withheld with a marker), so this does not arise for copies. The sweeper in 1d adds the piece-wise scan its files need.
|
|
28
|
+
- A source row that does not parse as JSON is counted unscannable and left to the existing redaction, which rewrites it as text.
|
|
29
|
+
- Integrity-bound matches are counted as unmeasured. They are not yet raised to the security session's work queue; the sweeper's status route (1d) reports them.
|
|
30
|
+
|
|
31
|
+
## Signal vs authority
|
|
32
|
+
|
|
33
|
+
The mask changes only a key's bytes inside a copy, never refuses or delays a copy, and every failure keeps the row or chunk unchanged (the sweeper is the backstop). The notice is information only.
|
|
34
|
+
|
|
35
|
+
## Rollback
|
|
36
|
+
|
|
37
|
+
Set `security.credentialScrub.inPlace` off (back to counting) or `enabled` off (no scrub at all); both are read live.
|
|
38
|
+
|
|
39
|
+
## Class-Closure Declaration
|
|
40
|
+
|
|
41
|
+
- **unbounded-self-action: n/a.** The app notice is one fixed message per incoming message, keyed by message id and never retried. The copy scrub runs inside the existing copy pass and adds no trigger of its own.
|
|
42
|
+
|
|
43
|
+
## Second-pass review
|
|
44
|
+
|
|
45
|
+
**Reviewer:** Claude Sonnet (independent subagent), which read the full diff and the real code paths.
|
|
46
|
+
- **Round one: CONCUR, no blocking defect for this slice.** It confirmed several things. Source offsets and the hash are computed after the mask. The receipt masks only after the length, hash and offset check, and falls back to the original on any length change. Every failure keeps the row or chunk. A stranger or a replay cannot trigger the app notice, and the session note is never stored.
|
|
47
|
+
- It asked for one fix before merge, because the sweeper in 1d reuses the module: guard `protectedValues` against a pathologically deep line. That is done, with a test.
|
|
48
|
+
- Two cheap notes are also done: the signature string itself is now protected, and the own-key matcher also uses the live API token, since the config may hold only a placeholder after pairing.
|
|
49
|
+
- Its other notes are accepted as stated. A key split across a field name and its value cannot be found, by design. Invalid UTF-8 can only cause a missed span, never a broken line. Blank or partial lines inflate the unscannable count. Each pasted key mints one Secret Drop token, bounded by the per-device rate limit.
|
|
50
|
+
|
|
51
|
+
## Tests
|
|
52
|
+
|
|
53
|
+
- `tests/unit/sec164-line-mask.test.ts` (new, 16 cases), listed in the release note, plus a pathologically deep line that must not throw.
|
|
54
|
+
- `tests/integration/mobile-native-signed-records.test.ts` now checks the notice and the session note. It was not run on this machine (M5 rule); Local Verify is its first run.
|
|
55
|
+
- Unchanged and passing: transcriptCheckpoints, transcriptCopies-awareness-migration, app-conversation-service, app-conversation-identity, app-conversations-pool, mobileConversationListPaging, sec164-inbound-mask, sec164-credential-spans.
|