instar 1.3.712 → 1.3.714

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/.claude/skills/autonomous/SKILL.md +49 -0
  2. package/.claude/skills/autonomous/hooks/autonomous-stop-hook.sh +103 -9
  3. package/.claude/skills/autonomous/scripts/setup-autonomous.sh +47 -0
  4. package/dist/commands/init.js +9 -0
  5. package/dist/commands/init.js.map +1 -1
  6. package/dist/config/ConfigDefaults.d.ts.map +1 -1
  7. package/dist/config/ConfigDefaults.js +19 -0
  8. package/dist/config/ConfigDefaults.js.map +1 -1
  9. package/dist/core/AutonomousRunStore.d.ts +200 -0
  10. package/dist/core/AutonomousRunStore.d.ts.map +1 -0
  11. package/dist/core/AutonomousRunStore.js +402 -0
  12. package/dist/core/AutonomousRunStore.js.map +1 -0
  13. package/dist/core/CompletionEvaluator.d.ts +24 -0
  14. package/dist/core/CompletionEvaluator.d.ts.map +1 -1
  15. package/dist/core/CompletionEvaluator.js +29 -1
  16. package/dist/core/CompletionEvaluator.js.map +1 -1
  17. package/dist/core/ExternalOperationGate.d.ts.map +1 -1
  18. package/dist/core/ExternalOperationGate.js +6 -0
  19. package/dist/core/ExternalOperationGate.js.map +1 -1
  20. package/dist/core/PostUpdateMigrator.d.ts +1 -0
  21. package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
  22. package/dist/core/PostUpdateMigrator.js +56 -3
  23. package/dist/core/PostUpdateMigrator.js.map +1 -1
  24. package/dist/core/ScopeAccretionCorroboration.d.ts +79 -0
  25. package/dist/core/ScopeAccretionCorroboration.d.ts.map +1 -0
  26. package/dist/core/ScopeAccretionCorroboration.js +159 -0
  27. package/dist/core/ScopeAccretionCorroboration.js.map +1 -0
  28. package/dist/core/ScopeAccretionRatifier.d.ts +93 -0
  29. package/dist/core/ScopeAccretionRatifier.d.ts.map +1 -0
  30. package/dist/core/ScopeAccretionRatifier.js +228 -0
  31. package/dist/core/ScopeAccretionRatifier.js.map +1 -0
  32. package/dist/core/ScopeAccretionSweep.d.ts +83 -0
  33. package/dist/core/ScopeAccretionSweep.d.ts.map +1 -0
  34. package/dist/core/ScopeAccretionSweep.js +353 -0
  35. package/dist/core/ScopeAccretionSweep.js.map +1 -0
  36. package/dist/core/WorkingSetManifest.d.ts.map +1 -1
  37. package/dist/core/WorkingSetManifest.js +26 -1
  38. package/dist/core/WorkingSetManifest.js.map +1 -1
  39. package/dist/core/installCodexHooks.d.ts.map +1 -1
  40. package/dist/core/installCodexHooks.js +9 -0
  41. package/dist/core/installCodexHooks.js.map +1 -1
  42. package/dist/core/types.d.ts +29 -0
  43. package/dist/core/types.d.ts.map +1 -1
  44. package/dist/core/types.js.map +1 -1
  45. package/dist/lifeline/TelegramLifeline.d.ts.map +1 -1
  46. package/dist/lifeline/TelegramLifeline.js +8 -0
  47. package/dist/lifeline/TelegramLifeline.js.map +1 -1
  48. package/dist/messaging/TelegramAdapter.d.ts +18 -0
  49. package/dist/messaging/TelegramAdapter.d.ts.map +1 -1
  50. package/dist/messaging/TelegramAdapter.js +28 -0
  51. package/dist/messaging/TelegramAdapter.js.map +1 -1
  52. package/dist/scaffold/templates.js +2 -2
  53. package/dist/scaffold/templates.js.map +1 -1
  54. package/dist/server/routes.d.ts.map +1 -1
  55. package/dist/server/routes.js +638 -1
  56. package/dist/server/routes.js.map +1 -1
  57. package/dist/server/specReviewRoutes.d.ts +6 -0
  58. package/dist/server/specReviewRoutes.d.ts.map +1 -1
  59. package/dist/server/specReviewRoutes.js +30 -0
  60. package/dist/server/specReviewRoutes.js.map +1 -1
  61. package/package.json +1 -1
  62. package/scripts/lint-scrape-fixture-realness.js +40 -0
  63. package/src/data/builtin-manifest.json +65 -65
  64. package/src/scaffold/templates.ts +2 -2
  65. package/upgrades/1.3.713.md +65 -0
  66. package/upgrades/1.3.714.md +40 -0
  67. package/upgrades/side-effects/autonomous-scope-accretion-completion.md +77 -0
  68. package/upgrades/side-effects/bench-prompt-fixes-2.md +72 -0
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-07-02T11:16:24.611Z",
5
- "instarVersion": "1.3.712",
4
+ "generatedAt": "2026-07-02T11:47:56.586Z",
5
+ "instarVersion": "1.3.714",
6
6
  "entryCount": 202,
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": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
14
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
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": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
23
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
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": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
32
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
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": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
41
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
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": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
50
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
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": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
59
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
60
60
  "since": "2025-01-01"
61
61
  },
62
62
  "hook:self-stop-guard": {
@@ -65,7 +65,7 @@
65
65
  "domain": "coherence",
66
66
  "sourcePath": "src/core/PostUpdateMigrator.ts",
67
67
  "installedPath": ".instar/hooks/instar/self-stop-guard.js",
68
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
68
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
69
69
  "since": "2025-01-01"
70
70
  },
71
71
  "hook:post-action-reflection": {
@@ -74,7 +74,7 @@
74
74
  "domain": "evolution",
75
75
  "sourcePath": "src/core/PostUpdateMigrator.ts",
76
76
  "installedPath": ".instar/hooks/instar/post-action-reflection.js",
77
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
77
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
78
78
  "since": "2025-01-01"
79
79
  },
80
80
  "hook:external-communication-guard": {
@@ -83,7 +83,7 @@
83
83
  "domain": "safety",
84
84
  "sourcePath": "src/core/PostUpdateMigrator.ts",
85
85
  "installedPath": ".instar/hooks/instar/external-communication-guard.js",
86
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
86
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
87
87
  "since": "2025-01-01"
88
88
  },
89
89
  "hook:scope-coherence-collector": {
@@ -92,7 +92,7 @@
92
92
  "domain": "coherence",
93
93
  "sourcePath": "src/core/PostUpdateMigrator.ts",
94
94
  "installedPath": ".instar/hooks/instar/scope-coherence-collector.js",
95
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
95
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
96
96
  "since": "2025-01-01"
97
97
  },
98
98
  "hook:scope-coherence-checkpoint": {
@@ -101,7 +101,7 @@
101
101
  "domain": "coherence",
102
102
  "sourcePath": "src/core/PostUpdateMigrator.ts",
103
103
  "installedPath": ".instar/hooks/instar/scope-coherence-checkpoint.js",
104
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
104
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
105
105
  "since": "2025-01-01"
106
106
  },
107
107
  "hook:free-text-guard": {
@@ -110,7 +110,7 @@
110
110
  "domain": "safety",
111
111
  "sourcePath": "src/core/PostUpdateMigrator.ts",
112
112
  "installedPath": ".instar/hooks/instar/free-text-guard.sh",
113
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
113
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
114
114
  "since": "2025-01-01"
115
115
  },
116
116
  "hook:claim-intercept": {
@@ -119,7 +119,7 @@
119
119
  "domain": "coherence",
120
120
  "sourcePath": "src/core/PostUpdateMigrator.ts",
121
121
  "installedPath": ".instar/hooks/instar/claim-intercept.js",
122
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
122
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
123
123
  "since": "2025-01-01"
124
124
  },
125
125
  "hook:claim-intercept-response": {
@@ -128,7 +128,7 @@
128
128
  "domain": "coherence",
129
129
  "sourcePath": "src/core/PostUpdateMigrator.ts",
130
130
  "installedPath": ".instar/hooks/instar/claim-intercept-response.js",
131
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
131
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
132
132
  "since": "2025-01-01"
133
133
  },
134
134
  "hook:stop-gate-router": {
@@ -137,7 +137,7 @@
137
137
  "domain": "safety",
138
138
  "sourcePath": "src/core/PostUpdateMigrator.ts",
139
139
  "installedPath": ".instar/hooks/instar/stop-gate-router.js",
140
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
140
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
141
141
  "since": "2025-01-01"
142
142
  },
143
143
  "hook:auto-approve-permissions": {
@@ -146,7 +146,7 @@
146
146
  "domain": "safety",
147
147
  "sourcePath": "src/core/PostUpdateMigrator.ts",
148
148
  "installedPath": ".instar/hooks/instar/auto-approve-permissions.js",
149
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
149
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
150
150
  "since": "2025-01-01"
151
151
  },
152
152
  "job:health-check": {
@@ -370,7 +370,7 @@
370
370
  "type": "skill",
371
371
  "domain": "skills",
372
372
  "sourcePath": ".claude/skills/autonomous/SKILL.md",
373
- "contentHash": "f89882758b3882e2491e60e22c4691a95e1c7ef6a9e65eee8c7a7702dc9d032a",
373
+ "contentHash": "c99eb05bf6c834a5562a1d6fbbf9e0ba6d4bd6287c70a54b4e0fc6fac1dff4d4",
374
374
  "since": "2025-01-01"
375
375
  },
376
376
  "skill:build": {
@@ -418,7 +418,7 @@
418
418
  "type": "route-group",
419
419
  "domain": "monitoring",
420
420
  "sourcePath": "src/server/routes.ts",
421
- "contentHash": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
421
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
429
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
437
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
445
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
453
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
461
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
469
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
477
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
485
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
493
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
501
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
509
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
517
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
525
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
533
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
541
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
549
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
557
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
565
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
573
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
581
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
589
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
597
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
605
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
613
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
621
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
629
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
637
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
645
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
653
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
661
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
669
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
677
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
685
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
693
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
701
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
709
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
717
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
725
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
733
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
741
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
749
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
757
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
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": "05a92f28e24606a04907596541bc5dce39c38d01add075a3c8527bd56e22387b",
773
+ "contentHash": "fbf2b697280a76473110539aa84243856052d205266de4bab5c477ce9b0a2847",
774
774
  "since": "2025-01-01"
775
775
  },
776
776
  "cli:init": {
@@ -1562,7 +1562,7 @@
1562
1562
  "type": "subsystem",
1563
1563
  "domain": "updates",
1564
1564
  "sourcePath": "src/core/PostUpdateMigrator.ts",
1565
- "contentHash": "16297f279d284f1c99e5f2b4622ac8d4290d2e4aa62845f1f8be4601d1803f00",
1565
+ "contentHash": "639b48265d42be9ccbc7da66e41e80ee5e1b7e6343f771db1cbbd1d383ed0e1c",
1566
1566
  "since": "2025-01-01"
1567
1567
  },
1568
1568
  "subsystem:scheduler": {
@@ -1594,7 +1594,7 @@
1594
1594
  "type": "subsystem",
1595
1595
  "domain": "communication",
1596
1596
  "sourcePath": "src/lifeline/TelegramLifeline.ts",
1597
- "contentHash": "4bf4ee7b1f35e1b7d0b38ce953f0d6a45f618e67a4fa4e00738a741f1a41f8a0",
1597
+ "contentHash": "6087c3cab4cf30a3bb11d43df640d8338b6cf45a6c26cf4d16063f7858f6a4b1",
1598
1598
  "since": "2025-01-01"
1599
1599
  },
1600
1600
  "subsystem:orphan-process-reaper": {
@@ -14,7 +14,7 @@
14
14
  // existing-agent migration there) so the two can never drift. Imported as a runtime
15
15
  // function call inside generateClaudeMd — no module-init cycle (PostUpdateMigrator
16
16
  // never imports templates).
17
- import { PLAYWRIGHT_PROFILE_REGISTRY_CLAUDEMD_SECTION, MACHINE_LOAD_ASSESSMENT_CLAUDEMD_SECTION, DYNAMIC_MCP_CLAUDEMD_SECTION, SENDER_REJECTION_CLAUDEMD_SECTION } from '../core/PostUpdateMigrator.js';
17
+ import { PLAYWRIGHT_PROFILE_REGISTRY_CLAUDEMD_SECTION, MACHINE_LOAD_ASSESSMENT_CLAUDEMD_SECTION, DYNAMIC_MCP_CLAUDEMD_SECTION, SENDER_REJECTION_CLAUDEMD_SECTION, SCOPE_ACCRETION_CLAUDEMD_SECTION } from '../core/PostUpdateMigrator.js';
18
18
 
19
19
  export interface AgentIdentity {
20
20
  name: string;
@@ -500,7 +500,7 @@ Every guard (monitoring sentinels, reapers, the scheduler, …) is graded by wha
500
500
 
501
501
  **Autonomous Completion Discipline** — A pre-approved autonomous run is structurally held to its FULL completion bar. The \`/autonomous\` setup defaults to a verifiable \`completion_condition\` (judged each turn by an INDEPENDENT model from what I SURFACE — I cannot self-certify "done"); the self-declared \`<promise>\` is the recorded fallback. The stop hook re-feeds a continue for every NON-stop rationalization ("clean milestone", "needs your steer", "it's late", "good stopping point") — a deterministic milestone-phrase scan flags these to the judge, and the judge is injection-resistant (the transcript is fenced as instruction-inert data; guard-directed phrasing is treated as gaming). The ONLY exits are (a) a genuine HARD external blocker, (b) duration expiry, (c) the condition genuinely met. For (a) I emit a nonce'd \`<hard-blocker>\` terminal marker (what I tried / why I'm stuck / what I'd need); the judge classifies it external-vs-buildable — if what I'd need is something I could build/derive/fetch myself, I'm re-fed to keep working. A clean (a) exit writes \`logs/autonomous-hard-blocker.jsonl\`, raises one /ack-able Attention item, and sends one Telegram. Off-switch + judge budget: \`.instar/config.json\` → \`autonomousSessions.completionDiscipline\` (\`enabled\`, \`judgeTimeoutMs\`); read at the hook chokepoint, so a toggle lands on the next stop with no restart.
502
502
  - **Real-check verification (optional, ACT-152):** the completion judge reads the TRANSCRIPT (what I surface) — it does not run tools. When a goal is checkable by a command (a test suite, a build, a grep, a CI status), set a \`verification_command\` in the autonomous state (\`instar\`'s setup takes \`--verification-command "<cmd>"\` and \`--verification-cwd "<dir>"\`, and always records \`work_dir\` so a relative command runs in the right tree). When set, a met:true verdict RUNS the command and the run may stop ONLY if it ALSO passes (exit 0); a fail/timeout/breaker-open keeps me working with the command's output as guidance — it can never CAUSE a premature exit (the safe direction). Bounded timeout, output scrubbed for secrets, destructive commands refused, and a P19 breaker stops a stuck/flaky check from spinning. Audit: \`logs/autonomous-realcheck.jsonl\`. Off-switch: \`autonomousSessions.completionDiscipline.realCheck.enabled\` (read at the chokepoint, no restart). It is a NO-OP unless a job declares a \`verification_command\`.
503
-
503
+ ${SCOPE_ACCRETION_CLAUDEMD_SECTION(port)}
504
504
  **Cross-Machine Seamlessness (one agent, many machines)** — When I run on more than one machine, I am ONE agent that follows the user across them, not clones. Exactly one machine is "awake" at a time, decided by a **fenced lease** (a clock-proof, numbered "who's in charge" badge); the other is standby and takes over only when the awake machine genuinely goes silent.
505
505
  - **I never double-reply** — each inbound message is handled exactly once (durable per-message ledger keyed on the platform event id), so a redelivery or mid-handoff overlap can't make me answer twice.
506
506
  - **A handoff feels like a compaction pause, not amnesia** — the new machine resumes via CONTINUATION (picks up the thread, no re-greeting). Planned handoff = current context; hard failover = as-of-last-sync, and if my context is partial I say so honestly ("picking this back up from the other machine").
@@ -0,0 +1,65 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: minor -->
5
+
6
+ ## What Changed
7
+
8
+ Autonomous Scope-Accretion Completion Discipline (spec:
9
+ `docs/specs/autonomous-scope-accretion-completion.md`; parent principle:
10
+ Deferral = Deletion). The completion judge now refuses `met:true` while
11
+ in-scope artifacts an autonomous session ITSELF drafted sit unbuilt without
12
+ operator ratification. All load-bearing facts are server-side at the
13
+ `POST /autonomous/evaluate-completion` chokepoint: a git-truth sweep over the
14
+ run's roots (catches Write/Edit, Bash heredocs, `tee`, subagents identically —
15
+ P20), per-class deterministic corroboration (ceremony-record+report for specs,
16
+ an exact merged-PR predicate with ≥10 non-docs changed lines, a positive-only
17
+ local-git shortcut), and ratification resolved only from the server's own
18
+ Telegram receive path or the dashboard-PIN route — never from
19
+ session-writable files, never from client-supplied booleans. New:
20
+ `POST /autonomous/register` (server-minted runId, config + start-SHA snapshot,
21
+ endAt clamp), `POST /autonomous/:topic/run-end` (every exit surface —
22
+ met/expiry/hard-blocker/emergency-stop — enumerates unbuilt accreted work
23
+ loudly), PIN-gated `ratify-deferral` + `scope-accretion-override`, a persisted
24
+ K=3 breaker with a loud distinctly-labeled exit carrying the P13
25
+ classification, deletion-is-not-an-exit flagging, advisory layers (stop-hook
26
+ Layer-B vocabulary scan with fenced/quoted exclusion; PostToolUse `file_path`
27
+ ledger on both hook-template copies; Codex PostToolUse group), config
28
+ defaults (`autonomousSessions.completionDiscipline.scopeAccretion`, default
29
+ ON — monotone-safe), CLAUDE.md template + PostUpdateMigrator parity (marker
30
+ bump REALCHECK_VERIFY → SCOPE_ACCRETION for the stop hook, setup script, and
31
+ SKILL.md), and WorkingSetManifest carriage of the new server-owned store.
32
+
33
+ ## What to Tell Your User
34
+
35
+ Nothing proactively. If asked why an autonomous run "won't finish": the run
36
+ drafted deliverables (specs/audits/runbooks/scripts) it hasn't built yet, and
37
+ I now structurally hold "done" until they're built and corroborated, were
38
+ declared at setup, or you ratify deferring them — say "ratify deferral" in
39
+ the run's topic and I'll reply with the exact list for a one-tap yes, or use
40
+ the dashboard. Every run exit now tells you plainly if drafted work was left
41
+ unbuilt — a silent clock-out is structurally impossible.
42
+
43
+ ## Summary of New Capabilities
44
+
45
+ - `POST /autonomous/register` — server-side run registration (snapshot + runId).
46
+ - `POST /autonomous/:topic/run-end` — loud exit enumeration on every exit surface.
47
+ - `POST /autonomous/:topic/ratify-deferral` (PIN) — ratify deferring accreted artifacts.
48
+ - `POST /autonomous/:topic/scope-accretion-override` (PIN) — live mid-run lever.
49
+ - Conversational ratification at the live Telegram receive path (server-authored
50
+ enumeration; reply-anchored confirmation; verified operator only).
51
+ - Config: `autonomousSessions.completionDiscipline.scopeAccretion` (`enabled`,
52
+ `breakerK`) + `autonomousSessions.maxDurationMs`; feature-metrics key
53
+ `scope-accretion`.
54
+
55
+ ## Evidence
56
+
57
+ Three-tier suite green: 106 unit tests across 7 files (store, sweep,
58
+ corroboration, ratifier, stop-hook Layer B, CompletionEvaluator v3 canary),
59
+ 20 integration tests (route round-trips: register → hold → ratify → met;
60
+ PIN contracts; degraded corroboration), 5 e2e lifecycle tests including the
61
+ required evasion-shaped case (Bash-heredoc spec + met-looking transcript held
62
+ until real ceremony evidence) and the loud labeled breaker exit. Six new
63
+ parsers registered with byte-for-byte captured fixtures
64
+ (`tests/fixtures/captured/scope-accretion-*/`); `tsc --noEmit` clean; full
65
+ unit suite green at push.