instar 1.3.1019 → 1.3.1021
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/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +81 -0
- package/dist/commands/server.js.map +1 -1
- package/dist/config/ConfigDefaults.d.ts.map +1 -1
- package/dist/config/ConfigDefaults.js +12 -0
- package/dist/config/ConfigDefaults.js.map +1 -1
- package/dist/core/componentCategories.d.ts.map +1 -1
- package/dist/core/componentCategories.js +2 -0
- package/dist/core/componentCategories.js.map +1 -1
- package/dist/core/devGatedFeatures.d.ts.map +1 -1
- package/dist/core/devGatedFeatures.js +6 -0
- package/dist/core/devGatedFeatures.js.map +1 -1
- package/dist/core/types.d.ts +16 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/data/llmBenchCoverage.d.ts.map +1 -1
- package/dist/data/llmBenchCoverage.js +10 -0
- package/dist/data/llmBenchCoverage.js.map +1 -1
- package/dist/data/provenanceCoverage.d.ts +4 -0
- package/dist/data/provenanceCoverage.d.ts.map +1 -1
- package/dist/data/provenanceCoverage.js +24 -0
- package/dist/data/provenanceCoverage.js.map +1 -1
- package/dist/memory/TopicMemory.d.ts +12 -0
- package/dist/memory/TopicMemory.d.ts.map +1 -1
- package/dist/memory/TopicMemory.js +49 -14
- package/dist/memory/TopicMemory.js.map +1 -1
- package/dist/messaging/TelegramAdapter.d.ts +1 -0
- package/dist/messaging/TelegramAdapter.d.ts.map +1 -1
- package/dist/messaging/TelegramAdapter.js +1 -0
- package/dist/messaging/TelegramAdapter.js.map +1 -1
- package/dist/messaging/shared/MessageLogger.d.ts +3 -0
- package/dist/messaging/shared/MessageLogger.d.ts.map +1 -1
- package/dist/messaging/shared/MessageLogger.js.map +1 -1
- package/dist/messaging/slack/SlackApiClient.d.ts.map +1 -1
- package/dist/messaging/slack/SlackApiClient.js.map +1 -1
- package/dist/monitoring/ClaimObservation.d.ts +35 -0
- package/dist/monitoring/ClaimObservation.d.ts.map +1 -1
- package/dist/monitoring/ClaimObservation.js +96 -9
- package/dist/monitoring/ClaimObservation.js.map +1 -1
- package/dist/monitoring/CompletionClaimVerifier.d.ts.map +1 -1
- package/dist/monitoring/CompletionClaimVerifier.js +4 -3
- package/dist/monitoring/CompletionClaimVerifier.js.map +1 -1
- package/dist/monitoring/GoalRealignment.d.ts +404 -0
- package/dist/monitoring/GoalRealignment.d.ts.map +1 -0
- package/dist/monitoring/GoalRealignment.js +1293 -0
- package/dist/monitoring/GoalRealignment.js.map +1 -0
- package/dist/server/CapabilityIndex.d.ts.map +1 -1
- package/dist/server/CapabilityIndex.js +9 -0
- package/dist/server/CapabilityIndex.js.map +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +26 -0
- package/dist/server/routes.js.map +1 -1
- package/package.json +2 -1
- package/src/data/builtin-manifest.json +46 -46
- package/src/data/llmBenchCoverage.ts +10 -0
- package/src/data/provenanceCoverage.ts +30 -0
- package/src/data/state-coherence-registry.json +55 -0
- package/upgrades/1.3.1020.md +54 -0
- package/upgrades/1.3.1021.md +60 -0
- package/upgrades/periodic-goal-realignment-phase1.eli16.md +56 -0
- package/upgrades/side-effects/extraction-gap-signal-reason.md +254 -0
- package/upgrades/side-effects/periodic-goal-realignment-phase1.md +222 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instar",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1021",
|
|
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",
|
|
@@ -149,6 +149,7 @@
|
|
|
149
149
|
"jsdom": "^29.1.1",
|
|
150
150
|
"supertest": "^7.2.2",
|
|
151
151
|
"typescript": "^5.9.3",
|
|
152
|
+
"vite-node": "^2.1.9",
|
|
152
153
|
"vitest": "^2.1.9"
|
|
153
154
|
}
|
|
154
155
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./builtin-manifest.schema.json",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"generatedAt": "2026-07-
|
|
5
|
-
"instarVersion": "1.3.
|
|
4
|
+
"generatedAt": "2026-07-28T02:53:15.912Z",
|
|
5
|
+
"instarVersion": "1.3.1021",
|
|
6
6
|
"entryCount": 202,
|
|
7
7
|
"entries": {
|
|
8
8
|
"hook:session-start": {
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
"type": "route-group",
|
|
419
419
|
"domain": "monitoring",
|
|
420
420
|
"sourcePath": "src/server/routes.ts",
|
|
421
|
-
"contentHash": "
|
|
421
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
422
422
|
"since": "2025-01-01"
|
|
423
423
|
},
|
|
424
424
|
"route-group:agents": {
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
"type": "route-group",
|
|
427
427
|
"domain": "sessions",
|
|
428
428
|
"sourcePath": "src/server/routes.ts",
|
|
429
|
-
"contentHash": "
|
|
429
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
430
430
|
"since": "2025-01-01"
|
|
431
431
|
},
|
|
432
432
|
"route-group:backups": {
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"type": "route-group",
|
|
435
435
|
"domain": "operations",
|
|
436
436
|
"sourcePath": "src/server/routes.ts",
|
|
437
|
-
"contentHash": "
|
|
437
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
438
438
|
"since": "2025-01-01"
|
|
439
439
|
},
|
|
440
440
|
"route-group:git": {
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
"type": "route-group",
|
|
443
443
|
"domain": "coordination",
|
|
444
444
|
"sourcePath": "src/server/routes.ts",
|
|
445
|
-
"contentHash": "
|
|
445
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
446
446
|
"since": "2025-01-01"
|
|
447
447
|
},
|
|
448
448
|
"route-group:memory": {
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
"type": "route-group",
|
|
451
451
|
"domain": "memory",
|
|
452
452
|
"sourcePath": "src/server/routes.ts",
|
|
453
|
-
"contentHash": "
|
|
453
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
454
454
|
"since": "2025-01-01"
|
|
455
455
|
},
|
|
456
456
|
"route-group:semantic": {
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"type": "route-group",
|
|
459
459
|
"domain": "memory",
|
|
460
460
|
"sourcePath": "src/server/routes.ts",
|
|
461
|
-
"contentHash": "
|
|
461
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
462
462
|
"since": "2025-01-01"
|
|
463
463
|
},
|
|
464
464
|
"route-group:status": {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
"type": "route-group",
|
|
467
467
|
"domain": "monitoring",
|
|
468
468
|
"sourcePath": "src/server/routes.ts",
|
|
469
|
-
"contentHash": "
|
|
469
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
470
470
|
"since": "2025-01-01"
|
|
471
471
|
},
|
|
472
472
|
"route-group:capabilities": {
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
"type": "route-group",
|
|
475
475
|
"domain": "mapping",
|
|
476
476
|
"sourcePath": "src/server/routes.ts",
|
|
477
|
-
"contentHash": "
|
|
477
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
478
478
|
"since": "2025-01-01"
|
|
479
479
|
},
|
|
480
480
|
"route-group:project-map": {
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
"type": "route-group",
|
|
483
483
|
"domain": "mapping",
|
|
484
484
|
"sourcePath": "src/server/routes.ts",
|
|
485
|
-
"contentHash": "
|
|
485
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
486
486
|
"since": "2025-01-01"
|
|
487
487
|
},
|
|
488
488
|
"route-group:coherence": {
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
"type": "route-group",
|
|
491
491
|
"domain": "coherence",
|
|
492
492
|
"sourcePath": "src/server/routes.ts",
|
|
493
|
-
"contentHash": "
|
|
493
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
494
494
|
"since": "2025-01-01"
|
|
495
495
|
},
|
|
496
496
|
"route-group:topic-bindings": {
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"type": "route-group",
|
|
499
499
|
"domain": "sessions",
|
|
500
500
|
"sourcePath": "src/server/routes.ts",
|
|
501
|
-
"contentHash": "
|
|
501
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
502
502
|
"since": "2025-01-01"
|
|
503
503
|
},
|
|
504
504
|
"route-group:context": {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
"type": "route-group",
|
|
507
507
|
"domain": "context",
|
|
508
508
|
"sourcePath": "src/server/routes.ts",
|
|
509
|
-
"contentHash": "
|
|
509
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
510
510
|
"since": "2025-01-01"
|
|
511
511
|
},
|
|
512
512
|
"route-group:scope-coherence": {
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
"type": "route-group",
|
|
515
515
|
"domain": "coherence",
|
|
516
516
|
"sourcePath": "src/server/routes.ts",
|
|
517
|
-
"contentHash": "
|
|
517
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
518
518
|
"since": "2025-01-01"
|
|
519
519
|
},
|
|
520
520
|
"route-group:canonical-state": {
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
"type": "route-group",
|
|
523
523
|
"domain": "state",
|
|
524
524
|
"sourcePath": "src/server/routes.ts",
|
|
525
|
-
"contentHash": "
|
|
525
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
526
526
|
"since": "2025-01-01"
|
|
527
527
|
},
|
|
528
528
|
"route-group:ci": {
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
"type": "route-group",
|
|
531
531
|
"domain": "monitoring",
|
|
532
532
|
"sourcePath": "src/server/routes.ts",
|
|
533
|
-
"contentHash": "
|
|
533
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
534
534
|
"since": "2025-01-01"
|
|
535
535
|
},
|
|
536
536
|
"route-group:sessions": {
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
"type": "route-group",
|
|
539
539
|
"domain": "sessions",
|
|
540
540
|
"sourcePath": "src/server/routes.ts",
|
|
541
|
-
"contentHash": "
|
|
541
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
542
542
|
"since": "2025-01-01"
|
|
543
543
|
},
|
|
544
544
|
"route-group:jobs": {
|
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
"type": "route-group",
|
|
547
547
|
"domain": "scheduling",
|
|
548
548
|
"sourcePath": "src/server/routes.ts",
|
|
549
|
-
"contentHash": "
|
|
549
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
550
550
|
"since": "2025-01-01"
|
|
551
551
|
},
|
|
552
552
|
"route-group:skip-ledger": {
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
"type": "route-group",
|
|
555
555
|
"domain": "scheduling",
|
|
556
556
|
"sourcePath": "src/server/routes.ts",
|
|
557
|
-
"contentHash": "
|
|
557
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
558
558
|
"since": "2025-01-01"
|
|
559
559
|
},
|
|
560
560
|
"route-group:telegram": {
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
"type": "route-group",
|
|
563
563
|
"domain": "communication",
|
|
564
564
|
"sourcePath": "src/server/routes.ts",
|
|
565
|
-
"contentHash": "
|
|
565
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
566
566
|
"since": "2025-01-01"
|
|
567
567
|
},
|
|
568
568
|
"route-group:attention": {
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
"type": "route-group",
|
|
571
571
|
"domain": "communication",
|
|
572
572
|
"sourcePath": "src/server/routes.ts",
|
|
573
|
-
"contentHash": "
|
|
573
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
574
574
|
"since": "2025-01-01"
|
|
575
575
|
},
|
|
576
576
|
"route-group:relationships": {
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
"type": "route-group",
|
|
579
579
|
"domain": "relationships",
|
|
580
580
|
"sourcePath": "src/server/routes.ts",
|
|
581
|
-
"contentHash": "
|
|
581
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
582
582
|
"since": "2025-01-01"
|
|
583
583
|
},
|
|
584
584
|
"route-group:feedback": {
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
"type": "route-group",
|
|
587
587
|
"domain": "feedback",
|
|
588
588
|
"sourcePath": "src/server/routes.ts",
|
|
589
|
-
"contentHash": "
|
|
589
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
590
590
|
"since": "2025-01-01"
|
|
591
591
|
},
|
|
592
592
|
"route-group:updates": {
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
"type": "route-group",
|
|
595
595
|
"domain": "updates",
|
|
596
596
|
"sourcePath": "src/server/routes.ts",
|
|
597
|
-
"contentHash": "
|
|
597
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
598
598
|
"since": "2025-01-01"
|
|
599
599
|
},
|
|
600
600
|
"route-group:dispatches": {
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
"type": "route-group",
|
|
603
603
|
"domain": "dispatches",
|
|
604
604
|
"sourcePath": "src/server/routes.ts",
|
|
605
|
-
"contentHash": "
|
|
605
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
606
606
|
"since": "2025-01-01"
|
|
607
607
|
},
|
|
608
608
|
"route-group:quota": {
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
"type": "route-group",
|
|
611
611
|
"domain": "monitoring",
|
|
612
612
|
"sourcePath": "src/server/routes.ts",
|
|
613
|
-
"contentHash": "
|
|
613
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
614
614
|
"since": "2025-01-01"
|
|
615
615
|
},
|
|
616
616
|
"route-group:publishing": {
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
"type": "route-group",
|
|
619
619
|
"domain": "publishing",
|
|
620
620
|
"sourcePath": "src/server/routes.ts",
|
|
621
|
-
"contentHash": "
|
|
621
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
622
622
|
"since": "2025-01-01"
|
|
623
623
|
},
|
|
624
624
|
"route-group:private-views": {
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
"type": "route-group",
|
|
627
627
|
"domain": "publishing",
|
|
628
628
|
"sourcePath": "src/server/routes.ts",
|
|
629
|
-
"contentHash": "
|
|
629
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
630
630
|
"since": "2025-01-01"
|
|
631
631
|
},
|
|
632
632
|
"route-group:tunnel": {
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
"type": "route-group",
|
|
635
635
|
"domain": "networking",
|
|
636
636
|
"sourcePath": "src/server/routes.ts",
|
|
637
|
-
"contentHash": "
|
|
637
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
638
638
|
"since": "2025-01-01"
|
|
639
639
|
},
|
|
640
640
|
"route-group:events": {
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
"type": "route-group",
|
|
643
643
|
"domain": "networking",
|
|
644
644
|
"sourcePath": "src/server/routes.ts",
|
|
645
|
-
"contentHash": "
|
|
645
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
646
646
|
"since": "2025-01-01"
|
|
647
647
|
},
|
|
648
648
|
"route-group:evolution": {
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
"type": "route-group",
|
|
651
651
|
"domain": "evolution",
|
|
652
652
|
"sourcePath": "src/server/routes.ts",
|
|
653
|
-
"contentHash": "
|
|
653
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
654
654
|
"since": "2025-01-01"
|
|
655
655
|
},
|
|
656
656
|
"route-group:watchdog": {
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
"type": "route-group",
|
|
659
659
|
"domain": "monitoring",
|
|
660
660
|
"sourcePath": "src/server/routes.ts",
|
|
661
|
-
"contentHash": "
|
|
661
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
662
662
|
"since": "2025-01-01"
|
|
663
663
|
},
|
|
664
664
|
"route-group:topic-memory": {
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
"type": "route-group",
|
|
667
667
|
"domain": "memory",
|
|
668
668
|
"sourcePath": "src/server/routes.ts",
|
|
669
|
-
"contentHash": "
|
|
669
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
670
670
|
"since": "2025-01-01"
|
|
671
671
|
},
|
|
672
672
|
"route-group:state-sync": {
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
"type": "route-group",
|
|
675
675
|
"domain": "coordination",
|
|
676
676
|
"sourcePath": "src/server/routes.ts",
|
|
677
|
-
"contentHash": "
|
|
677
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
678
678
|
"since": "2025-01-01"
|
|
679
679
|
},
|
|
680
680
|
"route-group:intent": {
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
"type": "route-group",
|
|
683
683
|
"domain": "intent",
|
|
684
684
|
"sourcePath": "src/server/routes.ts",
|
|
685
|
-
"contentHash": "
|
|
685
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
686
686
|
"since": "2025-01-01"
|
|
687
687
|
},
|
|
688
688
|
"route-group:triage": {
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
"type": "route-group",
|
|
691
691
|
"domain": "safety",
|
|
692
692
|
"sourcePath": "src/server/routes.ts",
|
|
693
|
-
"contentHash": "
|
|
693
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
694
694
|
"since": "2025-01-01"
|
|
695
695
|
},
|
|
696
696
|
"route-group:operations": {
|
|
@@ -698,7 +698,7 @@
|
|
|
698
698
|
"type": "route-group",
|
|
699
699
|
"domain": "safety",
|
|
700
700
|
"sourcePath": "src/server/routes.ts",
|
|
701
|
-
"contentHash": "
|
|
701
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
702
702
|
"since": "2025-01-01"
|
|
703
703
|
},
|
|
704
704
|
"route-group:sentinel": {
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
"type": "route-group",
|
|
707
707
|
"domain": "safety",
|
|
708
708
|
"sourcePath": "src/server/routes.ts",
|
|
709
|
-
"contentHash": "
|
|
709
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
710
710
|
"since": "2025-01-01"
|
|
711
711
|
},
|
|
712
712
|
"route-group:trust": {
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
"type": "route-group",
|
|
715
715
|
"domain": "safety",
|
|
716
716
|
"sourcePath": "src/server/routes.ts",
|
|
717
|
-
"contentHash": "
|
|
717
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
718
718
|
"since": "2025-01-01"
|
|
719
719
|
},
|
|
720
720
|
"route-group:monitoring": {
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
"type": "route-group",
|
|
723
723
|
"domain": "monitoring",
|
|
724
724
|
"sourcePath": "src/server/routes.ts",
|
|
725
|
-
"contentHash": "
|
|
725
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
726
726
|
"since": "2025-01-01"
|
|
727
727
|
},
|
|
728
728
|
"route-group:commitments": {
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
"type": "route-group",
|
|
731
731
|
"domain": "commitments",
|
|
732
732
|
"sourcePath": "src/server/routes.ts",
|
|
733
|
-
"contentHash": "
|
|
733
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
734
734
|
"since": "2025-01-01"
|
|
735
735
|
},
|
|
736
736
|
"route-group:episodes": {
|
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
"type": "route-group",
|
|
739
739
|
"domain": "memory",
|
|
740
740
|
"sourcePath": "src/server/routes.ts",
|
|
741
|
-
"contentHash": "
|
|
741
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
742
742
|
"since": "2025-01-01"
|
|
743
743
|
},
|
|
744
744
|
"route-group:messages": {
|
|
@@ -746,7 +746,7 @@
|
|
|
746
746
|
"type": "route-group",
|
|
747
747
|
"domain": "coordination",
|
|
748
748
|
"sourcePath": "src/server/routes.ts",
|
|
749
|
-
"contentHash": "
|
|
749
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
750
750
|
"since": "2025-01-01"
|
|
751
751
|
},
|
|
752
752
|
"route-group:system-reviews": {
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
"type": "route-group",
|
|
755
755
|
"domain": "monitoring",
|
|
756
756
|
"sourcePath": "src/server/routes.ts",
|
|
757
|
-
"contentHash": "
|
|
757
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
758
758
|
"since": "2025-01-01"
|
|
759
759
|
},
|
|
760
760
|
"route-group:machine-mesh": {
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
"type": "route-group",
|
|
771
771
|
"domain": "security",
|
|
772
772
|
"sourcePath": "src/server/routes.ts",
|
|
773
|
-
"contentHash": "
|
|
773
|
+
"contentHash": "efe3f872ade56bcf0a73666fcfc443684e41f57885dbde63150be47fd1e33f05",
|
|
774
774
|
"since": "2025-01-01"
|
|
775
775
|
},
|
|
776
776
|
"cli:init": {
|
|
@@ -49,6 +49,8 @@ export const LLM_BENCH_COVERAGE: Readonly<Record<string, BenchCoverage>> = {
|
|
|
49
49
|
'correction-learning': { task: 'correction-distiller' },
|
|
50
50
|
CoherenceReviewer: { task: 'gate-triage' },
|
|
51
51
|
FeedbackReadinessArbiter: { task: 'feedback-readiness' },
|
|
52
|
+
GoalPriorityExtractor: { pending: 'wave-3' },
|
|
53
|
+
AlignmentReviewer: { pending: 'wave-3' },
|
|
52
54
|
|
|
53
55
|
// ── Argued exemptions (pinned; each must carry a real reason) ──
|
|
54
56
|
InteractivePoolCanaryJudge: {
|
|
@@ -193,6 +195,8 @@ export const LLM_UNTRUSTED_INPUT: Readonly<Record<string, UntrustedInputFlag>> =
|
|
|
193
195
|
SessionSummarySentinel: true,
|
|
194
196
|
TelegramAdapter: true,
|
|
195
197
|
FeedbackReadinessArbiter: true,
|
|
198
|
+
GoalPriorityExtractor: true,
|
|
199
|
+
AlignmentReviewer: true,
|
|
196
200
|
|
|
197
201
|
// ── Gates judging user/session/operation content → true ──
|
|
198
202
|
HubIntentClassifier: true, // judges an inbound hub message's bind-intent (untrusted user text)
|
|
@@ -386,6 +390,8 @@ export const LLM_JUDGES_CLAIMS: Readonly<Record<string, JudgesClaimsFlag>> = {
|
|
|
386
390
|
TaskClassifier: false, // classifies task type
|
|
387
391
|
ResumeValidator: false, // matches a resume UUID against a topic — a state match, not a claim
|
|
388
392
|
FeedbackReadinessArbiter: false, // judges whether cluster evidence warrants work, not a completion/health claim
|
|
393
|
+
GoalPriorityExtractor: false, // extracts durable operator priorities; it does not credit a completion/progress/health claim
|
|
394
|
+
AlignmentReviewer: { claimKind: 'healthClaim' }, // judges whether the active run remains healthy relative to durable operator priorities
|
|
389
395
|
|
|
390
396
|
// Reflectors/jobs that extract/summarize/route but do not credit a completion/health claim.
|
|
391
397
|
crossModelReviewer: false, // reviews a SPEC document, not a session's completion claim
|
|
@@ -501,6 +507,8 @@ export const LLM_PARSER_CONTRACT: Readonly<Record<string, ParserContractFlag>> =
|
|
|
501
507
|
ResumeValidator: { pending: 'contract-wave-2' }, // closed resume-UUID match yes/no verdict
|
|
502
508
|
CoherenceReviewer: { pending: 'contract-wave-2' }, // gate-triage — closed coherence verdict
|
|
503
509
|
FeedbackReadinessArbiter: { contractTest: 'tests/unit/feedback-factory/readiness-arbiter.test.ts' },
|
|
510
|
+
GoalPriorityExtractor: { pending: 'contract-wave-2' },
|
|
511
|
+
AlignmentReviewer: { pending: 'contract-wave-2' },
|
|
504
512
|
|
|
505
513
|
// ── Argued false (pinned shrink-only) — no closed-vocabulary verdict parse ──
|
|
506
514
|
// No live LLM callsite, a fixed canary, or free-text / open-set content.
|
|
@@ -825,6 +833,8 @@ export const LLM_ROUTING_INJECTION_EXPOSURE: Readonly<Record<string, InjectionEx
|
|
|
825
833
|
OverrideDetector: exposed(EXPOSED_USER),
|
|
826
834
|
TaskClassifier: exposed(EXPOSED_USER), // classifies a user task (R8 input-classifier — must stay exposed)
|
|
827
835
|
FeedbackReadinessArbiter: exposed(EXPOSED_USER_TOOL), // feedback titles + canonical cluster metadata
|
|
836
|
+
GoalPriorityExtractor: exposed(EXPOSED_USER), // verified operator message + quoted context
|
|
837
|
+
AlignmentReviewer: exposed(EXPOSED_ALL), // operator priorities + model/tool-authored run focus
|
|
828
838
|
|
|
829
839
|
// ── Reflectors ──
|
|
830
840
|
JobReflector: exposed(EXPOSED_MODEL_TOOL),
|
|
@@ -237,6 +237,12 @@ export const DP_COMPLETION_CLAIM_VERIFY = 'completion-claim-verify';
|
|
|
237
237
|
/** Feedback cluster evidence → owned-work readiness judgment. */
|
|
238
238
|
export const DP_FEEDBACK_READINESS = 'feedback-readiness';
|
|
239
239
|
|
|
240
|
+
/** Verified operator message → durable goal-priority classification. */
|
|
241
|
+
export const DP_GOAL_PRIORITY_EXTRACT = 'goal-priority-extract';
|
|
242
|
+
|
|
243
|
+
/** Durable goal digest + current run focus → dry-run alignment verdict. */
|
|
244
|
+
export const DP_ALIGNMENT_REVIEW = 'alignment-review';
|
|
245
|
+
|
|
240
246
|
/** The stop-justified authority (src/core/UnjustifiedStopGate.ts). */
|
|
241
247
|
export const DP_UNJUSTIFIED_STOP_GATE = 'unjustified-stop-gate';
|
|
242
248
|
|
|
@@ -334,6 +340,30 @@ export const PROVENANCE_COVERAGE: ReadonlyArray<ProvenanceCoverageEntry> = [
|
|
|
334
340
|
reason:
|
|
335
341
|
'A bounded frontier-model judgment authorizes cluster-to-work readiness; provenance stores packet identity and enumerated outcomes, never feedback text or model output.',
|
|
336
342
|
},
|
|
343
|
+
{
|
|
344
|
+
decisionPoint: DP_GOAL_PRIORITY_EXTRACT,
|
|
345
|
+
component: 'GoalPriorityExtractor',
|
|
346
|
+
status: 'wired',
|
|
347
|
+
volumeClass: 'budget:250',
|
|
348
|
+
contentClass: 'content-bearing',
|
|
349
|
+
reason:
|
|
350
|
+
'Verified operator messages are classified into a durable priority ledger; provenance stores only message identity, bounds, and content hashes.',
|
|
351
|
+
gradingPosture: 'measurement-only',
|
|
352
|
+
gradingReason:
|
|
353
|
+
'Phase 1 records extraction decisions for soak analysis; authoritative outcome rules require later operator-confirmed longitudinal labels.',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
decisionPoint: DP_ALIGNMENT_REVIEW,
|
|
357
|
+
component: 'AlignmentReviewer',
|
|
358
|
+
status: 'wired',
|
|
359
|
+
volumeClass: 'budget:250',
|
|
360
|
+
contentClass: 'content-bearing',
|
|
361
|
+
reason:
|
|
362
|
+
'The dry-run reviewer compares a bounded priority digest with current run focus; provenance stores only evidence-packet identity and bounds.',
|
|
363
|
+
gradingPosture: 'measurement-only',
|
|
364
|
+
gradingReason:
|
|
365
|
+
'Phase 1 is signal-only and has no actuation outcome; verdict quality is collected for later benchmark and operator-label calibration.',
|
|
366
|
+
},
|
|
337
367
|
|
|
338
368
|
// ── Pending (the ACT-1193 uniform-provenance retrofit backlog — §5.6: "Not
|
|
339
369
|
// retrofitting all ~60+ decision points in one PR"; the census makes the
|
|
@@ -4,6 +4,61 @@
|
|
|
4
4
|
"censusDate": "2026-06-05",
|
|
5
5
|
"sourceDoc": "docs/specs/STATE-COHERENCE-REGISTRY.md",
|
|
6
6
|
"entries": [
|
|
7
|
+
{
|
|
8
|
+
"category": "goal-realignment-runtime",
|
|
9
|
+
"description": "Phase 1 candidate-priority inbox, checkpointed extraction outbox, counters, and latest dry-run verdict. Unresolved candidates are never silently discarded; resolved rows and applied checkpoints are capped.",
|
|
10
|
+
"scope": "machine-local",
|
|
11
|
+
"freshness": "live",
|
|
12
|
+
"conflictShape": "single-writer",
|
|
13
|
+
"transport": "none",
|
|
14
|
+
"paths": [
|
|
15
|
+
"state/goal-realignment/runtime.json"
|
|
16
|
+
],
|
|
17
|
+
"grandfathered": false,
|
|
18
|
+
"retention": {
|
|
19
|
+
"class": "resolution",
|
|
20
|
+
"boundedByResolution": true,
|
|
21
|
+
"maxOpenItems": 5000,
|
|
22
|
+
"note": "At most 5000 unresolved candidates are admitted; 2000 resolved candidates and their applied checkpoints are retained for pull-visible diagnosis."
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"category": "goal-realignment-priority-ledger",
|
|
27
|
+
"description": "Append-only, source-cited operator priority events. Active authority is never recency-trimmed; events close only through explicit supersession or confirmed completion.",
|
|
28
|
+
"scope": "machine-local",
|
|
29
|
+
"freshness": "live",
|
|
30
|
+
"conflictShape": "append-only",
|
|
31
|
+
"transport": "none",
|
|
32
|
+
"paths": [
|
|
33
|
+
"state/goal-realignment/priority-events.jsonl"
|
|
34
|
+
],
|
|
35
|
+
"grandfathered": false,
|
|
36
|
+
"retention": {
|
|
37
|
+
"class": "C",
|
|
38
|
+
"access": "streamed",
|
|
39
|
+
"complianceHold": true,
|
|
40
|
+
"keepSegments": 0,
|
|
41
|
+
"note": "Lifetime operator-authority evidence: active file segments at 32 MiB and archives are retained rather than age-trimmed."
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"category": "audit-goal-realignment",
|
|
46
|
+
"description": "Scrubbed Phase 1 dry-run alignment verdict stream; contains hashes, IDs, counters, and bounded model reason, never raw source messages.",
|
|
47
|
+
"scope": "machine-local",
|
|
48
|
+
"freshness": "n/a",
|
|
49
|
+
"conflictShape": "append-only",
|
|
50
|
+
"transport": "none",
|
|
51
|
+
"paths": [
|
|
52
|
+
"logs/goal-realignment.jsonl"
|
|
53
|
+
],
|
|
54
|
+
"grandfathered": false,
|
|
55
|
+
"retention": {
|
|
56
|
+
"class": "A",
|
|
57
|
+
"access": "streamed",
|
|
58
|
+
"maxBytes": 33554432,
|
|
59
|
+
"keepSegments": 4
|
|
60
|
+
}
|
|
61
|
+
},
|
|
7
62
|
{
|
|
8
63
|
"category": "coherence-journal",
|
|
9
64
|
"description": "Per-machine append-only cross-machine event streams (topic-placement / session-lifecycle / autonomous-run); replicated first-hop over the mesh (COHERENCE-JOURNAL-SPEC P1).",
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: minor -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
Adds the observation-only first phase of periodic goal realignment. On development
|
|
9
|
+
agents, authenticated operator instructions now enter a durable candidate inbox,
|
|
10
|
+
semantic classifications are checkpointed before an append-only priority ledger is
|
|
11
|
+
updated, and a reviewer records evidence-linked alignment verdicts without changing
|
|
12
|
+
the active run.
|
|
13
|
+
|
|
14
|
+
Priorities do not expire with age. They remain active until a later authenticated
|
|
15
|
+
operator message explicitly supersedes them or clearly confirms them addressed.
|
|
16
|
+
Incomplete source history, pending classification, projection overflow, and
|
|
17
|
+
unsupported contradiction claims all resolve to an indeterminate observation.
|
|
18
|
+
|
|
19
|
+
The new authenticated status endpoint exposes bounded ledger, candidate, counter,
|
|
20
|
+
and latest-verdict state for soak measurement. Phase 1 cannot inject guidance,
|
|
21
|
+
modify a plan, block work, send a notice, or create an attention item.
|
|
22
|
+
|
|
23
|
+
## What to Tell Your User
|
|
24
|
+
|
|
25
|
+
Your development agent now has the first, watch-only version of a durable compass
|
|
26
|
+
for long autonomous runs. It remembers stated priorities until you explicitly
|
|
27
|
+
replace them or confirm they are handled, then compares those priorities with the
|
|
28
|
+
run's current focus.
|
|
29
|
+
|
|
30
|
+
For now it only records what it sees. It cannot steer the session, change the plan,
|
|
31
|
+
or interrupt you. This lets the team measure whether the compass is accurate before
|
|
32
|
+
any later phase is allowed to speak.
|
|
33
|
+
|
|
34
|
+
## Summary of New Capabilities
|
|
35
|
+
|
|
36
|
+
- Development agents can retain authenticated operator priorities without silent
|
|
37
|
+
age-based expiry.
|
|
38
|
+
- A durable candidate inbox makes uncertain or failed classifications visible
|
|
39
|
+
instead of silently dropping possible priorities.
|
|
40
|
+
- Checkpointed extraction makes crash replay deterministic and avoids a second model
|
|
41
|
+
judgment for the same source message.
|
|
42
|
+
- A read-only status surface exposes dry-run alignment verdicts and the evidence
|
|
43
|
+
completeness needed to interpret them safely.
|
|
44
|
+
|
|
45
|
+
## Evidence
|
|
46
|
+
|
|
47
|
+
- Refusal-first acceptance coverage failed against unmodified source because the
|
|
48
|
+
goal-realignment module did not exist.
|
|
49
|
+
- Unit coverage pins priority lifetime, quoted-only confirmation, deterministic
|
|
50
|
+
crash replay, incomplete-source refusal, and two-sided divergence evidence.
|
|
51
|
+
- Integration coverage pins authentication, development gating, bounded output, and
|
|
52
|
+
the read-only status route.
|
|
53
|
+
- Type checking, lint, production build, and the complete repository test suite were
|
|
54
|
+
run before merge.
|