instar 1.2.58 → 1.2.60

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": "1.2.58",
3
+ "version": "1.2.60",
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-24T20:07:12.138Z",
5
- "instarVersion": "1.2.58",
4
+ "generatedAt": "2026-05-24T21:07:21.363Z",
5
+ "instarVersion": "1.2.60",
6
6
  "entryCount": 191,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -11,7 +11,7 @@
11
11
  "domain": "identity",
12
12
  "sourcePath": "src/core/PostUpdateMigrator.ts",
13
13
  "installedPath": ".instar/hooks/instar/session-start.sh",
14
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
14
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
15
15
  "since": "2025-01-01"
16
16
  },
17
17
  "hook:dangerous-command-guard": {
@@ -20,7 +20,7 @@
20
20
  "domain": "safety",
21
21
  "sourcePath": "src/core/PostUpdateMigrator.ts",
22
22
  "installedPath": ".instar/hooks/instar/dangerous-command-guard.sh",
23
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
23
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
24
24
  "since": "2025-01-01"
25
25
  },
26
26
  "hook:grounding-before-messaging": {
@@ -29,7 +29,7 @@
29
29
  "domain": "safety",
30
30
  "sourcePath": "src/core/PostUpdateMigrator.ts",
31
31
  "installedPath": ".instar/hooks/instar/grounding-before-messaging.sh",
32
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
32
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
33
33
  "since": "2025-01-01"
34
34
  },
35
35
  "hook:compaction-recovery": {
@@ -38,7 +38,7 @@
38
38
  "domain": "identity",
39
39
  "sourcePath": "src/core/PostUpdateMigrator.ts",
40
40
  "installedPath": ".instar/hooks/instar/compaction-recovery.sh",
41
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
41
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
42
42
  "since": "2025-01-01"
43
43
  },
44
44
  "hook:external-operation-gate": {
@@ -47,7 +47,7 @@
47
47
  "domain": "safety",
48
48
  "sourcePath": "src/core/PostUpdateMigrator.ts",
49
49
  "installedPath": ".instar/hooks/instar/external-operation-gate.js",
50
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
50
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
51
51
  "since": "2025-01-01"
52
52
  },
53
53
  "hook:deferral-detector": {
@@ -56,7 +56,7 @@
56
56
  "domain": "safety",
57
57
  "sourcePath": "src/core/PostUpdateMigrator.ts",
58
58
  "installedPath": ".instar/hooks/instar/deferral-detector.js",
59
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
59
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
60
60
  "since": "2025-01-01"
61
61
  },
62
62
  "hook:post-action-reflection": {
@@ -65,7 +65,7 @@
65
65
  "domain": "evolution",
66
66
  "sourcePath": "src/core/PostUpdateMigrator.ts",
67
67
  "installedPath": ".instar/hooks/instar/post-action-reflection.js",
68
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
68
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
69
69
  "since": "2025-01-01"
70
70
  },
71
71
  "hook:external-communication-guard": {
@@ -74,7 +74,7 @@
74
74
  "domain": "safety",
75
75
  "sourcePath": "src/core/PostUpdateMigrator.ts",
76
76
  "installedPath": ".instar/hooks/instar/external-communication-guard.js",
77
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
77
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
78
78
  "since": "2025-01-01"
79
79
  },
80
80
  "hook:scope-coherence-collector": {
@@ -83,7 +83,7 @@
83
83
  "domain": "coherence",
84
84
  "sourcePath": "src/core/PostUpdateMigrator.ts",
85
85
  "installedPath": ".instar/hooks/instar/scope-coherence-collector.js",
86
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
86
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
87
87
  "since": "2025-01-01"
88
88
  },
89
89
  "hook:scope-coherence-checkpoint": {
@@ -92,7 +92,7 @@
92
92
  "domain": "coherence",
93
93
  "sourcePath": "src/core/PostUpdateMigrator.ts",
94
94
  "installedPath": ".instar/hooks/instar/scope-coherence-checkpoint.js",
95
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
95
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
96
96
  "since": "2025-01-01"
97
97
  },
98
98
  "hook:free-text-guard": {
@@ -101,7 +101,7 @@
101
101
  "domain": "safety",
102
102
  "sourcePath": "src/core/PostUpdateMigrator.ts",
103
103
  "installedPath": ".instar/hooks/instar/free-text-guard.sh",
104
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
104
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
105
105
  "since": "2025-01-01"
106
106
  },
107
107
  "hook:claim-intercept": {
@@ -110,7 +110,7 @@
110
110
  "domain": "coherence",
111
111
  "sourcePath": "src/core/PostUpdateMigrator.ts",
112
112
  "installedPath": ".instar/hooks/instar/claim-intercept.js",
113
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
113
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
114
114
  "since": "2025-01-01"
115
115
  },
116
116
  "hook:claim-intercept-response": {
@@ -119,7 +119,7 @@
119
119
  "domain": "coherence",
120
120
  "sourcePath": "src/core/PostUpdateMigrator.ts",
121
121
  "installedPath": ".instar/hooks/instar/claim-intercept-response.js",
122
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
122
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
123
123
  "since": "2025-01-01"
124
124
  },
125
125
  "hook:auto-approve-permissions": {
@@ -128,7 +128,7 @@
128
128
  "domain": "safety",
129
129
  "sourcePath": "src/core/PostUpdateMigrator.ts",
130
130
  "installedPath": ".instar/hooks/instar/auto-approve-permissions.js",
131
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
131
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
132
132
  "since": "2025-01-01"
133
133
  },
134
134
  "job:health-check": {
@@ -392,7 +392,7 @@
392
392
  "type": "route-group",
393
393
  "domain": "monitoring",
394
394
  "sourcePath": "src/server/routes.ts",
395
- "contentHash": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
395
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
403
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
411
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
419
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
427
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
435
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
443
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
451
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
459
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
467
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
475
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
483
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
491
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
499
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
507
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
515
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
523
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
531
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
539
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
547
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
555
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
563
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
571
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
579
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
587
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
595
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
603
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
611
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
619
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
627
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
635
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
643
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
651
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
659
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
667
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
675
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
683
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
691
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
699
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
707
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
715
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
723
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
731
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
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": "500de48d44afcfa6e0312f399863763ff912a6c4a7b4ad4cbdcb9b68ead905d7",
747
+ "contentHash": "1397612a42656f1c9bc6649aee811f7eb3842fbc14f7bcec7438644b187ea6d6",
748
748
  "since": "2025-01-01"
749
749
  },
750
750
  "cli:init": {
@@ -1472,7 +1472,7 @@
1472
1472
  "type": "subsystem",
1473
1473
  "domain": "updates",
1474
1474
  "sourcePath": "src/core/PostUpdateMigrator.ts",
1475
- "contentHash": "42eae109e20c16da18840de39ece6cf733ba4ec12ece6cf2e875fd0899b62900",
1475
+ "contentHash": "298dee6bf9314642a3fbb90885a9e2c6aa8e944ffbd4209219481c5c6fd14df7",
1476
1476
  "since": "2025-01-01"
1477
1477
  },
1478
1478
  "subsystem:scheduler": {
@@ -0,0 +1,67 @@
1
+ # Upgrade Guide — NEXT (autonomous mode delegates to native /goal)
2
+
3
+ <!-- bump: minor -->
4
+ <!-- minor = new capability, backward compatible -->
5
+
6
+ ## What Changed
7
+
8
+ **New: where the framework has a native /goal loop, autonomous mode hands the finish-line to it.**
9
+
10
+ Phase 2 of `docs/specs/goal-completion-evaluator.md`. When an autonomous job is started with a
11
+ completion condition AND the framework provides native /goal (Claude Code >= 2.1.139), instar
12
+ now **injects `/goal <condition>` into the session** — using its core session-input mechanism
13
+ (`SessionManager.sendInput` / tmux send-keys, the same way it injects any message) — and marks
14
+ the job `goal_mode: native`. The framework's own /goal loop (with its own independent evaluator)
15
+ then drives completion, and instar's stop-hook **defers** the continue/stop decision to it
16
+ (approves each turn so native /goal stays in control). Where native /goal is absent, instar's
17
+ own completion evaluator (shipped previously) drives — works everywhere.
18
+
19
+ instar stays in charge of what native /goal doesn't cover: it still enforces **emergency-stop**
20
+ and **duration expiry** on a native-goal job by injecting `/goal clear` first, then standing the
21
+ job down. Multi-topic orchestration, cap/quota, and messaging remain instar's.
22
+
23
+ - Endpoints: `POST /autonomous/native-goal/set {topicId, condition}` (inject + mark native),
24
+ `POST /autonomous/native-goal/clear {topicId}`.
25
+ - `setup-autonomous.sh` auto-detects Claude Code >= 2.1.139 and activates native /goal when a
26
+ condition is set; otherwise falls back to instar's own evaluator.
27
+
28
+ ## What to Tell Your User
29
+
30
+ When the tool I'm running already has its own "keep going until done" feature (Claude Code and
31
+ Codex both added one called goal), I now hand my finish-line straight to it instead of running
32
+ my own judge on top — no double-checking, and I use the tool's native machinery. Where the tool
33
+ doesn't have it, my own judge still does the job. Either way I keep the safety controls (stop
34
+ everything, time limits) and the ability to run several jobs at once. Nothing to set up.
35
+
36
+ ## Summary of New Capabilities
37
+
38
+ - Native /goal delegation: instar injects `/goal <condition>` into the session and lets the
39
+ framework's loop own completion (`goal_mode: native`).
40
+ - `POST /autonomous/native-goal/set` and `/autonomous/native-goal/clear`.
41
+ - Auto-detection of Claude Code >= 2.1.139 in `setup-autonomous.sh`.
42
+ - Stop-hook defers completion to native /goal while still enforcing emergency-stop + duration
43
+ (clears the native goal first).
44
+
45
+ ## Migration Notes
46
+
47
+ Existing agents receive the updated hook + setup via
48
+ `PostUpdateMigrator.migrateAutonomousStopHookTopicKeyed` (marker bumped to the native-/goal
49
+ signature). No action required.
50
+
51
+ ## Evidence
52
+
53
+ - **Hook (behavioral):** `autonomous-completion-condition.test.ts` — `goal_mode: native` defers
54
+ (approves/exits, job retained, native /goal stays in control); emergency-stop and duration
55
+ expiry still clear state + exit in native mode.
56
+ - **Integration:** `autonomous-sessions-api.test.ts` — `native-goal/set` injects `/goal
57
+ <condition>` into the topic's session (verified via the recorded `sendInput` call) and flips
58
+ `goal_mode: native`; `native-goal/clear` injects `/goal clear`; 404 on unknown topic.
59
+ - tsc clean; 174 affected tests green.
60
+
61
+ ## Note on approach
62
+
63
+ The original spec sketched Phase 2 via a `ThreadGoalSlot` provider primitive. The shipped
64
+ approach instead drives native /goal by **injecting the slash command** through instar's
65
+ existing session-input mechanism — simpler, and the correct use of a capability instar already
66
+ has (rather than treating "no programmatic /goal API" as a blocker). Same intent (delegate to
67
+ native /goal where present), better mechanism.
@@ -0,0 +1,57 @@
1
+ # Upgrade Guide — NEXT (human-as-detector)
2
+
3
+ <!-- bump: minor -->
4
+ <!-- minor = new capability, backward compatible -->
5
+
6
+ ## What Changed
7
+
8
+ **New: instar now treats a human-caught coherence break as a first-class diagnostic signal.**
9
+
10
+ When the user has to point something out — "that's wrong", "you already said the opposite",
11
+ "that's out of date", "why didn't you catch this" — that correction is no longer just an
12
+ input to fix quietly. It is evidence that some automated guardian (CoherenceGate,
13
+ CoherenceMonitor, a freshness check) *should* have caught it and didn't. The new
14
+ `HumanAsDetectorLog` (`src/monitoring/HumanAsDetectorLog.ts`) observes inbound human
15
+ messages, classifies corrections with a conservative, precision-biased regex set (no LLM,
16
+ no network), and records each as a signal mapped to the guardian layer that plausibly
17
+ failed. Over time this builds a heat map of "where the human is doing the system's job",
18
+ exposed read-only at `GET /human-as-detector/summary`.
19
+
20
+ This is the user-feedback half of the Continuous Working Awareness north star: never let a
21
+ user correction go to waste. It mirrors `DegradationReporter`: a singleton configured at
22
+ startup, append-only JSONL persistence at `.instar/metrics/human-as-detector.jsonl`,
23
+ best-effort, and it never throws into message handling. The observe hook is chained onto the
24
+ inbound Telegram message callback (preserving prior callbacks; only inbound human messages
25
+ are observed).
26
+
27
+ ## What to Tell Your User
28
+
29
+ When you point out something I got wrong or stale, I now treat that as a sign one of my own
30
+ safety checks missed it — not just a one-off to fix and forget. I quietly keep score of which
31
+ checks keep letting things slip past, so we can see where my automated guardrails are weak and
32
+ strengthen them over time. Nothing for you to set up; existing agents get it on their next
33
+ update. You can ask me to show the heat map of where you've had to catch my mistakes.
34
+
35
+ ## Summary of New Capabilities
36
+
37
+ - New `HumanAsDetectorLog` monitor: classifies inbound human corrections into categories
38
+ (factual-correction, staleness, contradiction, source-of-truth-drift, repeat-ask,
39
+ meta-failure), each mapped to the guardian layer that should have caught it.
40
+ - New read-only endpoint `GET /human-as-detector/summary` — the heat map grouped by suspected
41
+ failed layer, plus recent signals.
42
+ - Append-only audit trail at `.instar/metrics/human-as-detector.jsonl`.
43
+ - Always-on, no config, no LLM, no network; best-effort and never throws into message handling.
44
+
45
+ ## Evidence
46
+
47
+ - Tier 1 (unit): 19 tests — 15 on the classifier/observe/heat-map core, 4 on the
48
+ inbound-human gating helper (`observeInboundMessage`). All pass.
49
+ - Tier 2 (integration): 3 tests against the real `createRoutes` pipeline — empty map,
50
+ recorded correction surfaces, non-correction ignored. All pass.
51
+ - Tier 3 (e2e): 2 tests booting the real route tree on a live HTTP server — endpoint alive
52
+ (200), and an observed correction flows to the live endpoint AND to the JSONL on disk.
53
+ All pass.
54
+ - `npx tsc --noEmit` clean.
55
+ - Ported from Dawn's reference implementation (the-portal handoff); built fresh on current
56
+ `origin/main`, not from the stale local checkout (avoids reverting SafeFsExecutor /
57
+ iMessage-attachment features per the handoff's critical warnings).