instar 0.28.57 → 0.28.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "0.28.57",
3
+ "version": "0.28.59",
4
4
  "description": "Persistent autonomy infrastructure for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-04-19T01:44:08.314Z",
5
- "instarVersion": "0.28.57",
4
+ "generatedAt": "2026-04-19T02:56:02.572Z",
5
+ "instarVersion": "0.28.59",
6
6
  "entryCount": 186,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -376,7 +376,7 @@
376
376
  "type": "route-group",
377
377
  "domain": "monitoring",
378
378
  "sourcePath": "src/server/routes.ts",
379
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
379
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
380
380
  "since": "2025-01-01"
381
381
  },
382
382
  "route-group:agents": {
@@ -384,7 +384,7 @@
384
384
  "type": "route-group",
385
385
  "domain": "sessions",
386
386
  "sourcePath": "src/server/routes.ts",
387
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
387
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
388
388
  "since": "2025-01-01"
389
389
  },
390
390
  "route-group:backups": {
@@ -392,7 +392,7 @@
392
392
  "type": "route-group",
393
393
  "domain": "operations",
394
394
  "sourcePath": "src/server/routes.ts",
395
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
395
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
396
396
  "since": "2025-01-01"
397
397
  },
398
398
  "route-group:git": {
@@ -400,7 +400,7 @@
400
400
  "type": "route-group",
401
401
  "domain": "coordination",
402
402
  "sourcePath": "src/server/routes.ts",
403
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
403
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
404
404
  "since": "2025-01-01"
405
405
  },
406
406
  "route-group:memory": {
@@ -408,7 +408,7 @@
408
408
  "type": "route-group",
409
409
  "domain": "memory",
410
410
  "sourcePath": "src/server/routes.ts",
411
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
411
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
412
412
  "since": "2025-01-01"
413
413
  },
414
414
  "route-group:semantic": {
@@ -416,7 +416,7 @@
416
416
  "type": "route-group",
417
417
  "domain": "memory",
418
418
  "sourcePath": "src/server/routes.ts",
419
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
419
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
420
420
  "since": "2025-01-01"
421
421
  },
422
422
  "route-group:status": {
@@ -424,7 +424,7 @@
424
424
  "type": "route-group",
425
425
  "domain": "monitoring",
426
426
  "sourcePath": "src/server/routes.ts",
427
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
427
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
428
428
  "since": "2025-01-01"
429
429
  },
430
430
  "route-group:capabilities": {
@@ -432,7 +432,7 @@
432
432
  "type": "route-group",
433
433
  "domain": "mapping",
434
434
  "sourcePath": "src/server/routes.ts",
435
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
435
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
436
436
  "since": "2025-01-01"
437
437
  },
438
438
  "route-group:project-map": {
@@ -440,7 +440,7 @@
440
440
  "type": "route-group",
441
441
  "domain": "mapping",
442
442
  "sourcePath": "src/server/routes.ts",
443
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
443
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
444
444
  "since": "2025-01-01"
445
445
  },
446
446
  "route-group:coherence": {
@@ -448,7 +448,7 @@
448
448
  "type": "route-group",
449
449
  "domain": "coherence",
450
450
  "sourcePath": "src/server/routes.ts",
451
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
451
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
452
452
  "since": "2025-01-01"
453
453
  },
454
454
  "route-group:topic-bindings": {
@@ -456,7 +456,7 @@
456
456
  "type": "route-group",
457
457
  "domain": "sessions",
458
458
  "sourcePath": "src/server/routes.ts",
459
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
459
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
460
460
  "since": "2025-01-01"
461
461
  },
462
462
  "route-group:context": {
@@ -464,7 +464,7 @@
464
464
  "type": "route-group",
465
465
  "domain": "context",
466
466
  "sourcePath": "src/server/routes.ts",
467
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
467
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
468
468
  "since": "2025-01-01"
469
469
  },
470
470
  "route-group:scope-coherence": {
@@ -472,7 +472,7 @@
472
472
  "type": "route-group",
473
473
  "domain": "coherence",
474
474
  "sourcePath": "src/server/routes.ts",
475
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
475
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
476
476
  "since": "2025-01-01"
477
477
  },
478
478
  "route-group:canonical-state": {
@@ -480,7 +480,7 @@
480
480
  "type": "route-group",
481
481
  "domain": "state",
482
482
  "sourcePath": "src/server/routes.ts",
483
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
483
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
484
484
  "since": "2025-01-01"
485
485
  },
486
486
  "route-group:ci": {
@@ -488,7 +488,7 @@
488
488
  "type": "route-group",
489
489
  "domain": "monitoring",
490
490
  "sourcePath": "src/server/routes.ts",
491
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
491
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
492
492
  "since": "2025-01-01"
493
493
  },
494
494
  "route-group:sessions": {
@@ -496,7 +496,7 @@
496
496
  "type": "route-group",
497
497
  "domain": "sessions",
498
498
  "sourcePath": "src/server/routes.ts",
499
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
499
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
500
500
  "since": "2025-01-01"
501
501
  },
502
502
  "route-group:jobs": {
@@ -504,7 +504,7 @@
504
504
  "type": "route-group",
505
505
  "domain": "scheduling",
506
506
  "sourcePath": "src/server/routes.ts",
507
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
507
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
508
508
  "since": "2025-01-01"
509
509
  },
510
510
  "route-group:skip-ledger": {
@@ -512,7 +512,7 @@
512
512
  "type": "route-group",
513
513
  "domain": "scheduling",
514
514
  "sourcePath": "src/server/routes.ts",
515
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
515
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
516
516
  "since": "2025-01-01"
517
517
  },
518
518
  "route-group:telegram": {
@@ -520,7 +520,7 @@
520
520
  "type": "route-group",
521
521
  "domain": "communication",
522
522
  "sourcePath": "src/server/routes.ts",
523
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
523
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
524
524
  "since": "2025-01-01"
525
525
  },
526
526
  "route-group:attention": {
@@ -528,7 +528,7 @@
528
528
  "type": "route-group",
529
529
  "domain": "communication",
530
530
  "sourcePath": "src/server/routes.ts",
531
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
531
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
532
532
  "since": "2025-01-01"
533
533
  },
534
534
  "route-group:relationships": {
@@ -536,7 +536,7 @@
536
536
  "type": "route-group",
537
537
  "domain": "relationships",
538
538
  "sourcePath": "src/server/routes.ts",
539
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
539
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
540
540
  "since": "2025-01-01"
541
541
  },
542
542
  "route-group:feedback": {
@@ -544,7 +544,7 @@
544
544
  "type": "route-group",
545
545
  "domain": "feedback",
546
546
  "sourcePath": "src/server/routes.ts",
547
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
547
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
548
548
  "since": "2025-01-01"
549
549
  },
550
550
  "route-group:updates": {
@@ -552,7 +552,7 @@
552
552
  "type": "route-group",
553
553
  "domain": "updates",
554
554
  "sourcePath": "src/server/routes.ts",
555
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
555
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
556
556
  "since": "2025-01-01"
557
557
  },
558
558
  "route-group:dispatches": {
@@ -560,7 +560,7 @@
560
560
  "type": "route-group",
561
561
  "domain": "dispatches",
562
562
  "sourcePath": "src/server/routes.ts",
563
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
563
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
564
564
  "since": "2025-01-01"
565
565
  },
566
566
  "route-group:quota": {
@@ -568,7 +568,7 @@
568
568
  "type": "route-group",
569
569
  "domain": "monitoring",
570
570
  "sourcePath": "src/server/routes.ts",
571
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
571
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
572
572
  "since": "2025-01-01"
573
573
  },
574
574
  "route-group:publishing": {
@@ -576,7 +576,7 @@
576
576
  "type": "route-group",
577
577
  "domain": "publishing",
578
578
  "sourcePath": "src/server/routes.ts",
579
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
579
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
580
580
  "since": "2025-01-01"
581
581
  },
582
582
  "route-group:private-views": {
@@ -584,7 +584,7 @@
584
584
  "type": "route-group",
585
585
  "domain": "publishing",
586
586
  "sourcePath": "src/server/routes.ts",
587
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
587
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
588
588
  "since": "2025-01-01"
589
589
  },
590
590
  "route-group:tunnel": {
@@ -592,7 +592,7 @@
592
592
  "type": "route-group",
593
593
  "domain": "networking",
594
594
  "sourcePath": "src/server/routes.ts",
595
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
595
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
596
596
  "since": "2025-01-01"
597
597
  },
598
598
  "route-group:events": {
@@ -600,7 +600,7 @@
600
600
  "type": "route-group",
601
601
  "domain": "networking",
602
602
  "sourcePath": "src/server/routes.ts",
603
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
603
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
604
604
  "since": "2025-01-01"
605
605
  },
606
606
  "route-group:evolution": {
@@ -608,7 +608,7 @@
608
608
  "type": "route-group",
609
609
  "domain": "evolution",
610
610
  "sourcePath": "src/server/routes.ts",
611
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
611
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
612
612
  "since": "2025-01-01"
613
613
  },
614
614
  "route-group:watchdog": {
@@ -616,7 +616,7 @@
616
616
  "type": "route-group",
617
617
  "domain": "monitoring",
618
618
  "sourcePath": "src/server/routes.ts",
619
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
619
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
620
620
  "since": "2025-01-01"
621
621
  },
622
622
  "route-group:topic-memory": {
@@ -624,7 +624,7 @@
624
624
  "type": "route-group",
625
625
  "domain": "memory",
626
626
  "sourcePath": "src/server/routes.ts",
627
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
627
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
628
628
  "since": "2025-01-01"
629
629
  },
630
630
  "route-group:state-sync": {
@@ -632,7 +632,7 @@
632
632
  "type": "route-group",
633
633
  "domain": "coordination",
634
634
  "sourcePath": "src/server/routes.ts",
635
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
635
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
636
636
  "since": "2025-01-01"
637
637
  },
638
638
  "route-group:intent": {
@@ -640,7 +640,7 @@
640
640
  "type": "route-group",
641
641
  "domain": "intent",
642
642
  "sourcePath": "src/server/routes.ts",
643
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
643
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
644
644
  "since": "2025-01-01"
645
645
  },
646
646
  "route-group:triage": {
@@ -648,7 +648,7 @@
648
648
  "type": "route-group",
649
649
  "domain": "safety",
650
650
  "sourcePath": "src/server/routes.ts",
651
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
651
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
652
652
  "since": "2025-01-01"
653
653
  },
654
654
  "route-group:operations": {
@@ -656,7 +656,7 @@
656
656
  "type": "route-group",
657
657
  "domain": "safety",
658
658
  "sourcePath": "src/server/routes.ts",
659
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
659
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
660
660
  "since": "2025-01-01"
661
661
  },
662
662
  "route-group:sentinel": {
@@ -664,7 +664,7 @@
664
664
  "type": "route-group",
665
665
  "domain": "safety",
666
666
  "sourcePath": "src/server/routes.ts",
667
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
667
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
668
668
  "since": "2025-01-01"
669
669
  },
670
670
  "route-group:trust": {
@@ -672,7 +672,7 @@
672
672
  "type": "route-group",
673
673
  "domain": "safety",
674
674
  "sourcePath": "src/server/routes.ts",
675
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
675
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
676
676
  "since": "2025-01-01"
677
677
  },
678
678
  "route-group:monitoring": {
@@ -680,7 +680,7 @@
680
680
  "type": "route-group",
681
681
  "domain": "monitoring",
682
682
  "sourcePath": "src/server/routes.ts",
683
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
683
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
684
684
  "since": "2025-01-01"
685
685
  },
686
686
  "route-group:commitments": {
@@ -688,7 +688,7 @@
688
688
  "type": "route-group",
689
689
  "domain": "commitments",
690
690
  "sourcePath": "src/server/routes.ts",
691
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
691
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
692
692
  "since": "2025-01-01"
693
693
  },
694
694
  "route-group:episodes": {
@@ -696,7 +696,7 @@
696
696
  "type": "route-group",
697
697
  "domain": "memory",
698
698
  "sourcePath": "src/server/routes.ts",
699
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
699
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
700
700
  "since": "2025-01-01"
701
701
  },
702
702
  "route-group:messages": {
@@ -704,7 +704,7 @@
704
704
  "type": "route-group",
705
705
  "domain": "coordination",
706
706
  "sourcePath": "src/server/routes.ts",
707
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
707
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
708
708
  "since": "2025-01-01"
709
709
  },
710
710
  "route-group:system-reviews": {
@@ -712,7 +712,7 @@
712
712
  "type": "route-group",
713
713
  "domain": "monitoring",
714
714
  "sourcePath": "src/server/routes.ts",
715
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
715
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
716
716
  "since": "2025-01-01"
717
717
  },
718
718
  "route-group:machine-mesh": {
@@ -728,7 +728,7 @@
728
728
  "type": "route-group",
729
729
  "domain": "security",
730
730
  "sourcePath": "src/server/routes.ts",
731
- "contentHash": "359d003217804e331ddac017935e82648c92af3aa7722f1ccf9a446da7a7c293",
731
+ "contentHash": "c51ab969d09e9338fc44ddcc10230977f18a0ca1bc56ee64a5dd5a84496214c6",
732
732
  "since": "2025-01-01"
733
733
  },
734
734
  "cli:init": {
@@ -1400,7 +1400,7 @@
1400
1400
  "type": "subsystem",
1401
1401
  "domain": "server",
1402
1402
  "sourcePath": "src/server/AgentServer.ts",
1403
- "contentHash": "b146af582df111b9fa285414704e8626b5bbac5b85093deae4ee64efaa12c90e",
1403
+ "contentHash": "9660ad8c2bd4f4d6b144c8a41322c55f2ea2d2cc7d9d0b10a8192ddd736fa2d7",
1404
1404
  "since": "2025-01-01"
1405
1405
  },
1406
1406
  "subsystem:session-manager": {
@@ -0,0 +1,54 @@
1
+ # Upgrade Guide — vNEXT (Initiative Tracker for long-running work)
2
+
3
+ <!-- bump: minor -->
4
+
5
+ ## What Changed
6
+
7
+ Adds a persisted **Initiative Tracker** — a structural surface for multi-week, multi-phase work that was previously drifting out of sight between Telegram messages, handoff notes, and ad-hoc checklists. The core gap it closes: after a user approves a phased effort (PR-hardening, context-death hardening, etc.), the next phase would stall silently because nothing in the agent's state said "this is phase N of M, last touched D, awaiting user decision X."
8
+
9
+ **What ships:**
10
+
11
+ - `InitiativeTracker` class (`src/core/InitiativeTracker.ts`) persists `.instar/initiatives.json`. CRUD, phase transitions, and a digest scan that emits four signal types: `stale` (>7d no movement), `awaiting-user` (blocked on user input), `next-check-due` (explicit next-check date reached), `ready-to-advance` (phase exit criteria met).
12
+ - 7 HTTP endpoints under `/initiatives`, auth-gated like `/jobs`:
13
+ - `GET /initiatives` — list
14
+ - `GET /initiatives/:id` — fetch
15
+ - `POST /initiatives` — create
16
+ - `PATCH /initiatives/:id` — update
17
+ - `POST /initiatives/:id/transition` — move to next phase
18
+ - `DELETE /initiatives/:id` — remove
19
+ - `GET /initiatives/digest` — signal scan for currently-actionable items
20
+ - Dashboard "Initiatives" tab — read-only, XSS-safe (uses `textContent`). Renders current phase, last-touched, blockers, what-needs-you.
21
+ - 52 new tests (28 core + 15 route + 9 dashboard smoke). `tsc --noEmit` clean.
22
+ - Spec: `docs/specs/INITIATIVE-TRACKER-SPEC.md` (approved by Justin in Telegram topic 2317 on 2026-04-17; recovered via PR #68 after the original commit was orphaned during a main-branch reset).
23
+
24
+ **What is not in this release (deferred):**
25
+ - Daily digest job that posts `awaiting-user` cards to Telegram (Phase 2 — separate commit).
26
+ - Editable initiatives from the dashboard (read-only only for now).
27
+
28
+ ## What to Tell Your User
29
+
30
+ Long-running work on instar used to drift: you'd approve "Phase A first, then we'll flip to Phase B shadow mode," and then nothing automatic existed to remind either of us that Phase B was waiting. Agents had to re-scan Telegram history or re-read handoff notes to notice blocked work. The Initiative Tracker is the fix — a single place where multi-phase efforts are recorded with current phase, last-touched, and what (if anything) is blocking progress.
31
+
32
+ After updating, your dashboard gets a new **Initiatives** tab. Until we (or an agent) actually seed it with entries, it'll be empty — that's expected. Tell me to populate it with the long-running work I'm tracking and it'll fill in.
33
+
34
+ ## Summary of New Capabilities
35
+
36
+ | Capability | How to Use |
37
+ |-----------|-----------|
38
+ | Initiative Tracker (persisted multi-phase state) | API: `GET /initiatives`, `POST /initiatives`, `PATCH /initiatives/:id`, `POST /initiatives/:id/transition`, `GET /initiatives/digest` |
39
+ | Dashboard Initiatives tab (read-only view) | Open the dashboard, click **Initiatives** |
40
+ | Digest scan for actionable items | `GET /initiatives/digest` returns items tagged `stale`, `awaiting-user`, `next-check-due`, `ready-to-advance` |
41
+
42
+ ## Evidence
43
+
44
+ **Tests:** 52 new tests added in this release, all green. Existing suites unaffected: `BackupManager` 42/42, `PostUpdateMigrator` 24/24, route coverage unchanged. Full CI green on the landing PR (#68): Type Check ✓, verify ✓, Unit Tests on Node 20 ✓, Unit Tests on Node 22 ✓, Build ✓, Integration Tests ✓, E2E Tests ✓.
45
+
46
+ **Recovery context:** The original commit (`f237d55` in reflog) landed on main locally during a prior session but was lost when main was reset to match origin during an unrelated conflict resolution. Files were recovered from the reflog, conflicts were surgically resolved in three files (`src/commands/server.ts` added InitiativeTracker construction alongside parallel-dev wiring; `src/server/AgentServer.ts` added option alongside `unjustifiedStopGate`; `src/data/builtin-manifest.json` regenerated). Merged cleanly with CI verification as the safety net.
47
+
48
+ ## Deployment Notes
49
+
50
+ - No operator action required on update. The tracker is available as soon as the new code is running.
51
+ - `.instar/initiatives.json` is created lazily on first write — no migration step needed.
52
+ - `/initiatives/*` routes are auth-gated like `/jobs` — requires `Authorization: Bearer <authToken>`.
53
+ - Dashboard Initiatives tab appears automatically once the server is on the new version.
54
+ - Existing initiatives elsewhere (handoff notes, Telegram threads) are not auto-imported — seed manually via `POST /initiatives` or ask your agent to populate from context.
@@ -0,0 +1,85 @@
1
+ # Upgrade Guide — Dashboard "Resume live output" reliability + always-visible control
2
+
3
+ ## What Changed
4
+
5
+ Fixed two long-standing rough edges in the dashboard's terminal view for the
6
+ "▼ Resume live output" control.
7
+
8
+ ### Scroll-to-bottom now actually lands at the bottom
9
+
10
+ Clicking "▼ Resume live output" after scrolling up in a session view used to
11
+ sometimes leave the viewport mid-history instead of snapping to the tail of
12
+ live output — defeating the purpose of the button. The same stale-scroll
13
+ happened on the two sibling auto-resume paths that fire when the user
14
+ scrolls back to the bottom or wheels down into it.
15
+
16
+ Root cause: `term.write(data)` in xterm is asynchronous. The old code called
17
+ `term.scrollToBottom()` immediately after the write, or inside a
18
+ `requestAnimationFrame` — neither guarantees the buffer has been populated,
19
+ so the scroll operated on stale viewport state and landed above the new
20
+ output.
21
+
22
+ Fix: all three resume paths now use xterm's write-completion callback —
23
+ `term.write(data, () => term.scrollToBottom())`. The scroll runs after the
24
+ buffer is populated, so the viewport lands at the new bottom.
25
+
26
+ ### The button is always visible when paused
27
+
28
+ Previously the "▼ Resume live output" button only appeared when new output
29
+ happened to arrive while the user was scrolled up. In idle sessions —
30
+ nothing streaming, user just scrolled up to read history — the button never
31
+ surfaced, and there was no UI control to jump back to live.
32
+
33
+ Fix: button visibility now mirrors `!userIsFollowing` from every code path
34
+ that flips the flag. Scroll up in a session view (idle or streaming) and the
35
+ button appears. Scroll back to the bottom, click the button, wheel down into
36
+ the tail, or switch sessions, and the button hides.
37
+
38
+ ## What to Tell Your User
39
+
40
+ The "Resume live output" button in your dashboard's session view now works
41
+ the way you'd expect: it shows up any time you've scrolled up (even in an
42
+ idle session where nothing is streaming), and clicking it reliably drops
43
+ you at the bottom of the live output instead of leaving you mid-history.
44
+
45
+ ## Summary of New Capabilities
46
+
47
+ | Capability | How to Use |
48
+ |-----------|-----------|
49
+ | Reliable auto-follow resume in the dashboard terminal | Click "▼ Resume live output" after scrolling up in any session view; viewport snaps to the bottom |
50
+ | Button always available while paused | Scroll up in any session — the button surfaces automatically; scroll back down or click it to resume |
51
+
52
+ ## Evidence
53
+
54
+ The fix was reproduced from Justin's report (topic 6309 on echo agent): the
55
+ button left him mid-history, and in idle sessions there was no button at
56
+ all.
57
+
58
+ Regression test (`tests/unit/dashboard-resumeLive.test.ts`, 10 tests) locks
59
+ in both invariants at the HTML-inspection layer:
60
+
61
+ - Scroll-after-write: all three resume paths use the xterm write callback;
62
+ the old `term.write(data); requestAnimationFrame(() => term.scrollToBottom())`
63
+ shape is explicitly banned.
64
+ - Button visibility: `term.onScroll` shows the button on scroll-up and
65
+ hides it on scroll-to-bottom; the wheel-down resume path hides the
66
+ button; session-switch reset hides any carry-over button.
67
+
68
+ Full dashboard test suite green across `dashboard-*.test.ts`.
69
+
70
+ Side-effects review:
71
+ `upgrades/side-effects/dashboard-resume-live-scroll.md` — concludes no
72
+ decision-point touched (pure UI timing + visibility fix), no over/under-block
73
+ risk, trivial rollback (git revert).
74
+
75
+ ## Deployment Notes
76
+
77
+ No operator action required on update. The dashboard is static HTML served
78
+ from the installed instar package — clients pick up the fix on their next
79
+ page load after `instar` updates to 0.28.59.
80
+
81
+ ## Rollback
82
+
83
+ Downgrade reverts the three resume paths to the prior (racy) code and
84
+ returns the button to its contingent-on-new-output visibility. No schema
85
+ changes, no state-file changes, no API changes.