instar 0.28.96 → 0.28.97

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.96",
3
+ "version": "0.28.97",
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-05-12T13:08:51.877Z",
5
- "instarVersion": "0.28.96",
4
+ "generatedAt": "2026-05-12T19:22:01.542Z",
5
+ "instarVersion": "0.28.97",
6
6
  "entryCount": 188,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -368,7 +368,7 @@
368
368
  "type": "skill",
369
369
  "domain": "skills",
370
370
  "sourcePath": ".claude/skills/instar-project/SKILL.md",
371
- "contentHash": "8c8a924740d8afedeb5e0b4bea7a3760c9654dc6b49a9a415429fe0366ff8429",
371
+ "contentHash": "d35b3aeb1bd4ab1a416db1d7ede4203a447eacb6381e05ff4d7de405488fd2f6",
372
372
  "since": "2025-01-01"
373
373
  },
374
374
  "skill:secret-setup": {
@@ -392,7 +392,7 @@
392
392
  "type": "route-group",
393
393
  "domain": "monitoring",
394
394
  "sourcePath": "src/server/routes.ts",
395
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
395
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
396
396
  "since": "2025-01-01"
397
397
  },
398
398
  "route-group:agents": {
@@ -400,7 +400,7 @@
400
400
  "type": "route-group",
401
401
  "domain": "sessions",
402
402
  "sourcePath": "src/server/routes.ts",
403
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
403
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
404
404
  "since": "2025-01-01"
405
405
  },
406
406
  "route-group:backups": {
@@ -408,7 +408,7 @@
408
408
  "type": "route-group",
409
409
  "domain": "operations",
410
410
  "sourcePath": "src/server/routes.ts",
411
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
411
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
412
412
  "since": "2025-01-01"
413
413
  },
414
414
  "route-group:git": {
@@ -416,7 +416,7 @@
416
416
  "type": "route-group",
417
417
  "domain": "coordination",
418
418
  "sourcePath": "src/server/routes.ts",
419
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
419
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
420
420
  "since": "2025-01-01"
421
421
  },
422
422
  "route-group:memory": {
@@ -424,7 +424,7 @@
424
424
  "type": "route-group",
425
425
  "domain": "memory",
426
426
  "sourcePath": "src/server/routes.ts",
427
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
427
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
428
428
  "since": "2025-01-01"
429
429
  },
430
430
  "route-group:semantic": {
@@ -432,7 +432,7 @@
432
432
  "type": "route-group",
433
433
  "domain": "memory",
434
434
  "sourcePath": "src/server/routes.ts",
435
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
435
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
436
436
  "since": "2025-01-01"
437
437
  },
438
438
  "route-group:status": {
@@ -440,7 +440,7 @@
440
440
  "type": "route-group",
441
441
  "domain": "monitoring",
442
442
  "sourcePath": "src/server/routes.ts",
443
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
443
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
444
444
  "since": "2025-01-01"
445
445
  },
446
446
  "route-group:capabilities": {
@@ -448,7 +448,7 @@
448
448
  "type": "route-group",
449
449
  "domain": "mapping",
450
450
  "sourcePath": "src/server/routes.ts",
451
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
451
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
452
452
  "since": "2025-01-01"
453
453
  },
454
454
  "route-group:project-map": {
@@ -456,7 +456,7 @@
456
456
  "type": "route-group",
457
457
  "domain": "mapping",
458
458
  "sourcePath": "src/server/routes.ts",
459
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
459
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
460
460
  "since": "2025-01-01"
461
461
  },
462
462
  "route-group:coherence": {
@@ -464,7 +464,7 @@
464
464
  "type": "route-group",
465
465
  "domain": "coherence",
466
466
  "sourcePath": "src/server/routes.ts",
467
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
467
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
468
468
  "since": "2025-01-01"
469
469
  },
470
470
  "route-group:topic-bindings": {
@@ -472,7 +472,7 @@
472
472
  "type": "route-group",
473
473
  "domain": "sessions",
474
474
  "sourcePath": "src/server/routes.ts",
475
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
475
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
476
476
  "since": "2025-01-01"
477
477
  },
478
478
  "route-group:context": {
@@ -480,7 +480,7 @@
480
480
  "type": "route-group",
481
481
  "domain": "context",
482
482
  "sourcePath": "src/server/routes.ts",
483
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
483
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
484
484
  "since": "2025-01-01"
485
485
  },
486
486
  "route-group:scope-coherence": {
@@ -488,7 +488,7 @@
488
488
  "type": "route-group",
489
489
  "domain": "coherence",
490
490
  "sourcePath": "src/server/routes.ts",
491
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
491
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
492
492
  "since": "2025-01-01"
493
493
  },
494
494
  "route-group:canonical-state": {
@@ -496,7 +496,7 @@
496
496
  "type": "route-group",
497
497
  "domain": "state",
498
498
  "sourcePath": "src/server/routes.ts",
499
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
499
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
500
500
  "since": "2025-01-01"
501
501
  },
502
502
  "route-group:ci": {
@@ -504,7 +504,7 @@
504
504
  "type": "route-group",
505
505
  "domain": "monitoring",
506
506
  "sourcePath": "src/server/routes.ts",
507
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
507
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
508
508
  "since": "2025-01-01"
509
509
  },
510
510
  "route-group:sessions": {
@@ -512,7 +512,7 @@
512
512
  "type": "route-group",
513
513
  "domain": "sessions",
514
514
  "sourcePath": "src/server/routes.ts",
515
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
515
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
516
516
  "since": "2025-01-01"
517
517
  },
518
518
  "route-group:jobs": {
@@ -520,7 +520,7 @@
520
520
  "type": "route-group",
521
521
  "domain": "scheduling",
522
522
  "sourcePath": "src/server/routes.ts",
523
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
523
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
524
524
  "since": "2025-01-01"
525
525
  },
526
526
  "route-group:skip-ledger": {
@@ -528,7 +528,7 @@
528
528
  "type": "route-group",
529
529
  "domain": "scheduling",
530
530
  "sourcePath": "src/server/routes.ts",
531
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
531
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
532
532
  "since": "2025-01-01"
533
533
  },
534
534
  "route-group:telegram": {
@@ -536,7 +536,7 @@
536
536
  "type": "route-group",
537
537
  "domain": "communication",
538
538
  "sourcePath": "src/server/routes.ts",
539
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
539
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
540
540
  "since": "2025-01-01"
541
541
  },
542
542
  "route-group:attention": {
@@ -544,7 +544,7 @@
544
544
  "type": "route-group",
545
545
  "domain": "communication",
546
546
  "sourcePath": "src/server/routes.ts",
547
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
547
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
548
548
  "since": "2025-01-01"
549
549
  },
550
550
  "route-group:relationships": {
@@ -552,7 +552,7 @@
552
552
  "type": "route-group",
553
553
  "domain": "relationships",
554
554
  "sourcePath": "src/server/routes.ts",
555
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
555
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
556
556
  "since": "2025-01-01"
557
557
  },
558
558
  "route-group:feedback": {
@@ -560,7 +560,7 @@
560
560
  "type": "route-group",
561
561
  "domain": "feedback",
562
562
  "sourcePath": "src/server/routes.ts",
563
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
563
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
564
564
  "since": "2025-01-01"
565
565
  },
566
566
  "route-group:updates": {
@@ -568,7 +568,7 @@
568
568
  "type": "route-group",
569
569
  "domain": "updates",
570
570
  "sourcePath": "src/server/routes.ts",
571
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
571
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
572
572
  "since": "2025-01-01"
573
573
  },
574
574
  "route-group:dispatches": {
@@ -576,7 +576,7 @@
576
576
  "type": "route-group",
577
577
  "domain": "dispatches",
578
578
  "sourcePath": "src/server/routes.ts",
579
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
579
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
580
580
  "since": "2025-01-01"
581
581
  },
582
582
  "route-group:quota": {
@@ -584,7 +584,7 @@
584
584
  "type": "route-group",
585
585
  "domain": "monitoring",
586
586
  "sourcePath": "src/server/routes.ts",
587
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
587
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
588
588
  "since": "2025-01-01"
589
589
  },
590
590
  "route-group:publishing": {
@@ -592,7 +592,7 @@
592
592
  "type": "route-group",
593
593
  "domain": "publishing",
594
594
  "sourcePath": "src/server/routes.ts",
595
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
595
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
596
596
  "since": "2025-01-01"
597
597
  },
598
598
  "route-group:private-views": {
@@ -600,7 +600,7 @@
600
600
  "type": "route-group",
601
601
  "domain": "publishing",
602
602
  "sourcePath": "src/server/routes.ts",
603
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
603
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
604
604
  "since": "2025-01-01"
605
605
  },
606
606
  "route-group:tunnel": {
@@ -608,7 +608,7 @@
608
608
  "type": "route-group",
609
609
  "domain": "networking",
610
610
  "sourcePath": "src/server/routes.ts",
611
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
611
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
612
612
  "since": "2025-01-01"
613
613
  },
614
614
  "route-group:events": {
@@ -616,7 +616,7 @@
616
616
  "type": "route-group",
617
617
  "domain": "networking",
618
618
  "sourcePath": "src/server/routes.ts",
619
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
619
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
620
620
  "since": "2025-01-01"
621
621
  },
622
622
  "route-group:evolution": {
@@ -624,7 +624,7 @@
624
624
  "type": "route-group",
625
625
  "domain": "evolution",
626
626
  "sourcePath": "src/server/routes.ts",
627
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
627
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
628
628
  "since": "2025-01-01"
629
629
  },
630
630
  "route-group:watchdog": {
@@ -632,7 +632,7 @@
632
632
  "type": "route-group",
633
633
  "domain": "monitoring",
634
634
  "sourcePath": "src/server/routes.ts",
635
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
635
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
636
636
  "since": "2025-01-01"
637
637
  },
638
638
  "route-group:topic-memory": {
@@ -640,7 +640,7 @@
640
640
  "type": "route-group",
641
641
  "domain": "memory",
642
642
  "sourcePath": "src/server/routes.ts",
643
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
643
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
644
644
  "since": "2025-01-01"
645
645
  },
646
646
  "route-group:state-sync": {
@@ -648,7 +648,7 @@
648
648
  "type": "route-group",
649
649
  "domain": "coordination",
650
650
  "sourcePath": "src/server/routes.ts",
651
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
651
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
652
652
  "since": "2025-01-01"
653
653
  },
654
654
  "route-group:intent": {
@@ -656,7 +656,7 @@
656
656
  "type": "route-group",
657
657
  "domain": "intent",
658
658
  "sourcePath": "src/server/routes.ts",
659
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
659
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
660
660
  "since": "2025-01-01"
661
661
  },
662
662
  "route-group:triage": {
@@ -664,7 +664,7 @@
664
664
  "type": "route-group",
665
665
  "domain": "safety",
666
666
  "sourcePath": "src/server/routes.ts",
667
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
667
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
668
668
  "since": "2025-01-01"
669
669
  },
670
670
  "route-group:operations": {
@@ -672,7 +672,7 @@
672
672
  "type": "route-group",
673
673
  "domain": "safety",
674
674
  "sourcePath": "src/server/routes.ts",
675
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
675
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
676
676
  "since": "2025-01-01"
677
677
  },
678
678
  "route-group:sentinel": {
@@ -680,7 +680,7 @@
680
680
  "type": "route-group",
681
681
  "domain": "safety",
682
682
  "sourcePath": "src/server/routes.ts",
683
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
683
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
684
684
  "since": "2025-01-01"
685
685
  },
686
686
  "route-group:trust": {
@@ -688,7 +688,7 @@
688
688
  "type": "route-group",
689
689
  "domain": "safety",
690
690
  "sourcePath": "src/server/routes.ts",
691
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
691
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
692
692
  "since": "2025-01-01"
693
693
  },
694
694
  "route-group:monitoring": {
@@ -696,7 +696,7 @@
696
696
  "type": "route-group",
697
697
  "domain": "monitoring",
698
698
  "sourcePath": "src/server/routes.ts",
699
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
699
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
700
700
  "since": "2025-01-01"
701
701
  },
702
702
  "route-group:commitments": {
@@ -704,7 +704,7 @@
704
704
  "type": "route-group",
705
705
  "domain": "commitments",
706
706
  "sourcePath": "src/server/routes.ts",
707
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
707
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
708
708
  "since": "2025-01-01"
709
709
  },
710
710
  "route-group:episodes": {
@@ -712,7 +712,7 @@
712
712
  "type": "route-group",
713
713
  "domain": "memory",
714
714
  "sourcePath": "src/server/routes.ts",
715
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
715
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
716
716
  "since": "2025-01-01"
717
717
  },
718
718
  "route-group:messages": {
@@ -720,7 +720,7 @@
720
720
  "type": "route-group",
721
721
  "domain": "coordination",
722
722
  "sourcePath": "src/server/routes.ts",
723
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
723
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
724
724
  "since": "2025-01-01"
725
725
  },
726
726
  "route-group:system-reviews": {
@@ -728,7 +728,7 @@
728
728
  "type": "route-group",
729
729
  "domain": "monitoring",
730
730
  "sourcePath": "src/server/routes.ts",
731
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
731
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
732
732
  "since": "2025-01-01"
733
733
  },
734
734
  "route-group:machine-mesh": {
@@ -744,7 +744,7 @@
744
744
  "type": "route-group",
745
745
  "domain": "security",
746
746
  "sourcePath": "src/server/routes.ts",
747
- "contentHash": "5c65a20204fc03ffcf514a764df6a1a2c6ec5f5071717400912c08bc94eaa975",
747
+ "contentHash": "78fb3f989c8f3a16e40ba72a5cc1bab18d38d78b985d5cdeb5c7c2b84a80688b",
748
748
  "since": "2025-01-01"
749
749
  },
750
750
  "cli:init": {
@@ -0,0 +1,146 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- bump: minor -->
4
+ <!-- Valid values: patch, minor, major -->
5
+ <!-- patch = bug fixes, refactors, test additions, doc updates -->
6
+ <!-- minor = new features, new APIs, new capabilities (backwards-compatible) -->
7
+ <!-- major = breaking changes to existing APIs or behavior -->
8
+
9
+ ## What Changed
10
+
11
+ ### Project-scope Phase 1.7 — `/project` skill surface (full command set)
12
+
13
+ Final code piece of project-scope Phase 1: the user-invocable
14
+ `/project` skill, the conversational interface spec § Phase 1.7
15
+ specifies as twelve canonical commands. Phase 1a shipped read-only
16
+ commands (`create`, `status`, plus a placeholder `next`); this PR
17
+ fleshes out the full mutating surface and adds the three small HTTP
18
+ routes the spec named but hadn't materialized yet.
19
+
20
+ - **`.claude/skills/instar-project/SKILL.md` rewritten end-to-end.**
21
+ Documents every spec § 1.7 command with its backing endpoint, body
22
+ schema, expected response codes, and a one-line conversational
23
+ rendering rule. The Phase 1a "next is a 501 placeholder" language
24
+ is gone — the structured `{action, params, skillCommand}` payload
25
+ shipped in the connect-the-dots PR is now the documented contract.
26
+ - **`POST /projects/:id/run-round`** — manual round-start trigger.
27
+ Calls `ProjectRoundRunner.preflight()` for the deterministic gate
28
+ checks and, on accept, sets `autoAdvanceAt = now` so the existing
29
+ auto-advance poller fires the executor on its next tick (≤60s).
30
+ Does NOT spawn the autonomous child directly — keeps one fire path
31
+ through one lock. Body: `{roundIndex}`. Returns 200 with
32
+ `{id, roundIndex, scheduledAt, version}` on accept, 409 with the
33
+ preflight verdict's `code` + `reason` on reject (surface those
34
+ verbatim — they're written for users).
35
+ - **`POST /projects/:id/resume`** — resume a halted or failed round.
36
+ Clears `haltedAt`/`haltReason`, schedules the round for the poller,
37
+ re-actives `project.status` from `'halted'`/`'abandoned'` back to
38
+ `'active'`. For rounds at `status: 'failed'` with
39
+ `resumeAttempts >= 3` (the spec's three-attempt cap), `{force: true}`
40
+ is required and the counter resets to zero on accept. Returns 409
41
+ when the round is neither halted nor failed.
42
+ - **`POST /projects/:id/abandon`** — archive a halted project.
43
+ Sets `project.status = 'abandoned'` and clears any future
44
+ `autoAdvanceAt` on remaining rounds so the poller stops considering
45
+ them. Children's `pipelineStage` is left untouched (per spec).
46
+ Idempotent. Refuses (409) if a round is currently `in-progress` —
47
+ halt first.
48
+ - **`skillCommandForAction()` realigned to canonical command names.**
49
+ The connect-the-dots PR added a mapping that returned
50
+ `/project approve` and `/project drift-check` for the
51
+ `await-user-approval` and `run-drift-check` actions. Spec § 1.7
52
+ uses `/project ack` and `/project drift` as the canonical command
53
+ names; the mapping now matches the spec so dashboard hints and
54
+ skill invocations stay in sync.
55
+
56
+ Tests added:
57
+
58
+ - `tests/unit/instar-project-skill.test.ts` — structural coverage of
59
+ SKILL.md (28 assertions). Pins the frontmatter contract, asserts
60
+ every spec § 1.7 command has a section header, and asserts each
61
+ documented endpoint actually exists in `src/server/routes.ts`.
62
+ Catches skill drift — if a route is renamed or removed without
63
+ updating the skill, the test fails on the next push.
64
+ - `tests/integration/projects-api.test.ts` — 10 new cases (44 total)
65
+ for the three new endpoints: preflight reject (409), happy path
66
+ (200 + autoAdvanceAt landed), out-of-range round (404),
67
+ haltedAt-clear on resume (200), neither-halted-nor-failed reject
68
+ (409), failed-at-cap-without-force reject (409),
69
+ failed-at-cap-with-force happy path (counter zeroed), abandon
70
+ happy path (autoAdvanceAt cleared + status='abandoned'),
71
+ abandon-while-in-progress reject (409), abandon idempotent
72
+ (`alreadyAbandoned: true`).
73
+
74
+ ## What to Tell Your User
75
+
76
+ - **You can now drive any project end-to-end through /project.**
77
+ Twelve commands, one skill: register a project from a plan doc,
78
+ read its state, advance a child item to its next stage, run a
79
+ drift check, fire a round, halt the active round, record your
80
+ acknowledgment, resume from halted or failed, abandon a project
81
+ permanently, close out a partially-complete round, claim ownership
82
+ on another machine. The skill walks me through each one with the
83
+ right API call and the right error handling — I don't have to
84
+ improvise the curl invocations.
85
+
86
+ - **The "what should I do next" answer is now actionable.**
87
+ Asking /project next returns a structured action — "approval
88
+ pending," "drift check needed," "round ready to start" — plus the
89
+ exact follow-up command. I'll surface the suggested next step to
90
+ you in plain English rather than dumping the JSON.
91
+
92
+ - **Halted projects can come back.** If a round halted because of a
93
+ spec drift, a halted child, or a runtime failure, /project resume
94
+ re-schedules it for the poller and re-actives the project. Rounds
95
+ that hit the three-attempt failure cap need an explicit force flag
96
+ before resuming, and the counter resets so the runner gets a fresh
97
+ budget.
98
+
99
+ - **Permanently shelving a project is a single command.**
100
+ /project abandon clears all pending auto-advance scheduling and
101
+ marks the project as abandoned. Children stay where they were —
102
+ you don't lose any pipeline progress; you just stop the auto-loop.
103
+
104
+ ## Summary of New Capabilities
105
+
106
+ - `.claude/skills/instar-project/SKILL.md` — twelve-command skill body
107
+ with frontmatter `user_invocable: true`. Each command section
108
+ documents its backing endpoint, body schema, response shape, and
109
+ expected error codes. Final "Conversational rendering" section pins
110
+ the don't-paste-curl rule.
111
+ - `POST /projects/:id/run-round` — body `{roundIndex: number}`.
112
+ Returns 200 `{id, roundIndex, scheduledAt, version}` on accept,
113
+ 409 `{error, code, reason}` on preflight reject, 404 on out-of-range
114
+ round, 503 if `ProjectRoundRunner` is not wired. OCC-protected via
115
+ `tracker.update(... ifMatch: project.version)`.
116
+ - `POST /projects/:id/resume` — body `{roundIndex?: number,
117
+ force?: boolean}`. Returns 200 `{id, roundIndex, scheduledAt,
118
+ forced, version}` on accept, 409 when the round is neither halted
119
+ nor failed, 409 when failed-at-cap without `force`. Restores
120
+ `project.status` from `'halted'`/`'abandoned'` to `'active'` and
121
+ zeroes `resumeAttempts` on forced accept.
122
+ - `POST /projects/:id/abandon` — no body required. Returns 200
123
+ `{id, status: 'abandoned', version}` on accept, 200
124
+ `{... alreadyAbandoned: true}` on idempotent repeat, 409 with
125
+ `activeRound` set when a round is in-progress. Clears
126
+ `autoAdvanceAt` on every remaining round.
127
+ - `skillCommandForAction()` now emits `/project ack` for both
128
+ `await-user-approval` and `ack-required` action verbs, and
129
+ `/project drift` for `run-drift-check`. Aligns the dashboard hint
130
+ strings with the spec § 1.7 canonical command set.
131
+
132
+ ## Evidence
133
+
134
+ Not reproducible in dev — this release is a feature addition, not a
135
+ regression fix. The words "halted", "failed", "regression repair",
136
+ and "skill drift" in What Changed describe design properties of the
137
+ state machine and the structural test the PR introduces:
138
+
139
+ - "halted" / "failed" (resume route): these are valid round states
140
+ in the existing `RoundStatus` union; the new endpoint's job is to
141
+ transition out of them. Not a fix for an observed halt incident.
142
+ - "skill drift" (structural test): the new
143
+ `instar-project-skill.test.ts` asserts every endpoint documented
144
+ in SKILL.md exists in `routes.ts`. The "drift" is the test's
145
+ failure mode if a future PR renames a route without updating the
146
+ skill — a preventive guard, not the patching of a prior incident.