@interf/compiler 0.16.0 → 0.21.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 (203) hide show
  1. package/LICENSE.md +1 -0
  2. package/README.md +90 -73
  3. package/TRADEMARKS.md +4 -4
  4. package/dist/cli/commands/mcp.d.ts +0 -34
  5. package/dist/cli/commands/mcp.js +246 -45
  6. package/dist/cli/commands/method.js +261 -15
  7. package/dist/cli/commands/prep.js +116 -15
  8. package/dist/cli/commands/runs.js +103 -9
  9. package/dist/cli/commands/status.js +4 -2
  10. package/dist/cli/commands/test.d.ts +10 -0
  11. package/dist/cli/commands/{verify.js → test.js} +24 -17
  12. package/dist/cli/commands/web.js +82 -8
  13. package/dist/cli/commands/wizard.js +158 -51
  14. package/dist/cli/index.d.ts +2 -2
  15. package/dist/cli/index.js +3 -3
  16. package/dist/compiler-ui/404.html +1 -1
  17. package/dist/compiler-ui/__next.__PAGE__.txt +5 -5
  18. package/dist/compiler-ui/__next._full.txt +13 -12
  19. package/dist/compiler-ui/__next._head.txt +3 -3
  20. package/dist/compiler-ui/__next._index.txt +5 -4
  21. package/dist/compiler-ui/__next._tree.txt +4 -3
  22. package/dist/compiler-ui/_next/static/chunks/01646j7yi.w5a.css +1 -0
  23. package/dist/compiler-ui/_next/static/chunks/{0n51hrfoufc7g.js → 02f_.8.ebn556.js} +1 -1
  24. package/dist/compiler-ui/_next/static/chunks/02r7siaw-_p5w.js +1 -0
  25. package/dist/compiler-ui/_next/static/chunks/{08m7vf5asqlsm.js → 04d0ly-7xb~-j.js} +10 -10
  26. package/dist/compiler-ui/_next/static/chunks/0fhs9psnxqd8s.js +1 -0
  27. package/dist/compiler-ui/_next/static/chunks/0mssmhpbifj15.css +2 -0
  28. package/dist/compiler-ui/_next/static/chunks/0nypu~ddwxari.js +116 -0
  29. package/dist/compiler-ui/_next/static/chunks/0p3s8iyhgcww2.js +31 -0
  30. package/dist/compiler-ui/_next/static/chunks/0tjf-vu_rz8s0.css +1 -0
  31. package/dist/compiler-ui/_next/static/chunks/0u6p3fpbbfgtl.js +1 -0
  32. package/dist/compiler-ui/_next/static/chunks/0wpx5..8dnh0w.js +1 -0
  33. package/dist/compiler-ui/_next/static/chunks/0y0uj160p0ts~.js +1 -0
  34. package/dist/compiler-ui/_next/static/chunks/10t8l~_oenf.c.js +1 -0
  35. package/dist/compiler-ui/_next/static/chunks/13gz9e7z~imx1.js +5 -0
  36. package/dist/compiler-ui/_next/static/chunks/156xed-b6czaw.js +1 -0
  37. package/dist/compiler-ui/_next/static/chunks/{turbopack-0.uq1k8c0j4s..js → turbopack-02-3e_c-yz~5g.js} +1 -1
  38. package/dist/compiler-ui/_next/static/chunks/{turbopack-10e~t1yzi4svj.js → turbopack-0apv8vb-nczuy.js} +1 -1
  39. package/dist/compiler-ui/_not-found/__next._full.txt +10 -9
  40. package/dist/compiler-ui/_not-found/__next._head.txt +3 -3
  41. package/dist/compiler-ui/_not-found/__next._index.txt +5 -4
  42. package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +2 -2
  43. package/dist/compiler-ui/_not-found/__next._not-found.txt +3 -3
  44. package/dist/compiler-ui/_not-found/__next._tree.txt +3 -2
  45. package/dist/compiler-ui/_not-found.html +1 -1
  46. package/dist/compiler-ui/_not-found.txt +10 -9
  47. package/dist/compiler-ui/index.html +1 -1
  48. package/dist/compiler-ui/index.txt +13 -12
  49. package/dist/packages/contracts/index.d.ts +2 -2
  50. package/dist/packages/contracts/index.js +1 -1
  51. package/dist/packages/contracts/lib/schema.d.ts +275 -72
  52. package/dist/packages/contracts/lib/schema.js +244 -83
  53. package/dist/packages/engine/action-definitions.d.ts +174 -13
  54. package/dist/packages/engine/action-definitions.js +125 -122
  55. package/dist/packages/engine/action-planner.js +4 -11
  56. package/dist/packages/engine/agents/lib/shells.d.ts +15 -5
  57. package/dist/packages/engine/agents/lib/shells.js +134 -123
  58. package/dist/packages/engine/agents/role-executors.js +1 -1
  59. package/dist/packages/engine/cloud-seams.d.ts +115 -0
  60. package/dist/packages/engine/cloud-seams.js +84 -0
  61. package/dist/packages/engine/compile/artifact-counts.d.ts +1 -1
  62. package/dist/packages/engine/compile/artifact-counts.js +3 -3
  63. package/dist/packages/engine/compile/artifact-status.d.ts +41 -0
  64. package/dist/packages/engine/compile/artifact-status.js +166 -0
  65. package/dist/packages/engine/compile/billing-events.d.ts +89 -0
  66. package/dist/packages/engine/compile/billing-events.js +74 -0
  67. package/dist/packages/engine/compile/check-evaluator.d.ts +66 -0
  68. package/dist/packages/engine/compile/check-evaluator.js +298 -0
  69. package/dist/packages/engine/compile/compiled-paths.js +6 -6
  70. package/dist/packages/engine/compile/compiled-schema.d.ts +7 -17
  71. package/dist/packages/engine/compile/compiled-schema.js +55 -70
  72. package/dist/packages/engine/compile/compiled-stage-plan.d.ts +1 -0
  73. package/dist/packages/engine/compile/compiled-stage-plan.js +32 -15
  74. package/dist/packages/engine/compile/compiled-stage-runner.js +1 -1
  75. package/dist/packages/engine/compile/index.d.ts +0 -1
  76. package/dist/packages/engine/compile/index.js +0 -1
  77. package/dist/packages/engine/compile/lib/schema.d.ts +111 -92
  78. package/dist/packages/engine/compile/lib/schema.js +35 -39
  79. package/dist/packages/engine/compile/method-primitives.d.ts +2 -2
  80. package/dist/packages/engine/compile/method-primitives.js +1 -1
  81. package/dist/packages/engine/compile/reset.js +4 -4
  82. package/dist/packages/engine/compile/runtime-contracts.js +2 -1
  83. package/dist/packages/engine/compile/runtime-prompt.js +3 -2
  84. package/dist/packages/engine/compile/runtime-reconcile.js +35 -35
  85. package/dist/packages/engine/compile/runtime-runs.js +0 -1
  86. package/dist/packages/engine/compile/runtime-types.d.ts +7 -8
  87. package/dist/packages/engine/compile/runtime.d.ts +1 -2
  88. package/dist/packages/engine/compile/runtime.js +0 -1
  89. package/dist/packages/engine/compile/state-health.js +6 -6
  90. package/dist/packages/engine/compile/state-view.js +7 -6
  91. package/dist/packages/engine/compile/validate-compiled.js +61 -30
  92. package/dist/packages/engine/compile/validate.js +26 -24
  93. package/dist/packages/engine/connection-config.js +1 -1
  94. package/dist/packages/engine/execution/lib/schema.d.ts +89 -33
  95. package/dist/packages/engine/execution/lib/schema.js +13 -5
  96. package/dist/packages/engine/index.d.ts +2 -2
  97. package/dist/packages/engine/index.js +1 -1
  98. package/dist/packages/engine/instance-paths.d.ts +15 -9
  99. package/dist/packages/engine/instance-paths.js +15 -9
  100. package/dist/packages/engine/lib/schema.d.ts +1316 -351
  101. package/dist/packages/engine/lib/schema.js +99 -36
  102. package/dist/packages/engine/native-run-handlers.js +25 -15
  103. package/dist/packages/engine/preparation-store.d.ts +9 -7
  104. package/dist/packages/engine/preparation-store.js +20 -0
  105. package/dist/packages/engine/requested-artifacts.d.ts +5 -0
  106. package/dist/packages/engine/requested-artifacts.js +36 -0
  107. package/dist/packages/engine/routes.d.ts +7 -1
  108. package/dist/packages/engine/routes.js +7 -1
  109. package/dist/packages/engine/run-observability.js +4 -4
  110. package/dist/packages/engine/runtime-event-applier.js +7 -0
  111. package/dist/packages/engine/runtime-proposal-helpers.d.ts +2 -2
  112. package/dist/packages/engine/runtime-proposal-helpers.js +6 -8
  113. package/dist/packages/engine/runtime-resource-builders.d.ts +11 -6
  114. package/dist/packages/engine/runtime-resource-builders.js +18 -6
  115. package/dist/packages/engine/runtime.d.ts +70 -8
  116. package/dist/packages/engine/runtime.js +304 -49
  117. package/dist/packages/engine/server.d.ts +25 -0
  118. package/dist/packages/engine/server.js +161 -50
  119. package/dist/packages/engine/verify/index.d.ts +10 -10
  120. package/dist/packages/engine/verify/index.js +8 -8
  121. package/dist/packages/engine/verify/readiness-check-run.d.ts +27 -4
  122. package/dist/packages/engine/verify/readiness-check-run.js +92 -24
  123. package/dist/packages/engine/verify/{test-execution.d.ts → verify-execution.d.ts} +2 -2
  124. package/dist/packages/engine/verify/{test-execution.js → verify-execution.js} +3 -3
  125. package/dist/packages/engine/verify/{test-paths.d.ts → verify-paths.d.ts} +1 -1
  126. package/dist/packages/engine/verify/{test-sandbox.d.ts → verify-sandbox.d.ts} +1 -1
  127. package/dist/packages/engine/verify/{test-specs.d.ts → verify-specs.d.ts} +1 -1
  128. package/dist/packages/engine/verify/{test-specs.js → verify-specs.js} +1 -1
  129. package/dist/packages/engine/verify/{test-targets.d.ts → verify-targets.d.ts} +1 -1
  130. package/dist/packages/engine/verify/{test.d.ts → verify.d.ts} +4 -4
  131. package/dist/packages/engine/verify/{test.js → verify.js} +3 -3
  132. package/dist/packages/engine/wire-schemas.d.ts +549 -0
  133. package/dist/packages/engine/wire-schemas.js +59 -0
  134. package/dist/packages/methods/authoring/method-authoring.d.ts +5 -1
  135. package/dist/packages/methods/authoring/method-authoring.js +68 -18
  136. package/dist/packages/methods/authoring/method-edit-session.js +5 -5
  137. package/dist/packages/methods/authoring/method-improvement.js +1 -1
  138. package/dist/packages/methods/package/builtin-compiled-method.d.ts +12 -12
  139. package/dist/packages/methods/package/builtin-compiled-method.js +26 -23
  140. package/dist/packages/methods/package/context-interface.d.ts +39 -26
  141. package/dist/packages/methods/package/context-interface.js +48 -39
  142. package/dist/packages/methods/package/interf-method-package.js +28 -47
  143. package/dist/packages/methods/package/local-methods.d.ts +4 -4
  144. package/dist/packages/methods/package/local-methods.js +53 -66
  145. package/dist/packages/methods/package/method-definitions.d.ts +4 -6
  146. package/dist/packages/methods/package/method-definitions.js +1 -5
  147. package/dist/packages/methods/package/method-helpers.d.ts +0 -2
  148. package/dist/packages/methods/package/method-helpers.js +0 -4
  149. package/dist/packages/project/interf-detect.js +6 -6
  150. package/dist/packages/project/interf-scaffold.js +12 -12
  151. package/dist/packages/project/lib/schema.d.ts +193 -0
  152. package/dist/packages/project/lib/schema.js +46 -1
  153. package/dist/packages/project/source-config.js +6 -1
  154. package/dist/packages/project/source-folders.js +1 -1
  155. package/package.json +12 -23
  156. package/public-repo/CONTRIBUTING.md +47 -0
  157. package/public-repo/LICENSE.md +1 -0
  158. package/public-repo/README.md +325 -0
  159. package/public-repo/SECURITY.md +67 -0
  160. package/public-repo/TRADEMARKS.md +8 -0
  161. package/{builtin-methods → public-repo/methods}/interf-default/README.md +10 -7
  162. package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/shape/SKILL.md +4 -8
  163. package/{builtin-methods → public-repo/methods}/interf-default/method.json +8 -69
  164. package/public-repo/methods/interf-default/method.schema.json +75 -0
  165. package/public-repo/methods/interf-default/use/query/SKILL.md +23 -0
  166. package/public-repo/plugins/README.md +9 -0
  167. package/public-repo/plugins/interf/.claude-plugin/plugin.json +21 -0
  168. package/public-repo/plugins/interf/.mcp.json +12 -0
  169. package/public-repo/plugins/interf/README.md +29 -0
  170. package/public-repo/plugins/interf/skills/interf/SKILL.md +477 -0
  171. package/public-repo/skills/interf/SKILL.md +477 -0
  172. package/agent-skills/interf-actions/SKILL.md +0 -185
  173. package/agent-skills/interf-actions/references/cli.md +0 -243
  174. package/builtin-methods/interf-default/method.schema.json +0 -73
  175. package/builtin-methods/interf-default/use/query/SKILL.md +0 -28
  176. package/dist/cli/commands/verify.d.ts +0 -8
  177. package/dist/compiler-ui/_next/static/chunks/06yhdspx~ca5-.js +0 -5
  178. package/dist/compiler-ui/_next/static/chunks/06z~l3kwb891e.js +0 -1
  179. package/dist/compiler-ui/_next/static/chunks/08g7lvje.te.u.js +0 -1
  180. package/dist/compiler-ui/_next/static/chunks/0_i-3_5l9t2qe.js +0 -1
  181. package/dist/compiler-ui/_next/static/chunks/0b-ywny_j0g~0.js +0 -1
  182. package/dist/compiler-ui/_next/static/chunks/0b52v41o1gixx.js +0 -1
  183. package/dist/compiler-ui/_next/static/chunks/0gpzgsv0w.q~m.js +0 -31
  184. package/dist/compiler-ui/_next/static/chunks/0ilwfezfvu6~-.js +0 -1
  185. package/dist/compiler-ui/_next/static/chunks/0jipmpez3_ehh.js +0 -89
  186. package/dist/compiler-ui/_next/static/chunks/0xxmf45eskdt~.css +0 -1
  187. package/dist/compiler-ui/_next/static/chunks/13awzu4tooflw.css +0 -3
  188. package/dist/compiler-ui/_next/static/chunks/14wtz~vq25~qq.js +0 -1
  189. package/dist/packages/engine/compile/runtime-acceptance.d.ts +0 -9
  190. package/dist/packages/engine/compile/runtime-acceptance.js +0 -265
  191. /package/dist/compiler-ui/_next/static/{a3UiUF0DiMEbfWy_0gihg → tYHMLL9oKds1yDoNYgkPV}/_buildManifest.js +0 -0
  192. /package/dist/compiler-ui/_next/static/{a3UiUF0DiMEbfWy_0gihg → tYHMLL9oKds1yDoNYgkPV}/_clientMiddlewareManifest.js +0 -0
  193. /package/dist/compiler-ui/_next/static/{a3UiUF0DiMEbfWy_0gihg → tYHMLL9oKds1yDoNYgkPV}/_ssgManifest.js +0 -0
  194. /package/dist/packages/engine/verify/{test-paths.js → verify-paths.js} +0 -0
  195. /package/dist/packages/engine/verify/{test-profile-presets.d.ts → verify-profile-presets.d.ts} +0 -0
  196. /package/dist/packages/engine/verify/{test-profile-presets.js → verify-profile-presets.js} +0 -0
  197. /package/dist/packages/engine/verify/{test-sandbox.js → verify-sandbox.js} +0 -0
  198. /package/dist/packages/engine/verify/{test-targets.js → verify-targets.js} +0 -0
  199. /package/dist/packages/engine/verify/{test-types.d.ts → verify-types.d.ts} +0 -0
  200. /package/dist/packages/engine/verify/{test-types.js → verify-types.js} +0 -0
  201. /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/structure/SKILL.md +0 -0
  202. /package/{builtin-methods → public-repo/methods}/interf-default/compile/stages/summarize/SKILL.md +0 -0
  203. /package/{builtin-methods → public-repo/methods}/interf-default/improve/SKILL.md +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,11 +51,62 @@ 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>;
50
58
  method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
59
  about: z.ZodOptional<z.ZodString>;
60
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
61
+ id: z.ZodOptional<z.ZodString>;
62
+ title: z.ZodString;
63
+ purpose: z.ZodOptional<z.ZodString>;
64
+ description: z.ZodOptional<z.ZodString>;
65
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
66
+ label: z.ZodString;
67
+ }, z.core.$loose>]>>>;
68
+ output: z.ZodOptional<z.ZodObject<{
69
+ path: z.ZodOptional<z.ZodString>;
70
+ shape: z.ZodOptional<z.ZodObject<{
71
+ kind: z.ZodLiteral<"path">;
72
+ path: z.ZodString;
73
+ artifact_kind: z.ZodEnum<{
74
+ file: "file";
75
+ directory: "directory";
76
+ }>;
77
+ }, z.core.$strict>>;
78
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
79
+ id: z.ZodString;
80
+ kind: z.ZodEnum<{
81
+ file_exists: "file_exists";
82
+ min_file_count: "min_file_count";
83
+ min_file_count_matches_source: "min_file_count_matches_source";
84
+ frontmatter_valid: "frontmatter_valid";
85
+ frontmatter_required_keys: "frontmatter_required_keys";
86
+ wikilinks_valid: "wikilinks_valid";
87
+ must_not_contain: "must_not_contain";
88
+ must_contain: "must_contain";
89
+ qa_match: "qa_match";
90
+ }>;
91
+ description: z.ZodOptional<z.ZodString>;
92
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
93
+ required: z.ZodDefault<z.ZodBoolean>;
94
+ }, z.core.$strict>>>;
95
+ stage_hint: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strict>>;
97
+ }, z.core.$strict>>>>;
98
+ source_profile: z.ZodOptional<z.ZodObject<{
99
+ summary: z.ZodOptional<z.ZodString>;
100
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
101
+ name: z.ZodOptional<z.ZodString>;
102
+ path: z.ZodOptional<z.ZodString>;
103
+ kind: z.ZodOptional<z.ZodString>;
104
+ page_count: z.ZodOptional<z.ZodNumber>;
105
+ note: z.ZodOptional<z.ZodString>;
106
+ }, z.core.$loose>>>;
107
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
108
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
109
+ }, z.core.$loose>>;
52
110
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
53
111
  id: z.ZodOptional<z.ZodString>;
54
112
  question: z.ZodString;
@@ -69,6 +127,69 @@ export declare const PreparationCreateRequestSchema: z.ZodObject<{
69
127
  export declare const PreparationUpdateRequestSchema: z.ZodObject<{
70
128
  method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
129
  about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
+ id: z.ZodOptional<z.ZodString>;
132
+ question: z.ZodString;
133
+ answer: z.ZodOptional<z.ZodString>;
134
+ expect: z.ZodOptional<z.ZodObject<{
135
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
137
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
+ min_words: z.ZodOptional<z.ZodNumber>;
139
+ max_words: z.ZodOptional<z.ZodNumber>;
140
+ }, z.core.$strip>>;
141
+ strictness: z.ZodOptional<z.ZodString>;
142
+ }, z.core.$strict>>>;
143
+ requested_artifacts: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
144
+ id: z.ZodOptional<z.ZodString>;
145
+ title: z.ZodString;
146
+ purpose: z.ZodOptional<z.ZodString>;
147
+ description: z.ZodOptional<z.ZodString>;
148
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
149
+ label: z.ZodString;
150
+ }, z.core.$loose>]>>>;
151
+ output: z.ZodOptional<z.ZodObject<{
152
+ path: z.ZodOptional<z.ZodString>;
153
+ shape: z.ZodOptional<z.ZodObject<{
154
+ kind: z.ZodLiteral<"path">;
155
+ path: z.ZodString;
156
+ artifact_kind: z.ZodEnum<{
157
+ file: "file";
158
+ directory: "directory";
159
+ }>;
160
+ }, z.core.$strict>>;
161
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ kind: z.ZodEnum<{
164
+ file_exists: "file_exists";
165
+ min_file_count: "min_file_count";
166
+ min_file_count_matches_source: "min_file_count_matches_source";
167
+ frontmatter_valid: "frontmatter_valid";
168
+ frontmatter_required_keys: "frontmatter_required_keys";
169
+ wikilinks_valid: "wikilinks_valid";
170
+ must_not_contain: "must_not_contain";
171
+ must_contain: "must_contain";
172
+ qa_match: "qa_match";
173
+ }>;
174
+ description: z.ZodOptional<z.ZodString>;
175
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
176
+ required: z.ZodDefault<z.ZodBoolean>;
177
+ }, z.core.$strict>>>;
178
+ stage_hint: z.ZodOptional<z.ZodString>;
179
+ }, z.core.$strict>>;
180
+ }, z.core.$strict>>>>;
181
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
182
+ summary: z.ZodOptional<z.ZodString>;
183
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
184
+ name: z.ZodOptional<z.ZodString>;
185
+ path: z.ZodOptional<z.ZodString>;
186
+ kind: z.ZodOptional<z.ZodString>;
187
+ page_count: z.ZodOptional<z.ZodNumber>;
188
+ note: z.ZodOptional<z.ZodString>;
189
+ }, z.core.$loose>>>;
190
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
191
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
192
+ }, z.core.$loose>>>;
72
193
  }, z.core.$strict>;
73
194
  /** Body of `POST /v1/methods` — install a Method package by path. */
74
195
  export declare const MethodInstallRequestSchema: z.ZodObject<{
@@ -84,6 +205,90 @@ export declare const PreparationDeleteResponseSchema: z.ZodObject<{
84
205
  deleted: z.ZodBoolean;
85
206
  id: z.ZodString;
86
207
  }, z.core.$strict>;
208
+ export declare const PreparationWireShapeSchema: z.ZodObject<{
209
+ id: z.ZodString;
210
+ source: z.ZodObject<{
211
+ kind: z.ZodEnum<{
212
+ "local-folder": "local-folder";
213
+ "remote-folder": "remote-folder";
214
+ }>;
215
+ locator: z.ZodString;
216
+ }, z.core.$strict>;
217
+ method_id: z.ZodNullable<z.ZodString>;
218
+ about: z.ZodNullable<z.ZodString>;
219
+ config_path: z.ZodString;
220
+ portable_context: z.ZodObject<{
221
+ kind: z.ZodEnum<{
222
+ "local-path": "local-path";
223
+ "remote-url": "remote-url";
224
+ "api-served": "api-served";
225
+ }>;
226
+ value: z.ZodString;
227
+ }, z.core.$strict>;
228
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
229
+ id: z.ZodOptional<z.ZodString>;
230
+ question: z.ZodString;
231
+ answer: z.ZodOptional<z.ZodString>;
232
+ expect: z.ZodOptional<z.ZodObject<{
233
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
234
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
235
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
236
+ min_words: z.ZodOptional<z.ZodNumber>;
237
+ max_words: z.ZodOptional<z.ZodNumber>;
238
+ }, z.core.$strip>>;
239
+ strictness: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strict>>>;
241
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
242
+ id: z.ZodOptional<z.ZodString>;
243
+ title: z.ZodString;
244
+ purpose: z.ZodOptional<z.ZodString>;
245
+ description: z.ZodOptional<z.ZodString>;
246
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
247
+ label: z.ZodString;
248
+ }, z.core.$loose>]>>>;
249
+ output: z.ZodOptional<z.ZodObject<{
250
+ path: z.ZodOptional<z.ZodString>;
251
+ shape: z.ZodOptional<z.ZodObject<{
252
+ kind: z.ZodLiteral<"path">;
253
+ path: z.ZodString;
254
+ artifact_kind: z.ZodEnum<{
255
+ file: "file";
256
+ directory: "directory";
257
+ }>;
258
+ }, z.core.$strict>>;
259
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
260
+ id: z.ZodString;
261
+ kind: z.ZodEnum<{
262
+ file_exists: "file_exists";
263
+ min_file_count: "min_file_count";
264
+ min_file_count_matches_source: "min_file_count_matches_source";
265
+ frontmatter_valid: "frontmatter_valid";
266
+ frontmatter_required_keys: "frontmatter_required_keys";
267
+ wikilinks_valid: "wikilinks_valid";
268
+ must_not_contain: "must_not_contain";
269
+ must_contain: "must_contain";
270
+ qa_match: "qa_match";
271
+ }>;
272
+ description: z.ZodOptional<z.ZodString>;
273
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
274
+ required: z.ZodDefault<z.ZodBoolean>;
275
+ }, z.core.$strict>>>;
276
+ stage_hint: z.ZodOptional<z.ZodString>;
277
+ }, z.core.$strict>>;
278
+ }, z.core.$strict>>>>;
279
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
280
+ summary: z.ZodOptional<z.ZodString>;
281
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
282
+ name: z.ZodOptional<z.ZodString>;
283
+ path: z.ZodOptional<z.ZodString>;
284
+ kind: z.ZodOptional<z.ZodString>;
285
+ page_count: z.ZodOptional<z.ZodNumber>;
286
+ note: z.ZodOptional<z.ZodString>;
287
+ }, z.core.$loose>>>;
288
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
289
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
290
+ }, z.core.$loose>>>;
291
+ }, z.core.$strict>;
87
292
  export type SourceBinding = z.infer<typeof SourceBindingSchema>;
88
293
  export type ArtifactLocator = z.infer<typeof ArtifactLocatorSchema>;
89
294
  export type InstanceResource = z.infer<typeof InstanceResourceSchema>;
@@ -92,6 +297,7 @@ export type PreparationUpdateRequest = z.infer<typeof PreparationUpdateRequestSc
92
297
  export type MethodInstallRequest = z.infer<typeof MethodInstallRequestSchema>;
93
298
  export type MethodInstallResult = z.infer<typeof MethodInstallResultSchema>;
94
299
  export type PreparationDeleteResponse = z.infer<typeof PreparationDeleteResponseSchema>;
300
+ export type PreparationWireShape = z.infer<typeof PreparationWireShapeSchema>;
95
301
  /**
96
302
  * The local service must only ever bind to a loopback interface. Any other
97
303
  * host (LAN IP, 0.0.0.0, public address) lets a remote browser tab POST at
@@ -216,6 +422,56 @@ export declare const PreparationResourceSchema: z.ZodObject<{
216
422
  }, z.core.$strip>>;
217
423
  strictness: z.ZodOptional<z.ZodString>;
218
424
  }, z.core.$strict>>>;
425
+ requested_artifacts: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
426
+ id: z.ZodOptional<z.ZodString>;
427
+ title: z.ZodString;
428
+ purpose: z.ZodOptional<z.ZodString>;
429
+ description: z.ZodOptional<z.ZodString>;
430
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
431
+ label: z.ZodString;
432
+ }, z.core.$loose>]>>>;
433
+ output: z.ZodOptional<z.ZodObject<{
434
+ path: z.ZodOptional<z.ZodString>;
435
+ shape: z.ZodOptional<z.ZodObject<{
436
+ kind: z.ZodLiteral<"path">;
437
+ path: z.ZodString;
438
+ artifact_kind: z.ZodEnum<{
439
+ file: "file";
440
+ directory: "directory";
441
+ }>;
442
+ }, z.core.$strict>>;
443
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
444
+ id: z.ZodString;
445
+ kind: z.ZodEnum<{
446
+ file_exists: "file_exists";
447
+ min_file_count: "min_file_count";
448
+ min_file_count_matches_source: "min_file_count_matches_source";
449
+ frontmatter_valid: "frontmatter_valid";
450
+ frontmatter_required_keys: "frontmatter_required_keys";
451
+ wikilinks_valid: "wikilinks_valid";
452
+ must_not_contain: "must_not_contain";
453
+ must_contain: "must_contain";
454
+ qa_match: "qa_match";
455
+ }>;
456
+ description: z.ZodOptional<z.ZodString>;
457
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
458
+ required: z.ZodDefault<z.ZodBoolean>;
459
+ }, z.core.$strict>>>;
460
+ stage_hint: z.ZodOptional<z.ZodString>;
461
+ }, z.core.$strict>>;
462
+ }, z.core.$strict>>>>;
463
+ source_profile: z.ZodOptional<z.ZodObject<{
464
+ summary: z.ZodOptional<z.ZodString>;
465
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
466
+ name: z.ZodOptional<z.ZodString>;
467
+ path: z.ZodOptional<z.ZodString>;
468
+ kind: z.ZodOptional<z.ZodString>;
469
+ page_count: z.ZodOptional<z.ZodNumber>;
470
+ note: z.ZodOptional<z.ZodString>;
471
+ }, z.core.$loose>>>;
472
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
473
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
474
+ }, z.core.$loose>>;
219
475
  }, z.core.$strict>;
220
476
  source_path: z.ZodString;
221
477
  method_id: z.ZodNullable<z.ZodString>;
@@ -232,6 +488,56 @@ export declare const PreparationResourceSchema: z.ZodObject<{
232
488
  }, z.core.$strip>>;
233
489
  strictness: z.ZodOptional<z.ZodString>;
234
490
  }, z.core.$strict>>>;
491
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
492
+ id: z.ZodOptional<z.ZodString>;
493
+ title: z.ZodString;
494
+ purpose: z.ZodOptional<z.ZodString>;
495
+ description: z.ZodOptional<z.ZodString>;
496
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
497
+ label: z.ZodString;
498
+ }, z.core.$loose>]>>>;
499
+ output: z.ZodOptional<z.ZodObject<{
500
+ path: z.ZodOptional<z.ZodString>;
501
+ shape: z.ZodOptional<z.ZodObject<{
502
+ kind: z.ZodLiteral<"path">;
503
+ path: z.ZodString;
504
+ artifact_kind: z.ZodEnum<{
505
+ file: "file";
506
+ directory: "directory";
507
+ }>;
508
+ }, z.core.$strict>>;
509
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
510
+ id: z.ZodString;
511
+ kind: z.ZodEnum<{
512
+ file_exists: "file_exists";
513
+ min_file_count: "min_file_count";
514
+ min_file_count_matches_source: "min_file_count_matches_source";
515
+ frontmatter_valid: "frontmatter_valid";
516
+ frontmatter_required_keys: "frontmatter_required_keys";
517
+ wikilinks_valid: "wikilinks_valid";
518
+ must_not_contain: "must_not_contain";
519
+ must_contain: "must_contain";
520
+ qa_match: "qa_match";
521
+ }>;
522
+ description: z.ZodOptional<z.ZodString>;
523
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
524
+ required: z.ZodDefault<z.ZodBoolean>;
525
+ }, z.core.$strict>>>;
526
+ stage_hint: z.ZodOptional<z.ZodString>;
527
+ }, z.core.$strict>>;
528
+ }, z.core.$strict>>>>;
529
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
530
+ summary: z.ZodOptional<z.ZodString>;
531
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
532
+ name: z.ZodOptional<z.ZodString>;
533
+ path: z.ZodOptional<z.ZodString>;
534
+ kind: z.ZodOptional<z.ZodString>;
535
+ page_count: z.ZodOptional<z.ZodNumber>;
536
+ note: z.ZodOptional<z.ZodString>;
537
+ }, z.core.$loose>>>;
538
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
539
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
540
+ }, z.core.$loose>>>;
235
541
  portable_context: z.ZodObject<{
236
542
  preparation: z.ZodString;
237
543
  path: z.ZodNullable<z.ZodString>;
@@ -247,15 +553,15 @@ export declare const PreparationResourceSchema: z.ZodObject<{
247
553
  generated_at: z.ZodString;
248
554
  preparation: z.ZodString;
249
555
  status: z.ZodEnum<{
556
+ ready: "ready";
557
+ failed: "failed";
250
558
  "not-configured": "not-configured";
251
559
  "not-built": "not-built";
252
560
  building: "building";
253
561
  built: "built";
254
562
  checking: "checking";
255
- ready: "ready";
256
563
  "not-ready": "not-ready";
257
564
  stale: "stale";
258
- failed: "failed";
259
565
  }>;
260
566
  ready: z.ZodBoolean;
261
567
  summary: z.ZodString;
@@ -267,20 +573,21 @@ export declare const PreparationResourceSchema: z.ZodObject<{
267
573
  "portable-context": "portable-context";
268
574
  "preparation-config": "preparation-config";
269
575
  "compile-run": "compile-run";
576
+ "artifact-checks": "artifact-checks";
270
577
  "readiness-checks": "readiness-checks";
271
578
  "checks-current": "checks-current";
272
579
  }>;
273
580
  ok: z.ZodBoolean;
274
581
  status: z.ZodOptional<z.ZodEnum<{
582
+ ready: "ready";
583
+ failed: "failed";
275
584
  "not-configured": "not-configured";
276
585
  "not-built": "not-built";
277
586
  building: "building";
278
587
  built: "built";
279
588
  checking: "checking";
280
- ready: "ready";
281
589
  "not-ready": "not-ready";
282
590
  stale: "stale";
283
- failed: "failed";
284
591
  }>>;
285
592
  summary: z.ZodString;
286
593
  detail: z.ZodOptional<z.ZodString>;
@@ -314,20 +621,21 @@ export declare const PreparationResourceSchema: z.ZodObject<{
314
621
  "portable-context": "portable-context";
315
622
  "preparation-config": "preparation-config";
316
623
  "compile-run": "compile-run";
624
+ "artifact-checks": "artifact-checks";
317
625
  "readiness-checks": "readiness-checks";
318
626
  "checks-current": "checks-current";
319
627
  }>;
320
628
  ok: z.ZodBoolean;
321
629
  status: z.ZodOptional<z.ZodEnum<{
630
+ ready: "ready";
631
+ failed: "failed";
322
632
  "not-configured": "not-configured";
323
633
  "not-built": "not-built";
324
634
  building: "building";
325
635
  built: "built";
326
636
  checking: "checking";
327
- ready: "ready";
328
637
  "not-ready": "not-ready";
329
638
  stale: "stale";
330
- failed: "failed";
331
639
  }>>;
332
640
  summary: z.ZodString;
333
641
  detail: z.ZodOptional<z.ZodString>;
@@ -341,6 +649,36 @@ export declare const PreparationResourceSchema: z.ZodObject<{
341
649
  }, z.core.$strict>;
342
650
  latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
651
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
653
+ artifact_id: z.ZodString;
654
+ status: z.ZodEnum<{
655
+ ready: "ready";
656
+ not_ready: "not_ready";
657
+ failed: "failed";
658
+ skipped: "skipped";
659
+ }>;
660
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
661
+ proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
662
+ check_id: z.ZodString;
663
+ kind: z.ZodEnum<{
664
+ file_exists: "file_exists";
665
+ min_file_count: "min_file_count";
666
+ min_file_count_matches_source: "min_file_count_matches_source";
667
+ frontmatter_valid: "frontmatter_valid";
668
+ frontmatter_required_keys: "frontmatter_required_keys";
669
+ wikilinks_valid: "wikilinks_valid";
670
+ must_not_contain: "must_not_contain";
671
+ must_contain: "must_contain";
672
+ qa_match: "qa_match";
673
+ }>;
674
+ passed: z.ZodBoolean;
675
+ required: z.ZodBoolean;
676
+ summary: z.ZodString;
677
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
678
+ evaluated_at: z.ZodString;
679
+ }, z.core.$strict>>>;
680
+ summary: z.ZodOptional<z.ZodString>;
681
+ }, z.core.$strict>>>;
344
682
  }, z.core.$strict>;
345
683
  export declare const MethodResourceSchema: z.ZodObject<{
346
684
  id: z.ZodString;
@@ -348,13 +686,53 @@ export declare const MethodResourceSchema: z.ZodObject<{
348
686
  path: z.ZodString;
349
687
  label: z.ZodOptional<z.ZodString>;
350
688
  hint: z.ZodOptional<z.ZodString>;
689
+ purpose: z.ZodOptional<z.ZodObject<{
690
+ label: z.ZodString;
691
+ task_hint: z.ZodString;
692
+ }, z.core.$strict>>;
693
+ inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
694
+ id: z.ZodString;
695
+ label: z.ZodString;
696
+ description: z.ZodString;
697
+ required: z.ZodDefault<z.ZodBoolean>;
698
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
699
+ }, z.core.$strict>>>;
351
700
  source_kind: z.ZodDefault<z.ZodEnum<{
352
701
  builtin: "builtin";
353
702
  local: "local";
354
703
  }>>;
355
704
  built_in: z.ZodDefault<z.ZodBoolean>;
356
705
  active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
357
- output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
706
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
707
+ id: z.ZodString;
708
+ description: z.ZodString;
709
+ shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
+ kind: z.ZodLiteral<"path">;
711
+ path: z.ZodString;
712
+ artifact_kind: z.ZodEnum<{
713
+ file: "file";
714
+ directory: "directory";
715
+ }>;
716
+ }, z.core.$strict>], "kind">;
717
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
718
+ id: z.ZodString;
719
+ kind: z.ZodEnum<{
720
+ file_exists: "file_exists";
721
+ min_file_count: "min_file_count";
722
+ min_file_count_matches_source: "min_file_count_matches_source";
723
+ frontmatter_valid: "frontmatter_valid";
724
+ frontmatter_required_keys: "frontmatter_required_keys";
725
+ wikilinks_valid: "wikilinks_valid";
726
+ must_not_contain: "must_not_contain";
727
+ must_contain: "must_contain";
728
+ qa_match: "qa_match";
729
+ }>;
730
+ description: z.ZodOptional<z.ZodString>;
731
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
732
+ required: z.ZodDefault<z.ZodBoolean>;
733
+ }, z.core.$strict>>>;
734
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
735
+ }, z.core.$strict>>>;
358
736
  stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
359
737
  id: z.ZodString;
360
738
  label: z.ZodString;
@@ -364,7 +742,6 @@ export declare const MethodResourceSchema: z.ZodObject<{
364
742
  role: z.ZodDefault<z.ZodString>;
365
743
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
366
744
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
367
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
368
745
  }, z.core.$strict>>>;
369
746
  }, z.core.$strict>;
370
747
  export declare const CompileRunCreateRequestSchema: z.ZodObject<{
@@ -508,6 +885,12 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
508
885
  timestamp: z.ZodString;
509
886
  type: z.ZodLiteral<"run.failed">;
510
887
  error: z.ZodString;
888
+ }, z.core.$strict>, z.ZodObject<{
889
+ event_id: z.ZodString;
890
+ run_id: z.ZodString;
891
+ timestamp: z.ZodString;
892
+ type: z.ZodLiteral<"run.cancelled">;
893
+ reason: z.ZodOptional<z.ZodString>;
511
894
  }, z.core.$strict>, z.ZodObject<{
512
895
  event_id: z.ZodString;
513
896
  run_id: z.ZodString;
@@ -534,15 +917,15 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
534
917
  generated_at: z.ZodString;
535
918
  preparation: z.ZodString;
536
919
  status: z.ZodEnum<{
920
+ ready: "ready";
921
+ failed: "failed";
537
922
  "not-configured": "not-configured";
538
923
  "not-built": "not-built";
539
924
  building: "building";
540
925
  built: "built";
541
926
  checking: "checking";
542
- ready: "ready";
543
927
  "not-ready": "not-ready";
544
928
  stale: "stale";
545
- failed: "failed";
546
929
  }>;
547
930
  ready: z.ZodBoolean;
548
931
  summary: z.ZodString;
@@ -554,20 +937,21 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
554
937
  "portable-context": "portable-context";
555
938
  "preparation-config": "preparation-config";
556
939
  "compile-run": "compile-run";
940
+ "artifact-checks": "artifact-checks";
557
941
  "readiness-checks": "readiness-checks";
558
942
  "checks-current": "checks-current";
559
943
  }>;
560
944
  ok: z.ZodBoolean;
561
945
  status: z.ZodOptional<z.ZodEnum<{
946
+ ready: "ready";
947
+ failed: "failed";
562
948
  "not-configured": "not-configured";
563
949
  "not-built": "not-built";
564
950
  building: "building";
565
951
  built: "built";
566
952
  checking: "checking";
567
- ready: "ready";
568
953
  "not-ready": "not-ready";
569
954
  stale: "stale";
570
- failed: "failed";
571
955
  }>>;
572
956
  summary: z.ZodString;
573
957
  detail: z.ZodOptional<z.ZodString>;
@@ -601,20 +985,21 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
601
985
  "portable-context": "portable-context";
602
986
  "preparation-config": "preparation-config";
603
987
  "compile-run": "compile-run";
988
+ "artifact-checks": "artifact-checks";
604
989
  "readiness-checks": "readiness-checks";
605
990
  "checks-current": "checks-current";
606
991
  }>;
607
992
  ok: z.ZodBoolean;
608
993
  status: z.ZodOptional<z.ZodEnum<{
994
+ ready: "ready";
995
+ failed: "failed";
609
996
  "not-configured": "not-configured";
610
997
  "not-built": "not-built";
611
998
  building: "building";
612
999
  built: "built";
613
1000
  checking: "checking";
614
- ready: "ready";
615
1001
  "not-ready": "not-ready";
616
1002
  stale: "stale";
617
- failed: "failed";
618
1003
  }>>;
619
1004
  summary: z.ZodString;
620
1005
  detail: z.ZodOptional<z.ZodString>;
@@ -695,7 +1080,6 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
695
1080
  stage_total: z.ZodOptional<z.ZodNumber>;
696
1081
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
697
1082
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
698
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
699
1083
  }, z.core.$strict>>;
700
1084
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
701
1085
  kind: z.ZodEnum<{
@@ -876,6 +1260,12 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
876
1260
  timestamp: z.ZodString;
877
1261
  type: z.ZodLiteral<"run.failed">;
878
1262
  error: z.ZodString;
1263
+ }, z.core.$strict>, z.ZodObject<{
1264
+ event_id: z.ZodString;
1265
+ run_id: z.ZodString;
1266
+ timestamp: z.ZodString;
1267
+ type: z.ZodLiteral<"run.cancelled">;
1268
+ reason: z.ZodOptional<z.ZodString>;
879
1269
  }, z.core.$strict>, z.ZodObject<{
880
1270
  event_id: z.ZodString;
881
1271
  run_id: z.ZodString;
@@ -902,15 +1292,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
902
1292
  generated_at: z.ZodString;
903
1293
  preparation: z.ZodString;
904
1294
  status: z.ZodEnum<{
1295
+ ready: "ready";
1296
+ failed: "failed";
905
1297
  "not-configured": "not-configured";
906
1298
  "not-built": "not-built";
907
1299
  building: "building";
908
1300
  built: "built";
909
1301
  checking: "checking";
910
- ready: "ready";
911
1302
  "not-ready": "not-ready";
912
1303
  stale: "stale";
913
- failed: "failed";
914
1304
  }>;
915
1305
  ready: z.ZodBoolean;
916
1306
  summary: z.ZodString;
@@ -922,20 +1312,21 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
922
1312
  "portable-context": "portable-context";
923
1313
  "preparation-config": "preparation-config";
924
1314
  "compile-run": "compile-run";
1315
+ "artifact-checks": "artifact-checks";
925
1316
  "readiness-checks": "readiness-checks";
926
1317
  "checks-current": "checks-current";
927
1318
  }>;
928
1319
  ok: z.ZodBoolean;
929
1320
  status: z.ZodOptional<z.ZodEnum<{
1321
+ ready: "ready";
1322
+ failed: "failed";
930
1323
  "not-configured": "not-configured";
931
1324
  "not-built": "not-built";
932
1325
  building: "building";
933
1326
  built: "built";
934
1327
  checking: "checking";
935
- ready: "ready";
936
1328
  "not-ready": "not-ready";
937
1329
  stale: "stale";
938
- failed: "failed";
939
1330
  }>>;
940
1331
  summary: z.ZodString;
941
1332
  detail: z.ZodOptional<z.ZodString>;
@@ -969,20 +1360,21 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
969
1360
  "portable-context": "portable-context";
970
1361
  "preparation-config": "preparation-config";
971
1362
  "compile-run": "compile-run";
1363
+ "artifact-checks": "artifact-checks";
972
1364
  "readiness-checks": "readiness-checks";
973
1365
  "checks-current": "checks-current";
974
1366
  }>;
975
1367
  ok: z.ZodBoolean;
976
1368
  status: z.ZodOptional<z.ZodEnum<{
1369
+ ready: "ready";
1370
+ failed: "failed";
977
1371
  "not-configured": "not-configured";
978
1372
  "not-built": "not-built";
979
1373
  building: "building";
980
1374
  built: "built";
981
1375
  checking: "checking";
982
- ready: "ready";
983
1376
  "not-ready": "not-ready";
984
1377
  stale: "stale";
985
- failed: "failed";
986
1378
  }>>;
987
1379
  summary: z.ZodString;
988
1380
  detail: z.ZodOptional<z.ZodString>;
@@ -1024,15 +1416,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1024
1416
  generated_at: z.ZodString;
1025
1417
  preparation: z.ZodString;
1026
1418
  status: z.ZodEnum<{
1419
+ ready: "ready";
1420
+ failed: "failed";
1027
1421
  "not-configured": "not-configured";
1028
1422
  "not-built": "not-built";
1029
1423
  building: "building";
1030
1424
  built: "built";
1031
1425
  checking: "checking";
1032
- ready: "ready";
1033
1426
  "not-ready": "not-ready";
1034
1427
  stale: "stale";
1035
- failed: "failed";
1036
1428
  }>;
1037
1429
  ready: z.ZodBoolean;
1038
1430
  summary: z.ZodString;
@@ -1044,20 +1436,21 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1044
1436
  "portable-context": "portable-context";
1045
1437
  "preparation-config": "preparation-config";
1046
1438
  "compile-run": "compile-run";
1439
+ "artifact-checks": "artifact-checks";
1047
1440
  "readiness-checks": "readiness-checks";
1048
1441
  "checks-current": "checks-current";
1049
1442
  }>;
1050
1443
  ok: z.ZodBoolean;
1051
1444
  status: z.ZodOptional<z.ZodEnum<{
1445
+ ready: "ready";
1446
+ failed: "failed";
1052
1447
  "not-configured": "not-configured";
1053
1448
  "not-built": "not-built";
1054
1449
  building: "building";
1055
1450
  built: "built";
1056
1451
  checking: "checking";
1057
- ready: "ready";
1058
1452
  "not-ready": "not-ready";
1059
1453
  stale: "stale";
1060
- failed: "failed";
1061
1454
  }>>;
1062
1455
  summary: z.ZodString;
1063
1456
  detail: z.ZodOptional<z.ZodString>;
@@ -1091,20 +1484,21 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1091
1484
  "portable-context": "portable-context";
1092
1485
  "preparation-config": "preparation-config";
1093
1486
  "compile-run": "compile-run";
1487
+ "artifact-checks": "artifact-checks";
1094
1488
  "readiness-checks": "readiness-checks";
1095
1489
  "checks-current": "checks-current";
1096
1490
  }>;
1097
1491
  ok: z.ZodBoolean;
1098
1492
  status: z.ZodOptional<z.ZodEnum<{
1493
+ ready: "ready";
1494
+ failed: "failed";
1099
1495
  "not-configured": "not-configured";
1100
1496
  "not-built": "not-built";
1101
1497
  building: "building";
1102
1498
  built: "built";
1103
1499
  checking: "checking";
1104
- ready: "ready";
1105
1500
  "not-ready": "not-ready";
1106
1501
  stale: "stale";
1107
- failed: "failed";
1108
1502
  }>>;
1109
1503
  summary: z.ZodString;
1110
1504
  detail: z.ZodOptional<z.ZodString>;
@@ -1112,6 +1506,36 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1112
1506
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
1507
  }, z.core.$strict>>>;
1114
1508
  }, z.core.$strict>>>;
1509
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1510
+ artifact_id: z.ZodString;
1511
+ status: z.ZodEnum<{
1512
+ ready: "ready";
1513
+ not_ready: "not_ready";
1514
+ failed: "failed";
1515
+ skipped: "skipped";
1516
+ }>;
1517
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
1518
+ proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1519
+ check_id: z.ZodString;
1520
+ kind: z.ZodEnum<{
1521
+ file_exists: "file_exists";
1522
+ min_file_count: "min_file_count";
1523
+ min_file_count_matches_source: "min_file_count_matches_source";
1524
+ frontmatter_valid: "frontmatter_valid";
1525
+ frontmatter_required_keys: "frontmatter_required_keys";
1526
+ wikilinks_valid: "wikilinks_valid";
1527
+ must_not_contain: "must_not_contain";
1528
+ must_contain: "must_contain";
1529
+ qa_match: "qa_match";
1530
+ }>;
1531
+ passed: z.ZodBoolean;
1532
+ required: z.ZodBoolean;
1533
+ summary: z.ZodString;
1534
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1535
+ evaluated_at: z.ZodString;
1536
+ }, z.core.$strict>>>;
1537
+ summary: z.ZodOptional<z.ZodString>;
1538
+ }, z.core.$strict>>>;
1115
1539
  }, z.core.$strict>;
1116
1540
  }, z.core.$strict>;
1117
1541
  export declare const LocalJobTypeSchema: z.ZodEnum<{
@@ -1306,6 +1730,56 @@ export declare const PreparationSetupCreateRequestSchema: z.ZodObject<{
1306
1730
  }, z.core.$strip>>;
1307
1731
  strictness: z.ZodOptional<z.ZodString>;
1308
1732
  }, z.core.$strict>>>;
1733
+ requested_artifacts: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
1734
+ id: z.ZodOptional<z.ZodString>;
1735
+ title: z.ZodString;
1736
+ purpose: z.ZodOptional<z.ZodString>;
1737
+ description: z.ZodOptional<z.ZodString>;
1738
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1739
+ label: z.ZodString;
1740
+ }, z.core.$loose>]>>>;
1741
+ output: z.ZodOptional<z.ZodObject<{
1742
+ path: z.ZodOptional<z.ZodString>;
1743
+ shape: z.ZodOptional<z.ZodObject<{
1744
+ kind: z.ZodLiteral<"path">;
1745
+ path: z.ZodString;
1746
+ artifact_kind: z.ZodEnum<{
1747
+ file: "file";
1748
+ directory: "directory";
1749
+ }>;
1750
+ }, z.core.$strict>>;
1751
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1752
+ id: z.ZodString;
1753
+ kind: z.ZodEnum<{
1754
+ file_exists: "file_exists";
1755
+ min_file_count: "min_file_count";
1756
+ min_file_count_matches_source: "min_file_count_matches_source";
1757
+ frontmatter_valid: "frontmatter_valid";
1758
+ frontmatter_required_keys: "frontmatter_required_keys";
1759
+ wikilinks_valid: "wikilinks_valid";
1760
+ must_not_contain: "must_not_contain";
1761
+ must_contain: "must_contain";
1762
+ qa_match: "qa_match";
1763
+ }>;
1764
+ description: z.ZodOptional<z.ZodString>;
1765
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1766
+ required: z.ZodDefault<z.ZodBoolean>;
1767
+ }, z.core.$strict>>>;
1768
+ stage_hint: z.ZodOptional<z.ZodString>;
1769
+ }, z.core.$strict>>;
1770
+ }, z.core.$strict>>>>;
1771
+ source_profile: z.ZodOptional<z.ZodObject<{
1772
+ summary: z.ZodOptional<z.ZodString>;
1773
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
1774
+ name: z.ZodOptional<z.ZodString>;
1775
+ path: z.ZodOptional<z.ZodString>;
1776
+ kind: z.ZodOptional<z.ZodString>;
1777
+ page_count: z.ZodOptional<z.ZodNumber>;
1778
+ note: z.ZodOptional<z.ZodString>;
1779
+ }, z.core.$loose>>>;
1780
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1781
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1782
+ }, z.core.$loose>>;
1309
1783
  }, z.core.$strict>;
1310
1784
  prepare_after_setup: z.ZodDefault<z.ZodBoolean>;
1311
1785
  setup_mode: z.ZodDefault<z.ZodEnum<{
@@ -1321,7 +1795,7 @@ export declare const PreparationSetupResultSchema: z.ZodObject<{
1321
1795
  "select-method": "select-method";
1322
1796
  }>;
1323
1797
  preparation: z.ZodString;
1324
- method: z.ZodString;
1798
+ method: z.ZodNullable<z.ZodString>;
1325
1799
  source_folder_path: z.ZodString;
1326
1800
  config_path: z.ZodString;
1327
1801
  portable_context_path: z.ZodString;
@@ -1414,6 +1888,36 @@ export declare const ReadinessCheckDraftResultSchema: z.ZodObject<{
1414
1888
  strictness: z.ZodOptional<z.ZodString>;
1415
1889
  }, z.core.$strict>>>;
1416
1890
  }, z.core.$strict>;
1891
+ export declare const MethodAuthoringArtifactRequirementSchema: z.ZodObject<{
1892
+ id: z.ZodString;
1893
+ description: z.ZodOptional<z.ZodString>;
1894
+ shape: z.ZodObject<{
1895
+ kind: z.ZodLiteral<"path">;
1896
+ path: z.ZodString;
1897
+ artifact_kind: z.ZodEnum<{
1898
+ file: "file";
1899
+ directory: "directory";
1900
+ }>;
1901
+ }, z.core.$strict>;
1902
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1903
+ id: z.ZodString;
1904
+ kind: z.ZodEnum<{
1905
+ file_exists: "file_exists";
1906
+ min_file_count: "min_file_count";
1907
+ min_file_count_matches_source: "min_file_count_matches_source";
1908
+ frontmatter_valid: "frontmatter_valid";
1909
+ frontmatter_required_keys: "frontmatter_required_keys";
1910
+ wikilinks_valid: "wikilinks_valid";
1911
+ must_not_contain: "must_not_contain";
1912
+ must_contain: "must_contain";
1913
+ qa_match: "qa_match";
1914
+ }>;
1915
+ description: z.ZodOptional<z.ZodString>;
1916
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1917
+ required: z.ZodDefault<z.ZodBoolean>;
1918
+ }, z.core.$strict>>>;
1919
+ stage_hint: z.ZodOptional<z.ZodString>;
1920
+ }, z.core.$strict>;
1417
1921
  export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
1418
1922
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1419
1923
  source_folder_path: z.ZodString;
@@ -1436,28 +1940,108 @@ export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
1436
1940
  }, z.core.$strip>>;
1437
1941
  strictness: z.ZodOptional<z.ZodString>;
1438
1942
  }, z.core.$strict>>>;
1439
- }, z.core.$strict>;
1440
- export declare const MethodAuthoringResultSchema: z.ZodObject<{
1441
- status: z.ZodEnum<{
1442
- updated: "updated";
1443
- "no-change": "no-change";
1444
- invalid: "invalid";
1445
- "executor-failed": "executor-failed";
1446
- }>;
1447
- changed: z.ZodBoolean;
1448
- summary: z.ZodString;
1449
- method_path: z.ZodString;
1450
- shell_path: z.ZodString;
1451
- validation: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
1452
- }, z.core.$strict>;
1453
- export declare const LocalJobEventAppendRequestSchema: z.ZodObject<{
1454
- type: z.ZodEnum<{
1455
- "artifact.written": "artifact.written";
1456
- "log.appended": "log.appended";
1457
- "job.started": "job.started";
1458
- "step.started": "step.started";
1459
- "step.completed": "step.completed";
1460
- "step.failed": "step.failed";
1943
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
1944
+ id: z.ZodOptional<z.ZodString>;
1945
+ title: z.ZodString;
1946
+ purpose: z.ZodOptional<z.ZodString>;
1947
+ description: z.ZodOptional<z.ZodString>;
1948
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1949
+ label: z.ZodString;
1950
+ }, z.core.$loose>]>>>;
1951
+ output: z.ZodOptional<z.ZodObject<{
1952
+ path: z.ZodOptional<z.ZodString>;
1953
+ shape: z.ZodOptional<z.ZodObject<{
1954
+ kind: z.ZodLiteral<"path">;
1955
+ path: z.ZodString;
1956
+ artifact_kind: z.ZodEnum<{
1957
+ file: "file";
1958
+ directory: "directory";
1959
+ }>;
1960
+ }, z.core.$strict>>;
1961
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1962
+ id: z.ZodString;
1963
+ kind: z.ZodEnum<{
1964
+ file_exists: "file_exists";
1965
+ min_file_count: "min_file_count";
1966
+ min_file_count_matches_source: "min_file_count_matches_source";
1967
+ frontmatter_valid: "frontmatter_valid";
1968
+ frontmatter_required_keys: "frontmatter_required_keys";
1969
+ wikilinks_valid: "wikilinks_valid";
1970
+ must_not_contain: "must_not_contain";
1971
+ must_contain: "must_contain";
1972
+ qa_match: "qa_match";
1973
+ }>;
1974
+ description: z.ZodOptional<z.ZodString>;
1975
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1976
+ required: z.ZodDefault<z.ZodBoolean>;
1977
+ }, z.core.$strict>>>;
1978
+ stage_hint: z.ZodOptional<z.ZodString>;
1979
+ }, z.core.$strict>>;
1980
+ }, z.core.$strict>>>>;
1981
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1982
+ summary: z.ZodOptional<z.ZodString>;
1983
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
1984
+ name: z.ZodOptional<z.ZodString>;
1985
+ path: z.ZodOptional<z.ZodString>;
1986
+ kind: z.ZodOptional<z.ZodString>;
1987
+ page_count: z.ZodOptional<z.ZodNumber>;
1988
+ note: z.ZodOptional<z.ZodString>;
1989
+ }, z.core.$loose>>>;
1990
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1991
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1992
+ }, z.core.$loose>>>;
1993
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
1994
+ id: z.ZodString;
1995
+ description: z.ZodOptional<z.ZodString>;
1996
+ shape: z.ZodObject<{
1997
+ kind: z.ZodLiteral<"path">;
1998
+ path: z.ZodString;
1999
+ artifact_kind: z.ZodEnum<{
2000
+ file: "file";
2001
+ directory: "directory";
2002
+ }>;
2003
+ }, z.core.$strict>;
2004
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2005
+ id: z.ZodString;
2006
+ kind: z.ZodEnum<{
2007
+ file_exists: "file_exists";
2008
+ min_file_count: "min_file_count";
2009
+ min_file_count_matches_source: "min_file_count_matches_source";
2010
+ frontmatter_valid: "frontmatter_valid";
2011
+ frontmatter_required_keys: "frontmatter_required_keys";
2012
+ wikilinks_valid: "wikilinks_valid";
2013
+ must_not_contain: "must_not_contain";
2014
+ must_contain: "must_contain";
2015
+ qa_match: "qa_match";
2016
+ }>;
2017
+ description: z.ZodOptional<z.ZodString>;
2018
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2019
+ required: z.ZodDefault<z.ZodBoolean>;
2020
+ }, z.core.$strict>>>;
2021
+ stage_hint: z.ZodOptional<z.ZodString>;
2022
+ }, z.core.$strict>>>;
2023
+ }, z.core.$strict>;
2024
+ export declare const MethodAuthoringResultSchema: z.ZodObject<{
2025
+ status: z.ZodEnum<{
2026
+ updated: "updated";
2027
+ "no-change": "no-change";
2028
+ invalid: "invalid";
2029
+ "executor-failed": "executor-failed";
2030
+ }>;
2031
+ changed: z.ZodBoolean;
2032
+ summary: z.ZodString;
2033
+ method_path: z.ZodString;
2034
+ shell_path: z.ZodString;
2035
+ validation: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
2036
+ }, z.core.$strict>;
2037
+ export declare const LocalJobEventAppendRequestSchema: z.ZodObject<{
2038
+ type: z.ZodEnum<{
2039
+ "artifact.written": "artifact.written";
2040
+ "log.appended": "log.appended";
2041
+ "job.started": "job.started";
2042
+ "step.started": "step.started";
2043
+ "step.completed": "step.completed";
2044
+ "step.failed": "step.failed";
1461
2045
  "job.completed": "job.completed";
1462
2046
  "job.failed": "job.failed";
1463
2047
  }>;
@@ -1567,16 +2151,22 @@ export declare const VerifyRunStatusSchema: z.ZodEnum<{
1567
2151
  queued: "queued";
1568
2152
  }>;
1569
2153
  /**
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.
2154
+ * 0.17verify runs choose their judge target. `compiled` (default)
2155
+ * judges against the latest portable-context output; `source-files`
2156
+ * judges against the raw source folder for a baseline that reveals
2157
+ * how much value the Method actually adds. The 0.15 cleanup made
2158
+ * verify compiled-only on the wire because the source-files branch
2159
+ * had been retired in 0.13.1; 0.17 restores it because the readiness-check UI and
2160
+ * `verify/README.md` have always claimed the option exists, and the
2161
+ * sandbox + spec builders for source-files have remained in tree
2162
+ * since 0.13.
1577
2163
  */
1578
2164
  export declare const VerifyRunCreateRequestSchema: z.ZodObject<{
1579
2165
  preparation: z.ZodString;
2166
+ target: z.ZodDefault<z.ZodEnum<{
2167
+ "source-files": "source-files";
2168
+ compiled: "compiled";
2169
+ }>>;
1580
2170
  }, z.core.$strict>;
1581
2171
  export declare const VerifyRunResourceSchema: z.ZodObject<{
1582
2172
  run_id: z.ZodString;
@@ -1654,15 +2244,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1654
2244
  generated_at: z.ZodString;
1655
2245
  preparation: z.ZodString;
1656
2246
  status: z.ZodEnum<{
2247
+ ready: "ready";
2248
+ failed: "failed";
1657
2249
  "not-configured": "not-configured";
1658
2250
  "not-built": "not-built";
1659
2251
  building: "building";
1660
2252
  built: "built";
1661
2253
  checking: "checking";
1662
- ready: "ready";
1663
2254
  "not-ready": "not-ready";
1664
2255
  stale: "stale";
1665
- failed: "failed";
1666
2256
  }>;
1667
2257
  ready: z.ZodBoolean;
1668
2258
  summary: z.ZodString;
@@ -1674,20 +2264,21 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1674
2264
  "portable-context": "portable-context";
1675
2265
  "preparation-config": "preparation-config";
1676
2266
  "compile-run": "compile-run";
2267
+ "artifact-checks": "artifact-checks";
1677
2268
  "readiness-checks": "readiness-checks";
1678
2269
  "checks-current": "checks-current";
1679
2270
  }>;
1680
2271
  ok: z.ZodBoolean;
1681
2272
  status: z.ZodOptional<z.ZodEnum<{
2273
+ ready: "ready";
2274
+ failed: "failed";
1682
2275
  "not-configured": "not-configured";
1683
2276
  "not-built": "not-built";
1684
2277
  building: "building";
1685
2278
  built: "built";
1686
2279
  checking: "checking";
1687
- ready: "ready";
1688
2280
  "not-ready": "not-ready";
1689
2281
  stale: "stale";
1690
- failed: "failed";
1691
2282
  }>>;
1692
2283
  summary: z.ZodString;
1693
2284
  detail: z.ZodOptional<z.ZodString>;
@@ -1721,20 +2312,21 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1721
2312
  "portable-context": "portable-context";
1722
2313
  "preparation-config": "preparation-config";
1723
2314
  "compile-run": "compile-run";
2315
+ "artifact-checks": "artifact-checks";
1724
2316
  "readiness-checks": "readiness-checks";
1725
2317
  "checks-current": "checks-current";
1726
2318
  }>;
1727
2319
  ok: z.ZodBoolean;
1728
2320
  status: z.ZodOptional<z.ZodEnum<{
2321
+ ready: "ready";
2322
+ failed: "failed";
1729
2323
  "not-configured": "not-configured";
1730
2324
  "not-built": "not-built";
1731
2325
  building: "building";
1732
2326
  built: "built";
1733
2327
  checking: "checking";
1734
- ready: "ready";
1735
2328
  "not-ready": "not-ready";
1736
2329
  stale: "stale";
1737
- failed: "failed";
1738
2330
  }>>;
1739
2331
  summary: z.ZodString;
1740
2332
  detail: z.ZodOptional<z.ZodString>;
@@ -1859,6 +2451,12 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1859
2451
  timestamp: z.ZodString;
1860
2452
  type: z.ZodLiteral<"run.failed">;
1861
2453
  error: z.ZodString;
2454
+ }, z.core.$strict>, z.ZodObject<{
2455
+ event_id: z.ZodString;
2456
+ run_id: z.ZodString;
2457
+ timestamp: z.ZodString;
2458
+ type: z.ZodLiteral<"run.cancelled">;
2459
+ reason: z.ZodOptional<z.ZodString>;
1862
2460
  }, z.core.$strict>, z.ZodObject<{
1863
2461
  event_id: z.ZodString;
1864
2462
  run_id: z.ZodString;
@@ -1885,15 +2483,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1885
2483
  generated_at: z.ZodString;
1886
2484
  preparation: z.ZodString;
1887
2485
  status: z.ZodEnum<{
2486
+ ready: "ready";
2487
+ failed: "failed";
1888
2488
  "not-configured": "not-configured";
1889
2489
  "not-built": "not-built";
1890
2490
  building: "building";
1891
2491
  built: "built";
1892
2492
  checking: "checking";
1893
- ready: "ready";
1894
2493
  "not-ready": "not-ready";
1895
2494
  stale: "stale";
1896
- failed: "failed";
1897
2495
  }>;
1898
2496
  ready: z.ZodBoolean;
1899
2497
  summary: z.ZodString;
@@ -1905,20 +2503,21 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1905
2503
  "portable-context": "portable-context";
1906
2504
  "preparation-config": "preparation-config";
1907
2505
  "compile-run": "compile-run";
2506
+ "artifact-checks": "artifact-checks";
1908
2507
  "readiness-checks": "readiness-checks";
1909
2508
  "checks-current": "checks-current";
1910
2509
  }>;
1911
2510
  ok: z.ZodBoolean;
1912
2511
  status: z.ZodOptional<z.ZodEnum<{
2512
+ ready: "ready";
2513
+ failed: "failed";
1913
2514
  "not-configured": "not-configured";
1914
2515
  "not-built": "not-built";
1915
2516
  building: "building";
1916
2517
  built: "built";
1917
2518
  checking: "checking";
1918
- ready: "ready";
1919
2519
  "not-ready": "not-ready";
1920
2520
  stale: "stale";
1921
- failed: "failed";
1922
2521
  }>>;
1923
2522
  summary: z.ZodString;
1924
2523
  detail: z.ZodOptional<z.ZodString>;
@@ -1952,20 +2551,21 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1952
2551
  "portable-context": "portable-context";
1953
2552
  "preparation-config": "preparation-config";
1954
2553
  "compile-run": "compile-run";
2554
+ "artifact-checks": "artifact-checks";
1955
2555
  "readiness-checks": "readiness-checks";
1956
2556
  "checks-current": "checks-current";
1957
2557
  }>;
1958
2558
  ok: z.ZodBoolean;
1959
2559
  status: z.ZodOptional<z.ZodEnum<{
2560
+ ready: "ready";
2561
+ failed: "failed";
1960
2562
  "not-configured": "not-configured";
1961
2563
  "not-built": "not-built";
1962
2564
  building: "building";
1963
2565
  built: "built";
1964
2566
  checking: "checking";
1965
- ready: "ready";
1966
2567
  "not-ready": "not-ready";
1967
2568
  stale: "stale";
1968
- failed: "failed";
1969
2569
  }>>;
1970
2570
  summary: z.ZodString;
1971
2571
  detail: z.ZodOptional<z.ZodString>;
@@ -2048,15 +2648,15 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2048
2648
  generated_at: z.ZodString;
2049
2649
  preparation: z.ZodString;
2050
2650
  status: z.ZodEnum<{
2651
+ ready: "ready";
2652
+ failed: "failed";
2051
2653
  "not-configured": "not-configured";
2052
2654
  "not-built": "not-built";
2053
2655
  building: "building";
2054
2656
  built: "built";
2055
2657
  checking: "checking";
2056
- ready: "ready";
2057
2658
  "not-ready": "not-ready";
2058
2659
  stale: "stale";
2059
- failed: "failed";
2060
2660
  }>;
2061
2661
  ready: z.ZodBoolean;
2062
2662
  summary: z.ZodString;
@@ -2068,20 +2668,21 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2068
2668
  "portable-context": "portable-context";
2069
2669
  "preparation-config": "preparation-config";
2070
2670
  "compile-run": "compile-run";
2671
+ "artifact-checks": "artifact-checks";
2071
2672
  "readiness-checks": "readiness-checks";
2072
2673
  "checks-current": "checks-current";
2073
2674
  }>;
2074
2675
  ok: z.ZodBoolean;
2075
2676
  status: z.ZodOptional<z.ZodEnum<{
2677
+ ready: "ready";
2678
+ failed: "failed";
2076
2679
  "not-configured": "not-configured";
2077
2680
  "not-built": "not-built";
2078
2681
  building: "building";
2079
2682
  built: "built";
2080
2683
  checking: "checking";
2081
- ready: "ready";
2082
2684
  "not-ready": "not-ready";
2083
2685
  stale: "stale";
2084
- failed: "failed";
2085
2686
  }>>;
2086
2687
  summary: z.ZodString;
2087
2688
  detail: z.ZodOptional<z.ZodString>;
@@ -2115,20 +2716,21 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2115
2716
  "portable-context": "portable-context";
2116
2717
  "preparation-config": "preparation-config";
2117
2718
  "compile-run": "compile-run";
2719
+ "artifact-checks": "artifact-checks";
2118
2720
  "readiness-checks": "readiness-checks";
2119
2721
  "checks-current": "checks-current";
2120
2722
  }>;
2121
2723
  ok: z.ZodBoolean;
2122
2724
  status: z.ZodOptional<z.ZodEnum<{
2725
+ ready: "ready";
2726
+ failed: "failed";
2123
2727
  "not-configured": "not-configured";
2124
2728
  "not-built": "not-built";
2125
2729
  building: "building";
2126
2730
  built: "built";
2127
2731
  checking: "checking";
2128
- ready: "ready";
2129
2732
  "not-ready": "not-ready";
2130
2733
  stale: "stale";
2131
- failed: "failed";
2132
2734
  }>>;
2133
2735
  summary: z.ZodString;
2134
2736
  detail: z.ZodOptional<z.ZodString>;
@@ -2252,10 +2854,10 @@ export declare const ActionProposalStatusSchema: z.ZodEnum<{
2252
2854
  }>;
2253
2855
  export declare const ActionClientOriginSchema: z.ZodEnum<{
2254
2856
  unknown: "unknown";
2255
- mcp: "mcp";
2256
2857
  "ui-chat": "ui-chat";
2257
2858
  cli: "cli";
2258
2859
  "agent-cli": "agent-cli";
2860
+ mcp: "mcp";
2259
2861
  service: "service";
2260
2862
  }>;
2261
2863
  export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
@@ -2263,10 +2865,10 @@ export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
2263
2865
  preparation: z.ZodOptional<z.ZodString>;
2264
2866
  client_origin: z.ZodDefault<z.ZodEnum<{
2265
2867
  unknown: "unknown";
2266
- mcp: "mcp";
2267
2868
  "ui-chat": "ui-chat";
2268
2869
  cli: "cli";
2269
2870
  "agent-cli": "agent-cli";
2871
+ mcp: "mcp";
2270
2872
  service: "service";
2271
2873
  }>>;
2272
2874
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2321,10 +2923,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2321
2923
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2322
2924
  client_origin: z.ZodDefault<z.ZodEnum<{
2323
2925
  unknown: "unknown";
2324
- mcp: "mcp";
2325
2926
  "ui-chat": "ui-chat";
2326
2927
  cli: "cli";
2327
2928
  "agent-cli": "agent-cli";
2929
+ mcp: "mcp";
2328
2930
  service: "service";
2329
2931
  }>>;
2330
2932
  created_at: z.ZodString;
@@ -2369,10 +2971,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2369
2971
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2370
2972
  client_origin: z.ZodDefault<z.ZodEnum<{
2371
2973
  unknown: "unknown";
2372
- mcp: "mcp";
2373
2974
  "ui-chat": "ui-chat";
2374
2975
  cli: "cli";
2375
2976
  "agent-cli": "agent-cli";
2977
+ mcp: "mcp";
2376
2978
  service: "service";
2377
2979
  }>>;
2378
2980
  created_at: z.ZodString;
@@ -2426,10 +3028,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2426
3028
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2427
3029
  client_origin: z.ZodDefault<z.ZodEnum<{
2428
3030
  unknown: "unknown";
2429
- mcp: "mcp";
2430
3031
  "ui-chat": "ui-chat";
2431
3032
  cli: "cli";
2432
3033
  "agent-cli": "agent-cli";
3034
+ mcp: "mcp";
2433
3035
  service: "service";
2434
3036
  }>>;
2435
3037
  created_at: z.ZodString;
@@ -2454,6 +3056,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2454
3056
  action_type: z.ZodLiteral<"test">;
2455
3057
  request: z.ZodObject<{
2456
3058
  preparation: z.ZodString;
3059
+ target: z.ZodDefault<z.ZodEnum<{
3060
+ "source-files": "source-files";
3061
+ compiled: "compiled";
3062
+ }>>;
2457
3063
  }, z.core.$strict>;
2458
3064
  }, z.core.$strict>, z.ZodObject<{
2459
3065
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -2476,10 +3082,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2476
3082
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2477
3083
  client_origin: z.ZodDefault<z.ZodEnum<{
2478
3084
  unknown: "unknown";
2479
- mcp: "mcp";
2480
3085
  "ui-chat": "ui-chat";
2481
3086
  cli: "cli";
2482
3087
  "agent-cli": "agent-cli";
3088
+ mcp: "mcp";
2483
3089
  service: "service";
2484
3090
  }>>;
2485
3091
  created_at: z.ZodString;
@@ -2529,10 +3135,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2529
3135
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2530
3136
  client_origin: z.ZodDefault<z.ZodEnum<{
2531
3137
  unknown: "unknown";
2532
- mcp: "mcp";
2533
3138
  "ui-chat": "ui-chat";
2534
3139
  cli: "cli";
2535
3140
  "agent-cli": "agent-cli";
3141
+ mcp: "mcp";
2536
3142
  service: "service";
2537
3143
  }>>;
2538
3144
  created_at: z.ZodString;
@@ -2577,6 +3183,86 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2577
3183
  }, z.core.$strip>>;
2578
3184
  strictness: z.ZodOptional<z.ZodString>;
2579
3185
  }, z.core.$strict>>>;
3186
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
3187
+ id: z.ZodOptional<z.ZodString>;
3188
+ title: z.ZodString;
3189
+ purpose: z.ZodOptional<z.ZodString>;
3190
+ description: z.ZodOptional<z.ZodString>;
3191
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3192
+ label: z.ZodString;
3193
+ }, z.core.$loose>]>>>;
3194
+ output: z.ZodOptional<z.ZodObject<{
3195
+ path: z.ZodOptional<z.ZodString>;
3196
+ shape: z.ZodOptional<z.ZodObject<{
3197
+ kind: z.ZodLiteral<"path">;
3198
+ path: z.ZodString;
3199
+ artifact_kind: z.ZodEnum<{
3200
+ file: "file";
3201
+ directory: "directory";
3202
+ }>;
3203
+ }, z.core.$strict>>;
3204
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3205
+ id: z.ZodString;
3206
+ kind: z.ZodEnum<{
3207
+ file_exists: "file_exists";
3208
+ min_file_count: "min_file_count";
3209
+ min_file_count_matches_source: "min_file_count_matches_source";
3210
+ frontmatter_valid: "frontmatter_valid";
3211
+ frontmatter_required_keys: "frontmatter_required_keys";
3212
+ wikilinks_valid: "wikilinks_valid";
3213
+ must_not_contain: "must_not_contain";
3214
+ must_contain: "must_contain";
3215
+ qa_match: "qa_match";
3216
+ }>;
3217
+ description: z.ZodOptional<z.ZodString>;
3218
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3219
+ required: z.ZodDefault<z.ZodBoolean>;
3220
+ }, z.core.$strict>>>;
3221
+ stage_hint: z.ZodOptional<z.ZodString>;
3222
+ }, z.core.$strict>>;
3223
+ }, z.core.$strict>>>>;
3224
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3225
+ summary: z.ZodOptional<z.ZodString>;
3226
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
3227
+ name: z.ZodOptional<z.ZodString>;
3228
+ path: z.ZodOptional<z.ZodString>;
3229
+ kind: z.ZodOptional<z.ZodString>;
3230
+ page_count: z.ZodOptional<z.ZodNumber>;
3231
+ note: z.ZodOptional<z.ZodString>;
3232
+ }, z.core.$loose>>>;
3233
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3234
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3235
+ }, z.core.$loose>>>;
3236
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
3237
+ id: z.ZodString;
3238
+ description: z.ZodOptional<z.ZodString>;
3239
+ shape: z.ZodObject<{
3240
+ kind: z.ZodLiteral<"path">;
3241
+ path: z.ZodString;
3242
+ artifact_kind: z.ZodEnum<{
3243
+ file: "file";
3244
+ directory: "directory";
3245
+ }>;
3246
+ }, z.core.$strict>;
3247
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3248
+ id: z.ZodString;
3249
+ kind: z.ZodEnum<{
3250
+ file_exists: "file_exists";
3251
+ min_file_count: "min_file_count";
3252
+ min_file_count_matches_source: "min_file_count_matches_source";
3253
+ frontmatter_valid: "frontmatter_valid";
3254
+ frontmatter_required_keys: "frontmatter_required_keys";
3255
+ wikilinks_valid: "wikilinks_valid";
3256
+ must_not_contain: "must_not_contain";
3257
+ must_contain: "must_contain";
3258
+ qa_match: "qa_match";
3259
+ }>;
3260
+ description: z.ZodOptional<z.ZodString>;
3261
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3262
+ required: z.ZodDefault<z.ZodBoolean>;
3263
+ }, z.core.$strict>>>;
3264
+ stage_hint: z.ZodOptional<z.ZodString>;
3265
+ }, z.core.$strict>>>;
2580
3266
  }, z.core.$strict>;
2581
3267
  }, z.core.$strict>, z.ZodObject<{
2582
3268
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -2599,10 +3285,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2599
3285
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
3286
  client_origin: z.ZodDefault<z.ZodEnum<{
2601
3287
  unknown: "unknown";
2602
- mcp: "mcp";
2603
3288
  "ui-chat": "ui-chat";
2604
3289
  cli: "cli";
2605
3290
  "agent-cli": "agent-cli";
3291
+ mcp: "mcp";
2606
3292
  service: "service";
2607
3293
  }>>;
2608
3294
  created_at: z.ZodString;
@@ -2647,6 +3333,86 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2647
3333
  }, z.core.$strip>>;
2648
3334
  strictness: z.ZodOptional<z.ZodString>;
2649
3335
  }, z.core.$strict>>>;
3336
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
3337
+ id: z.ZodOptional<z.ZodString>;
3338
+ title: z.ZodString;
3339
+ purpose: z.ZodOptional<z.ZodString>;
3340
+ description: z.ZodOptional<z.ZodString>;
3341
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3342
+ label: z.ZodString;
3343
+ }, z.core.$loose>]>>>;
3344
+ output: z.ZodOptional<z.ZodObject<{
3345
+ path: z.ZodOptional<z.ZodString>;
3346
+ shape: z.ZodOptional<z.ZodObject<{
3347
+ kind: z.ZodLiteral<"path">;
3348
+ path: z.ZodString;
3349
+ artifact_kind: z.ZodEnum<{
3350
+ file: "file";
3351
+ directory: "directory";
3352
+ }>;
3353
+ }, z.core.$strict>>;
3354
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3355
+ id: z.ZodString;
3356
+ kind: z.ZodEnum<{
3357
+ file_exists: "file_exists";
3358
+ min_file_count: "min_file_count";
3359
+ min_file_count_matches_source: "min_file_count_matches_source";
3360
+ frontmatter_valid: "frontmatter_valid";
3361
+ frontmatter_required_keys: "frontmatter_required_keys";
3362
+ wikilinks_valid: "wikilinks_valid";
3363
+ must_not_contain: "must_not_contain";
3364
+ must_contain: "must_contain";
3365
+ qa_match: "qa_match";
3366
+ }>;
3367
+ description: z.ZodOptional<z.ZodString>;
3368
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3369
+ required: z.ZodDefault<z.ZodBoolean>;
3370
+ }, z.core.$strict>>>;
3371
+ stage_hint: z.ZodOptional<z.ZodString>;
3372
+ }, z.core.$strict>>;
3373
+ }, z.core.$strict>>>>;
3374
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3375
+ summary: z.ZodOptional<z.ZodString>;
3376
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
3377
+ name: z.ZodOptional<z.ZodString>;
3378
+ path: z.ZodOptional<z.ZodString>;
3379
+ kind: z.ZodOptional<z.ZodString>;
3380
+ page_count: z.ZodOptional<z.ZodNumber>;
3381
+ note: z.ZodOptional<z.ZodString>;
3382
+ }, z.core.$loose>>>;
3383
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3384
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3385
+ }, z.core.$loose>>>;
3386
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
3387
+ id: z.ZodString;
3388
+ description: z.ZodOptional<z.ZodString>;
3389
+ shape: z.ZodObject<{
3390
+ kind: z.ZodLiteral<"path">;
3391
+ path: z.ZodString;
3392
+ artifact_kind: z.ZodEnum<{
3393
+ file: "file";
3394
+ directory: "directory";
3395
+ }>;
3396
+ }, z.core.$strict>;
3397
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3398
+ id: z.ZodString;
3399
+ kind: z.ZodEnum<{
3400
+ file_exists: "file_exists";
3401
+ min_file_count: "min_file_count";
3402
+ min_file_count_matches_source: "min_file_count_matches_source";
3403
+ frontmatter_valid: "frontmatter_valid";
3404
+ frontmatter_required_keys: "frontmatter_required_keys";
3405
+ wikilinks_valid: "wikilinks_valid";
3406
+ must_not_contain: "must_not_contain";
3407
+ must_contain: "must_contain";
3408
+ qa_match: "qa_match";
3409
+ }>;
3410
+ description: z.ZodOptional<z.ZodString>;
3411
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3412
+ required: z.ZodDefault<z.ZodBoolean>;
3413
+ }, z.core.$strict>>>;
3414
+ stage_hint: z.ZodOptional<z.ZodString>;
3415
+ }, z.core.$strict>>>;
2650
3416
  }, z.core.$strict>;
2651
3417
  }, z.core.$strict>], "action_type">;
2652
3418
  export declare const PortableContextResourceSchema: z.ZodObject<{
@@ -2659,15 +3425,15 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2659
3425
  generated_at: z.ZodString;
2660
3426
  preparation: z.ZodString;
2661
3427
  status: z.ZodEnum<{
3428
+ ready: "ready";
3429
+ failed: "failed";
2662
3430
  "not-configured": "not-configured";
2663
3431
  "not-built": "not-built";
2664
3432
  building: "building";
2665
3433
  built: "built";
2666
3434
  checking: "checking";
2667
- ready: "ready";
2668
3435
  "not-ready": "not-ready";
2669
3436
  stale: "stale";
2670
- failed: "failed";
2671
3437
  }>;
2672
3438
  ready: z.ZodBoolean;
2673
3439
  summary: z.ZodString;
@@ -2679,20 +3445,21 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2679
3445
  "portable-context": "portable-context";
2680
3446
  "preparation-config": "preparation-config";
2681
3447
  "compile-run": "compile-run";
3448
+ "artifact-checks": "artifact-checks";
2682
3449
  "readiness-checks": "readiness-checks";
2683
3450
  "checks-current": "checks-current";
2684
3451
  }>;
2685
3452
  ok: z.ZodBoolean;
2686
3453
  status: z.ZodOptional<z.ZodEnum<{
3454
+ ready: "ready";
3455
+ failed: "failed";
2687
3456
  "not-configured": "not-configured";
2688
3457
  "not-built": "not-built";
2689
3458
  building: "building";
2690
3459
  built: "built";
2691
3460
  checking: "checking";
2692
- ready: "ready";
2693
3461
  "not-ready": "not-ready";
2694
3462
  stale: "stale";
2695
- failed: "failed";
2696
3463
  }>>;
2697
3464
  summary: z.ZodString;
2698
3465
  detail: z.ZodOptional<z.ZodString>;
@@ -2726,20 +3493,21 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2726
3493
  "portable-context": "portable-context";
2727
3494
  "preparation-config": "preparation-config";
2728
3495
  "compile-run": "compile-run";
3496
+ "artifact-checks": "artifact-checks";
2729
3497
  "readiness-checks": "readiness-checks";
2730
3498
  "checks-current": "checks-current";
2731
3499
  }>;
2732
3500
  ok: z.ZodBoolean;
2733
3501
  status: z.ZodOptional<z.ZodEnum<{
3502
+ ready: "ready";
3503
+ failed: "failed";
2734
3504
  "not-configured": "not-configured";
2735
3505
  "not-built": "not-built";
2736
3506
  building: "building";
2737
3507
  built: "built";
2738
3508
  checking: "checking";
2739
- ready: "ready";
2740
3509
  "not-ready": "not-ready";
2741
3510
  stale: "stale";
2742
- failed: "failed";
2743
3511
  }>>;
2744
3512
  summary: z.ZodString;
2745
3513
  detail: z.ZodOptional<z.ZodString>;
@@ -2770,15 +3538,15 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2770
3538
  generated_at: z.ZodString;
2771
3539
  preparation: z.ZodString;
2772
3540
  status: z.ZodEnum<{
3541
+ ready: "ready";
3542
+ failed: "failed";
2773
3543
  "not-configured": "not-configured";
2774
3544
  "not-built": "not-built";
2775
3545
  building: "building";
2776
3546
  built: "built";
2777
3547
  checking: "checking";
2778
- ready: "ready";
2779
3548
  "not-ready": "not-ready";
2780
3549
  stale: "stale";
2781
- failed: "failed";
2782
3550
  }>;
2783
3551
  ready: z.ZodBoolean;
2784
3552
  summary: z.ZodString;
@@ -2790,20 +3558,21 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2790
3558
  "portable-context": "portable-context";
2791
3559
  "preparation-config": "preparation-config";
2792
3560
  "compile-run": "compile-run";
3561
+ "artifact-checks": "artifact-checks";
2793
3562
  "readiness-checks": "readiness-checks";
2794
3563
  "checks-current": "checks-current";
2795
3564
  }>;
2796
3565
  ok: z.ZodBoolean;
2797
3566
  status: z.ZodOptional<z.ZodEnum<{
3567
+ ready: "ready";
3568
+ failed: "failed";
2798
3569
  "not-configured": "not-configured";
2799
3570
  "not-built": "not-built";
2800
3571
  building: "building";
2801
3572
  built: "built";
2802
3573
  checking: "checking";
2803
- ready: "ready";
2804
3574
  "not-ready": "not-ready";
2805
3575
  stale: "stale";
2806
- failed: "failed";
2807
3576
  }>>;
2808
3577
  summary: z.ZodString;
2809
3578
  detail: z.ZodOptional<z.ZodString>;
@@ -2837,226 +3606,163 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2837
3606
  "portable-context": "portable-context";
2838
3607
  "preparation-config": "preparation-config";
2839
3608
  "compile-run": "compile-run";
3609
+ "artifact-checks": "artifact-checks";
2840
3610
  "readiness-checks": "readiness-checks";
2841
3611
  "checks-current": "checks-current";
2842
3612
  }>;
2843
3613
  ok: z.ZodBoolean;
2844
3614
  status: z.ZodOptional<z.ZodEnum<{
3615
+ ready: "ready";
3616
+ failed: "failed";
2845
3617
  "not-configured": "not-configured";
2846
3618
  "not-built": "not-built";
2847
3619
  building: "building";
2848
3620
  built: "built";
2849
3621
  checking: "checking";
2850
- ready: "ready";
2851
3622
  "not-ready": "not-ready";
2852
3623
  stale: "stale";
2853
- failed: "failed";
2854
- }>>;
2855
- summary: z.ZodString;
2856
- detail: z.ZodOptional<z.ZodString>;
2857
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2858
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2859
- }, z.core.$strict>>>;
2860
- }, z.core.$strict>;
2861
- export declare const SourceFileResourceSchema: z.ZodObject<{
2862
- preparation: z.ZodString;
2863
- path: z.ZodString;
2864
- absolute_path: z.ZodString;
2865
- size_bytes: z.ZodNumber;
2866
- modified_at: z.ZodNullable<z.ZodString>;
2867
- source_folder_path: z.ZodString;
2868
- }, z.core.$strict>;
2869
- export declare const WorkspaceFileResourceSchema: z.ZodObject<{
2870
- path: z.ZodString;
2871
- absolute_path: z.ZodString;
2872
- size_bytes: z.ZodNumber;
2873
- modified_at: z.ZodNullable<z.ZodString>;
2874
- }, z.core.$strict>;
2875
- export declare const LocalServiceDiscoverySchema: z.ZodObject<{
2876
- kind: z.ZodLiteral<"interf-local-service-discovery">;
2877
- version: z.ZodLiteral<1>;
2878
- resources: z.ZodObject<{
2879
- preparations: z.ZodString;
2880
- methods: z.ZodString;
2881
- runs: z.ZodString;
2882
- readiness: z.ZodString;
2883
- portable_contexts: z.ZodString;
2884
- source_files: z.ZodString;
2885
- workspace_files: z.ZodString;
2886
- action_proposals: z.ZodString;
2887
- preparation_setups: z.ZodString;
2888
- preparation_changes: z.ZodString;
2889
- method_changes: z.ZodString;
2890
- workspace_bootstraps: z.ZodOptional<z.ZodString>;
2891
- readiness_check_drafts: z.ZodString;
2892
- method_authoring_runs: z.ZodString;
2893
- method_improvement_runs: z.ZodString;
2894
- compile_runs: z.ZodString;
2895
- verify_runs: z.ZodString;
2896
- reset: z.ZodString;
2897
- executor: z.ZodString;
2898
- agents: z.ZodOptional<z.ZodString>;
2899
- workspaces: z.ZodOptional<z.ZodString>;
2900
- status: z.ZodOptional<z.ZodString>;
2901
- }, z.core.$strict>;
2902
- }, z.core.$strict>;
2903
- export declare const OpenPathRequestSchema: z.ZodObject<{
2904
- path: z.ZodString;
2905
- }, z.core.$strict>;
2906
- export declare const OpenPathResponseSchema: z.ZodObject<{
2907
- opened: z.ZodBoolean;
2908
- path: z.ZodString;
2909
- }, z.core.$strict>;
2910
- export declare const PreparationListResponseSchema: z.ZodObject<{
2911
- preparations: z.ZodArray<z.ZodObject<{
2912
- 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>>>;
2935
- }, z.core.$strict>;
2936
- source_path: z.ZodString;
2937
- method_id: z.ZodNullable<z.ZodString>;
2938
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2939
- id: z.ZodOptional<z.ZodString>;
2940
- question: z.ZodString;
2941
- answer: z.ZodOptional<z.ZodString>;
2942
- expect: z.ZodOptional<z.ZodObject<{
2943
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2944
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2945
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2946
- min_words: z.ZodOptional<z.ZodNumber>;
2947
- max_words: z.ZodOptional<z.ZodNumber>;
2948
- }, z.core.$strip>>;
2949
- strictness: z.ZodOptional<z.ZodString>;
2950
- }, 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>>>;
3624
+ }>>;
3625
+ summary: z.ZodString;
3626
+ detail: z.ZodOptional<z.ZodString>;
3627
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3628
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3629
+ }, z.core.$strict>>>;
3630
+ }, z.core.$strict>;
3631
+ export declare const SourceFileResourceSchema: z.ZodObject<{
3632
+ preparation: z.ZodString;
3633
+ path: z.ZodString;
3634
+ absolute_path: z.ZodString;
3635
+ size_bytes: z.ZodNumber;
3636
+ modified_at: z.ZodNullable<z.ZodString>;
3637
+ source_folder_path: z.ZodString;
3638
+ }, z.core.$strict>;
3639
+ export declare const WorkspaceFileResourceSchema: z.ZodObject<{
3640
+ path: z.ZodString;
3641
+ absolute_path: z.ZodString;
3642
+ size_bytes: z.ZodNumber;
3643
+ modified_at: z.ZodNullable<z.ZodString>;
3644
+ }, z.core.$strict>;
3645
+ export declare const LocalServiceDiscoverySchema: z.ZodObject<{
3646
+ kind: z.ZodLiteral<"interf-local-service-discovery">;
3647
+ version: z.ZodLiteral<1>;
3648
+ resources: z.ZodObject<{
3649
+ instance: z.ZodString;
3650
+ preparations: z.ZodString;
3651
+ methods: z.ZodString;
3652
+ runs: z.ZodString;
3653
+ action_proposals: z.ZodString;
3654
+ executor: z.ZodString;
3655
+ open_path: z.ZodString;
3656
+ agents: z.ZodOptional<z.ZodString>;
3657
+ readiness: z.ZodOptional<z.ZodString>;
3658
+ portable_contexts: z.ZodOptional<z.ZodString>;
3659
+ source_files: z.ZodOptional<z.ZodString>;
3660
+ workspace_files: z.ZodOptional<z.ZodString>;
3661
+ preparation_setups: z.ZodOptional<z.ZodString>;
3662
+ preparation_changes: z.ZodOptional<z.ZodString>;
3663
+ method_changes: z.ZodOptional<z.ZodString>;
3664
+ workspace_bootstraps: z.ZodOptional<z.ZodString>;
3665
+ readiness_check_drafts: z.ZodOptional<z.ZodString>;
3666
+ method_authoring_runs: z.ZodOptional<z.ZodString>;
3667
+ method_improvement_runs: z.ZodOptional<z.ZodString>;
3668
+ compile_runs: z.ZodOptional<z.ZodString>;
3669
+ verify_runs: z.ZodOptional<z.ZodString>;
3670
+ reset: z.ZodOptional<z.ZodString>;
3671
+ workspaces: z.ZodOptional<z.ZodString>;
3672
+ status: z.ZodOptional<z.ZodString>;
3673
+ }, z.core.$strict>;
3674
+ }, z.core.$strict>;
3675
+ export declare const OpenPathRequestSchema: z.ZodObject<{
3676
+ path: z.ZodString;
3677
+ }, z.core.$strict>;
3678
+ export declare const OpenPathResponseSchema: z.ZodObject<{
3679
+ opened: z.ZodBoolean;
3680
+ path: z.ZodString;
3681
+ }, z.core.$strict>;
3682
+ export declare const PreparationListResponseSchema: z.ZodObject<{
3683
+ preparations: z.ZodArray<z.ZodObject<{
3684
+ id: z.ZodString;
3685
+ source: z.ZodObject<{
3686
+ kind: z.ZodEnum<{
3687
+ "local-folder": "local-folder";
3688
+ "remote-folder": "remote-folder";
3689
+ }>;
3690
+ locator: z.ZodString;
3053
3691
  }, 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>;
3692
+ method_id: z.ZodNullable<z.ZodString>;
3693
+ about: z.ZodNullable<z.ZodString>;
3694
+ config_path: z.ZodString;
3695
+ portable_context: z.ZodObject<{
3696
+ kind: z.ZodEnum<{
3697
+ "local-path": "local-path";
3698
+ "remote-url": "remote-url";
3699
+ "api-served": "api-served";
3700
+ }>;
3701
+ value: z.ZodString;
3057
3702
  }, 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>>;
3703
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3704
+ id: z.ZodOptional<z.ZodString>;
3705
+ question: z.ZodString;
3706
+ answer: z.ZodOptional<z.ZodString>;
3707
+ expect: z.ZodOptional<z.ZodObject<{
3708
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
3709
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
3710
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
3711
+ min_words: z.ZodOptional<z.ZodNumber>;
3712
+ max_words: z.ZodOptional<z.ZodNumber>;
3713
+ }, z.core.$strip>>;
3714
+ strictness: z.ZodOptional<z.ZodString>;
3715
+ }, z.core.$strict>>>;
3716
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
3717
+ id: z.ZodOptional<z.ZodString>;
3718
+ title: z.ZodString;
3719
+ purpose: z.ZodOptional<z.ZodString>;
3720
+ description: z.ZodOptional<z.ZodString>;
3721
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3722
+ label: z.ZodString;
3723
+ }, z.core.$loose>]>>>;
3724
+ output: z.ZodOptional<z.ZodObject<{
3725
+ path: z.ZodOptional<z.ZodString>;
3726
+ shape: z.ZodOptional<z.ZodObject<{
3727
+ kind: z.ZodLiteral<"path">;
3728
+ path: z.ZodString;
3729
+ artifact_kind: z.ZodEnum<{
3730
+ file: "file";
3731
+ directory: "directory";
3732
+ }>;
3733
+ }, z.core.$strict>>;
3734
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3735
+ id: z.ZodString;
3736
+ kind: z.ZodEnum<{
3737
+ file_exists: "file_exists";
3738
+ min_file_count: "min_file_count";
3739
+ min_file_count_matches_source: "min_file_count_matches_source";
3740
+ frontmatter_valid: "frontmatter_valid";
3741
+ frontmatter_required_keys: "frontmatter_required_keys";
3742
+ wikilinks_valid: "wikilinks_valid";
3743
+ must_not_contain: "must_not_contain";
3744
+ must_contain: "must_contain";
3745
+ qa_match: "qa_match";
3746
+ }>;
3747
+ description: z.ZodOptional<z.ZodString>;
3748
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3749
+ required: z.ZodDefault<z.ZodBoolean>;
3750
+ }, z.core.$strict>>>;
3751
+ stage_hint: z.ZodOptional<z.ZodString>;
3752
+ }, z.core.$strict>>;
3753
+ }, z.core.$strict>>>>;
3754
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3755
+ summary: z.ZodOptional<z.ZodString>;
3756
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
3757
+ name: z.ZodOptional<z.ZodString>;
3758
+ path: z.ZodOptional<z.ZodString>;
3759
+ kind: z.ZodOptional<z.ZodString>;
3760
+ page_count: z.ZodOptional<z.ZodNumber>;
3761
+ note: z.ZodOptional<z.ZodString>;
3762
+ }, z.core.$loose>>>;
3763
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3764
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3765
+ }, z.core.$loose>>>;
3060
3766
  }, z.core.$strict>>;
3061
3767
  }, z.core.$strict>;
3062
3768
  export declare const MethodListResponseSchema: z.ZodObject<{
@@ -3066,13 +3772,53 @@ export declare const MethodListResponseSchema: z.ZodObject<{
3066
3772
  path: z.ZodString;
3067
3773
  label: z.ZodOptional<z.ZodString>;
3068
3774
  hint: z.ZodOptional<z.ZodString>;
3775
+ purpose: z.ZodOptional<z.ZodObject<{
3776
+ label: z.ZodString;
3777
+ task_hint: z.ZodString;
3778
+ }, z.core.$strict>>;
3779
+ inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
3780
+ id: z.ZodString;
3781
+ label: z.ZodString;
3782
+ description: z.ZodString;
3783
+ required: z.ZodDefault<z.ZodBoolean>;
3784
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
3785
+ }, z.core.$strict>>>;
3069
3786
  source_kind: z.ZodDefault<z.ZodEnum<{
3070
3787
  builtin: "builtin";
3071
3788
  local: "local";
3072
3789
  }>>;
3073
3790
  built_in: z.ZodDefault<z.ZodBoolean>;
3074
3791
  active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3075
- output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
3792
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3793
+ id: z.ZodString;
3794
+ description: z.ZodString;
3795
+ shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
3796
+ kind: z.ZodLiteral<"path">;
3797
+ path: z.ZodString;
3798
+ artifact_kind: z.ZodEnum<{
3799
+ file: "file";
3800
+ directory: "directory";
3801
+ }>;
3802
+ }, z.core.$strict>], "kind">;
3803
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3804
+ id: z.ZodString;
3805
+ kind: z.ZodEnum<{
3806
+ file_exists: "file_exists";
3807
+ min_file_count: "min_file_count";
3808
+ min_file_count_matches_source: "min_file_count_matches_source";
3809
+ frontmatter_valid: "frontmatter_valid";
3810
+ frontmatter_required_keys: "frontmatter_required_keys";
3811
+ wikilinks_valid: "wikilinks_valid";
3812
+ must_not_contain: "must_not_contain";
3813
+ must_contain: "must_contain";
3814
+ qa_match: "qa_match";
3815
+ }>;
3816
+ description: z.ZodOptional<z.ZodString>;
3817
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3818
+ required: z.ZodDefault<z.ZodBoolean>;
3819
+ }, z.core.$strict>>>;
3820
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
3821
+ }, z.core.$strict>>>;
3076
3822
  stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3077
3823
  id: z.ZodString;
3078
3824
  label: z.ZodString;
@@ -3082,7 +3828,6 @@ export declare const MethodListResponseSchema: z.ZodObject<{
3082
3828
  role: z.ZodDefault<z.ZodString>;
3083
3829
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3084
3830
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3085
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3086
3831
  }, z.core.$strict>>>;
3087
3832
  }, z.core.$strict>>;
3088
3833
  }, z.core.$strict>;
@@ -3131,7 +3876,6 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3131
3876
  stage_total: z.ZodOptional<z.ZodNumber>;
3132
3877
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3133
3878
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3134
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3135
3879
  }, z.core.$strict>>;
3136
3880
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3137
3881
  kind: z.ZodEnum<{
@@ -3312,6 +4056,12 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3312
4056
  timestamp: z.ZodString;
3313
4057
  type: z.ZodLiteral<"run.failed">;
3314
4058
  error: z.ZodString;
4059
+ }, z.core.$strict>, z.ZodObject<{
4060
+ event_id: z.ZodString;
4061
+ run_id: z.ZodString;
4062
+ timestamp: z.ZodString;
4063
+ type: z.ZodLiteral<"run.cancelled">;
4064
+ reason: z.ZodOptional<z.ZodString>;
3315
4065
  }, z.core.$strict>, z.ZodObject<{
3316
4066
  event_id: z.ZodString;
3317
4067
  run_id: z.ZodString;
@@ -3338,15 +4088,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3338
4088
  generated_at: z.ZodString;
3339
4089
  preparation: z.ZodString;
3340
4090
  status: z.ZodEnum<{
4091
+ ready: "ready";
4092
+ failed: "failed";
3341
4093
  "not-configured": "not-configured";
3342
4094
  "not-built": "not-built";
3343
4095
  building: "building";
3344
4096
  built: "built";
3345
4097
  checking: "checking";
3346
- ready: "ready";
3347
4098
  "not-ready": "not-ready";
3348
4099
  stale: "stale";
3349
- failed: "failed";
3350
4100
  }>;
3351
4101
  ready: z.ZodBoolean;
3352
4102
  summary: z.ZodString;
@@ -3358,20 +4108,21 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3358
4108
  "portable-context": "portable-context";
3359
4109
  "preparation-config": "preparation-config";
3360
4110
  "compile-run": "compile-run";
4111
+ "artifact-checks": "artifact-checks";
3361
4112
  "readiness-checks": "readiness-checks";
3362
4113
  "checks-current": "checks-current";
3363
4114
  }>;
3364
4115
  ok: z.ZodBoolean;
3365
4116
  status: z.ZodOptional<z.ZodEnum<{
4117
+ ready: "ready";
4118
+ failed: "failed";
3366
4119
  "not-configured": "not-configured";
3367
4120
  "not-built": "not-built";
3368
4121
  building: "building";
3369
4122
  built: "built";
3370
4123
  checking: "checking";
3371
- ready: "ready";
3372
4124
  "not-ready": "not-ready";
3373
4125
  stale: "stale";
3374
- failed: "failed";
3375
4126
  }>>;
3376
4127
  summary: z.ZodString;
3377
4128
  detail: z.ZodOptional<z.ZodString>;
@@ -3405,20 +4156,21 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3405
4156
  "portable-context": "portable-context";
3406
4157
  "preparation-config": "preparation-config";
3407
4158
  "compile-run": "compile-run";
4159
+ "artifact-checks": "artifact-checks";
3408
4160
  "readiness-checks": "readiness-checks";
3409
4161
  "checks-current": "checks-current";
3410
4162
  }>;
3411
4163
  ok: z.ZodBoolean;
3412
4164
  status: z.ZodOptional<z.ZodEnum<{
4165
+ ready: "ready";
4166
+ failed: "failed";
3413
4167
  "not-configured": "not-configured";
3414
4168
  "not-built": "not-built";
3415
4169
  building: "building";
3416
4170
  built: "built";
3417
4171
  checking: "checking";
3418
- ready: "ready";
3419
4172
  "not-ready": "not-ready";
3420
4173
  stale: "stale";
3421
- failed: "failed";
3422
4174
  }>>;
3423
4175
  summary: z.ZodString;
3424
4176
  detail: z.ZodOptional<z.ZodString>;
@@ -3460,15 +4212,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3460
4212
  generated_at: z.ZodString;
3461
4213
  preparation: z.ZodString;
3462
4214
  status: z.ZodEnum<{
4215
+ ready: "ready";
4216
+ failed: "failed";
3463
4217
  "not-configured": "not-configured";
3464
4218
  "not-built": "not-built";
3465
4219
  building: "building";
3466
4220
  built: "built";
3467
4221
  checking: "checking";
3468
- ready: "ready";
3469
4222
  "not-ready": "not-ready";
3470
4223
  stale: "stale";
3471
- failed: "failed";
3472
4224
  }>;
3473
4225
  ready: z.ZodBoolean;
3474
4226
  summary: z.ZodString;
@@ -3480,20 +4232,21 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3480
4232
  "portable-context": "portable-context";
3481
4233
  "preparation-config": "preparation-config";
3482
4234
  "compile-run": "compile-run";
4235
+ "artifact-checks": "artifact-checks";
3483
4236
  "readiness-checks": "readiness-checks";
3484
4237
  "checks-current": "checks-current";
3485
4238
  }>;
3486
4239
  ok: z.ZodBoolean;
3487
4240
  status: z.ZodOptional<z.ZodEnum<{
4241
+ ready: "ready";
4242
+ failed: "failed";
3488
4243
  "not-configured": "not-configured";
3489
4244
  "not-built": "not-built";
3490
4245
  building: "building";
3491
4246
  built: "built";
3492
4247
  checking: "checking";
3493
- ready: "ready";
3494
4248
  "not-ready": "not-ready";
3495
4249
  stale: "stale";
3496
- failed: "failed";
3497
4250
  }>>;
3498
4251
  summary: z.ZodString;
3499
4252
  detail: z.ZodOptional<z.ZodString>;
@@ -3527,20 +4280,21 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3527
4280
  "portable-context": "portable-context";
3528
4281
  "preparation-config": "preparation-config";
3529
4282
  "compile-run": "compile-run";
4283
+ "artifact-checks": "artifact-checks";
3530
4284
  "readiness-checks": "readiness-checks";
3531
4285
  "checks-current": "checks-current";
3532
4286
  }>;
3533
4287
  ok: z.ZodBoolean;
3534
4288
  status: z.ZodOptional<z.ZodEnum<{
4289
+ ready: "ready";
4290
+ failed: "failed";
3535
4291
  "not-configured": "not-configured";
3536
4292
  "not-built": "not-built";
3537
4293
  building: "building";
3538
4294
  built: "built";
3539
4295
  checking: "checking";
3540
- ready: "ready";
3541
4296
  "not-ready": "not-ready";
3542
4297
  stale: "stale";
3543
- failed: "failed";
3544
4298
  }>>;
3545
4299
  summary: z.ZodString;
3546
4300
  detail: z.ZodOptional<z.ZodString>;
@@ -3548,6 +4302,36 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3548
4302
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3549
4303
  }, z.core.$strict>>>;
3550
4304
  }, z.core.$strict>>>;
4305
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4306
+ artifact_id: z.ZodString;
4307
+ status: z.ZodEnum<{
4308
+ ready: "ready";
4309
+ not_ready: "not_ready";
4310
+ failed: "failed";
4311
+ skipped: "skipped";
4312
+ }>;
4313
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
4314
+ proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
4315
+ check_id: z.ZodString;
4316
+ kind: z.ZodEnum<{
4317
+ file_exists: "file_exists";
4318
+ min_file_count: "min_file_count";
4319
+ min_file_count_matches_source: "min_file_count_matches_source";
4320
+ frontmatter_valid: "frontmatter_valid";
4321
+ frontmatter_required_keys: "frontmatter_required_keys";
4322
+ wikilinks_valid: "wikilinks_valid";
4323
+ must_not_contain: "must_not_contain";
4324
+ must_contain: "must_contain";
4325
+ qa_match: "qa_match";
4326
+ }>;
4327
+ passed: z.ZodBoolean;
4328
+ required: z.ZodBoolean;
4329
+ summary: z.ZodString;
4330
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4331
+ evaluated_at: z.ZodString;
4332
+ }, z.core.$strict>>>;
4333
+ summary: z.ZodOptional<z.ZodString>;
4334
+ }, z.core.$strict>>>;
3551
4335
  }, z.core.$strict>;
3552
4336
  }, z.core.$strict>>;
3553
4337
  }, z.core.$strict>;
@@ -3710,15 +4494,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3710
4494
  generated_at: z.ZodString;
3711
4495
  preparation: z.ZodString;
3712
4496
  status: z.ZodEnum<{
4497
+ ready: "ready";
4498
+ failed: "failed";
3713
4499
  "not-configured": "not-configured";
3714
4500
  "not-built": "not-built";
3715
4501
  building: "building";
3716
4502
  built: "built";
3717
4503
  checking: "checking";
3718
- ready: "ready";
3719
4504
  "not-ready": "not-ready";
3720
4505
  stale: "stale";
3721
- failed: "failed";
3722
4506
  }>;
3723
4507
  ready: z.ZodBoolean;
3724
4508
  summary: z.ZodString;
@@ -3730,20 +4514,21 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3730
4514
  "portable-context": "portable-context";
3731
4515
  "preparation-config": "preparation-config";
3732
4516
  "compile-run": "compile-run";
4517
+ "artifact-checks": "artifact-checks";
3733
4518
  "readiness-checks": "readiness-checks";
3734
4519
  "checks-current": "checks-current";
3735
4520
  }>;
3736
4521
  ok: z.ZodBoolean;
3737
4522
  status: z.ZodOptional<z.ZodEnum<{
4523
+ ready: "ready";
4524
+ failed: "failed";
3738
4525
  "not-configured": "not-configured";
3739
4526
  "not-built": "not-built";
3740
4527
  building: "building";
3741
4528
  built: "built";
3742
4529
  checking: "checking";
3743
- ready: "ready";
3744
4530
  "not-ready": "not-ready";
3745
4531
  stale: "stale";
3746
- failed: "failed";
3747
4532
  }>>;
3748
4533
  summary: z.ZodString;
3749
4534
  detail: z.ZodOptional<z.ZodString>;
@@ -3777,20 +4562,21 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3777
4562
  "portable-context": "portable-context";
3778
4563
  "preparation-config": "preparation-config";
3779
4564
  "compile-run": "compile-run";
4565
+ "artifact-checks": "artifact-checks";
3780
4566
  "readiness-checks": "readiness-checks";
3781
4567
  "checks-current": "checks-current";
3782
4568
  }>;
3783
4569
  ok: z.ZodBoolean;
3784
4570
  status: z.ZodOptional<z.ZodEnum<{
4571
+ ready: "ready";
4572
+ failed: "failed";
3785
4573
  "not-configured": "not-configured";
3786
4574
  "not-built": "not-built";
3787
4575
  building: "building";
3788
4576
  built: "built";
3789
4577
  checking: "checking";
3790
- ready: "ready";
3791
4578
  "not-ready": "not-ready";
3792
4579
  stale: "stale";
3793
- failed: "failed";
3794
4580
  }>>;
3795
4581
  summary: z.ZodString;
3796
4582
  detail: z.ZodOptional<z.ZodString>;
@@ -3915,6 +4701,12 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3915
4701
  timestamp: z.ZodString;
3916
4702
  type: z.ZodLiteral<"run.failed">;
3917
4703
  error: z.ZodString;
4704
+ }, z.core.$strict>, z.ZodObject<{
4705
+ event_id: z.ZodString;
4706
+ run_id: z.ZodString;
4707
+ timestamp: z.ZodString;
4708
+ type: z.ZodLiteral<"run.cancelled">;
4709
+ reason: z.ZodOptional<z.ZodString>;
3918
4710
  }, z.core.$strict>, z.ZodObject<{
3919
4711
  event_id: z.ZodString;
3920
4712
  run_id: z.ZodString;
@@ -3941,15 +4733,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3941
4733
  generated_at: z.ZodString;
3942
4734
  preparation: z.ZodString;
3943
4735
  status: z.ZodEnum<{
4736
+ ready: "ready";
4737
+ failed: "failed";
3944
4738
  "not-configured": "not-configured";
3945
4739
  "not-built": "not-built";
3946
4740
  building: "building";
3947
4741
  built: "built";
3948
4742
  checking: "checking";
3949
- ready: "ready";
3950
4743
  "not-ready": "not-ready";
3951
4744
  stale: "stale";
3952
- failed: "failed";
3953
4745
  }>;
3954
4746
  ready: z.ZodBoolean;
3955
4747
  summary: z.ZodString;
@@ -3961,20 +4753,21 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3961
4753
  "portable-context": "portable-context";
3962
4754
  "preparation-config": "preparation-config";
3963
4755
  "compile-run": "compile-run";
4756
+ "artifact-checks": "artifact-checks";
3964
4757
  "readiness-checks": "readiness-checks";
3965
4758
  "checks-current": "checks-current";
3966
4759
  }>;
3967
4760
  ok: z.ZodBoolean;
3968
4761
  status: z.ZodOptional<z.ZodEnum<{
4762
+ ready: "ready";
4763
+ failed: "failed";
3969
4764
  "not-configured": "not-configured";
3970
4765
  "not-built": "not-built";
3971
4766
  building: "building";
3972
4767
  built: "built";
3973
4768
  checking: "checking";
3974
- ready: "ready";
3975
4769
  "not-ready": "not-ready";
3976
4770
  stale: "stale";
3977
- failed: "failed";
3978
4771
  }>>;
3979
4772
  summary: z.ZodString;
3980
4773
  detail: z.ZodOptional<z.ZodString>;
@@ -4008,20 +4801,21 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4008
4801
  "portable-context": "portable-context";
4009
4802
  "preparation-config": "preparation-config";
4010
4803
  "compile-run": "compile-run";
4804
+ "artifact-checks": "artifact-checks";
4011
4805
  "readiness-checks": "readiness-checks";
4012
4806
  "checks-current": "checks-current";
4013
4807
  }>;
4014
4808
  ok: z.ZodBoolean;
4015
4809
  status: z.ZodOptional<z.ZodEnum<{
4810
+ ready: "ready";
4811
+ failed: "failed";
4016
4812
  "not-configured": "not-configured";
4017
4813
  "not-built": "not-built";
4018
4814
  building: "building";
4019
4815
  built: "built";
4020
4816
  checking: "checking";
4021
- ready: "ready";
4022
4817
  "not-ready": "not-ready";
4023
4818
  stale: "stale";
4024
- failed: "failed";
4025
4819
  }>>;
4026
4820
  summary: z.ZodString;
4027
4821
  detail: z.ZodOptional<z.ZodString>;
@@ -4106,15 +4900,15 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4106
4900
  generated_at: z.ZodString;
4107
4901
  preparation: z.ZodString;
4108
4902
  status: z.ZodEnum<{
4903
+ ready: "ready";
4904
+ failed: "failed";
4109
4905
  "not-configured": "not-configured";
4110
4906
  "not-built": "not-built";
4111
4907
  building: "building";
4112
4908
  built: "built";
4113
4909
  checking: "checking";
4114
- ready: "ready";
4115
4910
  "not-ready": "not-ready";
4116
4911
  stale: "stale";
4117
- failed: "failed";
4118
4912
  }>;
4119
4913
  ready: z.ZodBoolean;
4120
4914
  summary: z.ZodString;
@@ -4126,20 +4920,21 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4126
4920
  "portable-context": "portable-context";
4127
4921
  "preparation-config": "preparation-config";
4128
4922
  "compile-run": "compile-run";
4923
+ "artifact-checks": "artifact-checks";
4129
4924
  "readiness-checks": "readiness-checks";
4130
4925
  "checks-current": "checks-current";
4131
4926
  }>;
4132
4927
  ok: z.ZodBoolean;
4133
4928
  status: z.ZodOptional<z.ZodEnum<{
4929
+ ready: "ready";
4930
+ failed: "failed";
4134
4931
  "not-configured": "not-configured";
4135
4932
  "not-built": "not-built";
4136
4933
  building: "building";
4137
4934
  built: "built";
4138
4935
  checking: "checking";
4139
- ready: "ready";
4140
4936
  "not-ready": "not-ready";
4141
4937
  stale: "stale";
4142
- failed: "failed";
4143
4938
  }>>;
4144
4939
  summary: z.ZodString;
4145
4940
  detail: z.ZodOptional<z.ZodString>;
@@ -4173,20 +4968,21 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4173
4968
  "portable-context": "portable-context";
4174
4969
  "preparation-config": "preparation-config";
4175
4970
  "compile-run": "compile-run";
4971
+ "artifact-checks": "artifact-checks";
4176
4972
  "readiness-checks": "readiness-checks";
4177
4973
  "checks-current": "checks-current";
4178
4974
  }>;
4179
4975
  ok: z.ZodBoolean;
4180
4976
  status: z.ZodOptional<z.ZodEnum<{
4977
+ ready: "ready";
4978
+ failed: "failed";
4181
4979
  "not-configured": "not-configured";
4182
4980
  "not-built": "not-built";
4183
4981
  building: "building";
4184
4982
  built: "built";
4185
4983
  checking: "checking";
4186
- ready: "ready";
4187
4984
  "not-ready": "not-ready";
4188
4985
  stale: "stale";
4189
- failed: "failed";
4190
4986
  }>>;
4191
4987
  summary: z.ZodString;
4192
4988
  detail: z.ZodOptional<z.ZodString>;
@@ -4280,10 +5076,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4280
5076
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4281
5077
  client_origin: z.ZodDefault<z.ZodEnum<{
4282
5078
  unknown: "unknown";
4283
- mcp: "mcp";
4284
5079
  "ui-chat": "ui-chat";
4285
5080
  cli: "cli";
4286
5081
  "agent-cli": "agent-cli";
5082
+ mcp: "mcp";
4287
5083
  service: "service";
4288
5084
  }>>;
4289
5085
  created_at: z.ZodString;
@@ -4328,10 +5124,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4328
5124
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4329
5125
  client_origin: z.ZodDefault<z.ZodEnum<{
4330
5126
  unknown: "unknown";
4331
- mcp: "mcp";
4332
5127
  "ui-chat": "ui-chat";
4333
5128
  cli: "cli";
4334
5129
  "agent-cli": "agent-cli";
5130
+ mcp: "mcp";
4335
5131
  service: "service";
4336
5132
  }>>;
4337
5133
  created_at: z.ZodString;
@@ -4385,10 +5181,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4385
5181
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4386
5182
  client_origin: z.ZodDefault<z.ZodEnum<{
4387
5183
  unknown: "unknown";
4388
- mcp: "mcp";
4389
5184
  "ui-chat": "ui-chat";
4390
5185
  cli: "cli";
4391
5186
  "agent-cli": "agent-cli";
5187
+ mcp: "mcp";
4392
5188
  service: "service";
4393
5189
  }>>;
4394
5190
  created_at: z.ZodString;
@@ -4413,6 +5209,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4413
5209
  action_type: z.ZodLiteral<"test">;
4414
5210
  request: z.ZodObject<{
4415
5211
  preparation: z.ZodString;
5212
+ target: z.ZodDefault<z.ZodEnum<{
5213
+ "source-files": "source-files";
5214
+ compiled: "compiled";
5215
+ }>>;
4416
5216
  }, z.core.$strict>;
4417
5217
  }, z.core.$strict>, z.ZodObject<{
4418
5218
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -4435,10 +5235,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4435
5235
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4436
5236
  client_origin: z.ZodDefault<z.ZodEnum<{
4437
5237
  unknown: "unknown";
4438
- mcp: "mcp";
4439
5238
  "ui-chat": "ui-chat";
4440
5239
  cli: "cli";
4441
5240
  "agent-cli": "agent-cli";
5241
+ mcp: "mcp";
4442
5242
  service: "service";
4443
5243
  }>>;
4444
5244
  created_at: z.ZodString;
@@ -4488,10 +5288,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4488
5288
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4489
5289
  client_origin: z.ZodDefault<z.ZodEnum<{
4490
5290
  unknown: "unknown";
4491
- mcp: "mcp";
4492
5291
  "ui-chat": "ui-chat";
4493
5292
  cli: "cli";
4494
5293
  "agent-cli": "agent-cli";
5294
+ mcp: "mcp";
4495
5295
  service: "service";
4496
5296
  }>>;
4497
5297
  created_at: z.ZodString;
@@ -4536,6 +5336,86 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4536
5336
  }, z.core.$strip>>;
4537
5337
  strictness: z.ZodOptional<z.ZodString>;
4538
5338
  }, z.core.$strict>>>;
5339
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
5340
+ id: z.ZodOptional<z.ZodString>;
5341
+ title: z.ZodString;
5342
+ purpose: z.ZodOptional<z.ZodString>;
5343
+ description: z.ZodOptional<z.ZodString>;
5344
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5345
+ label: z.ZodString;
5346
+ }, z.core.$loose>]>>>;
5347
+ output: z.ZodOptional<z.ZodObject<{
5348
+ path: z.ZodOptional<z.ZodString>;
5349
+ shape: z.ZodOptional<z.ZodObject<{
5350
+ kind: z.ZodLiteral<"path">;
5351
+ path: z.ZodString;
5352
+ artifact_kind: z.ZodEnum<{
5353
+ file: "file";
5354
+ directory: "directory";
5355
+ }>;
5356
+ }, z.core.$strict>>;
5357
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5358
+ id: z.ZodString;
5359
+ kind: z.ZodEnum<{
5360
+ file_exists: "file_exists";
5361
+ min_file_count: "min_file_count";
5362
+ min_file_count_matches_source: "min_file_count_matches_source";
5363
+ frontmatter_valid: "frontmatter_valid";
5364
+ frontmatter_required_keys: "frontmatter_required_keys";
5365
+ wikilinks_valid: "wikilinks_valid";
5366
+ must_not_contain: "must_not_contain";
5367
+ must_contain: "must_contain";
5368
+ qa_match: "qa_match";
5369
+ }>;
5370
+ description: z.ZodOptional<z.ZodString>;
5371
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5372
+ required: z.ZodDefault<z.ZodBoolean>;
5373
+ }, z.core.$strict>>>;
5374
+ stage_hint: z.ZodOptional<z.ZodString>;
5375
+ }, z.core.$strict>>;
5376
+ }, z.core.$strict>>>>;
5377
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5378
+ summary: z.ZodOptional<z.ZodString>;
5379
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
5380
+ name: z.ZodOptional<z.ZodString>;
5381
+ path: z.ZodOptional<z.ZodString>;
5382
+ kind: z.ZodOptional<z.ZodString>;
5383
+ page_count: z.ZodOptional<z.ZodNumber>;
5384
+ note: z.ZodOptional<z.ZodString>;
5385
+ }, z.core.$loose>>>;
5386
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5387
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5388
+ }, z.core.$loose>>>;
5389
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
5390
+ id: z.ZodString;
5391
+ description: z.ZodOptional<z.ZodString>;
5392
+ shape: z.ZodObject<{
5393
+ kind: z.ZodLiteral<"path">;
5394
+ path: z.ZodString;
5395
+ artifact_kind: z.ZodEnum<{
5396
+ file: "file";
5397
+ directory: "directory";
5398
+ }>;
5399
+ }, z.core.$strict>;
5400
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5401
+ id: z.ZodString;
5402
+ kind: z.ZodEnum<{
5403
+ file_exists: "file_exists";
5404
+ min_file_count: "min_file_count";
5405
+ min_file_count_matches_source: "min_file_count_matches_source";
5406
+ frontmatter_valid: "frontmatter_valid";
5407
+ frontmatter_required_keys: "frontmatter_required_keys";
5408
+ wikilinks_valid: "wikilinks_valid";
5409
+ must_not_contain: "must_not_contain";
5410
+ must_contain: "must_contain";
5411
+ qa_match: "qa_match";
5412
+ }>;
5413
+ description: z.ZodOptional<z.ZodString>;
5414
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5415
+ required: z.ZodDefault<z.ZodBoolean>;
5416
+ }, z.core.$strict>>>;
5417
+ stage_hint: z.ZodOptional<z.ZodString>;
5418
+ }, z.core.$strict>>>;
4539
5419
  }, z.core.$strict>;
4540
5420
  }, z.core.$strict>, z.ZodObject<{
4541
5421
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -4558,10 +5438,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4558
5438
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4559
5439
  client_origin: z.ZodDefault<z.ZodEnum<{
4560
5440
  unknown: "unknown";
4561
- mcp: "mcp";
4562
5441
  "ui-chat": "ui-chat";
4563
5442
  cli: "cli";
4564
5443
  "agent-cli": "agent-cli";
5444
+ mcp: "mcp";
4565
5445
  service: "service";
4566
5446
  }>>;
4567
5447
  created_at: z.ZodString;
@@ -4606,6 +5486,86 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4606
5486
  }, z.core.$strip>>;
4607
5487
  strictness: z.ZodOptional<z.ZodString>;
4608
5488
  }, z.core.$strict>>>;
5489
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
5490
+ id: z.ZodOptional<z.ZodString>;
5491
+ title: z.ZodString;
5492
+ purpose: z.ZodOptional<z.ZodString>;
5493
+ description: z.ZodOptional<z.ZodString>;
5494
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5495
+ label: z.ZodString;
5496
+ }, z.core.$loose>]>>>;
5497
+ output: z.ZodOptional<z.ZodObject<{
5498
+ path: z.ZodOptional<z.ZodString>;
5499
+ shape: z.ZodOptional<z.ZodObject<{
5500
+ kind: z.ZodLiteral<"path">;
5501
+ path: z.ZodString;
5502
+ artifact_kind: z.ZodEnum<{
5503
+ file: "file";
5504
+ directory: "directory";
5505
+ }>;
5506
+ }, z.core.$strict>>;
5507
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5508
+ id: z.ZodString;
5509
+ kind: z.ZodEnum<{
5510
+ file_exists: "file_exists";
5511
+ min_file_count: "min_file_count";
5512
+ min_file_count_matches_source: "min_file_count_matches_source";
5513
+ frontmatter_valid: "frontmatter_valid";
5514
+ frontmatter_required_keys: "frontmatter_required_keys";
5515
+ wikilinks_valid: "wikilinks_valid";
5516
+ must_not_contain: "must_not_contain";
5517
+ must_contain: "must_contain";
5518
+ qa_match: "qa_match";
5519
+ }>;
5520
+ description: z.ZodOptional<z.ZodString>;
5521
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5522
+ required: z.ZodDefault<z.ZodBoolean>;
5523
+ }, z.core.$strict>>>;
5524
+ stage_hint: z.ZodOptional<z.ZodString>;
5525
+ }, z.core.$strict>>;
5526
+ }, z.core.$strict>>>>;
5527
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5528
+ summary: z.ZodOptional<z.ZodString>;
5529
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
5530
+ name: z.ZodOptional<z.ZodString>;
5531
+ path: z.ZodOptional<z.ZodString>;
5532
+ kind: z.ZodOptional<z.ZodString>;
5533
+ page_count: z.ZodOptional<z.ZodNumber>;
5534
+ note: z.ZodOptional<z.ZodString>;
5535
+ }, z.core.$loose>>>;
5536
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5537
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5538
+ }, z.core.$loose>>>;
5539
+ artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
5540
+ id: z.ZodString;
5541
+ description: z.ZodOptional<z.ZodString>;
5542
+ shape: z.ZodObject<{
5543
+ kind: z.ZodLiteral<"path">;
5544
+ path: z.ZodString;
5545
+ artifact_kind: z.ZodEnum<{
5546
+ file: "file";
5547
+ directory: "directory";
5548
+ }>;
5549
+ }, z.core.$strict>;
5550
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5551
+ id: z.ZodString;
5552
+ kind: z.ZodEnum<{
5553
+ file_exists: "file_exists";
5554
+ min_file_count: "min_file_count";
5555
+ min_file_count_matches_source: "min_file_count_matches_source";
5556
+ frontmatter_valid: "frontmatter_valid";
5557
+ frontmatter_required_keys: "frontmatter_required_keys";
5558
+ wikilinks_valid: "wikilinks_valid";
5559
+ must_not_contain: "must_not_contain";
5560
+ must_contain: "must_contain";
5561
+ qa_match: "qa_match";
5562
+ }>;
5563
+ description: z.ZodOptional<z.ZodString>;
5564
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5565
+ required: z.ZodDefault<z.ZodBoolean>;
5566
+ }, z.core.$strict>>>;
5567
+ stage_hint: z.ZodOptional<z.ZodString>;
5568
+ }, z.core.$strict>>>;
4609
5569
  }, z.core.$strict>;
4610
5570
  }, z.core.$strict>], "action_type">>;
4611
5571
  }, z.core.$strict>;
@@ -4620,15 +5580,15 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4620
5580
  generated_at: z.ZodString;
4621
5581
  preparation: z.ZodString;
4622
5582
  status: z.ZodEnum<{
5583
+ ready: "ready";
5584
+ failed: "failed";
4623
5585
  "not-configured": "not-configured";
4624
5586
  "not-built": "not-built";
4625
5587
  building: "building";
4626
5588
  built: "built";
4627
5589
  checking: "checking";
4628
- ready: "ready";
4629
5590
  "not-ready": "not-ready";
4630
5591
  stale: "stale";
4631
- failed: "failed";
4632
5592
  }>;
4633
5593
  ready: z.ZodBoolean;
4634
5594
  summary: z.ZodString;
@@ -4640,20 +5600,21 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4640
5600
  "portable-context": "portable-context";
4641
5601
  "preparation-config": "preparation-config";
4642
5602
  "compile-run": "compile-run";
5603
+ "artifact-checks": "artifact-checks";
4643
5604
  "readiness-checks": "readiness-checks";
4644
5605
  "checks-current": "checks-current";
4645
5606
  }>;
4646
5607
  ok: z.ZodBoolean;
4647
5608
  status: z.ZodOptional<z.ZodEnum<{
5609
+ ready: "ready";
5610
+ failed: "failed";
4648
5611
  "not-configured": "not-configured";
4649
5612
  "not-built": "not-built";
4650
5613
  building: "building";
4651
5614
  built: "built";
4652
5615
  checking: "checking";
4653
- ready: "ready";
4654
5616
  "not-ready": "not-ready";
4655
5617
  stale: "stale";
4656
- failed: "failed";
4657
5618
  }>>;
4658
5619
  summary: z.ZodString;
4659
5620
  detail: z.ZodOptional<z.ZodString>;
@@ -4687,20 +5648,21 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4687
5648
  "portable-context": "portable-context";
4688
5649
  "preparation-config": "preparation-config";
4689
5650
  "compile-run": "compile-run";
5651
+ "artifact-checks": "artifact-checks";
4690
5652
  "readiness-checks": "readiness-checks";
4691
5653
  "checks-current": "checks-current";
4692
5654
  }>;
4693
5655
  ok: z.ZodBoolean;
4694
5656
  status: z.ZodOptional<z.ZodEnum<{
5657
+ ready: "ready";
5658
+ failed: "failed";
4695
5659
  "not-configured": "not-configured";
4696
5660
  "not-built": "not-built";
4697
5661
  building: "building";
4698
5662
  built: "built";
4699
5663
  checking: "checking";
4700
- ready: "ready";
4701
5664
  "not-ready": "not-ready";
4702
5665
  stale: "stale";
4703
- failed: "failed";
4704
5666
  }>>;
4705
5667
  summary: z.ZodString;
4706
5668
  detail: z.ZodOptional<z.ZodString>;
@@ -4733,15 +5695,15 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
4733
5695
  generated_at: z.ZodString;
4734
5696
  preparation: z.ZodString;
4735
5697
  status: z.ZodEnum<{
5698
+ ready: "ready";
5699
+ failed: "failed";
4736
5700
  "not-configured": "not-configured";
4737
5701
  "not-built": "not-built";
4738
5702
  building: "building";
4739
5703
  built: "built";
4740
5704
  checking: "checking";
4741
- ready: "ready";
4742
5705
  "not-ready": "not-ready";
4743
5706
  stale: "stale";
4744
- failed: "failed";
4745
5707
  }>;
4746
5708
  ready: z.ZodBoolean;
4747
5709
  summary: z.ZodString;
@@ -4753,20 +5715,21 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
4753
5715
  "portable-context": "portable-context";
4754
5716
  "preparation-config": "preparation-config";
4755
5717
  "compile-run": "compile-run";
5718
+ "artifact-checks": "artifact-checks";
4756
5719
  "readiness-checks": "readiness-checks";
4757
5720
  "checks-current": "checks-current";
4758
5721
  }>;
4759
5722
  ok: z.ZodBoolean;
4760
5723
  status: z.ZodOptional<z.ZodEnum<{
5724
+ ready: "ready";
5725
+ failed: "failed";
4761
5726
  "not-configured": "not-configured";
4762
5727
  "not-built": "not-built";
4763
5728
  building: "building";
4764
5729
  built: "built";
4765
5730
  checking: "checking";
4766
- ready: "ready";
4767
5731
  "not-ready": "not-ready";
4768
5732
  stale: "stale";
4769
- failed: "failed";
4770
5733
  }>>;
4771
5734
  summary: z.ZodString;
4772
5735
  detail: z.ZodOptional<z.ZodString>;
@@ -4800,20 +5763,21 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
4800
5763
  "portable-context": "portable-context";
4801
5764
  "preparation-config": "preparation-config";
4802
5765
  "compile-run": "compile-run";
5766
+ "artifact-checks": "artifact-checks";
4803
5767
  "readiness-checks": "readiness-checks";
4804
5768
  "checks-current": "checks-current";
4805
5769
  }>;
4806
5770
  ok: z.ZodBoolean;
4807
5771
  status: z.ZodOptional<z.ZodEnum<{
5772
+ ready: "ready";
5773
+ failed: "failed";
4808
5774
  "not-configured": "not-configured";
4809
5775
  "not-built": "not-built";
4810
5776
  building: "building";
4811
5777
  built: "built";
4812
5778
  checking: "checking";
4813
- ready: "ready";
4814
5779
  "not-ready": "not-ready";
4815
5780
  stale: "stale";
4816
- failed: "failed";
4817
5781
  }>>;
4818
5782
  summary: z.ZodString;
4819
5783
  detail: z.ZodOptional<z.ZodString>;
@@ -4872,6 +5836,7 @@ export type ResetRequest = z.infer<typeof ResetRequestSchema>;
4872
5836
  export type ResetResult = z.infer<typeof ResetResultSchema>;
4873
5837
  export type ReadinessCheckDraftCreateRequest = z.infer<typeof ReadinessCheckDraftCreateRequestSchema>;
4874
5838
  export type ReadinessCheckDraftResult = z.infer<typeof ReadinessCheckDraftResultSchema>;
5839
+ export type MethodAuthoringArtifactRequirement = z.infer<typeof MethodAuthoringArtifactRequirementSchema>;
4875
5840
  export type MethodAuthoringCreateRequest = z.infer<typeof MethodAuthoringCreateRequestSchema>;
4876
5841
  export type MethodAuthoringResult = z.infer<typeof MethodAuthoringResultSchema>;
4877
5842
  export type LocalJobEventAppendRequest = z.infer<typeof LocalJobEventAppendRequestSchema>;