@interf/compiler 0.21.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 (367) hide show
  1. package/dist/cli/commands/build-plan.d.ts +2 -0
  2. package/dist/cli/commands/{method.js → build-plan.js} +89 -72
  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.js +48 -48
  7. package/dist/cli/commands/prep.js +16 -29
  8. package/dist/cli/commands/reset.d.ts +1 -1
  9. package/dist/cli/commands/reset.js +6 -6
  10. package/dist/cli/commands/runs.js +6 -28
  11. package/dist/cli/commands/status.js +1 -1
  12. package/dist/cli/commands/test.d.ts +1 -1
  13. package/dist/cli/commands/test.js +8 -8
  14. package/dist/cli/commands/web.js +3 -3
  15. package/dist/cli/commands/wizard.js +38 -38
  16. package/dist/cli/index.d.ts +3 -3
  17. package/dist/cli/index.js +5 -5
  18. package/dist/interf-ui/404.html +1 -0
  19. package/dist/interf-ui/__next.__PAGE__.txt +10 -0
  20. package/dist/interf-ui/__next._full.txt +20 -0
  21. package/dist/interf-ui/__next._head.txt +5 -0
  22. package/dist/interf-ui/__next._index.txt +5 -0
  23. package/dist/{compiler-ui → interf-ui}/__next._tree.txt +3 -4
  24. package/dist/interf-ui/_next/static/chunks/0.tjb6f4golw..css +3 -0
  25. package/dist/interf-ui/_next/static/chunks/085-n_jv2ng_q.css +1 -0
  26. package/dist/interf-ui/_next/static/chunks/0dn41fa_zvgsl.js +1 -0
  27. package/dist/interf-ui/_next/static/chunks/0g-ea0zj5d-0k.js +1 -0
  28. package/dist/interf-ui/_next/static/chunks/0gwqglc4iz583.js +1 -0
  29. package/dist/interf-ui/_next/static/chunks/0haldgm65ve6l.js +1 -0
  30. package/dist/interf-ui/_next/static/chunks/0nv3am99vjzn4.js +1 -0
  31. package/dist/{compiler-ui/_next/static/chunks/02f_.8.ebn556.js → interf-ui/_next/static/chunks/0s77gt_o4jwtx.js} +1 -1
  32. package/dist/interf-ui/_next/static/chunks/0~a36ujuzpaz..js +116 -0
  33. package/dist/interf-ui/_next/static/chunks/10jeodxe4nkgj.js +31 -0
  34. package/dist/interf-ui/_next/static/chunks/119h2rouych2t.js +1 -0
  35. package/dist/interf-ui/_next/static/chunks/13c8b~m8knjsf.js +1 -0
  36. package/dist/interf-ui/_next/static/chunks/14dznb2qpt-ho.js +91 -0
  37. package/dist/interf-ui/_next/static/chunks/15z_en80lrq-3.js +5 -0
  38. package/dist/{compiler-ui/_next/static/chunks/turbopack-0apv8vb-nczuy.js → interf-ui/_next/static/chunks/turbopack-0p.pvcjrtq-jh.js} +1 -1
  39. package/dist/interf-ui/_next/static/chunks/turbopack-0usj_75.8frlw.js +1 -0
  40. package/dist/interf-ui/_not-found/__next._full.txt +15 -0
  41. package/dist/interf-ui/_not-found/__next._head.txt +5 -0
  42. package/dist/interf-ui/_not-found/__next._index.txt +5 -0
  43. package/dist/{compiler-ui → interf-ui}/_not-found/__next._not-found.__PAGE__.txt +2 -2
  44. package/dist/interf-ui/_not-found/__next._not-found.txt +5 -0
  45. package/dist/{compiler-ui → interf-ui}/_not-found/__next._tree.txt +2 -3
  46. package/dist/interf-ui/_not-found.html +1 -0
  47. package/dist/interf-ui/_not-found.txt +15 -0
  48. package/dist/interf-ui/index.html +1 -0
  49. package/dist/interf-ui/index.txt +20 -0
  50. package/dist/packages/build-plans/authoring/build-plan-authoring.d.ts +36 -0
  51. package/dist/packages/{methods/authoring/method-authoring.js → build-plans/authoring/build-plan-authoring.js} +52 -52
  52. package/dist/packages/build-plans/authoring/build-plan-edit-session.d.ts +18 -0
  53. package/dist/packages/{methods/authoring/method-edit-session.js → build-plans/authoring/build-plan-edit-session.js} +34 -34
  54. package/dist/packages/build-plans/authoring/build-plan-improvement.d.ts +23 -0
  55. package/dist/packages/build-plans/authoring/build-plan-improvement.js +216 -0
  56. package/dist/packages/build-plans/authoring/index.d.ts +4 -0
  57. package/dist/packages/build-plans/authoring/index.js +4 -0
  58. package/dist/packages/{methods/authoring/lib/method-edit-utils.d.ts → build-plans/authoring/lib/build-plan-edit-utils.d.ts} +3 -3
  59. package/dist/packages/build-plans/build-plan-resolution.d.ts +6 -0
  60. package/dist/packages/build-plans/build-plan-resolution.js +7 -0
  61. package/dist/packages/build-plans/index.d.ts +2 -0
  62. package/dist/packages/build-plans/index.js +2 -0
  63. package/dist/packages/build-plans/package/build-plan-definitions.d.ts +61 -0
  64. package/dist/packages/build-plans/package/build-plan-definitions.js +214 -0
  65. package/dist/packages/{methods/package/method-helpers.d.ts → build-plans/package/build-plan-helpers.d.ts} +7 -7
  66. package/dist/packages/{methods/package/method-helpers.js → build-plans/package/build-plan-helpers.js} +20 -20
  67. package/dist/packages/build-plans/package/build-plan-review-paths.d.ts +10 -0
  68. package/dist/packages/build-plans/package/build-plan-review-paths.js +31 -0
  69. package/dist/packages/{methods/package/method-stage-runner.d.ts → build-plans/package/build-plan-stage-runner.d.ts} +12 -12
  70. package/dist/packages/{methods/package/method-stage-runner.js → build-plans/package/build-plan-stage-runner.js} +10 -10
  71. package/dist/packages/build-plans/package/builtin-build-plan.d.ts +37 -0
  72. package/dist/packages/build-plans/package/builtin-build-plan.js +91 -0
  73. package/dist/packages/{methods → build-plans}/package/context-interface.d.ts +11 -11
  74. package/dist/packages/{methods → build-plans}/package/context-interface.js +23 -23
  75. package/dist/packages/build-plans/package/interf-build-plan-package.d.ts +31 -0
  76. package/dist/packages/build-plans/package/interf-build-plan-package.js +466 -0
  77. package/dist/packages/{methods → build-plans}/package/lib/package-root.js +1 -1
  78. package/dist/packages/build-plans/package/local-build-plans.d.ts +74 -0
  79. package/dist/packages/{methods/package/local-methods.js → build-plans/package/local-build-plans.js} +152 -152
  80. package/dist/packages/build-plans/package/user-build-plans.d.ts +17 -0
  81. package/dist/packages/build-plans/package/user-build-plans.js +77 -0
  82. package/dist/packages/contracts/index.d.ts +1 -1
  83. package/dist/packages/contracts/lib/preparation-paths.d.ts +37 -37
  84. package/dist/packages/contracts/lib/preparation-paths.js +43 -43
  85. package/dist/packages/contracts/lib/schema.d.ts +34 -41
  86. package/dist/packages/contracts/lib/schema.js +42 -34
  87. package/dist/packages/engine/action-definitions.d.ts +60 -60
  88. package/dist/packages/engine/action-definitions.js +198 -197
  89. package/dist/packages/engine/action-planner.d.ts +2 -2
  90. package/dist/packages/engine/action-planner.js +5 -5
  91. package/dist/packages/engine/action-values.d.ts +1 -1
  92. package/dist/packages/engine/action-values.js +1 -1
  93. package/dist/packages/engine/agents/index.d.ts +2 -2
  94. package/dist/packages/engine/agents/index.js +1 -1
  95. package/dist/packages/engine/agents/lib/args.d.ts +2 -2
  96. package/dist/packages/engine/agents/lib/args.js +1 -1
  97. package/dist/packages/engine/agents/lib/constants.js +1 -1
  98. package/dist/packages/engine/agents/lib/execution-profile.d.ts +5 -5
  99. package/dist/packages/engine/agents/lib/execution-profile.js +3 -3
  100. package/dist/packages/engine/agents/lib/executors.d.ts +11 -11
  101. package/dist/packages/engine/agents/lib/render.js +4 -4
  102. package/dist/packages/engine/agents/lib/shells.d.ts +30 -30
  103. package/dist/packages/engine/agents/lib/shells.js +248 -248
  104. package/dist/packages/engine/agents/lib/types.d.ts +2 -2
  105. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.d.ts +3 -0
  106. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.js +19 -0
  107. package/dist/packages/engine/agents/role-executors.d.ts +7 -7
  108. package/dist/packages/engine/agents/role-executors.js +2 -2
  109. package/dist/packages/engine/agents/role-router.d.ts +2 -2
  110. package/dist/packages/engine/agents/role-router.js +1 -1
  111. package/dist/packages/engine/build/artifact-counts.d.ts +1 -0
  112. package/dist/packages/engine/{compile → build}/artifact-counts.js +7 -7
  113. package/dist/packages/engine/{compile → build}/artifact-status.d.ts +8 -8
  114. package/dist/packages/engine/{compile → build}/artifact-status.js +19 -19
  115. package/dist/packages/engine/{compile → build}/billing-events.d.ts +4 -4
  116. package/dist/packages/engine/{compile → build}/billing-events.js +4 -4
  117. package/dist/packages/engine/build/build-execution.d.ts +4 -0
  118. package/dist/packages/engine/build/build-execution.js +4 -0
  119. package/dist/packages/engine/build/build-pipeline.d.ts +56 -0
  120. package/dist/packages/engine/{compile/compiled-pipeline.js → build/build-pipeline.js} +55 -55
  121. package/dist/packages/engine/build/build-plan-primitives.d.ts +2 -0
  122. package/dist/packages/engine/{compile/method-primitives.js → build/build-plan-primitives.js} +1 -1
  123. package/dist/packages/engine/build/build-plan-runs.d.ts +14 -0
  124. package/dist/packages/engine/build/build-plan-runs.js +31 -0
  125. package/dist/packages/engine/build/build-stage-plan.d.ts +16 -0
  126. package/dist/packages/engine/build/build-stage-plan.js +100 -0
  127. package/dist/packages/engine/build/build-stage-runner.d.ts +15 -0
  128. package/dist/packages/engine/{compile/compiled-stage-runner.js → build/build-stage-runner.js} +21 -21
  129. package/dist/packages/engine/build/build-target.d.ts +11 -0
  130. package/dist/packages/engine/build/build-target.js +16 -0
  131. package/dist/packages/engine/{compile → build}/check-evaluator.d.ts +4 -4
  132. package/dist/packages/engine/{compile → build}/check-evaluator.js +1 -1
  133. package/dist/packages/engine/{compile → build}/discovery.d.ts +2 -2
  134. package/dist/packages/engine/{compile → build}/discovery.js +4 -4
  135. package/dist/packages/engine/{compile → build}/index.d.ts +6 -6
  136. package/dist/packages/engine/{compile → build}/index.js +5 -5
  137. package/dist/packages/engine/{compile → build}/lib/schema.d.ts +79 -79
  138. package/dist/packages/engine/{compile → build}/lib/schema.js +71 -71
  139. package/dist/packages/engine/build/reset.d.ts +2 -0
  140. package/dist/packages/engine/build/reset.js +74 -0
  141. package/dist/packages/engine/{compile → build}/runtime-contracts.js +8 -8
  142. package/dist/packages/engine/build/runtime-inventory.d.ts +7 -0
  143. package/dist/packages/engine/{compile → build}/runtime-inventory.js +8 -8
  144. package/dist/packages/engine/{compile → build}/runtime-paths.js +6 -6
  145. package/dist/packages/engine/{compile → build}/runtime-prompt.js +11 -11
  146. package/dist/packages/engine/build/runtime-reconcile.d.ts +2 -0
  147. package/dist/packages/engine/{compile → build}/runtime-reconcile.js +18 -18
  148. package/dist/packages/engine/{compile → build}/runtime-runs.js +27 -27
  149. package/dist/packages/engine/{compile → build}/runtime-types.d.ts +10 -10
  150. package/dist/packages/engine/build/source-files.d.ts +46 -0
  151. package/dist/packages/engine/{compile → build}/source-files.js +32 -32
  152. package/dist/packages/engine/build/state-artifacts.d.ts +9 -0
  153. package/dist/packages/engine/build/state-artifacts.js +14 -0
  154. package/dist/packages/engine/build/state-health.d.ts +4 -0
  155. package/dist/packages/engine/{compile → build}/state-health.js +40 -40
  156. package/dist/packages/engine/build/state-io.d.ts +11 -0
  157. package/dist/packages/engine/{compile → build}/state-io.js +22 -22
  158. package/dist/packages/engine/build/state-paths.js +16 -0
  159. package/dist/packages/engine/build/state-view.d.ts +5 -0
  160. package/dist/packages/engine/{compile → build}/state-view.js +29 -29
  161. package/dist/packages/engine/build/state.d.ts +7 -0
  162. package/dist/packages/engine/build/state.js +12 -0
  163. package/dist/packages/engine/build/validate-verifiable-context.d.ts +27 -0
  164. package/dist/packages/engine/{compile/validate-compiled.js → build/validate-verifiable-context.js} +73 -73
  165. package/dist/packages/engine/{compile → build}/validate.d.ts +4 -4
  166. package/dist/packages/engine/{compile → build}/validate.js +27 -27
  167. package/dist/packages/engine/build/verifiable-context-paths.d.ts +47 -0
  168. package/dist/packages/engine/build/verifiable-context-paths.js +121 -0
  169. package/dist/packages/engine/build/verifiable-context-schema.d.ts +21 -0
  170. package/dist/packages/engine/build/verifiable-context-schema.js +126 -0
  171. package/dist/packages/engine/client.d.ts +16 -16
  172. package/dist/packages/engine/client.js +21 -21
  173. package/dist/packages/engine/cloud-seams.d.ts +3 -3
  174. package/dist/packages/engine/execution/index.d.ts +2 -2
  175. package/dist/packages/engine/execution/index.js +1 -1
  176. package/dist/packages/engine/execution/lib/schema.d.ts +90 -95
  177. package/dist/packages/engine/execution/lib/schema.js +31 -31
  178. package/dist/packages/engine/index.d.ts +7 -7
  179. package/dist/packages/engine/index.js +3 -3
  180. package/dist/packages/engine/instance-paths.d.ts +39 -39
  181. package/dist/packages/engine/instance-paths.js +48 -48
  182. package/dist/packages/engine/lib/schema.d.ts +900 -472
  183. package/dist/packages/engine/lib/schema.js +137 -153
  184. package/dist/packages/engine/native-run-handlers.d.ts +12 -12
  185. package/dist/packages/engine/native-run-handlers.js +135 -135
  186. package/dist/packages/engine/preparation-store.d.ts +22 -23
  187. package/dist/packages/engine/preparation-store.js +30 -31
  188. package/dist/packages/engine/readiness-check-draft.d.ts +2 -2
  189. package/dist/packages/engine/readiness-check-draft.js +1 -1
  190. package/dist/packages/engine/requested-artifacts.d.ts +2 -2
  191. package/dist/packages/engine/routes.d.ts +18 -17
  192. package/dist/packages/engine/routes.js +20 -19
  193. package/dist/packages/engine/run-observability.d.ts +5 -3
  194. package/dist/packages/engine/run-observability.js +101 -89
  195. package/dist/packages/engine/runtime-caches.d.ts +16 -16
  196. package/dist/packages/engine/runtime-caches.js +26 -26
  197. package/dist/packages/engine/runtime-event-applier.d.ts +2 -2
  198. package/dist/packages/engine/runtime-event-applier.js +1 -1
  199. package/dist/packages/engine/runtime-persistence.d.ts +9 -9
  200. package/dist/packages/engine/runtime-persistence.js +16 -16
  201. package/dist/packages/engine/runtime-proposal-helpers.d.ts +14 -14
  202. package/dist/packages/engine/runtime-proposal-helpers.js +78 -80
  203. package/dist/packages/engine/runtime-resource-builders.d.ts +12 -12
  204. package/dist/packages/engine/runtime-resource-builders.js +19 -19
  205. package/dist/packages/engine/runtime.d.ts +52 -61
  206. package/dist/packages/engine/runtime.js +440 -463
  207. package/dist/packages/engine/server.d.ts +2 -2
  208. package/dist/packages/engine/server.js +147 -116
  209. package/dist/packages/engine/service-registry.d.ts +5 -17
  210. package/dist/packages/engine/service-registry.js +5 -20
  211. package/dist/packages/engine/verify/lib/schema.d.ts +19 -19
  212. package/dist/packages/engine/verify/lib/schema.js +36 -8
  213. package/dist/packages/engine/verify/readiness-check-run.d.ts +15 -16
  214. package/dist/packages/engine/verify/readiness-check-run.js +46 -46
  215. package/dist/packages/engine/verify/verify-execution.d.ts +3 -3
  216. package/dist/packages/engine/verify/verify-execution.js +10 -10
  217. package/dist/packages/engine/verify/verify-paths.d.ts +4 -4
  218. package/dist/packages/engine/verify/verify-paths.js +17 -17
  219. package/dist/packages/engine/verify/verify-sandbox.d.ts +1 -1
  220. package/dist/packages/engine/verify/verify-sandbox.js +26 -26
  221. package/dist/packages/engine/verify/verify-targets.d.ts +2 -2
  222. package/dist/packages/engine/verify/verify-targets.js +17 -17
  223. package/dist/packages/engine/verify/verify-types.d.ts +2 -2
  224. package/dist/packages/engine/verify/verify.d.ts +1 -1
  225. package/dist/packages/engine/verify/verify.js +1 -1
  226. package/dist/packages/engine/wire-schemas.d.ts +38 -40
  227. package/dist/packages/engine/wire-schemas.js +13 -13
  228. package/dist/packages/project/index.d.ts +1 -1
  229. package/dist/packages/project/interf-bootstrap.d.ts +1 -1
  230. package/dist/packages/project/interf-bootstrap.js +1 -1
  231. package/dist/packages/project/interf-detect.d.ts +11 -11
  232. package/dist/packages/project/interf-detect.js +30 -30
  233. package/dist/packages/project/interf-scaffold.d.ts +3 -3
  234. package/dist/packages/project/interf-scaffold.js +72 -72
  235. package/dist/packages/project/interf.d.ts +4 -4
  236. package/dist/packages/project/interf.js +3 -3
  237. package/dist/packages/project/lib/schema.d.ts +12 -12
  238. package/dist/packages/project/lib/schema.js +14 -14
  239. package/dist/packages/project/preparation-entries.d.ts +3 -3
  240. package/dist/packages/project/preparation-entries.js +19 -19
  241. package/dist/packages/project/source-config.d.ts +10 -10
  242. package/dist/packages/project/source-config.js +58 -58
  243. package/package.json +12 -14
  244. package/public-repo/CONTRIBUTING.md +12 -12
  245. package/public-repo/README.md +65 -63
  246. package/public-repo/SECURITY.md +3 -3
  247. package/public-repo/build-plans/interf-default/README.md +33 -0
  248. package/public-repo/{methods/interf-default/compile → build-plans/interf-default/build}/stages/shape/SKILL.md +10 -10
  249. package/public-repo/{methods/interf-default/compile → build-plans/interf-default/build}/stages/structure/SKILL.md +2 -2
  250. package/public-repo/{methods/interf-default/compile → build-plans/interf-default/build}/stages/summarize/SKILL.md +1 -1
  251. package/public-repo/{methods/interf-default/method.json → build-plans/interf-default/build-plan.json} +15 -15
  252. package/public-repo/{methods/interf-default/method.schema.json → build-plans/interf-default/build-plan.schema.json} +4 -4
  253. package/public-repo/build-plans/interf-default/improve/SKILL.md +18 -0
  254. package/public-repo/{methods → build-plans}/interf-default/use/query/SKILL.md +6 -6
  255. package/public-repo/plugins/README.md +1 -1
  256. package/public-repo/plugins/interf/.claude-plugin/plugin.json +3 -3
  257. package/public-repo/plugins/interf/README.md +4 -1
  258. package/public-repo/plugins/interf/skills/interf/SKILL.md +189 -290
  259. package/public-repo/skills/interf/SKILL.md +189 -290
  260. package/LICENSE.md +0 -1
  261. package/README.md +0 -325
  262. package/TRADEMARKS.md +0 -8
  263. package/dist/cli/commands/method.d.ts +0 -2
  264. package/dist/compiler-ui/404.html +0 -1
  265. package/dist/compiler-ui/__next.__PAGE__.txt +0 -10
  266. package/dist/compiler-ui/__next._full.txt +0 -21
  267. package/dist/compiler-ui/__next._head.txt +0 -5
  268. package/dist/compiler-ui/__next._index.txt +0 -6
  269. package/dist/compiler-ui/_next/static/chunks/01646j7yi.w5a.css +0 -1
  270. package/dist/compiler-ui/_next/static/chunks/02r7siaw-_p5w.js +0 -1
  271. package/dist/compiler-ui/_next/static/chunks/04d0ly-7xb~-j.js +0 -91
  272. package/dist/compiler-ui/_next/static/chunks/0fhs9psnxqd8s.js +0 -1
  273. package/dist/compiler-ui/_next/static/chunks/0mssmhpbifj15.css +0 -2
  274. package/dist/compiler-ui/_next/static/chunks/0nypu~ddwxari.js +0 -116
  275. package/dist/compiler-ui/_next/static/chunks/0p3s8iyhgcww2.js +0 -31
  276. package/dist/compiler-ui/_next/static/chunks/0tjf-vu_rz8s0.css +0 -1
  277. package/dist/compiler-ui/_next/static/chunks/0u6p3fpbbfgtl.js +0 -1
  278. package/dist/compiler-ui/_next/static/chunks/0wpx5..8dnh0w.js +0 -1
  279. package/dist/compiler-ui/_next/static/chunks/0y0uj160p0ts~.js +0 -1
  280. package/dist/compiler-ui/_next/static/chunks/10t8l~_oenf.c.js +0 -1
  281. package/dist/compiler-ui/_next/static/chunks/13gz9e7z~imx1.js +0 -5
  282. package/dist/compiler-ui/_next/static/chunks/156xed-b6czaw.js +0 -1
  283. package/dist/compiler-ui/_next/static/chunks/turbopack-02-3e_c-yz~5g.js +0 -1
  284. package/dist/compiler-ui/_not-found/__next._full.txt +0 -16
  285. package/dist/compiler-ui/_not-found/__next._head.txt +0 -5
  286. package/dist/compiler-ui/_not-found/__next._index.txt +0 -6
  287. package/dist/compiler-ui/_not-found/__next._not-found.txt +0 -5
  288. package/dist/compiler-ui/_not-found.html +0 -1
  289. package/dist/compiler-ui/_not-found.txt +0 -16
  290. package/dist/compiler-ui/index.html +0 -1
  291. package/dist/compiler-ui/index.txt +0 -21
  292. package/dist/packages/engine/agents/lib/compiled-bootstrap.d.ts +0 -3
  293. package/dist/packages/engine/agents/lib/compiled-bootstrap.js +0 -19
  294. package/dist/packages/engine/compile/artifact-counts.d.ts +0 -1
  295. package/dist/packages/engine/compile/compiled-compile.d.ts +0 -4
  296. package/dist/packages/engine/compile/compiled-compile.js +0 -4
  297. package/dist/packages/engine/compile/compiled-paths.d.ts +0 -47
  298. package/dist/packages/engine/compile/compiled-paths.js +0 -121
  299. package/dist/packages/engine/compile/compiled-pipeline.d.ts +0 -56
  300. package/dist/packages/engine/compile/compiled-schema.d.ts +0 -21
  301. package/dist/packages/engine/compile/compiled-schema.js +0 -126
  302. package/dist/packages/engine/compile/compiled-stage-plan.d.ts +0 -16
  303. package/dist/packages/engine/compile/compiled-stage-plan.js +0 -100
  304. package/dist/packages/engine/compile/compiled-stage-runner.d.ts +0 -15
  305. package/dist/packages/engine/compile/compiled-target.d.ts +0 -11
  306. package/dist/packages/engine/compile/compiled-target.js +0 -16
  307. package/dist/packages/engine/compile/method-primitives.d.ts +0 -2
  308. package/dist/packages/engine/compile/method-runs.d.ts +0 -14
  309. package/dist/packages/engine/compile/method-runs.js +0 -31
  310. package/dist/packages/engine/compile/reset.d.ts +0 -2
  311. package/dist/packages/engine/compile/reset.js +0 -74
  312. package/dist/packages/engine/compile/runtime-inventory.d.ts +0 -7
  313. package/dist/packages/engine/compile/runtime-reconcile.d.ts +0 -2
  314. package/dist/packages/engine/compile/source-files.d.ts +0 -46
  315. package/dist/packages/engine/compile/state-artifacts.d.ts +0 -9
  316. package/dist/packages/engine/compile/state-artifacts.js +0 -14
  317. package/dist/packages/engine/compile/state-health.d.ts +0 -4
  318. package/dist/packages/engine/compile/state-io.d.ts +0 -11
  319. package/dist/packages/engine/compile/state-paths.js +0 -16
  320. package/dist/packages/engine/compile/state-view.d.ts +0 -5
  321. package/dist/packages/engine/compile/state.d.ts +0 -7
  322. package/dist/packages/engine/compile/state.js +0 -12
  323. package/dist/packages/engine/compile/validate-compiled.d.ts +0 -27
  324. package/dist/packages/methods/authoring/index.d.ts +0 -4
  325. package/dist/packages/methods/authoring/index.js +0 -4
  326. package/dist/packages/methods/authoring/method-authoring.d.ts +0 -36
  327. package/dist/packages/methods/authoring/method-edit-session.d.ts +0 -18
  328. package/dist/packages/methods/authoring/method-improvement.d.ts +0 -23
  329. package/dist/packages/methods/authoring/method-improvement.js +0 -217
  330. package/dist/packages/methods/index.d.ts +0 -2
  331. package/dist/packages/methods/index.js +0 -2
  332. package/dist/packages/methods/method-resolution.d.ts +0 -6
  333. package/dist/packages/methods/method-resolution.js +0 -7
  334. package/dist/packages/methods/package/builtin-compiled-method.d.ts +0 -37
  335. package/dist/packages/methods/package/builtin-compiled-method.js +0 -91
  336. package/dist/packages/methods/package/interf-method-package.d.ts +0 -31
  337. package/dist/packages/methods/package/interf-method-package.js +0 -466
  338. package/dist/packages/methods/package/local-methods.d.ts +0 -74
  339. package/dist/packages/methods/package/method-definitions.d.ts +0 -61
  340. package/dist/packages/methods/package/method-definitions.js +0 -214
  341. package/dist/packages/methods/package/method-review-paths.d.ts +0 -10
  342. package/dist/packages/methods/package/method-review-paths.js +0 -31
  343. package/dist/packages/methods/package/user-methods.d.ts +0 -17
  344. package/dist/packages/methods/package/user-methods.js +0 -77
  345. package/public-repo/methods/interf-default/README.md +0 -33
  346. package/public-repo/methods/interf-default/improve/SKILL.md +0 -18
  347. /package/dist/{compiler-ui/_next/static/tYHMLL9oKds1yDoNYgkPV → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_buildManifest.js +0 -0
  348. /package/dist/{compiler-ui/_next/static/tYHMLL9oKds1yDoNYgkPV → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_clientMiddlewareManifest.js +0 -0
  349. /package/dist/{compiler-ui/_next/static/tYHMLL9oKds1yDoNYgkPV → 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
@@ -55,7 +55,7 @@ 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
60
  requested_artifacts: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
61
61
  id: z.ZodOptional<z.ZodString>;
@@ -125,7 +125,7 @@ export declare const PreparationCreateRequestSchema: z.ZodObject<{
125
125
  }, z.core.$strict>;
126
126
  /** Body of `PATCH /v1/preparations/<id>` — update mutable preparation fields. */
127
127
  export declare const PreparationUpdateRequestSchema: z.ZodObject<{
128
- method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
+ build_plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
129
  about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
130
  checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
131
  id: z.ZodOptional<z.ZodString>;
@@ -191,13 +191,14 @@ export declare const PreparationUpdateRequestSchema: z.ZodObject<{
191
191
  limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
192
192
  }, z.core.$loose>>>;
193
193
  }, z.core.$strict>;
194
- /** Body of `POST /v1/methods` — install a Method package by path. */
195
- 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<{
196
196
  source_path: z.ZodString;
197
+ id: z.ZodOptional<z.ZodString>;
197
198
  overwrite: z.ZodDefault<z.ZodBoolean>;
198
199
  }, z.core.$strict>;
199
- export declare const MethodInstallResultSchema: z.ZodObject<{
200
- method_id: z.ZodString;
200
+ export declare const BuildPlanSaveResultSchema: z.ZodObject<{
201
+ build_plan_id: z.ZodString;
201
202
  installed: z.ZodBoolean;
202
203
  path: z.ZodString;
203
204
  }, z.core.$strict>;
@@ -214,10 +215,10 @@ export declare const PreparationWireShapeSchema: z.ZodObject<{
214
215
  }>;
215
216
  locator: z.ZodString;
216
217
  }, z.core.$strict>;
217
- method_id: z.ZodNullable<z.ZodString>;
218
+ build_plan_id: z.ZodNullable<z.ZodString>;
218
219
  about: z.ZodNullable<z.ZodString>;
219
220
  config_path: z.ZodString;
220
- portable_context: z.ZodObject<{
221
+ verifiable_context: z.ZodObject<{
221
222
  kind: z.ZodEnum<{
222
223
  "local-path": "local-path";
223
224
  "remote-url": "remote-url";
@@ -294,8 +295,8 @@ export type ArtifactLocator = z.infer<typeof ArtifactLocatorSchema>;
294
295
  export type InstanceResource = z.infer<typeof InstanceResourceSchema>;
295
296
  export type PreparationCreateRequest = z.infer<typeof PreparationCreateRequestSchema>;
296
297
  export type PreparationUpdateRequest = z.infer<typeof PreparationUpdateRequestSchema>;
297
- export type MethodInstallRequest = z.infer<typeof MethodInstallRequestSchema>;
298
- export type MethodInstallResult = z.infer<typeof MethodInstallResultSchema>;
298
+ export type BuildPlanSaveRequest = z.infer<typeof BuildPlanSaveRequestSchema>;
299
+ export type BuildPlanSaveResult = z.infer<typeof BuildPlanSaveResultSchema>;
299
300
  export type PreparationDeleteResponse = z.infer<typeof PreparationDeleteResponseSchema>;
300
301
  export type PreparationWireShape = z.infer<typeof PreparationWireShapeSchema>;
301
302
  /**
@@ -318,38 +319,23 @@ export declare const LocalServiceConfigSchema: z.ZodObject<{
318
319
  host: z.ZodDefault<z.ZodString>;
319
320
  port: z.ZodDefault<z.ZodNumber>;
320
321
  }, z.core.$strict>;
321
- export declare const ServiceRegistryWorkspaceSchema: z.ZodObject<{
322
- control_path: z.ZodString;
323
- registered_at: z.ZodString;
324
- last_activity: z.ZodString;
325
- }, z.core.$strict>;
326
- export declare const ServiceRegistryEntrySchema: z.ZodObject<{
322
+ export declare const ServiceRegistryEntrySchema: z.ZodPreprocess<z.ZodObject<{
327
323
  pid: z.ZodNumber;
328
324
  host: z.ZodString;
329
325
  port: z.ZodNumber;
330
326
  url: z.ZodString;
331
327
  started_at: z.ZodString;
332
328
  auth_token: z.ZodOptional<z.ZodString>;
333
- workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
334
- control_path: z.ZodString;
335
- registered_at: z.ZodString;
336
- last_activity: z.ZodString;
337
- }, z.core.$strict>>>;
338
- }, z.core.$strict>;
329
+ }, z.core.$strict>>;
339
330
  export declare const ServiceRegistrySchema: z.ZodObject<{
340
- services: z.ZodDefault<z.ZodArray<z.ZodObject<{
331
+ services: z.ZodDefault<z.ZodArray<z.ZodPreprocess<z.ZodObject<{
341
332
  pid: z.ZodNumber;
342
333
  host: z.ZodString;
343
334
  port: z.ZodNumber;
344
335
  url: z.ZodString;
345
336
  started_at: z.ZodString;
346
337
  auth_token: z.ZodOptional<z.ZodString>;
347
- workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
348
- control_path: z.ZodString;
349
- registered_at: z.ZodString;
350
- last_activity: z.ZodString;
351
- }, z.core.$strict>>>;
352
- }, z.core.$strict>>>;
338
+ }, z.core.$strict>>>>;
353
339
  }, z.core.$strict>;
354
340
  export declare const LocalServiceHealthSchema: z.ZodObject<{
355
341
  kind: z.ZodLiteral<"interf-local-service-health">;
@@ -363,11 +349,6 @@ export declare const LocalServiceHealthSchema: z.ZodObject<{
363
349
  started_at: z.ZodOptional<z.ZodString>;
364
350
  package_version: z.ZodOptional<z.ZodString>;
365
351
  instance_started_at: z.ZodOptional<z.ZodString>;
366
- registered_workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
367
- control_path: z.ZodString;
368
- registered_at: z.ZodString;
369
- last_activity: z.ZodString;
370
- }, z.core.$strict>>>;
371
352
  active_runs: z.ZodDefault<z.ZodNumber>;
372
353
  idle_for_seconds: z.ZodDefault<z.ZodNumber>;
373
354
  }, z.core.$strict>;
@@ -377,25 +358,16 @@ export declare const LocalServiceErrorSchema: z.ZodObject<{
377
358
  code: z.ZodOptional<z.ZodString>;
378
359
  }, z.core.$strict>;
379
360
  }, z.core.$strict>;
380
- export declare const LocalServicePointerSchema: z.ZodObject<{
381
- service_url: z.ZodString;
382
- host: z.ZodString;
383
- port: z.ZodNumber;
384
- pid: z.ZodNumber;
385
- control_path: z.ZodString;
386
- started_at: z.ZodString;
387
- auth_token: z.ZodOptional<z.ZodString>;
388
- }, z.core.$strict>;
389
- export declare const PortableContextMappingSchema: z.ZodObject<{
361
+ export declare const VerifiableContextMappingSchema: z.ZodObject<{
390
362
  preparation: z.ZodString;
391
363
  path: z.ZodNullable<z.ZodString>;
392
364
  exists: z.ZodBoolean;
393
- method_id: z.ZodNullable<z.ZodString>;
394
- 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>;
395
367
  latest_test_run_id: z.ZodNullable<z.ZodString>;
396
368
  }, z.core.$strict>;
397
369
  export declare const PreparationRunLinkageSchema: z.ZodObject<{
398
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
370
+ latest_build_run_id: z.ZodNullable<z.ZodString>;
399
371
  latest_test_run_id: z.ZodNullable<z.ZodString>;
400
372
  }, z.core.$strict>;
401
373
  export declare const PreparationResourceSchema: z.ZodObject<{
@@ -406,7 +378,7 @@ export declare const PreparationResourceSchema: z.ZodObject<{
406
378
  name: z.ZodString;
407
379
  path: z.ZodString;
408
380
  about: z.ZodOptional<z.ZodString>;
409
- method: z.ZodOptional<z.ZodString>;
381
+ build_plan: z.ZodOptional<z.ZodString>;
410
382
  max_attempts: z.ZodOptional<z.ZodNumber>;
411
383
  max_loops: z.ZodOptional<z.ZodNumber>;
412
384
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -474,7 +446,7 @@ export declare const PreparationResourceSchema: z.ZodObject<{
474
446
  }, z.core.$loose>>;
475
447
  }, z.core.$strict>;
476
448
  source_path: z.ZodString;
477
- method_id: z.ZodNullable<z.ZodString>;
449
+ build_plan_id: z.ZodNullable<z.ZodString>;
478
450
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
479
451
  id: z.ZodOptional<z.ZodString>;
480
452
  question: z.ZodString;
@@ -538,16 +510,16 @@ export declare const PreparationResourceSchema: z.ZodObject<{
538
510
  observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
539
511
  limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
540
512
  }, z.core.$loose>>>;
541
- portable_context: z.ZodObject<{
513
+ verifiable_context: z.ZodObject<{
542
514
  preparation: z.ZodString;
543
515
  path: z.ZodNullable<z.ZodString>;
544
516
  exists: z.ZodBoolean;
545
- method_id: z.ZodNullable<z.ZodString>;
546
- 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>;
547
519
  latest_test_run_id: z.ZodNullable<z.ZodString>;
548
520
  }, z.core.$strict>;
549
- portable_context_path: z.ZodNullable<z.ZodString>;
550
- readiness: z.ZodObject<{
521
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
522
+ readiness: z.ZodPreprocess<z.ZodObject<{
551
523
  kind: z.ZodLiteral<"interf-readiness-state">;
552
524
  version: z.ZodLiteral<1>;
553
525
  generated_at: z.ZodString;
@@ -565,14 +537,14 @@ export declare const PreparationResourceSchema: z.ZodObject<{
565
537
  }>;
566
538
  ready: z.ZodBoolean;
567
539
  summary: z.ZodString;
568
- portable_context_path: z.ZodNullable<z.ZodString>;
569
- 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>>;
570
542
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
- compile: z.ZodNullable<z.ZodObject<{
543
+ build: z.ZodNullable<z.ZodObject<{
572
544
  gate: z.ZodEnum<{
573
- "portable-context": "portable-context";
545
+ "verifiable-context": "verifiable-context";
574
546
  "preparation-config": "preparation-config";
575
- "compile-run": "compile-run";
547
+ "build-run": "build-run";
576
548
  "artifact-checks": "artifact-checks";
577
549
  "readiness-checks": "readiness-checks";
578
550
  "checks-current": "checks-current";
@@ -606,7 +578,7 @@ export declare const PreparationResourceSchema: z.ZodObject<{
606
578
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
607
579
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
608
580
  }, z.core.$strict>>;
609
- portable_context: z.ZodNullable<z.ZodObject<{
581
+ verifiable_context: z.ZodNullable<z.ZodObject<{
610
582
  passed: z.ZodNumber;
611
583
  total: z.ZodNumber;
612
584
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -618,9 +590,9 @@ export declare const PreparationResourceSchema: z.ZodObject<{
618
590
  }, z.core.$strict>;
619
591
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
620
592
  gate: z.ZodEnum<{
621
- "portable-context": "portable-context";
593
+ "verifiable-context": "verifiable-context";
622
594
  "preparation-config": "preparation-config";
623
- "compile-run": "compile-run";
595
+ "build-run": "build-run";
624
596
  "artifact-checks": "artifact-checks";
625
597
  "readiness-checks": "readiness-checks";
626
598
  "checks-current": "checks-current";
@@ -642,12 +614,12 @@ export declare const PreparationResourceSchema: z.ZodObject<{
642
614
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
615
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
644
616
  }, z.core.$strict>>>;
645
- }, z.core.$strict>;
617
+ }, z.core.$strict>>;
646
618
  runs: z.ZodObject<{
647
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
619
+ latest_build_run_id: z.ZodNullable<z.ZodString>;
648
620
  latest_test_run_id: z.ZodNullable<z.ZodString>;
649
621
  }, z.core.$strict>;
650
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
622
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
623
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
624
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
653
625
  artifact_id: z.ZodString;
@@ -680,9 +652,9 @@ export declare const PreparationResourceSchema: z.ZodObject<{
680
652
  summary: z.ZodOptional<z.ZodString>;
681
653
  }, z.core.$strict>>>;
682
654
  }, z.core.$strict>;
683
- export declare const MethodResourceSchema: z.ZodObject<{
655
+ export declare const BuildPlanResourceSchema: z.ZodObject<{
684
656
  id: z.ZodString;
685
- method_id: z.ZodString;
657
+ build_plan_id: z.ZodString;
686
658
  path: z.ZodString;
687
659
  label: z.ZodOptional<z.ZodString>;
688
660
  hint: z.ZodOptional<z.ZodString>;
@@ -744,17 +716,300 @@ export declare const MethodResourceSchema: z.ZodObject<{
744
716
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
745
717
  }, z.core.$strict>>>;
746
718
  }, z.core.$strict>;
747
- export declare const CompileRunCreateRequestSchema: z.ZodObject<{
748
- preparation: z.ZodString;
749
- method: z.ZodOptional<z.ZodString>;
750
- max_attempts: z.ZodOptional<z.ZodNumber>;
751
- max_loops: z.ZodOptional<z.ZodNumber>;
752
- preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
753
- "on-failure": "on-failure";
754
- always: "always";
755
- }>>;
756
- }, z.core.$strict>;
757
- export declare const CompileRunSummarySchema: z.ZodObject<{
719
+ export declare const BuildRunCreateRequestSchema: z.ZodObject<{
720
+ preparation: z.ZodString;
721
+ build_plan: z.ZodOptional<z.ZodString>;
722
+ max_attempts: z.ZodOptional<z.ZodNumber>;
723
+ max_loops: z.ZodOptional<z.ZodNumber>;
724
+ preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
725
+ "on-failure": "on-failure";
726
+ always: "always";
727
+ }>>;
728
+ }, z.core.$strict>;
729
+ export declare const BuildRunSummarySchema: z.ZodObject<{
730
+ run_id: z.ZodString;
731
+ status: z.ZodEnum<{
732
+ succeeded: "succeeded";
733
+ failed: "failed";
734
+ running: "running";
735
+ cancelled: "cancelled";
736
+ queued: "queued";
737
+ }>;
738
+ preparation: z.ZodString;
739
+ build_plan: z.ZodString;
740
+ verifiable_context_path: z.ZodString;
741
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
742
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ latest_event: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
744
+ event_id: z.ZodString;
745
+ run_id: z.ZodString;
746
+ timestamp: z.ZodString;
747
+ type: z.ZodLiteral<"run.started">;
748
+ preparation: z.ZodString;
749
+ build_plan: z.ZodOptional<z.ZodString>;
750
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
751
+ backend: z.ZodEnum<{
752
+ native: "native";
753
+ }>;
754
+ }, z.core.$strict>, z.ZodObject<{
755
+ event_id: z.ZodString;
756
+ run_id: z.ZodString;
757
+ timestamp: z.ZodString;
758
+ type: z.ZodLiteral<"stage.started">;
759
+ stage_id: z.ZodString;
760
+ stage_index: z.ZodOptional<z.ZodNumber>;
761
+ stage_total: z.ZodOptional<z.ZodNumber>;
762
+ }, z.core.$strict>, z.ZodObject<{
763
+ event_id: z.ZodString;
764
+ run_id: z.ZodString;
765
+ timestamp: z.ZodString;
766
+ type: z.ZodLiteral<"file.processed">;
767
+ stage_id: z.ZodString;
768
+ path: z.ZodString;
769
+ }, z.core.$strict>, z.ZodObject<{
770
+ event_id: z.ZodString;
771
+ run_id: z.ZodString;
772
+ timestamp: z.ZodString;
773
+ type: z.ZodLiteral<"artifact.written">;
774
+ stage_id: z.ZodString;
775
+ artifact: z.ZodObject<{
776
+ path: z.ZodString;
777
+ role: z.ZodEnum<{
778
+ runtime: "runtime";
779
+ output: "output";
780
+ source: "source";
781
+ proof: "proof";
782
+ test: "test";
783
+ }>;
784
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
785
+ label: z.ZodOptional<z.ZodString>;
786
+ sha256: z.ZodOptional<z.ZodString>;
787
+ }, z.core.$strict>;
788
+ }, z.core.$strict>, z.ZodObject<{
789
+ event_id: z.ZodString;
790
+ run_id: z.ZodString;
791
+ timestamp: z.ZodString;
792
+ type: z.ZodLiteral<"proof.updated">;
793
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
+ proof: z.ZodObject<{
795
+ id: z.ZodString;
796
+ run_id: z.ZodString;
797
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798
+ generated_at: z.ZodString;
799
+ summary: z.ZodString;
800
+ files_processed: z.ZodOptional<z.ZodNumber>;
801
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
802
+ path: z.ZodString;
803
+ role: z.ZodEnum<{
804
+ runtime: "runtime";
805
+ output: "output";
806
+ source: "source";
807
+ proof: "proof";
808
+ test: "test";
809
+ }>;
810
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
811
+ label: z.ZodOptional<z.ZodString>;
812
+ sha256: z.ZodOptional<z.ZodString>;
813
+ }, z.core.$strict>>>;
814
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
815
+ id: z.ZodString;
816
+ label: z.ZodString;
817
+ ok: z.ZodBoolean;
818
+ detail: z.ZodOptional<z.ZodString>;
819
+ }, z.core.$strict>>>;
820
+ }, z.core.$strict>;
821
+ }, z.core.$strict>, z.ZodObject<{
822
+ event_id: z.ZodString;
823
+ run_id: z.ZodString;
824
+ timestamp: z.ZodString;
825
+ type: z.ZodLiteral<"log.appended">;
826
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
827
+ stream: z.ZodEnum<{
828
+ status: "status";
829
+ trace: "trace";
830
+ system: "system";
831
+ }>;
832
+ message: z.ZodString;
833
+ }, z.core.$strict>, z.ZodObject<{
834
+ event_id: z.ZodString;
835
+ run_id: z.ZodString;
836
+ timestamp: z.ZodString;
837
+ type: z.ZodLiteral<"stage.passed">;
838
+ stage_id: z.ZodString;
839
+ summary: z.ZodOptional<z.ZodString>;
840
+ }, z.core.$strict>, z.ZodObject<{
841
+ event_id: z.ZodString;
842
+ run_id: z.ZodString;
843
+ timestamp: z.ZodString;
844
+ type: z.ZodLiteral<"stage.failed">;
845
+ stage_id: z.ZodString;
846
+ error: z.ZodString;
847
+ }, z.core.$strict>, z.ZodObject<{
848
+ event_id: z.ZodString;
849
+ run_id: z.ZodString;
850
+ timestamp: z.ZodString;
851
+ type: z.ZodLiteral<"run.completed">;
852
+ summary: z.ZodOptional<z.ZodString>;
853
+ }, z.core.$strict>, z.ZodObject<{
854
+ event_id: z.ZodString;
855
+ run_id: z.ZodString;
856
+ timestamp: z.ZodString;
857
+ type: z.ZodLiteral<"run.failed">;
858
+ error: z.ZodString;
859
+ }, z.core.$strict>, z.ZodObject<{
860
+ event_id: z.ZodString;
861
+ run_id: z.ZodString;
862
+ timestamp: z.ZodString;
863
+ type: z.ZodLiteral<"run.cancelled">;
864
+ reason: z.ZodOptional<z.ZodString>;
865
+ }, z.core.$strict>, z.ZodObject<{
866
+ event_id: z.ZodString;
867
+ run_id: z.ZodString;
868
+ timestamp: z.ZodString;
869
+ type: z.ZodLiteral<"checks.evaluated">;
870
+ passed: z.ZodNumber;
871
+ total: z.ZodNumber;
872
+ target: z.ZodOptional<z.ZodEnum<{
873
+ "verifiable-context": "verifiable-context";
874
+ "source-files": "source-files";
875
+ }>>;
876
+ checks_fingerprint: z.ZodOptional<z.ZodString>;
877
+ stale: z.ZodOptional<z.ZodBoolean>;
878
+ test_run_id: z.ZodOptional<z.ZodString>;
879
+ }, z.core.$strict>, z.ZodObject<{
880
+ event_id: z.ZodString;
881
+ run_id: z.ZodString;
882
+ timestamp: z.ZodString;
883
+ type: z.ZodLiteral<"readiness.updated">;
884
+ preparation: z.ZodString;
885
+ readiness: z.ZodPreprocess<z.ZodObject<{
886
+ kind: z.ZodLiteral<"interf-readiness-state">;
887
+ version: z.ZodLiteral<1>;
888
+ generated_at: z.ZodString;
889
+ preparation: z.ZodString;
890
+ status: z.ZodEnum<{
891
+ ready: "ready";
892
+ failed: "failed";
893
+ "not-configured": "not-configured";
894
+ "not-built": "not-built";
895
+ building: "building";
896
+ built: "built";
897
+ checking: "checking";
898
+ "not-ready": "not-ready";
899
+ stale: "stale";
900
+ }>;
901
+ ready: z.ZodBoolean;
902
+ summary: z.ZodString;
903
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
904
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
905
+ latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
+ build: z.ZodNullable<z.ZodObject<{
907
+ gate: z.ZodEnum<{
908
+ "verifiable-context": "verifiable-context";
909
+ "preparation-config": "preparation-config";
910
+ "build-run": "build-run";
911
+ "artifact-checks": "artifact-checks";
912
+ "readiness-checks": "readiness-checks";
913
+ "checks-current": "checks-current";
914
+ }>;
915
+ ok: z.ZodBoolean;
916
+ status: z.ZodOptional<z.ZodEnum<{
917
+ ready: "ready";
918
+ failed: "failed";
919
+ "not-configured": "not-configured";
920
+ "not-built": "not-built";
921
+ building: "building";
922
+ built: "built";
923
+ checking: "checking";
924
+ "not-ready": "not-ready";
925
+ stale: "stale";
926
+ }>>;
927
+ summary: z.ZodString;
928
+ detail: z.ZodOptional<z.ZodString>;
929
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
931
+ }, z.core.$strict>>;
932
+ check_results: z.ZodObject<{
933
+ configured: z.ZodNumber;
934
+ fingerprint: z.ZodNullable<z.ZodString>;
935
+ source_files: z.ZodNullable<z.ZodObject<{
936
+ passed: z.ZodNumber;
937
+ total: z.ZodNumber;
938
+ pass_rate: z.ZodNullable<z.ZodNumber>;
939
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
+ stale: z.ZodDefault<z.ZodBoolean>;
941
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
943
+ }, z.core.$strict>>;
944
+ verifiable_context: z.ZodNullable<z.ZodObject<{
945
+ passed: z.ZodNumber;
946
+ total: z.ZodNumber;
947
+ pass_rate: z.ZodNullable<z.ZodNumber>;
948
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
949
+ stale: z.ZodDefault<z.ZodBoolean>;
950
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
951
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
952
+ }, z.core.$strict>>;
953
+ }, z.core.$strict>;
954
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
955
+ gate: z.ZodEnum<{
956
+ "verifiable-context": "verifiable-context";
957
+ "preparation-config": "preparation-config";
958
+ "build-run": "build-run";
959
+ "artifact-checks": "artifact-checks";
960
+ "readiness-checks": "readiness-checks";
961
+ "checks-current": "checks-current";
962
+ }>;
963
+ ok: z.ZodBoolean;
964
+ status: z.ZodOptional<z.ZodEnum<{
965
+ ready: "ready";
966
+ failed: "failed";
967
+ "not-configured": "not-configured";
968
+ "not-built": "not-built";
969
+ building: "building";
970
+ built: "built";
971
+ checking: "checking";
972
+ "not-ready": "not-ready";
973
+ stale: "stale";
974
+ }>>;
975
+ summary: z.ZodString;
976
+ detail: z.ZodOptional<z.ZodString>;
977
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
978
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
979
+ }, z.core.$strict>>>;
980
+ }, z.core.$strict>>;
981
+ }, z.core.$strict>], "type">>>;
982
+ latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
983
+ id: z.ZodString;
984
+ run_id: z.ZodString;
985
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
986
+ generated_at: z.ZodString;
987
+ summary: z.ZodString;
988
+ files_processed: z.ZodOptional<z.ZodNumber>;
989
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
990
+ path: z.ZodString;
991
+ role: z.ZodEnum<{
992
+ runtime: "runtime";
993
+ output: "output";
994
+ source: "source";
995
+ proof: "proof";
996
+ test: "test";
997
+ }>;
998
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
+ label: z.ZodOptional<z.ZodString>;
1000
+ sha256: z.ZodOptional<z.ZodString>;
1001
+ }, z.core.$strict>>>;
1002
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1003
+ id: z.ZodString;
1004
+ label: z.ZodString;
1005
+ ok: z.ZodBoolean;
1006
+ detail: z.ZodOptional<z.ZodString>;
1007
+ }, z.core.$strict>>>;
1008
+ }, z.core.$strict>>>;
1009
+ }, z.core.$strict>;
1010
+ export declare const BuildRunSchema: z.ZodObject<{
1011
+ kind: z.ZodLiteral<"interf-build-run">;
1012
+ version: z.ZodLiteral<1>;
758
1013
  run_id: z.ZodString;
759
1014
  status: z.ZodEnum<{
760
1015
  succeeded: "succeeded";
@@ -764,21 +1019,107 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
764
1019
  queued: "queued";
765
1020
  }>;
766
1021
  preparation: z.ZodString;
767
- method: z.ZodString;
768
- portable_context_path: 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;
769
1027
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
770
1028
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
771
- latest_event: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
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<{
772
1114
  event_id: z.ZodString;
773
1115
  run_id: z.ZodString;
774
1116
  timestamp: z.ZodString;
775
1117
  type: z.ZodLiteral<"run.started">;
776
1118
  preparation: z.ZodString;
777
- method: z.ZodString;
778
- portable_context_path: z.ZodString;
1119
+ build_plan: z.ZodOptional<z.ZodString>;
1120
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
779
1121
  backend: z.ZodEnum<{
780
1122
  native: "native";
781
- "workflow-sdk": "workflow-sdk";
782
1123
  }>;
783
1124
  }, z.core.$strict>, z.ZodObject<{
784
1125
  event_id: z.ZodString;
@@ -899,8 +1240,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
899
1240
  passed: z.ZodNumber;
900
1241
  total: z.ZodNumber;
901
1242
  target: z.ZodOptional<z.ZodEnum<{
1243
+ "verifiable-context": "verifiable-context";
902
1244
  "source-files": "source-files";
903
- compiled: "compiled";
904
1245
  }>>;
905
1246
  checks_fingerprint: z.ZodOptional<z.ZodString>;
906
1247
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -911,7 +1252,7 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
911
1252
  timestamp: z.ZodString;
912
1253
  type: z.ZodLiteral<"readiness.updated">;
913
1254
  preparation: z.ZodString;
914
- readiness: z.ZodObject<{
1255
+ readiness: z.ZodPreprocess<z.ZodObject<{
915
1256
  kind: z.ZodLiteral<"interf-readiness-state">;
916
1257
  version: z.ZodLiteral<1>;
917
1258
  generated_at: z.ZodString;
@@ -929,14 +1270,14 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
929
1270
  }>;
930
1271
  ready: z.ZodBoolean;
931
1272
  summary: z.ZodString;
932
- portable_context_path: z.ZodNullable<z.ZodString>;
933
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1273
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1274
+ latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
934
1275
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
935
- compile: z.ZodNullable<z.ZodObject<{
1276
+ build: z.ZodNullable<z.ZodObject<{
936
1277
  gate: z.ZodEnum<{
937
- "portable-context": "portable-context";
1278
+ "verifiable-context": "verifiable-context";
938
1279
  "preparation-config": "preparation-config";
939
- "compile-run": "compile-run";
1280
+ "build-run": "build-run";
940
1281
  "artifact-checks": "artifact-checks";
941
1282
  "readiness-checks": "readiness-checks";
942
1283
  "checks-current": "checks-current";
@@ -970,7 +1311,7 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
970
1311
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
971
1312
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
972
1313
  }, z.core.$strict>>;
973
- portable_context: z.ZodNullable<z.ZodObject<{
1314
+ verifiable_context: z.ZodNullable<z.ZodObject<{
974
1315
  passed: z.ZodNumber;
975
1316
  total: z.ZodNumber;
976
1317
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -982,9 +1323,9 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
982
1323
  }, z.core.$strict>;
983
1324
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
984
1325
  gate: z.ZodEnum<{
985
- "portable-context": "portable-context";
1326
+ "verifiable-context": "verifiable-context";
986
1327
  "preparation-config": "preparation-config";
987
- "compile-run": "compile-run";
1328
+ "build-run": "build-run";
988
1329
  "artifact-checks": "artifact-checks";
989
1330
  "readiness-checks": "readiness-checks";
990
1331
  "checks-current": "checks-current";
@@ -1006,7 +1347,7 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
1006
1347
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1007
1348
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1008
1349
  }, z.core.$strict>>>;
1009
- }, z.core.$strict>;
1350
+ }, z.core.$strict>>;
1010
1351
  }, z.core.$strict>], "type">>>;
1011
1352
  latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1012
1353
  id: z.ZodString;
@@ -1035,10 +1376,136 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
1035
1376
  detail: z.ZodOptional<z.ZodString>;
1036
1377
  }, z.core.$strict>>>;
1037
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>>>;
1038
1505
  }, z.core.$strict>;
1039
- export declare const CompileRunResourceSchema: z.ZodObject<{
1506
+ export declare const BuildRunResourceSchema: z.ZodObject<{
1040
1507
  run: z.ZodObject<{
1041
- kind: z.ZodLiteral<"interf-compile-run">;
1508
+ kind: z.ZodLiteral<"interf-build-run">;
1042
1509
  version: z.ZodLiteral<1>;
1043
1510
  run_id: z.ZodString;
1044
1511
  status: z.ZodEnum<{
@@ -1049,13 +1516,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1049
1516
  queued: "queued";
1050
1517
  }>;
1051
1518
  preparation: z.ZodString;
1052
- method: z.ZodString;
1053
- backend: z.ZodEnum<{
1054
- native: "native";
1055
- "workflow-sdk": "workflow-sdk";
1056
- }>;
1519
+ build_plan: z.ZodString;
1520
+ backend: z.ZodString;
1057
1521
  source_path: z.ZodString;
1058
- portable_context_path: z.ZodString;
1522
+ verifiable_context_path: z.ZodString;
1059
1523
  created_at: z.ZodString;
1060
1524
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
1525
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1149,11 +1613,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1149
1613
  timestamp: z.ZodString;
1150
1614
  type: z.ZodLiteral<"run.started">;
1151
1615
  preparation: z.ZodString;
1152
- method: z.ZodString;
1153
- portable_context_path: z.ZodString;
1616
+ build_plan: z.ZodOptional<z.ZodString>;
1617
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
1154
1618
  backend: z.ZodEnum<{
1155
1619
  native: "native";
1156
- "workflow-sdk": "workflow-sdk";
1157
1620
  }>;
1158
1621
  }, z.core.$strict>, z.ZodObject<{
1159
1622
  event_id: z.ZodString;
@@ -1274,8 +1737,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1274
1737
  passed: z.ZodNumber;
1275
1738
  total: z.ZodNumber;
1276
1739
  target: z.ZodOptional<z.ZodEnum<{
1740
+ "verifiable-context": "verifiable-context";
1277
1741
  "source-files": "source-files";
1278
- compiled: "compiled";
1279
1742
  }>>;
1280
1743
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1281
1744
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -1286,7 +1749,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1286
1749
  timestamp: z.ZodString;
1287
1750
  type: z.ZodLiteral<"readiness.updated">;
1288
1751
  preparation: z.ZodString;
1289
- readiness: z.ZodObject<{
1752
+ readiness: z.ZodPreprocess<z.ZodObject<{
1290
1753
  kind: z.ZodLiteral<"interf-readiness-state">;
1291
1754
  version: z.ZodLiteral<1>;
1292
1755
  generated_at: z.ZodString;
@@ -1304,14 +1767,14 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1304
1767
  }>;
1305
1768
  ready: z.ZodBoolean;
1306
1769
  summary: z.ZodString;
1307
- portable_context_path: z.ZodNullable<z.ZodString>;
1308
- 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>>;
1309
1772
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
- compile: z.ZodNullable<z.ZodObject<{
1773
+ build: z.ZodNullable<z.ZodObject<{
1311
1774
  gate: z.ZodEnum<{
1312
- "portable-context": "portable-context";
1775
+ "verifiable-context": "verifiable-context";
1313
1776
  "preparation-config": "preparation-config";
1314
- "compile-run": "compile-run";
1777
+ "build-run": "build-run";
1315
1778
  "artifact-checks": "artifact-checks";
1316
1779
  "readiness-checks": "readiness-checks";
1317
1780
  "checks-current": "checks-current";
@@ -1345,7 +1808,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1345
1808
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1346
1809
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1347
1810
  }, z.core.$strict>>;
1348
- portable_context: z.ZodNullable<z.ZodObject<{
1811
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1349
1812
  passed: z.ZodNumber;
1350
1813
  total: z.ZodNumber;
1351
1814
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -1357,9 +1820,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1357
1820
  }, z.core.$strict>;
1358
1821
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1359
1822
  gate: z.ZodEnum<{
1360
- "portable-context": "portable-context";
1823
+ "verifiable-context": "verifiable-context";
1361
1824
  "preparation-config": "preparation-config";
1362
- "compile-run": "compile-run";
1825
+ "build-run": "build-run";
1363
1826
  "artifact-checks": "artifact-checks";
1364
1827
  "readiness-checks": "readiness-checks";
1365
1828
  "checks-current": "checks-current";
@@ -1381,7 +1844,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1381
1844
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1382
1845
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1383
1846
  }, z.core.$strict>>>;
1384
- }, z.core.$strict>;
1847
+ }, z.core.$strict>>;
1385
1848
  }, z.core.$strict>], "type">>>;
1386
1849
  latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1387
1850
  id: z.ZodString;
@@ -1410,7 +1873,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1410
1873
  detail: z.ZodOptional<z.ZodString>;
1411
1874
  }, z.core.$strict>>>;
1412
1875
  }, z.core.$strict>>>;
1413
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1876
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
1414
1877
  kind: z.ZodLiteral<"interf-readiness-state">;
1415
1878
  version: z.ZodLiteral<1>;
1416
1879
  generated_at: z.ZodString;
@@ -1428,14 +1891,14 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1428
1891
  }>;
1429
1892
  ready: z.ZodBoolean;
1430
1893
  summary: z.ZodString;
1431
- portable_context_path: z.ZodNullable<z.ZodString>;
1432
- 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>>;
1433
1896
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
- compile: z.ZodNullable<z.ZodObject<{
1897
+ build: z.ZodNullable<z.ZodObject<{
1435
1898
  gate: z.ZodEnum<{
1436
- "portable-context": "portable-context";
1899
+ "verifiable-context": "verifiable-context";
1437
1900
  "preparation-config": "preparation-config";
1438
- "compile-run": "compile-run";
1901
+ "build-run": "build-run";
1439
1902
  "artifact-checks": "artifact-checks";
1440
1903
  "readiness-checks": "readiness-checks";
1441
1904
  "checks-current": "checks-current";
@@ -1469,7 +1932,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1469
1932
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1470
1933
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1471
1934
  }, z.core.$strict>>;
1472
- portable_context: z.ZodNullable<z.ZodObject<{
1935
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1473
1936
  passed: z.ZodNumber;
1474
1937
  total: z.ZodNumber;
1475
1938
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -1481,9 +1944,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1481
1944
  }, z.core.$strict>;
1482
1945
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1483
1946
  gate: z.ZodEnum<{
1484
- "portable-context": "portable-context";
1947
+ "verifiable-context": "verifiable-context";
1485
1948
  "preparation-config": "preparation-config";
1486
- "compile-run": "compile-run";
1949
+ "build-run": "build-run";
1487
1950
  "artifact-checks": "artifact-checks";
1488
1951
  "readiness-checks": "readiness-checks";
1489
1952
  "checks-current": "checks-current";
@@ -1505,7 +1968,7 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1505
1968
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1506
1969
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1507
1970
  }, z.core.$strict>>>;
1508
- }, z.core.$strict>>>;
1971
+ }, z.core.$strict>>>>;
1509
1972
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1510
1973
  artifact_id: z.ZodString;
1511
1974
  status: z.ZodEnum<{
@@ -1539,9 +2002,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1539
2002
  }, z.core.$strict>;
1540
2003
  }, z.core.$strict>;
1541
2004
  export declare const LocalJobTypeSchema: z.ZodEnum<{
1542
- "method-authoring": "method-authoring";
1543
- "method-improvement": "method-improvement";
2005
+ "build-plan-improvement": "build-plan-improvement";
1544
2006
  "readiness-check-draft": "readiness-check-draft";
2007
+ "build-plan-draft": "build-plan-draft";
1545
2008
  }>;
1546
2009
  export declare const RunStatusSchema: z.ZodEnum<{
1547
2010
  succeeded: "succeeded";
@@ -1560,20 +2023,20 @@ export declare const LocalJobStatusSchema: z.ZodEnum<{
1560
2023
  export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1561
2024
  ok: z.ZodBoolean;
1562
2025
  error: z.ZodOptional<z.ZodString>;
1563
- readiness_run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2026
+ readiness_run: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
1564
2027
  kind: z.ZodLiteral<"interf-readiness-check-run">;
1565
2028
  version: z.ZodLiteral<1>;
1566
2029
  generated_at: z.ZodString;
1567
2030
  mode: z.ZodEnum<{
2031
+ "verifiable-context": "verifiable-context";
1568
2032
  "source-files": "source-files";
1569
- compiled: "compiled";
1570
2033
  both: "both";
1571
2034
  }>;
1572
2035
  source_path: z.ZodString;
1573
2036
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1574
2037
  preparation: z.ZodObject<{
1575
2038
  name: z.ZodString;
1576
- portable_context_path: z.ZodNullable<z.ZodString>;
2039
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
1577
2040
  }, z.core.$strip>;
1578
2041
  source_files: z.ZodNullable<z.ZodObject<{
1579
2042
  label: z.ZodString;
@@ -1585,15 +2048,15 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1585
2048
  total_checks: z.ZodNumber;
1586
2049
  target: z.ZodObject<{
1587
2050
  type: z.ZodEnum<{
2051
+ "verifiable-context": "verifiable-context";
1588
2052
  "source-files": "source-files";
1589
- compiled: "compiled";
1590
2053
  }>;
1591
2054
  name: z.ZodString;
1592
2055
  path: z.ZodString;
1593
- method: z.ZodString;
2056
+ build_plan: z.ZodString;
1594
2057
  }, z.core.$strip>;
1595
2058
  }, z.core.$strip>>;
1596
- compiled: z.ZodNullable<z.ZodObject<{
2059
+ verifiable_context: z.ZodNullable<z.ZodObject<{
1597
2060
  label: z.ZodString;
1598
2061
  run_path: z.ZodString;
1599
2062
  ok: z.ZodBoolean;
@@ -1603,19 +2066,19 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1603
2066
  total_checks: z.ZodNumber;
1604
2067
  target: z.ZodObject<{
1605
2068
  type: z.ZodEnum<{
2069
+ "verifiable-context": "verifiable-context";
1606
2070
  "source-files": "source-files";
1607
- compiled: "compiled";
1608
2071
  }>;
1609
2072
  name: z.ZodString;
1610
2073
  path: z.ZodString;
1611
- method: z.ZodString;
2074
+ build_plan: z.ZodString;
1612
2075
  }, z.core.$strip>;
1613
2076
  }, z.core.$strip>>;
1614
2077
  summary: z.ZodObject<{
1615
2078
  source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
1616
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
2079
+ verifiable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
1617
2080
  }, z.core.$strip>;
1618
- }, z.core.$strip>>>;
2081
+ }, z.core.$strip>>>>;
1619
2082
  }, z.core.$strict>;
1620
2083
  export declare const LocalJobAgentSchema: z.ZodObject<{
1621
2084
  name: z.ZodString;
@@ -1688,13 +2151,13 @@ export declare const LocalJobEventSchema: z.ZodObject<{
1688
2151
  }, z.core.$strict>;
1689
2152
  export declare const LocalJobRunCreateRequestSchema: z.ZodObject<{
1690
2153
  job_type: z.ZodEnum<{
1691
- "method-authoring": "method-authoring";
1692
- "method-improvement": "method-improvement";
2154
+ "build-plan-improvement": "build-plan-improvement";
1693
2155
  "readiness-check-draft": "readiness-check-draft";
2156
+ "build-plan-draft": "build-plan-draft";
1694
2157
  }>;
1695
2158
  title: z.ZodString;
1696
2159
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1697
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2160
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1698
2161
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1699
2162
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1700
2163
  agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1714,7 +2177,7 @@ export declare const PreparationSetupCreateRequestSchema: z.ZodObject<{
1714
2177
  name: z.ZodString;
1715
2178
  path: z.ZodString;
1716
2179
  about: z.ZodOptional<z.ZodString>;
1717
- method: z.ZodOptional<z.ZodString>;
2180
+ build_plan: z.ZodOptional<z.ZodString>;
1718
2181
  max_attempts: z.ZodOptional<z.ZodNumber>;
1719
2182
  max_loops: z.ZodOptional<z.ZodNumber>;
1720
2183
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1781,10 +2244,10 @@ export declare const PreparationSetupCreateRequestSchema: z.ZodObject<{
1781
2244
  limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1782
2245
  }, z.core.$loose>>;
1783
2246
  }, z.core.$strict>;
1784
- prepare_after_setup: z.ZodDefault<z.ZodBoolean>;
2247
+ build_after_setup: z.ZodDefault<z.ZodBoolean>;
1785
2248
  setup_mode: z.ZodDefault<z.ZodEnum<{
1786
2249
  create: "create";
1787
- "select-method": "select-method";
2250
+ "select-build-plan": "select-build-plan";
1788
2251
  }>>;
1789
2252
  }, z.core.$strict>;
1790
2253
  export declare const PreparationSetupResultSchema: z.ZodObject<{
@@ -1792,42 +2255,42 @@ export declare const PreparationSetupResultSchema: z.ZodObject<{
1792
2255
  version: z.ZodLiteral<1>;
1793
2256
  operation: z.ZodEnum<{
1794
2257
  create: "create";
1795
- "select-method": "select-method";
2258
+ "select-build-plan": "select-build-plan";
1796
2259
  }>;
1797
2260
  preparation: z.ZodString;
1798
- method: z.ZodNullable<z.ZodString>;
2261
+ build_plan: z.ZodNullable<z.ZodString>;
1799
2262
  source_folder_path: z.ZodString;
1800
2263
  config_path: z.ZodString;
1801
- portable_context_path: z.ZodString;
2264
+ verifiable_context_path: z.ZodString;
1802
2265
  changed: z.ZodBoolean;
1803
2266
  message: z.ZodString;
1804
2267
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1805
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"compile-run">>>;
2268
+ submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"build-run">>>;
1806
2269
  }, z.core.$strict>;
1807
- export declare const MethodChangeCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1808
- 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">>;
1809
2272
  operation: z.ZodLiteral<"duplicate">;
1810
- method: z.ZodString;
1811
- new_method_id: z.ZodString;
2273
+ build_plan: z.ZodString;
2274
+ new_build_plan_id: z.ZodString;
1812
2275
  label: z.ZodOptional<z.ZodString>;
1813
2276
  hint: z.ZodOptional<z.ZodString>;
1814
2277
  }, z.core.$strict>, z.ZodObject<{
1815
- action_type: z.ZodOptional<z.ZodLiteral<"method-change">>;
2278
+ action_type: z.ZodOptional<z.ZodLiteral<"build-plan-change">>;
1816
2279
  operation: z.ZodLiteral<"remove">;
1817
- method: z.ZodString;
2280
+ build_plan: z.ZodString;
1818
2281
  confirmation: z.ZodString;
1819
2282
  }, z.core.$strict>], "operation">;
1820
- export declare const MethodChangeResultSchema: z.ZodObject<{
1821
- kind: z.ZodLiteral<"interf-method-change-result">;
2283
+ export declare const BuildPlanChangeResultSchema: z.ZodObject<{
2284
+ kind: z.ZodLiteral<"interf-build-plan-change-result">;
1822
2285
  version: z.ZodLiteral<1>;
1823
2286
  operation: z.ZodEnum<{
1824
2287
  duplicate: "duplicate";
1825
2288
  remove: "remove";
1826
2289
  }>;
1827
- method: z.ZodString;
1828
- 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>>;
1829
2292
  updated_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1830
- method_path: z.ZodString;
2293
+ build_plan_path: z.ZodString;
1831
2294
  changed: z.ZodBoolean;
1832
2295
  message: z.ZodString;
1833
2296
  }, z.core.$strict>;
@@ -1843,15 +2306,15 @@ export declare const PreparationChangeResultSchema: z.ZodObject<{
1843
2306
  operation: z.ZodLiteral<"remove">;
1844
2307
  preparation: z.ZodString;
1845
2308
  config_path: z.ZodString;
1846
- portable_context_path: z.ZodString;
1847
- portable_context_retained: z.ZodBoolean;
2309
+ verifiable_context_path: z.ZodString;
2310
+ verifiable_context_retained: z.ZodBoolean;
1848
2311
  changed: z.ZodBoolean;
1849
2312
  message: z.ZodString;
1850
2313
  }, z.core.$strict>;
1851
2314
  export declare const ResetRequestSchema: z.ZodObject<{
1852
2315
  preparation: z.ZodString;
1853
2316
  scope: z.ZodEnum<{
1854
- compile: "compile";
2317
+ build: "build";
1855
2318
  all: "all";
1856
2319
  }>;
1857
2320
  }, z.core.$strict>;
@@ -1860,10 +2323,10 @@ export declare const ResetResultSchema: z.ZodObject<{
1860
2323
  version: z.ZodLiteral<1>;
1861
2324
  preparation: z.ZodString;
1862
2325
  scope: z.ZodEnum<{
1863
- compile: "compile";
2326
+ build: "build";
1864
2327
  all: "all";
1865
2328
  }>;
1866
- portable_context_path: z.ZodString;
2329
+ verifiable_context_path: z.ZodString;
1867
2330
  changed: z.ZodBoolean;
1868
2331
  message: z.ZodString;
1869
2332
  }, z.core.$strict>;
@@ -1888,7 +2351,7 @@ export declare const ReadinessCheckDraftResultSchema: z.ZodObject<{
1888
2351
  strictness: z.ZodOptional<z.ZodString>;
1889
2352
  }, z.core.$strict>>>;
1890
2353
  }, z.core.$strict>;
1891
- export declare const MethodAuthoringArtifactRequirementSchema: z.ZodObject<{
2354
+ export declare const BuildPlanAuthoringArtifactRequirementSchema: z.ZodObject<{
1892
2355
  id: z.ZodString;
1893
2356
  description: z.ZodOptional<z.ZodString>;
1894
2357
  shape: z.ZodObject<{
@@ -1918,12 +2381,12 @@ export declare const MethodAuthoringArtifactRequirementSchema: z.ZodObject<{
1918
2381
  }, z.core.$strict>>>;
1919
2382
  stage_hint: z.ZodOptional<z.ZodString>;
1920
2383
  }, z.core.$strict>;
1921
- export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
2384
+ export declare const BuildPlanAuthoringCreateRequestSchema: z.ZodObject<{
1922
2385
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1923
2386
  source_folder_path: z.ZodString;
1924
- base_method_id: z.ZodOptional<z.ZodString>;
1925
- reference_method_id: z.ZodOptional<z.ZodString>;
1926
- 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;
1927
2390
  label: z.ZodString;
1928
2391
  hint: z.ZodString;
1929
2392
  task_prompt: z.ZodString;
@@ -2021,7 +2484,7 @@ export declare const MethodAuthoringCreateRequestSchema: z.ZodObject<{
2021
2484
  stage_hint: z.ZodOptional<z.ZodString>;
2022
2485
  }, z.core.$strict>>>;
2023
2486
  }, z.core.$strict>;
2024
- export declare const MethodAuthoringResultSchema: z.ZodObject<{
2487
+ export declare const BuildPlanAuthoringResultSchema: z.ZodObject<{
2025
2488
  status: z.ZodEnum<{
2026
2489
  updated: "updated";
2027
2490
  "no-change": "no-change";
@@ -2030,7 +2493,7 @@ export declare const MethodAuthoringResultSchema: z.ZodObject<{
2030
2493
  }>;
2031
2494
  changed: z.ZodBoolean;
2032
2495
  summary: z.ZodString;
2033
- method_path: z.ZodString;
2496
+ build_plan_path: z.ZodString;
2034
2497
  shell_path: z.ZodString;
2035
2498
  validation: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
2036
2499
  }, z.core.$strict>;
@@ -2068,9 +2531,9 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
2068
2531
  version: z.ZodLiteral<1>;
2069
2532
  run_id: z.ZodString;
2070
2533
  job_type: z.ZodEnum<{
2071
- "method-authoring": "method-authoring";
2072
- "method-improvement": "method-improvement";
2534
+ "build-plan-improvement": "build-plan-improvement";
2073
2535
  "readiness-check-draft": "readiness-check-draft";
2536
+ "build-plan-draft": "build-plan-draft";
2074
2537
  }>;
2075
2538
  status: z.ZodEnum<{
2076
2539
  succeeded: "succeeded";
@@ -2081,7 +2544,7 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
2081
2544
  }>;
2082
2545
  title: z.ZodString;
2083
2546
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2084
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2547
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2085
2548
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2086
2549
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2087
2550
  agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2151,21 +2614,13 @@ export declare const VerifyRunStatusSchema: z.ZodEnum<{
2151
2614
  queued: "queued";
2152
2615
  }>;
2153
2616
  /**
2154
- * 0.17 — verify runs choose their judge target. `compiled` (default)
2155
- * judges against the latest portable-context output; `source-files`
2156
- * judges against the raw source folder for a baseline that reveals
2157
- * how much value the Method actually adds. The 0.15 cleanup made
2158
- * verify compiled-only on the wire because the source-files branch
2159
- * had been retired in 0.13.1; 0.17 restores it because the readiness-check UI and
2160
- * `verify/README.md` have always claimed the option exists, and the
2161
- * sandbox + spec builders for source-files have remained in tree
2162
- * since 0.13.
2617
+ * Verify runs choose their judge target.
2163
2618
  */
2164
2619
  export declare const VerifyRunCreateRequestSchema: z.ZodObject<{
2165
2620
  preparation: z.ZodString;
2166
2621
  target: z.ZodDefault<z.ZodEnum<{
2622
+ "verifiable-context": "verifiable-context";
2167
2623
  "source-files": "source-files";
2168
- compiled: "compiled";
2169
2624
  }>>;
2170
2625
  }, z.core.$strict>;
2171
2626
  export declare const VerifyRunResourceSchema: z.ZodObject<{
@@ -2179,23 +2634,23 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2179
2634
  }>;
2180
2635
  preparation: z.ZodString;
2181
2636
  source_path: z.ZodString;
2182
- portable_context_path: z.ZodNullable<z.ZodString>;
2637
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
2183
2638
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2184
2639
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2185
- readiness_run: z.ZodNullable<z.ZodObject<{
2640
+ readiness_run: z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
2186
2641
  kind: z.ZodLiteral<"interf-readiness-check-run">;
2187
2642
  version: z.ZodLiteral<1>;
2188
2643
  generated_at: z.ZodString;
2189
2644
  mode: z.ZodEnum<{
2645
+ "verifiable-context": "verifiable-context";
2190
2646
  "source-files": "source-files";
2191
- compiled: "compiled";
2192
2647
  both: "both";
2193
2648
  }>;
2194
2649
  source_path: z.ZodString;
2195
2650
  checks_fingerprint: z.ZodOptional<z.ZodString>;
2196
2651
  preparation: z.ZodObject<{
2197
2652
  name: z.ZodString;
2198
- portable_context_path: z.ZodNullable<z.ZodString>;
2653
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
2199
2654
  }, z.core.$strip>;
2200
2655
  source_files: z.ZodNullable<z.ZodObject<{
2201
2656
  label: z.ZodString;
@@ -2207,15 +2662,15 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2207
2662
  total_checks: z.ZodNumber;
2208
2663
  target: z.ZodObject<{
2209
2664
  type: z.ZodEnum<{
2665
+ "verifiable-context": "verifiable-context";
2210
2666
  "source-files": "source-files";
2211
- compiled: "compiled";
2212
2667
  }>;
2213
2668
  name: z.ZodString;
2214
2669
  path: z.ZodString;
2215
- method: z.ZodString;
2670
+ build_plan: z.ZodString;
2216
2671
  }, z.core.$strip>;
2217
2672
  }, z.core.$strip>>;
2218
- compiled: z.ZodNullable<z.ZodObject<{
2673
+ verifiable_context: z.ZodNullable<z.ZodObject<{
2219
2674
  label: z.ZodString;
2220
2675
  run_path: z.ZodString;
2221
2676
  ok: z.ZodBoolean;
@@ -2225,20 +2680,20 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2225
2680
  total_checks: z.ZodNumber;
2226
2681
  target: z.ZodObject<{
2227
2682
  type: z.ZodEnum<{
2683
+ "verifiable-context": "verifiable-context";
2228
2684
  "source-files": "source-files";
2229
- compiled: "compiled";
2230
2685
  }>;
2231
2686
  name: z.ZodString;
2232
2687
  path: z.ZodString;
2233
- method: z.ZodString;
2688
+ build_plan: z.ZodString;
2234
2689
  }, z.core.$strip>;
2235
2690
  }, z.core.$strip>>;
2236
2691
  summary: z.ZodObject<{
2237
2692
  source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
2238
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
2693
+ verifiable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
2239
2694
  }, z.core.$strip>;
2240
- }, z.core.$strip>>;
2241
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2695
+ }, z.core.$strip>>>;
2696
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
2242
2697
  kind: z.ZodLiteral<"interf-readiness-state">;
2243
2698
  version: z.ZodLiteral<1>;
2244
2699
  generated_at: z.ZodString;
@@ -2256,14 +2711,14 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2256
2711
  }>;
2257
2712
  ready: z.ZodBoolean;
2258
2713
  summary: z.ZodString;
2259
- portable_context_path: z.ZodNullable<z.ZodString>;
2260
- 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>>;
2261
2716
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2262
- compile: z.ZodNullable<z.ZodObject<{
2717
+ build: z.ZodNullable<z.ZodObject<{
2263
2718
  gate: z.ZodEnum<{
2264
- "portable-context": "portable-context";
2719
+ "verifiable-context": "verifiable-context";
2265
2720
  "preparation-config": "preparation-config";
2266
- "compile-run": "compile-run";
2721
+ "build-run": "build-run";
2267
2722
  "artifact-checks": "artifact-checks";
2268
2723
  "readiness-checks": "readiness-checks";
2269
2724
  "checks-current": "checks-current";
@@ -2297,7 +2752,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2297
2752
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2298
2753
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2299
2754
  }, z.core.$strict>>;
2300
- portable_context: z.ZodNullable<z.ZodObject<{
2755
+ verifiable_context: z.ZodNullable<z.ZodObject<{
2301
2756
  passed: z.ZodNumber;
2302
2757
  total: z.ZodNumber;
2303
2758
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -2309,9 +2764,9 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2309
2764
  }, z.core.$strict>;
2310
2765
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2311
2766
  gate: z.ZodEnum<{
2312
- "portable-context": "portable-context";
2767
+ "verifiable-context": "verifiable-context";
2313
2768
  "preparation-config": "preparation-config";
2314
- "compile-run": "compile-run";
2769
+ "build-run": "build-run";
2315
2770
  "artifact-checks": "artifact-checks";
2316
2771
  "readiness-checks": "readiness-checks";
2317
2772
  "checks-current": "checks-current";
@@ -2333,18 +2788,17 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2333
2788
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2334
2789
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2335
2790
  }, z.core.$strict>>>;
2336
- }, z.core.$strict>>>;
2791
+ }, z.core.$strict>>>>;
2337
2792
  events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2338
2793
  event_id: z.ZodString;
2339
2794
  run_id: z.ZodString;
2340
2795
  timestamp: z.ZodString;
2341
2796
  type: z.ZodLiteral<"run.started">;
2342
2797
  preparation: z.ZodString;
2343
- method: z.ZodString;
2344
- portable_context_path: z.ZodString;
2798
+ build_plan: z.ZodOptional<z.ZodString>;
2799
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
2345
2800
  backend: z.ZodEnum<{
2346
2801
  native: "native";
2347
- "workflow-sdk": "workflow-sdk";
2348
2802
  }>;
2349
2803
  }, z.core.$strict>, z.ZodObject<{
2350
2804
  event_id: z.ZodString;
@@ -2465,8 +2919,8 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2465
2919
  passed: z.ZodNumber;
2466
2920
  total: z.ZodNumber;
2467
2921
  target: z.ZodOptional<z.ZodEnum<{
2922
+ "verifiable-context": "verifiable-context";
2468
2923
  "source-files": "source-files";
2469
- compiled: "compiled";
2470
2924
  }>>;
2471
2925
  checks_fingerprint: z.ZodOptional<z.ZodString>;
2472
2926
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -2477,7 +2931,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2477
2931
  timestamp: z.ZodString;
2478
2932
  type: z.ZodLiteral<"readiness.updated">;
2479
2933
  preparation: z.ZodString;
2480
- readiness: z.ZodObject<{
2934
+ readiness: z.ZodPreprocess<z.ZodObject<{
2481
2935
  kind: z.ZodLiteral<"interf-readiness-state">;
2482
2936
  version: z.ZodLiteral<1>;
2483
2937
  generated_at: z.ZodString;
@@ -2495,14 +2949,14 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2495
2949
  }>;
2496
2950
  ready: z.ZodBoolean;
2497
2951
  summary: z.ZodString;
2498
- portable_context_path: z.ZodNullable<z.ZodString>;
2499
- 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>>;
2500
2954
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2501
- compile: z.ZodNullable<z.ZodObject<{
2955
+ build: z.ZodNullable<z.ZodObject<{
2502
2956
  gate: z.ZodEnum<{
2503
- "portable-context": "portable-context";
2957
+ "verifiable-context": "verifiable-context";
2504
2958
  "preparation-config": "preparation-config";
2505
- "compile-run": "compile-run";
2959
+ "build-run": "build-run";
2506
2960
  "artifact-checks": "artifact-checks";
2507
2961
  "readiness-checks": "readiness-checks";
2508
2962
  "checks-current": "checks-current";
@@ -2536,7 +2990,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2536
2990
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2537
2991
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2538
2992
  }, z.core.$strict>>;
2539
- portable_context: z.ZodNullable<z.ZodObject<{
2993
+ verifiable_context: z.ZodNullable<z.ZodObject<{
2540
2994
  passed: z.ZodNumber;
2541
2995
  total: z.ZodNumber;
2542
2996
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -2548,9 +3002,9 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2548
3002
  }, z.core.$strict>;
2549
3003
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2550
3004
  gate: z.ZodEnum<{
2551
- "portable-context": "portable-context";
3005
+ "verifiable-context": "verifiable-context";
2552
3006
  "preparation-config": "preparation-config";
2553
- "compile-run": "compile-run";
3007
+ "build-run": "build-run";
2554
3008
  "artifact-checks": "artifact-checks";
2555
3009
  "readiness-checks": "readiness-checks";
2556
3010
  "checks-current": "checks-current";
@@ -2572,7 +3026,7 @@ export declare const VerifyRunResourceSchema: z.ZodObject<{
2572
3026
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2573
3027
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2574
3028
  }, z.core.$strict>>>;
2575
- }, z.core.$strict>;
3029
+ }, z.core.$strict>>;
2576
3030
  }, z.core.$strict>], "type">>>;
2577
3031
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
3032
  }, z.core.$strict>;
@@ -2581,11 +3035,11 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2581
3035
  version: z.ZodLiteral<1>;
2582
3036
  run_id: z.ZodString;
2583
3037
  run_type: z.ZodEnum<{
2584
- compile: "compile";
2585
- "method-authoring": "method-authoring";
2586
- "method-improvement": "method-improvement";
3038
+ build: "build";
3039
+ "build-plan-improvement": "build-plan-improvement";
2587
3040
  verify: "verify";
2588
3041
  "readiness-check-draft": "readiness-check-draft";
3042
+ "build-plan-draft": "build-plan-draft";
2589
3043
  job: "job";
2590
3044
  }>;
2591
3045
  title: z.ZodString;
@@ -2597,7 +3051,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2597
3051
  queued: "queued";
2598
3052
  }>;
2599
3053
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3054
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2601
3055
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2602
3056
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2603
3057
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2642,7 +3096,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2642
3096
  ok: z.ZodBoolean;
2643
3097
  detail: z.ZodOptional<z.ZodString>;
2644
3098
  }, z.core.$strict>>>;
2645
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3099
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
2646
3100
  kind: z.ZodLiteral<"interf-readiness-state">;
2647
3101
  version: z.ZodLiteral<1>;
2648
3102
  generated_at: z.ZodString;
@@ -2660,14 +3114,14 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2660
3114
  }>;
2661
3115
  ready: z.ZodBoolean;
2662
3116
  summary: z.ZodString;
2663
- portable_context_path: z.ZodNullable<z.ZodString>;
2664
- 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>>;
2665
3119
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2666
- compile: z.ZodNullable<z.ZodObject<{
3120
+ build: z.ZodNullable<z.ZodObject<{
2667
3121
  gate: z.ZodEnum<{
2668
- "portable-context": "portable-context";
3122
+ "verifiable-context": "verifiable-context";
2669
3123
  "preparation-config": "preparation-config";
2670
- "compile-run": "compile-run";
3124
+ "build-run": "build-run";
2671
3125
  "artifact-checks": "artifact-checks";
2672
3126
  "readiness-checks": "readiness-checks";
2673
3127
  "checks-current": "checks-current";
@@ -2701,7 +3155,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2701
3155
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
3156
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
3157
  }, z.core.$strict>>;
2704
- portable_context: z.ZodNullable<z.ZodObject<{
3158
+ verifiable_context: z.ZodNullable<z.ZodObject<{
2705
3159
  passed: z.ZodNumber;
2706
3160
  total: z.ZodNumber;
2707
3161
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -2713,9 +3167,9 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2713
3167
  }, z.core.$strict>;
2714
3168
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2715
3169
  gate: z.ZodEnum<{
2716
- "portable-context": "portable-context";
3170
+ "verifiable-context": "verifiable-context";
2717
3171
  "preparation-config": "preparation-config";
2718
- "compile-run": "compile-run";
3172
+ "build-run": "build-run";
2719
3173
  "artifact-checks": "artifact-checks";
2720
3174
  "readiness-checks": "readiness-checks";
2721
3175
  "checks-current": "checks-current";
@@ -2737,7 +3191,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2737
3191
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2738
3192
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2739
3193
  }, z.core.$strict>>>;
2740
- }, z.core.$strict>>>;
3194
+ }, z.core.$strict>>>>;
2741
3195
  trace: z.ZodObject<{
2742
3196
  run: z.ZodObject<{
2743
3197
  runId: z.ZodString;
@@ -2749,7 +3203,7 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2749
3203
  cancelled: "cancelled";
2750
3204
  }>;
2751
3205
  deploymentId: z.ZodString;
2752
- methodName: z.ZodString;
3206
+ traceName: z.ZodString;
2753
3207
  specVersion: z.ZodLiteral<1>;
2754
3208
  executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2755
3209
  input: z.ZodUnknown;
@@ -2826,20 +3280,20 @@ export declare const LocalExecutorSelectRequestSchema: z.ZodObject<{
2826
3280
  agent: z.ZodString;
2827
3281
  }, z.core.$strict>;
2828
3282
  export declare const ActionProposalTypeSchema: z.ZodEnum<{
2829
- compile: "compile";
2830
- "method-authoring": "method-authoring";
2831
- "method-improvement": "method-improvement";
3283
+ build: "build";
3284
+ "build-plan-improvement": "build-plan-improvement";
2832
3285
  "readiness-check-draft": "readiness-check-draft";
3286
+ "build-plan-draft": "build-plan-draft";
2833
3287
  test: "test";
2834
3288
  clarification: "clarification";
2835
3289
  }>;
2836
3290
  export declare const ActionProposalPlanActionTypeSchema: z.ZodEnum<{
2837
- compile: "compile";
2838
- "method-authoring": "method-authoring";
2839
- "method-improvement": "method-improvement";
3291
+ build: "build";
3292
+ "build-plan-improvement": "build-plan-improvement";
2840
3293
  "readiness-check-draft": "readiness-check-draft";
3294
+ "build-plan-draft": "build-plan-draft";
2841
3295
  test: "test";
2842
- "method-change": "method-change";
3296
+ "build-plan-change": "build-plan-change";
2843
3297
  "preparation-change": "preparation-change";
2844
3298
  clarification: "clarification";
2845
3299
  "preparation-setup": "preparation-setup";
@@ -2875,18 +3329,18 @@ export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
2875
3329
  }, z.core.$strict>;
2876
3330
  export declare const ActionProposalPlanSchema: z.ZodObject<{
2877
3331
  action_type: z.ZodEnum<{
2878
- compile: "compile";
2879
- "method-authoring": "method-authoring";
2880
- "method-improvement": "method-improvement";
3332
+ build: "build";
3333
+ "build-plan-improvement": "build-plan-improvement";
2881
3334
  "readiness-check-draft": "readiness-check-draft";
3335
+ "build-plan-draft": "build-plan-draft";
2882
3336
  test: "test";
2883
- "method-change": "method-change";
3337
+ "build-plan-change": "build-plan-change";
2884
3338
  "preparation-change": "preparation-change";
2885
3339
  clarification: "clarification";
2886
3340
  "preparation-setup": "preparation-setup";
2887
3341
  }>;
2888
3342
  preparation: z.ZodOptional<z.ZodString>;
2889
- method: z.ZodOptional<z.ZodString>;
3343
+ build_plan: z.ZodOptional<z.ZodString>;
2890
3344
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2891
3345
  title: z.ZodOptional<z.ZodString>;
2892
3346
  summary: z.ZodOptional<z.ZodString>;
@@ -2920,7 +3374,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2920
3374
  command_preview: z.ZodOptional<z.ZodString>;
2921
3375
  message: z.ZodString;
2922
3376
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2923
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3377
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2924
3378
  client_origin: z.ZodDefault<z.ZodEnum<{
2925
3379
  unknown: "unknown";
2926
3380
  "ui-chat": "ui-chat";
@@ -2943,7 +3397,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2943
3397
  }, z.core.$strict>>>;
2944
3398
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2945
3399
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2946
- "compile-run": "compile-run";
3400
+ "build-run": "build-run";
2947
3401
  "verify-run": "verify-run";
2948
3402
  "job-run": "job-run";
2949
3403
  }>>>;
@@ -2968,7 +3422,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2968
3422
  command_preview: z.ZodOptional<z.ZodString>;
2969
3423
  message: z.ZodString;
2970
3424
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2971
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3425
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2972
3426
  client_origin: z.ZodDefault<z.ZodEnum<{
2973
3427
  unknown: "unknown";
2974
3428
  "ui-chat": "ui-chat";
@@ -2991,15 +3445,15 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2991
3445
  }, z.core.$strict>>>;
2992
3446
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2993
3447
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2994
- "compile-run": "compile-run";
3448
+ "build-run": "build-run";
2995
3449
  "verify-run": "verify-run";
2996
3450
  "job-run": "job-run";
2997
3451
  }>>>;
2998
3452
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2999
- action_type: z.ZodLiteral<"compile">;
3453
+ action_type: z.ZodLiteral<"build">;
3000
3454
  request: z.ZodObject<{
3001
3455
  preparation: z.ZodString;
3002
- method: z.ZodOptional<z.ZodString>;
3456
+ build_plan: z.ZodOptional<z.ZodString>;
3003
3457
  max_attempts: z.ZodOptional<z.ZodNumber>;
3004
3458
  max_loops: z.ZodOptional<z.ZodNumber>;
3005
3459
  preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
@@ -3025,7 +3479,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3025
3479
  command_preview: z.ZodOptional<z.ZodString>;
3026
3480
  message: z.ZodString;
3027
3481
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3028
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3482
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3029
3483
  client_origin: z.ZodDefault<z.ZodEnum<{
3030
3484
  unknown: "unknown";
3031
3485
  "ui-chat": "ui-chat";
@@ -3048,7 +3502,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3048
3502
  }, z.core.$strict>>>;
3049
3503
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3050
3504
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3051
- "compile-run": "compile-run";
3505
+ "build-run": "build-run";
3052
3506
  "verify-run": "verify-run";
3053
3507
  "job-run": "job-run";
3054
3508
  }>>>;
@@ -3057,8 +3511,8 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3057
3511
  request: z.ZodObject<{
3058
3512
  preparation: z.ZodString;
3059
3513
  target: z.ZodDefault<z.ZodEnum<{
3514
+ "verifiable-context": "verifiable-context";
3060
3515
  "source-files": "source-files";
3061
- compiled: "compiled";
3062
3516
  }>>;
3063
3517
  }, z.core.$strict>;
3064
3518
  }, z.core.$strict>, z.ZodObject<{
@@ -3079,7 +3533,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3079
3533
  command_preview: z.ZodOptional<z.ZodString>;
3080
3534
  message: z.ZodString;
3081
3535
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3082
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3536
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3083
3537
  client_origin: z.ZodDefault<z.ZodEnum<{
3084
3538
  unknown: "unknown";
3085
3539
  "ui-chat": "ui-chat";
@@ -3102,7 +3556,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3102
3556
  }, z.core.$strict>>>;
3103
3557
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3104
3558
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3105
- "compile-run": "compile-run";
3559
+ "build-run": "build-run";
3106
3560
  "verify-run": "verify-run";
3107
3561
  "job-run": "job-run";
3108
3562
  }>>>;
@@ -3132,7 +3586,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3132
3586
  command_preview: z.ZodOptional<z.ZodString>;
3133
3587
  message: z.ZodString;
3134
3588
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3135
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3589
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3136
3590
  client_origin: z.ZodDefault<z.ZodEnum<{
3137
3591
  unknown: "unknown";
3138
3592
  "ui-chat": "ui-chat";
@@ -3155,18 +3609,18 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3155
3609
  }, z.core.$strict>>>;
3156
3610
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3157
3611
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3158
- "compile-run": "compile-run";
3612
+ "build-run": "build-run";
3159
3613
  "verify-run": "verify-run";
3160
3614
  "job-run": "job-run";
3161
3615
  }>>>;
3162
3616
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3163
- action_type: z.ZodLiteral<"method-authoring">;
3617
+ action_type: z.ZodLiteral<"build-plan-draft">;
3164
3618
  request: z.ZodObject<{
3165
3619
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3166
3620
  source_folder_path: z.ZodString;
3167
- base_method_id: z.ZodOptional<z.ZodString>;
3168
- reference_method_id: z.ZodOptional<z.ZodString>;
3169
- 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;
3170
3624
  label: z.ZodString;
3171
3625
  hint: z.ZodString;
3172
3626
  task_prompt: z.ZodString;
@@ -3282,7 +3736,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3282
3736
  command_preview: z.ZodOptional<z.ZodString>;
3283
3737
  message: z.ZodString;
3284
3738
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3285
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3739
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3286
3740
  client_origin: z.ZodDefault<z.ZodEnum<{
3287
3741
  unknown: "unknown";
3288
3742
  "ui-chat": "ui-chat";
@@ -3305,18 +3759,18 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3305
3759
  }, z.core.$strict>>>;
3306
3760
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3307
3761
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3308
- "compile-run": "compile-run";
3762
+ "build-run": "build-run";
3309
3763
  "verify-run": "verify-run";
3310
3764
  "job-run": "job-run";
3311
3765
  }>>>;
3312
3766
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3313
- action_type: z.ZodLiteral<"method-improvement">;
3767
+ action_type: z.ZodLiteral<"build-plan-improvement">;
3314
3768
  request: z.ZodObject<{
3315
3769
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3316
3770
  source_folder_path: z.ZodString;
3317
- base_method_id: z.ZodOptional<z.ZodString>;
3318
- reference_method_id: z.ZodOptional<z.ZodString>;
3319
- 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;
3320
3774
  label: z.ZodString;
3321
3775
  hint: z.ZodString;
3322
3776
  task_prompt: z.ZodString;
@@ -3415,11 +3869,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
3415
3869
  }, z.core.$strict>>>;
3416
3870
  }, z.core.$strict>;
3417
3871
  }, z.core.$strict>], "action_type">;
3418
- export declare const PortableContextResourceSchema: z.ZodObject<{
3872
+ export declare const VerifiableContextResourceSchema: z.ZodObject<{
3419
3873
  preparation: z.ZodString;
3420
3874
  path: z.ZodString;
3421
3875
  exists: z.ZodBoolean;
3422
- readiness: z.ZodObject<{
3876
+ readiness: z.ZodPreprocess<z.ZodObject<{
3423
3877
  kind: z.ZodLiteral<"interf-readiness-state">;
3424
3878
  version: z.ZodLiteral<1>;
3425
3879
  generated_at: z.ZodString;
@@ -3437,14 +3891,14 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3437
3891
  }>;
3438
3892
  ready: z.ZodBoolean;
3439
3893
  summary: z.ZodString;
3440
- portable_context_path: z.ZodNullable<z.ZodString>;
3441
- 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>>;
3442
3896
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3443
- compile: z.ZodNullable<z.ZodObject<{
3897
+ build: z.ZodNullable<z.ZodObject<{
3444
3898
  gate: z.ZodEnum<{
3445
- "portable-context": "portable-context";
3899
+ "verifiable-context": "verifiable-context";
3446
3900
  "preparation-config": "preparation-config";
3447
- "compile-run": "compile-run";
3901
+ "build-run": "build-run";
3448
3902
  "artifact-checks": "artifact-checks";
3449
3903
  "readiness-checks": "readiness-checks";
3450
3904
  "checks-current": "checks-current";
@@ -3478,7 +3932,7 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3478
3932
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3479
3933
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3480
3934
  }, z.core.$strict>>;
3481
- portable_context: z.ZodNullable<z.ZodObject<{
3935
+ verifiable_context: z.ZodNullable<z.ZodObject<{
3482
3936
  passed: z.ZodNumber;
3483
3937
  total: z.ZodNumber;
3484
3938
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -3490,9 +3944,9 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3490
3944
  }, z.core.$strict>;
3491
3945
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3492
3946
  gate: z.ZodEnum<{
3493
- "portable-context": "portable-context";
3947
+ "verifiable-context": "verifiable-context";
3494
3948
  "preparation-config": "preparation-config";
3495
- "compile-run": "compile-run";
3949
+ "build-run": "build-run";
3496
3950
  "artifact-checks": "artifact-checks";
3497
3951
  "readiness-checks": "readiness-checks";
3498
3952
  "checks-current": "checks-current";
@@ -3514,9 +3968,9 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3514
3968
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3515
3969
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3516
3970
  }, z.core.$strict>>>;
3517
- }, z.core.$strict>;
3518
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3519
- 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>>;
3520
3974
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3521
3975
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3522
3976
  path: z.ZodString;
@@ -3532,7 +3986,7 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
3532
3986
  sha256: z.ZodOptional<z.ZodString>;
3533
3987
  }, z.core.$strict>>>;
3534
3988
  }, z.core.$strict>;
3535
- export declare const ReadinessResourceSchema: z.ZodObject<{
3989
+ export declare const ReadinessResourceSchema: z.ZodPreprocess<z.ZodObject<{
3536
3990
  kind: z.ZodLiteral<"interf-readiness-state">;
3537
3991
  version: z.ZodLiteral<1>;
3538
3992
  generated_at: z.ZodString;
@@ -3550,14 +4004,14 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3550
4004
  }>;
3551
4005
  ready: z.ZodBoolean;
3552
4006
  summary: z.ZodString;
3553
- portable_context_path: z.ZodNullable<z.ZodString>;
3554
- 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>>;
3555
4009
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3556
- compile: z.ZodNullable<z.ZodObject<{
4010
+ build: z.ZodNullable<z.ZodObject<{
3557
4011
  gate: z.ZodEnum<{
3558
- "portable-context": "portable-context";
4012
+ "verifiable-context": "verifiable-context";
3559
4013
  "preparation-config": "preparation-config";
3560
- "compile-run": "compile-run";
4014
+ "build-run": "build-run";
3561
4015
  "artifact-checks": "artifact-checks";
3562
4016
  "readiness-checks": "readiness-checks";
3563
4017
  "checks-current": "checks-current";
@@ -3591,7 +4045,7 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3591
4045
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3592
4046
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3593
4047
  }, z.core.$strict>>;
3594
- portable_context: z.ZodNullable<z.ZodObject<{
4048
+ verifiable_context: z.ZodNullable<z.ZodObject<{
3595
4049
  passed: z.ZodNumber;
3596
4050
  total: z.ZodNumber;
3597
4051
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -3603,9 +4057,9 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3603
4057
  }, z.core.$strict>;
3604
4058
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3605
4059
  gate: z.ZodEnum<{
3606
- "portable-context": "portable-context";
4060
+ "verifiable-context": "verifiable-context";
3607
4061
  "preparation-config": "preparation-config";
3608
- "compile-run": "compile-run";
4062
+ "build-run": "build-run";
3609
4063
  "artifact-checks": "artifact-checks";
3610
4064
  "readiness-checks": "readiness-checks";
3611
4065
  "checks-current": "checks-current";
@@ -3627,7 +4081,7 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
3627
4081
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3628
4082
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3629
4083
  }, z.core.$strict>>>;
3630
- }, z.core.$strict>;
4084
+ }, z.core.$strict>>;
3631
4085
  export declare const SourceFileResourceSchema: z.ZodObject<{
3632
4086
  preparation: z.ZodString;
3633
4087
  path: z.ZodString;
@@ -3636,39 +4090,30 @@ export declare const SourceFileResourceSchema: z.ZodObject<{
3636
4090
  modified_at: z.ZodNullable<z.ZodString>;
3637
4091
  source_folder_path: z.ZodString;
3638
4092
  }, z.core.$strict>;
3639
- export declare const WorkspaceFileResourceSchema: z.ZodObject<{
3640
- path: z.ZodString;
3641
- absolute_path: z.ZodString;
3642
- size_bytes: z.ZodNumber;
3643
- modified_at: z.ZodNullable<z.ZodString>;
3644
- }, z.core.$strict>;
3645
4093
  export declare const LocalServiceDiscoverySchema: z.ZodObject<{
3646
4094
  kind: z.ZodLiteral<"interf-local-service-discovery">;
3647
4095
  version: z.ZodLiteral<1>;
3648
4096
  resources: z.ZodObject<{
3649
4097
  instance: z.ZodString;
3650
4098
  preparations: z.ZodString;
3651
- methods: z.ZodString;
4099
+ build_plans: z.ZodString;
4100
+ build_runs: z.ZodString;
3652
4101
  runs: z.ZodString;
3653
4102
  action_proposals: z.ZodString;
3654
4103
  executor: z.ZodString;
3655
4104
  open_path: z.ZodString;
3656
4105
  agents: z.ZodOptional<z.ZodString>;
3657
4106
  readiness: z.ZodOptional<z.ZodString>;
3658
- portable_contexts: z.ZodOptional<z.ZodString>;
4107
+ verifiable_contexts: z.ZodOptional<z.ZodString>;
3659
4108
  source_files: z.ZodOptional<z.ZodString>;
3660
- workspace_files: z.ZodOptional<z.ZodString>;
3661
4109
  preparation_setups: z.ZodOptional<z.ZodString>;
3662
4110
  preparation_changes: z.ZodOptional<z.ZodString>;
3663
- method_changes: z.ZodOptional<z.ZodString>;
3664
- workspace_bootstraps: z.ZodOptional<z.ZodString>;
4111
+ build_plan_changes: z.ZodOptional<z.ZodString>;
3665
4112
  readiness_check_drafts: z.ZodOptional<z.ZodString>;
3666
- method_authoring_runs: z.ZodOptional<z.ZodString>;
3667
- method_improvement_runs: z.ZodOptional<z.ZodString>;
3668
- compile_runs: z.ZodOptional<z.ZodString>;
4113
+ build_plan_draft_runs: z.ZodOptional<z.ZodString>;
4114
+ build_plan_improvement_runs: z.ZodOptional<z.ZodString>;
3669
4115
  verify_runs: z.ZodOptional<z.ZodString>;
3670
4116
  reset: z.ZodOptional<z.ZodString>;
3671
- workspaces: z.ZodOptional<z.ZodString>;
3672
4117
  status: z.ZodOptional<z.ZodString>;
3673
4118
  }, z.core.$strict>;
3674
4119
  }, z.core.$strict>;
@@ -3689,10 +4134,10 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
3689
4134
  }>;
3690
4135
  locator: z.ZodString;
3691
4136
  }, z.core.$strict>;
3692
- method_id: z.ZodNullable<z.ZodString>;
4137
+ build_plan_id: z.ZodNullable<z.ZodString>;
3693
4138
  about: z.ZodNullable<z.ZodString>;
3694
4139
  config_path: z.ZodString;
3695
- portable_context: z.ZodObject<{
4140
+ verifiable_context: z.ZodObject<{
3696
4141
  kind: z.ZodEnum<{
3697
4142
  "local-path": "local-path";
3698
4143
  "remote-url": "remote-url";
@@ -3765,10 +4210,10 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
3765
4210
  }, z.core.$loose>>>;
3766
4211
  }, z.core.$strict>>;
3767
4212
  }, z.core.$strict>;
3768
- export declare const MethodListResponseSchema: z.ZodObject<{
3769
- methods: z.ZodArray<z.ZodObject<{
4213
+ export declare const BuildPlanListResponseSchema: z.ZodObject<{
4214
+ build_plans: z.ZodArray<z.ZodObject<{
3770
4215
  id: z.ZodString;
3771
- method_id: z.ZodString;
4216
+ build_plan_id: z.ZodString;
3772
4217
  path: z.ZodString;
3773
4218
  label: z.ZodOptional<z.ZodString>;
3774
4219
  hint: z.ZodOptional<z.ZodString>;
@@ -3831,10 +4276,10 @@ export declare const MethodListResponseSchema: z.ZodObject<{
3831
4276
  }, z.core.$strict>>>;
3832
4277
  }, z.core.$strict>>;
3833
4278
  }, z.core.$strict>;
3834
- export declare const CompileRunListResponseSchema: z.ZodObject<{
3835
- compile_runs: z.ZodArray<z.ZodObject<{
4279
+ export declare const BuildRunListResponseSchema: z.ZodObject<{
4280
+ build_runs: z.ZodArray<z.ZodObject<{
3836
4281
  run: z.ZodObject<{
3837
- kind: z.ZodLiteral<"interf-compile-run">;
4282
+ kind: z.ZodLiteral<"interf-build-run">;
3838
4283
  version: z.ZodLiteral<1>;
3839
4284
  run_id: z.ZodString;
3840
4285
  status: z.ZodEnum<{
@@ -3845,13 +4290,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3845
4290
  queued: "queued";
3846
4291
  }>;
3847
4292
  preparation: z.ZodString;
3848
- method: z.ZodString;
3849
- backend: z.ZodEnum<{
3850
- native: "native";
3851
- "workflow-sdk": "workflow-sdk";
3852
- }>;
4293
+ build_plan: z.ZodString;
4294
+ backend: z.ZodString;
3853
4295
  source_path: z.ZodString;
3854
- portable_context_path: z.ZodString;
4296
+ verifiable_context_path: z.ZodString;
3855
4297
  created_at: z.ZodString;
3856
4298
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3857
4299
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3945,11 +4387,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
3945
4387
  timestamp: z.ZodString;
3946
4388
  type: z.ZodLiteral<"run.started">;
3947
4389
  preparation: z.ZodString;
3948
- method: z.ZodString;
3949
- portable_context_path: z.ZodString;
4390
+ build_plan: z.ZodOptional<z.ZodString>;
4391
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
3950
4392
  backend: z.ZodEnum<{
3951
4393
  native: "native";
3952
- "workflow-sdk": "workflow-sdk";
3953
4394
  }>;
3954
4395
  }, z.core.$strict>, z.ZodObject<{
3955
4396
  event_id: z.ZodString;
@@ -4070,8 +4511,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4070
4511
  passed: z.ZodNumber;
4071
4512
  total: z.ZodNumber;
4072
4513
  target: z.ZodOptional<z.ZodEnum<{
4514
+ "verifiable-context": "verifiable-context";
4073
4515
  "source-files": "source-files";
4074
- compiled: "compiled";
4075
4516
  }>>;
4076
4517
  checks_fingerprint: z.ZodOptional<z.ZodString>;
4077
4518
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -4082,7 +4523,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4082
4523
  timestamp: z.ZodString;
4083
4524
  type: z.ZodLiteral<"readiness.updated">;
4084
4525
  preparation: z.ZodString;
4085
- readiness: z.ZodObject<{
4526
+ readiness: z.ZodPreprocess<z.ZodObject<{
4086
4527
  kind: z.ZodLiteral<"interf-readiness-state">;
4087
4528
  version: z.ZodLiteral<1>;
4088
4529
  generated_at: z.ZodString;
@@ -4100,14 +4541,14 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4100
4541
  }>;
4101
4542
  ready: z.ZodBoolean;
4102
4543
  summary: z.ZodString;
4103
- portable_context_path: z.ZodNullable<z.ZodString>;
4104
- 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>>;
4105
4546
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4106
- compile: z.ZodNullable<z.ZodObject<{
4547
+ build: z.ZodNullable<z.ZodObject<{
4107
4548
  gate: z.ZodEnum<{
4108
- "portable-context": "portable-context";
4549
+ "verifiable-context": "verifiable-context";
4109
4550
  "preparation-config": "preparation-config";
4110
- "compile-run": "compile-run";
4551
+ "build-run": "build-run";
4111
4552
  "artifact-checks": "artifact-checks";
4112
4553
  "readiness-checks": "readiness-checks";
4113
4554
  "checks-current": "checks-current";
@@ -4141,7 +4582,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4141
4582
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4142
4583
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4143
4584
  }, z.core.$strict>>;
4144
- portable_context: z.ZodNullable<z.ZodObject<{
4585
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4145
4586
  passed: z.ZodNumber;
4146
4587
  total: z.ZodNumber;
4147
4588
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4153,9 +4594,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4153
4594
  }, z.core.$strict>;
4154
4595
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4155
4596
  gate: z.ZodEnum<{
4156
- "portable-context": "portable-context";
4597
+ "verifiable-context": "verifiable-context";
4157
4598
  "preparation-config": "preparation-config";
4158
- "compile-run": "compile-run";
4599
+ "build-run": "build-run";
4159
4600
  "artifact-checks": "artifact-checks";
4160
4601
  "readiness-checks": "readiness-checks";
4161
4602
  "checks-current": "checks-current";
@@ -4177,7 +4618,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4177
4618
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4619
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4179
4620
  }, z.core.$strict>>>;
4180
- }, z.core.$strict>;
4621
+ }, z.core.$strict>>;
4181
4622
  }, z.core.$strict>], "type">>>;
4182
4623
  latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4183
4624
  id: z.ZodString;
@@ -4206,7 +4647,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4206
4647
  detail: z.ZodOptional<z.ZodString>;
4207
4648
  }, z.core.$strict>>>;
4208
4649
  }, z.core.$strict>>>;
4209
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4650
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
4210
4651
  kind: z.ZodLiteral<"interf-readiness-state">;
4211
4652
  version: z.ZodLiteral<1>;
4212
4653
  generated_at: z.ZodString;
@@ -4224,14 +4665,14 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4224
4665
  }>;
4225
4666
  ready: z.ZodBoolean;
4226
4667
  summary: z.ZodString;
4227
- portable_context_path: z.ZodNullable<z.ZodString>;
4228
- 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>>;
4229
4670
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4230
- compile: z.ZodNullable<z.ZodObject<{
4671
+ build: z.ZodNullable<z.ZodObject<{
4231
4672
  gate: z.ZodEnum<{
4232
- "portable-context": "portable-context";
4673
+ "verifiable-context": "verifiable-context";
4233
4674
  "preparation-config": "preparation-config";
4234
- "compile-run": "compile-run";
4675
+ "build-run": "build-run";
4235
4676
  "artifact-checks": "artifact-checks";
4236
4677
  "readiness-checks": "readiness-checks";
4237
4678
  "checks-current": "checks-current";
@@ -4265,7 +4706,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4265
4706
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4266
4707
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4267
4708
  }, z.core.$strict>>;
4268
- portable_context: z.ZodNullable<z.ZodObject<{
4709
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4269
4710
  passed: z.ZodNumber;
4270
4711
  total: z.ZodNumber;
4271
4712
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4277,9 +4718,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4277
4718
  }, z.core.$strict>;
4278
4719
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4279
4720
  gate: z.ZodEnum<{
4280
- "portable-context": "portable-context";
4721
+ "verifiable-context": "verifiable-context";
4281
4722
  "preparation-config": "preparation-config";
4282
- "compile-run": "compile-run";
4723
+ "build-run": "build-run";
4283
4724
  "artifact-checks": "artifact-checks";
4284
4725
  "readiness-checks": "readiness-checks";
4285
4726
  "checks-current": "checks-current";
@@ -4301,7 +4742,7 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
4301
4742
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4302
4743
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4303
4744
  }, z.core.$strict>>>;
4304
- }, z.core.$strict>>>;
4745
+ }, z.core.$strict>>>>;
4305
4746
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4306
4747
  artifact_id: z.ZodString;
4307
4748
  status: z.ZodEnum<{
@@ -4341,9 +4782,9 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
4341
4782
  version: z.ZodLiteral<1>;
4342
4783
  run_id: z.ZodString;
4343
4784
  job_type: z.ZodEnum<{
4344
- "method-authoring": "method-authoring";
4345
- "method-improvement": "method-improvement";
4785
+ "build-plan-improvement": "build-plan-improvement";
4346
4786
  "readiness-check-draft": "readiness-check-draft";
4787
+ "build-plan-draft": "build-plan-draft";
4347
4788
  }>;
4348
4789
  status: z.ZodEnum<{
4349
4790
  succeeded: "succeeded";
@@ -4354,7 +4795,7 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
4354
4795
  }>;
4355
4796
  title: z.ZodString;
4356
4797
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4357
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4798
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4358
4799
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4359
4800
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4360
4801
  agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4429,23 +4870,23 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4429
4870
  }>;
4430
4871
  preparation: z.ZodString;
4431
4872
  source_path: z.ZodString;
4432
- portable_context_path: z.ZodNullable<z.ZodString>;
4873
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
4433
4874
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4434
4875
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4435
- readiness_run: z.ZodNullable<z.ZodObject<{
4876
+ readiness_run: z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
4436
4877
  kind: z.ZodLiteral<"interf-readiness-check-run">;
4437
4878
  version: z.ZodLiteral<1>;
4438
4879
  generated_at: z.ZodString;
4439
4880
  mode: z.ZodEnum<{
4881
+ "verifiable-context": "verifiable-context";
4440
4882
  "source-files": "source-files";
4441
- compiled: "compiled";
4442
4883
  both: "both";
4443
4884
  }>;
4444
4885
  source_path: z.ZodString;
4445
4886
  checks_fingerprint: z.ZodOptional<z.ZodString>;
4446
4887
  preparation: z.ZodObject<{
4447
4888
  name: z.ZodString;
4448
- portable_context_path: z.ZodNullable<z.ZodString>;
4889
+ verifiable_context_path: z.ZodNullable<z.ZodString>;
4449
4890
  }, z.core.$strip>;
4450
4891
  source_files: z.ZodNullable<z.ZodObject<{
4451
4892
  label: z.ZodString;
@@ -4457,15 +4898,15 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4457
4898
  total_checks: z.ZodNumber;
4458
4899
  target: z.ZodObject<{
4459
4900
  type: z.ZodEnum<{
4901
+ "verifiable-context": "verifiable-context";
4460
4902
  "source-files": "source-files";
4461
- compiled: "compiled";
4462
4903
  }>;
4463
4904
  name: z.ZodString;
4464
4905
  path: z.ZodString;
4465
- method: z.ZodString;
4906
+ build_plan: z.ZodString;
4466
4907
  }, z.core.$strip>;
4467
4908
  }, z.core.$strip>>;
4468
- compiled: z.ZodNullable<z.ZodObject<{
4909
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4469
4910
  label: z.ZodString;
4470
4911
  run_path: z.ZodString;
4471
4912
  ok: z.ZodBoolean;
@@ -4475,20 +4916,20 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4475
4916
  total_checks: z.ZodNumber;
4476
4917
  target: z.ZodObject<{
4477
4918
  type: z.ZodEnum<{
4919
+ "verifiable-context": "verifiable-context";
4478
4920
  "source-files": "source-files";
4479
- compiled: "compiled";
4480
4921
  }>;
4481
4922
  name: z.ZodString;
4482
4923
  path: z.ZodString;
4483
- method: z.ZodString;
4924
+ build_plan: z.ZodString;
4484
4925
  }, z.core.$strip>;
4485
4926
  }, z.core.$strip>>;
4486
4927
  summary: z.ZodObject<{
4487
4928
  source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
4488
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
4929
+ verifiable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
4489
4930
  }, z.core.$strip>;
4490
- }, z.core.$strip>>;
4491
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4931
+ }, z.core.$strip>>>;
4932
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
4492
4933
  kind: z.ZodLiteral<"interf-readiness-state">;
4493
4934
  version: z.ZodLiteral<1>;
4494
4935
  generated_at: z.ZodString;
@@ -4506,14 +4947,14 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4506
4947
  }>;
4507
4948
  ready: z.ZodBoolean;
4508
4949
  summary: z.ZodString;
4509
- portable_context_path: z.ZodNullable<z.ZodString>;
4510
- 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>>;
4511
4952
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4512
- compile: z.ZodNullable<z.ZodObject<{
4953
+ build: z.ZodNullable<z.ZodObject<{
4513
4954
  gate: z.ZodEnum<{
4514
- "portable-context": "portable-context";
4955
+ "verifiable-context": "verifiable-context";
4515
4956
  "preparation-config": "preparation-config";
4516
- "compile-run": "compile-run";
4957
+ "build-run": "build-run";
4517
4958
  "artifact-checks": "artifact-checks";
4518
4959
  "readiness-checks": "readiness-checks";
4519
4960
  "checks-current": "checks-current";
@@ -4547,7 +4988,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4547
4988
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4548
4989
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4549
4990
  }, z.core.$strict>>;
4550
- portable_context: z.ZodNullable<z.ZodObject<{
4991
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4551
4992
  passed: z.ZodNumber;
4552
4993
  total: z.ZodNumber;
4553
4994
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4559,9 +5000,9 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4559
5000
  }, z.core.$strict>;
4560
5001
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4561
5002
  gate: z.ZodEnum<{
4562
- "portable-context": "portable-context";
5003
+ "verifiable-context": "verifiable-context";
4563
5004
  "preparation-config": "preparation-config";
4564
- "compile-run": "compile-run";
5005
+ "build-run": "build-run";
4565
5006
  "artifact-checks": "artifact-checks";
4566
5007
  "readiness-checks": "readiness-checks";
4567
5008
  "checks-current": "checks-current";
@@ -4583,18 +5024,17 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4583
5024
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4584
5025
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4585
5026
  }, z.core.$strict>>>;
4586
- }, z.core.$strict>>>;
5027
+ }, z.core.$strict>>>>;
4587
5028
  events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4588
5029
  event_id: z.ZodString;
4589
5030
  run_id: z.ZodString;
4590
5031
  timestamp: z.ZodString;
4591
5032
  type: z.ZodLiteral<"run.started">;
4592
5033
  preparation: z.ZodString;
4593
- method: z.ZodString;
4594
- portable_context_path: z.ZodString;
5034
+ build_plan: z.ZodOptional<z.ZodString>;
5035
+ verifiable_context_path: z.ZodOptional<z.ZodString>;
4595
5036
  backend: z.ZodEnum<{
4596
5037
  native: "native";
4597
- "workflow-sdk": "workflow-sdk";
4598
5038
  }>;
4599
5039
  }, z.core.$strict>, z.ZodObject<{
4600
5040
  event_id: z.ZodString;
@@ -4715,8 +5155,8 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4715
5155
  passed: z.ZodNumber;
4716
5156
  total: z.ZodNumber;
4717
5157
  target: z.ZodOptional<z.ZodEnum<{
5158
+ "verifiable-context": "verifiable-context";
4718
5159
  "source-files": "source-files";
4719
- compiled: "compiled";
4720
5160
  }>>;
4721
5161
  checks_fingerprint: z.ZodOptional<z.ZodString>;
4722
5162
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -4727,7 +5167,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4727
5167
  timestamp: z.ZodString;
4728
5168
  type: z.ZodLiteral<"readiness.updated">;
4729
5169
  preparation: z.ZodString;
4730
- readiness: z.ZodObject<{
5170
+ readiness: z.ZodPreprocess<z.ZodObject<{
4731
5171
  kind: z.ZodLiteral<"interf-readiness-state">;
4732
5172
  version: z.ZodLiteral<1>;
4733
5173
  generated_at: z.ZodString;
@@ -4745,14 +5185,14 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4745
5185
  }>;
4746
5186
  ready: z.ZodBoolean;
4747
5187
  summary: z.ZodString;
4748
- portable_context_path: z.ZodNullable<z.ZodString>;
4749
- 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>>;
4750
5190
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4751
- compile: z.ZodNullable<z.ZodObject<{
5191
+ build: z.ZodNullable<z.ZodObject<{
4752
5192
  gate: z.ZodEnum<{
4753
- "portable-context": "portable-context";
5193
+ "verifiable-context": "verifiable-context";
4754
5194
  "preparation-config": "preparation-config";
4755
- "compile-run": "compile-run";
5195
+ "build-run": "build-run";
4756
5196
  "artifact-checks": "artifact-checks";
4757
5197
  "readiness-checks": "readiness-checks";
4758
5198
  "checks-current": "checks-current";
@@ -4786,7 +5226,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4786
5226
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4787
5227
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4788
5228
  }, z.core.$strict>>;
4789
- portable_context: z.ZodNullable<z.ZodObject<{
5229
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4790
5230
  passed: z.ZodNumber;
4791
5231
  total: z.ZodNumber;
4792
5232
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4798,9 +5238,9 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4798
5238
  }, z.core.$strict>;
4799
5239
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4800
5240
  gate: z.ZodEnum<{
4801
- "portable-context": "portable-context";
5241
+ "verifiable-context": "verifiable-context";
4802
5242
  "preparation-config": "preparation-config";
4803
- "compile-run": "compile-run";
5243
+ "build-run": "build-run";
4804
5244
  "artifact-checks": "artifact-checks";
4805
5245
  "readiness-checks": "readiness-checks";
4806
5246
  "checks-current": "checks-current";
@@ -4822,7 +5262,7 @@ export declare const VerifyRunListResponseSchema: z.ZodObject<{
4822
5262
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4823
5263
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4824
5264
  }, z.core.$strict>>>;
4825
- }, z.core.$strict>;
5265
+ }, z.core.$strict>>;
4826
5266
  }, z.core.$strict>], "type">>>;
4827
5267
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4828
5268
  }, z.core.$strict>>;
@@ -4833,11 +5273,11 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4833
5273
  version: z.ZodLiteral<1>;
4834
5274
  run_id: z.ZodString;
4835
5275
  run_type: z.ZodEnum<{
4836
- compile: "compile";
4837
- "method-authoring": "method-authoring";
4838
- "method-improvement": "method-improvement";
5276
+ build: "build";
5277
+ "build-plan-improvement": "build-plan-improvement";
4839
5278
  verify: "verify";
4840
5279
  "readiness-check-draft": "readiness-check-draft";
5280
+ "build-plan-draft": "build-plan-draft";
4841
5281
  job: "job";
4842
5282
  }>;
4843
5283
  title: z.ZodString;
@@ -4849,7 +5289,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4849
5289
  queued: "queued";
4850
5290
  }>;
4851
5291
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4852
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5292
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4853
5293
  source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4854
5294
  output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4855
5295
  executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4894,7 +5334,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4894
5334
  ok: z.ZodBoolean;
4895
5335
  detail: z.ZodOptional<z.ZodString>;
4896
5336
  }, z.core.$strict>>>;
4897
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5337
+ readiness: z.ZodOptional<z.ZodNullable<z.ZodPreprocess<z.ZodObject<{
4898
5338
  kind: z.ZodLiteral<"interf-readiness-state">;
4899
5339
  version: z.ZodLiteral<1>;
4900
5340
  generated_at: z.ZodString;
@@ -4912,14 +5352,14 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4912
5352
  }>;
4913
5353
  ready: z.ZodBoolean;
4914
5354
  summary: z.ZodString;
4915
- portable_context_path: z.ZodNullable<z.ZodString>;
4916
- 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>>;
4917
5357
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4918
- compile: z.ZodNullable<z.ZodObject<{
5358
+ build: z.ZodNullable<z.ZodObject<{
4919
5359
  gate: z.ZodEnum<{
4920
- "portable-context": "portable-context";
5360
+ "verifiable-context": "verifiable-context";
4921
5361
  "preparation-config": "preparation-config";
4922
- "compile-run": "compile-run";
5362
+ "build-run": "build-run";
4923
5363
  "artifact-checks": "artifact-checks";
4924
5364
  "readiness-checks": "readiness-checks";
4925
5365
  "checks-current": "checks-current";
@@ -4953,7 +5393,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4953
5393
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4954
5394
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4955
5395
  }, z.core.$strict>>;
4956
- portable_context: z.ZodNullable<z.ZodObject<{
5396
+ verifiable_context: z.ZodNullable<z.ZodObject<{
4957
5397
  passed: z.ZodNumber;
4958
5398
  total: z.ZodNumber;
4959
5399
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -4965,9 +5405,9 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4965
5405
  }, z.core.$strict>;
4966
5406
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4967
5407
  gate: z.ZodEnum<{
4968
- "portable-context": "portable-context";
5408
+ "verifiable-context": "verifiable-context";
4969
5409
  "preparation-config": "preparation-config";
4970
- "compile-run": "compile-run";
5410
+ "build-run": "build-run";
4971
5411
  "artifact-checks": "artifact-checks";
4972
5412
  "readiness-checks": "readiness-checks";
4973
5413
  "checks-current": "checks-current";
@@ -4989,7 +5429,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
4989
5429
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4990
5430
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4991
5431
  }, z.core.$strict>>>;
4992
- }, z.core.$strict>>>;
5432
+ }, z.core.$strict>>>>;
4993
5433
  trace: z.ZodObject<{
4994
5434
  run: z.ZodObject<{
4995
5435
  runId: z.ZodString;
@@ -5001,7 +5441,7 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
5001
5441
  cancelled: "cancelled";
5002
5442
  }>;
5003
5443
  deploymentId: z.ZodString;
5004
- methodName: z.ZodString;
5444
+ traceName: z.ZodString;
5005
5445
  specVersion: z.ZodLiteral<1>;
5006
5446
  executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5007
5447
  input: z.ZodUnknown;
@@ -5073,7 +5513,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5073
5513
  command_preview: z.ZodOptional<z.ZodString>;
5074
5514
  message: z.ZodString;
5075
5515
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5076
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5516
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5077
5517
  client_origin: z.ZodDefault<z.ZodEnum<{
5078
5518
  unknown: "unknown";
5079
5519
  "ui-chat": "ui-chat";
@@ -5096,7 +5536,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5096
5536
  }, z.core.$strict>>>;
5097
5537
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5098
5538
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5099
- "compile-run": "compile-run";
5539
+ "build-run": "build-run";
5100
5540
  "verify-run": "verify-run";
5101
5541
  "job-run": "job-run";
5102
5542
  }>>>;
@@ -5121,7 +5561,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5121
5561
  command_preview: z.ZodOptional<z.ZodString>;
5122
5562
  message: z.ZodString;
5123
5563
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5124
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5564
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5125
5565
  client_origin: z.ZodDefault<z.ZodEnum<{
5126
5566
  unknown: "unknown";
5127
5567
  "ui-chat": "ui-chat";
@@ -5144,15 +5584,15 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5144
5584
  }, z.core.$strict>>>;
5145
5585
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5146
5586
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5147
- "compile-run": "compile-run";
5587
+ "build-run": "build-run";
5148
5588
  "verify-run": "verify-run";
5149
5589
  "job-run": "job-run";
5150
5590
  }>>>;
5151
5591
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5152
- action_type: z.ZodLiteral<"compile">;
5592
+ action_type: z.ZodLiteral<"build">;
5153
5593
  request: z.ZodObject<{
5154
5594
  preparation: z.ZodString;
5155
- method: z.ZodOptional<z.ZodString>;
5595
+ build_plan: z.ZodOptional<z.ZodString>;
5156
5596
  max_attempts: z.ZodOptional<z.ZodNumber>;
5157
5597
  max_loops: z.ZodOptional<z.ZodNumber>;
5158
5598
  preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
@@ -5178,7 +5618,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5178
5618
  command_preview: z.ZodOptional<z.ZodString>;
5179
5619
  message: z.ZodString;
5180
5620
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5181
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5621
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5182
5622
  client_origin: z.ZodDefault<z.ZodEnum<{
5183
5623
  unknown: "unknown";
5184
5624
  "ui-chat": "ui-chat";
@@ -5201,7 +5641,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5201
5641
  }, z.core.$strict>>>;
5202
5642
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
5643
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5204
- "compile-run": "compile-run";
5644
+ "build-run": "build-run";
5205
5645
  "verify-run": "verify-run";
5206
5646
  "job-run": "job-run";
5207
5647
  }>>>;
@@ -5210,8 +5650,8 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5210
5650
  request: z.ZodObject<{
5211
5651
  preparation: z.ZodString;
5212
5652
  target: z.ZodDefault<z.ZodEnum<{
5653
+ "verifiable-context": "verifiable-context";
5213
5654
  "source-files": "source-files";
5214
- compiled: "compiled";
5215
5655
  }>>;
5216
5656
  }, z.core.$strict>;
5217
5657
  }, z.core.$strict>, z.ZodObject<{
@@ -5232,7 +5672,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5232
5672
  command_preview: z.ZodOptional<z.ZodString>;
5233
5673
  message: z.ZodString;
5234
5674
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5235
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5675
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5236
5676
  client_origin: z.ZodDefault<z.ZodEnum<{
5237
5677
  unknown: "unknown";
5238
5678
  "ui-chat": "ui-chat";
@@ -5255,7 +5695,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5255
5695
  }, z.core.$strict>>>;
5256
5696
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5257
5697
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5258
- "compile-run": "compile-run";
5698
+ "build-run": "build-run";
5259
5699
  "verify-run": "verify-run";
5260
5700
  "job-run": "job-run";
5261
5701
  }>>>;
@@ -5285,7 +5725,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5285
5725
  command_preview: z.ZodOptional<z.ZodString>;
5286
5726
  message: z.ZodString;
5287
5727
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5288
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5728
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5289
5729
  client_origin: z.ZodDefault<z.ZodEnum<{
5290
5730
  unknown: "unknown";
5291
5731
  "ui-chat": "ui-chat";
@@ -5308,18 +5748,18 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5308
5748
  }, z.core.$strict>>>;
5309
5749
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5310
5750
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5311
- "compile-run": "compile-run";
5751
+ "build-run": "build-run";
5312
5752
  "verify-run": "verify-run";
5313
5753
  "job-run": "job-run";
5314
5754
  }>>>;
5315
5755
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5316
- action_type: z.ZodLiteral<"method-authoring">;
5756
+ action_type: z.ZodLiteral<"build-plan-draft">;
5317
5757
  request: z.ZodObject<{
5318
5758
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5319
5759
  source_folder_path: z.ZodString;
5320
- base_method_id: z.ZodOptional<z.ZodString>;
5321
- reference_method_id: z.ZodOptional<z.ZodString>;
5322
- 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;
5323
5763
  label: z.ZodString;
5324
5764
  hint: z.ZodString;
5325
5765
  task_prompt: z.ZodString;
@@ -5435,7 +5875,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5435
5875
  command_preview: z.ZodOptional<z.ZodString>;
5436
5876
  message: z.ZodString;
5437
5877
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5438
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5878
+ build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5439
5879
  client_origin: z.ZodDefault<z.ZodEnum<{
5440
5880
  unknown: "unknown";
5441
5881
  "ui-chat": "ui-chat";
@@ -5458,18 +5898,18 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5458
5898
  }, z.core.$strict>>>;
5459
5899
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5460
5900
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5461
- "compile-run": "compile-run";
5901
+ "build-run": "build-run";
5462
5902
  "verify-run": "verify-run";
5463
5903
  "job-run": "job-run";
5464
5904
  }>>>;
5465
5905
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5466
- action_type: z.ZodLiteral<"method-improvement">;
5906
+ action_type: z.ZodLiteral<"build-plan-improvement">;
5467
5907
  request: z.ZodObject<{
5468
5908
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5469
5909
  source_folder_path: z.ZodString;
5470
- base_method_id: z.ZodOptional<z.ZodString>;
5471
- reference_method_id: z.ZodOptional<z.ZodString>;
5472
- 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;
5473
5913
  label: z.ZodString;
5474
5914
  hint: z.ZodString;
5475
5915
  task_prompt: z.ZodString;
@@ -5569,12 +6009,12 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
5569
6009
  }, z.core.$strict>;
5570
6010
  }, z.core.$strict>], "action_type">>;
5571
6011
  }, z.core.$strict>;
5572
- export declare const PortableContextListResponseSchema: z.ZodObject<{
5573
- portable_contexts: z.ZodArray<z.ZodObject<{
6012
+ export declare const VerifiableContextListResponseSchema: z.ZodObject<{
6013
+ verifiable_contexts: z.ZodArray<z.ZodObject<{
5574
6014
  preparation: z.ZodString;
5575
6015
  path: z.ZodString;
5576
6016
  exists: z.ZodBoolean;
5577
- readiness: z.ZodObject<{
6017
+ readiness: z.ZodPreprocess<z.ZodObject<{
5578
6018
  kind: z.ZodLiteral<"interf-readiness-state">;
5579
6019
  version: z.ZodLiteral<1>;
5580
6020
  generated_at: z.ZodString;
@@ -5592,14 +6032,14 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
5592
6032
  }>;
5593
6033
  ready: z.ZodBoolean;
5594
6034
  summary: z.ZodString;
5595
- portable_context_path: z.ZodNullable<z.ZodString>;
5596
- 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>>;
5597
6037
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5598
- compile: z.ZodNullable<z.ZodObject<{
6038
+ build: z.ZodNullable<z.ZodObject<{
5599
6039
  gate: z.ZodEnum<{
5600
- "portable-context": "portable-context";
6040
+ "verifiable-context": "verifiable-context";
5601
6041
  "preparation-config": "preparation-config";
5602
- "compile-run": "compile-run";
6042
+ "build-run": "build-run";
5603
6043
  "artifact-checks": "artifact-checks";
5604
6044
  "readiness-checks": "readiness-checks";
5605
6045
  "checks-current": "checks-current";
@@ -5633,7 +6073,7 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
5633
6073
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5634
6074
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5635
6075
  }, z.core.$strict>>;
5636
- portable_context: z.ZodNullable<z.ZodObject<{
6076
+ verifiable_context: z.ZodNullable<z.ZodObject<{
5637
6077
  passed: z.ZodNumber;
5638
6078
  total: z.ZodNumber;
5639
6079
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -5645,9 +6085,9 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
5645
6085
  }, z.core.$strict>;
5646
6086
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5647
6087
  gate: z.ZodEnum<{
5648
- "portable-context": "portable-context";
6088
+ "verifiable-context": "verifiable-context";
5649
6089
  "preparation-config": "preparation-config";
5650
- "compile-run": "compile-run";
6090
+ "build-run": "build-run";
5651
6091
  "artifact-checks": "artifact-checks";
5652
6092
  "readiness-checks": "readiness-checks";
5653
6093
  "checks-current": "checks-current";
@@ -5669,9 +6109,9 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
5669
6109
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5670
6110
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5671
6111
  }, z.core.$strict>>>;
5672
- }, z.core.$strict>;
5673
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5674
- 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>>;
5675
6115
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5676
6116
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5677
6117
  path: z.ZodString;
@@ -5689,7 +6129,7 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
5689
6129
  }, z.core.$strict>>;
5690
6130
  }, z.core.$strict>;
5691
6131
  export declare const ReadinessListResponseSchema: z.ZodObject<{
5692
- readiness: z.ZodArray<z.ZodObject<{
6132
+ readiness: z.ZodArray<z.ZodPreprocess<z.ZodObject<{
5693
6133
  kind: z.ZodLiteral<"interf-readiness-state">;
5694
6134
  version: z.ZodLiteral<1>;
5695
6135
  generated_at: z.ZodString;
@@ -5707,14 +6147,14 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5707
6147
  }>;
5708
6148
  ready: z.ZodBoolean;
5709
6149
  summary: z.ZodString;
5710
- portable_context_path: z.ZodNullable<z.ZodString>;
5711
- 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>>;
5712
6152
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5713
- compile: z.ZodNullable<z.ZodObject<{
6153
+ build: z.ZodNullable<z.ZodObject<{
5714
6154
  gate: z.ZodEnum<{
5715
- "portable-context": "portable-context";
6155
+ "verifiable-context": "verifiable-context";
5716
6156
  "preparation-config": "preparation-config";
5717
- "compile-run": "compile-run";
6157
+ "build-run": "build-run";
5718
6158
  "artifact-checks": "artifact-checks";
5719
6159
  "readiness-checks": "readiness-checks";
5720
6160
  "checks-current": "checks-current";
@@ -5748,7 +6188,7 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5748
6188
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5749
6189
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5750
6190
  }, z.core.$strict>>;
5751
- portable_context: z.ZodNullable<z.ZodObject<{
6191
+ verifiable_context: z.ZodNullable<z.ZodObject<{
5752
6192
  passed: z.ZodNumber;
5753
6193
  total: z.ZodNumber;
5754
6194
  pass_rate: z.ZodNullable<z.ZodNumber>;
@@ -5760,9 +6200,9 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5760
6200
  }, z.core.$strict>;
5761
6201
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5762
6202
  gate: z.ZodEnum<{
5763
- "portable-context": "portable-context";
6203
+ "verifiable-context": "verifiable-context";
5764
6204
  "preparation-config": "preparation-config";
5765
- "compile-run": "compile-run";
6205
+ "build-run": "build-run";
5766
6206
  "artifact-checks": "artifact-checks";
5767
6207
  "readiness-checks": "readiness-checks";
5768
6208
  "checks-current": "checks-current";
@@ -5784,7 +6224,7 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
5784
6224
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5785
6225
  artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5786
6226
  }, z.core.$strict>>>;
5787
- }, z.core.$strict>>;
6227
+ }, z.core.$strict>>>;
5788
6228
  }, z.core.$strict>;
5789
6229
  export declare const SourceFileListResponseSchema: z.ZodObject<{
5790
6230
  source_files: z.ZodArray<z.ZodObject<{
@@ -5796,28 +6236,18 @@ export declare const SourceFileListResponseSchema: z.ZodObject<{
5796
6236
  source_folder_path: z.ZodString;
5797
6237
  }, z.core.$strict>>;
5798
6238
  }, z.core.$strict>;
5799
- export declare const WorkspaceFileListResponseSchema: z.ZodObject<{
5800
- workspace_files: z.ZodArray<z.ZodObject<{
5801
- path: z.ZodString;
5802
- absolute_path: z.ZodString;
5803
- size_bytes: z.ZodNumber;
5804
- modified_at: z.ZodNullable<z.ZodString>;
5805
- }, z.core.$strict>>;
5806
- }, z.core.$strict>;
5807
6239
  export type LocalServiceConfig = z.infer<typeof LocalServiceConfigSchema>;
5808
6240
  export type LocalServiceError = z.infer<typeof LocalServiceErrorSchema>;
5809
6241
  export type LocalServiceHealth = z.infer<typeof LocalServiceHealthSchema>;
5810
- export type LocalServicePointer = z.infer<typeof LocalServicePointerSchema>;
5811
6242
  export type LocalServiceAuthToken = z.infer<typeof LocalServiceAuthTokenSchema>;
5812
- export type PortableContextMapping = z.infer<typeof PortableContextMappingSchema>;
6243
+ export type VerifiableContextMapping = z.infer<typeof VerifiableContextMappingSchema>;
5813
6244
  export type PreparationRunLinkage = z.infer<typeof PreparationRunLinkageSchema>;
5814
6245
  export type PreparationResource = z.infer<typeof PreparationResourceSchema>;
5815
- export type MethodResource = z.infer<typeof MethodResourceSchema>;
6246
+ export type BuildPlanResource = z.infer<typeof BuildPlanResourceSchema>;
5816
6247
  export type SourceFileResource = z.infer<typeof SourceFileResourceSchema>;
5817
- export type WorkspaceFileResource = z.infer<typeof WorkspaceFileResourceSchema>;
5818
- export type CompileRunCreateRequest = z.infer<typeof CompileRunCreateRequestSchema>;
5819
- export type CompileRunSummary = z.infer<typeof CompileRunSummarySchema>;
5820
- 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>;
5821
6251
  export type LocalJobType = z.infer<typeof LocalJobTypeSchema>;
5822
6252
  export type LocalJobStatus = z.infer<typeof LocalJobStatusSchema>;
5823
6253
  export type LocalRunHandlerResult = z.infer<typeof LocalRunHandlerResultSchema>;
@@ -5828,17 +6258,17 @@ export type LocalJobEvent = z.infer<typeof LocalJobEventSchema>;
5828
6258
  export type LocalJobRunCreateRequest = z.infer<typeof LocalJobRunCreateRequestSchema>;
5829
6259
  export type PreparationSetupCreateRequest = z.infer<typeof PreparationSetupCreateRequestSchema>;
5830
6260
  export type PreparationSetupResult = z.infer<typeof PreparationSetupResultSchema>;
5831
- export type MethodChangeCreateRequest = z.infer<typeof MethodChangeCreateRequestSchema>;
5832
- export type MethodChangeResult = z.infer<typeof MethodChangeResultSchema>;
6261
+ export type BuildPlanChangeCreateRequest = z.infer<typeof BuildPlanChangeCreateRequestSchema>;
6262
+ export type BuildPlanChangeResult = z.infer<typeof BuildPlanChangeResultSchema>;
5833
6263
  export type PreparationChangeCreateRequest = z.infer<typeof PreparationChangeCreateRequestSchema>;
5834
6264
  export type PreparationChangeResult = z.infer<typeof PreparationChangeResultSchema>;
5835
6265
  export type ResetRequest = z.infer<typeof ResetRequestSchema>;
5836
6266
  export type ResetResult = z.infer<typeof ResetResultSchema>;
5837
6267
  export type ReadinessCheckDraftCreateRequest = z.infer<typeof ReadinessCheckDraftCreateRequestSchema>;
5838
6268
  export type ReadinessCheckDraftResult = z.infer<typeof ReadinessCheckDraftResultSchema>;
5839
- export type MethodAuthoringArtifactRequirement = z.infer<typeof MethodAuthoringArtifactRequirementSchema>;
5840
- export type MethodAuthoringCreateRequest = z.infer<typeof MethodAuthoringCreateRequestSchema>;
5841
- 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>;
5842
6272
  export type LocalJobEventAppendRequest = z.infer<typeof LocalJobEventAppendRequestSchema>;
5843
6273
  export type LocalJobRunResource = z.infer<typeof LocalJobRunResourceSchema>;
5844
6274
  export type VerifyRunStatus = z.infer<typeof VerifyRunStatusSchema>;
@@ -5855,22 +6285,20 @@ export type ActionProposalPlan = z.infer<typeof ActionProposalPlanSchema>;
5855
6285
  export type ActionProposalApprovalRequest = z.infer<typeof ActionProposalApprovalRequestSchema>;
5856
6286
  export type ActionProposalApproval = z.infer<typeof ActionProposalApprovalSchema>;
5857
6287
  export type ActionProposalResource = z.infer<typeof ActionProposalResourceSchema>;
5858
- export type PortableContextResource = z.infer<typeof PortableContextResourceSchema>;
6288
+ export type VerifiableContextResource = z.infer<typeof VerifiableContextResourceSchema>;
5859
6289
  export type ReadinessResource = z.infer<typeof ReadinessResourceSchema>;
5860
6290
  export type OpenPathRequest = z.infer<typeof OpenPathRequestSchema>;
5861
6291
  export type OpenPathResponse = z.infer<typeof OpenPathResponseSchema>;
5862
6292
  export type LocalServiceDiscovery = z.infer<typeof LocalServiceDiscoverySchema>;
5863
6293
  export type PreparationListResponse = z.infer<typeof PreparationListResponseSchema>;
5864
- export type MethodListResponse = z.infer<typeof MethodListResponseSchema>;
5865
- export type CompileRunListResponse = z.infer<typeof CompileRunListResponseSchema>;
6294
+ export type BuildPlanListResponse = z.infer<typeof BuildPlanListResponseSchema>;
6295
+ export type BuildRunListResponse = z.infer<typeof BuildRunListResponseSchema>;
5866
6296
  export type LocalJobRunListResponse = z.infer<typeof LocalJobRunListResponseSchema>;
5867
6297
  export type VerifyRunListResponse = z.infer<typeof VerifyRunListResponseSchema>;
5868
6298
  export type RunObservabilityListResponse = z.infer<typeof RunObservabilityListResponseSchema>;
5869
6299
  export type ActionProposalListResponse = z.infer<typeof ActionProposalListResponseSchema>;
5870
- export type PortableContextListResponse = z.infer<typeof PortableContextListResponseSchema>;
6300
+ export type VerifiableContextListResponse = z.infer<typeof VerifiableContextListResponseSchema>;
5871
6301
  export type ReadinessListResponse = z.infer<typeof ReadinessListResponseSchema>;
5872
6302
  export type SourceFileListResponse = z.infer<typeof SourceFileListResponseSchema>;
5873
- export type WorkspaceFileListResponse = z.infer<typeof WorkspaceFileListResponseSchema>;
5874
- export type ServiceRegistryWorkspace = z.infer<typeof ServiceRegistryWorkspaceSchema>;
5875
6303
  export type ServiceRegistryEntry = z.infer<typeof ServiceRegistryEntrySchema>;
5876
6304
  export type ServiceRegistry = z.infer<typeof ServiceRegistrySchema>;