instar 1.3.2008 → 1.3.2010

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 (48) hide show
  1. package/dist/core/conversationGraphRead.d.ts +63 -0
  2. package/dist/core/conversationGraphRead.d.ts.map +1 -1
  3. package/dist/core/conversationGraphRead.js +142 -27
  4. package/dist/core/conversationGraphRead.js.map +1 -1
  5. package/dist/core/workFrontDoorsGraph.d.ts +13 -0
  6. package/dist/core/workFrontDoorsGraph.d.ts.map +1 -1
  7. package/dist/core/workFrontDoorsGraph.js +16 -0
  8. package/dist/core/workFrontDoorsGraph.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/reoffers.d.ts +9 -3
  15. package/dist/recommended/reoffers.d.ts.map +1 -1
  16. package/dist/recommended/reoffers.js +27 -3
  17. package/dist/recommended/reoffers.js.map +1 -1
  18. package/dist/server/CapabilityIndex.d.ts.map +1 -1
  19. package/dist/server/CapabilityIndex.js +8 -1
  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/recommendedServiceRoutes.d.ts +5 -0
  32. package/dist/server/recommendedServiceRoutes.d.ts.map +1 -1
  33. package/dist/server/recommendedServiceRoutes.js +21 -0
  34. package/dist/server/recommendedServiceRoutes.js.map +1 -1
  35. package/dist/server/routes.d.ts.map +1 -1
  36. package/dist/server/routes.js +2 -0
  37. package/dist/server/routes.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/data/awareness/phone-conversation-tree.md +4 -0
  40. package/src/data/awareness/recommended-services-reoffers.md +1 -1
  41. package/src/data/builtin-manifest.json +46 -46
  42. package/src/data/standards-guard-index.json +1 -1
  43. package/src/data/standards-guard-index.meta.json +2 -2
  44. package/src/data/standards-registry.meta.json +1 -1
  45. package/upgrades/1.3.2009.md +26 -0
  46. package/upgrades/1.3.2010.md +20 -0
  47. package/upgrades/side-effects/recommended-services-reoffers.md +3 -0
  48. 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.2008",
3
+ "version": "1.3.2010",
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,4 +1,4 @@
1
1
  ---
2
2
  title: Asking again after a no, only for a real problem
3
3
  ---
4
- With `recommendedServices.reoffers.enabled` on (off by default), a service the person said no to, or never answered after I listed it, is offered once more only when a real problem it would fix shows up. Today that's a voice note nothing on this machine can transcribe, which re-offers voice transcription. The message says why I'm asking now, links the confirm page for a yes, and never changes the no. The rules are in code: one re-offer a day across services, then 90, 180 and 360 days before the same problem can ask again. Don't re-offer a refused service by hand outside these rules. If the person asks why I asked again, the answer is the problem named in that message.
4
+ With `recommendedServices.reoffers.enabled` on (off by default), a service the person said no to, or never answered after I listed it, is offered once more only when a real problem it would fix shows up. Today that's a voice note nothing on this machine can transcribe, which re-offers voice transcription, or, checked once at each start, a saved password or key my settings point at that's missing with no vault holding a copy, which re-offers Bitwarden. The message says why I'm asking now, links the confirm page for a yes, and never changes the no. The rules are in code: one re-offer a day across services, then 90, 180 and 360 days before the same problem can ask again. Don't re-offer a refused service by hand outside these rules. If the person asks why I asked again, the answer is the problem named in that message.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-11-24T17:29:49.797Z",
5
- "instarVersion": "1.3.2008",
4
+ "generatedAt": "2026-11-24T18:12:04.882Z",
5
+ "instarVersion": "1.3.2010",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
455
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
463
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
471
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
479
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
487
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
495
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
503
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
511
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
519
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
527
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
535
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
543
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
551
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
559
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
567
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
575
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
583
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
591
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
599
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
607
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
615
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
623
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
631
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
639
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
647
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
655
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
663
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
671
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
679
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
687
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
695
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
703
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
711
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
719
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
727
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
735
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
743
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
751
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
759
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
767
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
775
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
783
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
791
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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": "1fc2275a6ff652613a35108fe5abb6d83f965dde2743182e52e43335278d2517",
807
+ "contentHash": "bd4c74d47b54c90d73c15cd56cb0039c1cbd05380b9815100c3507db5a01124d",
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.2008",
5
+ "packageVersion": "1.3.2010",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "160d28111ca0233d41bb03cf6457b34f348aed893e3303983775d3c48b357c0b",
2
+ "sha256": "9802e275d48fe73bef09eddfcf0452deb3bcfcffb7706d1bfecc47f6636e4984",
3
3
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
4
- "packageVersion": "1.3.2008"
4
+ "packageVersion": "1.3.2010"
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.2008"
5
+ "packageVersion": "1.3.2010"
6
6
  }
@@ -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,20 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ Recommended services re-offers, slice B: the `secret-lost` problem. At each server start the agent checks its loaded settings for a `{ "secret": true }` placeholder that the encrypted store couldn't fill, which means a secret the settings refer to is gone. That re-offers Bitwarden under the same limits. Which setting is missing never reaches a message or the ledger. Off behind `recommendedServices.reoffers.enabled`.
9
+
10
+ ## What to Tell Your User
11
+
12
+ Nothing changes yet (off by default). When it's on, if the agent starts up and finds a saved password or key missing with no vault keeping a copy, it asks about Bitwarden once more, if you'd said no before.
13
+
14
+ ## Summary of New Capabilities
15
+
16
+ - `secret-lost` re-offer source (boot check). No new routes.
17
+
18
+ ## Evidence
19
+
20
+ - Unit and integration: `recommended-services-reoffers` tests (placeholder walk, depth bound, once per start, dark). E2E: production wiring records `secret-lost` once at start when enabled.
@@ -31,3 +31,6 @@ Rows replicate with the existing `recommendedServices` store. Any machine record
31
31
 
32
32
  ## 8. Rollback cost
33
33
  Turn the switch off, or revert. Rows already written stay in the ledger and are ignored by older code.
34
+
35
+ ## Slice B: `secret-lost` (boot check)
36
+ `findUnresolvedSecrets(config)` in `src/recommended/reoffers.ts` walks the loaded config (bounded depth 8) for `{ "secret": true }` placeholders that survived the merge with the encrypted store. `recommendedServiceRoutes.ts` runs it once per server start (first tick with a ledger and an owner) through the new `unresolvedSecrets` dep and records `secret-lost` / `boot`, which re-offers Bitwarden under the same floor. Paths never reach the ledger or a message. Checked against the live Echo config: no false positive (zero unresolved). Over-block: a secret lost mid-run is only seen at the next start. Under-block: the CLI restore marker named in the spec is not built here; it lands with `state-loss-risk`. A check that throws is reported under `RecommendedServices.reoffer` and that start isn't counted. Dark behind the same switch.
@@ -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).