@interf/compiler 0.18.0 → 0.22.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 (369) hide show
  1. package/dist/cli/commands/build-plan.d.ts +2 -0
  2. package/dist/cli/commands/build-plan.js +376 -0
  3. package/dist/cli/commands/{compile.d.ts → build.d.ts} +2 -2
  4. package/dist/cli/commands/{compile.js → build.js} +18 -18
  5. package/dist/cli/commands/doctor.js +2 -2
  6. package/dist/cli/commands/mcp.d.ts +0 -34
  7. package/dist/cli/commands/mcp.js +261 -60
  8. package/dist/cli/commands/prep.js +67 -35
  9. package/dist/cli/commands/reset.d.ts +1 -1
  10. package/dist/cli/commands/reset.js +6 -6
  11. package/dist/cli/commands/runs.js +105 -33
  12. package/dist/cli/commands/status.js +4 -2
  13. package/dist/cli/commands/test.d.ts +10 -0
  14. package/dist/cli/commands/{verify.js → test.js} +19 -21
  15. package/dist/cli/commands/web.js +82 -8
  16. package/dist/cli/commands/wizard.js +63 -64
  17. package/dist/cli/index.d.ts +4 -4
  18. package/dist/cli/index.js +7 -7
  19. package/dist/interf-ui/404.html +1 -0
  20. package/dist/interf-ui/__next.__PAGE__.txt +10 -0
  21. package/dist/{compiler-ui → interf-ui}/__next._full.txt +12 -12
  22. package/dist/interf-ui/__next._head.txt +5 -0
  23. package/dist/{compiler-ui → interf-ui}/__next._index.txt +4 -4
  24. package/dist/{compiler-ui → interf-ui}/__next._tree.txt +3 -3
  25. package/dist/interf-ui/_next/static/chunks/0.tjb6f4golw..css +3 -0
  26. package/dist/interf-ui/_next/static/chunks/085-n_jv2ng_q.css +1 -0
  27. package/dist/{compiler-ui/_next/static/chunks/0_i-3_5l9t2qe.js → interf-ui/_next/static/chunks/0dn41fa_zvgsl.js} +1 -1
  28. package/dist/interf-ui/_next/static/chunks/0g-ea0zj5d-0k.js +1 -0
  29. package/dist/interf-ui/_next/static/chunks/0gwqglc4iz583.js +1 -0
  30. package/dist/interf-ui/_next/static/chunks/0haldgm65ve6l.js +1 -0
  31. package/dist/{compiler-ui/_next/static/chunks/08g7lvje.te.u.js → interf-ui/_next/static/chunks/0nv3am99vjzn4.js} +1 -1
  32. package/dist/{compiler-ui/_next/static/chunks/0n51hrfoufc7g.js → interf-ui/_next/static/chunks/0s77gt_o4jwtx.js} +1 -1
  33. package/dist/interf-ui/_next/static/chunks/0~a36ujuzpaz..js +116 -0
  34. package/dist/interf-ui/_next/static/chunks/10jeodxe4nkgj.js +31 -0
  35. package/dist/interf-ui/_next/static/chunks/119h2rouych2t.js +1 -0
  36. package/dist/interf-ui/_next/static/chunks/13c8b~m8knjsf.js +1 -0
  37. package/dist/{compiler-ui/_next/static/chunks/08m7vf5asqlsm.js → interf-ui/_next/static/chunks/14dznb2qpt-ho.js} +5 -5
  38. package/dist/interf-ui/_next/static/chunks/15z_en80lrq-3.js +5 -0
  39. package/dist/{compiler-ui/_next/static/chunks/turbopack-10e~t1yzi4svj.js → interf-ui/_next/static/chunks/turbopack-0p.pvcjrtq-jh.js} +1 -1
  40. package/dist/interf-ui/_next/static/chunks/turbopack-0usj_75.8frlw.js +1 -0
  41. package/dist/{compiler-ui → interf-ui}/_not-found/__next._full.txt +9 -9
  42. package/dist/interf-ui/_not-found/__next._head.txt +5 -0
  43. package/dist/{compiler-ui → interf-ui}/_not-found/__next._index.txt +4 -4
  44. package/dist/{compiler-ui → interf-ui}/_not-found/__next._not-found.__PAGE__.txt +2 -2
  45. package/dist/interf-ui/_not-found/__next._not-found.txt +5 -0
  46. package/dist/{compiler-ui → interf-ui}/_not-found/__next._tree.txt +2 -2
  47. package/dist/interf-ui/_not-found.html +1 -0
  48. package/dist/{compiler-ui → interf-ui}/_not-found.txt +9 -9
  49. package/dist/interf-ui/index.html +1 -0
  50. package/dist/{compiler-ui → interf-ui}/index.txt +12 -12
  51. package/dist/packages/build-plans/authoring/build-plan-authoring.d.ts +36 -0
  52. package/dist/packages/{methods/authoring/method-authoring.js → build-plans/authoring/build-plan-authoring.js} +57 -88
  53. package/dist/packages/build-plans/authoring/build-plan-edit-session.d.ts +18 -0
  54. package/dist/packages/{methods/authoring/method-edit-session.js → build-plans/authoring/build-plan-edit-session.js} +34 -34
  55. package/dist/packages/build-plans/authoring/build-plan-improvement.d.ts +23 -0
  56. package/dist/packages/build-plans/authoring/build-plan-improvement.js +216 -0
  57. package/dist/packages/build-plans/authoring/index.d.ts +4 -0
  58. package/dist/packages/build-plans/authoring/index.js +4 -0
  59. package/dist/packages/{methods/authoring/lib/method-edit-utils.d.ts → build-plans/authoring/lib/build-plan-edit-utils.d.ts} +3 -3
  60. package/dist/packages/build-plans/build-plan-resolution.d.ts +6 -0
  61. package/dist/packages/build-plans/build-plan-resolution.js +7 -0
  62. package/dist/packages/build-plans/index.d.ts +2 -0
  63. package/dist/packages/build-plans/index.js +2 -0
  64. package/dist/packages/build-plans/package/build-plan-definitions.d.ts +61 -0
  65. package/dist/packages/build-plans/package/build-plan-definitions.js +214 -0
  66. package/dist/packages/{methods/package/method-helpers.d.ts → build-plans/package/build-plan-helpers.d.ts} +7 -7
  67. package/dist/packages/{methods/package/method-helpers.js → build-plans/package/build-plan-helpers.js} +20 -20
  68. package/dist/packages/build-plans/package/build-plan-review-paths.d.ts +10 -0
  69. package/dist/packages/build-plans/package/build-plan-review-paths.js +31 -0
  70. package/dist/packages/{methods/package/method-stage-runner.d.ts → build-plans/package/build-plan-stage-runner.d.ts} +12 -12
  71. package/dist/packages/{methods/package/method-stage-runner.js → build-plans/package/build-plan-stage-runner.js} +10 -10
  72. package/dist/packages/build-plans/package/builtin-build-plan.d.ts +37 -0
  73. package/dist/packages/build-plans/package/builtin-build-plan.js +91 -0
  74. package/dist/packages/{methods → build-plans}/package/context-interface.d.ts +11 -11
  75. package/dist/packages/{methods → build-plans}/package/context-interface.js +23 -23
  76. package/dist/packages/build-plans/package/interf-build-plan-package.d.ts +31 -0
  77. package/dist/packages/build-plans/package/interf-build-plan-package.js +466 -0
  78. package/dist/packages/{methods → build-plans}/package/lib/package-root.js +1 -1
  79. package/dist/packages/build-plans/package/local-build-plans.d.ts +74 -0
  80. package/dist/packages/build-plans/package/local-build-plans.js +472 -0
  81. package/dist/packages/build-plans/package/user-build-plans.d.ts +17 -0
  82. package/dist/packages/build-plans/package/user-build-plans.js +77 -0
  83. package/dist/packages/contracts/index.d.ts +1 -1
  84. package/dist/packages/contracts/lib/preparation-paths.d.ts +37 -37
  85. package/dist/packages/contracts/lib/preparation-paths.js +43 -43
  86. package/dist/packages/contracts/lib/schema.d.ts +38 -41
  87. package/dist/packages/contracts/lib/schema.js +44 -35
  88. package/dist/packages/engine/action-definitions.d.ts +228 -67
  89. package/dist/packages/engine/action-definitions.js +277 -273
  90. package/dist/packages/engine/action-planner.d.ts +2 -2
  91. package/dist/packages/engine/action-planner.js +8 -15
  92. package/dist/packages/engine/action-values.d.ts +1 -1
  93. package/dist/packages/engine/action-values.js +1 -1
  94. package/dist/packages/engine/agents/index.d.ts +2 -2
  95. package/dist/packages/engine/agents/index.js +1 -1
  96. package/dist/packages/engine/agents/lib/args.d.ts +2 -2
  97. package/dist/packages/engine/agents/lib/args.js +1 -1
  98. package/dist/packages/engine/agents/lib/constants.js +1 -1
  99. package/dist/packages/engine/agents/lib/execution-profile.d.ts +5 -5
  100. package/dist/packages/engine/agents/lib/execution-profile.js +3 -3
  101. package/dist/packages/engine/agents/lib/executors.d.ts +11 -11
  102. package/dist/packages/engine/agents/lib/render.js +4 -4
  103. package/dist/packages/engine/agents/lib/shells.d.ts +33 -31
  104. package/dist/packages/engine/agents/lib/shells.js +254 -250
  105. package/dist/packages/engine/agents/lib/types.d.ts +2 -2
  106. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.d.ts +3 -0
  107. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.js +19 -0
  108. package/dist/packages/engine/agents/role-executors.d.ts +7 -7
  109. package/dist/packages/engine/agents/role-executors.js +2 -2
  110. package/dist/packages/engine/agents/role-router.d.ts +2 -2
  111. package/dist/packages/engine/agents/role-router.js +1 -1
  112. package/dist/packages/engine/build/artifact-counts.d.ts +1 -0
  113. package/dist/packages/engine/{compile → build}/artifact-counts.js +7 -7
  114. package/dist/packages/engine/{compile → build}/artifact-status.d.ts +8 -8
  115. package/dist/packages/engine/{compile → build}/artifact-status.js +19 -19
  116. package/dist/packages/engine/{compile → build}/billing-events.d.ts +4 -4
  117. package/dist/packages/engine/{compile → build}/billing-events.js +4 -4
  118. package/dist/packages/engine/build/build-execution.d.ts +4 -0
  119. package/dist/packages/engine/build/build-execution.js +4 -0
  120. package/dist/packages/engine/build/build-pipeline.d.ts +56 -0
  121. package/dist/packages/engine/{compile/compiled-pipeline.js → build/build-pipeline.js} +55 -55
  122. package/dist/packages/engine/build/build-plan-primitives.d.ts +2 -0
  123. package/dist/packages/engine/{compile/method-primitives.js → build/build-plan-primitives.js} +1 -1
  124. package/dist/packages/engine/build/build-plan-runs.d.ts +14 -0
  125. package/dist/packages/engine/build/build-plan-runs.js +31 -0
  126. package/dist/packages/engine/build/build-stage-plan.d.ts +16 -0
  127. package/dist/packages/engine/build/build-stage-plan.js +100 -0
  128. package/dist/packages/engine/build/build-stage-runner.d.ts +15 -0
  129. package/dist/packages/engine/{compile/compiled-stage-runner.js → build/build-stage-runner.js} +21 -21
  130. package/dist/packages/engine/build/build-target.d.ts +11 -0
  131. package/dist/packages/engine/build/build-target.js +16 -0
  132. package/dist/packages/engine/{compile → build}/check-evaluator.d.ts +4 -4
  133. package/dist/packages/engine/{compile → build}/check-evaluator.js +1 -1
  134. package/dist/packages/engine/{compile → build}/discovery.d.ts +2 -2
  135. package/dist/packages/engine/{compile → build}/discovery.js +4 -4
  136. package/dist/packages/engine/{compile → build}/index.d.ts +6 -6
  137. package/dist/packages/engine/{compile → build}/index.js +5 -5
  138. package/dist/packages/engine/{compile → build}/lib/schema.d.ts +79 -79
  139. package/dist/packages/engine/{compile → build}/lib/schema.js +71 -71
  140. package/dist/packages/engine/build/reset.d.ts +2 -0
  141. package/dist/packages/engine/build/reset.js +74 -0
  142. package/dist/packages/engine/{compile → build}/runtime-contracts.js +8 -8
  143. package/dist/packages/engine/build/runtime-inventory.d.ts +7 -0
  144. package/dist/packages/engine/{compile → build}/runtime-inventory.js +8 -8
  145. package/dist/packages/engine/{compile → build}/runtime-paths.js +6 -6
  146. package/dist/packages/engine/{compile → build}/runtime-prompt.js +11 -11
  147. package/dist/packages/engine/build/runtime-reconcile.d.ts +2 -0
  148. package/dist/packages/engine/{compile → build}/runtime-reconcile.js +18 -18
  149. package/dist/packages/engine/{compile → build}/runtime-runs.js +27 -27
  150. package/dist/packages/engine/{compile → build}/runtime-types.d.ts +10 -10
  151. package/dist/packages/engine/build/source-files.d.ts +46 -0
  152. package/dist/packages/engine/{compile → build}/source-files.js +32 -32
  153. package/dist/packages/engine/build/state-artifacts.d.ts +9 -0
  154. package/dist/packages/engine/build/state-artifacts.js +14 -0
  155. package/dist/packages/engine/build/state-health.d.ts +4 -0
  156. package/dist/packages/engine/{compile → build}/state-health.js +40 -40
  157. package/dist/packages/engine/build/state-io.d.ts +11 -0
  158. package/dist/packages/engine/{compile → build}/state-io.js +22 -22
  159. package/dist/packages/engine/build/state-paths.js +16 -0
  160. package/dist/packages/engine/build/state-view.d.ts +5 -0
  161. package/dist/packages/engine/{compile → build}/state-view.js +29 -29
  162. package/dist/packages/engine/build/state.d.ts +7 -0
  163. package/dist/packages/engine/build/state.js +12 -0
  164. package/dist/packages/engine/build/validate-verifiable-context.d.ts +27 -0
  165. package/dist/packages/engine/{compile/validate-compiled.js → build/validate-verifiable-context.js} +73 -73
  166. package/dist/packages/engine/{compile → build}/validate.d.ts +4 -4
  167. package/dist/packages/engine/{compile → build}/validate.js +27 -27
  168. package/dist/packages/engine/build/verifiable-context-paths.d.ts +47 -0
  169. package/dist/packages/engine/build/verifiable-context-paths.js +121 -0
  170. package/dist/packages/engine/build/verifiable-context-schema.d.ts +21 -0
  171. package/dist/packages/engine/build/verifiable-context-schema.js +126 -0
  172. package/dist/packages/engine/client.d.ts +16 -16
  173. package/dist/packages/engine/client.js +21 -21
  174. package/dist/packages/engine/cloud-seams.d.ts +3 -3
  175. package/dist/packages/engine/connection-config.js +1 -1
  176. package/dist/packages/engine/execution/index.d.ts +2 -2
  177. package/dist/packages/engine/execution/index.js +1 -1
  178. package/dist/packages/engine/execution/lib/schema.d.ts +100 -95
  179. package/dist/packages/engine/execution/lib/schema.js +31 -31
  180. package/dist/packages/engine/index.d.ts +7 -7
  181. package/dist/packages/engine/index.js +3 -3
  182. package/dist/packages/engine/instance-paths.d.ts +45 -39
  183. package/dist/packages/engine/instance-paths.js +54 -48
  184. package/dist/packages/engine/lib/schema.d.ts +1568 -484
  185. package/dist/packages/engine/lib/schema.js +172 -161
  186. package/dist/packages/engine/native-run-handlers.d.ts +12 -12
  187. package/dist/packages/engine/native-run-handlers.js +138 -136
  188. package/dist/packages/engine/preparation-store.d.ts +31 -36
  189. package/dist/packages/engine/preparation-store.js +42 -31
  190. package/dist/packages/engine/readiness-check-draft.d.ts +2 -2
  191. package/dist/packages/engine/readiness-check-draft.js +1 -1
  192. package/dist/packages/engine/requested-artifacts.d.ts +5 -0
  193. package/dist/packages/engine/requested-artifacts.js +36 -0
  194. package/dist/packages/engine/routes.d.ts +18 -17
  195. package/dist/packages/engine/routes.js +20 -19
  196. package/dist/packages/engine/run-observability.d.ts +5 -3
  197. package/dist/packages/engine/run-observability.js +103 -90
  198. package/dist/packages/engine/runtime-caches.d.ts +16 -16
  199. package/dist/packages/engine/runtime-caches.js +26 -26
  200. package/dist/packages/engine/runtime-event-applier.d.ts +2 -2
  201. package/dist/packages/engine/runtime-event-applier.js +1 -1
  202. package/dist/packages/engine/runtime-persistence.d.ts +9 -9
  203. package/dist/packages/engine/runtime-persistence.js +16 -16
  204. package/dist/packages/engine/runtime-proposal-helpers.d.ts +15 -15
  205. package/dist/packages/engine/runtime-proposal-helpers.js +81 -85
  206. package/dist/packages/engine/runtime-resource-builders.d.ts +16 -11
  207. package/dist/packages/engine/runtime-resource-builders.js +32 -21
  208. package/dist/packages/engine/runtime.d.ts +53 -60
  209. package/dist/packages/engine/runtime.js +555 -453
  210. package/dist/packages/engine/server.d.ts +2 -2
  211. package/dist/packages/engine/server.js +226 -143
  212. package/dist/packages/engine/service-registry.d.ts +5 -17
  213. package/dist/packages/engine/service-registry.js +5 -20
  214. package/dist/packages/engine/verify/lib/schema.d.ts +19 -19
  215. package/dist/packages/engine/verify/lib/schema.js +36 -8
  216. package/dist/packages/engine/verify/readiness-check-run.d.ts +15 -16
  217. package/dist/packages/engine/verify/readiness-check-run.js +46 -46
  218. package/dist/packages/engine/verify/verify-execution.d.ts +3 -3
  219. package/dist/packages/engine/verify/verify-execution.js +10 -10
  220. package/dist/packages/engine/verify/verify-paths.d.ts +4 -4
  221. package/dist/packages/engine/verify/verify-paths.js +17 -17
  222. package/dist/packages/engine/verify/verify-sandbox.d.ts +1 -1
  223. package/dist/packages/engine/verify/verify-sandbox.js +26 -26
  224. package/dist/packages/engine/verify/verify-targets.d.ts +2 -2
  225. package/dist/packages/engine/verify/verify-targets.js +17 -17
  226. package/dist/packages/engine/verify/verify-types.d.ts +2 -2
  227. package/dist/packages/engine/verify/verify.d.ts +1 -1
  228. package/dist/packages/engine/verify/verify.js +1 -1
  229. package/dist/packages/engine/wire-schemas.d.ts +42 -40
  230. package/dist/packages/engine/wire-schemas.js +13 -13
  231. package/dist/packages/project/index.d.ts +1 -1
  232. package/dist/packages/project/interf-bootstrap.d.ts +1 -1
  233. package/dist/packages/project/interf-bootstrap.js +1 -1
  234. package/dist/packages/project/interf-detect.d.ts +11 -11
  235. package/dist/packages/project/interf-detect.js +36 -36
  236. package/dist/packages/project/interf-scaffold.d.ts +3 -3
  237. package/dist/packages/project/interf-scaffold.js +72 -72
  238. package/dist/packages/project/interf.d.ts +4 -4
  239. package/dist/packages/project/interf.js +3 -3
  240. package/dist/packages/project/lib/schema.d.ts +205 -12
  241. package/dist/packages/project/lib/schema.js +59 -14
  242. package/dist/packages/project/preparation-entries.d.ts +3 -3
  243. package/dist/packages/project/preparation-entries.js +19 -19
  244. package/dist/packages/project/source-config.d.ts +10 -10
  245. package/dist/packages/project/source-config.js +62 -58
  246. package/dist/packages/project/source-folders.js +1 -1
  247. package/package.json +14 -17
  248. package/public-repo/CONTRIBUTING.md +47 -0
  249. package/public-repo/README.md +327 -0
  250. package/public-repo/SECURITY.md +67 -0
  251. package/public-repo/build-plans/interf-default/README.md +33 -0
  252. package/public-repo/build-plans/interf-default/build/stages/shape/SKILL.md +27 -0
  253. package/{builtin-methods/interf-default/compile → public-repo/build-plans/interf-default/build}/stages/structure/SKILL.md +2 -2
  254. package/{builtin-methods/interf-default/compile → public-repo/build-plans/interf-default/build}/stages/summarize/SKILL.md +1 -1
  255. package/{builtin-methods/interf-default/method.json → public-repo/build-plans/interf-default/build-plan.json} +16 -16
  256. package/{builtin-methods/interf-default/method.schema.json → public-repo/build-plans/interf-default/build-plan.schema.json} +4 -4
  257. package/public-repo/build-plans/interf-default/improve/SKILL.md +18 -0
  258. package/public-repo/build-plans/interf-default/use/query/SKILL.md +23 -0
  259. package/public-repo/plugins/README.md +9 -0
  260. package/public-repo/plugins/interf/.claude-plugin/plugin.json +21 -0
  261. package/public-repo/plugins/interf/.mcp.json +12 -0
  262. package/public-repo/plugins/interf/README.md +32 -0
  263. package/public-repo/plugins/interf/skills/interf/SKILL.md +376 -0
  264. package/public-repo/skills/interf/SKILL.md +376 -0
  265. package/README.md +0 -311
  266. package/agent-skills/interf-actions/SKILL.md +0 -185
  267. package/agent-skills/interf-actions/references/cli.md +0 -243
  268. package/builtin-methods/interf-default/README.md +0 -29
  269. package/builtin-methods/interf-default/compile/stages/shape/SKILL.md +0 -31
  270. package/builtin-methods/interf-default/improve/SKILL.md +0 -18
  271. package/builtin-methods/interf-default/use/query/SKILL.md +0 -28
  272. package/dist/cli/commands/method.d.ts +0 -2
  273. package/dist/cli/commands/method.js +0 -113
  274. package/dist/cli/commands/verify.d.ts +0 -10
  275. package/dist/compiler-ui/404.html +0 -1
  276. package/dist/compiler-ui/__next.__PAGE__.txt +0 -10
  277. package/dist/compiler-ui/__next._head.txt +0 -5
  278. package/dist/compiler-ui/_next/static/chunks/06yhdspx~ca5-.js +0 -5
  279. package/dist/compiler-ui/_next/static/chunks/06z~l3kwb891e.js +0 -1
  280. package/dist/compiler-ui/_next/static/chunks/0_c_tvh-cukjz.css +0 -3
  281. package/dist/compiler-ui/_next/static/chunks/0b-ywny_j0g~0.js +0 -1
  282. package/dist/compiler-ui/_next/static/chunks/0b52v41o1gixx.js +0 -1
  283. package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +0 -114
  284. package/dist/compiler-ui/_next/static/chunks/0gpzgsv0w.q~m.js +0 -31
  285. package/dist/compiler-ui/_next/static/chunks/0ilwfezfvu6~-.js +0 -1
  286. package/dist/compiler-ui/_next/static/chunks/0xxmf45eskdt~.css +0 -1
  287. package/dist/compiler-ui/_next/static/chunks/14wtz~vq25~qq.js +0 -1
  288. package/dist/compiler-ui/_next/static/chunks/turbopack-0.uq1k8c0j4s..js +0 -1
  289. package/dist/compiler-ui/_not-found/__next._head.txt +0 -5
  290. package/dist/compiler-ui/_not-found/__next._not-found.txt +0 -5
  291. package/dist/compiler-ui/_not-found.html +0 -1
  292. package/dist/compiler-ui/index.html +0 -1
  293. package/dist/packages/engine/agents/lib/compiled-bootstrap.d.ts +0 -3
  294. package/dist/packages/engine/agents/lib/compiled-bootstrap.js +0 -19
  295. package/dist/packages/engine/compile/artifact-counts.d.ts +0 -1
  296. package/dist/packages/engine/compile/compiled-compile.d.ts +0 -4
  297. package/dist/packages/engine/compile/compiled-compile.js +0 -4
  298. package/dist/packages/engine/compile/compiled-paths.d.ts +0 -47
  299. package/dist/packages/engine/compile/compiled-paths.js +0 -121
  300. package/dist/packages/engine/compile/compiled-pipeline.d.ts +0 -56
  301. package/dist/packages/engine/compile/compiled-schema.d.ts +0 -21
  302. package/dist/packages/engine/compile/compiled-schema.js +0 -126
  303. package/dist/packages/engine/compile/compiled-stage-plan.d.ts +0 -16
  304. package/dist/packages/engine/compile/compiled-stage-plan.js +0 -100
  305. package/dist/packages/engine/compile/compiled-stage-runner.d.ts +0 -15
  306. package/dist/packages/engine/compile/compiled-target.d.ts +0 -11
  307. package/dist/packages/engine/compile/compiled-target.js +0 -16
  308. package/dist/packages/engine/compile/method-primitives.d.ts +0 -2
  309. package/dist/packages/engine/compile/method-runs.d.ts +0 -14
  310. package/dist/packages/engine/compile/method-runs.js +0 -31
  311. package/dist/packages/engine/compile/reset.d.ts +0 -2
  312. package/dist/packages/engine/compile/reset.js +0 -74
  313. package/dist/packages/engine/compile/runtime-inventory.d.ts +0 -7
  314. package/dist/packages/engine/compile/runtime-reconcile.d.ts +0 -2
  315. package/dist/packages/engine/compile/source-files.d.ts +0 -46
  316. package/dist/packages/engine/compile/state-artifacts.d.ts +0 -9
  317. package/dist/packages/engine/compile/state-artifacts.js +0 -14
  318. package/dist/packages/engine/compile/state-health.d.ts +0 -4
  319. package/dist/packages/engine/compile/state-io.d.ts +0 -11
  320. package/dist/packages/engine/compile/state-paths.js +0 -16
  321. package/dist/packages/engine/compile/state-view.d.ts +0 -5
  322. package/dist/packages/engine/compile/state.d.ts +0 -7
  323. package/dist/packages/engine/compile/state.js +0 -12
  324. package/dist/packages/engine/compile/validate-compiled.d.ts +0 -27
  325. package/dist/packages/methods/authoring/index.d.ts +0 -4
  326. package/dist/packages/methods/authoring/index.js +0 -4
  327. package/dist/packages/methods/authoring/method-authoring.d.ts +0 -34
  328. package/dist/packages/methods/authoring/method-edit-session.d.ts +0 -18
  329. package/dist/packages/methods/authoring/method-improvement.d.ts +0 -23
  330. package/dist/packages/methods/authoring/method-improvement.js +0 -217
  331. package/dist/packages/methods/index.d.ts +0 -2
  332. package/dist/packages/methods/index.js +0 -2
  333. package/dist/packages/methods/method-resolution.d.ts +0 -6
  334. package/dist/packages/methods/method-resolution.js +0 -7
  335. package/dist/packages/methods/package/builtin-compiled-method.d.ts +0 -37
  336. package/dist/packages/methods/package/builtin-compiled-method.js +0 -91
  337. package/dist/packages/methods/package/interf-method-package.d.ts +0 -31
  338. package/dist/packages/methods/package/interf-method-package.js +0 -466
  339. package/dist/packages/methods/package/local-methods.d.ts +0 -73
  340. package/dist/packages/methods/package/local-methods.js +0 -457
  341. package/dist/packages/methods/package/method-definitions.d.ts +0 -61
  342. package/dist/packages/methods/package/method-definitions.js +0 -214
  343. package/dist/packages/methods/package/method-review-paths.d.ts +0 -10
  344. package/dist/packages/methods/package/method-review-paths.js +0 -31
  345. package/dist/packages/methods/package/user-methods.d.ts +0 -17
  346. package/dist/packages/methods/package/user-methods.js +0 -77
  347. /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_buildManifest.js +0 -0
  348. /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_clientMiddlewareManifest.js +0 -0
  349. /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_ssgManifest.js +0 -0
  350. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/03~yq9q893hmn.js +0 -0
  351. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/0y5z3t-z1c8ks.js.map +0 -0
  352. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +0 -0
  353. /package/dist/{compiler-ui → interf-ui}/_next/static/media/GeistMono_Variable.p.17jn9btb_52pq.woff2 +0 -0
  354. /package/dist/{compiler-ui → interf-ui}/_next/static/media/Geist_Variable-s.p.0-te~ja_gpvcf.woff2 +0 -0
  355. /package/dist/{compiler-ui → interf-ui}/_next/static/media/worker.102zas1s52_pf.js +0 -0
  356. /package/dist/packages/{methods/authoring/lib/method-edit-utils.js → build-plans/authoring/lib/build-plan-edit-utils.js} +0 -0
  357. /package/dist/packages/{methods → build-plans}/package/lib/package-root.d.ts +0 -0
  358. /package/dist/packages/engine/{compile → build}/runtime-contracts.d.ts +0 -0
  359. /package/dist/packages/engine/{compile → build}/runtime-paths.d.ts +0 -0
  360. /package/dist/packages/engine/{compile → build}/runtime-prompt.d.ts +0 -0
  361. /package/dist/packages/engine/{compile → build}/runtime-runs.d.ts +0 -0
  362. /package/dist/packages/engine/{compile → build}/runtime-types.js +0 -0
  363. /package/dist/packages/engine/{compile → build}/runtime.d.ts +0 -0
  364. /package/dist/packages/engine/{compile → build}/runtime.js +0 -0
  365. /package/dist/packages/engine/{compile → build}/state-paths.d.ts +0 -0
  366. /package/dist/packages/engine/{compile → build}/validate-helpers.d.ts +0 -0
  367. /package/dist/packages/engine/{compile → build}/validate-helpers.js +0 -0
  368. /package/{LICENSE.md → public-repo/LICENSE.md} +0 -0
  369. /package/{TRADEMARKS.md → public-repo/TRADEMARKS.md} +0 -0
@@ -55,8 +55,58 @@ export declare const PreparationCreateRequestSchema: z.ZodObject<{
55
55
  }>;
56
56
  locator: z.ZodString;
57
57
  }, z.core.$strict>;
58
- method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ build_plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
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>>;
60
110
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
61
111
  id: z.ZodOptional<z.ZodString>;
62
112
  question: z.ZodString;
@@ -75,7 +125,7 @@ export declare const PreparationCreateRequestSchema: z.ZodObject<{
75
125
  }, z.core.$strict>;
76
126
  /** Body of `PATCH /v1/preparations/<id>` — update mutable preparation fields. */
77
127
  export declare const PreparationUpdateRequestSchema: z.ZodObject<{
78
- method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
+ build_plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
129
  about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
130
  checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
81
131
  id: z.ZodOptional<z.ZodString>;
@@ -90,14 +140,65 @@ export declare const PreparationUpdateRequestSchema: z.ZodObject<{
90
140
  }, z.core.$strip>>;
91
141
  strictness: z.ZodOptional<z.ZodString>;
92
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>>>;
93
193
  }, z.core.$strict>;
94
- /** Body of `POST /v1/methods` — install a Method package by path. */
95
- export declare const MethodInstallRequestSchema: z.ZodObject<{
194
+ /** Body of `POST /v1/build-plans` — save a Build Plan definition by path. */
195
+ export declare const BuildPlanSaveRequestSchema: z.ZodObject<{
96
196
  source_path: z.ZodString;
197
+ id: z.ZodOptional<z.ZodString>;
97
198
  overwrite: z.ZodDefault<z.ZodBoolean>;
98
199
  }, z.core.$strict>;
99
- export declare const MethodInstallResultSchema: z.ZodObject<{
100
- method_id: z.ZodString;
200
+ export declare const BuildPlanSaveResultSchema: z.ZodObject<{
201
+ build_plan_id: z.ZodString;
101
202
  installed: z.ZodBoolean;
102
203
  path: z.ZodString;
103
204
  }, z.core.$strict>;
@@ -114,10 +215,10 @@ export declare const PreparationWireShapeSchema: z.ZodObject<{
114
215
  }>;
115
216
  locator: z.ZodString;
116
217
  }, z.core.$strict>;
117
- method_id: z.ZodNullable<z.ZodString>;
218
+ build_plan_id: z.ZodNullable<z.ZodString>;
118
219
  about: z.ZodNullable<z.ZodString>;
119
220
  config_path: z.ZodString;
120
- portable_context: z.ZodObject<{
221
+ verifiable_context: z.ZodObject<{
121
222
  kind: z.ZodEnum<{
122
223
  "local-path": "local-path";
123
224
  "remote-url": "remote-url";
@@ -138,14 +239,64 @@ export declare const PreparationWireShapeSchema: z.ZodObject<{
138
239
  }, z.core.$strip>>;
139
240
  strictness: z.ZodOptional<z.ZodString>;
140
241
  }, z.core.$strict>>>;
242
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
243
+ id: z.ZodOptional<z.ZodString>;
244
+ title: z.ZodString;
245
+ purpose: z.ZodOptional<z.ZodString>;
246
+ description: z.ZodOptional<z.ZodString>;
247
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
248
+ label: z.ZodString;
249
+ }, z.core.$loose>]>>>;
250
+ output: z.ZodOptional<z.ZodObject<{
251
+ path: z.ZodOptional<z.ZodString>;
252
+ shape: z.ZodOptional<z.ZodObject<{
253
+ kind: z.ZodLiteral<"path">;
254
+ path: z.ZodString;
255
+ artifact_kind: z.ZodEnum<{
256
+ file: "file";
257
+ directory: "directory";
258
+ }>;
259
+ }, z.core.$strict>>;
260
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
261
+ id: z.ZodString;
262
+ kind: z.ZodEnum<{
263
+ file_exists: "file_exists";
264
+ min_file_count: "min_file_count";
265
+ min_file_count_matches_source: "min_file_count_matches_source";
266
+ frontmatter_valid: "frontmatter_valid";
267
+ frontmatter_required_keys: "frontmatter_required_keys";
268
+ wikilinks_valid: "wikilinks_valid";
269
+ must_not_contain: "must_not_contain";
270
+ must_contain: "must_contain";
271
+ qa_match: "qa_match";
272
+ }>;
273
+ description: z.ZodOptional<z.ZodString>;
274
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
275
+ required: z.ZodDefault<z.ZodBoolean>;
276
+ }, z.core.$strict>>>;
277
+ stage_hint: z.ZodOptional<z.ZodString>;
278
+ }, z.core.$strict>>;
279
+ }, z.core.$strict>>>>;
280
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
281
+ summary: z.ZodOptional<z.ZodString>;
282
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
283
+ name: z.ZodOptional<z.ZodString>;
284
+ path: z.ZodOptional<z.ZodString>;
285
+ kind: z.ZodOptional<z.ZodString>;
286
+ page_count: z.ZodOptional<z.ZodNumber>;
287
+ note: z.ZodOptional<z.ZodString>;
288
+ }, z.core.$loose>>>;
289
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
290
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
291
+ }, z.core.$loose>>>;
141
292
  }, z.core.$strict>;
142
293
  export type SourceBinding = z.infer<typeof SourceBindingSchema>;
143
294
  export type ArtifactLocator = z.infer<typeof ArtifactLocatorSchema>;
144
295
  export type InstanceResource = z.infer<typeof InstanceResourceSchema>;
145
296
  export type PreparationCreateRequest = z.infer<typeof PreparationCreateRequestSchema>;
146
297
  export type PreparationUpdateRequest = z.infer<typeof PreparationUpdateRequestSchema>;
147
- export type MethodInstallRequest = z.infer<typeof MethodInstallRequestSchema>;
148
- export type MethodInstallResult = z.infer<typeof MethodInstallResultSchema>;
298
+ export type BuildPlanSaveRequest = z.infer<typeof BuildPlanSaveRequestSchema>;
299
+ export type BuildPlanSaveResult = z.infer<typeof BuildPlanSaveResultSchema>;
149
300
  export type PreparationDeleteResponse = z.infer<typeof PreparationDeleteResponseSchema>;
150
301
  export type PreparationWireShape = z.infer<typeof PreparationWireShapeSchema>;
151
302
  /**
@@ -168,38 +319,23 @@ export declare const LocalServiceConfigSchema: z.ZodObject<{
168
319
  host: z.ZodDefault<z.ZodString>;
169
320
  port: z.ZodDefault<z.ZodNumber>;
170
321
  }, z.core.$strict>;
171
- export declare const ServiceRegistryWorkspaceSchema: z.ZodObject<{
172
- control_path: z.ZodString;
173
- registered_at: z.ZodString;
174
- last_activity: z.ZodString;
175
- }, z.core.$strict>;
176
- export declare const ServiceRegistryEntrySchema: z.ZodObject<{
322
+ export declare const ServiceRegistryEntrySchema: z.ZodPreprocess<z.ZodObject<{
177
323
  pid: z.ZodNumber;
178
324
  host: z.ZodString;
179
325
  port: z.ZodNumber;
180
326
  url: z.ZodString;
181
327
  started_at: z.ZodString;
182
328
  auth_token: z.ZodOptional<z.ZodString>;
183
- workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
184
- control_path: z.ZodString;
185
- registered_at: z.ZodString;
186
- last_activity: z.ZodString;
187
- }, z.core.$strict>>>;
188
- }, z.core.$strict>;
329
+ }, z.core.$strict>>;
189
330
  export declare const ServiceRegistrySchema: z.ZodObject<{
190
- services: z.ZodDefault<z.ZodArray<z.ZodObject<{
331
+ services: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
191
332
  pid: z.ZodNumber;
192
333
  host: z.ZodString;
193
334
  port: z.ZodNumber;
194
335
  url: z.ZodString;
195
336
  started_at: z.ZodString;
196
337
  auth_token: z.ZodOptional<z.ZodString>;
197
- workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
198
- control_path: z.ZodString;
199
- registered_at: z.ZodString;
200
- last_activity: z.ZodString;
201
- }, z.core.$strict>>>;
202
- }, z.core.$strict>>>;
338
+ }, z.core.$strict>>>>;
203
339
  }, z.core.$strict>;
204
340
  export declare const LocalServiceHealthSchema: z.ZodObject<{
205
341
  kind: z.ZodLiteral<"interf-local-service-health">;
@@ -213,11 +349,6 @@ export declare const LocalServiceHealthSchema: z.ZodObject<{
213
349
  started_at: z.ZodOptional<z.ZodString>;
214
350
  package_version: z.ZodOptional<z.ZodString>;
215
351
  instance_started_at: z.ZodOptional<z.ZodString>;
216
- registered_workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
217
- control_path: z.ZodString;
218
- registered_at: z.ZodString;
219
- last_activity: z.ZodString;
220
- }, z.core.$strict>>>;
221
352
  active_runs: z.ZodDefault<z.ZodNumber>;
222
353
  idle_for_seconds: z.ZodDefault<z.ZodNumber>;
223
354
  }, z.core.$strict>;
@@ -227,25 +358,16 @@ export declare const LocalServiceErrorSchema: z.ZodObject<{
227
358
  code: z.ZodOptional<z.ZodString>;
228
359
  }, z.core.$strict>;
229
360
  }, z.core.$strict>;
230
- export declare const LocalServicePointerSchema: z.ZodObject<{
231
- service_url: z.ZodString;
232
- host: z.ZodString;
233
- port: z.ZodNumber;
234
- pid: z.ZodNumber;
235
- control_path: z.ZodString;
236
- started_at: z.ZodString;
237
- auth_token: z.ZodOptional<z.ZodString>;
238
- }, z.core.$strict>;
239
- export declare const PortableContextMappingSchema: z.ZodObject<{
361
+ export declare const VerifiableContextMappingSchema: z.ZodObject<{
240
362
  preparation: z.ZodString;
241
363
  path: z.ZodNullable<z.ZodString>;
242
364
  exists: z.ZodBoolean;
243
- method_id: z.ZodNullable<z.ZodString>;
244
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
365
+ build_plan_id: z.ZodNullable<z.ZodString>;
366
+ latest_build_run_id: z.ZodNullable<z.ZodString>;
245
367
  latest_test_run_id: z.ZodNullable<z.ZodString>;
246
368
  }, z.core.$strict>;
247
369
  export declare const PreparationRunLinkageSchema: z.ZodObject<{
248
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
370
+ latest_build_run_id: z.ZodNullable<z.ZodString>;
249
371
  latest_test_run_id: z.ZodNullable<z.ZodString>;
250
372
  }, z.core.$strict>;
251
373
  export declare const PreparationResourceSchema: z.ZodObject<{
@@ -256,7 +378,7 @@ export declare const PreparationResourceSchema: z.ZodObject<{
256
378
  name: z.ZodString;
257
379
  path: z.ZodString;
258
380
  about: z.ZodOptional<z.ZodString>;
259
- method: z.ZodOptional<z.ZodString>;
381
+ build_plan: z.ZodOptional<z.ZodString>;
260
382
  max_attempts: z.ZodOptional<z.ZodNumber>;
261
383
  max_loops: z.ZodOptional<z.ZodNumber>;
262
384
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -272,9 +394,59 @@ export declare const PreparationResourceSchema: z.ZodObject<{
272
394
  }, z.core.$strip>>;
273
395
  strictness: z.ZodOptional<z.ZodString>;
274
396
  }, z.core.$strict>>>;
397
+ requested_artifacts: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
398
+ id: z.ZodOptional<z.ZodString>;
399
+ title: z.ZodString;
400
+ purpose: z.ZodOptional<z.ZodString>;
401
+ description: z.ZodOptional<z.ZodString>;
402
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
403
+ label: z.ZodString;
404
+ }, z.core.$loose>]>>>;
405
+ output: z.ZodOptional<z.ZodObject<{
406
+ path: z.ZodOptional<z.ZodString>;
407
+ shape: z.ZodOptional<z.ZodObject<{
408
+ kind: z.ZodLiteral<"path">;
409
+ path: z.ZodString;
410
+ artifact_kind: z.ZodEnum<{
411
+ file: "file";
412
+ directory: "directory";
413
+ }>;
414
+ }, z.core.$strict>>;
415
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
416
+ id: z.ZodString;
417
+ kind: z.ZodEnum<{
418
+ file_exists: "file_exists";
419
+ min_file_count: "min_file_count";
420
+ min_file_count_matches_source: "min_file_count_matches_source";
421
+ frontmatter_valid: "frontmatter_valid";
422
+ frontmatter_required_keys: "frontmatter_required_keys";
423
+ wikilinks_valid: "wikilinks_valid";
424
+ must_not_contain: "must_not_contain";
425
+ must_contain: "must_contain";
426
+ qa_match: "qa_match";
427
+ }>;
428
+ description: z.ZodOptional<z.ZodString>;
429
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
430
+ required: z.ZodDefault<z.ZodBoolean>;
431
+ }, z.core.$strict>>>;
432
+ stage_hint: z.ZodOptional<z.ZodString>;
433
+ }, z.core.$strict>>;
434
+ }, z.core.$strict>>>>;
435
+ source_profile: z.ZodOptional<z.ZodObject<{
436
+ summary: z.ZodOptional<z.ZodString>;
437
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
438
+ name: z.ZodOptional<z.ZodString>;
439
+ path: z.ZodOptional<z.ZodString>;
440
+ kind: z.ZodOptional<z.ZodString>;
441
+ page_count: z.ZodOptional<z.ZodNumber>;
442
+ note: z.ZodOptional<z.ZodString>;
443
+ }, z.core.$loose>>>;
444
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
445
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
446
+ }, z.core.$loose>>;
275
447
  }, z.core.$strict>;
276
448
  source_path: z.ZodString;
277
- method_id: z.ZodNullable<z.ZodString>;
449
+ build_plan_id: z.ZodNullable<z.ZodString>;
278
450
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
279
451
  id: z.ZodOptional<z.ZodString>;
280
452
  question: z.ZodString;
@@ -288,16 +460,66 @@ export declare const PreparationResourceSchema: z.ZodObject<{
288
460
  }, z.core.$strip>>;
289
461
  strictness: z.ZodOptional<z.ZodString>;
290
462
  }, z.core.$strict>>>;
291
- portable_context: z.ZodObject<{
463
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
464
+ id: z.ZodOptional<z.ZodString>;
465
+ title: z.ZodString;
466
+ purpose: z.ZodOptional<z.ZodString>;
467
+ description: z.ZodOptional<z.ZodString>;
468
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
469
+ label: z.ZodString;
470
+ }, z.core.$loose>]>>>;
471
+ output: z.ZodOptional<z.ZodObject<{
472
+ path: z.ZodOptional<z.ZodString>;
473
+ shape: z.ZodOptional<z.ZodObject<{
474
+ kind: z.ZodLiteral<"path">;
475
+ path: z.ZodString;
476
+ artifact_kind: z.ZodEnum<{
477
+ file: "file";
478
+ directory: "directory";
479
+ }>;
480
+ }, z.core.$strict>>;
481
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
482
+ id: z.ZodString;
483
+ kind: z.ZodEnum<{
484
+ file_exists: "file_exists";
485
+ min_file_count: "min_file_count";
486
+ min_file_count_matches_source: "min_file_count_matches_source";
487
+ frontmatter_valid: "frontmatter_valid";
488
+ frontmatter_required_keys: "frontmatter_required_keys";
489
+ wikilinks_valid: "wikilinks_valid";
490
+ must_not_contain: "must_not_contain";
491
+ must_contain: "must_contain";
492
+ qa_match: "qa_match";
493
+ }>;
494
+ description: z.ZodOptional<z.ZodString>;
495
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
496
+ required: z.ZodDefault<z.ZodBoolean>;
497
+ }, z.core.$strict>>>;
498
+ stage_hint: z.ZodOptional<z.ZodString>;
499
+ }, z.core.$strict>>;
500
+ }, z.core.$strict>>>>;
501
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
502
+ summary: z.ZodOptional<z.ZodString>;
503
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
504
+ name: z.ZodOptional<z.ZodString>;
505
+ path: z.ZodOptional<z.ZodString>;
506
+ kind: z.ZodOptional<z.ZodString>;
507
+ page_count: z.ZodOptional<z.ZodNumber>;
508
+ note: z.ZodOptional<z.ZodString>;
509
+ }, z.core.$loose>>>;
510
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
511
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
512
+ }, z.core.$loose>>>;
513
+ verifiable_context: z.ZodObject<{
292
514
  preparation: z.ZodString;
293
515
  path: z.ZodNullable<z.ZodString>;
294
516
  exists: z.ZodBoolean;
295
- method_id: z.ZodNullable<z.ZodString>;
296
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
517
+ build_plan_id: z.ZodNullable<z.ZodString>;
518
+ latest_build_run_id: z.ZodNullable<z.ZodString>;
297
519
  latest_test_run_id: z.ZodNullable<z.ZodString>;
298
520
  }, z.core.$strict>;
299
- portable_context_path: z.ZodNullable<z.ZodString>;
300
- readiness: z.ZodObject<{
521
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
522
+ readiness: z.ZodPreprocess<z.ZodObject<{
301
523
  kind: z.ZodLiteral<"interf-readiness-state">;
302
524
  version: z.ZodLiteral<1>;
303
525
  generated_at: z.ZodString;
@@ -315,14 +537,15 @@ export declare const PreparationResourceSchema: z.ZodObject<{
315
537
  }>;
316
538
  ready: z.ZodBoolean;
317
539
  summary: z.ZodString;
318
- portable_context_path: z.ZodNullable<z.ZodString>;
319
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
541
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
542
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
- compile: z.ZodNullable<z.ZodObject<{
543
+ build: z.ZodNullable<z.ZodObject<{
322
544
  gate: z.ZodEnum<{
323
- "portable-context": "portable-context";
545
+ "verifiable-context": "verifiable-context";
324
546
  "preparation-config": "preparation-config";
325
- "compile-run": "compile-run";
547
+ "build-run": "build-run";
548
+ "artifact-checks": "artifact-checks";
326
549
  "readiness-checks": "readiness-checks";
327
550
  "checks-current": "checks-current";
328
551
  }>;
@@ -355,7 +578,7 @@ export declare const PreparationResourceSchema: z.ZodObject<{
355
578
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
579
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
357
580
  }, z.core.$strict>>;
358
- portable_context: z.ZodNullable<z.ZodObject<{
581
+ verifiable_context: z.ZodNullable<z.ZodObject<{
359
582
  passed: z.ZodNumber;
360
583
  total: z.ZodNumber;
361
584
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -367,9 +590,10 @@ export declare const PreparationResourceSchema: z.ZodObject<{
367
590
  }, z.core.$strict>;
368
591
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
369
592
  gate: z.ZodEnum<{
370
- "portable-context": "portable-context";
593
+ "verifiable-context": "verifiable-context";
371
594
  "preparation-config": "preparation-config";
372
- "compile-run": "compile-run";
595
+ "build-run": "build-run";
596
+ "artifact-checks": "artifact-checks";
373
597
  "readiness-checks": "readiness-checks";
374
598
  "checks-current": "checks-current";
375
599
  }>;
@@ -390,12 +614,12 @@ export declare const PreparationResourceSchema: z.ZodObject<{
390
614
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
391
615
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
616
  }, z.core.$strict>>>;
393
- }, z.core.$strict>;
617
+ }, z.core.$strict>>;
394
618
  runs: z.ZodObject<{
395
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
619
+ latest_build_run_id: z.ZodNullable<z.ZodString>;
396
620
  latest_test_run_id: z.ZodNullable<z.ZodString>;
397
621
  }, z.core.$strict>;
398
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
622
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
399
623
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
624
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
401
625
  artifact_id: z.ZodString;
@@ -428,12 +652,23 @@ export declare const PreparationResourceSchema: z.ZodObject<{
428
652
  summary: z.ZodOptional<z.ZodString>;
429
653
  }, z.core.$strict>>>;
430
654
  }, z.core.$strict>;
431
- export declare const MethodResourceSchema: z.ZodObject<{
655
+ export declare const BuildPlanResourceSchema: z.ZodObject<{
432
656
  id: z.ZodString;
433
- method_id: z.ZodString;
657
+ build_plan_id: z.ZodString;
434
658
  path: z.ZodString;
435
659
  label: z.ZodOptional<z.ZodString>;
436
660
  hint: z.ZodOptional<z.ZodString>;
661
+ purpose: z.ZodOptional<z.ZodObject<{
662
+ label: z.ZodString;
663
+ task_hint: z.ZodString;
664
+ }, z.core.$strict>>;
665
+ inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
666
+ id: z.ZodString;
667
+ label: z.ZodString;
668
+ description: z.ZodString;
669
+ required: z.ZodDefault<z.ZodBoolean>;
670
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
671
+ }, z.core.$strict>>>;
437
672
  source_kind: z.ZodDefault<z.ZodEnum<{
438
673
  builtin: "builtin";
439
674
  local: "local";
@@ -481,9 +716,9 @@ export declare const MethodResourceSchema: z.ZodObject<{
481
716
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
482
717
  }, z.core.$strict>>>;
483
718
  }, z.core.$strict>;
484
- export declare const CompileRunCreateRequestSchema: z.ZodObject<{
719
+ export declare const BuildRunCreateRequestSchema: z.ZodObject<{
485
720
  preparation: z.ZodString;
486
- method: z.ZodOptional<z.ZodString>;
721
+ build_plan: z.ZodOptional<z.ZodString>;
487
722
  max_attempts: z.ZodOptional<z.ZodNumber>;
488
723
  max_loops: z.ZodOptional<z.ZodNumber>;
489
724
  preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
@@ -491,7 +726,7 @@ export declare const CompileRunCreateRequestSchema: z.ZodObject<{
491
726
  always: "always";
492
727
  }>>;
493
728
  }, z.core.$strict>;
494
- export declare const CompileRunSummarySchema: z.ZodObject<{
729
+ export declare const BuildRunSummarySchema: z.ZodObject<{
495
730
  run_id: z.ZodString;
496
731
  status: z.ZodEnum<{
497
732
  succeeded: "succeeded";
@@ -501,8 +736,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
501
736
  queued: "queued";
502
737
  }>;
503
738
  preparation: z.ZodString;
504
- method: z.ZodString;
505
- portable_context_path: z.ZodString;
739
+ build_plan: z.ZodString;
740
+ verifiable_context_path: z.ZodString;
506
741
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
507
742
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
743
  latest_event: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -511,11 +746,10 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
511
746
  timestamp: z.ZodString;
512
747
  type: z.ZodLiteral<"run.started">;
513
748
  preparation: z.ZodString;
514
- method: z.ZodString;
515
- portable_context_path: z.ZodString;
749
+ build_plan: z.ZodOptional<z.ZodString>;
750
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
516
751
  backend: z.ZodEnum<{
517
752
  native: "native";
518
- "workflow-sdk": "workflow-sdk";
519
753
  }>;
520
754
  }, z.core.$strict>, z.ZodObject<{
521
755
  event_id: z.ZodString;
@@ -636,8 +870,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
636
870
  passed: z.ZodNumber;
637
871
  total: z.ZodNumber;
638
872
  target: z.ZodOptional<z.ZodEnum<{
873
+ "verifiable-context": "verifiable-context";
639
874
  "source-files": "source-files";
640
- compiled: "compiled";
641
875
  }>>;
642
876
  checks_fingerprint: z.ZodOptional<z.ZodString>;
643
877
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -648,7 +882,7 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
648
882
  timestamp: z.ZodString;
649
883
  type: z.ZodLiteral<"readiness.updated">;
650
884
  preparation: z.ZodString;
651
- readiness: z.ZodObject<{
885
+ readiness: z.ZodPreprocess<z.ZodObject<{
652
886
  kind: z.ZodLiteral<"interf-readiness-state">;
653
887
  version: z.ZodLiteral<1>;
654
888
  generated_at: z.ZodString;
@@ -666,14 +900,15 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
666
900
  }>;
667
901
  ready: z.ZodBoolean;
668
902
  summary: z.ZodString;
669
- portable_context_path: z.ZodNullable<z.ZodString>;
670
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
903
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
904
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
671
905
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
672
- compile: z.ZodNullable<z.ZodObject<{
906
+ build: z.ZodNullable<z.ZodObject<{
673
907
  gate: z.ZodEnum<{
674
- "portable-context": "portable-context";
908
+ "verifiable-context": "verifiable-context";
675
909
  "preparation-config": "preparation-config";
676
- "compile-run": "compile-run";
910
+ "build-run": "build-run";
911
+ "artifact-checks": "artifact-checks";
677
912
  "readiness-checks": "readiness-checks";
678
913
  "checks-current": "checks-current";
679
914
  }>;
@@ -706,7 +941,7 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
706
941
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
707
942
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
708
943
  }, z.core.$strict>>;
709
- portable_context: z.ZodNullable<z.ZodObject<{
944
+ verifiable_context: z.ZodNullable<z.ZodObject<{
710
945
  passed: z.ZodNumber;
711
946
  total: z.ZodNumber;
712
947
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -718,9 +953,10 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
718
953
  }, z.core.$strict>;
719
954
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
720
955
  gate: z.ZodEnum<{
721
- "portable-context": "portable-context";
956
+ "verifiable-context": "verifiable-context";
722
957
  "preparation-config": "preparation-config";
723
- "compile-run": "compile-run";
958
+ "build-run": "build-run";
959
+ "artifact-checks": "artifact-checks";
724
960
  "readiness-checks": "readiness-checks";
725
961
  "checks-current": "checks-current";
726
962
  }>;
@@ -741,7 +977,7 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
741
977
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
742
978
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
979
  }, z.core.$strict>>>;
744
- }, z.core.$strict>;
980
+ }, z.core.$strict>>;
745
981
  }, z.core.$strict>], "type">>>;
746
982
  latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
747
983
  id: z.ZodString;
@@ -771,9 +1007,505 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
771
1007
  }, z.core.$strict>>>;
772
1008
  }, z.core.$strict>>>;
773
1009
  }, z.core.$strict>;
774
- export declare const CompileRunResourceSchema: z.ZodObject<{
1010
+ export declare const BuildRunSchema: z.ZodObject<{
1011
+ kind: z.ZodLiteral<"interf-build-run">;
1012
+ version: z.ZodLiteral<1>;
1013
+ run_id: z.ZodString;
1014
+ status: z.ZodEnum<{
1015
+ succeeded: "succeeded";
1016
+ failed: "failed";
1017
+ running: "running";
1018
+ cancelled: "cancelled";
1019
+ queued: "queued";
1020
+ }>;
1021
+ preparation: z.ZodString;
1022
+ build_plan: z.ZodString;
1023
+ backend: z.ZodString;
1024
+ source_path: z.ZodString;
1025
+ verifiable_context_path: z.ZodString;
1026
+ created_at: z.ZodString;
1027
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1029
+ stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1030
+ run_id: z.ZodString;
1031
+ stage_id: z.ZodString;
1032
+ stage_label: z.ZodOptional<z.ZodString>;
1033
+ stage_index: z.ZodOptional<z.ZodNumber>;
1034
+ stage_total: z.ZodOptional<z.ZodNumber>;
1035
+ status: z.ZodEnum<{
1036
+ succeeded: "succeeded";
1037
+ failed: "failed";
1038
+ running: "running";
1039
+ queued: "queued";
1040
+ }>;
1041
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1042
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1043
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1044
+ contract: z.ZodOptional<z.ZodObject<{
1045
+ stage_label: z.ZodOptional<z.ZodString>;
1046
+ stage_index: z.ZodOptional<z.ZodNumber>;
1047
+ stage_total: z.ZodOptional<z.ZodNumber>;
1048
+ reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
1049
+ writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
1050
+ }, z.core.$strict>>;
1051
+ executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1052
+ kind: z.ZodEnum<{
1053
+ "local-agent": "local-agent";
1054
+ "connected-provider": "connected-provider";
1055
+ managed: "managed";
1056
+ }>;
1057
+ name: z.ZodString;
1058
+ display_name: z.ZodString;
1059
+ command: z.ZodNullable<z.ZodString>;
1060
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
+ effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1062
+ profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1063
+ timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1064
+ }, z.core.$strip>>>;
1065
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1066
+ path: z.ZodString;
1067
+ role: z.ZodEnum<{
1068
+ runtime: "runtime";
1069
+ output: "output";
1070
+ source: "source";
1071
+ proof: "proof";
1072
+ test: "test";
1073
+ }>;
1074
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
+ label: z.ZodOptional<z.ZodString>;
1076
+ sha256: z.ZodOptional<z.ZodString>;
1077
+ }, z.core.$strict>>>;
1078
+ logs: z.ZodOptional<z.ZodObject<{
1079
+ prompt_path: z.ZodOptional<z.ZodString>;
1080
+ event_stream_path: z.ZodOptional<z.ZodString>;
1081
+ status_path: z.ZodOptional<z.ZodString>;
1082
+ contract_path: z.ZodOptional<z.ZodString>;
1083
+ }, z.core.$strict>>;
1084
+ latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1085
+ id: z.ZodString;
1086
+ run_id: z.ZodString;
1087
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
+ generated_at: z.ZodString;
1089
+ summary: z.ZodString;
1090
+ files_processed: z.ZodOptional<z.ZodNumber>;
1091
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1092
+ path: z.ZodString;
1093
+ role: z.ZodEnum<{
1094
+ runtime: "runtime";
1095
+ output: "output";
1096
+ source: "source";
1097
+ proof: "proof";
1098
+ test: "test";
1099
+ }>;
1100
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1101
+ label: z.ZodOptional<z.ZodString>;
1102
+ sha256: z.ZodOptional<z.ZodString>;
1103
+ }, z.core.$strict>>>;
1104
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1105
+ id: z.ZodString;
1106
+ label: z.ZodString;
1107
+ ok: z.ZodBoolean;
1108
+ detail: z.ZodOptional<z.ZodString>;
1109
+ }, z.core.$strict>>>;
1110
+ }, z.core.$strict>>>;
1111
+ failure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1112
+ }, z.core.$strict>>>;
1113
+ events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1114
+ event_id: z.ZodString;
1115
+ run_id: z.ZodString;
1116
+ timestamp: z.ZodString;
1117
+ type: z.ZodLiteral<"run.started">;
1118
+ preparation: z.ZodString;
1119
+ build_plan: z.ZodOptional<z.ZodString>;
1120
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
1121
+ backend: z.ZodEnum<{
1122
+ native: "native";
1123
+ }>;
1124
+ }, z.core.$strict>, z.ZodObject<{
1125
+ event_id: z.ZodString;
1126
+ run_id: z.ZodString;
1127
+ timestamp: z.ZodString;
1128
+ type: z.ZodLiteral<"stage.started">;
1129
+ stage_id: z.ZodString;
1130
+ stage_index: z.ZodOptional<z.ZodNumber>;
1131
+ stage_total: z.ZodOptional<z.ZodNumber>;
1132
+ }, z.core.$strict>, z.ZodObject<{
1133
+ event_id: z.ZodString;
1134
+ run_id: z.ZodString;
1135
+ timestamp: z.ZodString;
1136
+ type: z.ZodLiteral<"file.processed">;
1137
+ stage_id: z.ZodString;
1138
+ path: z.ZodString;
1139
+ }, z.core.$strict>, z.ZodObject<{
1140
+ event_id: z.ZodString;
1141
+ run_id: z.ZodString;
1142
+ timestamp: z.ZodString;
1143
+ type: z.ZodLiteral<"artifact.written">;
1144
+ stage_id: z.ZodString;
1145
+ artifact: z.ZodObject<{
1146
+ path: z.ZodString;
1147
+ role: z.ZodEnum<{
1148
+ runtime: "runtime";
1149
+ output: "output";
1150
+ source: "source";
1151
+ proof: "proof";
1152
+ test: "test";
1153
+ }>;
1154
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
+ label: z.ZodOptional<z.ZodString>;
1156
+ sha256: z.ZodOptional<z.ZodString>;
1157
+ }, z.core.$strict>;
1158
+ }, z.core.$strict>, z.ZodObject<{
1159
+ event_id: z.ZodString;
1160
+ run_id: z.ZodString;
1161
+ timestamp: z.ZodString;
1162
+ type: z.ZodLiteral<"proof.updated">;
1163
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
+ proof: z.ZodObject<{
1165
+ id: z.ZodString;
1166
+ run_id: z.ZodString;
1167
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1168
+ generated_at: z.ZodString;
1169
+ summary: z.ZodString;
1170
+ files_processed: z.ZodOptional<z.ZodNumber>;
1171
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1172
+ path: z.ZodString;
1173
+ role: z.ZodEnum<{
1174
+ runtime: "runtime";
1175
+ output: "output";
1176
+ source: "source";
1177
+ proof: "proof";
1178
+ test: "test";
1179
+ }>;
1180
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1181
+ label: z.ZodOptional<z.ZodString>;
1182
+ sha256: z.ZodOptional<z.ZodString>;
1183
+ }, z.core.$strict>>>;
1184
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1185
+ id: z.ZodString;
1186
+ label: z.ZodString;
1187
+ ok: z.ZodBoolean;
1188
+ detail: z.ZodOptional<z.ZodString>;
1189
+ }, z.core.$strict>>>;
1190
+ }, z.core.$strict>;
1191
+ }, z.core.$strict>, z.ZodObject<{
1192
+ event_id: z.ZodString;
1193
+ run_id: z.ZodString;
1194
+ timestamp: z.ZodString;
1195
+ type: z.ZodLiteral<"log.appended">;
1196
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1197
+ stream: z.ZodEnum<{
1198
+ status: "status";
1199
+ trace: "trace";
1200
+ system: "system";
1201
+ }>;
1202
+ message: z.ZodString;
1203
+ }, z.core.$strict>, z.ZodObject<{
1204
+ event_id: z.ZodString;
1205
+ run_id: z.ZodString;
1206
+ timestamp: z.ZodString;
1207
+ type: z.ZodLiteral<"stage.passed">;
1208
+ stage_id: z.ZodString;
1209
+ summary: z.ZodOptional<z.ZodString>;
1210
+ }, z.core.$strict>, z.ZodObject<{
1211
+ event_id: z.ZodString;
1212
+ run_id: z.ZodString;
1213
+ timestamp: z.ZodString;
1214
+ type: z.ZodLiteral<"stage.failed">;
1215
+ stage_id: z.ZodString;
1216
+ error: z.ZodString;
1217
+ }, z.core.$strict>, z.ZodObject<{
1218
+ event_id: z.ZodString;
1219
+ run_id: z.ZodString;
1220
+ timestamp: z.ZodString;
1221
+ type: z.ZodLiteral<"run.completed">;
1222
+ summary: z.ZodOptional<z.ZodString>;
1223
+ }, z.core.$strict>, z.ZodObject<{
1224
+ event_id: z.ZodString;
1225
+ run_id: z.ZodString;
1226
+ timestamp: z.ZodString;
1227
+ type: z.ZodLiteral<"run.failed">;
1228
+ error: z.ZodString;
1229
+ }, z.core.$strict>, z.ZodObject<{
1230
+ event_id: z.ZodString;
1231
+ run_id: z.ZodString;
1232
+ timestamp: z.ZodString;
1233
+ type: z.ZodLiteral<"run.cancelled">;
1234
+ reason: z.ZodOptional<z.ZodString>;
1235
+ }, z.core.$strict>, z.ZodObject<{
1236
+ event_id: z.ZodString;
1237
+ run_id: z.ZodString;
1238
+ timestamp: z.ZodString;
1239
+ type: z.ZodLiteral<"checks.evaluated">;
1240
+ passed: z.ZodNumber;
1241
+ total: z.ZodNumber;
1242
+ target: z.ZodOptional<z.ZodEnum<{
1243
+ "verifiable-context": "verifiable-context";
1244
+ "source-files": "source-files";
1245
+ }>>;
1246
+ checks_fingerprint: z.ZodOptional<z.ZodString>;
1247
+ stale: z.ZodOptional<z.ZodBoolean>;
1248
+ test_run_id: z.ZodOptional<z.ZodString>;
1249
+ }, z.core.$strict>, z.ZodObject<{
1250
+ event_id: z.ZodString;
1251
+ run_id: z.ZodString;
1252
+ timestamp: z.ZodString;
1253
+ type: z.ZodLiteral<"readiness.updated">;
1254
+ preparation: z.ZodString;
1255
+ readiness: z.ZodPreprocess<z.ZodObject<{
1256
+ kind: z.ZodLiteral<"interf-readiness-state">;
1257
+ version: z.ZodLiteral<1>;
1258
+ generated_at: z.ZodString;
1259
+ preparation: z.ZodString;
1260
+ status: z.ZodEnum<{
1261
+ ready: "ready";
1262
+ failed: "failed";
1263
+ "not-configured": "not-configured";
1264
+ "not-built": "not-built";
1265
+ building: "building";
1266
+ built: "built";
1267
+ checking: "checking";
1268
+ "not-ready": "not-ready";
1269
+ stale: "stale";
1270
+ }>;
1271
+ ready: z.ZodBoolean;
1272
+ summary: z.ZodString;
1273
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1274
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
+ latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1276
+ build: z.ZodNullable<z.ZodObject<{
1277
+ gate: z.ZodEnum<{
1278
+ "verifiable-context": "verifiable-context";
1279
+ "preparation-config": "preparation-config";
1280
+ "build-run": "build-run";
1281
+ "artifact-checks": "artifact-checks";
1282
+ "readiness-checks": "readiness-checks";
1283
+ "checks-current": "checks-current";
1284
+ }>;
1285
+ ok: z.ZodBoolean;
1286
+ status: z.ZodOptional<z.ZodEnum<{
1287
+ ready: "ready";
1288
+ failed: "failed";
1289
+ "not-configured": "not-configured";
1290
+ "not-built": "not-built";
1291
+ building: "building";
1292
+ built: "built";
1293
+ checking: "checking";
1294
+ "not-ready": "not-ready";
1295
+ stale: "stale";
1296
+ }>>;
1297
+ summary: z.ZodString;
1298
+ detail: z.ZodOptional<z.ZodString>;
1299
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1300
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1301
+ }, z.core.$strict>>;
1302
+ check_results: z.ZodObject<{
1303
+ configured: z.ZodNumber;
1304
+ fingerprint: z.ZodNullable<z.ZodString>;
1305
+ source_files: z.ZodNullable<z.ZodObject<{
1306
+ passed: z.ZodNumber;
1307
+ total: z.ZodNumber;
1308
+ pass_rate: z.ZodNullable<z.ZodNumber>;
1309
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
+ stale: z.ZodDefault<z.ZodBoolean>;
1311
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1312
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1313
+ }, z.core.$strict>>;
1314
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1315
+ passed: z.ZodNumber;
1316
+ total: z.ZodNumber;
1317
+ pass_rate: z.ZodNullable<z.ZodNumber>;
1318
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1319
+ stale: z.ZodDefault<z.ZodBoolean>;
1320
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1321
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1322
+ }, z.core.$strict>>;
1323
+ }, z.core.$strict>;
1324
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1325
+ gate: z.ZodEnum<{
1326
+ "verifiable-context": "verifiable-context";
1327
+ "preparation-config": "preparation-config";
1328
+ "build-run": "build-run";
1329
+ "artifact-checks": "artifact-checks";
1330
+ "readiness-checks": "readiness-checks";
1331
+ "checks-current": "checks-current";
1332
+ }>;
1333
+ ok: z.ZodBoolean;
1334
+ status: z.ZodOptional<z.ZodEnum<{
1335
+ ready: "ready";
1336
+ failed: "failed";
1337
+ "not-configured": "not-configured";
1338
+ "not-built": "not-built";
1339
+ building: "building";
1340
+ built: "built";
1341
+ checking: "checking";
1342
+ "not-ready": "not-ready";
1343
+ stale: "stale";
1344
+ }>>;
1345
+ summary: z.ZodString;
1346
+ detail: z.ZodOptional<z.ZodString>;
1347
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1348
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1349
+ }, z.core.$strict>>>;
1350
+ }, z.core.$strict>>;
1351
+ }, z.core.$strict>], "type">>>;
1352
+ latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1353
+ id: z.ZodString;
1354
+ run_id: z.ZodString;
1355
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1356
+ generated_at: z.ZodString;
1357
+ summary: z.ZodString;
1358
+ files_processed: z.ZodOptional<z.ZodNumber>;
1359
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1360
+ path: z.ZodString;
1361
+ role: z.ZodEnum<{
1362
+ runtime: "runtime";
1363
+ output: "output";
1364
+ source: "source";
1365
+ proof: "proof";
1366
+ test: "test";
1367
+ }>;
1368
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1369
+ label: z.ZodOptional<z.ZodString>;
1370
+ sha256: z.ZodOptional<z.ZodString>;
1371
+ }, z.core.$strict>>>;
1372
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1373
+ id: z.ZodString;
1374
+ label: z.ZodString;
1375
+ ok: z.ZodBoolean;
1376
+ detail: z.ZodOptional<z.ZodString>;
1377
+ }, z.core.$strict>>>;
1378
+ }, z.core.$strict>>>;
1379
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
1380
+ kind: z.ZodLiteral<"interf-readiness-state">;
1381
+ version: z.ZodLiteral<1>;
1382
+ generated_at: z.ZodString;
1383
+ preparation: z.ZodString;
1384
+ status: z.ZodEnum<{
1385
+ ready: "ready";
1386
+ failed: "failed";
1387
+ "not-configured": "not-configured";
1388
+ "not-built": "not-built";
1389
+ building: "building";
1390
+ built: "built";
1391
+ checking: "checking";
1392
+ "not-ready": "not-ready";
1393
+ stale: "stale";
1394
+ }>;
1395
+ ready: z.ZodBoolean;
1396
+ summary: z.ZodString;
1397
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1398
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1399
+ latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1400
+ build: z.ZodNullable<z.ZodObject<{
1401
+ gate: z.ZodEnum<{
1402
+ "verifiable-context": "verifiable-context";
1403
+ "preparation-config": "preparation-config";
1404
+ "build-run": "build-run";
1405
+ "artifact-checks": "artifact-checks";
1406
+ "readiness-checks": "readiness-checks";
1407
+ "checks-current": "checks-current";
1408
+ }>;
1409
+ ok: z.ZodBoolean;
1410
+ status: z.ZodOptional<z.ZodEnum<{
1411
+ ready: "ready";
1412
+ failed: "failed";
1413
+ "not-configured": "not-configured";
1414
+ "not-built": "not-built";
1415
+ building: "building";
1416
+ built: "built";
1417
+ checking: "checking";
1418
+ "not-ready": "not-ready";
1419
+ stale: "stale";
1420
+ }>>;
1421
+ summary: z.ZodString;
1422
+ detail: z.ZodOptional<z.ZodString>;
1423
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1425
+ }, z.core.$strict>>;
1426
+ check_results: z.ZodObject<{
1427
+ configured: z.ZodNumber;
1428
+ fingerprint: z.ZodNullable<z.ZodString>;
1429
+ source_files: z.ZodNullable<z.ZodObject<{
1430
+ passed: z.ZodNumber;
1431
+ total: z.ZodNumber;
1432
+ pass_rate: z.ZodNullable<z.ZodNumber>;
1433
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
+ stale: z.ZodDefault<z.ZodBoolean>;
1435
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1436
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1437
+ }, z.core.$strict>>;
1438
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1439
+ passed: z.ZodNumber;
1440
+ total: z.ZodNumber;
1441
+ pass_rate: z.ZodNullable<z.ZodNumber>;
1442
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
+ stale: z.ZodDefault<z.ZodBoolean>;
1444
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1445
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1446
+ }, z.core.$strict>>;
1447
+ }, z.core.$strict>;
1448
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1449
+ gate: z.ZodEnum<{
1450
+ "verifiable-context": "verifiable-context";
1451
+ "preparation-config": "preparation-config";
1452
+ "build-run": "build-run";
1453
+ "artifact-checks": "artifact-checks";
1454
+ "readiness-checks": "readiness-checks";
1455
+ "checks-current": "checks-current";
1456
+ }>;
1457
+ ok: z.ZodBoolean;
1458
+ status: z.ZodOptional<z.ZodEnum<{
1459
+ ready: "ready";
1460
+ failed: "failed";
1461
+ "not-configured": "not-configured";
1462
+ "not-built": "not-built";
1463
+ building: "building";
1464
+ built: "built";
1465
+ checking: "checking";
1466
+ "not-ready": "not-ready";
1467
+ stale: "stale";
1468
+ }>>;
1469
+ summary: z.ZodString;
1470
+ detail: z.ZodOptional<z.ZodString>;
1471
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1472
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1473
+ }, z.core.$strict>>>;
1474
+ }, z.core.$strict>>>>;
1475
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1476
+ artifact_id: z.ZodString;
1477
+ status: z.ZodEnum<{
1478
+ ready: "ready";
1479
+ not_ready: "not_ready";
1480
+ failed: "failed";
1481
+ skipped: "skipped";
1482
+ }>;
1483
+ built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
1484
+ proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1485
+ check_id: z.ZodString;
1486
+ kind: z.ZodEnum<{
1487
+ file_exists: "file_exists";
1488
+ min_file_count: "min_file_count";
1489
+ min_file_count_matches_source: "min_file_count_matches_source";
1490
+ frontmatter_valid: "frontmatter_valid";
1491
+ frontmatter_required_keys: "frontmatter_required_keys";
1492
+ wikilinks_valid: "wikilinks_valid";
1493
+ must_not_contain: "must_not_contain";
1494
+ must_contain: "must_contain";
1495
+ qa_match: "qa_match";
1496
+ }>;
1497
+ passed: z.ZodBoolean;
1498
+ required: z.ZodBoolean;
1499
+ summary: z.ZodString;
1500
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1501
+ evaluated_at: z.ZodString;
1502
+ }, z.core.$strict>>>;
1503
+ summary: z.ZodOptional<z.ZodString>;
1504
+ }, z.core.$strict>>>;
1505
+ }, z.core.$strict>;
1506
+ export declare const BuildRunResourceSchema: z.ZodObject<{
775
1507
  run: z.ZodObject<{
776
- kind: z.ZodLiteral<"interf-compile-run">;
1508
+ kind: z.ZodLiteral<"interf-build-run">;
777
1509
  version: z.ZodLiteral<1>;
778
1510
  run_id: z.ZodString;
779
1511
  status: z.ZodEnum<{
@@ -784,13 +1516,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
784
1516
  queued: "queued";
785
1517
  }>;
786
1518
  preparation: z.ZodString;
787
- method: z.ZodString;
788
- backend: z.ZodEnum<{
789
- native: "native";
790
- "workflow-sdk": "workflow-sdk";
791
- }>;
1519
+ build_plan: z.ZodString;
1520
+ backend: z.ZodString;
792
1521
  source_path: z.ZodString;
793
- portable_context_path: z.ZodString;
1522
+ verifiable_context_path: z.ZodString;
794
1523
  created_at: z.ZodString;
795
1524
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
796
1525
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -884,11 +1613,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
884
1613
  timestamp: z.ZodString;
885
1614
  type: z.ZodLiteral<"run.started">;
886
1615
  preparation: z.ZodString;
887
- method: z.ZodString;
888
- portable_context_path: z.ZodString;
1616
+ build_plan: z.ZodOptional<z.ZodString>;
1617
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
889
1618
  backend: z.ZodEnum<{
890
1619
  native: "native";
891
- "workflow-sdk": "workflow-sdk";
892
1620
  }>;
893
1621
  }, z.core.$strict>, z.ZodObject<{
894
1622
  event_id: z.ZodString;
@@ -1009,8 +1737,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1009
1737
  passed: z.ZodNumber;
1010
1738
  total: z.ZodNumber;
1011
1739
  target: z.ZodOptional<z.ZodEnum<{
1740
+ "verifiable-context": "verifiable-context";
1012
1741
  "source-files": "source-files";
1013
- compiled: "compiled";
1014
1742
  }>>;
1015
1743
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1016
1744
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -1021,7 +1749,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1021
1749
  timestamp: z.ZodString;
1022
1750
  type: z.ZodLiteral<"readiness.updated">;
1023
1751
  preparation: z.ZodString;
1024
- readiness: z.ZodObject<{
1752
+ readiness: z.ZodPreprocess<z.ZodObject<{
1025
1753
  kind: z.ZodLiteral<"interf-readiness-state">;
1026
1754
  version: z.ZodLiteral<1>;
1027
1755
  generated_at: z.ZodString;
@@ -1039,14 +1767,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1039
1767
  }>;
1040
1768
  ready: z.ZodBoolean;
1041
1769
  summary: z.ZodString;
1042
- portable_context_path: z.ZodNullable<z.ZodString>;
1043
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1770
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1771
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1044
1772
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
- compile: z.ZodNullable<z.ZodObject<{
1773
+ build: z.ZodNullable<z.ZodObject<{
1046
1774
  gate: z.ZodEnum<{
1047
- "portable-context": "portable-context";
1775
+ "verifiable-context": "verifiable-context";
1048
1776
  "preparation-config": "preparation-config";
1049
- "compile-run": "compile-run";
1777
+ "build-run": "build-run";
1778
+ "artifact-checks": "artifact-checks";
1050
1779
  "readiness-checks": "readiness-checks";
1051
1780
  "checks-current": "checks-current";
1052
1781
  }>;
@@ -1079,7 +1808,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1079
1808
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1080
1809
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
1810
  }, z.core.$strict>>;
1082
- portable_context: z.ZodNullable<z.ZodObject<{
1811
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1083
1812
  passed: z.ZodNumber;
1084
1813
  total: z.ZodNumber;
1085
1814
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -1091,9 +1820,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1091
1820
  }, z.core.$strict>;
1092
1821
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1093
1822
  gate: z.ZodEnum<{
1094
- "portable-context": "portable-context";
1823
+ "verifiable-context": "verifiable-context";
1095
1824
  "preparation-config": "preparation-config";
1096
- "compile-run": "compile-run";
1825
+ "build-run": "build-run";
1826
+ "artifact-checks": "artifact-checks";
1097
1827
  "readiness-checks": "readiness-checks";
1098
1828
  "checks-current": "checks-current";
1099
1829
  }>;
@@ -1114,7 +1844,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1114
1844
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
1845
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
1846
  }, z.core.$strict>>>;
1117
- }, z.core.$strict>;
1847
+ }, z.core.$strict>>;
1118
1848
  }, z.core.$strict>], "type">>>;
1119
1849
  latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1120
1850
  id: z.ZodString;
@@ -1143,7 +1873,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1143
1873
  detail: z.ZodOptional<z.ZodString>;
1144
1874
  }, z.core.$strict>>>;
1145
1875
  }, z.core.$strict>>>;
1146
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1876
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
1147
1877
  kind: z.ZodLiteral<"interf-readiness-state">;
1148
1878
  version: z.ZodLiteral<1>;
1149
1879
  generated_at: z.ZodString;
@@ -1161,14 +1891,15 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1161
1891
  }>;
1162
1892
  ready: z.ZodBoolean;
1163
1893
  summary: z.ZodString;
1164
- portable_context_path: z.ZodNullable<z.ZodString>;
1165
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1894
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1895
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
1896
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1167
- compile: z.ZodNullable<z.ZodObject<{
1897
+ build: z.ZodNullable<z.ZodObject<{
1168
1898
  gate: z.ZodEnum<{
1169
- "portable-context": "portable-context";
1899
+ "verifiable-context": "verifiable-context";
1170
1900
  "preparation-config": "preparation-config";
1171
- "compile-run": "compile-run";
1901
+ "build-run": "build-run";
1902
+ "artifact-checks": "artifact-checks";
1172
1903
  "readiness-checks": "readiness-checks";
1173
1904
  "checks-current": "checks-current";
1174
1905
  }>;
@@ -1201,7 +1932,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1201
1932
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1202
1933
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1203
1934
  }, z.core.$strict>>;
1204
- portable_context: z.ZodNullable<z.ZodObject<{
1935
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1205
1936
  passed: z.ZodNumber;
1206
1937
  total: z.ZodNumber;
1207
1938
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -1213,9 +1944,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1213
1944
  }, z.core.$strict>;
1214
1945
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1215
1946
  gate: z.ZodEnum<{
1216
- "portable-context": "portable-context";
1947
+ "verifiable-context": "verifiable-context";
1217
1948
  "preparation-config": "preparation-config";
1218
- "compile-run": "compile-run";
1949
+ "build-run": "build-run";
1950
+ "artifact-checks": "artifact-checks";
1219
1951
  "readiness-checks": "readiness-checks";
1220
1952
  "checks-current": "checks-current";
1221
1953
  }>;
@@ -1236,7 +1968,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1236
1968
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1237
1969
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1238
1970
  }, z.core.$strict>>>;
1239
- }, z.core.$strict>>>;
1971
+ }, z.core.$strict>>>>;
1240
1972
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1241
1973
  artifact_id: z.ZodString;
1242
1974
  status: z.ZodEnum<{
@@ -1270,9 +2002,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1270
2002
  }, z.core.$strict>;
1271
2003
  }, z.core.$strict>;
1272
2004
  export declare const LocalJobTypeSchema: z.ZodEnum<{
1273
- "method-authoring": "method-authoring";
1274
- "method-improvement": "method-improvement";
2005
+ "build-plan-improvement": "build-plan-improvement";
1275
2006
  "readiness-check-draft": "readiness-check-draft";
2007
+ "build-plan-draft": "build-plan-draft";
1276
2008
  }>;
1277
2009
  export declare const RunStatusSchema: z.ZodEnum<{
1278
2010
  succeeded: "succeeded";
@@ -1291,20 +2023,20 @@ export declare const LocalJobStatusSchema: z.ZodEnum<{
1291
2023
  export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1292
2024
  ok: z.ZodBoolean;
1293
2025
  error: z.ZodOptional<z.ZodString>;
1294
- readiness_run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2026
+ readiness_run: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
1295
2027
  kind: z.ZodLiteral<"interf-readiness-check-run">;
1296
2028
  version: z.ZodLiteral<1>;
1297
2029
  generated_at: z.ZodString;
1298
2030
  mode: z.ZodEnum<{
2031
+ "verifiable-context": "verifiable-context";
1299
2032
  "source-files": "source-files";
1300
- compiled: "compiled";
1301
2033
  both: "both";
1302
2034
  }>;
1303
2035
  source_path: z.ZodString;
1304
2036
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1305
2037
  preparation: z.ZodObject<{
1306
2038
  name: z.ZodString;
1307
- portable_context_path: z.ZodNullable<z.ZodString>;
2039
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1308
2040
  }, z.core.$strip>;
1309
2041
  source_files: z.ZodNullable<z.ZodObject<{
1310
2042
  label: z.ZodString;
@@ -1316,15 +2048,15 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1316
2048
  total_checks: z.ZodNumber;
1317
2049
  target: z.ZodObject<{
1318
2050
  type: z.ZodEnum<{
2051
+ "verifiable-context": "verifiable-context";
1319
2052
  "source-files": "source-files";
1320
- compiled: "compiled";
1321
2053
  }>;
1322
2054
  name: z.ZodString;
1323
2055
  path: z.ZodString;
1324
- method: z.ZodString;
2056
+ build_plan: z.ZodString;
1325
2057
  }, z.core.$strip>;
1326
2058
  }, z.core.$strip>>;
1327
- compiled: z.ZodNullable<z.ZodObject<{
2059
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1328
2060
  label: z.ZodString;
1329
2061
  run_path: z.ZodString;
1330
2062
  ok: z.ZodBoolean;
@@ -1334,19 +2066,19 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1334
2066
  total_checks: z.ZodNumber;
1335
2067
  target: z.ZodObject<{
1336
2068
  type: z.ZodEnum<{
2069
+ "verifiable-context": "verifiable-context";
1337
2070
  "source-files": "source-files";
1338
- compiled: "compiled";
1339
2071
  }>;
1340
2072
  name: z.ZodString;
1341
2073
  path: z.ZodString;
1342
- method: z.ZodString;
2074
+ build_plan: z.ZodString;
1343
2075
  }, z.core.$strip>;
1344
2076
  }, z.core.$strip>>;
1345
2077
  summary: z.ZodObject<{
1346
2078
  source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
1347
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
2079
+ verifiable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
1348
2080
  }, z.core.$strip>;
1349
- }, z.core.$strip>>>;
2081
+ }, z.core.$strip>>>>;
1350
2082
  }, z.core.$strict>;
1351
2083
  export declare const LocalJobAgentSchema: z.ZodObject<{
1352
2084
  name: z.ZodString;
@@ -1419,13 +2151,13 @@ export declare const LocalJobEventSchema: z.ZodObject<{
1419
2151
  }, z.core.$strict>;
1420
2152
  export declare const LocalJobRunCreateRequestSchema: z.ZodObject<{
1421
2153
  job_type: z.ZodEnum<{
1422
- "method-authoring": "method-authoring";
1423
- "method-improvement": "method-improvement";
2154
+ "build-plan-improvement": "build-plan-improvement";
1424
2155
  "readiness-check-draft": "readiness-check-draft";
2156
+ "build-plan-draft": "build-plan-draft";
1425
2157
  }>;
1426
2158
  title: z.ZodString;
1427
2159
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1428
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2160
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1429
2161
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1430
2162
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1431
2163
  agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1445,7 +2177,7 @@ export declare const PreparationSetupCreateRequestSchema: z.ZodObject<{
1445
2177
  name: z.ZodString;
1446
2178
  path: z.ZodString;
1447
2179
  about: z.ZodOptional<z.ZodString>;
1448
- method: z.ZodOptional<z.ZodString>;
2180
+ build_plan: z.ZodOptional<z.ZodString>;
1449
2181
  max_attempts: z.ZodOptional<z.ZodNumber>;
1450
2182
  max_loops: z.ZodOptional<z.ZodNumber>;
1451
2183
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1461,11 +2193,61 @@ export declare const PreparationSetupCreateRequestSchema: z.ZodObject<{
1461
2193
  }, z.core.$strip>>;
1462
2194
  strictness: z.ZodOptional<z.ZodString>;
1463
2195
  }, z.core.$strict>>>;
2196
+ requested_artifacts: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
2197
+ id: z.ZodOptional<z.ZodString>;
2198
+ title: z.ZodString;
2199
+ purpose: z.ZodOptional<z.ZodString>;
2200
+ description: z.ZodOptional<z.ZodString>;
2201
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2202
+ label: z.ZodString;
2203
+ }, z.core.$loose>]>>>;
2204
+ output: z.ZodOptional<z.ZodObject<{
2205
+ path: z.ZodOptional<z.ZodString>;
2206
+ shape: z.ZodOptional<z.ZodObject<{
2207
+ kind: z.ZodLiteral<"path">;
2208
+ path: z.ZodString;
2209
+ artifact_kind: z.ZodEnum<{
2210
+ file: "file";
2211
+ directory: "directory";
2212
+ }>;
2213
+ }, z.core.$strict>>;
2214
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2215
+ id: z.ZodString;
2216
+ kind: z.ZodEnum<{
2217
+ file_exists: "file_exists";
2218
+ min_file_count: "min_file_count";
2219
+ min_file_count_matches_source: "min_file_count_matches_source";
2220
+ frontmatter_valid: "frontmatter_valid";
2221
+ frontmatter_required_keys: "frontmatter_required_keys";
2222
+ wikilinks_valid: "wikilinks_valid";
2223
+ must_not_contain: "must_not_contain";
2224
+ must_contain: "must_contain";
2225
+ qa_match: "qa_match";
2226
+ }>;
2227
+ description: z.ZodOptional<z.ZodString>;
2228
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2229
+ required: z.ZodDefault<z.ZodBoolean>;
2230
+ }, z.core.$strict>>>;
2231
+ stage_hint: z.ZodOptional<z.ZodString>;
2232
+ }, z.core.$strict>>;
2233
+ }, z.core.$strict>>>>;
2234
+ source_profile: z.ZodOptional<z.ZodObject<{
2235
+ summary: z.ZodOptional<z.ZodString>;
2236
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
2237
+ name: z.ZodOptional<z.ZodString>;
2238
+ path: z.ZodOptional<z.ZodString>;
2239
+ kind: z.ZodOptional<z.ZodString>;
2240
+ page_count: z.ZodOptional<z.ZodNumber>;
2241
+ note: z.ZodOptional<z.ZodString>;
2242
+ }, z.core.$loose>>>;
2243
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2244
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2245
+ }, z.core.$loose>>;
1464
2246
  }, z.core.$strict>;
1465
- prepare_after_setup: z.ZodDefault<z.ZodBoolean>;
2247
+ build_after_setup: z.ZodDefault<z.ZodBoolean>;
1466
2248
  setup_mode: z.ZodDefault<z.ZodEnum<{
1467
2249
  create: "create";
1468
- "select-method": "select-method";
2250
+ "select-build-plan": "select-build-plan";
1469
2251
  }>>;
1470
2252
  }, z.core.$strict>;
1471
2253
  export declare const PreparationSetupResultSchema: z.ZodObject<{
@@ -1473,42 +2255,42 @@ export declare const PreparationSetupResultSchema: z.ZodObject<{
1473
2255
  version: z.ZodLiteral<1>;
1474
2256
  operation: z.ZodEnum<{
1475
2257
  create: "create";
1476
- "select-method": "select-method";
2258
+ "select-build-plan": "select-build-plan";
1477
2259
  }>;
1478
2260
  preparation: z.ZodString;
1479
- method: z.ZodString;
2261
+ build_plan: z.ZodNullable<z.ZodString>;
1480
2262
  source_folder_path: z.ZodString;
1481
2263
  config_path: z.ZodString;
1482
- portable_context_path: z.ZodString;
2264
+ verifiable_context_path: z.ZodString;
1483
2265
  changed: z.ZodBoolean;
1484
2266
  message: z.ZodString;
1485
2267
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1486
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"compile-run">>>;
2268
+ submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"build-run">>>;
1487
2269
  }, z.core.$strict>;
1488
- export declare const MethodChangeCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1489
- action_type: z.ZodOptional<z.ZodLiteral<"method-change">>;
2270
+ export declare const BuildPlanChangeCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2271
+ action_type: z.ZodOptional<z.ZodLiteral<"build-plan-change">>;
1490
2272
  operation: z.ZodLiteral<"duplicate">;
1491
- method: z.ZodString;
1492
- new_method_id: z.ZodString;
2273
+ build_plan: z.ZodString;
2274
+ new_build_plan_id: z.ZodString;
1493
2275
  label: z.ZodOptional<z.ZodString>;
1494
2276
  hint: z.ZodOptional<z.ZodString>;
1495
2277
  }, z.core.$strict>, z.ZodObject<{
1496
- action_type: z.ZodOptional<z.ZodLiteral<"method-change">>;
2278
+ action_type: z.ZodOptional<z.ZodLiteral<"build-plan-change">>;
1497
2279
  operation: z.ZodLiteral<"remove">;
1498
- method: z.ZodString;
2280
+ build_plan: z.ZodString;
1499
2281
  confirmation: z.ZodString;
1500
2282
  }, z.core.$strict>], "operation">;
1501
- export declare const MethodChangeResultSchema: z.ZodObject<{
1502
- kind: z.ZodLiteral<"interf-method-change-result">;
2283
+ export declare const BuildPlanChangeResultSchema: z.ZodObject<{
2284
+ kind: z.ZodLiteral<"interf-build-plan-change-result">;
1503
2285
  version: z.ZodLiteral<1>;
1504
2286
  operation: z.ZodEnum<{
1505
2287
  duplicate: "duplicate";
1506
2288
  remove: "remove";
1507
2289
  }>;
1508
- method: z.ZodString;
1509
- new_method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2290
+ build_plan: z.ZodString;
2291
+ new_build_plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1510
2292
  updated_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1511
- method_path: z.ZodString;
2293
+ build_plan_path: z.ZodString;
1512
2294
  changed: z.ZodBoolean;
1513
2295
  message: z.ZodString;
1514
2296
  }, z.core.$strict>;
@@ -1524,15 +2306,15 @@ export declare const PreparationChangeResultSchema: z.ZodObject<{
1524
2306
  operation: z.ZodLiteral<"remove">;
1525
2307
  preparation: z.ZodString;
1526
2308
  config_path: z.ZodString;
1527
- portable_context_path: z.ZodString;
1528
- portable_context_retained: z.ZodBoolean;
2309
+ verifiable_context_path: z.ZodString;
2310
+ verifiable_context_retained: z.ZodBoolean;
1529
2311
  changed: z.ZodBoolean;
1530
2312
  message: z.ZodString;
1531
2313
  }, z.core.$strict>;
1532
2314
  export declare const ResetRequestSchema: z.ZodObject<{
1533
2315
  preparation: z.ZodString;
1534
2316
  scope: z.ZodEnum<{
1535
- compile: "compile";
2317
+ build: "build";
1536
2318
  all: "all";
1537
2319
  }>;
1538
2320
  }, z.core.$strict>;
@@ -1541,10 +2323,10 @@ export declare const ResetResultSchema: z.ZodObject<{
1541
2323
  version: z.ZodLiteral<1>;
1542
2324
  preparation: z.ZodString;
1543
2325
  scope: z.ZodEnum<{
1544
- compile: "compile";
2326
+ build: "build";
1545
2327
  all: "all";
1546
2328
  }>;
1547
- portable_context_path: z.ZodString;
2329
+ verifiable_context_path: z.ZodString;
1548
2330
  changed: z.ZodBoolean;
1549
2331
  message: z.ZodString;
1550
2332
  }, z.core.$strict>;
@@ -1569,7 +2351,7 @@ export declare const ReadinessCheckDraftResultSchema: z.ZodObject<{
1569
2351
  strictness: z.ZodOptional<z.ZodString>;
1570
2352
  }, z.core.$strict>>>;
1571
2353
  }, z.core.$strict>;
1572
- export declare const MethodAuthoringArtifactRequirementSchema: z.ZodObject<{
2354
+ export declare const BuildPlanAuthoringArtifactRequirementSchema: z.ZodObject<{
1573
2355
  id: z.ZodString;
1574
2356
  description: z.ZodOptional<z.ZodString>;
1575
2357
  shape: z.ZodObject<{
@@ -1599,12 +2381,12 @@ export declare const MethodAuthoringArtifactRequirementSchema: z.ZodObject<{
1599
2381
  }, z.core.$strict>>>;
1600
2382
  stage_hint: z.ZodOptional<z.ZodString>;
1601
2383
  }, z.core.$strict>;
1602
- export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
2384
+ export declare const BuildPlanAuthoringCreateRequestSchema: z.ZodObject<{
1603
2385
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
2386
  source_folder_path: z.ZodString;
1605
- base_method_id: z.ZodOptional<z.ZodString>;
1606
- reference_method_id: z.ZodOptional<z.ZodString>;
1607
- method_id: z.ZodString;
2387
+ base_build_plan_id: z.ZodOptional<z.ZodString>;
2388
+ reference_build_plan_id: z.ZodOptional<z.ZodString>;
2389
+ build_plan_id: z.ZodString;
1608
2390
  label: z.ZodString;
1609
2391
  hint: z.ZodString;
1610
2392
  task_prompt: z.ZodString;
@@ -1621,6 +2403,56 @@ export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
1621
2403
  }, z.core.$strip>>;
1622
2404
  strictness: z.ZodOptional<z.ZodString>;
1623
2405
  }, z.core.$strict>>>;
2406
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
2407
+ id: z.ZodOptional<z.ZodString>;
2408
+ title: z.ZodString;
2409
+ purpose: z.ZodOptional<z.ZodString>;
2410
+ description: z.ZodOptional<z.ZodString>;
2411
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2412
+ label: z.ZodString;
2413
+ }, z.core.$loose>]>>>;
2414
+ output: z.ZodOptional<z.ZodObject<{
2415
+ path: z.ZodOptional<z.ZodString>;
2416
+ shape: z.ZodOptional<z.ZodObject<{
2417
+ kind: z.ZodLiteral<"path">;
2418
+ path: z.ZodString;
2419
+ artifact_kind: z.ZodEnum<{
2420
+ file: "file";
2421
+ directory: "directory";
2422
+ }>;
2423
+ }, z.core.$strict>>;
2424
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2425
+ id: z.ZodString;
2426
+ kind: z.ZodEnum<{
2427
+ file_exists: "file_exists";
2428
+ min_file_count: "min_file_count";
2429
+ min_file_count_matches_source: "min_file_count_matches_source";
2430
+ frontmatter_valid: "frontmatter_valid";
2431
+ frontmatter_required_keys: "frontmatter_required_keys";
2432
+ wikilinks_valid: "wikilinks_valid";
2433
+ must_not_contain: "must_not_contain";
2434
+ must_contain: "must_contain";
2435
+ qa_match: "qa_match";
2436
+ }>;
2437
+ description: z.ZodOptional<z.ZodString>;
2438
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2439
+ required: z.ZodDefault<z.ZodBoolean>;
2440
+ }, z.core.$strict>>>;
2441
+ stage_hint: z.ZodOptional<z.ZodString>;
2442
+ }, z.core.$strict>>;
2443
+ }, z.core.$strict>>>>;
2444
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2445
+ summary: z.ZodOptional<z.ZodString>;
2446
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
2447
+ name: z.ZodOptional<z.ZodString>;
2448
+ path: z.ZodOptional<z.ZodString>;
2449
+ kind: z.ZodOptional<z.ZodString>;
2450
+ page_count: z.ZodOptional<z.ZodNumber>;
2451
+ note: z.ZodOptional<z.ZodString>;
2452
+ }, z.core.$loose>>>;
2453
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2454
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2455
+ }, z.core.$loose>>>;
1624
2456
  artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
1625
2457
  id: z.ZodString;
1626
2458
  description: z.ZodOptional<z.ZodString>;
@@ -1652,7 +2484,7 @@ export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
1652
2484
  stage_hint: z.ZodOptional<z.ZodString>;
1653
2485
  }, z.core.$strict>>>;
1654
2486
  }, z.core.$strict>;
1655
- export declare const MethodAuthoringResultSchema: z.ZodObject<{
2487
+ export declare const BuildPlanAuthoringResultSchema: z.ZodObject<{
1656
2488
  status: z.ZodEnum<{
1657
2489
  updated: "updated";
1658
2490
  "no-change": "no-change";
@@ -1661,7 +2493,7 @@ export declare const MethodAuthoringResultSchema: z.ZodObject<{
1661
2493
  }>;
1662
2494
  changed: z.ZodBoolean;
1663
2495
  summary: z.ZodString;
1664
- method_path: z.ZodString;
2496
+ build_plan_path: z.ZodString;
1665
2497
  shell_path: z.ZodString;
1666
2498
  validation: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
1667
2499
  }, z.core.$strict>;
@@ -1699,9 +2531,9 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1699
2531
  version: z.ZodLiteral<1>;
1700
2532
  run_id: z.ZodString;
1701
2533
  job_type: z.ZodEnum<{
1702
- "method-authoring": "method-authoring";
1703
- "method-improvement": "method-improvement";
2534
+ "build-plan-improvement": "build-plan-improvement";
1704
2535
  "readiness-check-draft": "readiness-check-draft";
2536
+ "build-plan-draft": "build-plan-draft";
1705
2537
  }>;
1706
2538
  status: z.ZodEnum<{
1707
2539
  succeeded: "succeeded";
@@ -1712,7 +2544,7 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1712
2544
  }>;
1713
2545
  title: z.ZodString;
1714
2546
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1715
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2547
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1716
2548
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1717
2549
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1718
2550
  agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1782,21 +2614,13 @@ export declare const VerifyRunStatusSchema: z.ZodEnum<{
1782
2614
  queued: "queued";
1783
2615
  }>;
1784
2616
  /**
1785
- * 0.17 — verify runs choose their judge target. `compiled` (default)
1786
- * judges against the latest portable-context output; `source-files`
1787
- * judges against the raw source folder for a baseline that reveals
1788
- * how much value the Method actually adds. The 0.15 cleanup made
1789
- * verify compiled-only on the wire because the source-files branch
1790
- * had been retired in 0.13.1; 0.17 restores it because the QA tab and
1791
- * `verify/README.md` have always claimed the option exists, and the
1792
- * sandbox + spec builders for source-files have remained in tree
1793
- * since 0.13.
2617
+ * Verify runs choose their judge target.
1794
2618
  */
1795
2619
  export declare const VerifyRunCreateRequestSchema: z.ZodObject<{
1796
2620
  preparation: z.ZodString;
1797
2621
  target: z.ZodDefault<z.ZodEnum<{
2622
+ "verifiable-context": "verifiable-context";
1798
2623
  "source-files": "source-files";
1799
- compiled: "compiled";
1800
2624
  }>>;
1801
2625
  }, z.core.$strict>;
1802
2626
  export declare const VerifyRunResourceSchema: z.ZodObject<{
@@ -1810,23 +2634,23 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1810
2634
  }>;
1811
2635
  preparation: z.ZodString;
1812
2636
  source_path: z.ZodString;
1813
- portable_context_path: z.ZodNullable<z.ZodString>;
2637
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1814
2638
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1815
2639
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1816
- readiness_run: z.ZodNullable<z.ZodObject<{
2640
+ readiness_run: z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
1817
2641
  kind: z.ZodLiteral<"interf-readiness-check-run">;
1818
2642
  version: z.ZodLiteral<1>;
1819
2643
  generated_at: z.ZodString;
1820
2644
  mode: z.ZodEnum<{
2645
+ "verifiable-context": "verifiable-context";
1821
2646
  "source-files": "source-files";
1822
- compiled: "compiled";
1823
2647
  both: "both";
1824
2648
  }>;
1825
2649
  source_path: z.ZodString;
1826
2650
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1827
2651
  preparation: z.ZodObject<{
1828
2652
  name: z.ZodString;
1829
- portable_context_path: z.ZodNullable<z.ZodString>;
2653
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1830
2654
  }, z.core.$strip>;
1831
2655
  source_files: z.ZodNullable<z.ZodObject<{
1832
2656
  label: z.ZodString;
@@ -1838,15 +2662,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1838
2662
  total_checks: z.ZodNumber;
1839
2663
  target: z.ZodObject<{
1840
2664
  type: z.ZodEnum<{
2665
+ "verifiable-context": "verifiable-context";
1841
2666
  "source-files": "source-files";
1842
- compiled: "compiled";
1843
2667
  }>;
1844
2668
  name: z.ZodString;
1845
2669
  path: z.ZodString;
1846
- method: z.ZodString;
2670
+ build_plan: z.ZodString;
1847
2671
  }, z.core.$strip>;
1848
2672
  }, z.core.$strip>>;
1849
- compiled: z.ZodNullable<z.ZodObject<{
2673
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1850
2674
  label: z.ZodString;
1851
2675
  run_path: z.ZodString;
1852
2676
  ok: z.ZodBoolean;
@@ -1856,20 +2680,20 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1856
2680
  total_checks: z.ZodNumber;
1857
2681
  target: z.ZodObject<{
1858
2682
  type: z.ZodEnum<{
2683
+ "verifiable-context": "verifiable-context";
1859
2684
  "source-files": "source-files";
1860
- compiled: "compiled";
1861
2685
  }>;
1862
2686
  name: z.ZodString;
1863
2687
  path: z.ZodString;
1864
- method: z.ZodString;
2688
+ build_plan: z.ZodString;
1865
2689
  }, z.core.$strip>;
1866
2690
  }, z.core.$strip>>;
1867
2691
  summary: z.ZodObject<{
1868
2692
  source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
1869
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
2693
+ verifiable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
1870
2694
  }, z.core.$strip>;
1871
- }, z.core.$strip>>;
1872
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2695
+ }, z.core.$strip>>>;
2696
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
1873
2697
  kind: z.ZodLiteral<"interf-readiness-state">;
1874
2698
  version: z.ZodLiteral<1>;
1875
2699
  generated_at: z.ZodString;
@@ -1887,14 +2711,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1887
2711
  }>;
1888
2712
  ready: z.ZodBoolean;
1889
2713
  summary: z.ZodString;
1890
- portable_context_path: z.ZodNullable<z.ZodString>;
1891
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2714
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
2715
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1892
2716
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1893
- compile: z.ZodNullable<z.ZodObject<{
2717
+ build: z.ZodNullable<z.ZodObject<{
1894
2718
  gate: z.ZodEnum<{
1895
- "portable-context": "portable-context";
2719
+ "verifiable-context": "verifiable-context";
1896
2720
  "preparation-config": "preparation-config";
1897
- "compile-run": "compile-run";
2721
+ "build-run": "build-run";
2722
+ "artifact-checks": "artifact-checks";
1898
2723
  "readiness-checks": "readiness-checks";
1899
2724
  "checks-current": "checks-current";
1900
2725
  }>;
@@ -1927,7 +2752,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1927
2752
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1928
2753
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1929
2754
  }, z.core.$strict>>;
1930
- portable_context: z.ZodNullable<z.ZodObject<{
2755
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1931
2756
  passed: z.ZodNumber;
1932
2757
  total: z.ZodNumber;
1933
2758
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -1939,9 +2764,10 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1939
2764
  }, z.core.$strict>;
1940
2765
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1941
2766
  gate: z.ZodEnum<{
1942
- "portable-context": "portable-context";
2767
+ "verifiable-context": "verifiable-context";
1943
2768
  "preparation-config": "preparation-config";
1944
- "compile-run": "compile-run";
2769
+ "build-run": "build-run";
2770
+ "artifact-checks": "artifact-checks";
1945
2771
  "readiness-checks": "readiness-checks";
1946
2772
  "checks-current": "checks-current";
1947
2773
  }>;
@@ -1962,18 +2788,17 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
1962
2788
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1963
2789
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1964
2790
  }, z.core.$strict>>>;
1965
- }, z.core.$strict>>>;
2791
+ }, z.core.$strict>>>>;
1966
2792
  events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1967
2793
  event_id: z.ZodString;
1968
2794
  run_id: z.ZodString;
1969
2795
  timestamp: z.ZodString;
1970
2796
  type: z.ZodLiteral<"run.started">;
1971
2797
  preparation: z.ZodString;
1972
- method: z.ZodString;
1973
- portable_context_path: z.ZodString;
2798
+ build_plan: z.ZodOptional<z.ZodString>;
2799
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
1974
2800
  backend: z.ZodEnum<{
1975
2801
  native: "native";
1976
- "workflow-sdk": "workflow-sdk";
1977
2802
  }>;
1978
2803
  }, z.core.$strict>, z.ZodObject<{
1979
2804
  event_id: z.ZodString;
@@ -2094,8 +2919,8 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2094
2919
  passed: z.ZodNumber;
2095
2920
  total: z.ZodNumber;
2096
2921
  target: z.ZodOptional<z.ZodEnum<{
2922
+ "verifiable-context": "verifiable-context";
2097
2923
  "source-files": "source-files";
2098
- compiled: "compiled";
2099
2924
  }>>;
2100
2925
  checks_fingerprint: z.ZodOptional<z.ZodString>;
2101
2926
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -2106,7 +2931,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2106
2931
  timestamp: z.ZodString;
2107
2932
  type: z.ZodLiteral<"readiness.updated">;
2108
2933
  preparation: z.ZodString;
2109
- readiness: z.ZodObject<{
2934
+ readiness: z.ZodPreprocess<z.ZodObject<{
2110
2935
  kind: z.ZodLiteral<"interf-readiness-state">;
2111
2936
  version: z.ZodLiteral<1>;
2112
2937
  generated_at: z.ZodString;
@@ -2124,14 +2949,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2124
2949
  }>;
2125
2950
  ready: z.ZodBoolean;
2126
2951
  summary: z.ZodString;
2127
- portable_context_path: z.ZodNullable<z.ZodString>;
2128
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2952
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
2953
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2129
2954
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
- compile: z.ZodNullable<z.ZodObject<{
2955
+ build: z.ZodNullable<z.ZodObject<{
2131
2956
  gate: z.ZodEnum<{
2132
- "portable-context": "portable-context";
2957
+ "verifiable-context": "verifiable-context";
2133
2958
  "preparation-config": "preparation-config";
2134
- "compile-run": "compile-run";
2959
+ "build-run": "build-run";
2960
+ "artifact-checks": "artifact-checks";
2135
2961
  "readiness-checks": "readiness-checks";
2136
2962
  "checks-current": "checks-current";
2137
2963
  }>;
@@ -2164,7 +2990,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2164
2990
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2165
2991
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2166
2992
  }, z.core.$strict>>;
2167
- portable_context: z.ZodNullable<z.ZodObject<{
2993
+ verifiable_context: z.ZodNullable<z.ZodObject<{
2168
2994
  passed: z.ZodNumber;
2169
2995
  total: z.ZodNumber;
2170
2996
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -2176,9 +3002,10 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2176
3002
  }, z.core.$strict>;
2177
3003
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2178
3004
  gate: z.ZodEnum<{
2179
- "portable-context": "portable-context";
3005
+ "verifiable-context": "verifiable-context";
2180
3006
  "preparation-config": "preparation-config";
2181
- "compile-run": "compile-run";
3007
+ "build-run": "build-run";
3008
+ "artifact-checks": "artifact-checks";
2182
3009
  "readiness-checks": "readiness-checks";
2183
3010
  "checks-current": "checks-current";
2184
3011
  }>;
@@ -2199,7 +3026,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2199
3026
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2200
3027
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2201
3028
  }, z.core.$strict>>>;
2202
- }, z.core.$strict>;
3029
+ }, z.core.$strict>>;
2203
3030
  }, z.core.$strict>], "type">>>;
2204
3031
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2205
3032
  }, z.core.$strict>;
@@ -2208,11 +3035,11 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2208
3035
  version: z.ZodLiteral<1>;
2209
3036
  run_id: z.ZodString;
2210
3037
  run_type: z.ZodEnum<{
2211
- compile: "compile";
2212
- "method-authoring": "method-authoring";
2213
- "method-improvement": "method-improvement";
3038
+ build: "build";
3039
+ "build-plan-improvement": "build-plan-improvement";
2214
3040
  verify: "verify";
2215
3041
  "readiness-check-draft": "readiness-check-draft";
3042
+ "build-plan-draft": "build-plan-draft";
2216
3043
  job: "job";
2217
3044
  }>;
2218
3045
  title: z.ZodString;
@@ -2224,7 +3051,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2224
3051
  queued: "queued";
2225
3052
  }>;
2226
3053
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2227
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3054
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2228
3055
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2229
3056
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2230
3057
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2269,7 +3096,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2269
3096
  ok: z.ZodBoolean;
2270
3097
  detail: z.ZodOptional<z.ZodString>;
2271
3098
  }, z.core.$strict>>>;
2272
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3099
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
2273
3100
  kind: z.ZodLiteral<"interf-readiness-state">;
2274
3101
  version: z.ZodLiteral<1>;
2275
3102
  generated_at: z.ZodString;
@@ -2287,14 +3114,15 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2287
3114
  }>;
2288
3115
  ready: z.ZodBoolean;
2289
3116
  summary: z.ZodString;
2290
- portable_context_path: z.ZodNullable<z.ZodString>;
2291
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3117
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
3118
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2292
3119
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2293
- compile: z.ZodNullable<z.ZodObject<{
3120
+ build: z.ZodNullable<z.ZodObject<{
2294
3121
  gate: z.ZodEnum<{
2295
- "portable-context": "portable-context";
3122
+ "verifiable-context": "verifiable-context";
2296
3123
  "preparation-config": "preparation-config";
2297
- "compile-run": "compile-run";
3124
+ "build-run": "build-run";
3125
+ "artifact-checks": "artifact-checks";
2298
3126
  "readiness-checks": "readiness-checks";
2299
3127
  "checks-current": "checks-current";
2300
3128
  }>;
@@ -2327,7 +3155,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2327
3155
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2328
3156
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2329
3157
  }, z.core.$strict>>;
2330
- portable_context: z.ZodNullable<z.ZodObject<{
3158
+ verifiable_context: z.ZodNullable<z.ZodObject<{
2331
3159
  passed: z.ZodNumber;
2332
3160
  total: z.ZodNumber;
2333
3161
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -2339,9 +3167,10 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2339
3167
  }, z.core.$strict>;
2340
3168
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2341
3169
  gate: z.ZodEnum<{
2342
- "portable-context": "portable-context";
3170
+ "verifiable-context": "verifiable-context";
2343
3171
  "preparation-config": "preparation-config";
2344
- "compile-run": "compile-run";
3172
+ "build-run": "build-run";
3173
+ "artifact-checks": "artifact-checks";
2345
3174
  "readiness-checks": "readiness-checks";
2346
3175
  "checks-current": "checks-current";
2347
3176
  }>;
@@ -2362,7 +3191,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2362
3191
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2363
3192
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2364
3193
  }, z.core.$strict>>>;
2365
- }, z.core.$strict>>>;
3194
+ }, z.core.$strict>>>>;
2366
3195
  trace: z.ZodObject<{
2367
3196
  run: z.ZodObject<{
2368
3197
  runId: z.ZodString;
@@ -2374,7 +3203,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2374
3203
  cancelled: "cancelled";
2375
3204
  }>;
2376
3205
  deploymentId: z.ZodString;
2377
- methodName: z.ZodString;
3206
+ traceName: z.ZodString;
2378
3207
  specVersion: z.ZodLiteral<1>;
2379
3208
  executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2380
3209
  input: z.ZodUnknown;
@@ -2451,20 +3280,20 @@ export declare const LocalExecutorSelectRequestSchema: z.ZodObject<{
2451
3280
  agent: z.ZodString;
2452
3281
  }, z.core.$strict>;
2453
3282
  export declare const ActionProposalTypeSchema: z.ZodEnum<{
2454
- compile: "compile";
2455
- "method-authoring": "method-authoring";
2456
- "method-improvement": "method-improvement";
3283
+ build: "build";
3284
+ "build-plan-improvement": "build-plan-improvement";
2457
3285
  "readiness-check-draft": "readiness-check-draft";
3286
+ "build-plan-draft": "build-plan-draft";
2458
3287
  test: "test";
2459
3288
  clarification: "clarification";
2460
3289
  }>;
2461
3290
  export declare const ActionProposalPlanActionTypeSchema: z.ZodEnum<{
2462
- compile: "compile";
2463
- "method-authoring": "method-authoring";
2464
- "method-improvement": "method-improvement";
3291
+ build: "build";
3292
+ "build-plan-improvement": "build-plan-improvement";
2465
3293
  "readiness-check-draft": "readiness-check-draft";
3294
+ "build-plan-draft": "build-plan-draft";
2466
3295
  test: "test";
2467
- "method-change": "method-change";
3296
+ "build-plan-change": "build-plan-change";
2468
3297
  "preparation-change": "preparation-change";
2469
3298
  clarification: "clarification";
2470
3299
  "preparation-setup": "preparation-setup";
@@ -2479,10 +3308,10 @@ export declare const ActionProposalStatusSchema: z.ZodEnum<{
2479
3308
  }>;
2480
3309
  export declare const ActionClientOriginSchema: z.ZodEnum<{
2481
3310
  unknown: "unknown";
2482
- mcp: "mcp";
2483
3311
  "ui-chat": "ui-chat";
2484
3312
  cli: "cli";
2485
3313
  "agent-cli": "agent-cli";
3314
+ mcp: "mcp";
2486
3315
  service: "service";
2487
3316
  }>;
2488
3317
  export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
@@ -2490,28 +3319,28 @@ export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
2490
3319
  preparation: z.ZodOptional<z.ZodString>;
2491
3320
  client_origin: z.ZodDefault<z.ZodEnum<{
2492
3321
  unknown: "unknown";
2493
- mcp: "mcp";
2494
3322
  "ui-chat": "ui-chat";
2495
3323
  cli: "cli";
2496
3324
  "agent-cli": "agent-cli";
3325
+ mcp: "mcp";
2497
3326
  service: "service";
2498
3327
  }>>;
2499
3328
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2500
3329
  }, z.core.$strict>;
2501
3330
  export declare const ActionProposalPlanSchema: z.ZodObject<{
2502
3331
  action_type: z.ZodEnum<{
2503
- compile: "compile";
2504
- "method-authoring": "method-authoring";
2505
- "method-improvement": "method-improvement";
3332
+ build: "build";
3333
+ "build-plan-improvement": "build-plan-improvement";
2506
3334
  "readiness-check-draft": "readiness-check-draft";
3335
+ "build-plan-draft": "build-plan-draft";
2507
3336
  test: "test";
2508
- "method-change": "method-change";
3337
+ "build-plan-change": "build-plan-change";
2509
3338
  "preparation-change": "preparation-change";
2510
3339
  clarification: "clarification";
2511
3340
  "preparation-setup": "preparation-setup";
2512
3341
  }>;
2513
3342
  preparation: z.ZodOptional<z.ZodString>;
2514
- method: z.ZodOptional<z.ZodString>;
3343
+ build_plan: z.ZodOptional<z.ZodString>;
2515
3344
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2516
3345
  title: z.ZodOptional<z.ZodString>;
2517
3346
  summary: z.ZodOptional<z.ZodString>;
@@ -2545,13 +3374,13 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2545
3374
  command_preview: z.ZodOptional<z.ZodString>;
2546
3375
  message: z.ZodString;
2547
3376
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2548
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3377
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2549
3378
  client_origin: z.ZodDefault<z.ZodEnum<{
2550
3379
  unknown: "unknown";
2551
- mcp: "mcp";
2552
3380
  "ui-chat": "ui-chat";
2553
3381
  cli: "cli";
2554
3382
  "agent-cli": "agent-cli";
3383
+ mcp: "mcp";
2555
3384
  service: "service";
2556
3385
  }>>;
2557
3386
  created_at: z.ZodString;
@@ -2568,7 +3397,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2568
3397
  }, z.core.$strict>>>;
2569
3398
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2570
3399
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2571
- "compile-run": "compile-run";
3400
+ "build-run": "build-run";
2572
3401
  "verify-run": "verify-run";
2573
3402
  "job-run": "job-run";
2574
3403
  }>>>;
@@ -2593,13 +3422,13 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2593
3422
  command_preview: z.ZodOptional<z.ZodString>;
2594
3423
  message: z.ZodString;
2595
3424
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2596
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3425
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2597
3426
  client_origin: z.ZodDefault<z.ZodEnum<{
2598
3427
  unknown: "unknown";
2599
- mcp: "mcp";
2600
3428
  "ui-chat": "ui-chat";
2601
3429
  cli: "cli";
2602
3430
  "agent-cli": "agent-cli";
3431
+ mcp: "mcp";
2603
3432
  service: "service";
2604
3433
  }>>;
2605
3434
  created_at: z.ZodString;
@@ -2616,15 +3445,15 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2616
3445
  }, z.core.$strict>>>;
2617
3446
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2618
3447
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2619
- "compile-run": "compile-run";
3448
+ "build-run": "build-run";
2620
3449
  "verify-run": "verify-run";
2621
3450
  "job-run": "job-run";
2622
3451
  }>>>;
2623
3452
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2624
- action_type: z.ZodLiteral<"compile">;
3453
+ action_type: z.ZodLiteral<"build">;
2625
3454
  request: z.ZodObject<{
2626
3455
  preparation: z.ZodString;
2627
- method: z.ZodOptional<z.ZodString>;
3456
+ build_plan: z.ZodOptional<z.ZodString>;
2628
3457
  max_attempts: z.ZodOptional<z.ZodNumber>;
2629
3458
  max_loops: z.ZodOptional<z.ZodNumber>;
2630
3459
  preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
@@ -2650,13 +3479,13 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2650
3479
  command_preview: z.ZodOptional<z.ZodString>;
2651
3480
  message: z.ZodString;
2652
3481
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2653
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3482
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2654
3483
  client_origin: z.ZodDefault<z.ZodEnum<{
2655
3484
  unknown: "unknown";
2656
- mcp: "mcp";
2657
3485
  "ui-chat": "ui-chat";
2658
3486
  cli: "cli";
2659
3487
  "agent-cli": "agent-cli";
3488
+ mcp: "mcp";
2660
3489
  service: "service";
2661
3490
  }>>;
2662
3491
  created_at: z.ZodString;
@@ -2673,7 +3502,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2673
3502
  }, z.core.$strict>>>;
2674
3503
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2675
3504
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2676
- "compile-run": "compile-run";
3505
+ "build-run": "build-run";
2677
3506
  "verify-run": "verify-run";
2678
3507
  "job-run": "job-run";
2679
3508
  }>>>;
@@ -2682,8 +3511,8 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2682
3511
  request: z.ZodObject<{
2683
3512
  preparation: z.ZodString;
2684
3513
  target: z.ZodDefault<z.ZodEnum<{
3514
+ "verifiable-context": "verifiable-context";
2685
3515
  "source-files": "source-files";
2686
- compiled: "compiled";
2687
3516
  }>>;
2688
3517
  }, z.core.$strict>;
2689
3518
  }, z.core.$strict>, z.ZodObject<{
@@ -2704,13 +3533,13 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2704
3533
  command_preview: z.ZodOptional<z.ZodString>;
2705
3534
  message: z.ZodString;
2706
3535
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2707
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3536
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2708
3537
  client_origin: z.ZodDefault<z.ZodEnum<{
2709
3538
  unknown: "unknown";
2710
- mcp: "mcp";
2711
3539
  "ui-chat": "ui-chat";
2712
3540
  cli: "cli";
2713
3541
  "agent-cli": "agent-cli";
3542
+ mcp: "mcp";
2714
3543
  service: "service";
2715
3544
  }>>;
2716
3545
  created_at: z.ZodString;
@@ -2727,7 +3556,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2727
3556
  }, z.core.$strict>>>;
2728
3557
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2729
3558
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2730
- "compile-run": "compile-run";
3559
+ "build-run": "build-run";
2731
3560
  "verify-run": "verify-run";
2732
3561
  "job-run": "job-run";
2733
3562
  }>>>;
@@ -2757,13 +3586,13 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2757
3586
  command_preview: z.ZodOptional<z.ZodString>;
2758
3587
  message: z.ZodString;
2759
3588
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2760
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3589
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2761
3590
  client_origin: z.ZodDefault<z.ZodEnum<{
2762
3591
  unknown: "unknown";
2763
- mcp: "mcp";
2764
3592
  "ui-chat": "ui-chat";
2765
3593
  cli: "cli";
2766
3594
  "agent-cli": "agent-cli";
3595
+ mcp: "mcp";
2767
3596
  service: "service";
2768
3597
  }>>;
2769
3598
  created_at: z.ZodString;
@@ -2780,18 +3609,18 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2780
3609
  }, z.core.$strict>>>;
2781
3610
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2782
3611
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2783
- "compile-run": "compile-run";
3612
+ "build-run": "build-run";
2784
3613
  "verify-run": "verify-run";
2785
3614
  "job-run": "job-run";
2786
3615
  }>>>;
2787
3616
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2788
- action_type: z.ZodLiteral<"method-authoring">;
3617
+ action_type: z.ZodLiteral<"build-plan-draft">;
2789
3618
  request: z.ZodObject<{
2790
3619
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2791
3620
  source_folder_path: z.ZodString;
2792
- base_method_id: z.ZodOptional<z.ZodString>;
2793
- reference_method_id: z.ZodOptional<z.ZodString>;
2794
- method_id: z.ZodString;
3621
+ base_build_plan_id: z.ZodOptional<z.ZodString>;
3622
+ reference_build_plan_id: z.ZodOptional<z.ZodString>;
3623
+ build_plan_id: z.ZodString;
2795
3624
  label: z.ZodString;
2796
3625
  hint: z.ZodString;
2797
3626
  task_prompt: z.ZodString;
@@ -2808,6 +3637,56 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2808
3637
  }, z.core.$strip>>;
2809
3638
  strictness: z.ZodOptional<z.ZodString>;
2810
3639
  }, z.core.$strict>>>;
3640
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
3641
+ id: z.ZodOptional<z.ZodString>;
3642
+ title: z.ZodString;
3643
+ purpose: z.ZodOptional<z.ZodString>;
3644
+ description: z.ZodOptional<z.ZodString>;
3645
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3646
+ label: z.ZodString;
3647
+ }, z.core.$loose>]>>>;
3648
+ output: z.ZodOptional<z.ZodObject<{
3649
+ path: z.ZodOptional<z.ZodString>;
3650
+ shape: z.ZodOptional<z.ZodObject<{
3651
+ kind: z.ZodLiteral<"path">;
3652
+ path: z.ZodString;
3653
+ artifact_kind: z.ZodEnum<{
3654
+ file: "file";
3655
+ directory: "directory";
3656
+ }>;
3657
+ }, z.core.$strict>>;
3658
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3659
+ id: z.ZodString;
3660
+ kind: z.ZodEnum<{
3661
+ file_exists: "file_exists";
3662
+ min_file_count: "min_file_count";
3663
+ min_file_count_matches_source: "min_file_count_matches_source";
3664
+ frontmatter_valid: "frontmatter_valid";
3665
+ frontmatter_required_keys: "frontmatter_required_keys";
3666
+ wikilinks_valid: "wikilinks_valid";
3667
+ must_not_contain: "must_not_contain";
3668
+ must_contain: "must_contain";
3669
+ qa_match: "qa_match";
3670
+ }>;
3671
+ description: z.ZodOptional<z.ZodString>;
3672
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3673
+ required: z.ZodDefault<z.ZodBoolean>;
3674
+ }, z.core.$strict>>>;
3675
+ stage_hint: z.ZodOptional<z.ZodString>;
3676
+ }, z.core.$strict>>;
3677
+ }, z.core.$strict>>>>;
3678
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3679
+ summary: z.ZodOptional<z.ZodString>;
3680
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
3681
+ name: z.ZodOptional<z.ZodString>;
3682
+ path: z.ZodOptional<z.ZodString>;
3683
+ kind: z.ZodOptional<z.ZodString>;
3684
+ page_count: z.ZodOptional<z.ZodNumber>;
3685
+ note: z.ZodOptional<z.ZodString>;
3686
+ }, z.core.$loose>>>;
3687
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3688
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3689
+ }, z.core.$loose>>>;
2811
3690
  artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
2812
3691
  id: z.ZodString;
2813
3692
  description: z.ZodOptional<z.ZodString>;
@@ -2857,13 +3736,13 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2857
3736
  command_preview: z.ZodOptional<z.ZodString>;
2858
3737
  message: z.ZodString;
2859
3738
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2860
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3739
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2861
3740
  client_origin: z.ZodDefault<z.ZodEnum<{
2862
3741
  unknown: "unknown";
2863
- mcp: "mcp";
2864
3742
  "ui-chat": "ui-chat";
2865
3743
  cli: "cli";
2866
3744
  "agent-cli": "agent-cli";
3745
+ mcp: "mcp";
2867
3746
  service: "service";
2868
3747
  }>>;
2869
3748
  created_at: z.ZodString;
@@ -2880,18 +3759,18 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2880
3759
  }, z.core.$strict>>>;
2881
3760
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2882
3761
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2883
- "compile-run": "compile-run";
3762
+ "build-run": "build-run";
2884
3763
  "verify-run": "verify-run";
2885
3764
  "job-run": "job-run";
2886
3765
  }>>>;
2887
3766
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2888
- action_type: z.ZodLiteral<"method-improvement">;
3767
+ action_type: z.ZodLiteral<"build-plan-improvement">;
2889
3768
  request: z.ZodObject<{
2890
3769
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2891
3770
  source_folder_path: z.ZodString;
2892
- base_method_id: z.ZodOptional<z.ZodString>;
2893
- reference_method_id: z.ZodOptional<z.ZodString>;
2894
- method_id: z.ZodString;
3771
+ base_build_plan_id: z.ZodOptional<z.ZodString>;
3772
+ reference_build_plan_id: z.ZodOptional<z.ZodString>;
3773
+ build_plan_id: z.ZodString;
2895
3774
  label: z.ZodString;
2896
3775
  hint: z.ZodString;
2897
3776
  task_prompt: z.ZodString;
@@ -2908,6 +3787,56 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2908
3787
  }, z.core.$strip>>;
2909
3788
  strictness: z.ZodOptional<z.ZodString>;
2910
3789
  }, z.core.$strict>>>;
3790
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
3791
+ id: z.ZodOptional<z.ZodString>;
3792
+ title: z.ZodString;
3793
+ purpose: z.ZodOptional<z.ZodString>;
3794
+ description: z.ZodOptional<z.ZodString>;
3795
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3796
+ label: z.ZodString;
3797
+ }, z.core.$loose>]>>>;
3798
+ output: z.ZodOptional<z.ZodObject<{
3799
+ path: z.ZodOptional<z.ZodString>;
3800
+ shape: z.ZodOptional<z.ZodObject<{
3801
+ kind: z.ZodLiteral<"path">;
3802
+ path: z.ZodString;
3803
+ artifact_kind: z.ZodEnum<{
3804
+ file: "file";
3805
+ directory: "directory";
3806
+ }>;
3807
+ }, z.core.$strict>>;
3808
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3809
+ id: z.ZodString;
3810
+ kind: z.ZodEnum<{
3811
+ file_exists: "file_exists";
3812
+ min_file_count: "min_file_count";
3813
+ min_file_count_matches_source: "min_file_count_matches_source";
3814
+ frontmatter_valid: "frontmatter_valid";
3815
+ frontmatter_required_keys: "frontmatter_required_keys";
3816
+ wikilinks_valid: "wikilinks_valid";
3817
+ must_not_contain: "must_not_contain";
3818
+ must_contain: "must_contain";
3819
+ qa_match: "qa_match";
3820
+ }>;
3821
+ description: z.ZodOptional<z.ZodString>;
3822
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3823
+ required: z.ZodDefault<z.ZodBoolean>;
3824
+ }, z.core.$strict>>>;
3825
+ stage_hint: z.ZodOptional<z.ZodString>;
3826
+ }, z.core.$strict>>;
3827
+ }, z.core.$strict>>>>;
3828
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3829
+ summary: z.ZodOptional<z.ZodString>;
3830
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
3831
+ name: z.ZodOptional<z.ZodString>;
3832
+ path: z.ZodOptional<z.ZodString>;
3833
+ kind: z.ZodOptional<z.ZodString>;
3834
+ page_count: z.ZodOptional<z.ZodNumber>;
3835
+ note: z.ZodOptional<z.ZodString>;
3836
+ }, z.core.$loose>>>;
3837
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3838
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3839
+ }, z.core.$loose>>>;
2911
3840
  artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
2912
3841
  id: z.ZodString;
2913
3842
  description: z.ZodOptional<z.ZodString>;
@@ -2940,11 +3869,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2940
3869
  }, z.core.$strict>>>;
2941
3870
  }, z.core.$strict>;
2942
3871
  }, z.core.$strict>], "action_type">;
2943
- export declare const PortableContextResourceSchema: z.ZodObject<{
3872
+ export declare const VerifiableContextResourceSchema: z.ZodObject<{
2944
3873
  preparation: z.ZodString;
2945
3874
  path: z.ZodString;
2946
3875
  exists: z.ZodBoolean;
2947
- readiness: z.ZodObject<{
3876
+ readiness: z.ZodPreprocess<z.ZodObject<{
2948
3877
  kind: z.ZodLiteral<"interf-readiness-state">;
2949
3878
  version: z.ZodLiteral<1>;
2950
3879
  generated_at: z.ZodString;
@@ -2962,14 +3891,15 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2962
3891
  }>;
2963
3892
  ready: z.ZodBoolean;
2964
3893
  summary: z.ZodString;
2965
- portable_context_path: z.ZodNullable<z.ZodString>;
2966
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3894
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
3895
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2967
3896
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2968
- compile: z.ZodNullable<z.ZodObject<{
3897
+ build: z.ZodNullable<z.ZodObject<{
2969
3898
  gate: z.ZodEnum<{
2970
- "portable-context": "portable-context";
3899
+ "verifiable-context": "verifiable-context";
2971
3900
  "preparation-config": "preparation-config";
2972
- "compile-run": "compile-run";
3901
+ "build-run": "build-run";
3902
+ "artifact-checks": "artifact-checks";
2973
3903
  "readiness-checks": "readiness-checks";
2974
3904
  "checks-current": "checks-current";
2975
3905
  }>;
@@ -3002,7 +3932,7 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3002
3932
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3003
3933
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3004
3934
  }, z.core.$strict>>;
3005
- portable_context: z.ZodNullable<z.ZodObject<{
3935
+ verifiable_context: z.ZodNullable<z.ZodObject<{
3006
3936
  passed: z.ZodNumber;
3007
3937
  total: z.ZodNumber;
3008
3938
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -3014,9 +3944,10 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3014
3944
  }, z.core.$strict>;
3015
3945
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3016
3946
  gate: z.ZodEnum<{
3017
- "portable-context": "portable-context";
3947
+ "verifiable-context": "verifiable-context";
3018
3948
  "preparation-config": "preparation-config";
3019
- "compile-run": "compile-run";
3949
+ "build-run": "build-run";
3950
+ "artifact-checks": "artifact-checks";
3020
3951
  "readiness-checks": "readiness-checks";
3021
3952
  "checks-current": "checks-current";
3022
3953
  }>;
@@ -3037,9 +3968,9 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3037
3968
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3038
3969
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3039
3970
  }, z.core.$strict>>>;
3040
- }, z.core.$strict>;
3041
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3042
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3971
+ }, z.core.$strict>>;
3972
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3973
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3043
3974
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3044
3975
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3045
3976
  path: z.ZodString;
@@ -3055,7 +3986,7 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3055
3986
  sha256: z.ZodOptional<z.ZodString>;
3056
3987
  }, z.core.$strict>>>;
3057
3988
  }, z.core.$strict>;
3058
- export declare const ReadinessResourceSchema: z.ZodObject<{
3989
+ export declare const ReadinessResourceSchema: z.ZodPreprocess<z.ZodObject<{
3059
3990
  kind: z.ZodLiteral<"interf-readiness-state">;
3060
3991
  version: z.ZodLiteral<1>;
3061
3992
  generated_at: z.ZodString;
@@ -3073,14 +4004,15 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3073
4004
  }>;
3074
4005
  ready: z.ZodBoolean;
3075
4006
  summary: z.ZodString;
3076
- portable_context_path: z.ZodNullable<z.ZodString>;
3077
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4007
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
4008
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3078
4009
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3079
- compile: z.ZodNullable<z.ZodObject<{
4010
+ build: z.ZodNullable<z.ZodObject<{
3080
4011
  gate: z.ZodEnum<{
3081
- "portable-context": "portable-context";
4012
+ "verifiable-context": "verifiable-context";
3082
4013
  "preparation-config": "preparation-config";
3083
- "compile-run": "compile-run";
4014
+ "build-run": "build-run";
4015
+ "artifact-checks": "artifact-checks";
3084
4016
  "readiness-checks": "readiness-checks";
3085
4017
  "checks-current": "checks-current";
3086
4018
  }>;
@@ -3113,7 +4045,7 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3113
4045
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3114
4046
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3115
4047
  }, z.core.$strict>>;
3116
- portable_context: z.ZodNullable<z.ZodObject<{
4048
+ verifiable_context: z.ZodNullable<z.ZodObject<{
3117
4049
  passed: z.ZodNumber;
3118
4050
  total: z.ZodNumber;
3119
4051
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -3125,9 +4057,10 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3125
4057
  }, z.core.$strict>;
3126
4058
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3127
4059
  gate: z.ZodEnum<{
3128
- "portable-context": "portable-context";
4060
+ "verifiable-context": "verifiable-context";
3129
4061
  "preparation-config": "preparation-config";
3130
- "compile-run": "compile-run";
4062
+ "build-run": "build-run";
4063
+ "artifact-checks": "artifact-checks";
3131
4064
  "readiness-checks": "readiness-checks";
3132
4065
  "checks-current": "checks-current";
3133
4066
  }>;
@@ -3148,7 +4081,7 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3148
4081
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3149
4082
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3150
4083
  }, z.core.$strict>>>;
3151
- }, z.core.$strict>;
4084
+ }, z.core.$strict>>;
3152
4085
  export declare const SourceFileResourceSchema: z.ZodObject<{
3153
4086
  preparation: z.ZodString;
3154
4087
  path: z.ZodString;
@@ -3157,37 +4090,30 @@ export declare const SourceFileResourceSchema: z.ZodObject<{
3157
4090
  modified_at: z.ZodNullable<z.ZodString>;
3158
4091
  source_folder_path: z.ZodString;
3159
4092
  }, z.core.$strict>;
3160
- export declare const WorkspaceFileResourceSchema: z.ZodObject<{
3161
- path: z.ZodString;
3162
- absolute_path: z.ZodString;
3163
- size_bytes: z.ZodNumber;
3164
- modified_at: z.ZodNullable<z.ZodString>;
3165
- }, z.core.$strict>;
3166
4093
  export declare const LocalServiceDiscoverySchema: z.ZodObject<{
3167
4094
  kind: z.ZodLiteral<"interf-local-service-discovery">;
3168
4095
  version: z.ZodLiteral<1>;
3169
4096
  resources: z.ZodObject<{
4097
+ instance: z.ZodString;
3170
4098
  preparations: z.ZodString;
3171
- methods: z.ZodString;
4099
+ build_plans: z.ZodString;
4100
+ build_runs: z.ZodString;
3172
4101
  runs: z.ZodString;
3173
- readiness: z.ZodString;
3174
- portable_contexts: z.ZodString;
3175
- source_files: z.ZodString;
3176
- workspace_files: z.ZodString;
3177
4102
  action_proposals: z.ZodString;
3178
- preparation_setups: z.ZodString;
3179
- preparation_changes: z.ZodString;
3180
- method_changes: z.ZodString;
3181
- workspace_bootstraps: z.ZodOptional<z.ZodString>;
3182
- readiness_check_drafts: z.ZodString;
3183
- method_authoring_runs: z.ZodString;
3184
- method_improvement_runs: z.ZodString;
3185
- compile_runs: z.ZodString;
3186
- verify_runs: z.ZodString;
3187
- reset: z.ZodString;
3188
4103
  executor: z.ZodString;
4104
+ open_path: z.ZodString;
3189
4105
  agents: z.ZodOptional<z.ZodString>;
3190
- workspaces: z.ZodOptional<z.ZodString>;
4106
+ readiness: z.ZodOptional<z.ZodString>;
4107
+ verifiable_contexts: z.ZodOptional<z.ZodString>;
4108
+ source_files: z.ZodOptional<z.ZodString>;
4109
+ preparation_setups: z.ZodOptional<z.ZodString>;
4110
+ preparation_changes: z.ZodOptional<z.ZodString>;
4111
+ build_plan_changes: z.ZodOptional<z.ZodString>;
4112
+ readiness_check_drafts: z.ZodOptional<z.ZodString>;
4113
+ build_plan_draft_runs: z.ZodOptional<z.ZodString>;
4114
+ build_plan_improvement_runs: z.ZodOptional<z.ZodString>;
4115
+ verify_runs: z.ZodOptional<z.ZodString>;
4116
+ reset: z.ZodOptional<z.ZodString>;
3191
4117
  status: z.ZodOptional<z.ZodString>;
3192
4118
  }, z.core.$strict>;
3193
4119
  }, z.core.$strict>;
@@ -3208,10 +4134,10 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
3208
4134
  }>;
3209
4135
  locator: z.ZodString;
3210
4136
  }, z.core.$strict>;
3211
- method_id: z.ZodNullable<z.ZodString>;
4137
+ build_plan_id: z.ZodNullable<z.ZodString>;
3212
4138
  about: z.ZodNullable<z.ZodString>;
3213
4139
  config_path: z.ZodString;
3214
- portable_context: z.ZodObject<{
4140
+ verifiable_context: z.ZodObject<{
3215
4141
  kind: z.ZodEnum<{
3216
4142
  "local-path": "local-path";
3217
4143
  "remote-url": "remote-url";
@@ -3232,15 +4158,76 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
3232
4158
  }, z.core.$strip>>;
3233
4159
  strictness: z.ZodOptional<z.ZodString>;
3234
4160
  }, z.core.$strict>>>;
4161
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
4162
+ id: z.ZodOptional<z.ZodString>;
4163
+ title: z.ZodString;
4164
+ purpose: z.ZodOptional<z.ZodString>;
4165
+ description: z.ZodOptional<z.ZodString>;
4166
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
4167
+ label: z.ZodString;
4168
+ }, z.core.$loose>]>>>;
4169
+ output: z.ZodOptional<z.ZodObject<{
4170
+ path: z.ZodOptional<z.ZodString>;
4171
+ shape: z.ZodOptional<z.ZodObject<{
4172
+ kind: z.ZodLiteral<"path">;
4173
+ path: z.ZodString;
4174
+ artifact_kind: z.ZodEnum<{
4175
+ file: "file";
4176
+ directory: "directory";
4177
+ }>;
4178
+ }, z.core.$strict>>;
4179
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4180
+ id: z.ZodString;
4181
+ kind: z.ZodEnum<{
4182
+ file_exists: "file_exists";
4183
+ min_file_count: "min_file_count";
4184
+ min_file_count_matches_source: "min_file_count_matches_source";
4185
+ frontmatter_valid: "frontmatter_valid";
4186
+ frontmatter_required_keys: "frontmatter_required_keys";
4187
+ wikilinks_valid: "wikilinks_valid";
4188
+ must_not_contain: "must_not_contain";
4189
+ must_contain: "must_contain";
4190
+ qa_match: "qa_match";
4191
+ }>;
4192
+ description: z.ZodOptional<z.ZodString>;
4193
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4194
+ required: z.ZodDefault<z.ZodBoolean>;
4195
+ }, z.core.$strict>>>;
4196
+ stage_hint: z.ZodOptional<z.ZodString>;
4197
+ }, z.core.$strict>>;
4198
+ }, z.core.$strict>>>>;
4199
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4200
+ summary: z.ZodOptional<z.ZodString>;
4201
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
4202
+ name: z.ZodOptional<z.ZodString>;
4203
+ path: z.ZodOptional<z.ZodString>;
4204
+ kind: z.ZodOptional<z.ZodString>;
4205
+ page_count: z.ZodOptional<z.ZodNumber>;
4206
+ note: z.ZodOptional<z.ZodString>;
4207
+ }, z.core.$loose>>>;
4208
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
4209
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
4210
+ }, z.core.$loose>>>;
3235
4211
  }, z.core.$strict>>;
3236
4212
  }, z.core.$strict>;
3237
- export declare const MethodListResponseSchema: z.ZodObject<{
3238
- methods: z.ZodArray<z.ZodObject<{
4213
+ export declare const BuildPlanListResponseSchema: z.ZodObject<{
4214
+ build_plans: z.ZodArray<z.ZodObject<{
3239
4215
  id: z.ZodString;
3240
- method_id: z.ZodString;
4216
+ build_plan_id: z.ZodString;
3241
4217
  path: z.ZodString;
3242
4218
  label: z.ZodOptional<z.ZodString>;
3243
4219
  hint: z.ZodOptional<z.ZodString>;
4220
+ purpose: z.ZodOptional<z.ZodObject<{
4221
+ label: z.ZodString;
4222
+ task_hint: z.ZodString;
4223
+ }, z.core.$strict>>;
4224
+ inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
4225
+ id: z.ZodString;
4226
+ label: z.ZodString;
4227
+ description: z.ZodString;
4228
+ required: z.ZodDefault<z.ZodBoolean>;
4229
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
4230
+ }, z.core.$strict>>>;
3244
4231
  source_kind: z.ZodDefault<z.ZodEnum<{
3245
4232
  builtin: "builtin";
3246
4233
  local: "local";
@@ -3289,10 +4276,10 @@ export declare const MethodListResponseSchema: z.ZodObject<{
3289
4276
  }, z.core.$strict>>>;
3290
4277
  }, z.core.$strict>>;
3291
4278
  }, z.core.$strict>;
3292
- export declare const CompileRunListResponseSchema: z.ZodObject<{
3293
- compile_runs: z.ZodArray<z.ZodObject<{
4279
+ export declare const BuildRunListResponseSchema: z.ZodObject<{
4280
+ build_runs: z.ZodArray<z.ZodObject<{
3294
4281
  run: z.ZodObject<{
3295
- kind: z.ZodLiteral<"interf-compile-run">;
4282
+ kind: z.ZodLiteral<"interf-build-run">;
3296
4283
  version: z.ZodLiteral<1>;
3297
4284
  run_id: z.ZodString;
3298
4285
  status: z.ZodEnum<{
@@ -3303,13 +4290,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3303
4290
  queued: "queued";
3304
4291
  }>;
3305
4292
  preparation: z.ZodString;
3306
- method: z.ZodString;
3307
- backend: z.ZodEnum<{
3308
- native: "native";
3309
- "workflow-sdk": "workflow-sdk";
3310
- }>;
4293
+ build_plan: z.ZodString;
4294
+ backend: z.ZodString;
3311
4295
  source_path: z.ZodString;
3312
- portable_context_path: z.ZodString;
4296
+ verifiable_context_path: z.ZodString;
3313
4297
  created_at: z.ZodString;
3314
4298
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3315
4299
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3403,11 +4387,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3403
4387
  timestamp: z.ZodString;
3404
4388
  type: z.ZodLiteral<"run.started">;
3405
4389
  preparation: z.ZodString;
3406
- method: z.ZodString;
3407
- portable_context_path: z.ZodString;
4390
+ build_plan: z.ZodOptional<z.ZodString>;
4391
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
3408
4392
  backend: z.ZodEnum<{
3409
4393
  native: "native";
3410
- "workflow-sdk": "workflow-sdk";
3411
4394
  }>;
3412
4395
  }, z.core.$strict>, z.ZodObject<{
3413
4396
  event_id: z.ZodString;
@@ -3528,8 +4511,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3528
4511
  passed: z.ZodNumber;
3529
4512
  total: z.ZodNumber;
3530
4513
  target: z.ZodOptional<z.ZodEnum<{
4514
+ "verifiable-context": "verifiable-context";
3531
4515
  "source-files": "source-files";
3532
- compiled: "compiled";
3533
4516
  }>>;
3534
4517
  checks_fingerprint: z.ZodOptional<z.ZodString>;
3535
4518
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -3540,7 +4523,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3540
4523
  timestamp: z.ZodString;
3541
4524
  type: z.ZodLiteral<"readiness.updated">;
3542
4525
  preparation: z.ZodString;
3543
- readiness: z.ZodObject<{
4526
+ readiness: z.ZodPreprocess<z.ZodObject<{
3544
4527
  kind: z.ZodLiteral<"interf-readiness-state">;
3545
4528
  version: z.ZodLiteral<1>;
3546
4529
  generated_at: z.ZodString;
@@ -3558,14 +4541,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3558
4541
  }>;
3559
4542
  ready: z.ZodBoolean;
3560
4543
  summary: z.ZodString;
3561
- portable_context_path: z.ZodNullable<z.ZodString>;
3562
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4544
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
4545
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3563
4546
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3564
- compile: z.ZodNullable<z.ZodObject<{
4547
+ build: z.ZodNullable<z.ZodObject<{
3565
4548
  gate: z.ZodEnum<{
3566
- "portable-context": "portable-context";
4549
+ "verifiable-context": "verifiable-context";
3567
4550
  "preparation-config": "preparation-config";
3568
- "compile-run": "compile-run";
4551
+ "build-run": "build-run";
4552
+ "artifact-checks": "artifact-checks";
3569
4553
  "readiness-checks": "readiness-checks";
3570
4554
  "checks-current": "checks-current";
3571
4555
  }>;
@@ -3598,7 +4582,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3598
4582
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3599
4583
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3600
4584
  }, z.core.$strict>>;
3601
- portable_context: z.ZodNullable<z.ZodObject<{
4585
+ verifiable_context: z.ZodNullable<z.ZodObject<{
3602
4586
  passed: z.ZodNumber;
3603
4587
  total: z.ZodNumber;
3604
4588
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -3610,9 +4594,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3610
4594
  }, z.core.$strict>;
3611
4595
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3612
4596
  gate: z.ZodEnum<{
3613
- "portable-context": "portable-context";
4597
+ "verifiable-context": "verifiable-context";
3614
4598
  "preparation-config": "preparation-config";
3615
- "compile-run": "compile-run";
4599
+ "build-run": "build-run";
4600
+ "artifact-checks": "artifact-checks";
3616
4601
  "readiness-checks": "readiness-checks";
3617
4602
  "checks-current": "checks-current";
3618
4603
  }>;
@@ -3633,7 +4618,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3633
4618
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3634
4619
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3635
4620
  }, z.core.$strict>>>;
3636
- }, z.core.$strict>;
4621
+ }, z.core.$strict>>;
3637
4622
  }, z.core.$strict>], "type">>>;
3638
4623
  latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3639
4624
  id: z.ZodString;
@@ -3662,7 +4647,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3662
4647
  detail: z.ZodOptional<z.ZodString>;
3663
4648
  }, z.core.$strict>>>;
3664
4649
  }, z.core.$strict>>>;
3665
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4650
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
3666
4651
  kind: z.ZodLiteral<"interf-readiness-state">;
3667
4652
  version: z.ZodLiteral<1>;
3668
4653
  generated_at: z.ZodString;
@@ -3680,14 +4665,15 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3680
4665
  }>;
3681
4666
  ready: z.ZodBoolean;
3682
4667
  summary: z.ZodString;
3683
- portable_context_path: z.ZodNullable<z.ZodString>;
3684
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4668
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
4669
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3685
4670
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3686
- compile: z.ZodNullable<z.ZodObject<{
4671
+ build: z.ZodNullable<z.ZodObject<{
3687
4672
  gate: z.ZodEnum<{
3688
- "portable-context": "portable-context";
4673
+ "verifiable-context": "verifiable-context";
3689
4674
  "preparation-config": "preparation-config";
3690
- "compile-run": "compile-run";
4675
+ "build-run": "build-run";
4676
+ "artifact-checks": "artifact-checks";
3691
4677
  "readiness-checks": "readiness-checks";
3692
4678
  "checks-current": "checks-current";
3693
4679
  }>;
@@ -3720,7 +4706,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3720
4706
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3721
4707
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3722
4708
  }, z.core.$strict>>;
3723
- portable_context: z.ZodNullable<z.ZodObject<{
4709
+ verifiable_context: z.ZodNullable<z.ZodObject<{
3724
4710
  passed: z.ZodNumber;
3725
4711
  total: z.ZodNumber;
3726
4712
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -3732,9 +4718,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3732
4718
  }, z.core.$strict>;
3733
4719
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3734
4720
  gate: z.ZodEnum<{
3735
- "portable-context": "portable-context";
4721
+ "verifiable-context": "verifiable-context";
3736
4722
  "preparation-config": "preparation-config";
3737
- "compile-run": "compile-run";
4723
+ "build-run": "build-run";
4724
+ "artifact-checks": "artifact-checks";
3738
4725
  "readiness-checks": "readiness-checks";
3739
4726
  "checks-current": "checks-current";
3740
4727
  }>;
@@ -3755,7 +4742,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3755
4742
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3756
4743
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3757
4744
  }, z.core.$strict>>>;
3758
- }, z.core.$strict>>>;
4745
+ }, z.core.$strict>>>>;
3759
4746
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3760
4747
  artifact_id: z.ZodString;
3761
4748
  status: z.ZodEnum<{
@@ -3795,9 +4782,9 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
3795
4782
  version: z.ZodLiteral<1>;
3796
4783
  run_id: z.ZodString;
3797
4784
  job_type: z.ZodEnum<{
3798
- "method-authoring": "method-authoring";
3799
- "method-improvement": "method-improvement";
4785
+ "build-plan-improvement": "build-plan-improvement";
3800
4786
  "readiness-check-draft": "readiness-check-draft";
4787
+ "build-plan-draft": "build-plan-draft";
3801
4788
  }>;
3802
4789
  status: z.ZodEnum<{
3803
4790
  succeeded: "succeeded";
@@ -3808,7 +4795,7 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
3808
4795
  }>;
3809
4796
  title: z.ZodString;
3810
4797
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3811
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4798
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3812
4799
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3813
4800
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3814
4801
  agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -3883,23 +4870,23 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3883
4870
  }>;
3884
4871
  preparation: z.ZodString;
3885
4872
  source_path: z.ZodString;
3886
- portable_context_path: z.ZodNullable<z.ZodString>;
4873
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
3887
4874
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3888
4875
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3889
- readiness_run: z.ZodNullable<z.ZodObject<{
4876
+ readiness_run: z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
3890
4877
  kind: z.ZodLiteral<"interf-readiness-check-run">;
3891
4878
  version: z.ZodLiteral<1>;
3892
4879
  generated_at: z.ZodString;
3893
4880
  mode: z.ZodEnum<{
4881
+ "verifiable-context": "verifiable-context";
3894
4882
  "source-files": "source-files";
3895
- compiled: "compiled";
3896
4883
  both: "both";
3897
4884
  }>;
3898
4885
  source_path: z.ZodString;
3899
4886
  checks_fingerprint: z.ZodOptional<z.ZodString>;
3900
4887
  preparation: z.ZodObject<{
3901
4888
  name: z.ZodString;
3902
- portable_context_path: z.ZodNullable<z.ZodString>;
4889
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
3903
4890
  }, z.core.$strip>;
3904
4891
  source_files: z.ZodNullable<z.ZodObject<{
3905
4892
  label: z.ZodString;
@@ -3911,15 +4898,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3911
4898
  total_checks: z.ZodNumber;
3912
4899
  target: z.ZodObject<{
3913
4900
  type: z.ZodEnum<{
4901
+ "verifiable-context": "verifiable-context";
3914
4902
  "source-files": "source-files";
3915
- compiled: "compiled";
3916
4903
  }>;
3917
4904
  name: z.ZodString;
3918
4905
  path: z.ZodString;
3919
- method: z.ZodString;
4906
+ build_plan: z.ZodString;
3920
4907
  }, z.core.$strip>;
3921
4908
  }, z.core.$strip>>;
3922
- compiled: z.ZodNullable<z.ZodObject<{
4909
+ verifiable_context: z.ZodNullable<z.ZodObject<{
3923
4910
  label: z.ZodString;
3924
4911
  run_path: z.ZodString;
3925
4912
  ok: z.ZodBoolean;
@@ -3929,20 +4916,20 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3929
4916
  total_checks: z.ZodNumber;
3930
4917
  target: z.ZodObject<{
3931
4918
  type: z.ZodEnum<{
4919
+ "verifiable-context": "verifiable-context";
3932
4920
  "source-files": "source-files";
3933
- compiled: "compiled";
3934
4921
  }>;
3935
4922
  name: z.ZodString;
3936
4923
  path: z.ZodString;
3937
- method: z.ZodString;
4924
+ build_plan: z.ZodString;
3938
4925
  }, z.core.$strip>;
3939
4926
  }, z.core.$strip>>;
3940
4927
  summary: z.ZodObject<{
3941
4928
  source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
3942
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
4929
+ verifiable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
3943
4930
  }, z.core.$strip>;
3944
- }, z.core.$strip>>;
3945
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4931
+ }, z.core.$strip>>>;
4932
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
3946
4933
  kind: z.ZodLiteral<"interf-readiness-state">;
3947
4934
  version: z.ZodLiteral<1>;
3948
4935
  generated_at: z.ZodString;
@@ -3960,14 +4947,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3960
4947
  }>;
3961
4948
  ready: z.ZodBoolean;
3962
4949
  summary: z.ZodString;
3963
- portable_context_path: z.ZodNullable<z.ZodString>;
3964
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4950
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
4951
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3965
4952
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3966
- compile: z.ZodNullable<z.ZodObject<{
4953
+ build: z.ZodNullable<z.ZodObject<{
3967
4954
  gate: z.ZodEnum<{
3968
- "portable-context": "portable-context";
4955
+ "verifiable-context": "verifiable-context";
3969
4956
  "preparation-config": "preparation-config";
3970
- "compile-run": "compile-run";
4957
+ "build-run": "build-run";
4958
+ "artifact-checks": "artifact-checks";
3971
4959
  "readiness-checks": "readiness-checks";
3972
4960
  "checks-current": "checks-current";
3973
4961
  }>;
@@ -4000,7 +4988,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4000
4988
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4001
4989
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4002
4990
  }, z.core.$strict>>;
4003
- portable_context: z.ZodNullable<z.ZodObject<{
4991
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4004
4992
  passed: z.ZodNumber;
4005
4993
  total: z.ZodNumber;
4006
4994
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4012,9 +5000,10 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4012
5000
  }, z.core.$strict>;
4013
5001
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4014
5002
  gate: z.ZodEnum<{
4015
- "portable-context": "portable-context";
5003
+ "verifiable-context": "verifiable-context";
4016
5004
  "preparation-config": "preparation-config";
4017
- "compile-run": "compile-run";
5005
+ "build-run": "build-run";
5006
+ "artifact-checks": "artifact-checks";
4018
5007
  "readiness-checks": "readiness-checks";
4019
5008
  "checks-current": "checks-current";
4020
5009
  }>;
@@ -4035,18 +5024,17 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4035
5024
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4036
5025
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4037
5026
  }, z.core.$strict>>>;
4038
- }, z.core.$strict>>>;
5027
+ }, z.core.$strict>>>>;
4039
5028
  events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4040
5029
  event_id: z.ZodString;
4041
5030
  run_id: z.ZodString;
4042
5031
  timestamp: z.ZodString;
4043
5032
  type: z.ZodLiteral<"run.started">;
4044
5033
  preparation: z.ZodString;
4045
- method: z.ZodString;
4046
- portable_context_path: z.ZodString;
5034
+ build_plan: z.ZodOptional<z.ZodString>;
5035
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
4047
5036
  backend: z.ZodEnum<{
4048
5037
  native: "native";
4049
- "workflow-sdk": "workflow-sdk";
4050
5038
  }>;
4051
5039
  }, z.core.$strict>, z.ZodObject<{
4052
5040
  event_id: z.ZodString;
@@ -4167,8 +5155,8 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4167
5155
  passed: z.ZodNumber;
4168
5156
  total: z.ZodNumber;
4169
5157
  target: z.ZodOptional<z.ZodEnum<{
5158
+ "verifiable-context": "verifiable-context";
4170
5159
  "source-files": "source-files";
4171
- compiled: "compiled";
4172
5160
  }>>;
4173
5161
  checks_fingerprint: z.ZodOptional<z.ZodString>;
4174
5162
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -4179,7 +5167,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4179
5167
  timestamp: z.ZodString;
4180
5168
  type: z.ZodLiteral<"readiness.updated">;
4181
5169
  preparation: z.ZodString;
4182
- readiness: z.ZodObject<{
5170
+ readiness: z.ZodPreprocess<z.ZodObject<{
4183
5171
  kind: z.ZodLiteral<"interf-readiness-state">;
4184
5172
  version: z.ZodLiteral<1>;
4185
5173
  generated_at: z.ZodString;
@@ -4197,14 +5185,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4197
5185
  }>;
4198
5186
  ready: z.ZodBoolean;
4199
5187
  summary: z.ZodString;
4200
- portable_context_path: z.ZodNullable<z.ZodString>;
4201
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5188
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
5189
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4202
5190
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4203
- compile: z.ZodNullable<z.ZodObject<{
5191
+ build: z.ZodNullable<z.ZodObject<{
4204
5192
  gate: z.ZodEnum<{
4205
- "portable-context": "portable-context";
5193
+ "verifiable-context": "verifiable-context";
4206
5194
  "preparation-config": "preparation-config";
4207
- "compile-run": "compile-run";
5195
+ "build-run": "build-run";
5196
+ "artifact-checks": "artifact-checks";
4208
5197
  "readiness-checks": "readiness-checks";
4209
5198
  "checks-current": "checks-current";
4210
5199
  }>;
@@ -4237,7 +5226,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4237
5226
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4238
5227
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4239
5228
  }, z.core.$strict>>;
4240
- portable_context: z.ZodNullable<z.ZodObject<{
5229
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4241
5230
  passed: z.ZodNumber;
4242
5231
  total: z.ZodNumber;
4243
5232
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4249,9 +5238,10 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4249
5238
  }, z.core.$strict>;
4250
5239
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4251
5240
  gate: z.ZodEnum<{
4252
- "portable-context": "portable-context";
5241
+ "verifiable-context": "verifiable-context";
4253
5242
  "preparation-config": "preparation-config";
4254
- "compile-run": "compile-run";
5243
+ "build-run": "build-run";
5244
+ "artifact-checks": "artifact-checks";
4255
5245
  "readiness-checks": "readiness-checks";
4256
5246
  "checks-current": "checks-current";
4257
5247
  }>;
@@ -4272,7 +5262,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4272
5262
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4273
5263
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4274
5264
  }, z.core.$strict>>>;
4275
- }, z.core.$strict>;
5265
+ }, z.core.$strict>>;
4276
5266
  }, z.core.$strict>], "type">>>;
4277
5267
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4278
5268
  }, z.core.$strict>>;
@@ -4283,11 +5273,11 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4283
5273
  version: z.ZodLiteral<1>;
4284
5274
  run_id: z.ZodString;
4285
5275
  run_type: z.ZodEnum<{
4286
- compile: "compile";
4287
- "method-authoring": "method-authoring";
4288
- "method-improvement": "method-improvement";
5276
+ build: "build";
5277
+ "build-plan-improvement": "build-plan-improvement";
4289
5278
  verify: "verify";
4290
5279
  "readiness-check-draft": "readiness-check-draft";
5280
+ "build-plan-draft": "build-plan-draft";
4291
5281
  job: "job";
4292
5282
  }>;
4293
5283
  title: z.ZodString;
@@ -4299,7 +5289,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4299
5289
  queued: "queued";
4300
5290
  }>;
4301
5291
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4302
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5292
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4303
5293
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4304
5294
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4305
5295
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4344,7 +5334,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4344
5334
  ok: z.ZodBoolean;
4345
5335
  detail: z.ZodOptional<z.ZodString>;
4346
5336
  }, z.core.$strict>>>;
4347
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5337
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
4348
5338
  kind: z.ZodLiteral<"interf-readiness-state">;
4349
5339
  version: z.ZodLiteral<1>;
4350
5340
  generated_at: z.ZodString;
@@ -4362,14 +5352,15 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4362
5352
  }>;
4363
5353
  ready: z.ZodBoolean;
4364
5354
  summary: z.ZodString;
4365
- portable_context_path: z.ZodNullable<z.ZodString>;
4366
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5355
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
5356
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4367
5357
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4368
- compile: z.ZodNullable<z.ZodObject<{
5358
+ build: z.ZodNullable<z.ZodObject<{
4369
5359
  gate: z.ZodEnum<{
4370
- "portable-context": "portable-context";
5360
+ "verifiable-context": "verifiable-context";
4371
5361
  "preparation-config": "preparation-config";
4372
- "compile-run": "compile-run";
5362
+ "build-run": "build-run";
5363
+ "artifact-checks": "artifact-checks";
4373
5364
  "readiness-checks": "readiness-checks";
4374
5365
  "checks-current": "checks-current";
4375
5366
  }>;
@@ -4402,7 +5393,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4402
5393
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4403
5394
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4404
5395
  }, z.core.$strict>>;
4405
- portable_context: z.ZodNullable<z.ZodObject<{
5396
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4406
5397
  passed: z.ZodNumber;
4407
5398
  total: z.ZodNumber;
4408
5399
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4414,9 +5405,10 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4414
5405
  }, z.core.$strict>;
4415
5406
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4416
5407
  gate: z.ZodEnum<{
4417
- "portable-context": "portable-context";
5408
+ "verifiable-context": "verifiable-context";
4418
5409
  "preparation-config": "preparation-config";
4419
- "compile-run": "compile-run";
5410
+ "build-run": "build-run";
5411
+ "artifact-checks": "artifact-checks";
4420
5412
  "readiness-checks": "readiness-checks";
4421
5413
  "checks-current": "checks-current";
4422
5414
  }>;
@@ -4437,7 +5429,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4437
5429
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4438
5430
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4439
5431
  }, z.core.$strict>>>;
4440
- }, z.core.$strict>>>;
5432
+ }, z.core.$strict>>>>;
4441
5433
  trace: z.ZodObject<{
4442
5434
  run: z.ZodObject<{
4443
5435
  runId: z.ZodString;
@@ -4449,7 +5441,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4449
5441
  cancelled: "cancelled";
4450
5442
  }>;
4451
5443
  deploymentId: z.ZodString;
4452
- methodName: z.ZodString;
5444
+ traceName: z.ZodString;
4453
5445
  specVersion: z.ZodLiteral<1>;
4454
5446
  executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4455
5447
  input: z.ZodUnknown;
@@ -4521,13 +5513,13 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4521
5513
  command_preview: z.ZodOptional<z.ZodString>;
4522
5514
  message: z.ZodString;
4523
5515
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4524
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5516
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4525
5517
  client_origin: z.ZodDefault<z.ZodEnum<{
4526
5518
  unknown: "unknown";
4527
- mcp: "mcp";
4528
5519
  "ui-chat": "ui-chat";
4529
5520
  cli: "cli";
4530
5521
  "agent-cli": "agent-cli";
5522
+ mcp: "mcp";
4531
5523
  service: "service";
4532
5524
  }>>;
4533
5525
  created_at: z.ZodString;
@@ -4544,7 +5536,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4544
5536
  }, z.core.$strict>>>;
4545
5537
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4546
5538
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4547
- "compile-run": "compile-run";
5539
+ "build-run": "build-run";
4548
5540
  "verify-run": "verify-run";
4549
5541
  "job-run": "job-run";
4550
5542
  }>>>;
@@ -4569,13 +5561,13 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4569
5561
  command_preview: z.ZodOptional<z.ZodString>;
4570
5562
  message: z.ZodString;
4571
5563
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4572
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5564
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4573
5565
  client_origin: z.ZodDefault<z.ZodEnum<{
4574
5566
  unknown: "unknown";
4575
- mcp: "mcp";
4576
5567
  "ui-chat": "ui-chat";
4577
5568
  cli: "cli";
4578
5569
  "agent-cli": "agent-cli";
5570
+ mcp: "mcp";
4579
5571
  service: "service";
4580
5572
  }>>;
4581
5573
  created_at: z.ZodString;
@@ -4592,15 +5584,15 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4592
5584
  }, z.core.$strict>>>;
4593
5585
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4594
5586
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4595
- "compile-run": "compile-run";
5587
+ "build-run": "build-run";
4596
5588
  "verify-run": "verify-run";
4597
5589
  "job-run": "job-run";
4598
5590
  }>>>;
4599
5591
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4600
- action_type: z.ZodLiteral<"compile">;
5592
+ action_type: z.ZodLiteral<"build">;
4601
5593
  request: z.ZodObject<{
4602
5594
  preparation: z.ZodString;
4603
- method: z.ZodOptional<z.ZodString>;
5595
+ build_plan: z.ZodOptional<z.ZodString>;
4604
5596
  max_attempts: z.ZodOptional<z.ZodNumber>;
4605
5597
  max_loops: z.ZodOptional<z.ZodNumber>;
4606
5598
  preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
@@ -4626,13 +5618,13 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4626
5618
  command_preview: z.ZodOptional<z.ZodString>;
4627
5619
  message: z.ZodString;
4628
5620
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4629
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5621
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4630
5622
  client_origin: z.ZodDefault<z.ZodEnum<{
4631
5623
  unknown: "unknown";
4632
- mcp: "mcp";
4633
5624
  "ui-chat": "ui-chat";
4634
5625
  cli: "cli";
4635
5626
  "agent-cli": "agent-cli";
5627
+ mcp: "mcp";
4636
5628
  service: "service";
4637
5629
  }>>;
4638
5630
  created_at: z.ZodString;
@@ -4649,7 +5641,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4649
5641
  }, z.core.$strict>>>;
4650
5642
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4651
5643
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4652
- "compile-run": "compile-run";
5644
+ "build-run": "build-run";
4653
5645
  "verify-run": "verify-run";
4654
5646
  "job-run": "job-run";
4655
5647
  }>>>;
@@ -4658,8 +5650,8 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4658
5650
  request: z.ZodObject<{
4659
5651
  preparation: z.ZodString;
4660
5652
  target: z.ZodDefault<z.ZodEnum<{
5653
+ "verifiable-context": "verifiable-context";
4661
5654
  "source-files": "source-files";
4662
- compiled: "compiled";
4663
5655
  }>>;
4664
5656
  }, z.core.$strict>;
4665
5657
  }, z.core.$strict>, z.ZodObject<{
@@ -4680,13 +5672,13 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4680
5672
  command_preview: z.ZodOptional<z.ZodString>;
4681
5673
  message: z.ZodString;
4682
5674
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4683
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5675
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4684
5676
  client_origin: z.ZodDefault<z.ZodEnum<{
4685
5677
  unknown: "unknown";
4686
- mcp: "mcp";
4687
5678
  "ui-chat": "ui-chat";
4688
5679
  cli: "cli";
4689
5680
  "agent-cli": "agent-cli";
5681
+ mcp: "mcp";
4690
5682
  service: "service";
4691
5683
  }>>;
4692
5684
  created_at: z.ZodString;
@@ -4703,7 +5695,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4703
5695
  }, z.core.$strict>>>;
4704
5696
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4705
5697
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4706
- "compile-run": "compile-run";
5698
+ "build-run": "build-run";
4707
5699
  "verify-run": "verify-run";
4708
5700
  "job-run": "job-run";
4709
5701
  }>>>;
@@ -4733,13 +5725,13 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4733
5725
  command_preview: z.ZodOptional<z.ZodString>;
4734
5726
  message: z.ZodString;
4735
5727
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4736
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5728
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4737
5729
  client_origin: z.ZodDefault<z.ZodEnum<{
4738
5730
  unknown: "unknown";
4739
- mcp: "mcp";
4740
5731
  "ui-chat": "ui-chat";
4741
5732
  cli: "cli";
4742
5733
  "agent-cli": "agent-cli";
5734
+ mcp: "mcp";
4743
5735
  service: "service";
4744
5736
  }>>;
4745
5737
  created_at: z.ZodString;
@@ -4756,18 +5748,18 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4756
5748
  }, z.core.$strict>>>;
4757
5749
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4758
5750
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4759
- "compile-run": "compile-run";
5751
+ "build-run": "build-run";
4760
5752
  "verify-run": "verify-run";
4761
5753
  "job-run": "job-run";
4762
5754
  }>>>;
4763
5755
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4764
- action_type: z.ZodLiteral<"method-authoring">;
5756
+ action_type: z.ZodLiteral<"build-plan-draft">;
4765
5757
  request: z.ZodObject<{
4766
5758
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4767
5759
  source_folder_path: z.ZodString;
4768
- base_method_id: z.ZodOptional<z.ZodString>;
4769
- reference_method_id: z.ZodOptional<z.ZodString>;
4770
- method_id: z.ZodString;
5760
+ base_build_plan_id: z.ZodOptional<z.ZodString>;
5761
+ reference_build_plan_id: z.ZodOptional<z.ZodString>;
5762
+ build_plan_id: z.ZodString;
4771
5763
  label: z.ZodString;
4772
5764
  hint: z.ZodString;
4773
5765
  task_prompt: z.ZodString;
@@ -4784,6 +5776,56 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4784
5776
  }, z.core.$strip>>;
4785
5777
  strictness: z.ZodOptional<z.ZodString>;
4786
5778
  }, z.core.$strict>>>;
5779
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
5780
+ id: z.ZodOptional<z.ZodString>;
5781
+ title: z.ZodString;
5782
+ purpose: z.ZodOptional<z.ZodString>;
5783
+ description: z.ZodOptional<z.ZodString>;
5784
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5785
+ label: z.ZodString;
5786
+ }, z.core.$loose>]>>>;
5787
+ output: z.ZodOptional<z.ZodObject<{
5788
+ path: z.ZodOptional<z.ZodString>;
5789
+ shape: z.ZodOptional<z.ZodObject<{
5790
+ kind: z.ZodLiteral<"path">;
5791
+ path: z.ZodString;
5792
+ artifact_kind: z.ZodEnum<{
5793
+ file: "file";
5794
+ directory: "directory";
5795
+ }>;
5796
+ }, z.core.$strict>>;
5797
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5798
+ id: z.ZodString;
5799
+ kind: z.ZodEnum<{
5800
+ file_exists: "file_exists";
5801
+ min_file_count: "min_file_count";
5802
+ min_file_count_matches_source: "min_file_count_matches_source";
5803
+ frontmatter_valid: "frontmatter_valid";
5804
+ frontmatter_required_keys: "frontmatter_required_keys";
5805
+ wikilinks_valid: "wikilinks_valid";
5806
+ must_not_contain: "must_not_contain";
5807
+ must_contain: "must_contain";
5808
+ qa_match: "qa_match";
5809
+ }>;
5810
+ description: z.ZodOptional<z.ZodString>;
5811
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5812
+ required: z.ZodDefault<z.ZodBoolean>;
5813
+ }, z.core.$strict>>>;
5814
+ stage_hint: z.ZodOptional<z.ZodString>;
5815
+ }, z.core.$strict>>;
5816
+ }, z.core.$strict>>>>;
5817
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5818
+ summary: z.ZodOptional<z.ZodString>;
5819
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
5820
+ name: z.ZodOptional<z.ZodString>;
5821
+ path: z.ZodOptional<z.ZodString>;
5822
+ kind: z.ZodOptional<z.ZodString>;
5823
+ page_count: z.ZodOptional<z.ZodNumber>;
5824
+ note: z.ZodOptional<z.ZodString>;
5825
+ }, z.core.$loose>>>;
5826
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5827
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5828
+ }, z.core.$loose>>>;
4787
5829
  artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
4788
5830
  id: z.ZodString;
4789
5831
  description: z.ZodOptional<z.ZodString>;
@@ -4833,13 +5875,13 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4833
5875
  command_preview: z.ZodOptional<z.ZodString>;
4834
5876
  message: z.ZodString;
4835
5877
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4836
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5878
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4837
5879
  client_origin: z.ZodDefault<z.ZodEnum<{
4838
5880
  unknown: "unknown";
4839
- mcp: "mcp";
4840
5881
  "ui-chat": "ui-chat";
4841
5882
  cli: "cli";
4842
5883
  "agent-cli": "agent-cli";
5884
+ mcp: "mcp";
4843
5885
  service: "service";
4844
5886
  }>>;
4845
5887
  created_at: z.ZodString;
@@ -4856,18 +5898,18 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4856
5898
  }, z.core.$strict>>>;
4857
5899
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4858
5900
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4859
- "compile-run": "compile-run";
5901
+ "build-run": "build-run";
4860
5902
  "verify-run": "verify-run";
4861
5903
  "job-run": "job-run";
4862
5904
  }>>>;
4863
5905
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4864
- action_type: z.ZodLiteral<"method-improvement">;
5906
+ action_type: z.ZodLiteral<"build-plan-improvement">;
4865
5907
  request: z.ZodObject<{
4866
5908
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4867
5909
  source_folder_path: z.ZodString;
4868
- base_method_id: z.ZodOptional<z.ZodString>;
4869
- reference_method_id: z.ZodOptional<z.ZodString>;
4870
- method_id: z.ZodString;
5910
+ base_build_plan_id: z.ZodOptional<z.ZodString>;
5911
+ reference_build_plan_id: z.ZodOptional<z.ZodString>;
5912
+ build_plan_id: z.ZodString;
4871
5913
  label: z.ZodString;
4872
5914
  hint: z.ZodString;
4873
5915
  task_prompt: z.ZodString;
@@ -4884,6 +5926,56 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4884
5926
  }, z.core.$strip>>;
4885
5927
  strictness: z.ZodOptional<z.ZodString>;
4886
5928
  }, z.core.$strict>>>;
5929
+ requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
5930
+ id: z.ZodOptional<z.ZodString>;
5931
+ title: z.ZodString;
5932
+ purpose: z.ZodOptional<z.ZodString>;
5933
+ description: z.ZodOptional<z.ZodString>;
5934
+ checks: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5935
+ label: z.ZodString;
5936
+ }, z.core.$loose>]>>>;
5937
+ output: z.ZodOptional<z.ZodObject<{
5938
+ path: z.ZodOptional<z.ZodString>;
5939
+ shape: z.ZodOptional<z.ZodObject<{
5940
+ kind: z.ZodLiteral<"path">;
5941
+ path: z.ZodString;
5942
+ artifact_kind: z.ZodEnum<{
5943
+ file: "file";
5944
+ directory: "directory";
5945
+ }>;
5946
+ }, z.core.$strict>>;
5947
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5948
+ id: z.ZodString;
5949
+ kind: z.ZodEnum<{
5950
+ file_exists: "file_exists";
5951
+ min_file_count: "min_file_count";
5952
+ min_file_count_matches_source: "min_file_count_matches_source";
5953
+ frontmatter_valid: "frontmatter_valid";
5954
+ frontmatter_required_keys: "frontmatter_required_keys";
5955
+ wikilinks_valid: "wikilinks_valid";
5956
+ must_not_contain: "must_not_contain";
5957
+ must_contain: "must_contain";
5958
+ qa_match: "qa_match";
5959
+ }>;
5960
+ description: z.ZodOptional<z.ZodString>;
5961
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5962
+ required: z.ZodDefault<z.ZodBoolean>;
5963
+ }, z.core.$strict>>>;
5964
+ stage_hint: z.ZodOptional<z.ZodString>;
5965
+ }, z.core.$strict>>;
5966
+ }, z.core.$strict>>>>;
5967
+ source_profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5968
+ summary: z.ZodOptional<z.ZodString>;
5969
+ items: z.ZodDefault<z.ZodArray<z.ZodObject<{
5970
+ name: z.ZodOptional<z.ZodString>;
5971
+ path: z.ZodOptional<z.ZodString>;
5972
+ kind: z.ZodOptional<z.ZodString>;
5973
+ page_count: z.ZodOptional<z.ZodNumber>;
5974
+ note: z.ZodOptional<z.ZodString>;
5975
+ }, z.core.$loose>>>;
5976
+ observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5977
+ limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
5978
+ }, z.core.$loose>>>;
4887
5979
  artifact_requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
4888
5980
  id: z.ZodString;
4889
5981
  description: z.ZodOptional<z.ZodString>;
@@ -4917,12 +6009,12 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
4917
6009
  }, z.core.$strict>;
4918
6010
  }, z.core.$strict>], "action_type">>;
4919
6011
  }, z.core.$strict>;
4920
- export declare const PortableContextListResponseSchema: z.ZodObject<{
4921
- portable_contexts: z.ZodArray<z.ZodObject<{
6012
+ export declare const VerifiableContextListResponseSchema: z.ZodObject<{
6013
+ verifiable_contexts: z.ZodArray<z.ZodObject<{
4922
6014
  preparation: z.ZodString;
4923
6015
  path: z.ZodString;
4924
6016
  exists: z.ZodBoolean;
4925
- readiness: z.ZodObject<{
6017
+ readiness: z.ZodPreprocess<z.ZodObject<{
4926
6018
  kind: z.ZodLiteral<"interf-readiness-state">;
4927
6019
  version: z.ZodLiteral<1>;
4928
6020
  generated_at: z.ZodString;
@@ -4940,14 +6032,15 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4940
6032
  }>;
4941
6033
  ready: z.ZodBoolean;
4942
6034
  summary: z.ZodString;
4943
- portable_context_path: z.ZodNullable<z.ZodString>;
4944
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6035
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
6036
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4945
6037
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4946
- compile: z.ZodNullable<z.ZodObject<{
6038
+ build: z.ZodNullable<z.ZodObject<{
4947
6039
  gate: z.ZodEnum<{
4948
- "portable-context": "portable-context";
6040
+ "verifiable-context": "verifiable-context";
4949
6041
  "preparation-config": "preparation-config";
4950
- "compile-run": "compile-run";
6042
+ "build-run": "build-run";
6043
+ "artifact-checks": "artifact-checks";
4951
6044
  "readiness-checks": "readiness-checks";
4952
6045
  "checks-current": "checks-current";
4953
6046
  }>;
@@ -4980,7 +6073,7 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4980
6073
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4981
6074
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4982
6075
  }, z.core.$strict>>;
4983
- portable_context: z.ZodNullable<z.ZodObject<{
6076
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4984
6077
  passed: z.ZodNumber;
4985
6078
  total: z.ZodNumber;
4986
6079
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4992,9 +6085,10 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
4992
6085
  }, z.core.$strict>;
4993
6086
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4994
6087
  gate: z.ZodEnum<{
4995
- "portable-context": "portable-context";
6088
+ "verifiable-context": "verifiable-context";
4996
6089
  "preparation-config": "preparation-config";
4997
- "compile-run": "compile-run";
6090
+ "build-run": "build-run";
6091
+ "artifact-checks": "artifact-checks";
4998
6092
  "readiness-checks": "readiness-checks";
4999
6093
  "checks-current": "checks-current";
5000
6094
  }>;
@@ -5015,9 +6109,9 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
5015
6109
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5016
6110
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5017
6111
  }, z.core.$strict>>>;
5018
- }, z.core.$strict>;
5019
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5020
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6112
+ }, z.core.$strict>>;
6113
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6114
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5021
6115
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5022
6116
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5023
6117
  path: z.ZodString;
@@ -5035,7 +6129,7 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
5035
6129
  }, z.core.$strict>>;
5036
6130
  }, z.core.$strict>;
5037
6131
  export declare const ReadinessListResponseSchema: z.ZodObject<{
5038
- readiness: z.ZodArray<z.ZodObject<{
6132
+ readiness: z.ZodArray<z.ZodPreprocess<z.ZodObject<{
5039
6133
  kind: z.ZodLiteral<"interf-readiness-state">;
5040
6134
  version: z.ZodLiteral<1>;
5041
6135
  generated_at: z.ZodString;
@@ -5053,14 +6147,15 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5053
6147
  }>;
5054
6148
  ready: z.ZodBoolean;
5055
6149
  summary: z.ZodString;
5056
- portable_context_path: z.ZodNullable<z.ZodString>;
5057
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6150
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
6151
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5058
6152
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5059
- compile: z.ZodNullable<z.ZodObject<{
6153
+ build: z.ZodNullable<z.ZodObject<{
5060
6154
  gate: z.ZodEnum<{
5061
- "portable-context": "portable-context";
6155
+ "verifiable-context": "verifiable-context";
5062
6156
  "preparation-config": "preparation-config";
5063
- "compile-run": "compile-run";
6157
+ "build-run": "build-run";
6158
+ "artifact-checks": "artifact-checks";
5064
6159
  "readiness-checks": "readiness-checks";
5065
6160
  "checks-current": "checks-current";
5066
6161
  }>;
@@ -5093,7 +6188,7 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5093
6188
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5094
6189
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5095
6190
  }, z.core.$strict>>;
5096
- portable_context: z.ZodNullable<z.ZodObject<{
6191
+ verifiable_context: z.ZodNullable<z.ZodObject<{
5097
6192
  passed: z.ZodNumber;
5098
6193
  total: z.ZodNumber;
5099
6194
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -5105,9 +6200,10 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5105
6200
  }, z.core.$strict>;
5106
6201
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5107
6202
  gate: z.ZodEnum<{
5108
- "portable-context": "portable-context";
6203
+ "verifiable-context": "verifiable-context";
5109
6204
  "preparation-config": "preparation-config";
5110
- "compile-run": "compile-run";
6205
+ "build-run": "build-run";
6206
+ "artifact-checks": "artifact-checks";
5111
6207
  "readiness-checks": "readiness-checks";
5112
6208
  "checks-current": "checks-current";
5113
6209
  }>;
@@ -5128,7 +6224,7 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5128
6224
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5129
6225
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5130
6226
  }, z.core.$strict>>>;
5131
- }, z.core.$strict>>;
6227
+ }, z.core.$strict>>>;
5132
6228
  }, z.core.$strict>;
5133
6229
  export declare const SourceFileListResponseSchema: z.ZodObject<{
5134
6230
  source_files: z.ZodArray<z.ZodObject<{
@@ -5140,28 +6236,18 @@ export declare const SourceFileListResponseSchema: z.ZodObject<{
5140
6236
  source_folder_path: z.ZodString;
5141
6237
  }, z.core.$strict>>;
5142
6238
  }, z.core.$strict>;
5143
- export declare const WorkspaceFileListResponseSchema: z.ZodObject<{
5144
- workspace_files: z.ZodArray<z.ZodObject<{
5145
- path: z.ZodString;
5146
- absolute_path: z.ZodString;
5147
- size_bytes: z.ZodNumber;
5148
- modified_at: z.ZodNullable<z.ZodString>;
5149
- }, z.core.$strict>>;
5150
- }, z.core.$strict>;
5151
6239
  export type LocalServiceConfig = z.infer<typeof LocalServiceConfigSchema>;
5152
6240
  export type LocalServiceError = z.infer<typeof LocalServiceErrorSchema>;
5153
6241
  export type LocalServiceHealth = z.infer<typeof LocalServiceHealthSchema>;
5154
- export type LocalServicePointer = z.infer<typeof LocalServicePointerSchema>;
5155
6242
  export type LocalServiceAuthToken = z.infer<typeof LocalServiceAuthTokenSchema>;
5156
- export type PortableContextMapping = z.infer<typeof PortableContextMappingSchema>;
6243
+ export type VerifiableContextMapping = z.infer<typeof VerifiableContextMappingSchema>;
5157
6244
  export type PreparationRunLinkage = z.infer<typeof PreparationRunLinkageSchema>;
5158
6245
  export type PreparationResource = z.infer<typeof PreparationResourceSchema>;
5159
- export type MethodResource = z.infer<typeof MethodResourceSchema>;
6246
+ export type BuildPlanResource = z.infer<typeof BuildPlanResourceSchema>;
5160
6247
  export type SourceFileResource = z.infer<typeof SourceFileResourceSchema>;
5161
- export type WorkspaceFileResource = z.infer<typeof WorkspaceFileResourceSchema>;
5162
- export type CompileRunCreateRequest = z.infer<typeof CompileRunCreateRequestSchema>;
5163
- export type CompileRunSummary = z.infer<typeof CompileRunSummarySchema>;
5164
- export type CompileRunResource = z.infer<typeof CompileRunResourceSchema>;
6248
+ export type BuildRunCreateRequest = z.infer<typeof BuildRunCreateRequestSchema>;
6249
+ export type BuildRunSummary = z.infer<typeof BuildRunSummarySchema>;
6250
+ export type BuildRunResource = z.infer<typeof BuildRunResourceSchema>;
5165
6251
  export type LocalJobType = z.infer<typeof LocalJobTypeSchema>;
5166
6252
  export type LocalJobStatus = z.infer<typeof LocalJobStatusSchema>;
5167
6253
  export type LocalRunHandlerResult = z.infer<typeof LocalRunHandlerResultSchema>;
@@ -5172,17 +6258,17 @@ export type LocalJobEvent = z.infer<typeof LocalJobEventSchema>;
5172
6258
  export type LocalJobRunCreateRequest = z.infer<typeof LocalJobRunCreateRequestSchema>;
5173
6259
  export type PreparationSetupCreateRequest = z.infer<typeof PreparationSetupCreateRequestSchema>;
5174
6260
  export type PreparationSetupResult = z.infer<typeof PreparationSetupResultSchema>;
5175
- export type MethodChangeCreateRequest = z.infer<typeof MethodChangeCreateRequestSchema>;
5176
- export type MethodChangeResult = z.infer<typeof MethodChangeResultSchema>;
6261
+ export type BuildPlanChangeCreateRequest = z.infer<typeof BuildPlanChangeCreateRequestSchema>;
6262
+ export type BuildPlanChangeResult = z.infer<typeof BuildPlanChangeResultSchema>;
5177
6263
  export type PreparationChangeCreateRequest = z.infer<typeof PreparationChangeCreateRequestSchema>;
5178
6264
  export type PreparationChangeResult = z.infer<typeof PreparationChangeResultSchema>;
5179
6265
  export type ResetRequest = z.infer<typeof ResetRequestSchema>;
5180
6266
  export type ResetResult = z.infer<typeof ResetResultSchema>;
5181
6267
  export type ReadinessCheckDraftCreateRequest = z.infer<typeof ReadinessCheckDraftCreateRequestSchema>;
5182
6268
  export type ReadinessCheckDraftResult = z.infer<typeof ReadinessCheckDraftResultSchema>;
5183
- export type MethodAuthoringArtifactRequirement = z.infer<typeof MethodAuthoringArtifactRequirementSchema>;
5184
- export type MethodAuthoringCreateRequest = z.infer<typeof MethodAuthoringCreateRequestSchema>;
5185
- export type MethodAuthoringResult = z.infer<typeof MethodAuthoringResultSchema>;
6269
+ export type BuildPlanAuthoringArtifactRequirement = z.infer<typeof BuildPlanAuthoringArtifactRequirementSchema>;
6270
+ export type BuildPlanAuthoringCreateRequest = z.infer<typeof BuildPlanAuthoringCreateRequestSchema>;
6271
+ export type BuildPlanAuthoringResult = z.infer<typeof BuildPlanAuthoringResultSchema>;
5186
6272
  export type LocalJobEventAppendRequest = z.infer<typeof LocalJobEventAppendRequestSchema>;
5187
6273
  export type LocalJobRunResource = z.infer<typeof LocalJobRunResourceSchema>;
5188
6274
  export type VerifyRunStatus = z.infer<typeof VerifyRunStatusSchema>;
@@ -5199,22 +6285,20 @@ export type ActionProposalPlan = z.infer<typeof ActionProposalPlanSchema>;
5199
6285
  export type ActionProposalApprovalRequest = z.infer<typeof ActionProposalApprovalRequestSchema>;
5200
6286
  export type ActionProposalApproval = z.infer<typeof ActionProposalApprovalSchema>;
5201
6287
  export type ActionProposalResource = z.infer<typeof ActionProposalResourceSchema>;
5202
- export type PortableContextResource = z.infer<typeof PortableContextResourceSchema>;
6288
+ export type VerifiableContextResource = z.infer<typeof VerifiableContextResourceSchema>;
5203
6289
  export type ReadinessResource = z.infer<typeof ReadinessResourceSchema>;
5204
6290
  export type OpenPathRequest = z.infer<typeof OpenPathRequestSchema>;
5205
6291
  export type OpenPathResponse = z.infer<typeof OpenPathResponseSchema>;
5206
6292
  export type LocalServiceDiscovery = z.infer<typeof LocalServiceDiscoverySchema>;
5207
6293
  export type PreparationListResponse = z.infer<typeof PreparationListResponseSchema>;
5208
- export type MethodListResponse = z.infer<typeof MethodListResponseSchema>;
5209
- export type CompileRunListResponse = z.infer<typeof CompileRunListResponseSchema>;
6294
+ export type BuildPlanListResponse = z.infer<typeof BuildPlanListResponseSchema>;
6295
+ export type BuildRunListResponse = z.infer<typeof BuildRunListResponseSchema>;
5210
6296
  export type LocalJobRunListResponse = z.infer<typeof LocalJobRunListResponseSchema>;
5211
6297
  export type VerifyRunListResponse = z.infer<typeof VerifyRunListResponseSchema>;
5212
6298
  export type RunObservabilityListResponse = z.infer<typeof RunObservabilityListResponseSchema>;
5213
6299
  export type ActionProposalListResponse = z.infer<typeof ActionProposalListResponseSchema>;
5214
- export type PortableContextListResponse = z.infer<typeof PortableContextListResponseSchema>;
6300
+ export type VerifiableContextListResponse = z.infer<typeof VerifiableContextListResponseSchema>;
5215
6301
  export type ReadinessListResponse = z.infer<typeof ReadinessListResponseSchema>;
5216
6302
  export type SourceFileListResponse = z.infer<typeof SourceFileListResponseSchema>;
5217
- export type WorkspaceFileListResponse = z.infer<typeof WorkspaceFileListResponseSchema>;
5218
- export type ServiceRegistryWorkspace = z.infer<typeof ServiceRegistryWorkspaceSchema>;
5219
6303
  export type ServiceRegistryEntry = z.infer<typeof ServiceRegistryEntrySchema>;
5220
6304
  export type ServiceRegistry = z.infer<typeof ServiceRegistrySchema>;