@riddledc/riddle-proof 0.7.225 → 0.7.227

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 (139) hide show
  1. package/dist/adapters/codex-exec-agent.cjs +893 -0
  2. package/dist/adapters/codex-exec-agent.d.cts +3 -0
  3. package/dist/adapters/codex-exec-agent.d.ts +3 -0
  4. package/dist/adapters/codex-exec-agent.js +13 -0
  5. package/dist/adapters/codex.cjs +893 -0
  6. package/dist/adapters/codex.d.cts +3 -0
  7. package/dist/adapters/codex.d.ts +3 -0
  8. package/dist/adapters/codex.js +13 -0
  9. package/dist/adapters/local-agent.cjs +893 -0
  10. package/dist/adapters/local-agent.d.cts +3 -0
  11. package/dist/adapters/local-agent.d.ts +3 -0
  12. package/dist/adapters/local-agent.js +13 -0
  13. package/dist/adapters/openclaw.cjs +213 -0
  14. package/dist/adapters/openclaw.d.cts +2 -0
  15. package/dist/adapters/openclaw.d.ts +2 -0
  16. package/dist/adapters/openclaw.js +17 -0
  17. package/dist/advanced/engine-harness.cjs +5701 -0
  18. package/dist/advanced/engine-harness.d.cts +2 -0
  19. package/dist/advanced/engine-harness.d.ts +2 -0
  20. package/dist/advanced/engine-harness.js +16 -0
  21. package/dist/advanced/index.cjs +6242 -0
  22. package/dist/advanced/index.d.cts +5 -0
  23. package/dist/advanced/index.d.ts +5 -0
  24. package/dist/advanced/index.js +23 -0
  25. package/dist/advanced/proof-run-core.cjs +1085 -0
  26. package/dist/advanced/proof-run-core.d.cts +1 -0
  27. package/dist/advanced/proof-run-core.d.ts +1 -0
  28. package/dist/advanced/proof-run-core.js +59 -0
  29. package/dist/advanced/proof-run-engine.cjs +2905 -0
  30. package/dist/advanced/proof-run-engine.d.cts +2 -0
  31. package/dist/advanced/proof-run-engine.d.ts +2 -0
  32. package/dist/advanced/proof-run-engine.js +10 -0
  33. package/dist/advanced/runner.cjs +833 -0
  34. package/dist/advanced/runner.d.cts +2 -0
  35. package/dist/advanced/runner.d.ts +2 -0
  36. package/dist/advanced/runner.js +12 -0
  37. package/dist/app-contract/index.cjs +24 -0
  38. package/dist/app-contract/index.d.cts +1 -0
  39. package/dist/app-contract/index.d.ts +1 -0
  40. package/dist/app-contract/index.js +2 -0
  41. package/dist/basic-gameplay.js +1 -0
  42. package/dist/checkpoint.js +1 -0
  43. package/dist/chunk-BHL4JSGM.js +1900 -0
  44. package/dist/chunk-BTN76IGW.js +115 -0
  45. package/dist/{chunk-TGHTM66Z.js → chunk-COERZX63.js} +10 -2
  46. package/dist/{chunk-4DRRIJDX.js → chunk-IWLQQ5S5.js} +27 -4
  47. package/dist/chunk-MLKGABMK.js +9 -0
  48. package/dist/chunk-OFSECTSC.js +0 -0
  49. package/dist/{chunk-GBVEQQIM.js → chunk-TJ63IE65.js} +36 -1
  50. package/dist/chunk-VZD5LH7U.js +4138 -0
  51. package/dist/cli/index.cjs +18 -0
  52. package/dist/cli/index.d.cts +2 -0
  53. package/dist/cli/index.d.ts +2 -0
  54. package/dist/cli/index.js +12 -0
  55. package/dist/cli.cjs +19 -2
  56. package/dist/cli.d.cts +1 -0
  57. package/dist/cli.d.ts +1 -0
  58. package/dist/cli.js +8 -4139
  59. package/dist/codex-exec-agent.d.cts +1 -1
  60. package/dist/codex-exec-agent.d.ts +1 -1
  61. package/dist/codex-exec-agent.js +1 -0
  62. package/dist/diagnostics.js +1 -0
  63. package/dist/engine-harness-CMACHP6A.d.ts +96 -0
  64. package/dist/engine-harness-LBfqbFSe.d.cts +96 -0
  65. package/dist/engine-harness.cjs +19 -2
  66. package/dist/engine-harness.d.cts +2 -79
  67. package/dist/engine-harness.d.ts +2 -79
  68. package/dist/engine-harness.js +3 -2
  69. package/dist/index.cjs +19 -2
  70. package/dist/index.d.cts +2 -2
  71. package/dist/index.d.ts +2 -2
  72. package/dist/index.js +4 -3
  73. package/dist/local-agent.d.cts +1 -1
  74. package/dist/local-agent.d.ts +1 -1
  75. package/dist/local-agent.js +1 -0
  76. package/dist/openclaw.js +8 -107
  77. package/dist/playability.js +1 -0
  78. package/dist/profile/index.cjs +9403 -0
  79. package/dist/profile/index.d.cts +2 -0
  80. package/dist/profile/index.d.ts +2 -0
  81. package/dist/profile/index.js +53 -0
  82. package/dist/profile.js +1 -0
  83. package/dist/proof-run-core-CE0jx7wL.d.cts +359 -0
  84. package/dist/proof-run-core-CE0jx7wL.d.ts +359 -0
  85. package/dist/proof-run-core.d.cts +1 -322
  86. package/dist/proof-run-core.d.ts +1 -322
  87. package/dist/proof-run-core.js +2 -1
  88. package/dist/proof-run-engine-CSSc0mNn.d.ts +764 -0
  89. package/dist/proof-run-engine-HSRpUeBi.d.cts +764 -0
  90. package/dist/proof-run-engine.cjs +4 -0
  91. package/dist/proof-run-engine.d.cts +2 -757
  92. package/dist/proof-run-engine.d.ts +2 -757
  93. package/dist/proof-run-engine.js +5 -1881
  94. package/dist/proof-session.js +1 -0
  95. package/dist/result.js +1 -0
  96. package/dist/riddle-client.js +1 -0
  97. package/dist/run-card.js +1 -0
  98. package/dist/runner-4LJ5z0D-.d.cts +29 -0
  99. package/dist/runner-BdQpOkZD.d.ts +29 -0
  100. package/dist/runner.d.cts +2 -22
  101. package/dist/runner.d.ts +2 -22
  102. package/dist/runner.js +3 -2
  103. package/dist/runtime/index.cjs +528 -0
  104. package/dist/runtime/index.d.cts +1 -0
  105. package/dist/runtime/index.d.ts +1 -0
  106. package/dist/runtime/index.js +37 -0
  107. package/dist/runtime/riddle-client.cjs +528 -0
  108. package/dist/runtime/riddle-client.d.cts +1 -0
  109. package/dist/runtime/riddle-client.d.ts +1 -0
  110. package/dist/runtime/riddle-client.js +37 -0
  111. package/dist/spec/checkpoint.cjs +807 -0
  112. package/dist/spec/checkpoint.d.cts +2 -0
  113. package/dist/spec/checkpoint.d.ts +2 -0
  114. package/dist/spec/checkpoint.js +34 -0
  115. package/dist/spec/index.cjs +1510 -0
  116. package/dist/spec/index.d.cts +5 -0
  117. package/dist/spec/index.d.ts +5 -0
  118. package/dist/spec/index.js +80 -0
  119. package/dist/spec/result.cjs +259 -0
  120. package/dist/spec/result.d.cts +2 -0
  121. package/dist/spec/result.d.ts +2 -0
  122. package/dist/spec/result.js +21 -0
  123. package/dist/spec/run-card.cjs +287 -0
  124. package/dist/spec/run-card.d.cts +2 -0
  125. package/dist/spec/run-card.d.ts +2 -0
  126. package/dist/spec/run-card.js +11 -0
  127. package/dist/spec/state.cjs +541 -0
  128. package/dist/spec/state.d.cts +2 -0
  129. package/dist/spec/state.d.ts +2 -0
  130. package/dist/spec/state.js +28 -0
  131. package/dist/spec/types.cjs +18 -0
  132. package/dist/spec/types.d.cts +1 -0
  133. package/dist/spec/types.d.ts +1 -0
  134. package/dist/spec/types.js +1 -0
  135. package/dist/state.js +1 -0
  136. package/package.json +95 -2
  137. package/runtime/lib/verify.py +53 -3
  138. package/runtime/pipelines/riddle-proof-setup.lobster +45 -41
  139. package/runtime/tests/recon_verify_smoke.py +41 -0
@@ -0,0 +1,764 @@
1
+ import { W as WorkflowParams, r as resolveConfig, P as PluginConfig, a as WorkflowStage } from './proof-run-core-CE0jx7wL.js';
2
+
3
+ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, resolvedConfig?: ReturnType<typeof resolveConfig>): Promise<{
4
+ ok: boolean;
5
+ action: string;
6
+ state_path: string;
7
+ checkpoint: string;
8
+ summary: string;
9
+ state: null;
10
+ nextAction: string;
11
+ pr_state?: undefined;
12
+ cleanup?: undefined;
13
+ } | {
14
+ ok: boolean;
15
+ action: string;
16
+ state_path: string;
17
+ checkpoint: string;
18
+ summary: string;
19
+ state: {
20
+ workspace_ready: boolean;
21
+ repo: any;
22
+ branch: any;
23
+ mode: any;
24
+ workflow_mode: any;
25
+ implementation_mode: any;
26
+ require_diff: any;
27
+ allow_code_changes: any;
28
+ no_implementation_mode: boolean;
29
+ reference: any;
30
+ before_ref: any;
31
+ allow_static_preview_fallback: boolean;
32
+ commit_message: any;
33
+ author_status: any;
34
+ author_summary: any;
35
+ author_request: any;
36
+ proof_plan_status: any;
37
+ proof_plan: any;
38
+ proof_plan_request: any;
39
+ proof_profile_applied: boolean;
40
+ proof_profile: any;
41
+ recon_status: any;
42
+ recon_assessment: any;
43
+ recon_assessment_request: any;
44
+ recon_assessment_source: any;
45
+ recon_decision_request: any;
46
+ recon_attempts_used: any;
47
+ recon_attempts_max: any;
48
+ recon_hypothesis: any;
49
+ implementation_status: any;
50
+ implementation_summary: any;
51
+ implementation_detection_summary: any;
52
+ implementation_detection: any;
53
+ implementation_environment_issues: any;
54
+ verify_status: any;
55
+ verify_summary: any;
56
+ verify_decision_request: any;
57
+ proof_assessment: any;
58
+ proof_assessment_request: any;
59
+ proof_assessment_source: any;
60
+ merge_recommendation: any;
61
+ before_cdn: any;
62
+ after_cdn: any;
63
+ prod_cdn: any;
64
+ pr_url: any;
65
+ pr_branch: any;
66
+ pr_state: any;
67
+ ship_commit: any;
68
+ ship_remote_head: any;
69
+ merge_commit: any;
70
+ merged_at: any;
71
+ ship_push: any;
72
+ ship_report: any;
73
+ cleanup_report: any;
74
+ proof_comment_url: any;
75
+ proof_assessment_comment_url: any;
76
+ marked_ready: any;
77
+ left_draft: any;
78
+ ci_status: any;
79
+ reviewer: any;
80
+ active_checkpoint: any;
81
+ active_checkpoint_stage: any;
82
+ continue_with_stage: WorkflowStage | null;
83
+ stage_decision_request: any;
84
+ stage_attempt_counts: {
85
+ [k: string]: number;
86
+ };
87
+ explicit_stage_gate: boolean;
88
+ last_requested_advance_stage: any;
89
+ recon_results: any;
90
+ verify_results: any;
91
+ proof_session: any;
92
+ parent_proof_session: any;
93
+ proof_session_artifact_url: any;
94
+ } | null;
95
+ pr_state: {
96
+ status: string;
97
+ pr_url: any;
98
+ pr_number: string;
99
+ repo: any;
100
+ head_branch: any;
101
+ base_branch: any;
102
+ checked_at: string;
103
+ source: string;
104
+ sync_recoverable: boolean;
105
+ sync_blocker: string;
106
+ next_action: string;
107
+ };
108
+ nextAction: string;
109
+ cleanup?: undefined;
110
+ } | {
111
+ ok: boolean;
112
+ action: string;
113
+ state_path: string;
114
+ checkpoint: string;
115
+ summary: string;
116
+ state: {
117
+ workspace_ready: boolean;
118
+ repo: any;
119
+ branch: any;
120
+ mode: any;
121
+ workflow_mode: any;
122
+ implementation_mode: any;
123
+ require_diff: any;
124
+ allow_code_changes: any;
125
+ no_implementation_mode: boolean;
126
+ reference: any;
127
+ before_ref: any;
128
+ allow_static_preview_fallback: boolean;
129
+ commit_message: any;
130
+ author_status: any;
131
+ author_summary: any;
132
+ author_request: any;
133
+ proof_plan_status: any;
134
+ proof_plan: any;
135
+ proof_plan_request: any;
136
+ proof_profile_applied: boolean;
137
+ proof_profile: any;
138
+ recon_status: any;
139
+ recon_assessment: any;
140
+ recon_assessment_request: any;
141
+ recon_assessment_source: any;
142
+ recon_decision_request: any;
143
+ recon_attempts_used: any;
144
+ recon_attempts_max: any;
145
+ recon_hypothesis: any;
146
+ implementation_status: any;
147
+ implementation_summary: any;
148
+ implementation_detection_summary: any;
149
+ implementation_detection: any;
150
+ implementation_environment_issues: any;
151
+ verify_status: any;
152
+ verify_summary: any;
153
+ verify_decision_request: any;
154
+ proof_assessment: any;
155
+ proof_assessment_request: any;
156
+ proof_assessment_source: any;
157
+ merge_recommendation: any;
158
+ before_cdn: any;
159
+ after_cdn: any;
160
+ prod_cdn: any;
161
+ pr_url: any;
162
+ pr_branch: any;
163
+ pr_state: any;
164
+ ship_commit: any;
165
+ ship_remote_head: any;
166
+ merge_commit: any;
167
+ merged_at: any;
168
+ ship_push: any;
169
+ ship_report: any;
170
+ cleanup_report: any;
171
+ proof_comment_url: any;
172
+ proof_assessment_comment_url: any;
173
+ marked_ready: any;
174
+ left_draft: any;
175
+ ci_status: any;
176
+ reviewer: any;
177
+ active_checkpoint: any;
178
+ active_checkpoint_stage: any;
179
+ continue_with_stage: WorkflowStage | null;
180
+ stage_decision_request: any;
181
+ stage_attempt_counts: {
182
+ [k: string]: number;
183
+ };
184
+ explicit_stage_gate: boolean;
185
+ last_requested_advance_stage: any;
186
+ recon_results: any;
187
+ verify_results: any;
188
+ proof_session: any;
189
+ parent_proof_session: any;
190
+ proof_session_artifact_url: any;
191
+ } | null;
192
+ pr_state: {
193
+ status: string;
194
+ pr_url: any;
195
+ pr_number: string;
196
+ repo: any;
197
+ head_branch: any;
198
+ base_branch: any;
199
+ checked_at: string;
200
+ source: string;
201
+ next_action: string;
202
+ };
203
+ cleanup: any;
204
+ nextAction: string;
205
+ } | {
206
+ ok: boolean;
207
+ action: string;
208
+ state_path: string;
209
+ checkpoint: string;
210
+ summary: string;
211
+ state: {
212
+ workspace_ready: boolean;
213
+ repo: any;
214
+ branch: any;
215
+ mode: any;
216
+ workflow_mode: any;
217
+ implementation_mode: any;
218
+ require_diff: any;
219
+ allow_code_changes: any;
220
+ no_implementation_mode: boolean;
221
+ reference: any;
222
+ before_ref: any;
223
+ allow_static_preview_fallback: boolean;
224
+ commit_message: any;
225
+ author_status: any;
226
+ author_summary: any;
227
+ author_request: any;
228
+ proof_plan_status: any;
229
+ proof_plan: any;
230
+ proof_plan_request: any;
231
+ proof_profile_applied: boolean;
232
+ proof_profile: any;
233
+ recon_status: any;
234
+ recon_assessment: any;
235
+ recon_assessment_request: any;
236
+ recon_assessment_source: any;
237
+ recon_decision_request: any;
238
+ recon_attempts_used: any;
239
+ recon_attempts_max: any;
240
+ recon_hypothesis: any;
241
+ implementation_status: any;
242
+ implementation_summary: any;
243
+ implementation_detection_summary: any;
244
+ implementation_detection: any;
245
+ implementation_environment_issues: any;
246
+ verify_status: any;
247
+ verify_summary: any;
248
+ verify_decision_request: any;
249
+ proof_assessment: any;
250
+ proof_assessment_request: any;
251
+ proof_assessment_source: any;
252
+ merge_recommendation: any;
253
+ before_cdn: any;
254
+ after_cdn: any;
255
+ prod_cdn: any;
256
+ pr_url: any;
257
+ pr_branch: any;
258
+ pr_state: any;
259
+ ship_commit: any;
260
+ ship_remote_head: any;
261
+ merge_commit: any;
262
+ merged_at: any;
263
+ ship_push: any;
264
+ ship_report: any;
265
+ cleanup_report: any;
266
+ proof_comment_url: any;
267
+ proof_assessment_comment_url: any;
268
+ marked_ready: any;
269
+ left_draft: any;
270
+ ci_status: any;
271
+ reviewer: any;
272
+ active_checkpoint: any;
273
+ active_checkpoint_stage: any;
274
+ continue_with_stage: WorkflowStage | null;
275
+ stage_decision_request: any;
276
+ stage_attempt_counts: {
277
+ [k: string]: number;
278
+ };
279
+ explicit_stage_gate: boolean;
280
+ last_requested_advance_stage: any;
281
+ recon_results: any;
282
+ verify_results: any;
283
+ proof_session: any;
284
+ parent_proof_session: any;
285
+ proof_session_artifact_url: any;
286
+ } | null;
287
+ pr_state: any;
288
+ cleanup: Record<string, unknown> | null;
289
+ nextAction: string;
290
+ } | {
291
+ checkpoint: string | null;
292
+ blocking?: boolean;
293
+ details?: Record<string, unknown>;
294
+ ok: boolean;
295
+ action: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
296
+ state_path: string;
297
+ stage: any;
298
+ summary: string;
299
+ state: {
300
+ workspace_ready: boolean;
301
+ repo: any;
302
+ branch: any;
303
+ mode: any;
304
+ workflow_mode: any;
305
+ implementation_mode: any;
306
+ require_diff: any;
307
+ allow_code_changes: any;
308
+ no_implementation_mode: boolean;
309
+ reference: any;
310
+ before_ref: any;
311
+ allow_static_preview_fallback: boolean;
312
+ commit_message: any;
313
+ author_status: any;
314
+ author_summary: any;
315
+ author_request: any;
316
+ proof_plan_status: any;
317
+ proof_plan: any;
318
+ proof_plan_request: any;
319
+ proof_profile_applied: boolean;
320
+ proof_profile: any;
321
+ recon_status: any;
322
+ recon_assessment: any;
323
+ recon_assessment_request: any;
324
+ recon_assessment_source: any;
325
+ recon_decision_request: any;
326
+ recon_attempts_used: any;
327
+ recon_attempts_max: any;
328
+ recon_hypothesis: any;
329
+ implementation_status: any;
330
+ implementation_summary: any;
331
+ implementation_detection_summary: any;
332
+ implementation_detection: any;
333
+ implementation_environment_issues: any;
334
+ verify_status: any;
335
+ verify_summary: any;
336
+ verify_decision_request: any;
337
+ proof_assessment: any;
338
+ proof_assessment_request: any;
339
+ proof_assessment_source: any;
340
+ merge_recommendation: any;
341
+ before_cdn: any;
342
+ after_cdn: any;
343
+ prod_cdn: any;
344
+ pr_url: any;
345
+ pr_branch: any;
346
+ pr_state: any;
347
+ ship_commit: any;
348
+ ship_remote_head: any;
349
+ merge_commit: any;
350
+ merged_at: any;
351
+ ship_push: any;
352
+ ship_report: any;
353
+ cleanup_report: any;
354
+ proof_comment_url: any;
355
+ proof_assessment_comment_url: any;
356
+ marked_ready: any;
357
+ left_draft: any;
358
+ ci_status: any;
359
+ reviewer: any;
360
+ active_checkpoint: any;
361
+ active_checkpoint_stage: any;
362
+ continue_with_stage: WorkflowStage | null;
363
+ stage_decision_request: any;
364
+ stage_attempt_counts: {
365
+ [k: string]: number;
366
+ };
367
+ explicit_stage_gate: boolean;
368
+ last_requested_advance_stage: any;
369
+ recon_results: any;
370
+ verify_results: any;
371
+ proof_session: any;
372
+ parent_proof_session: any;
373
+ proof_session_artifact_url: any;
374
+ } | null;
375
+ approval: any;
376
+ error: any;
377
+ } | {
378
+ ok: boolean;
379
+ nextActions?: string[];
380
+ advanceOptions?: WorkflowStage[];
381
+ recommendedAdvanceStage?: WorkflowStage | null;
382
+ continueWithStage?: WorkflowStage | null;
383
+ blocking?: boolean;
384
+ details?: Record<string, unknown>;
385
+ action: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
386
+ state_path: string;
387
+ stage: any;
388
+ checkpoint: string;
389
+ summary: string;
390
+ state: {
391
+ workspace_ready: boolean;
392
+ repo: any;
393
+ branch: any;
394
+ mode: any;
395
+ workflow_mode: any;
396
+ implementation_mode: any;
397
+ require_diff: any;
398
+ allow_code_changes: any;
399
+ no_implementation_mode: boolean;
400
+ reference: any;
401
+ before_ref: any;
402
+ allow_static_preview_fallback: boolean;
403
+ commit_message: any;
404
+ author_status: any;
405
+ author_summary: any;
406
+ author_request: any;
407
+ proof_plan_status: any;
408
+ proof_plan: any;
409
+ proof_plan_request: any;
410
+ proof_profile_applied: boolean;
411
+ proof_profile: any;
412
+ recon_status: any;
413
+ recon_assessment: any;
414
+ recon_assessment_request: any;
415
+ recon_assessment_source: any;
416
+ recon_decision_request: any;
417
+ recon_attempts_used: any;
418
+ recon_attempts_max: any;
419
+ recon_hypothesis: any;
420
+ implementation_status: any;
421
+ implementation_summary: any;
422
+ implementation_detection_summary: any;
423
+ implementation_detection: any;
424
+ implementation_environment_issues: any;
425
+ verify_status: any;
426
+ verify_summary: any;
427
+ verify_decision_request: any;
428
+ proof_assessment: any;
429
+ proof_assessment_request: any;
430
+ proof_assessment_source: any;
431
+ merge_recommendation: any;
432
+ before_cdn: any;
433
+ after_cdn: any;
434
+ prod_cdn: any;
435
+ pr_url: any;
436
+ pr_branch: any;
437
+ pr_state: any;
438
+ ship_commit: any;
439
+ ship_remote_head: any;
440
+ merge_commit: any;
441
+ merged_at: any;
442
+ ship_push: any;
443
+ ship_report: any;
444
+ cleanup_report: any;
445
+ proof_comment_url: any;
446
+ proof_assessment_comment_url: any;
447
+ marked_ready: any;
448
+ left_draft: any;
449
+ ci_status: any;
450
+ reviewer: any;
451
+ active_checkpoint: any;
452
+ active_checkpoint_stage: any;
453
+ continue_with_stage: WorkflowStage | null;
454
+ stage_decision_request: any;
455
+ stage_attempt_counts: {
456
+ [k: string]: number;
457
+ };
458
+ explicit_stage_gate: boolean;
459
+ last_requested_advance_stage: any;
460
+ recon_results: any;
461
+ verify_results: any;
462
+ proof_session: any;
463
+ parent_proof_session: any;
464
+ proof_session_artifact_url: any;
465
+ } | null;
466
+ decisionRequest: any;
467
+ checkpointContract: any;
468
+ } | {
469
+ stage: string;
470
+ summary: string;
471
+ state: null;
472
+ state_path: string;
473
+ ok?: undefined;
474
+ action?: undefined;
475
+ checkpoint?: undefined;
476
+ shipReport?: undefined;
477
+ checkpointContract?: undefined;
478
+ executed?: undefined;
479
+ approval?: undefined;
480
+ autoApproved?: undefined;
481
+ error?: undefined;
482
+ } | {
483
+ stage: any;
484
+ summary: string;
485
+ state: {
486
+ workspace_ready: boolean;
487
+ repo: any;
488
+ branch: any;
489
+ mode: any;
490
+ workflow_mode: any;
491
+ implementation_mode: any;
492
+ require_diff: any;
493
+ allow_code_changes: any;
494
+ no_implementation_mode: boolean;
495
+ reference: any;
496
+ before_ref: any;
497
+ allow_static_preview_fallback: boolean;
498
+ commit_message: any;
499
+ author_status: any;
500
+ author_summary: any;
501
+ author_request: any;
502
+ proof_plan_status: any;
503
+ proof_plan: any;
504
+ proof_plan_request: any;
505
+ proof_profile_applied: boolean;
506
+ proof_profile: any;
507
+ recon_status: any;
508
+ recon_assessment: any;
509
+ recon_assessment_request: any;
510
+ recon_assessment_source: any;
511
+ recon_decision_request: any;
512
+ recon_attempts_used: any;
513
+ recon_attempts_max: any;
514
+ recon_hypothesis: any;
515
+ implementation_status: any;
516
+ implementation_summary: any;
517
+ implementation_detection_summary: any;
518
+ implementation_detection: any;
519
+ implementation_environment_issues: any;
520
+ verify_status: any;
521
+ verify_summary: any;
522
+ verify_decision_request: any;
523
+ proof_assessment: any;
524
+ proof_assessment_request: any;
525
+ proof_assessment_source: any;
526
+ merge_recommendation: any;
527
+ before_cdn: any;
528
+ after_cdn: any;
529
+ prod_cdn: any;
530
+ pr_url: any;
531
+ pr_branch: any;
532
+ pr_state: any;
533
+ ship_commit: any;
534
+ ship_remote_head: any;
535
+ merge_commit: any;
536
+ merged_at: any;
537
+ ship_push: any;
538
+ ship_report: any;
539
+ cleanup_report: any;
540
+ proof_comment_url: any;
541
+ proof_assessment_comment_url: any;
542
+ marked_ready: any;
543
+ left_draft: any;
544
+ ci_status: any;
545
+ reviewer: any;
546
+ active_checkpoint: any;
547
+ active_checkpoint_stage: any;
548
+ continue_with_stage: WorkflowStage | null;
549
+ stage_decision_request: any;
550
+ stage_attempt_counts: {
551
+ [k: string]: number;
552
+ };
553
+ explicit_stage_gate: boolean;
554
+ last_requested_advance_stage: any;
555
+ recon_results: any;
556
+ verify_results: any;
557
+ proof_session: any;
558
+ parent_proof_session: any;
559
+ proof_session_artifact_url: any;
560
+ };
561
+ state_path: string;
562
+ ok?: undefined;
563
+ action?: undefined;
564
+ checkpoint?: undefined;
565
+ shipReport?: undefined;
566
+ checkpointContract?: undefined;
567
+ executed?: undefined;
568
+ approval?: undefined;
569
+ autoApproved?: undefined;
570
+ error?: undefined;
571
+ } | {
572
+ ok: boolean;
573
+ action: "run";
574
+ state_path: string;
575
+ stage: any;
576
+ checkpoint: string;
577
+ summary: string;
578
+ state: {
579
+ workspace_ready: boolean;
580
+ repo: any;
581
+ branch: any;
582
+ mode: any;
583
+ workflow_mode: any;
584
+ implementation_mode: any;
585
+ require_diff: any;
586
+ allow_code_changes: any;
587
+ no_implementation_mode: boolean;
588
+ reference: any;
589
+ before_ref: any;
590
+ allow_static_preview_fallback: boolean;
591
+ commit_message: any;
592
+ author_status: any;
593
+ author_summary: any;
594
+ author_request: any;
595
+ proof_plan_status: any;
596
+ proof_plan: any;
597
+ proof_plan_request: any;
598
+ proof_profile_applied: boolean;
599
+ proof_profile: any;
600
+ recon_status: any;
601
+ recon_assessment: any;
602
+ recon_assessment_request: any;
603
+ recon_assessment_source: any;
604
+ recon_decision_request: any;
605
+ recon_attempts_used: any;
606
+ recon_attempts_max: any;
607
+ recon_hypothesis: any;
608
+ implementation_status: any;
609
+ implementation_summary: any;
610
+ implementation_detection_summary: any;
611
+ implementation_detection: any;
612
+ implementation_environment_issues: any;
613
+ verify_status: any;
614
+ verify_summary: any;
615
+ verify_decision_request: any;
616
+ proof_assessment: any;
617
+ proof_assessment_request: any;
618
+ proof_assessment_source: any;
619
+ merge_recommendation: any;
620
+ before_cdn: any;
621
+ after_cdn: any;
622
+ prod_cdn: any;
623
+ pr_url: any;
624
+ pr_branch: any;
625
+ pr_state: any;
626
+ ship_commit: any;
627
+ ship_remote_head: any;
628
+ merge_commit: any;
629
+ merged_at: any;
630
+ ship_push: any;
631
+ ship_report: any;
632
+ cleanup_report: any;
633
+ proof_comment_url: any;
634
+ proof_assessment_comment_url: any;
635
+ marked_ready: any;
636
+ left_draft: any;
637
+ ci_status: any;
638
+ reviewer: any;
639
+ active_checkpoint: any;
640
+ active_checkpoint_stage: any;
641
+ continue_with_stage: WorkflowStage | null;
642
+ stage_decision_request: any;
643
+ stage_attempt_counts: {
644
+ [k: string]: number;
645
+ };
646
+ explicit_stage_gate: boolean;
647
+ last_requested_advance_stage: any;
648
+ recon_results: any;
649
+ verify_results: any;
650
+ proof_session: any;
651
+ parent_proof_session: any;
652
+ proof_session_artifact_url: any;
653
+ } | null;
654
+ shipReport: any;
655
+ checkpointContract: Record<string, unknown>;
656
+ executed: any[];
657
+ approval?: undefined;
658
+ autoApproved?: undefined;
659
+ error?: undefined;
660
+ } | {
661
+ ok: boolean;
662
+ action: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
663
+ state_path: string;
664
+ stage: any;
665
+ summary: string;
666
+ state: {
667
+ workspace_ready: boolean;
668
+ repo: any;
669
+ branch: any;
670
+ mode: any;
671
+ workflow_mode: any;
672
+ implementation_mode: any;
673
+ require_diff: any;
674
+ allow_code_changes: any;
675
+ no_implementation_mode: boolean;
676
+ reference: any;
677
+ before_ref: any;
678
+ allow_static_preview_fallback: boolean;
679
+ commit_message: any;
680
+ author_status: any;
681
+ author_summary: any;
682
+ author_request: any;
683
+ proof_plan_status: any;
684
+ proof_plan: any;
685
+ proof_plan_request: any;
686
+ proof_profile_applied: boolean;
687
+ proof_profile: any;
688
+ recon_status: any;
689
+ recon_assessment: any;
690
+ recon_assessment_request: any;
691
+ recon_assessment_source: any;
692
+ recon_decision_request: any;
693
+ recon_attempts_used: any;
694
+ recon_attempts_max: any;
695
+ recon_hypothesis: any;
696
+ implementation_status: any;
697
+ implementation_summary: any;
698
+ implementation_detection_summary: any;
699
+ implementation_detection: any;
700
+ implementation_environment_issues: any;
701
+ verify_status: any;
702
+ verify_summary: any;
703
+ verify_decision_request: any;
704
+ proof_assessment: any;
705
+ proof_assessment_request: any;
706
+ proof_assessment_source: any;
707
+ merge_recommendation: any;
708
+ before_cdn: any;
709
+ after_cdn: any;
710
+ prod_cdn: any;
711
+ pr_url: any;
712
+ pr_branch: any;
713
+ pr_state: any;
714
+ ship_commit: any;
715
+ ship_remote_head: any;
716
+ merge_commit: any;
717
+ merged_at: any;
718
+ ship_push: any;
719
+ ship_report: any;
720
+ cleanup_report: any;
721
+ proof_comment_url: any;
722
+ proof_assessment_comment_url: any;
723
+ marked_ready: any;
724
+ left_draft: any;
725
+ ci_status: any;
726
+ reviewer: any;
727
+ active_checkpoint: any;
728
+ active_checkpoint_stage: any;
729
+ continue_with_stage: WorkflowStage | null;
730
+ stage_decision_request: any;
731
+ stage_attempt_counts: {
732
+ [k: string]: number;
733
+ };
734
+ explicit_stage_gate: boolean;
735
+ last_requested_advance_stage: any;
736
+ recon_results: any;
737
+ verify_results: any;
738
+ proof_session: any;
739
+ parent_proof_session: any;
740
+ proof_session_artifact_url: any;
741
+ } | null;
742
+ approval: null;
743
+ autoApproved: any;
744
+ error: null;
745
+ checkpoint?: undefined;
746
+ shipReport?: undefined;
747
+ checkpointContract?: undefined;
748
+ executed?: undefined;
749
+ }>;
750
+ interface RiddleProofEngine {
751
+ execute(params: WorkflowParams): Promise<Record<string, unknown>>;
752
+ status(statePath?: string): Promise<Record<string, unknown>>;
753
+ resolveConfig(params?: Partial<Pick<WorkflowParams, "action" | "state_path">>): ReturnType<typeof resolveConfig>;
754
+ }
755
+ declare function createRiddleProofEngine(pluginConfig?: PluginConfig): RiddleProofEngine;
756
+
757
+ type proofRunEngine_RiddleProofEngine = RiddleProofEngine;
758
+ declare const proofRunEngine_createRiddleProofEngine: typeof createRiddleProofEngine;
759
+ declare const proofRunEngine_executeWorkflow: typeof executeWorkflow;
760
+ declare namespace proofRunEngine {
761
+ export { type proofRunEngine_RiddleProofEngine as RiddleProofEngine, proofRunEngine_createRiddleProofEngine as createRiddleProofEngine, proofRunEngine_executeWorkflow as executeWorkflow };
762
+ }
763
+
764
+ export { type RiddleProofEngine as R, createRiddleProofEngine as c, executeWorkflow as e, proofRunEngine as p };