instar 1.3.2010 → 1.3.2011

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.
Files changed (50) hide show
  1. package/dashboard-pair/service-yes.js +48 -5
  2. package/dist/core/PinAttemptStore.d.ts +11 -0
  3. package/dist/core/PinAttemptStore.d.ts.map +1 -1
  4. package/dist/core/PinAttemptStore.js +30 -7
  5. package/dist/core/PinAttemptStore.js.map +1 -1
  6. package/dist/core/devGatedFeatures.d.ts.map +1 -1
  7. package/dist/core/devGatedFeatures.js +6 -0
  8. package/dist/core/devGatedFeatures.js.map +1 -1
  9. package/dist/data/standards-guard-index.json +1 -1
  10. package/dist/data/standards-guard-index.meta.json +2 -2
  11. package/dist/data/standards-registry.meta.json +1 -1
  12. package/dist/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
  13. package/dist/native/instar-desktop-host +0 -0
  14. package/dist/recommended/confirmStats.d.ts +52 -0
  15. package/dist/recommended/confirmStats.d.ts.map +1 -0
  16. package/dist/recommended/confirmStats.js +149 -0
  17. package/dist/recommended/confirmStats.js.map +1 -0
  18. package/dist/recommended/confirmTokens.d.ts +29 -4
  19. package/dist/recommended/confirmTokens.d.ts.map +1 -1
  20. package/dist/recommended/confirmTokens.js +51 -9
  21. package/dist/recommended/confirmTokens.js.map +1 -1
  22. package/dist/server/AgentServer.d.ts +2 -0
  23. package/dist/server/AgentServer.d.ts.map +1 -1
  24. package/dist/server/AgentServer.js +151 -46
  25. package/dist/server/AgentServer.js.map +1 -1
  26. package/dist/server/middleware.d.ts.map +1 -1
  27. package/dist/server/middleware.js +4 -0
  28. package/dist/server/middleware.js.map +1 -1
  29. package/dist/server/publicPinHook.d.ts +61 -0
  30. package/dist/server/publicPinHook.d.ts.map +1 -0
  31. package/dist/server/publicPinHook.js +3 -0
  32. package/dist/server/publicPinHook.js.map +1 -0
  33. package/dist/server/recommendedServiceRoutes.d.ts +14 -0
  34. package/dist/server/recommendedServiceRoutes.d.ts.map +1 -1
  35. package/dist/server/recommendedServiceRoutes.js +73 -8
  36. package/dist/server/recommendedServiceRoutes.js.map +1 -1
  37. package/dist/server/routes.d.ts +2 -0
  38. package/dist/server/routes.d.ts.map +1 -1
  39. package/dist/server/routes.js +23 -0
  40. package/dist/server/routes.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/data/awareness/approval-link-guess-bound.md +4 -0
  43. package/src/data/builtin-manifest.json +47 -47
  44. package/src/data/feature-ladders.json +1 -0
  45. package/src/data/standards-guard-index.json +1 -1
  46. package/src/data/standards-guard-index.meta.json +2 -2
  47. package/src/data/standards-registry.meta.json +1 -1
  48. package/src/data/state-coherence-registry.json +34 -0
  49. package/upgrades/1.3.2011.md +36 -0
  50. package/upgrades/side-effects/sec135-approval-link-guess-bound.md +134 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "1.3.2010",
3
+ "version": "1.3.2011",
4
4
  "description": "Coherence infrastructure for self-evolving AI agents — on the Claude Code or Codex subscription you already have.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,4 @@
1
+ ---
2
+ title: Confirm pages share the sign-in PIN limits
3
+ ---
4
+ When your person says a service's yes-or-no page (the recommended-services confirm page) is "paused" or refused their PIN, this is SEC-135 working, not a fault. On a development agent (and on the fleet once it graduates), an answer from a browser that never unlocked the dashboard goes through the same PIN limits as dashboard sign-in, so guessing at the page is no easier than guessing at sign-in. A browser that unlocked the dashboard before, and the computer you run on, keep their own allowances that strangers cannot use up. Tell your person plainly: open the page in a browser that has signed in to the dashboard before, or on this computer, or wait a few minutes; the page's own message says the same. To see how often answers took each path on this machine, read `confirmStats` in `curl -H "Authorization: Bearer $INSTAR_AUTH_TOKEN" http://localhost:{{port}}/recommended-services` (`unknown` with a reason means the counters could not be read, never zero). Each machine reports only its own, and a path is never a person.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-11-24T18:12:04.882Z",
5
- "instarVersion": "1.3.2010",
4
+ "generatedAt": "2026-11-24T18:42:14.670Z",
5
+ "instarVersion": "1.3.2011",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
455
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
463
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
471
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
479
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
487
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
495
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
503
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
511
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
519
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
527
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
535
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
543
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
551
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
559
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
567
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
575
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
583
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
591
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
599
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
607
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
615
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
623
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
631
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
639
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
647
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
655
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
663
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
671
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
679
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
687
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
695
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
703
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
711
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
719
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
727
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
735
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
743
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
751
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
759
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
767
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
775
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
783
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
791
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
807
+ "contentHash": "bcb99d6ae3899dbcdc4780cbb263e99fc9ea86a1d82bce177713cfa46cdb0a7d",
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": "d7d8ebe46577f1c386b79552d234d65b62bef34eb5670673993adaaa0b6e3c4f",
1599
+ "contentHash": "b82fcf76918fa4453c6c61e1d6f3b06525768ab6dcf236f402af9d6b1ec3b2fc",
1600
1600
  "since": "2025-01-01"
1601
1601
  },
1602
1602
  "subsystem:session-manager": {
@@ -245,6 +245,7 @@
245
245
  {"id": "multiMachine.stateSync.conversationGraphSuggestions", "title": "Suggestion decisions on every machine", "aliases": [], "flag": {"path": "multiMachine.stateSync.conversationGraphSuggestions"}, "disposition": "finished", "final": "default-on", "risk": "standard", "finished": {"reason": "A fix for a tracked gap (CMT-1650): a Reject on one machine was not honored on another. It ships on wherever the coherence journal runs, with an ordinary off switch for rollback, not a staged rollout.", "ref": "docs/specs/conversation-graph-suggestions-replicated-decisions.md Maturation plan"}, "tracking": {"state": "measured", "plan": "Finished: no rollout left, so no bar. A decision that cannot reach the other machines is reported as the ConversationGraphSuggestions.replication degradation."}, "rungs": {}},
246
246
  {"id": "multiMachine.stateSync.telegramTopicNames", "title": "Telegram topic names on every machine", "aliases": [], "flag": {"path": "multiMachine.stateSync.telegramTopicNames"}, "disposition": "finished", "final": "default-on", "risk": "standard", "finished": {"reason": "A fix for a tracked gap (CMT-2095, Studio outage ledger N40): only the lead machine learned topic names, so they were lost when it died. It ships on wherever the coherence journal runs, with an ordinary off switch for rollback, not a staged rollout.", "ref": "docs/specs/topic-name-replication.md Maturation plan"}, "tracking": {"state": "measured", "plan": "Finished: no rollout left, so no bar. A name that cannot reach the other machines is reported as the TelegramTopicNames.replication degradation."}, "rungs": {}},
247
247
  {"id": "multiMachine.placement.agentSessions", "title": "Agent-started sessions placed by load", "flag": {"path": "multiMachine.placement.agentSessions.enabled"}, "disposition": "ladder", "final": "default-on", "risk": "sensitive", "tracking": {"state": "measured", "plan": "Every /sessions/spawn writes one row to logs/agent-session-placement.jsonl (mode shadow or live, with its outcome); a live placement that ran on a peer reads outcome peer, and duplicates found by the 10-minute name check are reported in the stewardship scorecard (docs/specs/agent-sessions-placed-by-load.md, Maturation plan)."}, "rungs": {"dev-agent-live": {"soakDays": 7, "advance": {"kind": "code"}, "metrics": [{"id": "live-placed-on-peer", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/agent-session-placement.jsonl", "where": {"mode": "live", "outcome": "peer"}, "of": {"mode": "live"}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 14}, {"id": "unreachable-fallback-rate", "role": "harm", "source": "jsonl-log", "ref": {"file": "logs/agent-session-placement.jsonl", "where": {"mode": "live", "outcome": "local-fallback:target-unreachable"}, "of": {"mode": "live"}, "value": "ratio"}, "direction": "at-most", "threshold": 0.2, "minSamples": 10, "windowDays": 14}]}, "fleet": {"soakDays": 14, "advance": {"kind": "code"}, "metrics": [{"id": "live-placed-on-peer", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/agent-session-placement.jsonl", "where": {"mode": "live", "outcome": "peer"}, "of": {"mode": "live"}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 14}, {"id": "unreachable-fallback-rate", "role": "harm", "source": "jsonl-log", "ref": {"file": "logs/agent-session-placement.jsonl", "where": {"mode": "live", "outcome": "local-fallback:target-unreachable"}, "of": {"mode": "live"}, "value": "ratio"}, "direction": "at-most", "threshold": 0.2, "minSamples": 10, "windowDays": 14}]}}, "aliases": []},
248
+ {"id": "security.approvalLinks", "title": "Confirm-page PIN guesses from strangers go through the sign-in limits (SEC-135)", "flag": {"path": "security.approvalLinks.enabled"}, "disposition": "ladder", "final": "default-on", "risk": "sensitive", "tracking": {"state": "measured", "plan": "Faster staged path (b), Justin 2026-11-21 (spec Rollout). Live on Echo from merge; each exempt answer while the public aggregate is full writes a fired row. Review at the first window with a marker and a local success inside an alerted period, fleet change right after; no synthetic flood on real Echo machines; after 21 days the evidence goes to the Chief of Staff."}, "rungs": {"dev-agent-live": {"soakDays": 1, "advance": {"kind": "code"}, "metrics": [{"id": "marker-answer-while-full", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/feature-evidence.jsonl", "where": {"featureId": "security.approvalLinks", "kind": "fired", "reason": "marker-answer-while-aggregate-full"}, "of": {"featureId": "security.approvalLinks"}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 21}, {"id": "local-answer-while-full", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/feature-evidence.jsonl", "where": {"featureId": "security.approvalLinks", "kind": "fired", "reason": "local-answer-while-aggregate-full"}, "of": {"featureId": "security.approvalLinks"}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 21}, {"id": "confirm-stats-errors", "role": "harm", "source": "jsonl-log", "ref": {"file": "logs/feature-evidence.jsonl", "where": {"featureId": "security.approvalLinks", "kind": "error"}, "of": {"featureId": "security.approvalLinks"}, "value": "count"}, "direction": "at-most", "threshold": 0, "minSamples": 1, "windowDays": 21}]}, "fleet": {"soakDays": 7, "advance": {"kind": "code"}, "metrics": [{"id": "marker-answer-while-full", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/feature-evidence.jsonl", "where": {"featureId": "security.approvalLinks", "kind": "fired", "reason": "marker-answer-while-aggregate-full"}, "of": {"featureId": "security.approvalLinks"}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 21}, {"id": "local-answer-while-full", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/feature-evidence.jsonl", "where": {"featureId": "security.approvalLinks", "kind": "fired", "reason": "local-answer-while-aggregate-full"}, "of": {"featureId": "security.approvalLinks"}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 21}, {"id": "confirm-stats-errors", "role": "harm", "source": "jsonl-log", "ref": {"file": "logs/feature-evidence.jsonl", "where": {"featureId": "security.approvalLinks", "kind": "error"}, "of": {"featureId": "security.approvalLinks"}, "value": "count"}, "direction": "at-most", "threshold": 0, "minSamples": 1, "windowDays": 21}]}}, "aliases": []},
248
249
  {"id": "security.crossTopicConfirm", "title": "A change confirmed in another conversation", "flag": {"path": "security.crossTopicConfirm.enabled"}, "disposition": "ladder", "final": "default-on", "risk": "sensitive", "tracking": {"state": "measured", "plan": "Every cross-conversation proposal, applied change and disarm writes a row with crossTopic:true to logs/topic-profile-changes.jsonl (docs/specs/identity-security-creation-provenance.md, Maturation plan): applied changes show it ran; a high share of proposals disarmed by a later message before the owner answered shows it gets in the way."}, "rungs": {"dev-agent-live": {"soakDays": 7, "advance": {"kind": "code"}, "metrics": [{"id": "cross-topic-applied", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/topic-profile-changes.jsonl", "where": {"type": "write", "outcome": "accepted", "crossTopic": true}, "of": {"type": "write", "crossTopic": true}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 14}, {"id": "cross-topic-disarm-rate", "role": "harm", "source": "jsonl-log", "ref": {"file": "logs/topic-profile-changes.jsonl", "where": {"type": "cross-topic-disarmed", "crossTopic": true}, "of": {"type": "confirm-armed", "crossTopic": true}, "value": "ratio"}, "direction": "at-most", "threshold": 0.5, "minSamples": 5, "windowDays": 14}]}, "fleet": {"soakDays": 14, "advance": {"kind": "code"}, "metrics": [{"id": "cross-topic-applied", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/topic-profile-changes.jsonl", "where": {"type": "write", "outcome": "accepted", "crossTopic": true}, "of": {"type": "write", "crossTopic": true}, "value": "count"}, "direction": "at-least", "threshold": 1, "minSamples": 1, "windowDays": 14}, {"id": "cross-topic-disarm-rate", "role": "harm", "source": "jsonl-log", "ref": {"file": "logs/topic-profile-changes.jsonl", "where": {"type": "cross-topic-disarmed", "crossTopic": true}, "of": {"type": "confirm-armed", "crossTopic": true}, "value": "ratio"}, "direction": "at-most", "threshold": 0.5, "minSamples": 5, "windowDays": 14}]}}, "aliases": []},
249
250
  {"id": "localVerify.mainAgeDurable", "title": "Local Verify: the age of an unverified main survives a restart", "aliases": [], "flag": null, "disposition": "finished", "final": "default-on", "risk": "standard", "finished": {"reason": "A fix for main never being verified while restarts came less than 90 minutes apart. It ships live on every agent with no setting: a switch's off state would be the known defect. Rollback is a code revert.", "ref": "docs/specs/local-verify-main-age-survives-restart.md Maturation plan"}, "tracking": {"state": "measured", "plan": "Finished: no rollout left, so no bar. The first three coordinator boots after install with something unverified each show a restored age or a main-age-unknown line in logs/local-verify.jsonl, and a main verify starts by the next slot once the age is due or unknown."}, "rungs": {}},
250
251
  {"id": "monitoring.localVerify.importRelatedRerun", "title": "Local Verify: a second try for a failed test file that imports changed code, on named main evidence", "aliases": [], "flag": {"path": "monitoring.localVerify.importRelatedRerun"}, "disposition": "ladder", "final": "default-off-by-preference", "preference": {"decidedBy": "echo-chief-of-staff (spec approval, message 871a3deb)", "decidedAt": "2026-11-18", "reason": "The rule loosens a merge gate, so it stays an explicit opt-in: off for everyone until the day-7 review proposes otherwise, and the fleet only with a recurring check that drops a file's main evidence when its main rate at least doubles after a clear.", "ref": "docs/specs/local-verify-import-related-rerun.md Frontloaded Decision 8 and Maturation plan"}, "risk": "sensitive", "tracking": {"state": "needed", "plan": "Ships off. Rung 1: eleven supervised cases on a throwaway agent. Rung 2: the owner (echo-increasing-throughput) turns it on for the development agent. Day-7 review by scripts/local-verify-import-related-review.mjs over both machines' audit logs: at least 10 clears, no cleared file whose main rate at least doubles with 3 or more events after, clears at least 1 in 4 of import-related failures."}, "rungs": {"dev-agent-live": {"soakDays": 7, "advance": {"kind": "owner-driver", "driver": "echo-increasing-throughput turns it on after the eleven rung-1 cases pass"}, "metrics": [{"id": "import-related-clears", "role": "ran", "source": "jsonl-log", "ref": {"file": "logs/local-verify.jsonl", "where": {"event": "run-detail", "importRelatedClear": true}, "value": "count", "timeField": "ts"}, "direction": "at-least", "threshold": 10, "minSamples": 10, "windowDays": 7}, {"id": "unoffered-clears-returned", "role": "harm", "source": "jsonl-log", "ref": {"file": "logs/local-verify.jsonl", "where": {"event": "peer-record-rejected", "reason": "import-related-not-offered"}, "value": "count", "timeField": "ts"}, "direction": "at-most", "threshold": 0, "minSamples": 1, "windowDays": 7}]}}},
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
5
- "packageVersion": "1.3.2010",
5
+ "packageVersion": "1.3.2011",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "9802e275d48fe73bef09eddfcf0452deb3bcfcffb7706d1bfecc47f6636e4984",
2
+ "sha256": "ab4478010309a48e24eb1736dbaaf3810b6c1fa592a4fbaee6a9797652877915",
3
3
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
4
- "packageVersion": "1.3.2010"
4
+ "packageVersion": "1.3.2011"
5
5
  }
@@ -2,5 +2,5 @@
2
2
  "sha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
3
3
  "articleCount": 102,
4
4
  "generatedFrom": "docs/STANDARDS-REGISTRY.md",
5
- "packageVersion": "1.3.2010"
5
+ "packageVersion": "1.3.2011"
6
6
  }
@@ -2582,6 +2582,40 @@
2582
2582
  "note": "One replace-in-place file, capped per service, with expired tokens pruned on write."
2583
2583
  }
2584
2584
  },
2585
+ {
2586
+ "category": "recommended-service-confirm-stats",
2587
+ "description": "SEC-135: per-machine counters for the recommended-service confirm page (answers by path, refused public answers, owner opens, exempt-path answers while the public aggregate was full, with times). Machine-local, proxied-on-read: each machine reports its own in GET /recommended-services and the graduation review sums every machine's.",
2588
+ "scope": "machine-local",
2589
+ "freshness": "eventual",
2590
+ "conflictShape": "single-writer",
2591
+ "transport": "none",
2592
+ "paths": [
2593
+ "state/recommended-service-tokens/confirm-stats.json"
2594
+ ],
2595
+ "grandfathered": false,
2596
+ "retention": {
2597
+ "class": "fixed-cardinality",
2598
+ "maxRecords": 1,
2599
+ "note": "One replace-in-place file of cumulative counters, written at most once a minute; its timed event list keeps the newest 200."
2600
+ }
2601
+ },
2602
+ {
2603
+ "category": "pin-attempts",
2604
+ "description": "Durable PIN guess counters (identity-security piece 1c): the public aggregate, per-source, local and per-approval-link budgets. Machine-local by design: each machine bounds the guesses it accepts itself, and piece 1c section 4 declares the per-machine posture.",
2605
+ "scope": "machine-local",
2606
+ "freshness": "eventual",
2607
+ "conflictShape": "single-writer",
2608
+ "transport": "none",
2609
+ "paths": [
2610
+ "state/pin-attempts.json"
2611
+ ],
2612
+ "grandfathered": false,
2613
+ "retention": {
2614
+ "class": "fixed-cardinality",
2615
+ "maxRecords": 4096,
2616
+ "note": "PinAttemptStore keeps at most 4096 rows (PIN_ATTEMPT_MAX_ROWS); expired rows are pruned on every write and the oldest unlocked rows go first above the cap."
2617
+ }
2618
+ },
2585
2619
  {
2586
2620
  "category": "recommended-service-setup",
2587
2621
  "description": "Per machine: whether a recommended service passed its setup check here, and the session and promise working on it. A login or install lives on one disk, so this is never replicated.",
@@ -0,0 +1,36 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ SEC-135 (medium). The recommended-services confirm page (`GET`/`POST /recommended-services/:id/confirm`) is reachable before any sign-in, and every page open minted a fresh token with its own 5 wrong PIN guesses. With up to 30 opens a minute for anyone, a stranger could make about 9,000 PIN guesses an hour per machine.
9
+
10
+ Behind one switch, `security.approvalLinks.enabled` (dev-gated: live on development agents, dark on the fleet until the maturation review graduates it):
11
+
12
+ - The sign-in page's public PIN limits are exposed to routes as one hook (`ctx.publicPin`: `context` and a synchronous `verify`). Sign-in and step-up were refactored onto the same internal functions; their answers and wording are unchanged.
13
+ - A confirm answer from a browser that never unlocked the dashboard, away from the machine, is admitted and charged exactly like sign-in (per-source backoff, the per-network budget, the public aggregate of 20 wrong per 5 minutes shared with sign-in), plus the existing per-page budget, in one store write (`PinAttemptStore.recordFailures`). A refused answer gets one fixed `pin-paused` wording that names the ways through. A browser that unlocked the dashboard before, and the machine itself, keep their own allowances, as on sign-in. The per-page budget holds even when the counter store is unavailable.
14
+ - Page opens from such a browser or the machine itself (with the page's own `X-Instar-Request` header, which other websites cannot send) get their own 30-a-minute allowance and protected tokens that a stranger flood never evicts. The page retries a refused open with brakes and explains an expired page.
15
+ - `GET /recommended-services` reports per-machine `confirmStats` (flushed at most once a minute), `unknown` with a reason when unreadable.
16
+ - `state/pin-attempts.json` and the new `confirm-stats.json` are declared in the state coherence registry (machine-local).
17
+
18
+ With the switch off, the confirm page behaves exactly as before. `/mcp/approve/:id` and the email-code route are unchanged.
19
+
20
+ ## What to Tell Your User
21
+
22
+ - **Approval pages are harder to guess at**: "My yes-or-no pages for outside services now have the same PIN guessing limits as the dashboard sign-in. If one ever says it is paused, open it in a browser you have signed in to the dashboard with before, or on the computer I run on, or wait a few minutes."
23
+
24
+ ## Summary of New Capabilities
25
+
26
+ | Capability | How to Use |
27
+ |-----------|-----------|
28
+ | Confirm-page answers on sign-in's PIN limits | Automatic on development agents; `security.approvalLinks.enabled` |
29
+ | Confirm-page counters per machine | `confirmStats` in `GET /recommended-services` |
30
+
31
+ ## Evidence
32
+
33
+ - `tests/unit/sec135-approval-link-verify.test.ts` (new, 18 tests, real AgentServer): stranger path, one verifier (including the parallel last-attempt race), owner paths, CORS preflight, no wrong exemptions, sign-in wording unchanged, store outage, switch off.
34
+ - `tests/unit/sec135-store-and-stats.test.ts` (new, 11): one persist per wrong guess, counters flush at most once a minute, unreadable file reports unknown, token store owner allowance and eviction.
35
+ - `tests/unit/sec135-service-yes-page.test.ts` (new, 7): the real page script in jsdom.
36
+ - `tests/integration/sec135-approval-link-flood.test.ts` (new) and `tests/e2e/sec135-approval-link-alive.test.ts` (new).