instar 1.3.2007 → 1.3.2009

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 (43) hide show
  1. package/dist/config/bearerConfigWrite.d.ts +14 -0
  2. package/dist/config/bearerConfigWrite.d.ts.map +1 -1
  3. package/dist/config/bearerConfigWrite.js +58 -0
  4. package/dist/config/bearerConfigWrite.js.map +1 -1
  5. package/dist/core/conversationGraphRead.d.ts +63 -0
  6. package/dist/core/conversationGraphRead.d.ts.map +1 -1
  7. package/dist/core/conversationGraphRead.js +142 -27
  8. package/dist/core/conversationGraphRead.js.map +1 -1
  9. package/dist/core/workFrontDoorsGraph.d.ts +13 -0
  10. package/dist/core/workFrontDoorsGraph.d.ts.map +1 -1
  11. package/dist/core/workFrontDoorsGraph.js +16 -0
  12. package/dist/core/workFrontDoorsGraph.js.map +1 -1
  13. package/dist/data/standards-guard-index.json +1 -1
  14. package/dist/data/standards-guard-index.meta.json +2 -2
  15. package/dist/data/standards-registry.meta.json +1 -1
  16. package/dist/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
  17. package/dist/native/instar-desktop-host +0 -0
  18. package/dist/server/CapabilityIndex.d.ts.map +1 -1
  19. package/dist/server/CapabilityIndex.js +7 -0
  20. package/dist/server/CapabilityIndex.js.map +1 -1
  21. package/dist/server/ConversationGraphSurface.d.ts.map +1 -1
  22. package/dist/server/ConversationGraphSurface.js +4 -1
  23. package/dist/server/ConversationGraphSurface.js.map +1 -1
  24. package/dist/server/conversationGraphRoutes.d.ts +7 -1
  25. package/dist/server/conversationGraphRoutes.d.ts.map +1 -1
  26. package/dist/server/conversationGraphRoutes.js +23 -0
  27. package/dist/server/conversationGraphRoutes.js.map +1 -1
  28. package/dist/server/mobilePairingRoutes.d.ts.map +1 -1
  29. package/dist/server/mobilePairingRoutes.js +2 -0
  30. package/dist/server/mobilePairingRoutes.js.map +1 -1
  31. package/dist/server/routes.d.ts.map +1 -1
  32. package/dist/server/routes.js +15 -0
  33. package/dist/server/routes.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/data/awareness/phone-conversation-tree.md +4 -0
  36. package/src/data/builtin-manifest.json +46 -46
  37. package/src/data/standards-guard-index.json +1 -1
  38. package/src/data/standards-guard-index.meta.json +2 -2
  39. package/src/data/standards-registry.meta.json +1 -1
  40. package/upgrades/1.3.2008.md +32 -0
  41. package/upgrades/1.3.2009.md +26 -0
  42. package/upgrades/side-effects/sec151-config-origin-fence.md +38 -0
  43. package/upgrades/side-effects/work-front-doors-stage2-mobile-hierarchy.md +60 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "1.3.2007",
3
+ "version": "1.3.2009",
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: The phone shows the Conversations tree
3
+ ---
4
+ The owner's phone can read the whole Conversations tree in one request, not only the flat conversation list: `GET /mobile/conversation-graph/tree` (device-signed, owner phone only) returns each top-level group with its front door, its conversations and nested groups, any proposed card conversations, and a Project label with the project's name when the group holds a project the Chief of Staff tracks. A node cut short says `childrenComplete: false`, and the phone opens it with `GET /mobile/conversation-graph/nodes/:ref` for the rest. A member's or guest's phone is refused (`hierarchy-owner-only`) and keeps the flat list it may read, so group names, project names and counts never reach someone the owner has not shared them with. When the owner asks whether the app can show their groups, say yes for their own phone once the app has the screen, and that the tree comes from the same groups they see in the dashboard's Conversations page.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-11-24T17:04:31.423Z",
5
- "instarVersion": "1.3.2007",
4
+ "generatedAt": "2026-11-24T17:57:32.763Z",
5
+ "instarVersion": "1.3.2009",
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": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
455
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
456
456
  "since": "2025-01-01"
457
457
  },
458
458
  "route-group:agents": {
@@ -460,7 +460,7 @@
460
460
  "type": "route-group",
461
461
  "domain": "sessions",
462
462
  "sourcePath": "src/server/routes.ts",
463
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
463
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
464
464
  "since": "2025-01-01"
465
465
  },
466
466
  "route-group:backups": {
@@ -468,7 +468,7 @@
468
468
  "type": "route-group",
469
469
  "domain": "operations",
470
470
  "sourcePath": "src/server/routes.ts",
471
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
471
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
472
472
  "since": "2025-01-01"
473
473
  },
474
474
  "route-group:git": {
@@ -476,7 +476,7 @@
476
476
  "type": "route-group",
477
477
  "domain": "coordination",
478
478
  "sourcePath": "src/server/routes.ts",
479
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
479
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
480
480
  "since": "2025-01-01"
481
481
  },
482
482
  "route-group:memory": {
@@ -484,7 +484,7 @@
484
484
  "type": "route-group",
485
485
  "domain": "memory",
486
486
  "sourcePath": "src/server/routes.ts",
487
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
487
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
488
488
  "since": "2025-01-01"
489
489
  },
490
490
  "route-group:semantic": {
@@ -492,7 +492,7 @@
492
492
  "type": "route-group",
493
493
  "domain": "memory",
494
494
  "sourcePath": "src/server/routes.ts",
495
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
495
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
496
496
  "since": "2025-01-01"
497
497
  },
498
498
  "route-group:status": {
@@ -500,7 +500,7 @@
500
500
  "type": "route-group",
501
501
  "domain": "monitoring",
502
502
  "sourcePath": "src/server/routes.ts",
503
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
503
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
504
504
  "since": "2025-01-01"
505
505
  },
506
506
  "route-group:capabilities": {
@@ -508,7 +508,7 @@
508
508
  "type": "route-group",
509
509
  "domain": "mapping",
510
510
  "sourcePath": "src/server/routes.ts",
511
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
511
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
512
512
  "since": "2025-01-01"
513
513
  },
514
514
  "route-group:project-map": {
@@ -516,7 +516,7 @@
516
516
  "type": "route-group",
517
517
  "domain": "mapping",
518
518
  "sourcePath": "src/server/routes.ts",
519
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
519
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
520
520
  "since": "2025-01-01"
521
521
  },
522
522
  "route-group:coherence": {
@@ -524,7 +524,7 @@
524
524
  "type": "route-group",
525
525
  "domain": "coherence",
526
526
  "sourcePath": "src/server/routes.ts",
527
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
527
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
528
528
  "since": "2025-01-01"
529
529
  },
530
530
  "route-group:topic-bindings": {
@@ -532,7 +532,7 @@
532
532
  "type": "route-group",
533
533
  "domain": "sessions",
534
534
  "sourcePath": "src/server/routes.ts",
535
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
535
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
536
536
  "since": "2025-01-01"
537
537
  },
538
538
  "route-group:context": {
@@ -540,7 +540,7 @@
540
540
  "type": "route-group",
541
541
  "domain": "context",
542
542
  "sourcePath": "src/server/routes.ts",
543
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
543
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
544
544
  "since": "2025-01-01"
545
545
  },
546
546
  "route-group:scope-coherence": {
@@ -548,7 +548,7 @@
548
548
  "type": "route-group",
549
549
  "domain": "coherence",
550
550
  "sourcePath": "src/server/routes.ts",
551
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
551
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
552
552
  "since": "2025-01-01"
553
553
  },
554
554
  "route-group:canonical-state": {
@@ -556,7 +556,7 @@
556
556
  "type": "route-group",
557
557
  "domain": "state",
558
558
  "sourcePath": "src/server/routes.ts",
559
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
559
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
560
560
  "since": "2025-01-01"
561
561
  },
562
562
  "route-group:ci": {
@@ -564,7 +564,7 @@
564
564
  "type": "route-group",
565
565
  "domain": "monitoring",
566
566
  "sourcePath": "src/server/routes.ts",
567
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
567
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
568
568
  "since": "2025-01-01"
569
569
  },
570
570
  "route-group:sessions": {
@@ -572,7 +572,7 @@
572
572
  "type": "route-group",
573
573
  "domain": "sessions",
574
574
  "sourcePath": "src/server/routes.ts",
575
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
575
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
576
576
  "since": "2025-01-01"
577
577
  },
578
578
  "route-group:jobs": {
@@ -580,7 +580,7 @@
580
580
  "type": "route-group",
581
581
  "domain": "scheduling",
582
582
  "sourcePath": "src/server/routes.ts",
583
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
583
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
584
584
  "since": "2025-01-01"
585
585
  },
586
586
  "route-group:skip-ledger": {
@@ -588,7 +588,7 @@
588
588
  "type": "route-group",
589
589
  "domain": "scheduling",
590
590
  "sourcePath": "src/server/routes.ts",
591
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
591
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
592
592
  "since": "2025-01-01"
593
593
  },
594
594
  "route-group:telegram": {
@@ -596,7 +596,7 @@
596
596
  "type": "route-group",
597
597
  "domain": "communication",
598
598
  "sourcePath": "src/server/routes.ts",
599
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
599
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
600
600
  "since": "2025-01-01"
601
601
  },
602
602
  "route-group:attention": {
@@ -604,7 +604,7 @@
604
604
  "type": "route-group",
605
605
  "domain": "communication",
606
606
  "sourcePath": "src/server/routes.ts",
607
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
607
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
608
608
  "since": "2025-01-01"
609
609
  },
610
610
  "route-group:relationships": {
@@ -612,7 +612,7 @@
612
612
  "type": "route-group",
613
613
  "domain": "relationships",
614
614
  "sourcePath": "src/server/routes.ts",
615
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
615
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
616
616
  "since": "2025-01-01"
617
617
  },
618
618
  "route-group:feedback": {
@@ -620,7 +620,7 @@
620
620
  "type": "route-group",
621
621
  "domain": "feedback",
622
622
  "sourcePath": "src/server/routes.ts",
623
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
623
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
624
624
  "since": "2025-01-01"
625
625
  },
626
626
  "route-group:updates": {
@@ -628,7 +628,7 @@
628
628
  "type": "route-group",
629
629
  "domain": "updates",
630
630
  "sourcePath": "src/server/routes.ts",
631
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
631
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
632
632
  "since": "2025-01-01"
633
633
  },
634
634
  "route-group:dispatches": {
@@ -636,7 +636,7 @@
636
636
  "type": "route-group",
637
637
  "domain": "dispatches",
638
638
  "sourcePath": "src/server/routes.ts",
639
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
639
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
640
640
  "since": "2025-01-01"
641
641
  },
642
642
  "route-group:quota": {
@@ -644,7 +644,7 @@
644
644
  "type": "route-group",
645
645
  "domain": "monitoring",
646
646
  "sourcePath": "src/server/routes.ts",
647
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
647
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
648
648
  "since": "2025-01-01"
649
649
  },
650
650
  "route-group:publishing": {
@@ -652,7 +652,7 @@
652
652
  "type": "route-group",
653
653
  "domain": "publishing",
654
654
  "sourcePath": "src/server/routes.ts",
655
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
655
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
656
656
  "since": "2025-01-01"
657
657
  },
658
658
  "route-group:private-views": {
@@ -660,7 +660,7 @@
660
660
  "type": "route-group",
661
661
  "domain": "publishing",
662
662
  "sourcePath": "src/server/routes.ts",
663
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
663
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
664
664
  "since": "2025-01-01"
665
665
  },
666
666
  "route-group:tunnel": {
@@ -668,7 +668,7 @@
668
668
  "type": "route-group",
669
669
  "domain": "networking",
670
670
  "sourcePath": "src/server/routes.ts",
671
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
671
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
672
672
  "since": "2025-01-01"
673
673
  },
674
674
  "route-group:events": {
@@ -676,7 +676,7 @@
676
676
  "type": "route-group",
677
677
  "domain": "networking",
678
678
  "sourcePath": "src/server/routes.ts",
679
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
679
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
680
680
  "since": "2025-01-01"
681
681
  },
682
682
  "route-group:evolution": {
@@ -684,7 +684,7 @@
684
684
  "type": "route-group",
685
685
  "domain": "evolution",
686
686
  "sourcePath": "src/server/routes.ts",
687
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
687
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
688
688
  "since": "2025-01-01"
689
689
  },
690
690
  "route-group:watchdog": {
@@ -692,7 +692,7 @@
692
692
  "type": "route-group",
693
693
  "domain": "monitoring",
694
694
  "sourcePath": "src/server/routes.ts",
695
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
695
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
696
696
  "since": "2025-01-01"
697
697
  },
698
698
  "route-group:topic-memory": {
@@ -700,7 +700,7 @@
700
700
  "type": "route-group",
701
701
  "domain": "memory",
702
702
  "sourcePath": "src/server/routes.ts",
703
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
703
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
704
704
  "since": "2025-01-01"
705
705
  },
706
706
  "route-group:state-sync": {
@@ -708,7 +708,7 @@
708
708
  "type": "route-group",
709
709
  "domain": "coordination",
710
710
  "sourcePath": "src/server/routes.ts",
711
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
711
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
712
712
  "since": "2025-01-01"
713
713
  },
714
714
  "route-group:intent": {
@@ -716,7 +716,7 @@
716
716
  "type": "route-group",
717
717
  "domain": "intent",
718
718
  "sourcePath": "src/server/routes.ts",
719
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
719
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
720
720
  "since": "2025-01-01"
721
721
  },
722
722
  "route-group:triage": {
@@ -724,7 +724,7 @@
724
724
  "type": "route-group",
725
725
  "domain": "safety",
726
726
  "sourcePath": "src/server/routes.ts",
727
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
727
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
728
728
  "since": "2025-01-01"
729
729
  },
730
730
  "route-group:operations": {
@@ -732,7 +732,7 @@
732
732
  "type": "route-group",
733
733
  "domain": "safety",
734
734
  "sourcePath": "src/server/routes.ts",
735
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
735
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
736
736
  "since": "2025-01-01"
737
737
  },
738
738
  "route-group:sentinel": {
@@ -740,7 +740,7 @@
740
740
  "type": "route-group",
741
741
  "domain": "safety",
742
742
  "sourcePath": "src/server/routes.ts",
743
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
743
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
744
744
  "since": "2025-01-01"
745
745
  },
746
746
  "route-group:trust": {
@@ -748,7 +748,7 @@
748
748
  "type": "route-group",
749
749
  "domain": "safety",
750
750
  "sourcePath": "src/server/routes.ts",
751
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
751
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
752
752
  "since": "2025-01-01"
753
753
  },
754
754
  "route-group:monitoring": {
@@ -756,7 +756,7 @@
756
756
  "type": "route-group",
757
757
  "domain": "monitoring",
758
758
  "sourcePath": "src/server/routes.ts",
759
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
759
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
760
760
  "since": "2025-01-01"
761
761
  },
762
762
  "route-group:commitments": {
@@ -764,7 +764,7 @@
764
764
  "type": "route-group",
765
765
  "domain": "commitments",
766
766
  "sourcePath": "src/server/routes.ts",
767
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
767
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
768
768
  "since": "2025-01-01"
769
769
  },
770
770
  "route-group:episodes": {
@@ -772,7 +772,7 @@
772
772
  "type": "route-group",
773
773
  "domain": "memory",
774
774
  "sourcePath": "src/server/routes.ts",
775
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
775
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
776
776
  "since": "2025-01-01"
777
777
  },
778
778
  "route-group:messages": {
@@ -780,7 +780,7 @@
780
780
  "type": "route-group",
781
781
  "domain": "coordination",
782
782
  "sourcePath": "src/server/routes.ts",
783
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
783
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
784
784
  "since": "2025-01-01"
785
785
  },
786
786
  "route-group:system-reviews": {
@@ -788,7 +788,7 @@
788
788
  "type": "route-group",
789
789
  "domain": "monitoring",
790
790
  "sourcePath": "src/server/routes.ts",
791
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
791
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
792
792
  "since": "2025-01-01"
793
793
  },
794
794
  "route-group:machine-mesh": {
@@ -804,7 +804,7 @@
804
804
  "type": "route-group",
805
805
  "domain": "security",
806
806
  "sourcePath": "src/server/routes.ts",
807
- "contentHash": "ecee20055cf69ba98dd3e225bddf964843a59b1d8fbdedc7a040fea7baf74041",
807
+ "contentHash": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
808
808
  "since": "2025-01-01"
809
809
  },
810
810
  "cli:init": {
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
5
- "packageVersion": "1.3.2007",
5
+ "packageVersion": "1.3.2009",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "183bbd9ff4498135f71c4d4361b9711e15d329115b421234820142941f2ad5cb",
2
+ "sha256": "bc9405c539ad635314ef80278fbbb5c272ba52387cc5858fdf0c77edbbc013d0",
3
3
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
4
- "packageVersion": "1.3.2007"
4
+ "packageVersion": "1.3.2009"
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.2007"
5
+ "packageVersion": "1.3.2009"
6
6
  }
@@ -0,0 +1,32 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ SEC-145. `PATCH /config` refuses a few `sessions.*` keys because they choose which executable a session spawns (`OPERATOR_ONLY_SESSION_KEYS`: `frameworkBinaryPaths`, `claudePath`, `grokInteractiveSessions`). Keys of the same authority were missing: `sessions.tmuxPath` (the binary the server runs for every session), `sessions.anthropicBaseUrl`, `sessions.anthropicApiKey` and `sessions.credentials` (where every Claude session's conversation and tool calls go, and whose account pays), and `sessions.retainedClaudeBinary` (the directory the retained Claude binary runs from). They are now in the same list, so the API refuses them and they are set only in `.instar/config.json`. The commitment tracker's bearer write guard uses the same list, so it is covered too. No code path writes these keys through the API today.
9
+
10
+ SEC-151. `PATCH /config` and the bearer single-path writer now refuse a shared table of operator-only paths: the named tunnel's token, config file, hostname and relay providers; the threadline relay addresses; the agent-network trust switches (encryption to pinned peers, downgrade refusal, unknown-sender and local-route trust, first-contact policy, the warm-session trust floor); the pipe-mode limits for peer-started sessions; the default framework, component framework routing, enabled frameworks, per-framework default models and nature routing; and the feedback address and file. A body naming a second-level key that holds one of them is refused too, because that route replaces second-level keys whole. The tunnel, relay, feedback and dispatch on/off switches are unchanged.
11
+
12
+ ## What to Tell Your User
13
+
14
+ - **Safer settings**: "The settings my own tools can change no longer include the ones that decide which programs I run or where my conversations go. Those now change only in the settings file on your computer."
15
+
16
+ - **Public address locked to the settings file**: "The settings interface my tools can use can no longer move my public address or my relay, switch off my checks on other agents, change which AI framework runs, or send my feedback elsewhere. Those now change only in my settings file on this computer."
17
+
18
+ ## Summary of New Capabilities
19
+
20
+ | Capability | How to Use |
21
+ |-----------|-----------|
22
+ | Session binary and endpoint settings are file-only | Automatic |
23
+
24
+ | Capability | How to Use |
25
+ |-----------|-----------|
26
+ | Tunnel identity, relay addresses, agent-network trust, peer-session limits, framework routing and the feedback address fenced from the settings API | Automatic; set them in `.instar/config.json` |
27
+
28
+ ## Evidence
29
+
30
+ - `tests/unit/bearer-config-write.test.ts`: new case naming each added key, refused at its own path and inside a `sessions` object; an ordinary session setting stays patchable. The existing loop over the whole list covers them too.
31
+
32
+ - `tests/unit/sec151-config-origin-fence.test.ts`: every fenced path is refused for both writers, a whole-subtree replacement is caught, and the feature switches still pass.
@@ -0,0 +1,26 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ Work-front-doors stage 2, "Mobile hierarchy routes" (`docs/specs/work-front-doors.md` §7; `docs/specs/conversation-effort-hierarchy-v3.md` §7.4).
9
+
10
+ - New `GET /mobile/conversation-graph/tree` (owner phone, device-signed): the owner's top-level groups with their front door, conversations and nested groups in one read, from the same viewer-filtered projection as the existing roots and node reads. Each node carries a `routeRef` for `GET /mobile/conversation-graph/nodes/:ref`; a node cut at 4 levels, 20 children or 400 nodes says `childrenComplete: false`. Proposed card conversations ride along as on the node read.
11
+ - A group holding a project the Chief of Staff tracks carries `project {title, conversationKey}` (the console's Project rule); `projects: known|unknown` says whether projects could be read.
12
+ - Member and guest phones are refused (`hierarchy-owner-only`) and keep the flat conversation list, as hierarchy v3 §7.4 requires.
13
+
14
+ ## What to Tell Your User
15
+
16
+ Your phone app can now be shown your conversations as groups and projects, the same tree you see in the dashboard, instead of only one long list. The app screen comes with the next app update; nothing to do now. People you share the agent with still see only the conversations they may read, never your group or project names.
17
+
18
+ ## Summary of New Capabilities
19
+
20
+ - `GET /mobile/conversation-graph/tree` (owner phone): the Conversations tree in one read, with front doors, nested groups and Project labels.
21
+
22
+ ## Evidence
23
+
24
+ - Unit: `tests/unit/conversation-graph-tree.test.ts` (13 tests).
25
+ - Integration: `tests/integration/conversation-graph-tree-device.test.ts` (4 tests, real device auth).
26
+ - E2E: `tests/e2e/conversation-graph-tree-alive.test.ts` (production AgentServer, signed phone).
@@ -0,0 +1,38 @@
1
+ # Side effects: the settings API cannot change the public address, the relay addresses, the agent-network trust switches, what a peer-started session may touch, which framework runs, or where feedback goes (SEC-151)
2
+
3
+ In plain words: the settings API, and the bearer writer that holds the same rules, could change the named tunnel's token, config file and hostname, so one API call could point the agent's public address at another tunnel account. The same calls could change where agent-to-agent traffic goes, switch off the agent-network trust checks, widen what a session started by a peer may touch, change which framework runs, and send feedback to another host. Those settings now come only from the config file.
4
+
5
+ Tier 1. Size: 2 source files (`src/config/bearerConfigWrite.ts`, `src/server/routes.ts`), 1 new test file. It is stacked on the SEC-145 branch, which fences the session-binary and Anthropic-connection keys the same way.
6
+
7
+ ## What changes for running agents
8
+ - One shared table, `OPERATOR_ONLY_CONFIG_PATHS`, holds the fenced paths:
9
+ - `tunnel.token`, `tunnel.configFile`, `tunnel.hostname` and `tunnel.relayProviders`
10
+ - `threadline.relayUrl` and `threadline.listener.relayUrl`
11
+ - `threadline.listener.pipeMode.allowedTools`, `allowedPaths`, `minIqsBand` and `model`
12
+ - the agent-network trust settings `threadline.encryptToPinned`, `refuseDowngrade`, `relayUnknownSenderTrust`, `localRouteTrust`, `firstContactPolicy` and `warmSessionA2A.trustFloor`. These are read live, so a change took effect with no restart.
13
+ - `sessions.framework` (the agent-wide default, which has the highest precedence), `sessions.componentFrameworks`, `sessions.enabledFrameworks`, `sessions.frameworkDefaultModels` and `sessions.natureRouting`
14
+ - `feedback.webhookUrl` and `feedback.feedbackFile`
15
+ - `PATCH /config` refuses with a 400 (`fenced: [...]`) any body that would change a fenced path. The route merges one level deep, so a body naming a second-level key replaces that whole subtree. A body with `threadline.listener` or `threadline.warmSessionA2A` is refused for that reason, as is a non-object top-level value. The single-path writer still allows `threadline.warmSessionA2A.enabled`.
16
+ - `bearerConfigWriteRefusal` refuses a single-path write at a fenced path, at an ancestor that would replace it, or beneath it, matching whole path segments.
17
+ - Unchanged: the feature switches (`tunnel.enabled`, `threadline.relayEnabled`, `feedback.enabled`, `dispatches.enabled`) and every other setting. The maturation ladder writes its `enabled` switches through the live config directly, not through these routes, so it is unaffected. The framework-enable route, which has its own confirmation, still sets `enabledFrameworks`.
18
+ - No caller in `src` or the dashboard writes a fenced path through these routes.
19
+
20
+ ## Review
21
+ An independent reviewer read the diff and the code paths behind it. It found no bypass and nothing broken: arrays, nulls, prototype keys and empty path segments are all refused, and the other config-writing routes cannot reach a fenced path. It raised one blocking gap, the agent-wide default framework `sessions.framework`, and several settings of the same kind: the agent-network trust switches, the feedback address and file, the pipe-mode band and model, the per-framework default models and the nature-routing chains. All are added here. `dispatches.dispatchFile` is fenced by the SEC-153 change. `tunnel.type` is left open, since switching it changes availability only, not where traffic goes. On a second pass over the additions the reviewer concurred. It noted that the maturation ladder can still flip the `enabled` switches of the trust settings and nature routing through its direct write, by design, and that a config-change commitment on a fenced path is now refused safely (nothing is written; the drift is still reported).
22
+
23
+ ## Signal vs authority
24
+ It only removes a way in. The operator still sets every one of these in the config file.
25
+
26
+ ## Rollback
27
+ Revert the commit. No state is written.
28
+
29
+ ## Not in this change
30
+ A true allowlist, naming every setting the API may change instead of listing the forbidden ones, needs an inventory of what the dashboard and the feature switches write. It follows as a separate design note to the Chief of Staff.
31
+
32
+ ## Tests
33
+ - `tests/unit/sec151-config-origin-fence.test.ts` (new, 7 cases):
34
+ - Each fenced path is named for a PATCH body, and a second-level replacement covers every fenced path below it.
35
+ - The feature switches and ordinary settings pass.
36
+ - The bearer writer refuses fenced paths, their ancestors and their descendants, allows the switches beside them, and matches whole segments.
37
+ - A wiring check shows `PATCH /config` runs the table.
38
+ - Also pass: `bearer-config-write`, `feature-enableaction-validity`, `feature-action-applier`, `org-action-check`, `grok-build-round17-security`, `Config`. Integration and end-to-end runs are left to Local Verify.
@@ -0,0 +1,60 @@
1
+ # Side-Effects Review — Work front doors, stage 2: the phone tree of Conversations
2
+
3
+ **Version / slug:** `work-front-doors-stage2-mobile-hierarchy`
4
+ **Date:** `2026-11-20`
5
+ **Author:** `Echo`
6
+ **Second-pass reviewer:** `independent reviewer subagent (see below)`
7
+
8
+ ## Summary of the change
9
+
10
+ Spec `docs/specs/work-front-doors.md` §7 stage 2, "Mobile hierarchy routes (hierarchy v3 §7.4), so the phone shows the tree, not only the flat list". What already existed on main: device-signed, owner-only `GET /mobile/conversation-graph/roots` and `/nodes/:ref` (one level per request). What the phone lacked: the tree itself without one request per group, and the console's Project label (which the console works out in the browser from `/work/projects`).
11
+
12
+ - `ConversationGraphReadModel.tree(viewer, {cursor, projects})` (`src/core/conversationGraphRead.ts`): the viewer's root efforts, paged with the existing signed, viewer-bound snapshot cursor (own scope `tree`), each with its visible children nested to 4 levels, at most 20 children a node and 400 nodes a response; a cut node says `childrenComplete: false` and is opened with the existing node read. Each node: `ref`, `routeRef`, `title`, `kind`, `role`, `placedBy`, `state`, `source`, `sourceFreshness`, `visibleChildCount`, `frontDoor` (efforts), `project` (efforts), `children`, `childrenComplete`, `proposed`. The Chief of Staff root conversation heads the first page as `root`. Envelope as roots (`revision`, `asOf`, `partial`, `partialReasons`, `replicationState`, `capabilities`) plus `projects: known|unknown` and `limits`.
13
+ - The card-proposal computation in `node()` moved unchanged into a private `proposedFor()` that both reads use.
14
+ - Project label: an effort is labelled when its front door, else a conversation directly in it, is a Chief of Staff project's conversation (the console's rule from PR #3547). Source: the projects the suggestion service already receives (`options.suggestions.projects` in `ConversationGraphSurface`), converted by `treeProjects()` in `src/core/workFrontDoorsGraph.ts` to `{ref, title, conversationKey}`. Unreadable projects → `projects: 'unknown'` and no labels.
15
+ - Route `GET /mobile/conversation-graph/tree` in `src/server/conversationGraphRoutes.ts` (phone only; the dashboard keeps composing roots/nodes) and its device rule in `src/server/mobilePairingRoutes.ts` (`ownerOnly`, bucket `conversation-graph-reads`, 30/min, no body).
16
+ - Capability index entry `mobileConversationTree` (no new prefix) and awareness entry `src/data/awareness/phone-conversation-tree.md`.
17
+
18
+ ## Decision-point inventory
19
+ No new decision point. Who may read is decided by the existing device-auth owner rule and the existing owner viewer resolver (`conversationGraphViewer.ts`); what is visible by the existing projection `mayView` filter. The new route adds neither.
20
+
21
+ ## 1. Over-block
22
+ A member (MSP) or guest phone gets 403 `hierarchy-owner-only`. That is the spec, not an over-block: hierarchy v3 §7.4 says an MSP "does not receive the owner's effort tree" in v1, and work-front-doors stage 2 requires "a member's Work door working with no tree and no project names". Members keep the flat `GET /mobile/conversations`. A Slack project conversation gets no Project label (no Work-page key exists for it yet; same as the console).
23
+
24
+ ## 2. Under-block
25
+ The response is bounded: at most 50 root efforts (one page) plus the root conversation, and nested children and proposals together draw on one 400-node budget (proposals are also capped at 50 an effort by the existing cap). A cut of children says `childrenComplete: false`; a cut of proposals says `proposedComplete: false`. The card record is read once per tree request. A very wide tree is cut, and says so per node; nothing is silently dropped. Hidden nodes: the projection filter runs before nesting, counting, proposals and labels, so a hidden conversation never shows, never counts, and never labels an effort as a project (unit test with a hidden front door and a hidden project conversation).
26
+
27
+ ## 3. Level-of-abstraction fit
28
+ The tree is one more read on the shared read model, built from the same single projection per request (`scoped`), as hierarchy v3 §7.1 asks ("The app and dashboard consume one shared projection module"). The route sits in the existing graph router beside roots/nodes and reuses `authorizedSend` (re-resolves the viewer before sending; grant change → 409).
29
+
30
+ ## 4. Signal vs authority compliance
31
+ A read. No blocking authority, no brittle check (docs/signal-vs-authority.md): authority stays with the existing owner admission.
32
+
33
+ ## 5. Interactions
34
+ - `node()` behaviour is unchanged (the proposal logic moved verbatim; existing read tests pass).
35
+ - The tree's cursor scope is `tree`; a roots or children cursor is refused (409 `cursor-invalid`), and vice versa.
36
+ - `projects()` is the same function the suggestion service calls; it reads the Chief of Staff loop in memory. A throwing source is caught (`@silent-fallback-ok`, reported as `projects: 'unknown'` in the body).
37
+ - PR #3374 adds suggestion routes to the same router family and the same device-rule table; this change adds one rule line and one route block, no shared lines edited.
38
+
39
+ ## 6. External surfaces
40
+ One new device-signed GET for the owner's phone. No app screen ships here (app builds are on hold); the iPhone, Android and Mac apps can draw the tree from this one read. Agent instructions gain one feature note.
41
+
42
+ ## 6b. Operator-surface quality
43
+ No operator surface in this change (a server read). The field names and the plain words the awareness entry uses ("group", "Project") match the console.
44
+
45
+ ## 7. Multi-machine posture
46
+ Proxied by design through replication already in place: the graph events, the conversation inventory and the Chief of Staff tree replicate, and every machine builds the same projection; replica lag is reported (`partial`, `replicationState: pending`) exactly as on roots. The device rule and rate bucket are per machine like every phone route. Snapshot cursors are machine-local (a cursor from another machine is refused as expired, and the phone starts again), the same as roots/nodes.
47
+
48
+ ## 8. Rollback cost
49
+ Revert the commit. No stored data, no migration, no config. A phone build that uses the route would fall back to roots/nodes.
50
+
51
+ ## Evidence
52
+ - Unit: `tests/unit/conversation-graph-tree.test.ts` (13): 503 before projecting; nesting with front door, roles and route refs; Project label from front door then child, `unknown` labels nothing; hidden conversations never nested/counted/labelled; hidden effort hides its subtree; per-node and depth cuts; response-budget cut with separate childrenComplete and proposedComplete, card record read once; viewer-bound paging, root on page 1 only, foreign-scope cursor refused; proposals only with a visible project conversation; `treeProjects`; router owner-only, phone-only, throwing projects, bad cursor. `tests/unit/mobile-session-terminal.test.ts` names the new owner-only rule.
53
+ - Integration: `tests/integration/conversation-graph-tree-device.test.ts` (4): real device-auth middleware, ledger and owner resolver: owner phone gets the nested tree with Project label; bearer, member and forged requests refused before the inventory is read; revoked 401; 503 until ready; dashboard proof does not open it.
54
+ - E2E: `tests/e2e/conversation-graph-tree-alive.test.ts` (1): production AgentServer with Conversations on, the owned graph started by a real PIN visit; a signed phone builds a parent and nested group and reads them nested from the tree, opens the nested node by its `routeRef`, and is refused once revoked.
55
+
56
+ ## Second-pass review (if required)
57
+
58
+ **Reviewer:** independent reviewer subagent (Opus 5.5). **Independent read: Concur with the review.** Traced: only an owner phone reaches the body (ownerOnly device rule → 403 hierarchy-owner-only for member/MSP/guest; not a browser route; resolveViewer requires a current signature admission, so bearer and revoked fail; viewer re-resolved in authorizedSend; dashboard path 404). Every field comes from the one viewer-filtered projection; project labels need `projection.has`; proposals keep the both-ends check. Tree cursor scope `tree` is refused by roots/children and vice versa, and bound to viewer and grant. `proposedFor()` is a verbatim move. Minor notes: (a) `cardPlacements()` was scanned once per effort; (b) a proposal cut set `childrenComplete:false` though all children were present; (c) on later pages an effort moved between reads could appear twice (same snapshot behaviour as roots, cosmetic); (d) §2 wording on the proposal cap was loose.
59
+
60
+ **Author:** (a) the card record is now read once per tree request; (b) a proposal cut now sets its own `proposedComplete: false`; (d) §2 reworded. (c) left as is: it matches the existing roots snapshot contract (§7.3: unrelated graph events do not invalidate a cursor).