@hecer/yoke 1.22.0 → 1.23.0

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 (65) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +21 -0
  4. package/README.md +3 -1
  5. package/TODOS.md +6 -0
  6. package/canon/manifest.yaml +1 -1
  7. package/canon/skills/visual-verification/SKILL.md +25 -2
  8. package/canon/tools/codex-rtk-hook.mjs +6 -16
  9. package/dist/cli.js +79 -0
  10. package/dist/code-intelligence/adapters/mcp.js +1 -0
  11. package/dist/code-intelligence/coordinator.js +3 -1
  12. package/dist/code-intelligence/index.js +1 -0
  13. package/dist/code-intelligence/mcp-client.js +15 -4
  14. package/dist/code-intelligence/mcp-server.js +4 -1
  15. package/dist/code-intelligence/preflight.js +71 -0
  16. package/dist/loop/cache-isolation.js +36 -0
  17. package/dist/loop/loop.js +24 -4
  18. package/dist/loop/parallel-adapters.js +35 -2
  19. package/dist/loop/parallel-command.js +17 -2
  20. package/dist/loop/proof-retention.js +70 -0
  21. package/dist/loop/reporter.js +1 -1
  22. package/dist/loop/run-command.js +6 -1
  23. package/dist/loop/runner.js +1 -1
  24. package/dist/loop/worker.js +7 -0
  25. package/dist/observability/history.js +1 -0
  26. package/dist/observability/local-report.js +120 -0
  27. package/dist/observability/usage.js +2 -0
  28. package/dist/retrofit/config.js +3 -1
  29. package/dist/retrofit/gitignore.js +10 -0
  30. package/dist/retrofit/planners/codex.js +20 -20
  31. package/dist/routing/router.js +2 -0
  32. package/dist/smoke/command.js +87 -13
  33. package/dist/update/check.js +1 -1
  34. package/docs/DELIVERY-JOURNEYS.md +8 -1
  35. package/docs/RELEASE-VALIDATION-1.23.0.md +39 -0
  36. package/docs/benchmarks/2026-10-04-efficiency/ANALYSE.md +182 -0
  37. package/docs/benchmarks/2026-10-04-efficiency/compare-help.py +55 -0
  38. package/docs/benchmarks/2026-10-04-efficiency/manifest.json +125 -0
  39. package/docs/benchmarks/2026-10-04-efficiency/provenance-analysis.json +90 -0
  40. package/docs/benchmarks/2026-10-04-efficiency/provenance-design.json +90 -0
  41. package/docs/benchmarks/2026-10-04-efficiency/provenance-original-report.json +90 -0
  42. package/docs/benchmarks/2026-10-04-efficiency/raw/DEVELOPMENT_ANALYSIS.md +142 -0
  43. package/docs/benchmarks/2026-10-04-efficiency/raw/RESULT.md +21 -0
  44. package/docs/benchmarks/2026-10-04-efficiency/raw/commands.jsonl +26 -0
  45. package/docs/benchmarks/2026-10-04-efficiency/raw/environment.json +31 -0
  46. package/docs/benchmarks/2026-10-04-efficiency/raw/final-yoke-smoke.json +40 -0
  47. package/docs/benchmarks/2026-10-04-efficiency/raw/model-purpose-hints.csv +19 -0
  48. package/docs/benchmarks/2026-10-04-efficiency/raw/observations.jsonl +21 -0
  49. package/docs/benchmarks/2026-10-04-efficiency/raw/observer-command-phases.csv +12 -0
  50. package/docs/benchmarks/2026-10-04-efficiency/raw/roles.csv +5 -0
  51. package/docs/benchmarks/2026-10-04-efficiency/raw/shell-categories.csv +8 -0
  52. package/docs/benchmarks/2026-10-04-efficiency/raw/stories.csv +8 -0
  53. package/docs/benchmarks/2026-10-04-efficiency/raw/summary.json +469 -0
  54. package/docs/benchmarks/2026-10-04-efficiency/raw/yoke-history.jsonl +104 -0
  55. package/docs/benchmarks/2026-10-04-efficiency/raw/yoke-loop-1.log +58 -0
  56. package/docs/benchmarks/2026-10-04-efficiency/raw/yoke-loop-2.log +29 -0
  57. package/docs/benchmarks/2026-10-04-efficiency/raw/yoke-loop-3.log +5 -0
  58. package/docs/benchmarks/2026-10-04-efficiency/raw/yoke-loop-4.log +12 -0
  59. package/docs/benchmarks/2026-10-04-efficiency/raw/yoke-phases.csv +10 -0
  60. package/docs/benchmarks/2026-10-04-efficiency/regression-comparison.json +104 -0
  61. package/docs/superpowers/plans/2026-10-04-yoke-1.23-efficiency-prd.json +11 -0
  62. package/docs/superpowers/plans/2026-10-04-yoke-1.23-efficiency.md +83 -0
  63. package/docs/superpowers/specs/2026-10-04-yoke-1.23-efficiency-design.md +120 -0
  64. package/gemini-extension.json +1 -1
  65. package/package.json +1 -1
@@ -0,0 +1,469 @@
1
+ {
2
+ "cutoff_utc": "2026-10-04T09:27:32.214737+00:00",
3
+ "stories": [
4
+ {
5
+ "story": "STORY-1",
6
+ "title": "Scaffold runnable typed NEXUS foundation and test infrastructure",
7
+ "passes": true,
8
+ "implementation_attempts": 1,
9
+ "implementation_seconds": 565.898,
10
+ "verification_seconds": 3.058,
11
+ "integration_seconds": 6.301,
12
+ "queue_wait_seconds": 0.007,
13
+ "input_tokens": 1435585,
14
+ "cached_input_tokens": 1314176,
15
+ "output_tokens": 12725,
16
+ "measured_provider_calls": 1
17
+ },
18
+ {
19
+ "story": "STORY-2",
20
+ "title": "Implement deterministic telemetry, incidents and operator machine actions",
21
+ "passes": true,
22
+ "implementation_attempts": 1,
23
+ "implementation_seconds": 367.382,
24
+ "verification_seconds": 2.816,
25
+ "integration_seconds": 8.723,
26
+ "queue_wait_seconds": 0.011,
27
+ "input_tokens": 698268,
28
+ "cached_input_tokens": 643968,
29
+ "output_tokens": 8663,
30
+ "measured_provider_calls": 1
31
+ },
32
+ {
33
+ "story": "STORY-3",
34
+ "title": "Create visually distinctive interactive digital twin topology",
35
+ "passes": true,
36
+ "implementation_attempts": 1,
37
+ "implementation_seconds": 696.314,
38
+ "verification_seconds": 5.19,
39
+ "integration_seconds": 9.183,
40
+ "queue_wait_seconds": 0.007,
41
+ "input_tokens": 2080455,
42
+ "cached_input_tokens": 1994752,
43
+ "output_tokens": 15192,
44
+ "measured_provider_calls": 1
45
+ },
46
+ {
47
+ "story": "STORY-4",
48
+ "title": "Build detailed machine inspector, Fleet and operational events/KPIs",
49
+ "passes": true,
50
+ "implementation_attempts": 1,
51
+ "implementation_seconds": 505.759,
52
+ "verification_seconds": 4.124,
53
+ "integration_seconds": 11.815,
54
+ "queue_wait_seconds": 0.004,
55
+ "input_tokens": 921789,
56
+ "cached_input_tokens": 857088,
57
+ "output_tokens": 12190,
58
+ "measured_provider_calls": 1
59
+ },
60
+ {
61
+ "story": "STORY-5",
62
+ "title": "Integrate complete operations interface and searchable keyboard command palette",
63
+ "passes": true,
64
+ "implementation_attempts": 2,
65
+ "implementation_seconds": 566.104,
66
+ "verification_seconds": 11.58,
67
+ "integration_seconds": 35.665,
68
+ "queue_wait_seconds": 0.014,
69
+ "input_tokens": 1347301,
70
+ "cached_input_tokens": 1245568,
71
+ "output_tokens": 11899,
72
+ "measured_provider_calls": 2
73
+ },
74
+ {
75
+ "story": "STORY-6",
76
+ "title": "Verify integrated benchmark in browser, repair defects and save all visual proofs",
77
+ "passes": true,
78
+ "implementation_attempts": 1,
79
+ "implementation_seconds": 683.215,
80
+ "verification_seconds": 28.821,
81
+ "integration_seconds": 28.292,
82
+ "queue_wait_seconds": 0.005,
83
+ "input_tokens": 2950211,
84
+ "cached_input_tokens": 2853888,
85
+ "output_tokens": 13068,
86
+ "measured_provider_calls": 1
87
+ },
88
+ {
89
+ "story": "STORY-7",
90
+ "title": "Repair verified desktop containment and mobile priority; refresh visual proof",
91
+ "passes": true,
92
+ "implementation_attempts": 1,
93
+ "implementation_seconds": 484.22,
94
+ "verification_seconds": 18.435,
95
+ "integration_seconds": 0,
96
+ "queue_wait_seconds": 0.007,
97
+ "input_tokens": 1800983,
98
+ "cached_input_tokens": 1712512,
99
+ "output_tokens": 8456,
100
+ "measured_provider_calls": 1
101
+ }
102
+ ],
103
+ "roles": {
104
+ "guardian": {
105
+ "sessions": 7,
106
+ "measured_sessions": 7,
107
+ "model_calls": 48,
108
+ "input_tokens": 1281675,
109
+ "cached_input_tokens": 1073152,
110
+ "output_tokens": 5404,
111
+ "tool_output_bytes": 0,
112
+ "uncached_input_tokens": 208523,
113
+ "unknown_sessions": 0
114
+ },
115
+ "implementation": {
116
+ "sessions": 8,
117
+ "measured_sessions": 8,
118
+ "model_calls": 189,
119
+ "input_tokens": 11234592,
120
+ "cached_input_tokens": 10621952,
121
+ "output_tokens": 82193,
122
+ "tool_output_bytes": 6175737,
123
+ "uncached_input_tokens": 612640,
124
+ "unknown_sessions": 0
125
+ },
126
+ "coordinator": {
127
+ "sessions": 1,
128
+ "measured_sessions": 1,
129
+ "model_calls": 127,
130
+ "input_tokens": 15525113,
131
+ "cached_input_tokens": 15139456,
132
+ "output_tokens": 107118,
133
+ "tool_output_bytes": 2971077,
134
+ "uncached_input_tokens": 385657,
135
+ "unknown_sessions": 0
136
+ },
137
+ "planner_or_review": {
138
+ "sessions": 2,
139
+ "measured_sessions": 2,
140
+ "model_calls": 2,
141
+ "input_tokens": 52718,
142
+ "cached_input_tokens": 14336,
143
+ "output_tokens": 1215,
144
+ "tool_output_bytes": 0,
145
+ "uncached_input_tokens": 38382,
146
+ "unknown_sessions": 0
147
+ }
148
+ },
149
+ "yoke_phases": {
150
+ "resource-wait-implementation": {
151
+ "count": 8,
152
+ "seconds": 0.038000000000000006
153
+ },
154
+ "waiting-resource": {
155
+ "count": 14,
156
+ "seconds": 97.92699999999999
157
+ },
158
+ "implementing": {
159
+ "count": 8,
160
+ "seconds": 3868.892
161
+ },
162
+ "verifying": {
163
+ "count": 9,
164
+ "seconds": 74.024
165
+ },
166
+ "integration-queue": {
167
+ "count": 7,
168
+ "seconds": 0.019000000000000003
169
+ },
170
+ "resource-wait-integration": {
171
+ "count": 7,
172
+ "seconds": 0.017
173
+ },
174
+ "committing": {
175
+ "count": 8,
176
+ "seconds": 2.701
177
+ },
178
+ "integration": {
179
+ "count": 7,
180
+ "seconds": 99.979
181
+ },
182
+ "design": {
183
+ "count": 4,
184
+ "seconds": 14.082
185
+ }
186
+ },
187
+ "parallelism": {
188
+ "implementation_workers_sampled": 2,
189
+ "shared_units_sampled": 2,
190
+ "sample_count": 530,
191
+ "sampling_seconds": 10
192
+ },
193
+ "summed_implementation_seconds": 3868.8920000000003,
194
+ "implementation_interval_union_seconds": 3184.729,
195
+ "observed_overlapped_worker_seconds": 684.163,
196
+ "recorded_loop_process_seconds": 3384.74,
197
+ "loop_invocations_finished": 4,
198
+ "loop_invocations_failed": 2,
199
+ "shell_categories": {
200
+ "discovery": {
201
+ "count": 73,
202
+ "failed_or_cancelled": 12,
203
+ "process_lifetime_seconds": 32.161418747,
204
+ "output_bytes": 452893
205
+ },
206
+ "dependency_setup": {
207
+ "count": 10,
208
+ "failed_or_cancelled": 5,
209
+ "process_lifetime_seconds": 114.452577168,
210
+ "output_bytes": 6349
211
+ },
212
+ "checks": {
213
+ "count": 92,
214
+ "failed_or_cancelled": 25,
215
+ "process_lifetime_seconds": 461.32378954399996,
216
+ "output_bytes": 420588
217
+ },
218
+ "browser_validation": {
219
+ "count": 23,
220
+ "failed_or_cancelled": 9,
221
+ "process_lifetime_seconds": 103.279605002,
222
+ "output_bytes": 109393
223
+ },
224
+ "dev_server_or_mixed": {
225
+ "count": 12,
226
+ "failed_or_cancelled": 12,
227
+ "process_lifetime_seconds": 677.7817032089998,
228
+ "output_bytes": 4534
229
+ },
230
+ "other": {
231
+ "count": 17,
232
+ "failed_or_cancelled": 3,
233
+ "process_lifetime_seconds": 86.670873458,
234
+ "output_bytes": 4748
235
+ },
236
+ "file_editing": {
237
+ "count": 1,
238
+ "failed_or_cancelled": 0,
239
+ "process_lifetime_seconds": 0.268871041,
240
+ "output_bytes": 0
241
+ }
242
+ },
243
+ "cost_usd": null,
244
+ "measurement_scope": "Provider-reported cumulative usage through cutoff; final response and future calls excluded; Yoke and native session totals are alternate views, never added together",
245
+ "observer_elapsed_seconds": 5504.813512,
246
+ "observer_command_phases": {
247
+ "environment": {
248
+ "commands": 4,
249
+ "failed": 1,
250
+ "wall_seconds": 0.9144000000000001,
251
+ "child_cpu_seconds": 0.6464
252
+ },
253
+ "code-intelligence": {
254
+ "commands": 3,
255
+ "failed": 0,
256
+ "wall_seconds": 1.9868000000000001,
257
+ "child_cpu_seconds": 1.2511999999999999
258
+ },
259
+ "planning": {
260
+ "commands": 5,
261
+ "failed": 1,
262
+ "wall_seconds": 61.429300000000005,
263
+ "child_cpu_seconds": 11.0399
264
+ },
265
+ "dependency-setup": {
266
+ "commands": 2,
267
+ "failed": 1,
268
+ "wall_seconds": 10.0491,
269
+ "child_cpu_seconds": 6.7957
270
+ },
271
+ "yoke-smoke": {
272
+ "commands": 1,
273
+ "failed": 1,
274
+ "wall_seconds": 0.4226,
275
+ "child_cpu_seconds": 0.2707
276
+ },
277
+ "execution": {
278
+ "commands": 4,
279
+ "failed": 2,
280
+ "wall_seconds": 3384.74,
281
+ "child_cpu_seconds": 1277.8591999999999
282
+ },
283
+ "recovery": {
284
+ "commands": 1,
285
+ "failed": 0,
286
+ "wall_seconds": 0.5313,
287
+ "child_cpu_seconds": 0.3452
288
+ },
289
+ "dev-server": {
290
+ "commands": 1,
291
+ "failed": 1,
292
+ "wall_seconds": 0.8258,
293
+ "child_cpu_seconds": 0.5059
294
+ },
295
+ "browser-inspection": {
296
+ "commands": 2,
297
+ "failed": 0,
298
+ "wall_seconds": 14.34,
299
+ "child_cpu_seconds": 5.4323
300
+ },
301
+ "final-validation": {
302
+ "commands": 1,
303
+ "failed": 0,
304
+ "wall_seconds": 19.997,
305
+ "child_cpu_seconds": 30.0019
306
+ },
307
+ "final-yoke-smoke": {
308
+ "commands": 2,
309
+ "failed": 2,
310
+ "wall_seconds": 5.5131,
311
+ "child_cpu_seconds": 4.1831
312
+ }
313
+ },
314
+ "model_purpose_hints": {
315
+ "guardian/unknown": {
316
+ "usage_events": 48,
317
+ "input_tokens": 1281675,
318
+ "cached_input_tokens": 1073152,
319
+ "output_tokens": 5404
320
+ },
321
+ "implementation/discovery": {
322
+ "usage_events": 35,
323
+ "input_tokens": 2015491,
324
+ "cached_input_tokens": 1824896,
325
+ "output_tokens": 6669
326
+ },
327
+ "implementation/checks": {
328
+ "usage_events": 63,
329
+ "input_tokens": 3377368,
330
+ "cached_input_tokens": 3130624,
331
+ "output_tokens": 44163
332
+ },
333
+ "implementation/code_intelligence": {
334
+ "usage_events": 6,
335
+ "input_tokens": 263056,
336
+ "cached_input_tokens": 252160,
337
+ "output_tokens": 785
338
+ },
339
+ "implementation/dependency_setup": {
340
+ "usage_events": 6,
341
+ "input_tokens": 270273,
342
+ "cached_input_tokens": 244480,
343
+ "output_tokens": 2947
344
+ },
345
+ "implementation/dev_server_or_mixed": {
346
+ "usage_events": 12,
347
+ "input_tokens": 809495,
348
+ "cached_input_tokens": 797184,
349
+ "output_tokens": 4029
350
+ },
351
+ "implementation/waiting_or_polling": {
352
+ "usage_events": 26,
353
+ "input_tokens": 1668311,
354
+ "cached_input_tokens": 1642752,
355
+ "output_tokens": 1869
356
+ },
357
+ "implementation/browser_validation": {
358
+ "usage_events": 41,
359
+ "input_tokens": 2830598,
360
+ "cached_input_tokens": 2729856,
361
+ "output_tokens": 21731
362
+ },
363
+ "coordinator/discovery": {
364
+ "usage_events": 26,
365
+ "input_tokens": 2839894,
366
+ "cached_input_tokens": 2756096,
367
+ "output_tokens": 14891
368
+ },
369
+ "coordinator/browser_validation": {
370
+ "usage_events": 24,
371
+ "input_tokens": 3122621,
372
+ "cached_input_tokens": 3013248,
373
+ "output_tokens": 27865
374
+ },
375
+ "coordinator/checks": {
376
+ "usage_events": 11,
377
+ "input_tokens": 1031473,
378
+ "cached_input_tokens": 1002752,
379
+ "output_tokens": 5642
380
+ },
381
+ "coordinator/code_intelligence": {
382
+ "usage_events": 4,
383
+ "input_tokens": 295093,
384
+ "cached_input_tokens": 281344,
385
+ "output_tokens": 3248
386
+ },
387
+ "coordinator/dev_server_or_mixed": {
388
+ "usage_events": 5,
389
+ "input_tokens": 696003,
390
+ "cached_input_tokens": 682752,
391
+ "output_tokens": 10074
392
+ },
393
+ "coordinator/waiting_or_polling": {
394
+ "usage_events": 35,
395
+ "input_tokens": 4593089,
396
+ "cached_input_tokens": 4546688,
397
+ "output_tokens": 31499
398
+ },
399
+ "coordinator/other": {
400
+ "usage_events": 14,
401
+ "input_tokens": 1765447,
402
+ "cached_input_tokens": 1753856,
403
+ "output_tokens": 468
404
+ },
405
+ "coordinator/file_editing": {
406
+ "usage_events": 7,
407
+ "input_tokens": 1080599,
408
+ "cached_input_tokens": 1003392,
409
+ "output_tokens": 11569
410
+ },
411
+ "coordinator/dependency_setup": {
412
+ "usage_events": 1,
413
+ "input_tokens": 100894,
414
+ "cached_input_tokens": 99328,
415
+ "output_tokens": 1862
416
+ },
417
+ "planner_or_review/unknown": {
418
+ "usage_events": 2,
419
+ "input_tokens": 52718,
420
+ "cached_input_tokens": 14336,
421
+ "output_tokens": 1215
422
+ }
423
+ },
424
+ "rtk_estimates": {
425
+ "commands": 42,
426
+ "input": 13752,
427
+ "output": 11635,
428
+ "saved": 2117,
429
+ "execution_ms": 341296
430
+ },
431
+ "environment": {
432
+ "captured_at": "2026-10-04T09:25:22.622378+00:00",
433
+ "yoke": "1.22.0",
434
+ "codex": "codex-cli 0.160.0",
435
+ "rtk": "rtk 0.51.0",
436
+ "packages": {
437
+ "react": "19.3.0",
438
+ "typescript": "7.0.2",
439
+ "vite": "8.3.2",
440
+ "vitest": "5.0.3",
441
+ "playwright": "1.63.0"
442
+ },
443
+ "code_intelligence": {
444
+ "mode": "active",
445
+ "facade_handshake": "passed",
446
+ "semantic_backends": "graft, graphify, serena unavailable",
447
+ "semantic_benefit_measured": false
448
+ },
449
+ "runner": {
450
+ "model": "gpt-6.1-sol",
451
+ "reasoning_effort": "medium"
452
+ },
453
+ "rtk_hook": "native Codex integration plus explicit commands",
454
+ "continuous_exploration": false,
455
+ "app_url": "http://127.0.0.1:6317",
456
+ "viewport_checks": {
457
+ "desktop": "1440x900",
458
+ "mobile": "390x844"
459
+ },
460
+ "lint": "not configured"
461
+ },
462
+ "native_usage_totals": {
463
+ "input_tokens": 28094098,
464
+ "cached_input_tokens": 26848896,
465
+ "uncached_input_tokens": 1245202,
466
+ "output_tokens": 195930,
467
+ "model_calls": 366
468
+ }
469
+ }