@toolproof-npm/schema 0.1.82 → 0.1.83

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 (25) hide show
  1. package/dist/genesis/generated/dependencies_ordered.json +18 -23
  2. package/dist/genesis/generated/resourceTypes/Genesis.json +41 -69
  3. package/dist/genesis/generated/resources/Genesis.json +51 -89
  4. package/dist/genesis/generated/schemas/Genesis.json +103 -125
  5. package/dist/genesis/generated/schemas/RunRecording.json +123 -145
  6. package/dist/genesis/generated/schemas/RunnableStrategy.d.ts +2 -0
  7. package/dist/genesis/generated/schemas/RunnableStrategy.js +2 -0
  8. package/dist/genesis/generated/schemas/{StrategyRun.json → RunnableStrategy.json} +21 -21
  9. package/dist/genesis/generated/terminals.json +1 -1
  10. package/dist/genesis/generated/types/ResourceTypeGenesis.d.ts +5 -6
  11. package/dist/genesis/generated/types/Resource_RunnableStrategy.d.ts +3 -0
  12. package/dist/genesis/generated/types/types.d.ts +274 -286
  13. package/dist/index.d.ts +3 -3
  14. package/dist/index.js +1 -1
  15. package/package.json +2 -2
  16. package/dist/genesis/generated/resource-envelopes/Genesis.d.ts +0 -2
  17. package/dist/genesis/generated/resource-envelopes/Genesis.js +0 -2
  18. package/dist/genesis/generated/resource-envelopes/Genesis.json +0 -2337
  19. package/dist/genesis/generated/resource-type-envelopes/Genesis.d.ts +0 -2
  20. package/dist/genesis/generated/resource-type-envelopes/Genesis.js +0 -2
  21. package/dist/genesis/generated/resource-type-envelopes/Genesis.json +0 -1757
  22. package/dist/genesis/generated/schemas/StrategyRun.d.ts +0 -2
  23. package/dist/genesis/generated/schemas/StrategyRun.js +0 -2
  24. package/dist/genesis/generated/types/Resource_StrategyRun.d.ts +0 -3
  25. /package/dist/genesis/generated/types/{Resource_StrategyRun.js → Resource_RunnableStrategy.js} +0 -0
@@ -65,10 +65,6 @@
65
65
  "Error": [
66
66
  "Documented"
67
67
  ],
68
- "ExecutionSocketMaterialized": [
69
- "Resource",
70
- "ResourceRoleIdentity"
71
- ],
72
68
  "ForStepIdentity": [],
73
69
  "JobIdentity": [],
74
70
  "ResourceFormat": [
@@ -137,23 +133,22 @@
137
133
  "RunEventCounters": [],
138
134
  "RunEventKind": [],
139
135
  "RunEventStepKind": [],
136
+ "RunnableStrategyIdentity": [],
137
+ "RunnableStrategyStatus": [],
138
+ "RunnableStrategyContext": [
139
+ "Timestamp",
140
+ "RunnableStrategyStatus"
141
+ ],
140
142
  "StatefulStrategyIdentity": [],
141
143
  "StatelessStrategyIdentity": [],
142
144
  "StepKind": [],
143
- "StrategyRunIdentity": [],
144
- "StrategyRunStatus": [],
145
- "StrategyRunContext": [
146
- "Timestamp",
147
- "StrategyRunStatus"
148
- ],
149
145
  "StrategyState": [
150
146
  "ExecutionSocket",
151
147
  "ExecutionIdentity"
152
148
  ],
153
149
  "StrategyStateDelta": [
154
- "ExecutionSocketMaterialized",
155
- "ExecutionIdentity",
156
- "ExecutionSocket"
150
+ "ExecutionSocket",
151
+ "ExecutionIdentity"
157
152
  ],
158
153
  "StrategyStateWrapper": [
159
154
  "StrategyState"
@@ -207,8 +202,8 @@
207
202
  "RunEventCounters",
208
203
  "Timestamp",
209
204
  "RunEventKind",
205
+ "RunnableStrategyIdentity",
210
206
  "RunEventStepMetaData",
211
- "StrategyRunIdentity",
212
207
  "StrategyThreadIdentity",
213
208
  "RunEventUpdates"
214
209
  ],
@@ -237,21 +232,21 @@
237
232
  "StrategyThreadMapWrapper": [
238
233
  "StrategyThreadMap"
239
234
  ],
240
- "StrategyRun": [
235
+ "RunnableStrategy": [
241
236
  "StrategyThreadMapWrapper",
242
237
  "StrategyStateWrapper",
243
- "StrategyRunIdentity",
244
- "StatefulStrategyIdentity",
245
- "StrategyRunContext"
238
+ "RunnableStrategyIdentity",
239
+ "RunnableStrategyContext",
240
+ "StatefulStrategyIdentity"
246
241
  ],
247
242
  "GraphStartRunEvent": [
248
243
  "RunEventBase",
249
- "StrategyRun"
244
+ "RunnableStrategy"
250
245
  ],
251
- "StrategyRunUpdate": [
246
+ "RunnableStrategyUpdate": [
252
247
  "StrategyStateDelta",
253
- "StrategyRun",
254
- "StrategyRunIdentity"
248
+ "RunnableStrategy",
249
+ "RunnableStrategyIdentity"
255
250
  ],
256
251
  "TickRunEvent": [
257
252
  "RunEventBase"
@@ -265,7 +260,7 @@
265
260
  "RunRecording": [
266
261
  "Timestamp",
267
262
  "RunEvent",
268
- "StrategyRunIdentity",
263
+ "RunnableStrategyIdentity",
269
264
  "StrategyThreadIdentity"
270
265
  ]
271
266
  }
@@ -1774,24 +1774,6 @@
1774
1774
  "unevaluatedProperties": false
1775
1775
  }
1776
1776
  },
1777
- "ExecutionSocketMaterialized": {
1778
- "identity": "TYPE-ExecutionSocketMaterialized",
1779
- "name": "ExecutionSocketMaterialized",
1780
- "description": "dummy-description",
1781
- "resourceFormatRef": "FORMAT-ApplicationJson",
1782
- "extractionSchema": {
1783
- "$anchor": "ExecutionSocketMaterialized",
1784
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1785
- "type": "object",
1786
- "propertyNames": {
1787
- "$ref": "#/$defs/ResourceRoleIdentity"
1788
- },
1789
- "additionalProperties": {
1790
- "$ref": "#/$defs/Resource"
1791
- },
1792
- "unevaluatedProperties": false
1793
- }
1794
- },
1795
1777
  "StrategyState": {
1796
1778
  "identity": "TYPE-StrategyState",
1797
1779
  "name": "StrategyState",
@@ -1868,25 +1850,25 @@
1868
1850
  "unevaluatedProperties": false
1869
1851
  }
1870
1852
  },
1871
- "StrategyRunIdentity": {
1872
- "identity": "TYPE-StrategyRunIdentity",
1873
- "name": "StrategyRunIdentity",
1853
+ "RunnableStrategyIdentity": {
1854
+ "identity": "TYPE-RunnableStrategyIdentity",
1855
+ "name": "RunnableStrategyIdentity",
1874
1856
  "description": "dummy-description",
1875
1857
  "resourceFormatRef": "FORMAT-ApplicationJson",
1876
1858
  "extractionSchema": {
1877
- "$anchor": "StrategyRunIdentity",
1859
+ "$anchor": "RunnableStrategyIdentity",
1878
1860
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1879
1861
  "type": "string",
1880
- "pattern": "^STRATEGY_RUN-.+$"
1862
+ "pattern": "^RUNNABLE_STRATEGY-.+$"
1881
1863
  }
1882
1864
  },
1883
- "StrategyRunStatus": {
1884
- "identity": "TYPE-StrategyRunStatus",
1885
- "name": "StrategyRunStatus",
1865
+ "RunnableStrategyStatus": {
1866
+ "identity": "TYPE-RunnableStrategyStatus",
1867
+ "name": "RunnableStrategyStatus",
1886
1868
  "description": "dummy-description",
1887
1869
  "resourceFormatRef": "FORMAT-ApplicationJson",
1888
1870
  "extractionSchema": {
1889
- "$anchor": "StrategyRunStatus",
1871
+ "$anchor": "RunnableStrategyStatus",
1890
1872
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1891
1873
  "type": "string",
1892
1874
  "enum": [
@@ -1898,13 +1880,13 @@
1898
1880
  ]
1899
1881
  }
1900
1882
  },
1901
- "StrategyRunContext": {
1902
- "identity": "TYPE-StrategyRunContext",
1903
- "name": "StrategyRunContext",
1883
+ "RunnableStrategyContext": {
1884
+ "identity": "TYPE-RunnableStrategyContext",
1885
+ "name": "RunnableStrategyContext",
1904
1886
  "description": "dummy-description",
1905
1887
  "resourceFormatRef": "FORMAT-ApplicationJson",
1906
1888
  "extractionSchema": {
1907
- "$anchor": "StrategyRunContext",
1889
+ "$anchor": "RunnableStrategyContext",
1908
1890
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1909
1891
  "type": "object",
1910
1892
  "required": [
@@ -1912,7 +1894,7 @@
1912
1894
  ],
1913
1895
  "properties": {
1914
1896
  "status": {
1915
- "$ref": "#/$defs/StrategyRunStatus"
1897
+ "$ref": "#/$defs/RunnableStrategyStatus"
1916
1898
  },
1917
1899
  "startedAt": {
1918
1900
  "$ref": "#/$defs/Timestamp"
@@ -1976,29 +1958,29 @@
1976
1958
  }
1977
1959
  }
1978
1960
  },
1979
- "StrategyRun": {
1980
- "identity": "TYPE-StrategyRun",
1981
- "name": "StrategyRun",
1961
+ "RunnableStrategy": {
1962
+ "identity": "TYPE-RunnableStrategy",
1963
+ "name": "RunnableStrategy",
1982
1964
  "description": "dummy-description",
1983
1965
  "resourceFormatRef": "FORMAT-ApplicationJson",
1984
1966
  "extractionSchema": {
1985
- "$anchor": "StrategyRun",
1967
+ "$anchor": "RunnableStrategy",
1986
1968
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1987
1969
  "type": "object",
1988
1970
  "required": [
1989
1971
  "identity",
1990
1972
  "statefulStrategyRef",
1991
- "strategyRunContext"
1973
+ "runnableStrategyContext"
1992
1974
  ],
1993
1975
  "properties": {
1994
1976
  "identity": {
1995
- "$ref": "#/$defs/StrategyRunIdentity"
1977
+ "$ref": "#/$defs/RunnableStrategyIdentity"
1996
1978
  },
1997
1979
  "statefulStrategyRef": {
1998
1980
  "$ref": "#/$defs/StatefulStrategyIdentity"
1999
1981
  },
2000
- "strategyRunContext": {
2001
- "$ref": "#/$defs/StrategyRunContext"
1982
+ "runnableStrategyContext": {
1983
+ "$ref": "#/$defs/RunnableStrategyContext"
2002
1984
  }
2003
1985
  },
2004
1986
  "allOf": [
@@ -2007,7 +1989,7 @@
2007
1989
  "$ref": "#/$defs/StrategyThreadMapWrapper"
2008
1990
  },
2009
1991
  {
2010
- "$comment": "Reusing StrategyStateWrapper to include the strategy state in the StrategyRun. The Engine will update it with materialized Resources (i.e. runtime-provided inputs and job-created outputs) during the run.",
1992
+ "$comment": "Reusing StrategyStateWrapper to include the strategy state in the RunnableStrategy. The Engine will update it with materialized Resources (i.e. runtime-provided inputs and job-created outputs) during the run.",
2011
1993
  "$ref": "#/$defs/StrategyStateWrapper"
2012
1994
  }
2013
1995
  ],
@@ -2026,16 +2008,6 @@
2026
2008
  "$comment": "Shared delta payload for strategy state updates; used both as standalone updates and embedded within run events.",
2027
2009
  "properties": {
2028
2010
  "strategyStateUpdate": {
2029
- "type": "object",
2030
- "propertyNames": {
2031
- "$ref": "#/$defs/ExecutionIdentity"
2032
- },
2033
- "additionalProperties": {
2034
- "$ref": "#/$defs/ExecutionSocketMaterialized"
2035
- },
2036
- "unevaluatedProperties": false
2037
- },
2038
- "strategyStateUpdateWide": {
2039
2011
  "type": "object",
2040
2012
  "propertyNames": {
2041
2013
  "$ref": "#/$defs/ExecutionIdentity"
@@ -2048,26 +2020,26 @@
2048
2020
  }
2049
2021
  }
2050
2022
  },
2051
- "StrategyRunUpdate": {
2052
- "identity": "TYPE-StrategyRunUpdate",
2053
- "name": "StrategyRunUpdate",
2023
+ "RunnableStrategyUpdate": {
2024
+ "identity": "TYPE-RunnableStrategyUpdate",
2025
+ "name": "RunnableStrategyUpdate",
2054
2026
  "description": "dummy-description",
2055
2027
  "resourceFormatRef": "FORMAT-ApplicationJson",
2056
2028
  "extractionSchema": {
2057
- "$anchor": "StrategyRunUpdate",
2029
+ "$anchor": "RunnableStrategyUpdate",
2058
2030
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2059
2031
  "type": "object",
2060
2032
  "required": [
2061
- "strategyRunRef",
2033
+ "runnableStrategyRef",
2062
2034
  "strategyStateUpdate"
2063
2035
  ],
2064
2036
  "properties": {
2065
- "strategyRunRef": {
2066
- "$ref": "#/$defs/StrategyRunIdentity"
2037
+ "runnableStrategyRef": {
2038
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2067
2039
  },
2068
- "strategyRun": {
2069
- "$comment": "Optional embedded snapshot; strategyRunRef remains the canonical pointer.",
2070
- "$ref": "#/$defs/StrategyRun"
2040
+ "runnableStrategy": {
2041
+ "$comment": "Optional embedded snapshot; runnableStrategyRef remains the canonical pointer.",
2042
+ "$ref": "#/$defs/RunnableStrategy"
2071
2043
  }
2072
2044
  },
2073
2045
  "allOf": [
@@ -2231,7 +2203,7 @@
2231
2203
  "type": "object",
2232
2204
  "required": [
2233
2205
  "kind",
2234
- "strategyRunRef",
2206
+ "runnableStrategyRef",
2235
2207
  "strategyThreadRef",
2236
2208
  "createdAt",
2237
2209
  "nodeName",
@@ -2241,8 +2213,8 @@
2241
2213
  "kind": {
2242
2214
  "$ref": "#/$defs/RunEventKind"
2243
2215
  },
2244
- "strategyRunRef": {
2245
- "$ref": "#/$defs/StrategyRunIdentity"
2216
+ "runnableStrategyRef": {
2217
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2246
2218
  },
2247
2219
  "strategyThreadRef": {
2248
2220
  "$ref": "#/$defs/StrategyThreadIdentity"
@@ -2283,14 +2255,14 @@
2283
2255
  {
2284
2256
  "type": "object",
2285
2257
  "required": [
2286
- "strategyRunSeed"
2258
+ "runnableStrategySeed"
2287
2259
  ],
2288
2260
  "properties": {
2289
2261
  "kind": {
2290
2262
  "const": "graph_start"
2291
2263
  },
2292
- "strategyRunSeed": {
2293
- "$ref": "#/$defs/StrategyRun"
2264
+ "runnableStrategySeed": {
2265
+ "$ref": "#/$defs/RunnableStrategy"
2294
2266
  }
2295
2267
  }
2296
2268
  }
@@ -2403,9 +2375,9 @@
2403
2375
  "runEvents"
2404
2376
  ],
2405
2377
  "properties": {
2406
- "strategyRunRef": {
2378
+ "runnableStrategyRef": {
2407
2379
  "$comment": "Optional; derived from the first event but useful for indexing.",
2408
- "$ref": "#/$defs/StrategyRunIdentity"
2380
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2409
2381
  },
2410
2382
  "strategyThreadRef": {
2411
2383
  "$comment": "Optional; derived from the first event but useful for indexing.",
@@ -2346,34 +2346,6 @@
2346
2346
  }
2347
2347
  }
2348
2348
  },
2349
- "ExecutionSocketMaterialized": {
2350
- "identity": "RESOURCE-ExecutionSocketMaterialized",
2351
- "resourceTypeRef": "TYPE-ResourceType",
2352
- "creationContext": {
2353
- "resourceRoleRef": "ROLE-Genesis",
2354
- "executionRef": "EXECUTION-ExecutionSocketMaterialized"
2355
- },
2356
- "kind": "materialized",
2357
- "timestamp": "2025-11-30T00:00:00.000Z",
2358
- "extractedData": {
2359
- "identity": "TYPE-ExecutionSocketMaterialized",
2360
- "name": "ExecutionSocketMaterialized",
2361
- "description": "dummy-description",
2362
- "resourceFormatRef": "FORMAT-ApplicationJson",
2363
- "extractionSchema": {
2364
- "$anchor": "ExecutionSocketMaterialized",
2365
- "$schema": "https://json-schema.org/draft/2020-12/schema",
2366
- "type": "object",
2367
- "propertyNames": {
2368
- "$ref": "#/$defs/ResourceRoleIdentity"
2369
- },
2370
- "additionalProperties": {
2371
- "$ref": "#/$defs/Resource"
2372
- },
2373
- "unevaluatedProperties": false
2374
- }
2375
- }
2376
- },
2377
2349
  "StrategyState": {
2378
2350
  "identity": "RESOURCE-StrategyState",
2379
2351
  "resourceTypeRef": "TYPE-ResourceType",
@@ -2490,44 +2462,44 @@
2490
2462
  }
2491
2463
  }
2492
2464
  },
2493
- "StrategyRunIdentity": {
2494
- "identity": "RESOURCE-StrategyRunIdentity",
2465
+ "RunnableStrategyIdentity": {
2466
+ "identity": "RESOURCE-RunnableStrategyIdentity",
2495
2467
  "resourceTypeRef": "TYPE-ResourceType",
2496
2468
  "creationContext": {
2497
2469
  "resourceRoleRef": "ROLE-Genesis",
2498
- "executionRef": "EXECUTION-StrategyRunIdentity"
2470
+ "executionRef": "EXECUTION-RunnableStrategyIdentity"
2499
2471
  },
2500
2472
  "kind": "materialized",
2501
2473
  "timestamp": "2025-11-30T00:00:00.000Z",
2502
2474
  "extractedData": {
2503
- "identity": "TYPE-StrategyRunIdentity",
2504
- "name": "StrategyRunIdentity",
2475
+ "identity": "TYPE-RunnableStrategyIdentity",
2476
+ "name": "RunnableStrategyIdentity",
2505
2477
  "description": "dummy-description",
2506
2478
  "resourceFormatRef": "FORMAT-ApplicationJson",
2507
2479
  "extractionSchema": {
2508
- "$anchor": "StrategyRunIdentity",
2480
+ "$anchor": "RunnableStrategyIdentity",
2509
2481
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2510
2482
  "type": "string",
2511
- "pattern": "^STRATEGY_RUN-.+$"
2483
+ "pattern": "^RUNNABLE_STRATEGY-.+$"
2512
2484
  }
2513
2485
  }
2514
2486
  },
2515
- "StrategyRunStatus": {
2516
- "identity": "RESOURCE-StrategyRunStatus",
2487
+ "RunnableStrategyStatus": {
2488
+ "identity": "RESOURCE-RunnableStrategyStatus",
2517
2489
  "resourceTypeRef": "TYPE-ResourceType",
2518
2490
  "creationContext": {
2519
2491
  "resourceRoleRef": "ROLE-Genesis",
2520
- "executionRef": "EXECUTION-StrategyRunStatus"
2492
+ "executionRef": "EXECUTION-RunnableStrategyStatus"
2521
2493
  },
2522
2494
  "kind": "materialized",
2523
2495
  "timestamp": "2025-11-30T00:00:00.000Z",
2524
2496
  "extractedData": {
2525
- "identity": "TYPE-StrategyRunStatus",
2526
- "name": "StrategyRunStatus",
2497
+ "identity": "TYPE-RunnableStrategyStatus",
2498
+ "name": "RunnableStrategyStatus",
2527
2499
  "description": "dummy-description",
2528
2500
  "resourceFormatRef": "FORMAT-ApplicationJson",
2529
2501
  "extractionSchema": {
2530
- "$anchor": "StrategyRunStatus",
2502
+ "$anchor": "RunnableStrategyStatus",
2531
2503
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2532
2504
  "type": "string",
2533
2505
  "enum": [
@@ -2540,22 +2512,22 @@
2540
2512
  }
2541
2513
  }
2542
2514
  },
2543
- "StrategyRunContext": {
2544
- "identity": "RESOURCE-StrategyRunContext",
2515
+ "RunnableStrategyContext": {
2516
+ "identity": "RESOURCE-RunnableStrategyContext",
2545
2517
  "resourceTypeRef": "TYPE-ResourceType",
2546
2518
  "creationContext": {
2547
2519
  "resourceRoleRef": "ROLE-Genesis",
2548
- "executionRef": "EXECUTION-StrategyRunContext"
2520
+ "executionRef": "EXECUTION-RunnableStrategyContext"
2549
2521
  },
2550
2522
  "kind": "materialized",
2551
2523
  "timestamp": "2025-11-30T00:00:00.000Z",
2552
2524
  "extractedData": {
2553
- "identity": "TYPE-StrategyRunContext",
2554
- "name": "StrategyRunContext",
2525
+ "identity": "TYPE-RunnableStrategyContext",
2526
+ "name": "RunnableStrategyContext",
2555
2527
  "description": "dummy-description",
2556
2528
  "resourceFormatRef": "FORMAT-ApplicationJson",
2557
2529
  "extractionSchema": {
2558
- "$anchor": "StrategyRunContext",
2530
+ "$anchor": "RunnableStrategyContext",
2559
2531
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2560
2532
  "type": "object",
2561
2533
  "required": [
@@ -2563,7 +2535,7 @@
2563
2535
  ],
2564
2536
  "properties": {
2565
2537
  "status": {
2566
- "$ref": "#/$defs/StrategyRunStatus"
2538
+ "$ref": "#/$defs/RunnableStrategyStatus"
2567
2539
  },
2568
2540
  "startedAt": {
2569
2541
  "$ref": "#/$defs/Timestamp"
@@ -2658,38 +2630,38 @@
2658
2630
  }
2659
2631
  }
2660
2632
  },
2661
- "StrategyRun": {
2662
- "identity": "RESOURCE-StrategyRun",
2633
+ "RunnableStrategy": {
2634
+ "identity": "RESOURCE-RunnableStrategy",
2663
2635
  "resourceTypeRef": "TYPE-ResourceType",
2664
2636
  "creationContext": {
2665
2637
  "resourceRoleRef": "ROLE-Genesis",
2666
- "executionRef": "EXECUTION-StrategyRun"
2638
+ "executionRef": "EXECUTION-RunnableStrategy"
2667
2639
  },
2668
2640
  "kind": "materialized",
2669
2641
  "timestamp": "2025-11-30T00:00:00.000Z",
2670
2642
  "extractedData": {
2671
- "identity": "TYPE-StrategyRun",
2672
- "name": "StrategyRun",
2643
+ "identity": "TYPE-RunnableStrategy",
2644
+ "name": "RunnableStrategy",
2673
2645
  "description": "dummy-description",
2674
2646
  "resourceFormatRef": "FORMAT-ApplicationJson",
2675
2647
  "extractionSchema": {
2676
- "$anchor": "StrategyRun",
2648
+ "$anchor": "RunnableStrategy",
2677
2649
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2678
2650
  "type": "object",
2679
2651
  "required": [
2680
2652
  "identity",
2681
2653
  "statefulStrategyRef",
2682
- "strategyRunContext"
2654
+ "runnableStrategyContext"
2683
2655
  ],
2684
2656
  "properties": {
2685
2657
  "identity": {
2686
- "$ref": "#/$defs/StrategyRunIdentity"
2658
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2687
2659
  },
2688
2660
  "statefulStrategyRef": {
2689
2661
  "$ref": "#/$defs/StatefulStrategyIdentity"
2690
2662
  },
2691
- "strategyRunContext": {
2692
- "$ref": "#/$defs/StrategyRunContext"
2663
+ "runnableStrategyContext": {
2664
+ "$ref": "#/$defs/RunnableStrategyContext"
2693
2665
  }
2694
2666
  },
2695
2667
  "allOf": [
@@ -2698,7 +2670,7 @@
2698
2670
  "$ref": "#/$defs/StrategyThreadMapWrapper"
2699
2671
  },
2700
2672
  {
2701
- "$comment": "Reusing StrategyStateWrapper to include the strategy state in the StrategyRun. The Engine will update it with materialized Resources (i.e. runtime-provided inputs and job-created outputs) during the run.",
2673
+ "$comment": "Reusing StrategyStateWrapper to include the strategy state in the RunnableStrategy. The Engine will update it with materialized Resources (i.e. runtime-provided inputs and job-created outputs) during the run.",
2702
2674
  "$ref": "#/$defs/StrategyStateWrapper"
2703
2675
  }
2704
2676
  ],
@@ -2727,16 +2699,6 @@
2727
2699
  "$comment": "Shared delta payload for strategy state updates; used both as standalone updates and embedded within run events.",
2728
2700
  "properties": {
2729
2701
  "strategyStateUpdate": {
2730
- "type": "object",
2731
- "propertyNames": {
2732
- "$ref": "#/$defs/ExecutionIdentity"
2733
- },
2734
- "additionalProperties": {
2735
- "$ref": "#/$defs/ExecutionSocketMaterialized"
2736
- },
2737
- "unevaluatedProperties": false
2738
- },
2739
- "strategyStateUpdateWide": {
2740
2702
  "type": "object",
2741
2703
  "propertyNames": {
2742
2704
  "$ref": "#/$defs/ExecutionIdentity"
@@ -2750,35 +2712,35 @@
2750
2712
  }
2751
2713
  }
2752
2714
  },
2753
- "StrategyRunUpdate": {
2754
- "identity": "RESOURCE-StrategyRunUpdate",
2715
+ "RunnableStrategyUpdate": {
2716
+ "identity": "RESOURCE-RunnableStrategyUpdate",
2755
2717
  "resourceTypeRef": "TYPE-ResourceType",
2756
2718
  "creationContext": {
2757
2719
  "resourceRoleRef": "ROLE-Genesis",
2758
- "executionRef": "EXECUTION-StrategyRunUpdate"
2720
+ "executionRef": "EXECUTION-RunnableStrategyUpdate"
2759
2721
  },
2760
2722
  "kind": "materialized",
2761
2723
  "timestamp": "2025-11-30T00:00:00.000Z",
2762
2724
  "extractedData": {
2763
- "identity": "TYPE-StrategyRunUpdate",
2764
- "name": "StrategyRunUpdate",
2725
+ "identity": "TYPE-RunnableStrategyUpdate",
2726
+ "name": "RunnableStrategyUpdate",
2765
2727
  "description": "dummy-description",
2766
2728
  "resourceFormatRef": "FORMAT-ApplicationJson",
2767
2729
  "extractionSchema": {
2768
- "$anchor": "StrategyRunUpdate",
2730
+ "$anchor": "RunnableStrategyUpdate",
2769
2731
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2770
2732
  "type": "object",
2771
2733
  "required": [
2772
- "strategyRunRef",
2734
+ "runnableStrategyRef",
2773
2735
  "strategyStateUpdate"
2774
2736
  ],
2775
2737
  "properties": {
2776
- "strategyRunRef": {
2777
- "$ref": "#/$defs/StrategyRunIdentity"
2738
+ "runnableStrategyRef": {
2739
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2778
2740
  },
2779
- "strategyRun": {
2780
- "$comment": "Optional embedded snapshot; strategyRunRef remains the canonical pointer.",
2781
- "$ref": "#/$defs/StrategyRun"
2741
+ "runnableStrategy": {
2742
+ "$comment": "Optional embedded snapshot; runnableStrategyRef remains the canonical pointer.",
2743
+ "$ref": "#/$defs/RunnableStrategy"
2782
2744
  }
2783
2745
  },
2784
2746
  "allOf": [
@@ -3002,7 +2964,7 @@
3002
2964
  "type": "object",
3003
2965
  "required": [
3004
2966
  "kind",
3005
- "strategyRunRef",
2967
+ "runnableStrategyRef",
3006
2968
  "strategyThreadRef",
3007
2969
  "createdAt",
3008
2970
  "nodeName",
@@ -3012,8 +2974,8 @@
3012
2974
  "kind": {
3013
2975
  "$ref": "#/$defs/RunEventKind"
3014
2976
  },
3015
- "strategyRunRef": {
3016
- "$ref": "#/$defs/StrategyRunIdentity"
2977
+ "runnableStrategyRef": {
2978
+ "$ref": "#/$defs/RunnableStrategyIdentity"
3017
2979
  },
3018
2980
  "strategyThreadRef": {
3019
2981
  "$ref": "#/$defs/StrategyThreadIdentity"
@@ -3064,14 +3026,14 @@
3064
3026
  {
3065
3027
  "type": "object",
3066
3028
  "required": [
3067
- "strategyRunSeed"
3029
+ "runnableStrategySeed"
3068
3030
  ],
3069
3031
  "properties": {
3070
3032
  "kind": {
3071
3033
  "const": "graph_start"
3072
3034
  },
3073
- "strategyRunSeed": {
3074
- "$ref": "#/$defs/StrategyRun"
3035
+ "runnableStrategySeed": {
3036
+ "$ref": "#/$defs/RunnableStrategy"
3075
3037
  }
3076
3038
  }
3077
3039
  }
@@ -3234,9 +3196,9 @@
3234
3196
  "runEvents"
3235
3197
  ],
3236
3198
  "properties": {
3237
- "strategyRunRef": {
3199
+ "runnableStrategyRef": {
3238
3200
  "$comment": "Optional; derived from the first event but useful for indexing.",
3239
- "$ref": "#/$defs/StrategyRunIdentity"
3201
+ "$ref": "#/$defs/RunnableStrategyIdentity"
3240
3202
  },
3241
3203
  "strategyThreadRef": {
3242
3204
  "$comment": "Optional; derived from the first event but useful for indexing.",