@interf/compiler 0.16.0 → 0.18.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 (133) hide show
  1. package/LICENSE.md +1 -0
  2. package/README.md +10 -7
  3. package/TRADEMARKS.md +4 -4
  4. package/builtin-methods/interf-default/README.md +6 -7
  5. package/builtin-methods/interf-default/method.json +7 -68
  6. package/builtin-methods/interf-default/method.schema.json +52 -50
  7. package/dist/cli/commands/prep.js +58 -2
  8. package/dist/cli/commands/verify.d.ts +2 -0
  9. package/dist/cli/commands/verify.js +17 -8
  10. package/dist/cli/commands/wizard.js +122 -14
  11. package/dist/compiler-ui/404.html +1 -1
  12. package/dist/compiler-ui/__next.__PAGE__.txt +2 -2
  13. package/dist/compiler-ui/__next._full.txt +3 -3
  14. package/dist/compiler-ui/__next._head.txt +1 -1
  15. package/dist/compiler-ui/__next._index.txt +2 -2
  16. package/dist/compiler-ui/__next._tree.txt +2 -2
  17. package/dist/compiler-ui/_next/static/chunks/{13awzu4tooflw.css → 0_c_tvh-cukjz.css} +1 -1
  18. package/dist/compiler-ui/_next/static/chunks/{0jipmpez3_ehh.js → 0f_geuwdesg_c.js} +42 -17
  19. package/dist/compiler-ui/_not-found/__next._full.txt +2 -2
  20. package/dist/compiler-ui/_not-found/__next._head.txt +1 -1
  21. package/dist/compiler-ui/_not-found/__next._index.txt +2 -2
  22. package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
  23. package/dist/compiler-ui/_not-found/__next._not-found.txt +1 -1
  24. package/dist/compiler-ui/_not-found/__next._tree.txt +2 -2
  25. package/dist/compiler-ui/_not-found.html +1 -1
  26. package/dist/compiler-ui/_not-found.txt +2 -2
  27. package/dist/compiler-ui/index.html +1 -1
  28. package/dist/compiler-ui/index.txt +3 -3
  29. package/dist/packages/contracts/index.d.ts +2 -2
  30. package/dist/packages/contracts/index.js +1 -1
  31. package/dist/packages/contracts/lib/schema.d.ts +271 -72
  32. package/dist/packages/contracts/lib/schema.js +243 -83
  33. package/dist/packages/engine/action-definitions.js +1 -1
  34. package/dist/packages/engine/agents/lib/shells.d.ts +12 -4
  35. package/dist/packages/engine/agents/lib/shells.js +127 -120
  36. package/dist/packages/engine/cloud-seams.d.ts +115 -0
  37. package/dist/packages/engine/cloud-seams.js +84 -0
  38. package/dist/packages/engine/compile/artifact-counts.d.ts +1 -1
  39. package/dist/packages/engine/compile/artifact-counts.js +3 -3
  40. package/dist/packages/engine/compile/artifact-status.d.ts +41 -0
  41. package/dist/packages/engine/compile/artifact-status.js +166 -0
  42. package/dist/packages/engine/compile/billing-events.d.ts +89 -0
  43. package/dist/packages/engine/compile/billing-events.js +74 -0
  44. package/dist/packages/engine/compile/check-evaluator.d.ts +66 -0
  45. package/dist/packages/engine/compile/check-evaluator.js +298 -0
  46. package/dist/packages/engine/compile/compiled-schema.d.ts +7 -17
  47. package/dist/packages/engine/compile/compiled-schema.js +55 -70
  48. package/dist/packages/engine/compile/compiled-stage-plan.d.ts +1 -0
  49. package/dist/packages/engine/compile/compiled-stage-plan.js +32 -15
  50. package/dist/packages/engine/compile/compiled-stage-runner.js +1 -1
  51. package/dist/packages/engine/compile/index.d.ts +0 -1
  52. package/dist/packages/engine/compile/index.js +0 -1
  53. package/dist/packages/engine/compile/lib/schema.d.ts +111 -92
  54. package/dist/packages/engine/compile/lib/schema.js +35 -39
  55. package/dist/packages/engine/compile/method-primitives.d.ts +2 -2
  56. package/dist/packages/engine/compile/method-primitives.js +1 -1
  57. package/dist/packages/engine/compile/reset.js +4 -4
  58. package/dist/packages/engine/compile/runtime-contracts.js +2 -1
  59. package/dist/packages/engine/compile/runtime-prompt.js +3 -2
  60. package/dist/packages/engine/compile/runtime-reconcile.js +35 -35
  61. package/dist/packages/engine/compile/runtime-runs.js +0 -1
  62. package/dist/packages/engine/compile/runtime-types.d.ts +7 -8
  63. package/dist/packages/engine/compile/runtime.d.ts +1 -2
  64. package/dist/packages/engine/compile/runtime.js +0 -1
  65. package/dist/packages/engine/compile/state-health.js +6 -6
  66. package/dist/packages/engine/compile/state-view.js +7 -6
  67. package/dist/packages/engine/compile/validate-compiled.js +61 -30
  68. package/dist/packages/engine/compile/validate.js +26 -24
  69. package/dist/packages/engine/execution/lib/schema.d.ts +79 -33
  70. package/dist/packages/engine/execution/lib/schema.js +13 -5
  71. package/dist/packages/engine/index.d.ts +2 -2
  72. package/dist/packages/engine/index.js +1 -1
  73. package/dist/packages/engine/lib/schema.d.ts +551 -242
  74. package/dist/packages/engine/lib/schema.js +53 -17
  75. package/dist/packages/engine/native-run-handlers.js +15 -7
  76. package/dist/packages/engine/preparation-store.d.ts +6 -0
  77. package/dist/packages/engine/preparation-store.js +8 -0
  78. package/dist/packages/engine/routes.d.ts +6 -0
  79. package/dist/packages/engine/routes.js +6 -0
  80. package/dist/packages/engine/run-observability.js +1 -2
  81. package/dist/packages/engine/runtime-event-applier.js +7 -0
  82. package/dist/packages/engine/runtime-proposal-helpers.js +1 -1
  83. package/dist/packages/engine/runtime-resource-builders.d.ts +6 -6
  84. package/dist/packages/engine/runtime-resource-builders.js +5 -4
  85. package/dist/packages/engine/runtime.d.ts +67 -7
  86. package/dist/packages/engine/runtime.js +159 -29
  87. package/dist/packages/engine/server.d.ts +25 -0
  88. package/dist/packages/engine/server.js +62 -3
  89. package/dist/packages/engine/verify/index.d.ts +10 -10
  90. package/dist/packages/engine/verify/index.js +8 -8
  91. package/dist/packages/engine/verify/readiness-check-run.d.ts +27 -4
  92. package/dist/packages/engine/verify/readiness-check-run.js +92 -24
  93. package/dist/packages/engine/verify/{test-execution.d.ts → verify-execution.d.ts} +2 -2
  94. package/dist/packages/engine/verify/{test-execution.js → verify-execution.js} +2 -2
  95. package/dist/packages/engine/verify/{test-paths.d.ts → verify-paths.d.ts} +1 -1
  96. package/dist/packages/engine/verify/{test-sandbox.d.ts → verify-sandbox.d.ts} +1 -1
  97. package/dist/packages/engine/verify/{test-specs.d.ts → verify-specs.d.ts} +1 -1
  98. package/dist/packages/engine/verify/{test-specs.js → verify-specs.js} +1 -1
  99. package/dist/packages/engine/verify/{test-targets.d.ts → verify-targets.d.ts} +1 -1
  100. package/dist/packages/engine/verify/{test.d.ts → verify.d.ts} +4 -4
  101. package/dist/packages/engine/verify/{test.js → verify.js} +3 -3
  102. package/dist/packages/engine/wire-schemas.d.ts +545 -0
  103. package/dist/packages/engine/wire-schemas.js +59 -0
  104. package/dist/packages/methods/authoring/method-authoring.d.ts +2 -0
  105. package/dist/packages/methods/authoring/method-authoring.js +99 -18
  106. package/dist/packages/methods/authoring/method-edit-session.js +5 -5
  107. package/dist/packages/methods/authoring/method-improvement.js +1 -1
  108. package/dist/packages/methods/package/builtin-compiled-method.d.ts +12 -12
  109. package/dist/packages/methods/package/builtin-compiled-method.js +25 -22
  110. package/dist/packages/methods/package/context-interface.d.ts +39 -26
  111. package/dist/packages/methods/package/context-interface.js +48 -39
  112. package/dist/packages/methods/package/interf-method-package.js +28 -47
  113. package/dist/packages/methods/package/local-methods.d.ts +3 -4
  114. package/dist/packages/methods/package/local-methods.js +34 -62
  115. package/dist/packages/methods/package/method-definitions.d.ts +4 -6
  116. package/dist/packages/methods/package/method-definitions.js +0 -4
  117. package/dist/packages/methods/package/method-helpers.d.ts +0 -2
  118. package/dist/packages/methods/package/method-helpers.js +0 -4
  119. package/dist/packages/project/interf-scaffold.js +12 -12
  120. package/dist/packages/project/source-config.js +2 -1
  121. package/package.json +6 -16
  122. package/dist/packages/engine/compile/runtime-acceptance.d.ts +0 -9
  123. package/dist/packages/engine/compile/runtime-acceptance.js +0 -265
  124. /package/dist/compiler-ui/_next/static/{a3UiUF0DiMEbfWy_0gihg → 6qyE1u9m_oBUkvAhhoCmO}/_buildManifest.js +0 -0
  125. /package/dist/compiler-ui/_next/static/{a3UiUF0DiMEbfWy_0gihg → 6qyE1u9m_oBUkvAhhoCmO}/_clientMiddlewareManifest.js +0 -0
  126. /package/dist/compiler-ui/_next/static/{a3UiUF0DiMEbfWy_0gihg → 6qyE1u9m_oBUkvAhhoCmO}/_ssgManifest.js +0 -0
  127. /package/dist/packages/engine/verify/{test-paths.js → verify-paths.js} +0 -0
  128. /package/dist/packages/engine/verify/{test-profile-presets.d.ts → verify-profile-presets.d.ts} +0 -0
  129. /package/dist/packages/engine/verify/{test-profile-presets.js → verify-profile-presets.js} +0 -0
  130. /package/dist/packages/engine/verify/{test-sandbox.js → verify-sandbox.js} +0 -0
  131. /package/dist/packages/engine/verify/{test-targets.js → verify-targets.js} +0 -0
  132. /package/dist/packages/engine/verify/{test-types.d.ts → verify-types.d.ts} +0 -0
  133. /package/dist/packages/engine/verify/{test-types.js → verify-types.js} +0 -0
@@ -1,8 +1,15 @@
1
1
  import { z } from "zod";
2
- /** Source binding shape on the API (only `local-folder` ships in 0.13). */
2
+ /**
3
+ * Source binding shape on the API. `local-folder` is the only kind the
4
+ * local binary accepts in 0.17; `remote-folder` rides in the type
5
+ * plumbing for the future cloud variant (B4.4 cloud-variant seam) and
6
+ * is rejected at the validator branch in server.ts. See `TODO(cloud)`
7
+ * marker there.
8
+ */
3
9
  export declare const SourceBindingSchema: z.ZodObject<{
4
10
  kind: z.ZodEnum<{
5
11
  "local-folder": "local-folder";
12
+ "remote-folder": "remote-folder";
6
13
  }>;
7
14
  locator: z.ZodString;
8
15
  }, z.core.$strict>;
@@ -44,6 +51,7 @@ export declare const PreparationCreateRequestSchema: z.ZodObject<{
44
51
  source: z.ZodObject<{
45
52
  kind: z.ZodEnum<{
46
53
  "local-folder": "local-folder";
54
+ "remote-folder": "remote-folder";
47
55
  }>;
48
56
  locator: z.ZodString;
49
57
  }, z.core.$strict>;
@@ -69,6 +77,19 @@ export declare const PreparationCreateRequestSchema: z.ZodObject<{
69
77
  export declare const PreparationUpdateRequestSchema: z.ZodObject<{
70
78
  method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
79
  about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
81
+ id: z.ZodOptional<z.ZodString>;
82
+ question: z.ZodString;
83
+ answer: z.ZodOptional<z.ZodString>;
84
+ expect: z.ZodOptional<z.ZodObject<{
85
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
86
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
87
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
88
+ min_words: z.ZodOptional<z.ZodNumber>;
89
+ max_words: z.ZodOptional<z.ZodNumber>;
90
+ }, z.core.$strip>>;
91
+ strictness: z.ZodOptional<z.ZodString>;
92
+ }, z.core.$strict>>>;
72
93
  }, z.core.$strict>;
73
94
  /** Body of `POST /v1/methods` — install a Method package by path. */
74
95
  export declare const MethodInstallRequestSchema: z.ZodObject<{
@@ -84,6 +105,40 @@ export declare const PreparationDeleteResponseSchema: z.ZodObject<{
84
105
  deleted: z.ZodBoolean;
85
106
  id: z.ZodString;
86
107
  }, z.core.$strict>;
108
+ export declare const PreparationWireShapeSchema: z.ZodObject<{
109
+ id: z.ZodString;
110
+ source: z.ZodObject<{
111
+ kind: z.ZodEnum<{
112
+ "local-folder": "local-folder";
113
+ "remote-folder": "remote-folder";
114
+ }>;
115
+ locator: z.ZodString;
116
+ }, z.core.$strict>;
117
+ method_id: z.ZodNullable<z.ZodString>;
118
+ about: z.ZodNullable<z.ZodString>;
119
+ config_path: z.ZodString;
120
+ portable_context: z.ZodObject<{
121
+ kind: z.ZodEnum<{
122
+ "local-path": "local-path";
123
+ "remote-url": "remote-url";
124
+ "api-served": "api-served";
125
+ }>;
126
+ value: z.ZodString;
127
+ }, z.core.$strict>;
128
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
129
+ id: z.ZodOptional<z.ZodString>;
130
+ question: z.ZodString;
131
+ answer: z.ZodOptional<z.ZodString>;
132
+ expect: z.ZodOptional<z.ZodObject<{
133
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
134
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
135
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
+ min_words: z.ZodOptional<z.ZodNumber>;
137
+ max_words: z.ZodOptional<z.ZodNumber>;
138
+ }, z.core.$strip>>;
139
+ strictness: z.ZodOptional<z.ZodString>;
140
+ }, z.core.$strict>>>;
141
+ }, z.core.$strict>;
87
142
  export type SourceBinding = z.infer<typeof SourceBindingSchema>;
88
143
  export type ArtifactLocator = z.infer<typeof ArtifactLocatorSchema>;
89
144
  export type InstanceResource = z.infer<typeof InstanceResourceSchema>;
@@ -92,6 +147,7 @@ export type PreparationUpdateRequest = z.infer<typeof PreparationUpdateRequestSc
92
147
  export type MethodInstallRequest = z.infer<typeof MethodInstallRequestSchema>;
93
148
  export type MethodInstallResult = z.infer<typeof MethodInstallResultSchema>;
94
149
  export type PreparationDeleteResponse = z.infer<typeof PreparationDeleteResponseSchema>;
150
+ export type PreparationWireShape = z.infer<typeof PreparationWireShapeSchema>;
95
151
  /**
96
152
  * The local service must only ever bind to a loopback interface. Any other
97
153
  * host (LAN IP, 0.0.0.0, public address) lets a remote browser tab POST at
@@ -247,15 +303,15 @@ export declare const PreparationResourceSchema: z.ZodObject<{
247
303
  generated_at: z.ZodString;
248
304
  preparation: z.ZodString;
249
305
  status: z.ZodEnum<{
306
+ ready: "ready";
307
+ failed: "failed";
250
308
  "not-configured": "not-configured";
251
309
  "not-built": "not-built";
252
310
  building: "building";
253
311
  built: "built";
254
312
  checking: "checking";
255
- ready: "ready";
256
313
  "not-ready": "not-ready";
257
314
  stale: "stale";
258
- failed: "failed";
259
315
  }>;
260
316
  ready: z.ZodBoolean;
261
317
  summary: z.ZodString;
@@ -272,15 +328,15 @@ export declare const PreparationResourceSchema: z.ZodObject<{
272
328
  }>;
273
329
  ok: z.ZodBoolean;
274
330
  status: z.ZodOptional<z.ZodEnum<{
331
+ ready: "ready";
332
+ failed: "failed";
275
333
  "not-configured": "not-configured";
276
334
  "not-built": "not-built";
277
335
  building: "building";
278
336
  built: "built";
279
337
  checking: "checking";
280
- ready: "ready";
281
338
  "not-ready": "not-ready";
282
339
  stale: "stale";
283
- failed: "failed";
284
340
  }>>;
285
341
  summary: z.ZodString;
286
342
  detail: z.ZodOptional<z.ZodString>;
@@ -319,15 +375,15 @@ export declare const PreparationResourceSchema: z.ZodObject<{
319
375
  }>;
320
376
  ok: z.ZodBoolean;
321
377
  status: z.ZodOptional<z.ZodEnum<{
378
+ ready: "ready";
379
+ failed: "failed";
322
380
  "not-configured": "not-configured";
323
381
  "not-built": "not-built";
324
382
  building: "building";
325
383
  built: "built";
326
384
  checking: "checking";
327
- ready: "ready";
328
385
  "not-ready": "not-ready";
329
386
  stale: "stale";
330
- failed: "failed";
331
387
  }>>;
332
388
  summary: z.ZodString;
333
389
  detail: z.ZodOptional<z.ZodString>;
@@ -341,6 +397,36 @@ export declare const PreparationResourceSchema: z.ZodObject<{
341
397
  }, z.core.$strict>;
342
398
  latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
399
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
401
+ artifact_id: z.ZodString;
402
+ status: z.ZodEnum<{
403
+ ready: "ready";
404
+ not_ready: "not_ready";
405
+ failed: "failed";
406
+ skipped: "skipped";
407
+ }>;
408
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
409
+ proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
410
+ check_id: z.ZodString;
411
+ kind: z.ZodEnum<{
412
+ file_exists: "file_exists";
413
+ min_file_count: "min_file_count";
414
+ min_file_count_matches_source: "min_file_count_matches_source";
415
+ frontmatter_valid: "frontmatter_valid";
416
+ frontmatter_required_keys: "frontmatter_required_keys";
417
+ wikilinks_valid: "wikilinks_valid";
418
+ must_not_contain: "must_not_contain";
419
+ must_contain: "must_contain";
420
+ qa_match: "qa_match";
421
+ }>;
422
+ passed: z.ZodBoolean;
423
+ required: z.ZodBoolean;
424
+ summary: z.ZodString;
425
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
426
+ evaluated_at: z.ZodString;
427
+ }, z.core.$strict>>>;
428
+ summary: z.ZodOptional<z.ZodString>;
429
+ }, z.core.$strict>>>;
344
430
  }, z.core.$strict>;
345
431
  export declare const MethodResourceSchema: z.ZodObject<{
346
432
  id: z.ZodString;
@@ -354,7 +440,36 @@ export declare const MethodResourceSchema: z.ZodObject<{
354
440
  }>>;
355
441
  built_in: z.ZodDefault<z.ZodBoolean>;
356
442
  active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
357
- output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
443
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
444
+ id: z.ZodString;
445
+ description: z.ZodString;
446
+ shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
447
+ kind: z.ZodLiteral<"path">;
448
+ path: z.ZodString;
449
+ artifact_kind: z.ZodEnum<{
450
+ file: "file";
451
+ directory: "directory";
452
+ }>;
453
+ }, z.core.$strict>], "kind">;
454
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
455
+ id: z.ZodString;
456
+ kind: z.ZodEnum<{
457
+ file_exists: "file_exists";
458
+ min_file_count: "min_file_count";
459
+ min_file_count_matches_source: "min_file_count_matches_source";
460
+ frontmatter_valid: "frontmatter_valid";
461
+ frontmatter_required_keys: "frontmatter_required_keys";
462
+ wikilinks_valid: "wikilinks_valid";
463
+ must_not_contain: "must_not_contain";
464
+ must_contain: "must_contain";
465
+ qa_match: "qa_match";
466
+ }>;
467
+ description: z.ZodOptional<z.ZodString>;
468
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
469
+ required: z.ZodDefault<z.ZodBoolean>;
470
+ }, z.core.$strict>>>;
471
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
472
+ }, z.core.$strict>>>;
358
473
  stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
359
474
  id: z.ZodString;
360
475
  label: z.ZodString;
@@ -364,7 +479,6 @@ export declare const MethodResourceSchema: z.ZodObject<{
364
479
  role: z.ZodDefault<z.ZodString>;
365
480
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
366
481
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
367
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
368
482
  }, z.core.$strict>>>;
369
483
  }, z.core.$strict>;
370
484
  export declare const CompileRunCreateRequestSchema: z.ZodObject<{
@@ -508,6 +622,12 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
508
622
  timestamp: z.ZodString;
509
623
  type: z.ZodLiteral<"run.failed">;
510
624
  error: z.ZodString;
625
+ }, z.core.$strict>, z.ZodObject<{
626
+ event_id: z.ZodString;
627
+ run_id: z.ZodString;
628
+ timestamp: z.ZodString;
629
+ type: z.ZodLiteral<"run.cancelled">;
630
+ reason: z.ZodOptional<z.ZodString>;
511
631
  }, z.core.$strict>, z.ZodObject<{
512
632
  event_id: z.ZodString;
513
633
  run_id: z.ZodString;
@@ -534,15 +654,15 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
534
654
  generated_at: z.ZodString;
535
655
  preparation: z.ZodString;
536
656
  status: z.ZodEnum<{
657
+ ready: "ready";
658
+ failed: "failed";
537
659
  "not-configured": "not-configured";
538
660
  "not-built": "not-built";
539
661
  building: "building";
540
662
  built: "built";
541
663
  checking: "checking";
542
- ready: "ready";
543
664
  "not-ready": "not-ready";
544
665
  stale: "stale";
545
- failed: "failed";
546
666
  }>;
547
667
  ready: z.ZodBoolean;
548
668
  summary: z.ZodString;
@@ -559,15 +679,15 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
559
679
  }>;
560
680
  ok: z.ZodBoolean;
561
681
  status: z.ZodOptional<z.ZodEnum<{
682
+ ready: "ready";
683
+ failed: "failed";
562
684
  "not-configured": "not-configured";
563
685
  "not-built": "not-built";
564
686
  building: "building";
565
687
  built: "built";
566
688
  checking: "checking";
567
- ready: "ready";
568
689
  "not-ready": "not-ready";
569
690
  stale: "stale";
570
- failed: "failed";
571
691
  }>>;
572
692
  summary: z.ZodString;
573
693
  detail: z.ZodOptional<z.ZodString>;
@@ -606,15 +726,15 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
606
726
  }>;
607
727
  ok: z.ZodBoolean;
608
728
  status: z.ZodOptional<z.ZodEnum<{
729
+ ready: "ready";
730
+ failed: "failed";
609
731
  "not-configured": "not-configured";
610
732
  "not-built": "not-built";
611
733
  building: "building";
612
734
  built: "built";
613
735
  checking: "checking";
614
- ready: "ready";
615
736
  "not-ready": "not-ready";
616
737
  stale: "stale";
617
- failed: "failed";
618
738
  }>>;
619
739
  summary: z.ZodString;
620
740
  detail: z.ZodOptional<z.ZodString>;
@@ -695,7 +815,6 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
695
815
  stage_total: z.ZodOptional<z.ZodNumber>;
696
816
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
697
817
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
698
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
699
818
  }, z.core.$strict>>;
700
819
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
701
820
  kind: z.ZodEnum<{
@@ -876,6 +995,12 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
876
995
  timestamp: z.ZodString;
877
996
  type: z.ZodLiteral<"run.failed">;
878
997
  error: z.ZodString;
998
+ }, z.core.$strict>, z.ZodObject<{
999
+ event_id: z.ZodString;
1000
+ run_id: z.ZodString;
1001
+ timestamp: z.ZodString;
1002
+ type: z.ZodLiteral<"run.cancelled">;
1003
+ reason: z.ZodOptional<z.ZodString>;
879
1004
  }, z.core.$strict>, z.ZodObject<{
880
1005
  event_id: z.ZodString;
881
1006
  run_id: z.ZodString;
@@ -902,15 +1027,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
902
1027
  generated_at: z.ZodString;
903
1028
  preparation: z.ZodString;
904
1029
  status: z.ZodEnum<{
1030
+ ready: "ready";
1031
+ failed: "failed";
905
1032
  "not-configured": "not-configured";
906
1033
  "not-built": "not-built";
907
1034
  building: "building";
908
1035
  built: "built";
909
1036
  checking: "checking";
910
- ready: "ready";
911
1037
  "not-ready": "not-ready";
912
1038
  stale: "stale";
913
- failed: "failed";
914
1039
  }>;
915
1040
  ready: z.ZodBoolean;
916
1041
  summary: z.ZodString;
@@ -927,15 +1052,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
927
1052
  }>;
928
1053
  ok: z.ZodBoolean;
929
1054
  status: z.ZodOptional<z.ZodEnum<{
1055
+ ready: "ready";
1056
+ failed: "failed";
930
1057
  "not-configured": "not-configured";
931
1058
  "not-built": "not-built";
932
1059
  building: "building";
933
1060
  built: "built";
934
1061
  checking: "checking";
935
- ready: "ready";
936
1062
  "not-ready": "not-ready";
937
1063
  stale: "stale";
938
- failed: "failed";
939
1064
  }>>;
940
1065
  summary: z.ZodString;
941
1066
  detail: z.ZodOptional<z.ZodString>;
@@ -974,15 +1099,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
974
1099
  }>;
975
1100
  ok: z.ZodBoolean;
976
1101
  status: z.ZodOptional<z.ZodEnum<{
1102
+ ready: "ready";
1103
+ failed: "failed";
977
1104
  "not-configured": "not-configured";
978
1105
  "not-built": "not-built";
979
1106
  building: "building";
980
1107
  built: "built";
981
1108
  checking: "checking";
982
- ready: "ready";
983
1109
  "not-ready": "not-ready";
984
1110
  stale: "stale";
985
- failed: "failed";
986
1111
  }>>;
987
1112
  summary: z.ZodString;
988
1113
  detail: z.ZodOptional<z.ZodString>;
@@ -1024,15 +1149,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1024
1149
  generated_at: z.ZodString;
1025
1150
  preparation: z.ZodString;
1026
1151
  status: z.ZodEnum<{
1152
+ ready: "ready";
1153
+ failed: "failed";
1027
1154
  "not-configured": "not-configured";
1028
1155
  "not-built": "not-built";
1029
1156
  building: "building";
1030
1157
  built: "built";
1031
1158
  checking: "checking";
1032
- ready: "ready";
1033
1159
  "not-ready": "not-ready";
1034
1160
  stale: "stale";
1035
- failed: "failed";
1036
1161
  }>;
1037
1162
  ready: z.ZodBoolean;
1038
1163
  summary: z.ZodString;
@@ -1049,15 +1174,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1049
1174
  }>;
1050
1175
  ok: z.ZodBoolean;
1051
1176
  status: z.ZodOptional<z.ZodEnum<{
1177
+ ready: "ready";
1178
+ failed: "failed";
1052
1179
  "not-configured": "not-configured";
1053
1180
  "not-built": "not-built";
1054
1181
  building: "building";
1055
1182
  built: "built";
1056
1183
  checking: "checking";
1057
- ready: "ready";
1058
1184
  "not-ready": "not-ready";
1059
1185
  stale: "stale";
1060
- failed: "failed";
1061
1186
  }>>;
1062
1187
  summary: z.ZodString;
1063
1188
  detail: z.ZodOptional<z.ZodString>;
@@ -1096,15 +1221,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1096
1221
  }>;
1097
1222
  ok: z.ZodBoolean;
1098
1223
  status: z.ZodOptional<z.ZodEnum<{
1224
+ ready: "ready";
1225
+ failed: "failed";
1099
1226
  "not-configured": "not-configured";
1100
1227
  "not-built": "not-built";
1101
1228
  building: "building";
1102
1229
  built: "built";
1103
1230
  checking: "checking";
1104
- ready: "ready";
1105
1231
  "not-ready": "not-ready";
1106
1232
  stale: "stale";
1107
- failed: "failed";
1108
1233
  }>>;
1109
1234
  summary: z.ZodString;
1110
1235
  detail: z.ZodOptional<z.ZodString>;
@@ -1112,6 +1237,36 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1112
1237
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
1238
  }, z.core.$strict>>>;
1114
1239
  }, z.core.$strict>>>;
1240
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1241
+ artifact_id: z.ZodString;
1242
+ status: z.ZodEnum<{
1243
+ ready: "ready";
1244
+ not_ready: "not_ready";
1245
+ failed: "failed";
1246
+ skipped: "skipped";
1247
+ }>;
1248
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
1249
+ proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1250
+ check_id: z.ZodString;
1251
+ kind: z.ZodEnum<{
1252
+ file_exists: "file_exists";
1253
+ min_file_count: "min_file_count";
1254
+ min_file_count_matches_source: "min_file_count_matches_source";
1255
+ frontmatter_valid: "frontmatter_valid";
1256
+ frontmatter_required_keys: "frontmatter_required_keys";
1257
+ wikilinks_valid: "wikilinks_valid";
1258
+ must_not_contain: "must_not_contain";
1259
+ must_contain: "must_contain";
1260
+ qa_match: "qa_match";
1261
+ }>;
1262
+ passed: z.ZodBoolean;
1263
+ required: z.ZodBoolean;
1264
+ summary: z.ZodString;
1265
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1266
+ evaluated_at: z.ZodString;
1267
+ }, z.core.$strict>>>;
1268
+ summary: z.ZodOptional<z.ZodString>;
1269
+ }, z.core.$strict>>>;
1115
1270
  }, z.core.$strict>;
1116
1271
  }, z.core.$strict>;
1117
1272
  export declare const LocalJobTypeSchema: z.ZodEnum<{
@@ -1414,6 +1569,36 @@ export declare const ReadinessCheckDraftResultSchema: z.ZodObject<{
1414
1569
  strictness: z.ZodOptional<z.ZodString>;
1415
1570
  }, z.core.$strict>>>;
1416
1571
  }, z.core.$strict>;
1572
+ export declare const MethodAuthoringArtifactRequirementSchema: z.ZodObject<{
1573
+ id: z.ZodString;
1574
+ description: z.ZodOptional<z.ZodString>;
1575
+ shape: z.ZodObject<{
1576
+ kind: z.ZodLiteral<"path">;
1577
+ path: z.ZodString;
1578
+ artifact_kind: z.ZodEnum<{
1579
+ file: "file";
1580
+ directory: "directory";
1581
+ }>;
1582
+ }, z.core.$strict>;
1583
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1584
+ id: z.ZodString;
1585
+ kind: z.ZodEnum<{
1586
+ file_exists: "file_exists";
1587
+ min_file_count: "min_file_count";
1588
+ min_file_count_matches_source: "min_file_count_matches_source";
1589
+ frontmatter_valid: "frontmatter_valid";
1590
+ frontmatter_required_keys: "frontmatter_required_keys";
1591
+ wikilinks_valid: "wikilinks_valid";
1592
+ must_not_contain: "must_not_contain";
1593
+ must_contain: "must_contain";
1594
+ qa_match: "qa_match";
1595
+ }>;
1596
+ description: z.ZodOptional<z.ZodString>;
1597
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1598
+ required: z.ZodDefault<z.ZodBoolean>;
1599
+ }, z.core.$strict>>>;
1600
+ stage_hint: z.ZodOptional<z.ZodString>;
1601
+ }, z.core.$strict>;
1417
1602
  export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
1418
1603
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1419
1604
  source_folder_path: z.ZodString;
@@ -1436,6 +1621,36 @@ export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
1436
1621
  }, z.core.$strip>>;
1437
1622
  strictness: z.ZodOptional<z.ZodString>;
1438
1623
  }, z.core.$strict>>>;
1624
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
1625
+ id: z.ZodString;
1626
+ description: z.ZodOptional<z.ZodString>;
1627
+ shape: z.ZodObject<{
1628
+ kind: z.ZodLiteral<"path">;
1629
+ path: z.ZodString;
1630
+ artifact_kind: z.ZodEnum<{
1631
+ file: "file";
1632
+ directory: "directory";
1633
+ }>;
1634
+ }, z.core.$strict>;
1635
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1636
+ id: z.ZodString;
1637
+ kind: z.ZodEnum<{
1638
+ file_exists: "file_exists";
1639
+ min_file_count: "min_file_count";
1640
+ min_file_count_matches_source: "min_file_count_matches_source";
1641
+ frontmatter_valid: "frontmatter_valid";
1642
+ frontmatter_required_keys: "frontmatter_required_keys";
1643
+ wikilinks_valid: "wikilinks_valid";
1644
+ must_not_contain: "must_not_contain";
1645
+ must_contain: "must_contain";
1646
+ qa_match: "qa_match";
1647
+ }>;
1648
+ description: z.ZodOptional<z.ZodString>;
1649
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1650
+ required: z.ZodDefault<z.ZodBoolean>;
1651
+ }, z.core.$strict>>>;
1652
+ stage_hint: z.ZodOptional<z.ZodString>;
1653
+ }, z.core.$strict>>>;
1439
1654
  }, z.core.$strict>;
1440
1655
  export declare const MethodAuthoringResultSchema: z.ZodObject<{
1441
1656
  status: z.ZodEnum<{
@@ -1567,16 +1782,22 @@ export declare const VerifyRunStatusSchema: z.ZodEnum<{
1567
1782
  queued: "queued";
1568
1783
  }>;
1569
1784
  /**
1570
- * 0.15 cleanup `mode` was a 0.13 hold-over from when verify could
1571
- * judge against either the source-files baseline or the compiled
1572
- * portable context. 0.13.1 redirected every verify run to compiled-
1573
- * only, which made `mode` a vestigial field. We drop it here so the
1574
- * wire shape matches the runtime behavior. Older clients sending
1575
- * `mode` get it ignored by the strict-but-tolerant runtime parser
1576
- * upstream.
1785
+ * 0.17verify runs choose their judge target. `compiled` (default)
1786
+ * judges against the latest portable-context output; `source-files`
1787
+ * judges against the raw source folder for a baseline that reveals
1788
+ * how much value the Method actually adds. The 0.15 cleanup made
1789
+ * verify compiled-only on the wire because the source-files branch
1790
+ * had been retired in 0.13.1; 0.17 restores it because the QA tab and
1791
+ * `verify/README.md` have always claimed the option exists, and the
1792
+ * sandbox + spec builders for source-files have remained in tree
1793
+ * since 0.13.
1577
1794
  */
1578
1795
  export declare const VerifyRunCreateRequestSchema: z.ZodObject<{
1579
1796
  preparation: z.ZodString;
1797
+ target: z.ZodDefault<z.ZodEnum<{
1798
+ "source-files": "source-files";
1799
+ compiled: "compiled";
1800
+ }>>;
1580
1801
  }, z.core.$strict>;
1581
1802
  export declare const VerifyRunResourceSchema: z.ZodObject<{
1582
1803
  run_id: z.ZodString;
@@ -1654,15 +1875,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1654
1875
  generated_at: z.ZodString;
1655
1876
  preparation: z.ZodString;
1656
1877
  status: z.ZodEnum<{
1878
+ ready: "ready";
1879
+ failed: "failed";
1657
1880
  "not-configured": "not-configured";
1658
1881
  "not-built": "not-built";
1659
1882
  building: "building";
1660
1883
  built: "built";
1661
1884
  checking: "checking";
1662
- ready: "ready";
1663
1885
  "not-ready": "not-ready";
1664
1886
  stale: "stale";
1665
- failed: "failed";
1666
1887
  }>;
1667
1888
  ready: z.ZodBoolean;
1668
1889
  summary: z.ZodString;
@@ -1679,15 +1900,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1679
1900
  }>;
1680
1901
  ok: z.ZodBoolean;
1681
1902
  status: z.ZodOptional<z.ZodEnum<{
1903
+ ready: "ready";
1904
+ failed: "failed";
1682
1905
  "not-configured": "not-configured";
1683
1906
  "not-built": "not-built";
1684
1907
  building: "building";
1685
1908
  built: "built";
1686
1909
  checking: "checking";
1687
- ready: "ready";
1688
1910
  "not-ready": "not-ready";
1689
1911
  stale: "stale";
1690
- failed: "failed";
1691
1912
  }>>;
1692
1913
  summary: z.ZodString;
1693
1914
  detail: z.ZodOptional<z.ZodString>;
@@ -1726,15 +1947,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1726
1947
  }>;
1727
1948
  ok: z.ZodBoolean;
1728
1949
  status: z.ZodOptional<z.ZodEnum<{
1950
+ ready: "ready";
1951
+ failed: "failed";
1729
1952
  "not-configured": "not-configured";
1730
1953
  "not-built": "not-built";
1731
1954
  building: "building";
1732
1955
  built: "built";
1733
1956
  checking: "checking";
1734
- ready: "ready";
1735
1957
  "not-ready": "not-ready";
1736
1958
  stale: "stale";
1737
- failed: "failed";
1738
1959
  }>>;
1739
1960
  summary: z.ZodString;
1740
1961
  detail: z.ZodOptional<z.ZodString>;
@@ -1859,6 +2080,12 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1859
2080
  timestamp: z.ZodString;
1860
2081
  type: z.ZodLiteral<"run.failed">;
1861
2082
  error: z.ZodString;
2083
+ }, z.core.$strict>, z.ZodObject<{
2084
+ event_id: z.ZodString;
2085
+ run_id: z.ZodString;
2086
+ timestamp: z.ZodString;
2087
+ type: z.ZodLiteral<"run.cancelled">;
2088
+ reason: z.ZodOptional<z.ZodString>;
1862
2089
  }, z.core.$strict>, z.ZodObject<{
1863
2090
  event_id: z.ZodString;
1864
2091
  run_id: z.ZodString;
@@ -1885,15 +2112,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1885
2112
  generated_at: z.ZodString;
1886
2113
  preparation: z.ZodString;
1887
2114
  status: z.ZodEnum<{
2115
+ ready: "ready";
2116
+ failed: "failed";
1888
2117
  "not-configured": "not-configured";
1889
2118
  "not-built": "not-built";
1890
2119
  building: "building";
1891
2120
  built: "built";
1892
2121
  checking: "checking";
1893
- ready: "ready";
1894
2122
  "not-ready": "not-ready";
1895
2123
  stale: "stale";
1896
- failed: "failed";
1897
2124
  }>;
1898
2125
  ready: z.ZodBoolean;
1899
2126
  summary: z.ZodString;
@@ -1910,15 +2137,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1910
2137
  }>;
1911
2138
  ok: z.ZodBoolean;
1912
2139
  status: z.ZodOptional<z.ZodEnum<{
2140
+ ready: "ready";
2141
+ failed: "failed";
1913
2142
  "not-configured": "not-configured";
1914
2143
  "not-built": "not-built";
1915
2144
  building: "building";
1916
2145
  built: "built";
1917
2146
  checking: "checking";
1918
- ready: "ready";
1919
2147
  "not-ready": "not-ready";
1920
2148
  stale: "stale";
1921
- failed: "failed";
1922
2149
  }>>;
1923
2150
  summary: z.ZodString;
1924
2151
  detail: z.ZodOptional<z.ZodString>;
@@ -1957,15 +2184,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1957
2184
  }>;
1958
2185
  ok: z.ZodBoolean;
1959
2186
  status: z.ZodOptional<z.ZodEnum<{
2187
+ ready: "ready";
2188
+ failed: "failed";
1960
2189
  "not-configured": "not-configured";
1961
2190
  "not-built": "not-built";
1962
2191
  building: "building";
1963
2192
  built: "built";
1964
2193
  checking: "checking";
1965
- ready: "ready";
1966
2194
  "not-ready": "not-ready";
1967
2195
  stale: "stale";
1968
- failed: "failed";
1969
2196
  }>>;
1970
2197
  summary: z.ZodString;
1971
2198
  detail: z.ZodOptional<z.ZodString>;
@@ -2048,15 +2275,15 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2048
2275
  generated_at: z.ZodString;
2049
2276
  preparation: z.ZodString;
2050
2277
  status: z.ZodEnum<{
2278
+ ready: "ready";
2279
+ failed: "failed";
2051
2280
  "not-configured": "not-configured";
2052
2281
  "not-built": "not-built";
2053
2282
  building: "building";
2054
2283
  built: "built";
2055
2284
  checking: "checking";
2056
- ready: "ready";
2057
2285
  "not-ready": "not-ready";
2058
2286
  stale: "stale";
2059
- failed: "failed";
2060
2287
  }>;
2061
2288
  ready: z.ZodBoolean;
2062
2289
  summary: z.ZodString;
@@ -2073,15 +2300,15 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2073
2300
  }>;
2074
2301
  ok: z.ZodBoolean;
2075
2302
  status: z.ZodOptional<z.ZodEnum<{
2303
+ ready: "ready";
2304
+ failed: "failed";
2076
2305
  "not-configured": "not-configured";
2077
2306
  "not-built": "not-built";
2078
2307
  building: "building";
2079
2308
  built: "built";
2080
2309
  checking: "checking";
2081
- ready: "ready";
2082
2310
  "not-ready": "not-ready";
2083
2311
  stale: "stale";
2084
- failed: "failed";
2085
2312
  }>>;
2086
2313
  summary: z.ZodString;
2087
2314
  detail: z.ZodOptional<z.ZodString>;
@@ -2120,15 +2347,15 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2120
2347
  }>;
2121
2348
  ok: z.ZodBoolean;
2122
2349
  status: z.ZodOptional<z.ZodEnum<{
2350
+ ready: "ready";
2351
+ failed: "failed";
2123
2352
  "not-configured": "not-configured";
2124
2353
  "not-built": "not-built";
2125
2354
  building: "building";
2126
2355
  built: "built";
2127
2356
  checking: "checking";
2128
- ready: "ready";
2129
2357
  "not-ready": "not-ready";
2130
2358
  stale: "stale";
2131
- failed: "failed";
2132
2359
  }>>;
2133
2360
  summary: z.ZodString;
2134
2361
  detail: z.ZodOptional<z.ZodString>;
@@ -2454,6 +2681,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2454
2681
  action_type: z.ZodLiteral<"test">;
2455
2682
  request: z.ZodObject<{
2456
2683
  preparation: z.ZodString;
2684
+ target: z.ZodDefault<z.ZodEnum<{
2685
+ "source-files": "source-files";
2686
+ compiled: "compiled";
2687
+ }>>;
2457
2688
  }, z.core.$strict>;
2458
2689
  }, z.core.$strict>, z.ZodObject<{
2459
2690
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -2577,6 +2808,36 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2577
2808
  }, z.core.$strip>>;
2578
2809
  strictness: z.ZodOptional<z.ZodString>;
2579
2810
  }, z.core.$strict>>>;
2811
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
2812
+ id: z.ZodString;
2813
+ description: z.ZodOptional<z.ZodString>;
2814
+ shape: z.ZodObject<{
2815
+ kind: z.ZodLiteral<"path">;
2816
+ path: z.ZodString;
2817
+ artifact_kind: z.ZodEnum<{
2818
+ file: "file";
2819
+ directory: "directory";
2820
+ }>;
2821
+ }, z.core.$strict>;
2822
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2823
+ id: z.ZodString;
2824
+ kind: z.ZodEnum<{
2825
+ file_exists: "file_exists";
2826
+ min_file_count: "min_file_count";
2827
+ min_file_count_matches_source: "min_file_count_matches_source";
2828
+ frontmatter_valid: "frontmatter_valid";
2829
+ frontmatter_required_keys: "frontmatter_required_keys";
2830
+ wikilinks_valid: "wikilinks_valid";
2831
+ must_not_contain: "must_not_contain";
2832
+ must_contain: "must_contain";
2833
+ qa_match: "qa_match";
2834
+ }>;
2835
+ description: z.ZodOptional<z.ZodString>;
2836
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2837
+ required: z.ZodDefault<z.ZodBoolean>;
2838
+ }, z.core.$strict>>>;
2839
+ stage_hint: z.ZodOptional<z.ZodString>;
2840
+ }, z.core.$strict>>>;
2580
2841
  }, z.core.$strict>;
2581
2842
  }, z.core.$strict>, z.ZodObject<{
2582
2843
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -2647,6 +2908,36 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2647
2908
  }, z.core.$strip>>;
2648
2909
  strictness: z.ZodOptional<z.ZodString>;
2649
2910
  }, z.core.$strict>>>;
2911
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
2912
+ id: z.ZodString;
2913
+ description: z.ZodOptional<z.ZodString>;
2914
+ shape: z.ZodObject<{
2915
+ kind: z.ZodLiteral<"path">;
2916
+ path: z.ZodString;
2917
+ artifact_kind: z.ZodEnum<{
2918
+ file: "file";
2919
+ directory: "directory";
2920
+ }>;
2921
+ }, z.core.$strict>;
2922
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2923
+ id: z.ZodString;
2924
+ kind: z.ZodEnum<{
2925
+ file_exists: "file_exists";
2926
+ min_file_count: "min_file_count";
2927
+ min_file_count_matches_source: "min_file_count_matches_source";
2928
+ frontmatter_valid: "frontmatter_valid";
2929
+ frontmatter_required_keys: "frontmatter_required_keys";
2930
+ wikilinks_valid: "wikilinks_valid";
2931
+ must_not_contain: "must_not_contain";
2932
+ must_contain: "must_contain";
2933
+ qa_match: "qa_match";
2934
+ }>;
2935
+ description: z.ZodOptional<z.ZodString>;
2936
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2937
+ required: z.ZodDefault<z.ZodBoolean>;
2938
+ }, z.core.$strict>>>;
2939
+ stage_hint: z.ZodOptional<z.ZodString>;
2940
+ }, z.core.$strict>>>;
2650
2941
  }, z.core.$strict>;
2651
2942
  }, z.core.$strict>], "action_type">;
2652
2943
  export declare const PortableContextResourceSchema: z.ZodObject<{
@@ -2659,15 +2950,15 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2659
2950
  generated_at: z.ZodString;
2660
2951
  preparation: z.ZodString;
2661
2952
  status: z.ZodEnum<{
2953
+ ready: "ready";
2954
+ failed: "failed";
2662
2955
  "not-configured": "not-configured";
2663
2956
  "not-built": "not-built";
2664
2957
  building: "building";
2665
2958
  built: "built";
2666
2959
  checking: "checking";
2667
- ready: "ready";
2668
2960
  "not-ready": "not-ready";
2669
2961
  stale: "stale";
2670
- failed: "failed";
2671
2962
  }>;
2672
2963
  ready: z.ZodBoolean;
2673
2964
  summary: z.ZodString;
@@ -2684,15 +2975,15 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2684
2975
  }>;
2685
2976
  ok: z.ZodBoolean;
2686
2977
  status: z.ZodOptional<z.ZodEnum<{
2978
+ ready: "ready";
2979
+ failed: "failed";
2687
2980
  "not-configured": "not-configured";
2688
2981
  "not-built": "not-built";
2689
2982
  building: "building";
2690
2983
  built: "built";
2691
2984
  checking: "checking";
2692
- ready: "ready";
2693
2985
  "not-ready": "not-ready";
2694
2986
  stale: "stale";
2695
- failed: "failed";
2696
2987
  }>>;
2697
2988
  summary: z.ZodString;
2698
2989
  detail: z.ZodOptional<z.ZodString>;
@@ -2731,15 +3022,15 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2731
3022
  }>;
2732
3023
  ok: z.ZodBoolean;
2733
3024
  status: z.ZodOptional<z.ZodEnum<{
3025
+ ready: "ready";
3026
+ failed: "failed";
2734
3027
  "not-configured": "not-configured";
2735
3028
  "not-built": "not-built";
2736
3029
  building: "building";
2737
3030
  built: "built";
2738
3031
  checking: "checking";
2739
- ready: "ready";
2740
3032
  "not-ready": "not-ready";
2741
3033
  stale: "stale";
2742
- failed: "failed";
2743
3034
  }>>;
2744
3035
  summary: z.ZodString;
2745
3036
  detail: z.ZodOptional<z.ZodString>;
@@ -2770,15 +3061,15 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2770
3061
  generated_at: z.ZodString;
2771
3062
  preparation: z.ZodString;
2772
3063
  status: z.ZodEnum<{
3064
+ ready: "ready";
3065
+ failed: "failed";
2773
3066
  "not-configured": "not-configured";
2774
3067
  "not-built": "not-built";
2775
3068
  building: "building";
2776
3069
  built: "built";
2777
3070
  checking: "checking";
2778
- ready: "ready";
2779
3071
  "not-ready": "not-ready";
2780
3072
  stale: "stale";
2781
- failed: "failed";
2782
3073
  }>;
2783
3074
  ready: z.ZodBoolean;
2784
3075
  summary: z.ZodString;
@@ -2795,15 +3086,15 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2795
3086
  }>;
2796
3087
  ok: z.ZodBoolean;
2797
3088
  status: z.ZodOptional<z.ZodEnum<{
3089
+ ready: "ready";
3090
+ failed: "failed";
2798
3091
  "not-configured": "not-configured";
2799
3092
  "not-built": "not-built";
2800
3093
  building: "building";
2801
3094
  built: "built";
2802
3095
  checking: "checking";
2803
- ready: "ready";
2804
3096
  "not-ready": "not-ready";
2805
3097
  stale: "stale";
2806
- failed: "failed";
2807
3098
  }>>;
2808
3099
  summary: z.ZodString;
2809
3100
  detail: z.ZodOptional<z.ZodString>;
@@ -2842,15 +3133,15 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2842
3133
  }>;
2843
3134
  ok: z.ZodBoolean;
2844
3135
  status: z.ZodOptional<z.ZodEnum<{
3136
+ ready: "ready";
3137
+ failed: "failed";
2845
3138
  "not-configured": "not-configured";
2846
3139
  "not-built": "not-built";
2847
3140
  building: "building";
2848
3141
  built: "built";
2849
3142
  checking: "checking";
2850
- ready: "ready";
2851
3143
  "not-ready": "not-ready";
2852
3144
  stale: "stale";
2853
- failed: "failed";
2854
3145
  }>>;
2855
3146
  summary: z.ZodString;
2856
3147
  detail: z.ZodOptional<z.ZodString>;
@@ -2910,31 +3201,24 @@ export declare const OpenPathResponseSchema: z.ZodObject<{
2910
3201
  export declare const PreparationListResponseSchema: z.ZodObject<{
2911
3202
  preparations: z.ZodArray<z.ZodObject<{
2912
3203
  id: z.ZodString;
2913
- name: z.ZodString;
2914
- preparation: z.ZodObject<{
2915
- id: z.ZodOptional<z.ZodString>;
2916
- name: z.ZodString;
2917
- path: z.ZodString;
2918
- about: z.ZodOptional<z.ZodString>;
2919
- method: z.ZodOptional<z.ZodString>;
2920
- max_attempts: z.ZodOptional<z.ZodNumber>;
2921
- max_loops: z.ZodOptional<z.ZodNumber>;
2922
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2923
- id: z.ZodOptional<z.ZodString>;
2924
- question: z.ZodString;
2925
- answer: z.ZodOptional<z.ZodString>;
2926
- expect: z.ZodOptional<z.ZodObject<{
2927
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2928
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2929
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2930
- min_words: z.ZodOptional<z.ZodNumber>;
2931
- max_words: z.ZodOptional<z.ZodNumber>;
2932
- }, z.core.$strip>>;
2933
- strictness: z.ZodOptional<z.ZodString>;
2934
- }, z.core.$strict>>>;
3204
+ source: z.ZodObject<{
3205
+ kind: z.ZodEnum<{
3206
+ "local-folder": "local-folder";
3207
+ "remote-folder": "remote-folder";
3208
+ }>;
3209
+ locator: z.ZodString;
2935
3210
  }, z.core.$strict>;
2936
- source_path: z.ZodString;
2937
3211
  method_id: z.ZodNullable<z.ZodString>;
3212
+ about: z.ZodNullable<z.ZodString>;
3213
+ config_path: z.ZodString;
3214
+ portable_context: z.ZodObject<{
3215
+ kind: z.ZodEnum<{
3216
+ "local-path": "local-path";
3217
+ "remote-url": "remote-url";
3218
+ "api-served": "api-served";
3219
+ }>;
3220
+ value: z.ZodString;
3221
+ }, z.core.$strict>;
2938
3222
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2939
3223
  id: z.ZodOptional<z.ZodString>;
2940
3224
  question: z.ZodString;
@@ -2948,115 +3232,6 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
2948
3232
  }, z.core.$strip>>;
2949
3233
  strictness: z.ZodOptional<z.ZodString>;
2950
3234
  }, z.core.$strict>>>;
2951
- portable_context: z.ZodObject<{
2952
- preparation: z.ZodString;
2953
- path: z.ZodNullable<z.ZodString>;
2954
- exists: z.ZodBoolean;
2955
- method_id: z.ZodNullable<z.ZodString>;
2956
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
2957
- latest_test_run_id: z.ZodNullable<z.ZodString>;
2958
- }, z.core.$strict>;
2959
- portable_context_path: z.ZodNullable<z.ZodString>;
2960
- readiness: z.ZodObject<{
2961
- kind: z.ZodLiteral<"interf-readiness-state">;
2962
- version: z.ZodLiteral<1>;
2963
- generated_at: z.ZodString;
2964
- preparation: z.ZodString;
2965
- status: z.ZodEnum<{
2966
- "not-configured": "not-configured";
2967
- "not-built": "not-built";
2968
- building: "building";
2969
- built: "built";
2970
- checking: "checking";
2971
- ready: "ready";
2972
- "not-ready": "not-ready";
2973
- stale: "stale";
2974
- failed: "failed";
2975
- }>;
2976
- ready: z.ZodBoolean;
2977
- summary: z.ZodString;
2978
- portable_context_path: z.ZodNullable<z.ZodString>;
2979
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2980
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2981
- compile: z.ZodNullable<z.ZodObject<{
2982
- gate: z.ZodEnum<{
2983
- "portable-context": "portable-context";
2984
- "preparation-config": "preparation-config";
2985
- "compile-run": "compile-run";
2986
- "readiness-checks": "readiness-checks";
2987
- "checks-current": "checks-current";
2988
- }>;
2989
- ok: z.ZodBoolean;
2990
- status: z.ZodOptional<z.ZodEnum<{
2991
- "not-configured": "not-configured";
2992
- "not-built": "not-built";
2993
- building: "building";
2994
- built: "built";
2995
- checking: "checking";
2996
- ready: "ready";
2997
- "not-ready": "not-ready";
2998
- stale: "stale";
2999
- failed: "failed";
3000
- }>>;
3001
- summary: z.ZodString;
3002
- detail: z.ZodOptional<z.ZodString>;
3003
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3004
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3005
- }, z.core.$strict>>;
3006
- check_results: z.ZodObject<{
3007
- configured: z.ZodNumber;
3008
- fingerprint: z.ZodNullable<z.ZodString>;
3009
- source_files: z.ZodNullable<z.ZodObject<{
3010
- passed: z.ZodNumber;
3011
- total: z.ZodNumber;
3012
- pass_rate: z.ZodNullable<z.ZodNumber>;
3013
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3014
- stale: z.ZodDefault<z.ZodBoolean>;
3015
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3016
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3017
- }, z.core.$strict>>;
3018
- portable_context: z.ZodNullable<z.ZodObject<{
3019
- passed: z.ZodNumber;
3020
- total: z.ZodNumber;
3021
- pass_rate: z.ZodNullable<z.ZodNumber>;
3022
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3023
- stale: z.ZodDefault<z.ZodBoolean>;
3024
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3025
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3026
- }, z.core.$strict>>;
3027
- }, z.core.$strict>;
3028
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3029
- gate: z.ZodEnum<{
3030
- "portable-context": "portable-context";
3031
- "preparation-config": "preparation-config";
3032
- "compile-run": "compile-run";
3033
- "readiness-checks": "readiness-checks";
3034
- "checks-current": "checks-current";
3035
- }>;
3036
- ok: z.ZodBoolean;
3037
- status: z.ZodOptional<z.ZodEnum<{
3038
- "not-configured": "not-configured";
3039
- "not-built": "not-built";
3040
- building: "building";
3041
- built: "built";
3042
- checking: "checking";
3043
- ready: "ready";
3044
- "not-ready": "not-ready";
3045
- stale: "stale";
3046
- failed: "failed";
3047
- }>>;
3048
- summary: z.ZodString;
3049
- detail: z.ZodOptional<z.ZodString>;
3050
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3051
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3052
- }, z.core.$strict>>>;
3053
- }, z.core.$strict>;
3054
- runs: z.ZodObject<{
3055
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
3056
- latest_test_run_id: z.ZodNullable<z.ZodString>;
3057
- }, z.core.$strict>;
3058
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3059
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3060
3235
  }, z.core.$strict>>;
3061
3236
  }, z.core.$strict>;
3062
3237
  export declare const MethodListResponseSchema: z.ZodObject<{
@@ -3072,7 +3247,36 @@ export declare const MethodListResponseSchema: z.ZodObject<{
3072
3247
  }>>;
3073
3248
  built_in: z.ZodDefault<z.ZodBoolean>;
3074
3249
  active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3075
- output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
3250
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3251
+ id: z.ZodString;
3252
+ description: z.ZodString;
3253
+ shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
3254
+ kind: z.ZodLiteral<"path">;
3255
+ path: z.ZodString;
3256
+ artifact_kind: z.ZodEnum<{
3257
+ file: "file";
3258
+ directory: "directory";
3259
+ }>;
3260
+ }, z.core.$strict>], "kind">;
3261
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3262
+ id: z.ZodString;
3263
+ kind: z.ZodEnum<{
3264
+ file_exists: "file_exists";
3265
+ min_file_count: "min_file_count";
3266
+ min_file_count_matches_source: "min_file_count_matches_source";
3267
+ frontmatter_valid: "frontmatter_valid";
3268
+ frontmatter_required_keys: "frontmatter_required_keys";
3269
+ wikilinks_valid: "wikilinks_valid";
3270
+ must_not_contain: "must_not_contain";
3271
+ must_contain: "must_contain";
3272
+ qa_match: "qa_match";
3273
+ }>;
3274
+ description: z.ZodOptional<z.ZodString>;
3275
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3276
+ required: z.ZodDefault<z.ZodBoolean>;
3277
+ }, z.core.$strict>>>;
3278
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
3279
+ }, z.core.$strict>>>;
3076
3280
  stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3077
3281
  id: z.ZodString;
3078
3282
  label: z.ZodString;
@@ -3082,7 +3286,6 @@ export declare const MethodListResponseSchema: z.ZodObject<{
3082
3286
  role: z.ZodDefault<z.ZodString>;
3083
3287
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3084
3288
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3085
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3086
3289
  }, z.core.$strict>>>;
3087
3290
  }, z.core.$strict>>;
3088
3291
  }, z.core.$strict>;
@@ -3131,7 +3334,6 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3131
3334
  stage_total: z.ZodOptional<z.ZodNumber>;
3132
3335
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3133
3336
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3134
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3135
3337
  }, z.core.$strict>>;
3136
3338
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3137
3339
  kind: z.ZodEnum<{
@@ -3312,6 +3514,12 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3312
3514
  timestamp: z.ZodString;
3313
3515
  type: z.ZodLiteral<"run.failed">;
3314
3516
  error: z.ZodString;
3517
+ }, z.core.$strict>, z.ZodObject<{
3518
+ event_id: z.ZodString;
3519
+ run_id: z.ZodString;
3520
+ timestamp: z.ZodString;
3521
+ type: z.ZodLiteral<"run.cancelled">;
3522
+ reason: z.ZodOptional<z.ZodString>;
3315
3523
  }, z.core.$strict>, z.ZodObject<{
3316
3524
  event_id: z.ZodString;
3317
3525
  run_id: z.ZodString;
@@ -3338,15 +3546,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3338
3546
  generated_at: z.ZodString;
3339
3547
  preparation: z.ZodString;
3340
3548
  status: z.ZodEnum<{
3549
+ ready: "ready";
3550
+ failed: "failed";
3341
3551
  "not-configured": "not-configured";
3342
3552
  "not-built": "not-built";
3343
3553
  building: "building";
3344
3554
  built: "built";
3345
3555
  checking: "checking";
3346
- ready: "ready";
3347
3556
  "not-ready": "not-ready";
3348
3557
  stale: "stale";
3349
- failed: "failed";
3350
3558
  }>;
3351
3559
  ready: z.ZodBoolean;
3352
3560
  summary: z.ZodString;
@@ -3363,15 +3571,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3363
3571
  }>;
3364
3572
  ok: z.ZodBoolean;
3365
3573
  status: z.ZodOptional<z.ZodEnum<{
3574
+ ready: "ready";
3575
+ failed: "failed";
3366
3576
  "not-configured": "not-configured";
3367
3577
  "not-built": "not-built";
3368
3578
  building: "building";
3369
3579
  built: "built";
3370
3580
  checking: "checking";
3371
- ready: "ready";
3372
3581
  "not-ready": "not-ready";
3373
3582
  stale: "stale";
3374
- failed: "failed";
3375
3583
  }>>;
3376
3584
  summary: z.ZodString;
3377
3585
  detail: z.ZodOptional<z.ZodString>;
@@ -3410,15 +3618,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3410
3618
  }>;
3411
3619
  ok: z.ZodBoolean;
3412
3620
  status: z.ZodOptional<z.ZodEnum<{
3621
+ ready: "ready";
3622
+ failed: "failed";
3413
3623
  "not-configured": "not-configured";
3414
3624
  "not-built": "not-built";
3415
3625
  building: "building";
3416
3626
  built: "built";
3417
3627
  checking: "checking";
3418
- ready: "ready";
3419
3628
  "not-ready": "not-ready";
3420
3629
  stale: "stale";
3421
- failed: "failed";
3422
3630
  }>>;
3423
3631
  summary: z.ZodString;
3424
3632
  detail: z.ZodOptional<z.ZodString>;
@@ -3460,15 +3668,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3460
3668
  generated_at: z.ZodString;
3461
3669
  preparation: z.ZodString;
3462
3670
  status: z.ZodEnum<{
3671
+ ready: "ready";
3672
+ failed: "failed";
3463
3673
  "not-configured": "not-configured";
3464
3674
  "not-built": "not-built";
3465
3675
  building: "building";
3466
3676
  built: "built";
3467
3677
  checking: "checking";
3468
- ready: "ready";
3469
3678
  "not-ready": "not-ready";
3470
3679
  stale: "stale";
3471
- failed: "failed";
3472
3680
  }>;
3473
3681
  ready: z.ZodBoolean;
3474
3682
  summary: z.ZodString;
@@ -3485,15 +3693,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3485
3693
  }>;
3486
3694
  ok: z.ZodBoolean;
3487
3695
  status: z.ZodOptional<z.ZodEnum<{
3696
+ ready: "ready";
3697
+ failed: "failed";
3488
3698
  "not-configured": "not-configured";
3489
3699
  "not-built": "not-built";
3490
3700
  building: "building";
3491
3701
  built: "built";
3492
3702
  checking: "checking";
3493
- ready: "ready";
3494
3703
  "not-ready": "not-ready";
3495
3704
  stale: "stale";
3496
- failed: "failed";
3497
3705
  }>>;
3498
3706
  summary: z.ZodString;
3499
3707
  detail: z.ZodOptional<z.ZodString>;
@@ -3532,15 +3740,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3532
3740
  }>;
3533
3741
  ok: z.ZodBoolean;
3534
3742
  status: z.ZodOptional<z.ZodEnum<{
3743
+ ready: "ready";
3744
+ failed: "failed";
3535
3745
  "not-configured": "not-configured";
3536
3746
  "not-built": "not-built";
3537
3747
  building: "building";
3538
3748
  built: "built";
3539
3749
  checking: "checking";
3540
- ready: "ready";
3541
3750
  "not-ready": "not-ready";
3542
3751
  stale: "stale";
3543
- failed: "failed";
3544
3752
  }>>;
3545
3753
  summary: z.ZodString;
3546
3754
  detail: z.ZodOptional<z.ZodString>;
@@ -3548,6 +3756,36 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3548
3756
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3549
3757
  }, z.core.$strict>>>;
3550
3758
  }, z.core.$strict>>>;
3759
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3760
+ artifact_id: z.ZodString;
3761
+ status: z.ZodEnum<{
3762
+ ready: "ready";
3763
+ not_ready: "not_ready";
3764
+ failed: "failed";
3765
+ skipped: "skipped";
3766
+ }>;
3767
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
3768
+ proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
3769
+ check_id: z.ZodString;
3770
+ kind: z.ZodEnum<{
3771
+ file_exists: "file_exists";
3772
+ min_file_count: "min_file_count";
3773
+ min_file_count_matches_source: "min_file_count_matches_source";
3774
+ frontmatter_valid: "frontmatter_valid";
3775
+ frontmatter_required_keys: "frontmatter_required_keys";
3776
+ wikilinks_valid: "wikilinks_valid";
3777
+ must_not_contain: "must_not_contain";
3778
+ must_contain: "must_contain";
3779
+ qa_match: "qa_match";
3780
+ }>;
3781
+ passed: z.ZodBoolean;
3782
+ required: z.ZodBoolean;
3783
+ summary: z.ZodString;
3784
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3785
+ evaluated_at: z.ZodString;
3786
+ }, z.core.$strict>>>;
3787
+ summary: z.ZodOptional<z.ZodString>;
3788
+ }, z.core.$strict>>>;
3551
3789
  }, z.core.$strict>;
3552
3790
  }, z.core.$strict>>;
3553
3791
  }, z.core.$strict>;
@@ -3710,15 +3948,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3710
3948
  generated_at: z.ZodString;
3711
3949
  preparation: z.ZodString;
3712
3950
  status: z.ZodEnum<{
3951
+ ready: "ready";
3952
+ failed: "failed";
3713
3953
  "not-configured": "not-configured";
3714
3954
  "not-built": "not-built";
3715
3955
  building: "building";
3716
3956
  built: "built";
3717
3957
  checking: "checking";
3718
- ready: "ready";
3719
3958
  "not-ready": "not-ready";
3720
3959
  stale: "stale";
3721
- failed: "failed";
3722
3960
  }>;
3723
3961
  ready: z.ZodBoolean;
3724
3962
  summary: z.ZodString;
@@ -3735,15 +3973,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3735
3973
  }>;
3736
3974
  ok: z.ZodBoolean;
3737
3975
  status: z.ZodOptional<z.ZodEnum<{
3976
+ ready: "ready";
3977
+ failed: "failed";
3738
3978
  "not-configured": "not-configured";
3739
3979
  "not-built": "not-built";
3740
3980
  building: "building";
3741
3981
  built: "built";
3742
3982
  checking: "checking";
3743
- ready: "ready";
3744
3983
  "not-ready": "not-ready";
3745
3984
  stale: "stale";
3746
- failed: "failed";
3747
3985
  }>>;
3748
3986
  summary: z.ZodString;
3749
3987
  detail: z.ZodOptional<z.ZodString>;
@@ -3782,15 +4020,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3782
4020
  }>;
3783
4021
  ok: z.ZodBoolean;
3784
4022
  status: z.ZodOptional<z.ZodEnum<{
4023
+ ready: "ready";
4024
+ failed: "failed";
3785
4025
  "not-configured": "not-configured";
3786
4026
  "not-built": "not-built";
3787
4027
  building: "building";
3788
4028
  built: "built";
3789
4029
  checking: "checking";
3790
- ready: "ready";
3791
4030
  "not-ready": "not-ready";
3792
4031
  stale: "stale";
3793
- failed: "failed";
3794
4032
  }>>;
3795
4033
  summary: z.ZodString;
3796
4034
  detail: z.ZodOptional<z.ZodString>;
@@ -3915,6 +4153,12 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3915
4153
  timestamp: z.ZodString;
3916
4154
  type: z.ZodLiteral<"run.failed">;
3917
4155
  error: z.ZodString;
4156
+ }, z.core.$strict>, z.ZodObject<{
4157
+ event_id: z.ZodString;
4158
+ run_id: z.ZodString;
4159
+ timestamp: z.ZodString;
4160
+ type: z.ZodLiteral<"run.cancelled">;
4161
+ reason: z.ZodOptional<z.ZodString>;
3918
4162
  }, z.core.$strict>, z.ZodObject<{
3919
4163
  event_id: z.ZodString;
3920
4164
  run_id: z.ZodString;
@@ -3941,15 +4185,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3941
4185
  generated_at: z.ZodString;
3942
4186
  preparation: z.ZodString;
3943
4187
  status: z.ZodEnum<{
4188
+ ready: "ready";
4189
+ failed: "failed";
3944
4190
  "not-configured": "not-configured";
3945
4191
  "not-built": "not-built";
3946
4192
  building: "building";
3947
4193
  built: "built";
3948
4194
  checking: "checking";
3949
- ready: "ready";
3950
4195
  "not-ready": "not-ready";
3951
4196
  stale: "stale";
3952
- failed: "failed";
3953
4197
  }>;
3954
4198
  ready: z.ZodBoolean;
3955
4199
  summary: z.ZodString;
@@ -3966,15 +4210,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3966
4210
  }>;
3967
4211
  ok: z.ZodBoolean;
3968
4212
  status: z.ZodOptional<z.ZodEnum<{
4213
+ ready: "ready";
4214
+ failed: "failed";
3969
4215
  "not-configured": "not-configured";
3970
4216
  "not-built": "not-built";
3971
4217
  building: "building";
3972
4218
  built: "built";
3973
4219
  checking: "checking";
3974
- ready: "ready";
3975
4220
  "not-ready": "not-ready";
3976
4221
  stale: "stale";
3977
- failed: "failed";
3978
4222
  }>>;
3979
4223
  summary: z.ZodString;
3980
4224
  detail: z.ZodOptional<z.ZodString>;
@@ -4013,15 +4257,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4013
4257
  }>;
4014
4258
  ok: z.ZodBoolean;
4015
4259
  status: z.ZodOptional<z.ZodEnum<{
4260
+ ready: "ready";
4261
+ failed: "failed";
4016
4262
  "not-configured": "not-configured";
4017
4263
  "not-built": "not-built";
4018
4264
  building: "building";
4019
4265
  built: "built";
4020
4266
  checking: "checking";
4021
- ready: "ready";
4022
4267
  "not-ready": "not-ready";
4023
4268
  stale: "stale";
4024
- failed: "failed";
4025
4269
  }>>;
4026
4270
  summary: z.ZodString;
4027
4271
  detail: z.ZodOptional<z.ZodString>;
@@ -4106,15 +4350,15 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4106
4350
  generated_at: z.ZodString;
4107
4351
  preparation: z.ZodString;
4108
4352
  status: z.ZodEnum<{
4353
+ ready: "ready";
4354
+ failed: "failed";
4109
4355
  "not-configured": "not-configured";
4110
4356
  "not-built": "not-built";
4111
4357
  building: "building";
4112
4358
  built: "built";
4113
4359
  checking: "checking";
4114
- ready: "ready";
4115
4360
  "not-ready": "not-ready";
4116
4361
  stale: "stale";
4117
- failed: "failed";
4118
4362
  }>;
4119
4363
  ready: z.ZodBoolean;
4120
4364
  summary: z.ZodString;
@@ -4131,15 +4375,15 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4131
4375
  }>;
4132
4376
  ok: z.ZodBoolean;
4133
4377
  status: z.ZodOptional<z.ZodEnum<{
4378
+ ready: "ready";
4379
+ failed: "failed";
4134
4380
  "not-configured": "not-configured";
4135
4381
  "not-built": "not-built";
4136
4382
  building: "building";
4137
4383
  built: "built";
4138
4384
  checking: "checking";
4139
- ready: "ready";
4140
4385
  "not-ready": "not-ready";
4141
4386
  stale: "stale";
4142
- failed: "failed";
4143
4387
  }>>;
4144
4388
  summary: z.ZodString;
4145
4389
  detail: z.ZodOptional<z.ZodString>;
@@ -4178,15 +4422,15 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4178
4422
  }>;
4179
4423
  ok: z.ZodBoolean;
4180
4424
  status: z.ZodOptional<z.ZodEnum<{
4425
+ ready: "ready";
4426
+ failed: "failed";
4181
4427
  "not-configured": "not-configured";
4182
4428
  "not-built": "not-built";
4183
4429
  building: "building";
4184
4430
  built: "built";
4185
4431
  checking: "checking";
4186
- ready: "ready";
4187
4432
  "not-ready": "not-ready";
4188
4433
  stale: "stale";
4189
- failed: "failed";
4190
4434
  }>>;
4191
4435
  summary: z.ZodString;
4192
4436
  detail: z.ZodOptional<z.ZodString>;
@@ -4413,6 +4657,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4413
4657
  action_type: z.ZodLiteral<"test">;
4414
4658
  request: z.ZodObject<{
4415
4659
  preparation: z.ZodString;
4660
+ target: z.ZodDefault<z.ZodEnum<{
4661
+ "source-files": "source-files";
4662
+ compiled: "compiled";
4663
+ }>>;
4416
4664
  }, z.core.$strict>;
4417
4665
  }, z.core.$strict>, z.ZodObject<{
4418
4666
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -4536,6 +4784,36 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4536
4784
  }, z.core.$strip>>;
4537
4785
  strictness: z.ZodOptional<z.ZodString>;
4538
4786
  }, z.core.$strict>>>;
4787
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
4788
+ id: z.ZodString;
4789
+ description: z.ZodOptional<z.ZodString>;
4790
+ shape: z.ZodObject<{
4791
+ kind: z.ZodLiteral<"path">;
4792
+ path: z.ZodString;
4793
+ artifact_kind: z.ZodEnum<{
4794
+ file: "file";
4795
+ directory: "directory";
4796
+ }>;
4797
+ }, z.core.$strict>;
4798
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4799
+ id: z.ZodString;
4800
+ kind: z.ZodEnum<{
4801
+ file_exists: "file_exists";
4802
+ min_file_count: "min_file_count";
4803
+ min_file_count_matches_source: "min_file_count_matches_source";
4804
+ frontmatter_valid: "frontmatter_valid";
4805
+ frontmatter_required_keys: "frontmatter_required_keys";
4806
+ wikilinks_valid: "wikilinks_valid";
4807
+ must_not_contain: "must_not_contain";
4808
+ must_contain: "must_contain";
4809
+ qa_match: "qa_match";
4810
+ }>;
4811
+ description: z.ZodOptional<z.ZodString>;
4812
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4813
+ required: z.ZodDefault<z.ZodBoolean>;
4814
+ }, z.core.$strict>>>;
4815
+ stage_hint: z.ZodOptional<z.ZodString>;
4816
+ }, z.core.$strict>>>;
4539
4817
  }, z.core.$strict>;
4540
4818
  }, z.core.$strict>, z.ZodObject<{
4541
4819
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -4606,6 +4884,36 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4606
4884
  }, z.core.$strip>>;
4607
4885
  strictness: z.ZodOptional<z.ZodString>;
4608
4886
  }, z.core.$strict>>>;
4887
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
4888
+ id: z.ZodString;
4889
+ description: z.ZodOptional<z.ZodString>;
4890
+ shape: z.ZodObject<{
4891
+ kind: z.ZodLiteral<"path">;
4892
+ path: z.ZodString;
4893
+ artifact_kind: z.ZodEnum<{
4894
+ file: "file";
4895
+ directory: "directory";
4896
+ }>;
4897
+ }, z.core.$strict>;
4898
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4899
+ id: z.ZodString;
4900
+ kind: z.ZodEnum<{
4901
+ file_exists: "file_exists";
4902
+ min_file_count: "min_file_count";
4903
+ min_file_count_matches_source: "min_file_count_matches_source";
4904
+ frontmatter_valid: "frontmatter_valid";
4905
+ frontmatter_required_keys: "frontmatter_required_keys";
4906
+ wikilinks_valid: "wikilinks_valid";
4907
+ must_not_contain: "must_not_contain";
4908
+ must_contain: "must_contain";
4909
+ qa_match: "qa_match";
4910
+ }>;
4911
+ description: z.ZodOptional<z.ZodString>;
4912
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4913
+ required: z.ZodDefault<z.ZodBoolean>;
4914
+ }, z.core.$strict>>>;
4915
+ stage_hint: z.ZodOptional<z.ZodString>;
4916
+ }, z.core.$strict>>>;
4609
4917
  }, z.core.$strict>;
4610
4918
  }, z.core.$strict>], "action_type">>;
4611
4919
  }, z.core.$strict>;
@@ -4620,15 +4928,15 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4620
4928
  generated_at: z.ZodString;
4621
4929
  preparation: z.ZodString;
4622
4930
  status: z.ZodEnum<{
4931
+ ready: "ready";
4932
+ failed: "failed";
4623
4933
  "not-configured": "not-configured";
4624
4934
  "not-built": "not-built";
4625
4935
  building: "building";
4626
4936
  built: "built";
4627
4937
  checking: "checking";
4628
- ready: "ready";
4629
4938
  "not-ready": "not-ready";
4630
4939
  stale: "stale";
4631
- failed: "failed";
4632
4940
  }>;
4633
4941
  ready: z.ZodBoolean;
4634
4942
  summary: z.ZodString;
@@ -4645,15 +4953,15 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4645
4953
  }>;
4646
4954
  ok: z.ZodBoolean;
4647
4955
  status: z.ZodOptional<z.ZodEnum<{
4956
+ ready: "ready";
4957
+ failed: "failed";
4648
4958
  "not-configured": "not-configured";
4649
4959
  "not-built": "not-built";
4650
4960
  building: "building";
4651
4961
  built: "built";
4652
4962
  checking: "checking";
4653
- ready: "ready";
4654
4963
  "not-ready": "not-ready";
4655
4964
  stale: "stale";
4656
- failed: "failed";
4657
4965
  }>>;
4658
4966
  summary: z.ZodString;
4659
4967
  detail: z.ZodOptional<z.ZodString>;
@@ -4692,15 +5000,15 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4692
5000
  }>;
4693
5001
  ok: z.ZodBoolean;
4694
5002
  status: z.ZodOptional<z.ZodEnum<{
5003
+ ready: "ready";
5004
+ failed: "failed";
4695
5005
  "not-configured": "not-configured";
4696
5006
  "not-built": "not-built";
4697
5007
  building: "building";
4698
5008
  built: "built";
4699
5009
  checking: "checking";
4700
- ready: "ready";
4701
5010
  "not-ready": "not-ready";
4702
5011
  stale: "stale";
4703
- failed: "failed";
4704
5012
  }>>;
4705
5013
  summary: z.ZodString;
4706
5014
  detail: z.ZodOptional<z.ZodString>;
@@ -4733,15 +5041,15 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
4733
5041
  generated_at: z.ZodString;
4734
5042
  preparation: z.ZodString;
4735
5043
  status: z.ZodEnum<{
5044
+ ready: "ready";
5045
+ failed: "failed";
4736
5046
  "not-configured": "not-configured";
4737
5047
  "not-built": "not-built";
4738
5048
  building: "building";
4739
5049
  built: "built";
4740
5050
  checking: "checking";
4741
- ready: "ready";
4742
5051
  "not-ready": "not-ready";
4743
5052
  stale: "stale";
4744
- failed: "failed";
4745
5053
  }>;
4746
5054
  ready: z.ZodBoolean;
4747
5055
  summary: z.ZodString;
@@ -4758,15 +5066,15 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
4758
5066
  }>;
4759
5067
  ok: z.ZodBoolean;
4760
5068
  status: z.ZodOptional<z.ZodEnum<{
5069
+ ready: "ready";
5070
+ failed: "failed";
4761
5071
  "not-configured": "not-configured";
4762
5072
  "not-built": "not-built";
4763
5073
  building: "building";
4764
5074
  built: "built";
4765
5075
  checking: "checking";
4766
- ready: "ready";
4767
5076
  "not-ready": "not-ready";
4768
5077
  stale: "stale";
4769
- failed: "failed";
4770
5078
  }>>;
4771
5079
  summary: z.ZodString;
4772
5080
  detail: z.ZodOptional<z.ZodString>;
@@ -4805,15 +5113,15 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
4805
5113
  }>;
4806
5114
  ok: z.ZodBoolean;
4807
5115
  status: z.ZodOptional<z.ZodEnum<{
5116
+ ready: "ready";
5117
+ failed: "failed";
4808
5118
  "not-configured": "not-configured";
4809
5119
  "not-built": "not-built";
4810
5120
  building: "building";
4811
5121
  built: "built";
4812
5122
  checking: "checking";
4813
- ready: "ready";
4814
5123
  "not-ready": "not-ready";
4815
5124
  stale: "stale";
4816
- failed: "failed";
4817
5125
  }>>;
4818
5126
  summary: z.ZodString;
4819
5127
  detail: z.ZodOptional<z.ZodString>;
@@ -4872,6 +5180,7 @@ export type ResetRequest = z.infer<typeof ResetRequestSchema>;
4872
5180
  export type ResetResult = z.infer<typeof ResetResultSchema>;
4873
5181
  export type ReadinessCheckDraftCreateRequest = z.infer<typeof ReadinessCheckDraftCreateRequestSchema>;
4874
5182
  export type ReadinessCheckDraftResult = z.infer<typeof ReadinessCheckDraftResultSchema>;
5183
+ export type MethodAuthoringArtifactRequirement = z.infer<typeof MethodAuthoringArtifactRequirementSchema>;
4875
5184
  export type MethodAuthoringCreateRequest = z.infer<typeof MethodAuthoringCreateRequestSchema>;
4876
5185
  export type MethodAuthoringResult = z.infer<typeof MethodAuthoringResultSchema>;
4877
5186
  export type LocalJobEventAppendRequest = z.infer<typeof LocalJobEventAppendRequestSchema>;