instar 1.3.1978 → 1.3.1980

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 (80) hide show
  1. package/dist/commands/server.d.ts.map +1 -1
  2. package/dist/commands/server.js +9 -7
  3. package/dist/commands/server.js.map +1 -1
  4. package/dist/core/AppConversationService.d.ts +2 -1
  5. package/dist/core/AppConversationService.d.ts.map +1 -1
  6. package/dist/core/AppConversationService.js +24 -7
  7. package/dist/core/AppConversationService.js.map +1 -1
  8. package/dist/core/AppConversationStore.d.ts +34 -0
  9. package/dist/core/AppConversationStore.d.ts.map +1 -1
  10. package/dist/core/AppConversationStore.js +232 -5
  11. package/dist/core/AppConversationStore.js.map +1 -1
  12. package/dist/core/AppConversationsReplicatedStore.js +1 -1
  13. package/dist/core/AppConversationsReplicatedStore.js.map +1 -1
  14. package/dist/core/AppCreationContext.d.ts +23 -0
  15. package/dist/core/AppCreationContext.d.ts.map +1 -0
  16. package/dist/core/AppCreationContext.js +80 -0
  17. package/dist/core/AppCreationContext.js.map +1 -0
  18. package/dist/core/ChiefOfStaffLoop.d.ts +6 -17
  19. package/dist/core/ChiefOfStaffLoop.d.ts.map +1 -1
  20. package/dist/core/ChiefOfStaffLoop.js +6 -0
  21. package/dist/core/ChiefOfStaffLoop.js.map +1 -1
  22. package/dist/core/ConversationRegistry.d.ts +2 -0
  23. package/dist/core/ConversationRegistry.d.ts.map +1 -1
  24. package/dist/core/ConversationRegistry.js +5 -0
  25. package/dist/core/ConversationRegistry.js.map +1 -1
  26. package/dist/core/CreationPlacementSnapshot.d.ts +24 -0
  27. package/dist/core/CreationPlacementSnapshot.d.ts.map +1 -0
  28. package/dist/core/CreationPlacementSnapshot.js +85 -0
  29. package/dist/core/CreationPlacementSnapshot.js.map +1 -0
  30. package/dist/core/WorkBoardRuntime.d.ts +25 -1
  31. package/dist/core/WorkBoardRuntime.d.ts.map +1 -1
  32. package/dist/core/WorkBoardRuntime.js +80 -3
  33. package/dist/core/WorkBoardRuntime.js.map +1 -1
  34. package/dist/core/ownerWords.d.ts +9 -2
  35. package/dist/core/ownerWords.d.ts.map +1 -1
  36. package/dist/core/ownerWords.js +19 -1
  37. package/dist/core/ownerWords.js.map +1 -1
  38. package/dist/data/standards-guard-index.json +1 -1
  39. package/dist/data/standards-guard-index.meta.json +2 -2
  40. package/dist/data/standards-registry.meta.json +1 -1
  41. package/dist/install/accountChoice.d.ts.map +1 -1
  42. package/dist/install/accountChoice.js +8 -6
  43. package/dist/install/accountChoice.js.map +1 -1
  44. package/dist/messaging/TelegramAdapter.d.ts +5 -0
  45. package/dist/messaging/TelegramAdapter.d.ts.map +1 -1
  46. package/dist/messaging/TelegramAdapter.js +8 -0
  47. package/dist/messaging/TelegramAdapter.js.map +1 -1
  48. package/dist/monitoring/contextBudgetMetrics.d.ts +1 -1
  49. package/dist/monitoring/contextLayers/h3Builder.d.ts +1 -1
  50. package/dist/native/InstarWedgeCanary.app/Contents/MacOS/InstarWedgeCanary +0 -0
  51. package/dist/native/instar-desktop-host +0 -0
  52. package/dist/server/AgentServer.d.ts.map +1 -1
  53. package/dist/server/AgentServer.js +31 -0
  54. package/dist/server/AgentServer.js.map +1 -1
  55. package/dist/server/appCreationHierarchy.d.ts +64 -0
  56. package/dist/server/appCreationHierarchy.d.ts.map +1 -0
  57. package/dist/server/appCreationHierarchy.js +273 -0
  58. package/dist/server/appCreationHierarchy.js.map +1 -0
  59. package/dist/server/mobileConversationRoutes.d.ts +9 -0
  60. package/dist/server/mobileConversationRoutes.d.ts.map +1 -1
  61. package/dist/server/mobileConversationRoutes.js +99 -6
  62. package/dist/server/mobileConversationRoutes.js.map +1 -1
  63. package/dist/server/mobilePairingRoutes.d.ts.map +1 -1
  64. package/dist/server/mobilePairingRoutes.js +3 -0
  65. package/dist/server/mobilePairingRoutes.js.map +1 -1
  66. package/dist/server/routes.d.ts.map +1 -1
  67. package/dist/server/routes.js +31 -5
  68. package/dist/server/routes.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/data/awareness/conversation-creation-context.md +6 -0
  71. package/src/data/builtin-manifest.json +47 -47
  72. package/src/data/standards-guard-index.json +1 -1
  73. package/src/data/standards-guard-index.meta.json +2 -2
  74. package/src/data/standards-registry.meta.json +1 -1
  75. package/upgrades/1.3.1979.md +22 -0
  76. package/upgrades/1.3.1980.md +34 -0
  77. package/upgrades/side-effects/account-choice-never-silent.eli16.md +19 -0
  78. package/upgrades/side-effects/account-choice-never-silent.md +53 -0
  79. package/upgrades/side-effects/conversation-creation-context.md +63 -0
  80. package/upgrades/side-effects/owner-words-owner-unknown.md +30 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "1.3.1978",
3
+ "version": "1.3.1980",
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,6 @@
1
+ ---
2
+ title: Generated chat origins and placement previews
3
+ ---
4
+ New App conversations record their creation source and optional parent. When creating an App session with `POST /sessions/create`, include `parentConversationKey` when the parent is known; omission leaves an agent-created chat unplaced, while explicit null records an intentional root. A parent never grants access and later explicit Chief of Staff placement takes priority.
5
+
6
+ Owner readers can inspect `GET /mobile/conversations/parent-preview` with their existing API authorization. It returns `dryRun:true` and `canApply:false`: inspect its evidence and reasons before proposing any change to existing chats. It never moves, renames or deletes them. List rows distinguish verified children, intentional roots, unresolved generated chats and unknown legacy origins. Missing context from an older machine is unknown, not permission to infer a parent from the title. This capability does not promise recovery while the original computer is offline.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-11-23T00:02:47.012Z",
5
- "instarVersion": "1.3.1978",
4
+ "generatedAt": "2026-11-23T06:17:42.373Z",
5
+ "instarVersion": "1.3.1980",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
455
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
463
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
471
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
479
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
487
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
495
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
503
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
511
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
519
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
527
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
535
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
543
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
551
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
559
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
567
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
575
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
583
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
591
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
599
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
607
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
615
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
623
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
631
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
639
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
647
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
655
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
663
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
671
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
679
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
687
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
695
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
703
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
711
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
719
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
727
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
735
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
743
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
751
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
759
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
767
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
775
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
783
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
791
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "a504666483612cefa2ca25e9734655f8c2df26d59b858a18b19863da54bd7d91",
807
+ "contentHash": "72e910b4e403c41563ac1b49709feb0bb0bf85c02c685dde93d542a28c983eed",
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": "08cf145bd4f71edd2d17c3c3333dc94c08b32d020c1eebe2fc1c4d5ce295420b",
1599
+ "contentHash": "830aeeb924c8c51442eb856e801bfbf82881fa19441aa83460071047852d741f",
1600
1600
  "since": "2025-01-01"
1601
1601
  },
1602
1602
  "subsystem:session-manager": {
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
5
- "packageVersion": "1.3.1978",
5
+ "packageVersion": "1.3.1980",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "6060f8680b394c445cc470376304ed75b018dfce293aa9bf187a075400b94c3c",
2
+ "sha256": "f286225fad69021747c3c3c21be6b436a6a481fa98213913cdc4a55d0585cd0d",
3
3
  "registrySha256": "11e2a45ab1345e2ded6499404ee9962e4e48bcfed4677a4d31dac4492565d2fa",
4
- "packageVersion": "1.3.1978"
4
+ "packageVersion": "1.3.1980"
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.1978"
5
+ "packageVersion": "1.3.1980"
6
6
  }
@@ -0,0 +1,22 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ New App conversations record whether a person, a session or a Work Board card created them, together with an optional parent. Owner conversation lists expose verified hierarchy while keeping unresolved generated chats available. Existing explicit placement choices take priority, and unreadable parents are not disclosed.
9
+
10
+ The owner-only `GET /mobile/conversations/parent-preview` provides a read-only proposal for existing chats. It does not move, rename or delete them. Older machines can omit creation metadata; this is reported as unknown or unplaced, with no promise of recovery while the creator is offline.
11
+
12
+ ## What to Tell Your User
13
+
14
+ - New agent-created chats can be grouped with their verified parent. Existing chats can be previewed before any placement change. The native app release and its verified behavior are reported separately from this server update.
15
+
16
+ ## Summary of New Capabilities
17
+
18
+ | Capability | How To Use |
19
+ |-----------|-----------|
20
+ | Recorded App chat origin | Creation paths record the source automatically; session creation accepts optional `parentConversationKey` |
21
+ | Safe hierarchy metadata | Owner list rows expose `creationSource` and `hierarchyState` without changing access |
22
+ | Existing-chat placement preview | Read `/mobile/conversations/parent-preview`; `dryRun:true` and `canApply:false` prohibit applying it |
@@ -0,0 +1,34 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ The installer's account-choice step (`src/install/accountChoice.ts`) had a compatibility fallback: when an install was resumed while waiting at `do-account-choice` and the answers file carried no `account` field, it treated the caller as an app from before the question existed and silently used the default config folder (`~/.claude` or `~/.codex`) when it was signed in. That claimed an account the person never chose. It now asks again (`awaiting-person` with the same account cards) and its instruction says to update the Instar app if no choice appears. An answer on resume still completes the step as before. The spec `create-agent-accounts-and-always-on.md` §A.2 is amended to match.
9
+
10
+ SEC-105, a gap left by the SEC-069 fix. `isOwnersOwnWords` returned true for ANY verified Telegram sender when the owner id was undefined, while `getVerifiedOwner()` documents undefined as "no owner is known, never anybody". On an agent with no configured owner, no verified operator, and more than one authorized Telegram sender, a non-owner's words became the owner's learned preferences and fed the Jev correction shadow.
11
+
12
+ `isOwnersOwnWords` now requires a known owner id for a Telegram row. A new `learningOwnerId(verifiedOwner, authorizedUserIds)` picks the id the learners use: the verified owner, else the agent's ONE allowed sender (a single-person agent with no owner configured), else nobody. `TelegramAdapter.getLearningOwner()` exposes it, and both learners now use it: correction capture and the Jev correction shadow (`src/commands/server.ts`). App messages are unchanged (role `owner`, or the owner's own paired phone).
13
+
14
+ ## What to Tell Your User
15
+
16
+ - **Setup always asks which account**: "When you create an agent and you're already signed in to Claude or ChatGPT on this computer, setup now always asks which account to use. It never quietly picks one for you, even if you're using an older version of the app."
17
+
18
+ - **Only you teach me your preferences**: "If I don't know who my owner is and several people can message me, I no longer learn 'your' preferences from whoever writes. If you're the only person who can message me, nothing changes."
19
+
20
+ ## Summary of New Capabilities
21
+
22
+ | Capability | How to Use |
23
+ |-----------|-----------|
24
+ | The account choice is never skipped on resume | Automatic |
25
+
26
+ | Capability | How to Use |
27
+ |-----------|-----------|
28
+ | Learning from Telegram needs a known owner (or a single allowed sender) | Automatic |
29
+
30
+ ## Evidence
31
+
32
+ - `tests/unit/install-account-choice.test.ts`: the old test that expected the silent default is replaced by one that fails on main. For both Claude and ChatGPT, a resume without an answer stays at the step with every account card and the update-the-app instruction, and does not fall through to sign-in with only a non-default account. A second test checks that a resume with an answer still completes. 12/12 pass; neighbouring `install-flow` and `install-accounts` tests pass (54/54).
33
+
34
+ - Unit: `tests/unit/team-words-not-learned.test.ts` covers an unknown owner counting nobody, and `learningOwnerId` returning the verified owner first, then a sole numeric or string allowed id, then nobody when there are several, none, or the id is malformed. A single-person agent still learns; a second sender does not. `tests/unit/jev-correction-shadow.test.ts` covers an unknown owner with a verified non-owner sender never being classified, and the existing cases now pass the owner explicitly. The source pins in `team-guards` and `team-words-not-learned` follow the new `getLearningOwner()` wiring. Adapter tests cover owner precedence, a single sender, two senders and a second sender added at runtime. Edge cases cover `0`, negative group ids, padded or zero-led strings and duplicates. 105 tests in 3 files pass.
@@ -0,0 +1,19 @@
1
+ # Setup never picks an AI account on its own
2
+
3
+ ## What is going on
4
+
5
+ When you create a new Instar agent, you pick Claude or ChatGPT. Many people are already signed in to one or more of those accounts on their computer: a personal account, a work account, or the accounts their other agents use. Since 17 November, setup is supposed to show those accounts and ask which one the new agent should use, or offer to sign in to a different one.
6
+
7
+ That step had a back door. If setup was restarted while it was waiting for this answer, and no answer came with the restart, it assumed it was talking to an older app that didn't know the question. It then quietly used whichever account sat in the usual place. On 19 November Justin said plainly that setup must never just assume and claim an account.
8
+
9
+ ## What changes
10
+
11
+ When setup is restarted at that step without an answer, it no longer picks an account. It shows the same list again and waits. Its message says that if no choice appears, the person should update the Instar app and try again. Once an answer arrives, setup carries on exactly as before. If there are no accounts on the computer at all, nothing changes: there is nothing to choose, so setup goes straight to signing in.
12
+
13
+ ## Safeguards
14
+
15
+ Nothing is deleted or moved, and no settings change. The current Mac app always sends the answer, so it is not affected. Only an app from before 17 November would now stop and ask for an update instead of silently using an account.
16
+
17
+ ## What needs deciding
18
+
19
+ Nothing.
@@ -0,0 +1,53 @@
1
+ # Side-Effects Review — Setup never picks an AI account on its own
2
+
3
+ ## Summary of the change
4
+
5
+ Tier 1: 3 files, about 25 changed lines; one change, one commit attempt. In `accountChoiceStep`, the branch for "resumed while awaiting `do-account-choice`, no answer given" used to return `done`, silently taking the default signed-in folder. Now it returns `awaiting-person` with the account cards and a plain instruction. Origin: Justin, 2026-11-19, topic 143810: "it never asked me to choose a chatgpt account or login. This is a failure. It should NOT just assume and claim an account." (His run used an installer copy, 1.3.1875, that predates the account choice. This removes the remaining path by which any app could still get a silent claim.)
6
+
7
+ ## Decision-point inventory
8
+
9
+ One install-flow branch: whether to proceed without the person's pick. It now never proceeds without one when accounts exist.
10
+
11
+ ## 1. Over-block
12
+
13
+ An app from before 17 November resumes without an answer and stays at the step. It shows its generic waiting screen with the new instruction ("update the Instar app"). That person must update the app to finish, instead of getting the default account silently. This is intended: Justin ruled out the silent claim. A terminal-only person resuming without an answers file sees the same instruction. They can answer with `--answers` as before. Current Mac builds (95 and later) always write `account`.
14
+
15
+ ## 2. Under-block
16
+
17
+ When no account is found, the step still finishes with `done` and goes to sign-in. That is correct, because there is nothing to choose. Whether the Mac's own Instar copy is up to date is the Mac app's job (it refreshes at each setup since build 111, with a 15-second limit). This change covers the case where that refresh fails.
18
+
19
+ ## 3. Level-of-abstraction fit
20
+
21
+ The change sits in the single pure function that owns the choice. The caller in `install.ts` is unchanged.
22
+
23
+ ## 4. Signal vs authority compliance
24
+
25
+ No detector or gate. A setup step now waits for the person instead of acting for them, which moves authority to the person.
26
+
27
+ ## 5. Interactions
28
+
29
+ `door-sign-in` reads `accountConfigHome`. It now only runs after an explicit pick, a new-account answer, or when no account exists. The stale-pick branch is unchanged.
30
+
31
+ ## 6. External surfaces
32
+
33
+ The instruction text shown at the waiting step is new. Nothing changes on the network or in the config.
34
+
35
+ ## 6b. Operator-surface quality
36
+
37
+ The text is plain and says what to do next.
38
+
39
+ ## 7. Multi-machine posture
40
+
41
+ `machine-local-justification: per-install-local-flow`. An install runs on one computer, against that computer's account folders.
42
+
43
+ ## 8. Rollback cost
44
+
45
+ Revert the commit. No state carries over: install progress files keep the same shape.
46
+
47
+ ## Conclusion
48
+
49
+ Safe and small. It removes a silent account claim.
50
+
51
+ ## Second-pass review (if required)
52
+
53
+ Not required. No messaging, session-lifecycle, gate or sentinel authority is involved.