@interf/compiler 0.9.5 → 0.16.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 (365) hide show
  1. package/README.md +135 -91
  2. package/TRADEMARKS.md +2 -13
  3. package/agent-skills/interf-actions/SKILL.md +143 -38
  4. package/agent-skills/interf-actions/references/cli.md +134 -67
  5. package/builtin-methods/interf-default/README.md +3 -4
  6. package/builtin-methods/interf-default/compile/stages/shape/SKILL.md +2 -2
  7. package/builtin-methods/interf-default/compile/stages/summarize/SKILL.md +2 -1
  8. package/builtin-methods/interf-default/improve/SKILL.md +1 -1
  9. package/builtin-methods/interf-default/method.json +10 -4
  10. package/builtin-methods/interf-default/method.schema.json +0 -9
  11. package/builtin-methods/interf-default/use/query/SKILL.md +5 -5
  12. package/dist/cli/commands/agents.d.ts +2 -0
  13. package/dist/cli/commands/agents.js +213 -0
  14. package/dist/cli/commands/compile.d.ts +8 -25
  15. package/dist/cli/commands/compile.js +83 -359
  16. package/dist/cli/commands/doctor.js +2 -2
  17. package/dist/cli/commands/login.d.ts +7 -0
  18. package/dist/cli/commands/login.js +39 -0
  19. package/dist/cli/commands/logout.d.ts +2 -0
  20. package/dist/cli/commands/logout.js +16 -0
  21. package/dist/cli/commands/mcp.d.ts +42 -0
  22. package/dist/cli/commands/mcp.js +239 -0
  23. package/dist/cli/commands/method.d.ts +2 -0
  24. package/dist/cli/commands/method.js +113 -0
  25. package/dist/cli/commands/prep.d.ts +2 -0
  26. package/dist/cli/commands/prep.js +152 -0
  27. package/dist/cli/commands/reset.d.ts +8 -1
  28. package/dist/cli/commands/reset.js +47 -26
  29. package/dist/cli/commands/runs.d.ts +2 -0
  30. package/dist/cli/commands/runs.js +120 -0
  31. package/dist/cli/commands/status.d.ts +6 -1
  32. package/dist/cli/commands/status.js +68 -111
  33. package/dist/cli/commands/verify.d.ts +7 -1
  34. package/dist/cli/commands/verify.js +69 -85
  35. package/dist/cli/commands/web.d.ts +0 -9
  36. package/dist/cli/commands/web.js +201 -121
  37. package/dist/cli/commands/wizard.d.ts +9 -0
  38. package/dist/cli/commands/wizard.js +689 -0
  39. package/dist/cli/index.d.ts +10 -7
  40. package/dist/cli/index.js +19 -12
  41. package/dist/compiler-ui/404.html +1 -1
  42. package/dist/compiler-ui/__next.__PAGE__.txt +2 -2
  43. package/dist/compiler-ui/__next._full.txt +3 -3
  44. package/dist/compiler-ui/__next._head.txt +1 -1
  45. package/dist/compiler-ui/__next._index.txt +2 -2
  46. package/dist/compiler-ui/__next._tree.txt +2 -2
  47. package/dist/compiler-ui/_next/static/chunks/{177mvn4rse235.js → 0jipmpez3_ehh.js} +16 -16
  48. package/dist/compiler-ui/_next/static/chunks/{18a8f2jkv3z.c.css → 13awzu4tooflw.css} +1 -1
  49. package/dist/compiler-ui/_not-found/__next._full.txt +2 -2
  50. package/dist/compiler-ui/_not-found/__next._head.txt +1 -1
  51. package/dist/compiler-ui/_not-found/__next._index.txt +2 -2
  52. package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
  53. package/dist/compiler-ui/_not-found/__next._not-found.txt +1 -1
  54. package/dist/compiler-ui/_not-found/__next._tree.txt +2 -2
  55. package/dist/compiler-ui/_not-found.html +1 -1
  56. package/dist/compiler-ui/_not-found.txt +2 -2
  57. package/dist/compiler-ui/index.html +1 -1
  58. package/dist/compiler-ui/index.txt +3 -3
  59. package/dist/index.d.ts +2 -2
  60. package/dist/index.js +2 -2
  61. package/dist/packages/contracts/index.d.ts +2 -1
  62. package/dist/packages/contracts/index.js +1 -0
  63. package/dist/packages/contracts/lib/preparation-paths.d.ts +117 -0
  64. package/dist/packages/contracts/lib/preparation-paths.js +177 -0
  65. package/dist/packages/contracts/lib/schema.d.ts +187 -13
  66. package/dist/packages/contracts/lib/schema.js +148 -3
  67. package/dist/packages/contracts/utils/filesystem.d.ts +9 -0
  68. package/dist/packages/contracts/utils/filesystem.js +142 -0
  69. package/dist/packages/{local-service → engine}/action-definitions.d.ts +14 -14
  70. package/dist/packages/{local-service → engine}/action-definitions.js +35 -29
  71. package/dist/packages/{local-service → engine}/action-planner.d.ts +1 -1
  72. package/dist/packages/{local-service → engine}/action-planner.js +3 -2
  73. package/dist/packages/{agents → engine/agents}/index.d.ts +3 -0
  74. package/dist/packages/{agents → engine/agents}/index.js +3 -0
  75. package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.js +2 -2
  76. package/dist/packages/engine/agents/lib/detection.d.ts +13 -0
  77. package/dist/packages/{agents → engine/agents}/lib/detection.js +11 -0
  78. package/dist/packages/{agents → engine/agents}/lib/executors.d.ts +2 -2
  79. package/dist/packages/{agents → engine/agents}/lib/shells.d.ts +5 -5
  80. package/dist/packages/{agents → engine/agents}/lib/shells.js +117 -58
  81. package/dist/packages/{agents → engine/agents}/lib/user-config.d.ts +4 -2
  82. package/dist/packages/engine/agents/lib/user-config.js +24 -0
  83. package/dist/packages/engine/agents/registry.d.ts +91 -0
  84. package/dist/packages/engine/agents/registry.js +321 -0
  85. package/dist/packages/engine/agents/role-executors.d.ts +35 -0
  86. package/dist/packages/engine/agents/role-executors.js +88 -0
  87. package/dist/packages/engine/agents/role-router.d.ts +66 -0
  88. package/dist/packages/engine/agents/role-router.js +73 -0
  89. package/dist/packages/{local-service → engine}/client.d.ts +59 -60
  90. package/dist/packages/{local-service → engine}/client.js +137 -145
  91. package/dist/packages/{compiler → engine/compile}/artifact-counts.js +1 -1
  92. package/dist/packages/{compiler → engine/compile}/compiled-paths.d.ts +9 -2
  93. package/dist/packages/{compiler → engine/compile}/compiled-paths.js +30 -15
  94. package/dist/packages/{compiler → engine/compile}/compiled-pipeline.d.ts +12 -1
  95. package/dist/packages/{compiler → engine/compile}/compiled-pipeline.js +39 -9
  96. package/dist/packages/{compiler → engine/compile}/compiled-schema.d.ts +2 -2
  97. package/dist/packages/{compiler → engine/compile}/compiled-schema.js +4 -4
  98. package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.d.ts +1 -1
  99. package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.js +8 -4
  100. package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.d.ts +1 -1
  101. package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.js +3 -3
  102. package/dist/packages/{compiler → engine/compile}/compiled-target.d.ts +3 -3
  103. package/dist/packages/{compiler → engine/compile}/compiled-target.js +3 -3
  104. package/dist/packages/{compiler → engine/compile}/discovery.js +1 -1
  105. package/dist/packages/{compiler → engine/compile}/index.d.ts +1 -0
  106. package/dist/packages/{compiler → engine/compile}/index.js +1 -0
  107. package/dist/packages/{compiler → engine/compile}/lib/schema.d.ts +26 -31
  108. package/dist/packages/{compiler → engine/compile}/lib/schema.js +2 -13
  109. package/dist/packages/engine/compile/method-runs.d.ts +14 -0
  110. package/dist/packages/{compiler → engine/compile}/method-runs.js +5 -6
  111. package/dist/packages/{compiler → engine/compile}/reset.js +3 -1
  112. package/dist/packages/{compiler → engine/compile}/runtime-acceptance.js +17 -14
  113. package/dist/packages/{compiler → engine/compile}/runtime-contracts.js +0 -3
  114. package/dist/packages/{compiler → engine/compile}/runtime-prompt.js +1 -1
  115. package/dist/packages/{compiler → engine/compile}/runtime-reconcile.d.ts +1 -1
  116. package/dist/packages/{compiler → engine/compile}/runtime-reconcile.js +12 -10
  117. package/dist/packages/{compiler → engine/compile}/runtime-runs.d.ts +1 -2
  118. package/dist/packages/{compiler → engine/compile}/runtime-runs.js +3 -43
  119. package/dist/packages/{compiler → engine/compile}/runtime-types.d.ts +1 -5
  120. package/dist/packages/{compiler → engine/compile}/runtime.d.ts +2 -2
  121. package/dist/packages/{compiler → engine/compile}/runtime.js +1 -1
  122. package/dist/packages/engine/compile/source-files.d.ts +46 -0
  123. package/dist/packages/engine/compile/source-files.js +149 -0
  124. package/dist/packages/engine/compile/state-artifacts.d.ts +9 -0
  125. package/dist/packages/{compiler → engine/compile}/state-artifacts.js +4 -3
  126. package/dist/packages/{compiler → engine/compile}/state-health.js +2 -2
  127. package/dist/packages/{compiler → engine/compile}/state-io.d.ts +3 -2
  128. package/dist/packages/{compiler → engine/compile}/state-io.js +13 -7
  129. package/dist/packages/{compiler → engine/compile}/state-paths.d.ts +2 -1
  130. package/dist/packages/engine/compile/state-paths.js +16 -0
  131. package/dist/packages/engine/compile/state-view.d.ts +5 -0
  132. package/dist/packages/{compiler → engine/compile}/state-view.js +20 -30
  133. package/dist/packages/engine/compile/state.d.ts +7 -0
  134. package/dist/packages/{compiler → engine/compile}/state.js +3 -3
  135. package/dist/packages/{compiler → engine/compile}/validate-compiled.js +2 -2
  136. package/dist/packages/{compiler → engine/compile}/validate.d.ts +1 -1
  137. package/dist/packages/{compiler → engine/compile}/validate.js +3 -3
  138. package/dist/packages/engine/connection-config.d.ts +38 -0
  139. package/dist/packages/engine/connection-config.js +75 -0
  140. package/dist/packages/{execution → engine/execution}/lib/schema.d.ts +52 -72
  141. package/dist/packages/{execution → engine/execution}/lib/schema.js +3 -3
  142. package/dist/packages/engine/index.d.ts +22 -0
  143. package/dist/packages/engine/index.js +15 -0
  144. package/dist/packages/engine/instance-paths.d.ts +100 -0
  145. package/dist/packages/engine/instance-paths.js +165 -0
  146. package/dist/packages/{local-service → engine}/lib/schema.d.ts +392 -2408
  147. package/dist/packages/{local-service → engine}/lib/schema.js +164 -76
  148. package/dist/packages/{local-service → engine}/native-run-handlers.d.ts +7 -5
  149. package/dist/packages/{local-service → engine}/native-run-handlers.js +71 -27
  150. package/dist/packages/engine/preparation-store.d.ts +104 -0
  151. package/dist/packages/engine/preparation-store.js +194 -0
  152. package/dist/packages/{local-service → engine}/readiness-check-draft.d.ts +2 -2
  153. package/dist/packages/engine/routes.d.ts +78 -0
  154. package/dist/packages/engine/routes.js +92 -0
  155. package/dist/packages/{local-service → engine}/run-observability.d.ts +3 -3
  156. package/dist/packages/{local-service → engine}/run-observability.js +25 -24
  157. package/dist/packages/engine/runtime-caches.d.ts +76 -0
  158. package/dist/packages/engine/runtime-caches.js +191 -0
  159. package/dist/packages/engine/runtime-event-applier.d.ts +12 -0
  160. package/dist/packages/engine/runtime-event-applier.js +177 -0
  161. package/dist/packages/engine/runtime-persistence.d.ts +47 -0
  162. package/dist/packages/engine/runtime-persistence.js +137 -0
  163. package/dist/packages/engine/runtime-proposal-helpers.d.ts +35 -0
  164. package/dist/packages/engine/runtime-proposal-helpers.js +251 -0
  165. package/dist/packages/engine/runtime-resource-builders.d.ts +52 -0
  166. package/dist/packages/engine/runtime-resource-builders.js +149 -0
  167. package/dist/packages/engine/runtime.d.ts +318 -0
  168. package/dist/packages/{local-service → engine}/runtime.js +835 -1011
  169. package/dist/packages/{local-service → engine}/server.d.ts +15 -0
  170. package/dist/packages/engine/server.js +1257 -0
  171. package/dist/packages/engine/service-registry.d.ts +47 -0
  172. package/dist/packages/engine/service-registry.js +137 -0
  173. package/dist/packages/{testing → engine/verify}/lib/schema.d.ts +11 -11
  174. package/dist/packages/{testing → engine/verify}/lib/schema.js +3 -3
  175. package/dist/packages/{testing → engine/verify}/readiness-check-run.d.ts +9 -16
  176. package/dist/packages/{testing → engine/verify}/readiness-check-run.js +38 -94
  177. package/dist/packages/{testing → engine/verify}/test-execution.js +6 -6
  178. package/dist/packages/{testing → engine/verify}/test-paths.js +5 -4
  179. package/dist/packages/{testing → engine/verify}/test-sandbox.d.ts +0 -1
  180. package/dist/packages/{testing → engine/verify}/test-sandbox.js +17 -33
  181. package/dist/packages/{testing → engine/verify}/test-specs.js +1 -1
  182. package/dist/packages/{testing → engine/verify}/test-targets.d.ts +1 -1
  183. package/dist/packages/{testing → engine/verify}/test-targets.js +9 -9
  184. package/dist/packages/{testing → engine/verify}/test.d.ts +1 -1
  185. package/dist/packages/{testing → engine/verify}/test.js +1 -1
  186. package/dist/packages/{method-authoring → methods/authoring}/method-authoring.d.ts +12 -4
  187. package/dist/packages/{method-authoring → methods/authoring}/method-authoring.js +70 -7
  188. package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.d.ts +2 -2
  189. package/dist/packages/{method-authoring → methods/authoring}/method-improvement.d.ts +4 -4
  190. package/dist/packages/{method-authoring → methods/authoring}/method-improvement.js +16 -10
  191. package/dist/packages/{method-package → methods/package}/builtin-compiled-method.d.ts +4 -5
  192. package/dist/packages/{method-package → methods/package}/builtin-compiled-method.js +10 -16
  193. package/dist/packages/{method-package → methods/package}/context-interface.d.ts +5 -41
  194. package/dist/packages/{method-package → methods/package}/context-interface.js +3 -25
  195. package/dist/packages/{method-package → methods/package}/interf-method-package.d.ts +4 -4
  196. package/dist/packages/{method-package → methods/package}/interf-method-package.js +24 -35
  197. package/dist/packages/{method-package → methods/package}/lib/package-root.js +2 -2
  198. package/dist/packages/{method-package → methods/package}/local-methods.d.ts +18 -8
  199. package/dist/packages/{method-package → methods/package}/local-methods.js +64 -45
  200. package/dist/packages/{method-package → methods/package}/method-definitions.d.ts +16 -36
  201. package/dist/packages/{method-package → methods/package}/method-definitions.js +53 -40
  202. package/dist/packages/{method-package → methods/package}/method-helpers.d.ts +2 -14
  203. package/dist/packages/{method-package → methods/package}/method-helpers.js +12 -46
  204. package/dist/packages/{method-package → methods/package}/method-review-paths.d.ts +1 -1
  205. package/dist/packages/{method-package → methods/package}/method-review-paths.js +1 -1
  206. package/dist/packages/{method-package → methods/package}/method-stage-runner.d.ts +4 -9
  207. package/dist/packages/{method-package → methods/package}/method-stage-runner.js +3 -31
  208. package/dist/packages/methods/package/user-methods.d.ts +17 -0
  209. package/dist/packages/methods/package/user-methods.js +77 -0
  210. package/dist/packages/{project-model → project}/index.d.ts +0 -1
  211. package/dist/packages/{project-model → project}/index.js +0 -1
  212. package/dist/packages/{project-model → project}/interf-bootstrap.d.ts +1 -1
  213. package/dist/packages/{project-model → project}/interf-bootstrap.js +1 -1
  214. package/dist/packages/{project-model → project}/interf-detect.d.ts +8 -3
  215. package/dist/packages/{project-model → project}/interf-detect.js +38 -38
  216. package/dist/packages/project/interf-scaffold.d.ts +3 -0
  217. package/dist/packages/{project-model → project}/interf-scaffold.js +30 -39
  218. package/dist/packages/{project-model → project}/lib/schema.d.ts +2 -2
  219. package/dist/packages/{project-model → project}/lib/schema.js +39 -2
  220. package/dist/packages/project/preparation-entries.d.ts +11 -0
  221. package/dist/packages/{project-model → project}/preparation-entries.js +14 -14
  222. package/dist/packages/{project-model → project}/source-config.d.ts +12 -12
  223. package/dist/packages/{project-model → project}/source-config.js +81 -53
  224. package/dist/packages/{project-model → project}/source-folders.d.ts +5 -5
  225. package/dist/packages/{project-model → project}/source-folders.js +16 -16
  226. package/package.json +8 -8
  227. package/CHANGELOG.md +0 -93
  228. package/LICENSE +0 -183
  229. package/dist/cli/commands/action-input-cli.d.ts +0 -25
  230. package/dist/cli/commands/action-input-cli.js +0 -73
  231. package/dist/cli/commands/control-path.d.ts +0 -11
  232. package/dist/cli/commands/control-path.js +0 -72
  233. package/dist/cli/commands/create-method-wizard.d.ts +0 -64
  234. package/dist/cli/commands/create-method-wizard.js +0 -434
  235. package/dist/cli/commands/create.d.ts +0 -6
  236. package/dist/cli/commands/create.js +0 -183
  237. package/dist/cli/commands/default.d.ts +0 -2
  238. package/dist/cli/commands/default.js +0 -39
  239. package/dist/cli/commands/executor-flow.d.ts +0 -29
  240. package/dist/cli/commands/executor-flow.js +0 -163
  241. package/dist/cli/commands/init.d.ts +0 -26
  242. package/dist/cli/commands/init.js +0 -771
  243. package/dist/cli/commands/list.d.ts +0 -2
  244. package/dist/cli/commands/list.js +0 -30
  245. package/dist/cli/commands/preparation-action.d.ts +0 -8
  246. package/dist/cli/commands/preparation-action.js +0 -29
  247. package/dist/cli/commands/preparation-picker.d.ts +0 -5
  248. package/dist/cli/commands/preparation-picker.js +0 -36
  249. package/dist/cli/commands/preparation-selection.d.ts +0 -6
  250. package/dist/cli/commands/preparation-selection.js +0 -11
  251. package/dist/cli/commands/service-action-flow.d.ts +0 -9
  252. package/dist/cli/commands/service-action-flow.js +0 -19
  253. package/dist/cli/commands/source-config-wizard.d.ts +0 -51
  254. package/dist/cli/commands/source-config-wizard.js +0 -670
  255. package/dist/cli/commands/test.d.ts +0 -17
  256. package/dist/cli/commands/test.js +0 -188
  257. package/dist/packages/agents/lib/detection.d.ts +0 -7
  258. package/dist/packages/agents/lib/user-config.js +0 -16
  259. package/dist/packages/compiler/method-runs.d.ts +0 -15
  260. package/dist/packages/compiler/raw-snapshot.d.ts +0 -49
  261. package/dist/packages/compiler/raw-snapshot.js +0 -101
  262. package/dist/packages/compiler/state-artifacts.d.ts +0 -8
  263. package/dist/packages/compiler/state-paths.js +0 -13
  264. package/dist/packages/compiler/state-view.d.ts +0 -4
  265. package/dist/packages/compiler/state.d.ts +0 -7
  266. package/dist/packages/local-service/index.d.ts +0 -18
  267. package/dist/packages/local-service/index.js +0 -13
  268. package/dist/packages/local-service/routes.d.ts +0 -32
  269. package/dist/packages/local-service/routes.js +0 -37
  270. package/dist/packages/local-service/runtime.d.ts +0 -133
  271. package/dist/packages/local-service/server.js +0 -627
  272. package/dist/packages/method-package/index.d.ts +0 -11
  273. package/dist/packages/method-package/index.js +0 -11
  274. package/dist/packages/method-package/method-stage-policy.d.ts +0 -5
  275. package/dist/packages/method-package/method-stage-policy.js +0 -31
  276. package/dist/packages/project-model/interf-scaffold.d.ts +0 -3
  277. package/dist/packages/project-model/preparation-entries.d.ts +0 -11
  278. package/dist/packages/project-model/project-paths.d.ts +0 -12
  279. package/dist/packages/project-model/project-paths.js +0 -33
  280. package/dist/packages/shared/filesystem.d.ts +0 -2
  281. package/dist/packages/shared/filesystem.js +0 -55
  282. /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → a3UiUF0DiMEbfWy_0gihg}/_buildManifest.js +0 -0
  283. /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → a3UiUF0DiMEbfWy_0gihg}/_clientMiddlewareManifest.js +0 -0
  284. /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → a3UiUF0DiMEbfWy_0gihg}/_ssgManifest.js +0 -0
  285. /package/dist/packages/{shared → contracts/utils}/file-types.d.ts +0 -0
  286. /package/dist/packages/{shared → contracts/utils}/file-types.js +0 -0
  287. /package/dist/packages/{shared → contracts/utils}/logger.d.ts +0 -0
  288. /package/dist/packages/{shared → contracts/utils}/logger.js +0 -0
  289. /package/dist/packages/{shared → contracts/utils}/naming.d.ts +0 -0
  290. /package/dist/packages/{shared → contracts/utils}/naming.js +0 -0
  291. /package/dist/packages/{shared → contracts/utils}/parse.d.ts +0 -0
  292. /package/dist/packages/{shared → contracts/utils}/parse.js +0 -0
  293. /package/dist/packages/{shared → contracts/utils}/path-guards.d.ts +0 -0
  294. /package/dist/packages/{shared → contracts/utils}/path-guards.js +0 -0
  295. /package/dist/packages/{local-service → engine}/action-values.d.ts +0 -0
  296. /package/dist/packages/{local-service → engine}/action-values.js +0 -0
  297. /package/dist/packages/{agents → engine/agents}/lib/agents.d.ts +0 -0
  298. /package/dist/packages/{agents → engine/agents}/lib/agents.js +0 -0
  299. /package/dist/packages/{agents → engine/agents}/lib/args.d.ts +0 -0
  300. /package/dist/packages/{agents → engine/agents}/lib/args.js +0 -0
  301. /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.d.ts +0 -0
  302. /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.js +0 -0
  303. /package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.d.ts +0 -0
  304. /package/dist/packages/{agents → engine/agents}/lib/constants.d.ts +0 -0
  305. /package/dist/packages/{agents → engine/agents}/lib/constants.js +0 -0
  306. /package/dist/packages/{agents → engine/agents}/lib/execution-profile.d.ts +0 -0
  307. /package/dist/packages/{agents → engine/agents}/lib/execution-profile.js +0 -0
  308. /package/dist/packages/{agents → engine/agents}/lib/execution.d.ts +0 -0
  309. /package/dist/packages/{agents → engine/agents}/lib/execution.js +0 -0
  310. /package/dist/packages/{agents → engine/agents}/lib/executors.js +0 -0
  311. /package/dist/packages/{agents → engine/agents}/lib/logs.d.ts +0 -0
  312. /package/dist/packages/{agents → engine/agents}/lib/logs.js +0 -0
  313. /package/dist/packages/{agents → engine/agents}/lib/preflight.d.ts +0 -0
  314. /package/dist/packages/{agents → engine/agents}/lib/preflight.js +0 -0
  315. /package/dist/packages/{agents → engine/agents}/lib/render.d.ts +0 -0
  316. /package/dist/packages/{agents → engine/agents}/lib/render.js +0 -0
  317. /package/dist/packages/{agents → engine/agents}/lib/schema.d.ts +0 -0
  318. /package/dist/packages/{agents → engine/agents}/lib/schema.js +0 -0
  319. /package/dist/packages/{agents → engine/agents}/lib/status.d.ts +0 -0
  320. /package/dist/packages/{agents → engine/agents}/lib/status.js +0 -0
  321. /package/dist/packages/{agents → engine/agents}/lib/types.d.ts +0 -0
  322. /package/dist/packages/{agents → engine/agents}/lib/types.js +0 -0
  323. /package/dist/packages/{compiler → engine/compile}/artifact-counts.d.ts +0 -0
  324. /package/dist/packages/{compiler → engine/compile}/compiled-compile.d.ts +0 -0
  325. /package/dist/packages/{compiler → engine/compile}/compiled-compile.js +0 -0
  326. /package/dist/packages/{compiler → engine/compile}/discovery.d.ts +0 -0
  327. /package/dist/packages/{compiler → engine/compile}/method-primitives.d.ts +0 -0
  328. /package/dist/packages/{compiler → engine/compile}/method-primitives.js +0 -0
  329. /package/dist/packages/{compiler → engine/compile}/reset.d.ts +0 -0
  330. /package/dist/packages/{compiler → engine/compile}/runtime-acceptance.d.ts +0 -0
  331. /package/dist/packages/{compiler → engine/compile}/runtime-contracts.d.ts +0 -0
  332. /package/dist/packages/{compiler → engine/compile}/runtime-inventory.d.ts +0 -0
  333. /package/dist/packages/{compiler → engine/compile}/runtime-inventory.js +0 -0
  334. /package/dist/packages/{compiler → engine/compile}/runtime-paths.d.ts +0 -0
  335. /package/dist/packages/{compiler → engine/compile}/runtime-paths.js +0 -0
  336. /package/dist/packages/{compiler → engine/compile}/runtime-prompt.d.ts +0 -0
  337. /package/dist/packages/{compiler → engine/compile}/runtime-types.js +0 -0
  338. /package/dist/packages/{compiler → engine/compile}/state-health.d.ts +0 -0
  339. /package/dist/packages/{compiler → engine/compile}/validate-compiled.d.ts +0 -0
  340. /package/dist/packages/{compiler → engine/compile}/validate-helpers.d.ts +0 -0
  341. /package/dist/packages/{compiler → engine/compile}/validate-helpers.js +0 -0
  342. /package/dist/packages/{execution → engine/execution}/adapters.d.ts +0 -0
  343. /package/dist/packages/{execution → engine/execution}/adapters.js +0 -0
  344. /package/dist/packages/{execution → engine/execution}/events.d.ts +0 -0
  345. /package/dist/packages/{execution → engine/execution}/events.js +0 -0
  346. /package/dist/packages/{execution → engine/execution}/index.d.ts +0 -0
  347. /package/dist/packages/{execution → engine/execution}/index.js +0 -0
  348. /package/dist/packages/{local-service → engine}/readiness-check-draft.js +0 -0
  349. /package/dist/packages/{testing → engine/verify}/index.d.ts +0 -0
  350. /package/dist/packages/{testing → engine/verify}/index.js +0 -0
  351. /package/dist/packages/{testing → engine/verify}/test-execution.d.ts +0 -0
  352. /package/dist/packages/{testing → engine/verify}/test-paths.d.ts +0 -0
  353. /package/dist/packages/{testing → engine/verify}/test-profile-presets.d.ts +0 -0
  354. /package/dist/packages/{testing → engine/verify}/test-profile-presets.js +0 -0
  355. /package/dist/packages/{testing → engine/verify}/test-specs.d.ts +0 -0
  356. /package/dist/packages/{testing → engine/verify}/test-types.d.ts +0 -0
  357. /package/dist/packages/{testing → engine/verify}/test-types.js +0 -0
  358. /package/dist/packages/{method-authoring → methods/authoring}/index.d.ts +0 -0
  359. /package/dist/packages/{method-authoring → methods/authoring}/index.js +0 -0
  360. /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.d.ts +0 -0
  361. /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.js +0 -0
  362. /package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.js +0 -0
  363. /package/dist/packages/{method-package → methods/package}/lib/package-root.d.ts +0 -0
  364. /package/dist/packages/{project-model → project}/interf.d.ts +0 -0
  365. /package/dist/packages/{project-model → project}/interf.js +0 -0
@@ -1,10 +1,150 @@
1
1
  import { z } from "zod";
2
+ /** Source binding shape on the API (only `local-folder` ships in 0.13). */
3
+ export declare const SourceBindingSchema: z.ZodObject<{
4
+ kind: z.ZodEnum<{
5
+ "local-folder": "local-folder";
6
+ }>;
7
+ locator: z.ZodString;
8
+ }, z.core.$strict>;
9
+ /**
10
+ * Discriminated locator for an artifact returned by the API. Aliases the
11
+ * canonical `LocatorSchema` from contracts so all three kinds —
12
+ * `local-path`, `remote-url`, `api-served` — flow through the same
13
+ * resource-access pattern.
14
+ */
15
+ export declare const ArtifactLocatorSchema: z.ZodObject<{
16
+ kind: z.ZodEnum<{
17
+ "local-path": "local-path";
18
+ "remote-url": "remote-url";
19
+ "api-served": "api-served";
20
+ }>;
21
+ value: z.ZodString;
22
+ }, z.core.$strict>;
23
+ /** Per-instance metadata from `GET /v1/instance` (replaces /v1/status). */
24
+ export declare const InstanceResourceSchema: z.ZodObject<{
25
+ kind: z.ZodLiteral<"interf-instance">;
26
+ version: z.ZodLiteral<1>;
27
+ url: z.ZodString;
28
+ host: z.ZodString;
29
+ port: z.ZodNumber;
30
+ started_at: z.ZodString;
31
+ package_version: z.ZodOptional<z.ZodString>;
32
+ preparation_count: z.ZodNumber;
33
+ active_run_count: z.ZodNumber;
34
+ idle_for_seconds: z.ZodNumber;
35
+ auth_required: z.ZodBoolean;
36
+ connection_kind: z.ZodOptional<z.ZodEnum<{
37
+ local: "local";
38
+ remote: "remote";
39
+ }>>;
40
+ }, z.core.$strict>;
41
+ /** Body of `POST /v1/preparations` — the 0.13 preparation create request. */
42
+ export declare const PreparationCreateRequestSchema: z.ZodObject<{
43
+ id: z.ZodString;
44
+ source: z.ZodObject<{
45
+ kind: z.ZodEnum<{
46
+ "local-folder": "local-folder";
47
+ }>;
48
+ locator: z.ZodString;
49
+ }, z.core.$strict>;
50
+ method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ about: z.ZodOptional<z.ZodString>;
52
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
53
+ id: z.ZodOptional<z.ZodString>;
54
+ question: z.ZodString;
55
+ answer: z.ZodOptional<z.ZodString>;
56
+ expect: z.ZodOptional<z.ZodObject<{
57
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
59
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
+ min_words: z.ZodOptional<z.ZodNumber>;
61
+ max_words: z.ZodOptional<z.ZodNumber>;
62
+ }, z.core.$strip>>;
63
+ strictness: z.ZodOptional<z.ZodString>;
64
+ }, z.core.$strict>>>;
65
+ max_attempts: z.ZodOptional<z.ZodNumber>;
66
+ max_loops: z.ZodOptional<z.ZodNumber>;
67
+ }, z.core.$strict>;
68
+ /** Body of `PATCH /v1/preparations/<id>` — update mutable preparation fields. */
69
+ export declare const PreparationUpdateRequestSchema: z.ZodObject<{
70
+ method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ }, z.core.$strict>;
73
+ /** Body of `POST /v1/methods` — install a Method package by path. */
74
+ export declare const MethodInstallRequestSchema: z.ZodObject<{
75
+ source_path: z.ZodString;
76
+ overwrite: z.ZodDefault<z.ZodBoolean>;
77
+ }, z.core.$strict>;
78
+ export declare const MethodInstallResultSchema: z.ZodObject<{
79
+ method_id: z.ZodString;
80
+ installed: z.ZodBoolean;
81
+ path: z.ZodString;
82
+ }, z.core.$strict>;
83
+ export declare const PreparationDeleteResponseSchema: z.ZodObject<{
84
+ deleted: z.ZodBoolean;
85
+ id: z.ZodString;
86
+ }, z.core.$strict>;
87
+ export type SourceBinding = z.infer<typeof SourceBindingSchema>;
88
+ export type ArtifactLocator = z.infer<typeof ArtifactLocatorSchema>;
89
+ export type InstanceResource = z.infer<typeof InstanceResourceSchema>;
90
+ export type PreparationCreateRequest = z.infer<typeof PreparationCreateRequestSchema>;
91
+ export type PreparationUpdateRequest = z.infer<typeof PreparationUpdateRequestSchema>;
92
+ export type MethodInstallRequest = z.infer<typeof MethodInstallRequestSchema>;
93
+ export type MethodInstallResult = z.infer<typeof MethodInstallResultSchema>;
94
+ export type PreparationDeleteResponse = z.infer<typeof PreparationDeleteResponseSchema>;
95
+ /**
96
+ * The local service must only ever bind to a loopback interface. Any other
97
+ * host (LAN IP, 0.0.0.0, public address) lets a remote browser tab POST at
98
+ * the service, which is the CSRF model we are explicitly rejecting. Keep
99
+ * the allowlist literal — refactoring to a `.refine()` over `z.string()`
100
+ * would lose the static type narrowing.
101
+ */
102
+ export declare const LOCAL_SERVICE_LOOPBACK_HOSTS: readonly ["127.0.0.1", "localhost", "::1"];
2
103
  export declare const LocalServiceHostSchema: z.ZodString;
3
104
  export declare const LocalServicePortSchema: z.ZodNumber;
105
+ /**
106
+ * Per-instance bearer token. Generated at startup with crypto.randomBytes(32)
107
+ * and rendered as a 64-char hex string. Any deviation should fail validation
108
+ * loud and early.
109
+ */
110
+ export declare const LocalServiceAuthTokenSchema: z.ZodString;
4
111
  export declare const LocalServiceConfigSchema: z.ZodObject<{
5
112
  host: z.ZodDefault<z.ZodString>;
6
113
  port: z.ZodDefault<z.ZodNumber>;
7
114
  }, z.core.$strict>;
115
+ export declare const ServiceRegistryWorkspaceSchema: z.ZodObject<{
116
+ control_path: z.ZodString;
117
+ registered_at: z.ZodString;
118
+ last_activity: z.ZodString;
119
+ }, z.core.$strict>;
120
+ export declare const ServiceRegistryEntrySchema: z.ZodObject<{
121
+ pid: z.ZodNumber;
122
+ host: z.ZodString;
123
+ port: z.ZodNumber;
124
+ url: z.ZodString;
125
+ started_at: z.ZodString;
126
+ auth_token: z.ZodOptional<z.ZodString>;
127
+ workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
128
+ control_path: z.ZodString;
129
+ registered_at: z.ZodString;
130
+ last_activity: z.ZodString;
131
+ }, z.core.$strict>>>;
132
+ }, z.core.$strict>;
133
+ export declare const ServiceRegistrySchema: z.ZodObject<{
134
+ services: z.ZodDefault<z.ZodArray<z.ZodObject<{
135
+ pid: z.ZodNumber;
136
+ host: z.ZodString;
137
+ port: z.ZodNumber;
138
+ url: z.ZodString;
139
+ started_at: z.ZodString;
140
+ auth_token: z.ZodOptional<z.ZodString>;
141
+ workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
142
+ control_path: z.ZodString;
143
+ registered_at: z.ZodString;
144
+ last_activity: z.ZodString;
145
+ }, z.core.$strict>>>;
146
+ }, z.core.$strict>>>;
147
+ }, z.core.$strict>;
8
148
  export declare const LocalServiceHealthSchema: z.ZodObject<{
9
149
  kind: z.ZodLiteral<"interf-local-service-health">;
10
150
  version: z.ZodLiteral<1>;
@@ -16,6 +156,14 @@ export declare const LocalServiceHealthSchema: z.ZodObject<{
16
156
  source_folder_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
157
  started_at: z.ZodOptional<z.ZodString>;
18
158
  package_version: z.ZodOptional<z.ZodString>;
159
+ instance_started_at: z.ZodOptional<z.ZodString>;
160
+ registered_workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
161
+ control_path: z.ZodString;
162
+ registered_at: z.ZodString;
163
+ last_activity: z.ZodString;
164
+ }, z.core.$strict>>>;
165
+ active_runs: z.ZodDefault<z.ZodNumber>;
166
+ idle_for_seconds: z.ZodDefault<z.ZodNumber>;
19
167
  }, z.core.$strict>;
20
168
  export declare const LocalServiceErrorSchema: z.ZodObject<{
21
169
  error: z.ZodObject<{
@@ -30,104 +178,7 @@ export declare const LocalServicePointerSchema: z.ZodObject<{
30
178
  pid: z.ZodNumber;
31
179
  control_path: z.ZodString;
32
180
  started_at: z.ZodString;
33
- }, z.core.$strict>;
34
- export declare const PreparationReadinessStateSchema: z.ZodObject<{
35
- kind: z.ZodLiteral<"interf-readiness-state">;
36
- version: z.ZodLiteral<1>;
37
- generated_at: z.ZodString;
38
- preparation: z.ZodString;
39
- status: z.ZodEnum<{
40
- "not-configured": "not-configured";
41
- "not-built": "not-built";
42
- building: "building";
43
- built: "built";
44
- checking: "checking";
45
- ready: "ready";
46
- "not-ready": "not-ready";
47
- stale: "stale";
48
- failed: "failed";
49
- }>;
50
- ready: z.ZodBoolean;
51
- summary: z.ZodString;
52
- portable_context_path: z.ZodNullable<z.ZodString>;
53
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
- compile: z.ZodNullable<z.ZodObject<{
56
- gate: z.ZodEnum<{
57
- "preparation-config": "preparation-config";
58
- "portable-context": "portable-context";
59
- "compile-run": "compile-run";
60
- "readiness-checks": "readiness-checks";
61
- "source-baseline": "source-baseline";
62
- "portable-context-check": "portable-context-check";
63
- "checks-current": "checks-current";
64
- }>;
65
- ok: z.ZodBoolean;
66
- status: z.ZodOptional<z.ZodEnum<{
67
- "not-configured": "not-configured";
68
- "not-built": "not-built";
69
- building: "building";
70
- built: "built";
71
- checking: "checking";
72
- ready: "ready";
73
- "not-ready": "not-ready";
74
- stale: "stale";
75
- failed: "failed";
76
- }>>;
77
- summary: z.ZodString;
78
- detail: z.ZodOptional<z.ZodString>;
79
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- }, z.core.$strict>>;
82
- check_results: z.ZodObject<{
83
- configured: z.ZodNumber;
84
- fingerprint: z.ZodNullable<z.ZodString>;
85
- source_files: z.ZodNullable<z.ZodObject<{
86
- passed: z.ZodNumber;
87
- total: z.ZodNumber;
88
- pass_rate: z.ZodNullable<z.ZodNumber>;
89
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
- stale: z.ZodDefault<z.ZodBoolean>;
91
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
- }, z.core.$strict>>;
94
- portable_context: z.ZodNullable<z.ZodObject<{
95
- passed: z.ZodNumber;
96
- total: z.ZodNumber;
97
- pass_rate: z.ZodNullable<z.ZodNumber>;
98
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
- stale: z.ZodDefault<z.ZodBoolean>;
100
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
- }, z.core.$strict>>;
103
- }, z.core.$strict>;
104
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
105
- gate: z.ZodEnum<{
106
- "preparation-config": "preparation-config";
107
- "portable-context": "portable-context";
108
- "compile-run": "compile-run";
109
- "readiness-checks": "readiness-checks";
110
- "source-baseline": "source-baseline";
111
- "portable-context-check": "portable-context-check";
112
- "checks-current": "checks-current";
113
- }>;
114
- ok: z.ZodBoolean;
115
- status: z.ZodOptional<z.ZodEnum<{
116
- "not-configured": "not-configured";
117
- "not-built": "not-built";
118
- building: "building";
119
- built: "built";
120
- checking: "checking";
121
- ready: "ready";
122
- "not-ready": "not-ready";
123
- stale: "stale";
124
- failed: "failed";
125
- }>>;
126
- summary: z.ZodString;
127
- detail: z.ZodOptional<z.ZodString>;
128
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
- }, z.core.$strict>>>;
181
+ auth_token: z.ZodOptional<z.ZodString>;
131
182
  }, z.core.$strict>;
132
183
  export declare const PortableContextMappingSchema: z.ZodObject<{
133
184
  preparation: z.ZodString;
@@ -213,12 +264,10 @@ export declare const PreparationResourceSchema: z.ZodObject<{
213
264
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
265
  compile: z.ZodNullable<z.ZodObject<{
215
266
  gate: z.ZodEnum<{
216
- "preparation-config": "preparation-config";
217
267
  "portable-context": "portable-context";
268
+ "preparation-config": "preparation-config";
218
269
  "compile-run": "compile-run";
219
270
  "readiness-checks": "readiness-checks";
220
- "source-baseline": "source-baseline";
221
- "portable-context-check": "portable-context-check";
222
271
  "checks-current": "checks-current";
223
272
  }>;
224
273
  ok: z.ZodBoolean;
@@ -262,12 +311,10 @@ export declare const PreparationResourceSchema: z.ZodObject<{
262
311
  }, z.core.$strict>;
263
312
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
264
313
  gate: z.ZodEnum<{
265
- "preparation-config": "preparation-config";
266
314
  "portable-context": "portable-context";
315
+ "preparation-config": "preparation-config";
267
316
  "compile-run": "compile-run";
268
317
  "readiness-checks": "readiness-checks";
269
- "source-baseline": "source-baseline";
270
- "portable-context-check": "portable-context-check";
271
318
  "checks-current": "checks-current";
272
319
  }>;
273
320
  ok: z.ZodBoolean;
@@ -314,6 +361,7 @@ export declare const MethodResourceSchema: z.ZodObject<{
314
361
  description: z.ZodOptional<z.ZodString>;
315
362
  contract_type: z.ZodString;
316
363
  skill_dir: z.ZodString;
364
+ role: z.ZodDefault<z.ZodString>;
317
365
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
318
366
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
319
367
  acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -332,9 +380,9 @@ export declare const CompileRunCreateRequestSchema: z.ZodObject<{
332
380
  export declare const CompileRunSummarySchema: z.ZodObject<{
333
381
  run_id: z.ZodString;
334
382
  status: z.ZodEnum<{
383
+ succeeded: "succeeded";
335
384
  failed: "failed";
336
385
  running: "running";
337
- succeeded: "succeeded";
338
386
  cancelled: "cancelled";
339
387
  queued: "queued";
340
388
  }>;
@@ -379,11 +427,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
379
427
  artifact: z.ZodObject<{
380
428
  path: z.ZodString;
381
429
  role: z.ZodEnum<{
382
- output: "output";
383
430
  runtime: "runtime";
431
+ output: "output";
384
432
  source: "source";
385
- test: "test";
386
433
  proof: "proof";
434
+ test: "test";
387
435
  }>;
388
436
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
437
  label: z.ZodOptional<z.ZodString>;
@@ -405,11 +453,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
405
453
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
406
454
  path: z.ZodString;
407
455
  role: z.ZodEnum<{
408
- output: "output";
409
456
  runtime: "runtime";
457
+ output: "output";
410
458
  source: "source";
411
- test: "test";
412
459
  proof: "proof";
460
+ test: "test";
413
461
  }>;
414
462
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
463
  label: z.ZodOptional<z.ZodString>;
@@ -468,8 +516,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
468
516
  passed: z.ZodNumber;
469
517
  total: z.ZodNumber;
470
518
  target: z.ZodOptional<z.ZodEnum<{
519
+ "source-files": "source-files";
471
520
  compiled: "compiled";
472
- raw: "raw";
473
521
  }>>;
474
522
  checks_fingerprint: z.ZodOptional<z.ZodString>;
475
523
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -503,12 +551,10 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
503
551
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
552
  compile: z.ZodNullable<z.ZodObject<{
505
553
  gate: z.ZodEnum<{
506
- "preparation-config": "preparation-config";
507
554
  "portable-context": "portable-context";
555
+ "preparation-config": "preparation-config";
508
556
  "compile-run": "compile-run";
509
557
  "readiness-checks": "readiness-checks";
510
- "source-baseline": "source-baseline";
511
- "portable-context-check": "portable-context-check";
512
558
  "checks-current": "checks-current";
513
559
  }>;
514
560
  ok: z.ZodBoolean;
@@ -552,12 +598,10 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
552
598
  }, z.core.$strict>;
553
599
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
554
600
  gate: z.ZodEnum<{
555
- "preparation-config": "preparation-config";
556
601
  "portable-context": "portable-context";
602
+ "preparation-config": "preparation-config";
557
603
  "compile-run": "compile-run";
558
604
  "readiness-checks": "readiness-checks";
559
- "source-baseline": "source-baseline";
560
- "portable-context-check": "portable-context-check";
561
605
  "checks-current": "checks-current";
562
606
  }>;
563
607
  ok: z.ZodBoolean;
@@ -589,11 +633,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
589
633
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
590
634
  path: z.ZodString;
591
635
  role: z.ZodEnum<{
592
- output: "output";
593
636
  runtime: "runtime";
637
+ output: "output";
594
638
  source: "source";
595
- test: "test";
596
639
  proof: "proof";
640
+ test: "test";
597
641
  }>;
598
642
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
643
  label: z.ZodOptional<z.ZodString>;
@@ -613,9 +657,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
613
657
  version: z.ZodLiteral<1>;
614
658
  run_id: z.ZodString;
615
659
  status: z.ZodEnum<{
660
+ succeeded: "succeeded";
616
661
  failed: "failed";
617
662
  running: "running";
618
- succeeded: "succeeded";
619
663
  cancelled: "cancelled";
620
664
  queued: "queued";
621
665
  }>;
@@ -637,9 +681,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
637
681
  stage_index: z.ZodOptional<z.ZodNumber>;
638
682
  stage_total: z.ZodOptional<z.ZodNumber>;
639
683
  status: z.ZodEnum<{
684
+ succeeded: "succeeded";
640
685
  failed: "failed";
641
686
  running: "running";
642
- succeeded: "succeeded";
643
687
  queued: "queued";
644
688
  }>;
645
689
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -670,11 +714,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
670
714
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
671
715
  path: z.ZodString;
672
716
  role: z.ZodEnum<{
673
- output: "output";
674
717
  runtime: "runtime";
718
+ output: "output";
675
719
  source: "source";
676
- test: "test";
677
720
  proof: "proof";
721
+ test: "test";
678
722
  }>;
679
723
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
680
724
  label: z.ZodOptional<z.ZodString>;
@@ -696,11 +740,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
696
740
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
697
741
  path: z.ZodString;
698
742
  role: z.ZodEnum<{
699
- output: "output";
700
743
  runtime: "runtime";
744
+ output: "output";
701
745
  source: "source";
702
- test: "test";
703
746
  proof: "proof";
747
+ test: "test";
704
748
  }>;
705
749
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
750
  label: z.ZodOptional<z.ZodString>;
@@ -751,11 +795,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
751
795
  artifact: z.ZodObject<{
752
796
  path: z.ZodString;
753
797
  role: z.ZodEnum<{
754
- output: "output";
755
798
  runtime: "runtime";
799
+ output: "output";
756
800
  source: "source";
757
- test: "test";
758
801
  proof: "proof";
802
+ test: "test";
759
803
  }>;
760
804
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
805
  label: z.ZodOptional<z.ZodString>;
@@ -777,11 +821,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
777
821
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
778
822
  path: z.ZodString;
779
823
  role: z.ZodEnum<{
780
- output: "output";
781
824
  runtime: "runtime";
825
+ output: "output";
782
826
  source: "source";
783
- test: "test";
784
827
  proof: "proof";
828
+ test: "test";
785
829
  }>;
786
830
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
787
831
  label: z.ZodOptional<z.ZodString>;
@@ -840,8 +884,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
840
884
  passed: z.ZodNumber;
841
885
  total: z.ZodNumber;
842
886
  target: z.ZodOptional<z.ZodEnum<{
887
+ "source-files": "source-files";
843
888
  compiled: "compiled";
844
- raw: "raw";
845
889
  }>>;
846
890
  checks_fingerprint: z.ZodOptional<z.ZodString>;
847
891
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -875,12 +919,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
875
919
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
920
  compile: z.ZodNullable<z.ZodObject<{
877
921
  gate: z.ZodEnum<{
878
- "preparation-config": "preparation-config";
879
922
  "portable-context": "portable-context";
923
+ "preparation-config": "preparation-config";
880
924
  "compile-run": "compile-run";
881
925
  "readiness-checks": "readiness-checks";
882
- "source-baseline": "source-baseline";
883
- "portable-context-check": "portable-context-check";
884
926
  "checks-current": "checks-current";
885
927
  }>;
886
928
  ok: z.ZodBoolean;
@@ -924,12 +966,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
924
966
  }, z.core.$strict>;
925
967
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
926
968
  gate: z.ZodEnum<{
927
- "preparation-config": "preparation-config";
928
969
  "portable-context": "portable-context";
970
+ "preparation-config": "preparation-config";
929
971
  "compile-run": "compile-run";
930
972
  "readiness-checks": "readiness-checks";
931
- "source-baseline": "source-baseline";
932
- "portable-context-check": "portable-context-check";
933
973
  "checks-current": "checks-current";
934
974
  }>;
935
975
  ok: z.ZodBoolean;
@@ -961,11 +1001,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
961
1001
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
962
1002
  path: z.ZodString;
963
1003
  role: z.ZodEnum<{
964
- output: "output";
965
1004
  runtime: "runtime";
1005
+ output: "output";
966
1006
  source: "source";
967
- test: "test";
968
1007
  proof: "proof";
1008
+ test: "test";
969
1009
  }>;
970
1010
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
971
1011
  label: z.ZodOptional<z.ZodString>;
@@ -1001,12 +1041,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1001
1041
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
1042
  compile: z.ZodNullable<z.ZodObject<{
1003
1043
  gate: z.ZodEnum<{
1004
- "preparation-config": "preparation-config";
1005
1044
  "portable-context": "portable-context";
1045
+ "preparation-config": "preparation-config";
1006
1046
  "compile-run": "compile-run";
1007
1047
  "readiness-checks": "readiness-checks";
1008
- "source-baseline": "source-baseline";
1009
- "portable-context-check": "portable-context-check";
1010
1048
  "checks-current": "checks-current";
1011
1049
  }>;
1012
1050
  ok: z.ZodBoolean;
@@ -1050,12 +1088,10 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1050
1088
  }, z.core.$strict>;
1051
1089
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1052
1090
  gate: z.ZodEnum<{
1053
- "preparation-config": "preparation-config";
1054
1091
  "portable-context": "portable-context";
1092
+ "preparation-config": "preparation-config";
1055
1093
  "compile-run": "compile-run";
1056
1094
  "readiness-checks": "readiness-checks";
1057
- "source-baseline": "source-baseline";
1058
- "portable-context-check": "portable-context-check";
1059
1095
  "checks-current": "checks-current";
1060
1096
  }>;
1061
1097
  ok: z.ZodBoolean;
@@ -1083,10 +1119,17 @@ export declare const LocalJobTypeSchema: z.ZodEnum<{
1083
1119
  "method-improvement": "method-improvement";
1084
1120
  "readiness-check-draft": "readiness-check-draft";
1085
1121
  }>;
1086
- export declare const LocalJobStatusSchema: z.ZodEnum<{
1122
+ export declare const RunStatusSchema: z.ZodEnum<{
1123
+ succeeded: "succeeded";
1087
1124
  failed: "failed";
1088
1125
  running: "running";
1126
+ cancelled: "cancelled";
1127
+ queued: "queued";
1128
+ }>;
1129
+ export declare const LocalJobStatusSchema: z.ZodEnum<{
1089
1130
  succeeded: "succeeded";
1131
+ failed: "failed";
1132
+ running: "running";
1090
1133
  cancelled: "cancelled";
1091
1134
  queued: "queued";
1092
1135
  }>;
@@ -1098,8 +1141,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1098
1141
  version: z.ZodLiteral<1>;
1099
1142
  generated_at: z.ZodString;
1100
1143
  mode: z.ZodEnum<{
1144
+ "source-files": "source-files";
1101
1145
  compiled: "compiled";
1102
- raw: "raw";
1103
1146
  both: "both";
1104
1147
  }>;
1105
1148
  source_path: z.ZodString;
@@ -1108,7 +1151,7 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1108
1151
  name: z.ZodString;
1109
1152
  portable_context_path: z.ZodNullable<z.ZodString>;
1110
1153
  }, z.core.$strip>;
1111
- raw: z.ZodNullable<z.ZodObject<{
1154
+ source_files: z.ZodNullable<z.ZodObject<{
1112
1155
  label: z.ZodString;
1113
1156
  run_path: z.ZodString;
1114
1157
  ok: z.ZodBoolean;
@@ -1118,8 +1161,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1118
1161
  total_checks: z.ZodNumber;
1119
1162
  target: z.ZodObject<{
1120
1163
  type: z.ZodEnum<{
1164
+ "source-files": "source-files";
1121
1165
  compiled: "compiled";
1122
- raw: "raw";
1123
1166
  }>;
1124
1167
  name: z.ZodString;
1125
1168
  path: z.ZodString;
@@ -1136,8 +1179,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1136
1179
  total_checks: z.ZodNumber;
1137
1180
  target: z.ZodObject<{
1138
1181
  type: z.ZodEnum<{
1182
+ "source-files": "source-files";
1139
1183
  compiled: "compiled";
1140
- raw: "raw";
1141
1184
  }>;
1142
1185
  name: z.ZodString;
1143
1186
  path: z.ZodString;
@@ -1165,9 +1208,9 @@ export declare const LocalJobStepSchema: z.ZodObject<{
1165
1208
  id: z.ZodString;
1166
1209
  label: z.ZodString;
1167
1210
  status: z.ZodEnum<{
1211
+ succeeded: "succeeded";
1168
1212
  failed: "failed";
1169
1213
  running: "running";
1170
- succeeded: "succeeded";
1171
1214
  cancelled: "cancelled";
1172
1215
  queued: "queued";
1173
1216
  }>;
@@ -1206,11 +1249,11 @@ export declare const LocalJobEventSchema: z.ZodObject<{
1206
1249
  artifact: z.ZodOptional<z.ZodObject<{
1207
1250
  path: z.ZodString;
1208
1251
  role: z.ZodEnum<{
1209
- output: "output";
1210
1252
  runtime: "runtime";
1253
+ output: "output";
1211
1254
  source: "source";
1212
- test: "test";
1213
1255
  proof: "proof";
1256
+ test: "test";
1214
1257
  }>;
1215
1258
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
1259
  label: z.ZodOptional<z.ZodString>;
@@ -1423,11 +1466,11 @@ export declare const LocalJobEventAppendRequestSchema: z.ZodObject<{
1423
1466
  artifact: z.ZodOptional<z.ZodObject<{
1424
1467
  path: z.ZodString;
1425
1468
  role: z.ZodEnum<{
1426
- output: "output";
1427
1469
  runtime: "runtime";
1470
+ output: "output";
1428
1471
  source: "source";
1429
- test: "test";
1430
1472
  proof: "proof";
1473
+ test: "test";
1431
1474
  }>;
1432
1475
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1433
1476
  label: z.ZodOptional<z.ZodString>;
@@ -1446,9 +1489,9 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1446
1489
  "readiness-check-draft": "readiness-check-draft";
1447
1490
  }>;
1448
1491
  status: z.ZodEnum<{
1492
+ succeeded: "succeeded";
1449
1493
  failed: "failed";
1450
1494
  running: "running";
1451
- succeeded: "succeeded";
1452
1495
  cancelled: "cancelled";
1453
1496
  queued: "queued";
1454
1497
  }>;
@@ -1469,9 +1512,9 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1469
1512
  id: z.ZodString;
1470
1513
  label: z.ZodString;
1471
1514
  status: z.ZodEnum<{
1515
+ succeeded: "succeeded";
1472
1516
  failed: "failed";
1473
1517
  running: "running";
1474
- succeeded: "succeeded";
1475
1518
  cancelled: "cancelled";
1476
1519
  queued: "queued";
1477
1520
  }>;
@@ -1500,11 +1543,11 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1500
1543
  artifact: z.ZodOptional<z.ZodObject<{
1501
1544
  path: z.ZodString;
1502
1545
  role: z.ZodEnum<{
1503
- output: "output";
1504
1546
  runtime: "runtime";
1547
+ output: "output";
1505
1548
  source: "source";
1506
- test: "test";
1507
1549
  proof: "proof";
1550
+ test: "test";
1508
1551
  }>;
1509
1552
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1510
1553
  label: z.ZodOptional<z.ZodString>;
@@ -1516,36 +1559,35 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1516
1559
  result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1517
1560
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1518
1561
  }, z.core.$strict>;
1519
- export declare const TestRunStatusSchema: z.ZodEnum<{
1562
+ export declare const VerifyRunStatusSchema: z.ZodEnum<{
1563
+ succeeded: "succeeded";
1520
1564
  failed: "failed";
1521
1565
  running: "running";
1522
- succeeded: "succeeded";
1523
1566
  cancelled: "cancelled";
1524
1567
  queued: "queued";
1525
1568
  }>;
1526
- export declare const TestRunCreateRequestSchema: z.ZodObject<{
1569
+ /**
1570
+ * 0.15 cleanup — `mode` was a 0.13 hold-over from when verify could
1571
+ * judge against either the source-files baseline or the compiled
1572
+ * portable context. 0.13.1 redirected every verify run to compiled-
1573
+ * only, which made `mode` a vestigial field. We drop it here so the
1574
+ * wire shape matches the runtime behavior. Older clients sending
1575
+ * `mode` get it ignored by the strict-but-tolerant runtime parser
1576
+ * upstream.
1577
+ */
1578
+ export declare const VerifyRunCreateRequestSchema: z.ZodObject<{
1527
1579
  preparation: z.ZodString;
1528
- mode: z.ZodDefault<z.ZodEnum<{
1529
- compiled: "compiled";
1530
- raw: "raw";
1531
- both: "both";
1532
- }>>;
1533
1580
  }, z.core.$strict>;
1534
- export declare const TestRunResourceSchema: z.ZodObject<{
1581
+ export declare const VerifyRunResourceSchema: z.ZodObject<{
1535
1582
  run_id: z.ZodString;
1536
1583
  status: z.ZodEnum<{
1584
+ succeeded: "succeeded";
1537
1585
  failed: "failed";
1538
1586
  running: "running";
1539
- succeeded: "succeeded";
1540
1587
  cancelled: "cancelled";
1541
1588
  queued: "queued";
1542
1589
  }>;
1543
1590
  preparation: z.ZodString;
1544
- mode: z.ZodEnum<{
1545
- compiled: "compiled";
1546
- raw: "raw";
1547
- both: "both";
1548
- }>;
1549
1591
  source_path: z.ZodString;
1550
1592
  portable_context_path: z.ZodNullable<z.ZodString>;
1551
1593
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1555,8 +1597,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1555
1597
  version: z.ZodLiteral<1>;
1556
1598
  generated_at: z.ZodString;
1557
1599
  mode: z.ZodEnum<{
1600
+ "source-files": "source-files";
1558
1601
  compiled: "compiled";
1559
- raw: "raw";
1560
1602
  both: "both";
1561
1603
  }>;
1562
1604
  source_path: z.ZodString;
@@ -1565,7 +1607,7 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1565
1607
  name: z.ZodString;
1566
1608
  portable_context_path: z.ZodNullable<z.ZodString>;
1567
1609
  }, z.core.$strip>;
1568
- raw: z.ZodNullable<z.ZodObject<{
1610
+ source_files: z.ZodNullable<z.ZodObject<{
1569
1611
  label: z.ZodString;
1570
1612
  run_path: z.ZodString;
1571
1613
  ok: z.ZodBoolean;
@@ -1575,8 +1617,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1575
1617
  total_checks: z.ZodNumber;
1576
1618
  target: z.ZodObject<{
1577
1619
  type: z.ZodEnum<{
1620
+ "source-files": "source-files";
1578
1621
  compiled: "compiled";
1579
- raw: "raw";
1580
1622
  }>;
1581
1623
  name: z.ZodString;
1582
1624
  path: z.ZodString;
@@ -1593,8 +1635,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1593
1635
  total_checks: z.ZodNumber;
1594
1636
  target: z.ZodObject<{
1595
1637
  type: z.ZodEnum<{
1638
+ "source-files": "source-files";
1596
1639
  compiled: "compiled";
1597
- raw: "raw";
1598
1640
  }>;
1599
1641
  name: z.ZodString;
1600
1642
  path: z.ZodString;
@@ -1629,12 +1671,10 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1629
1671
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1630
1672
  compile: z.ZodNullable<z.ZodObject<{
1631
1673
  gate: z.ZodEnum<{
1632
- "preparation-config": "preparation-config";
1633
1674
  "portable-context": "portable-context";
1675
+ "preparation-config": "preparation-config";
1634
1676
  "compile-run": "compile-run";
1635
1677
  "readiness-checks": "readiness-checks";
1636
- "source-baseline": "source-baseline";
1637
- "portable-context-check": "portable-context-check";
1638
1678
  "checks-current": "checks-current";
1639
1679
  }>;
1640
1680
  ok: z.ZodBoolean;
@@ -1678,12 +1718,10 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1678
1718
  }, z.core.$strict>;
1679
1719
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1680
1720
  gate: z.ZodEnum<{
1681
- "preparation-config": "preparation-config";
1682
1721
  "portable-context": "portable-context";
1722
+ "preparation-config": "preparation-config";
1683
1723
  "compile-run": "compile-run";
1684
1724
  "readiness-checks": "readiness-checks";
1685
- "source-baseline": "source-baseline";
1686
- "portable-context-check": "portable-context-check";
1687
1725
  "checks-current": "checks-current";
1688
1726
  }>;
1689
1727
  ok: z.ZodBoolean;
@@ -1740,11 +1778,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1740
1778
  artifact: z.ZodObject<{
1741
1779
  path: z.ZodString;
1742
1780
  role: z.ZodEnum<{
1743
- output: "output";
1744
1781
  runtime: "runtime";
1782
+ output: "output";
1745
1783
  source: "source";
1746
- test: "test";
1747
1784
  proof: "proof";
1785
+ test: "test";
1748
1786
  }>;
1749
1787
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1750
1788
  label: z.ZodOptional<z.ZodString>;
@@ -1766,11 +1804,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1766
1804
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1767
1805
  path: z.ZodString;
1768
1806
  role: z.ZodEnum<{
1769
- output: "output";
1770
1807
  runtime: "runtime";
1808
+ output: "output";
1771
1809
  source: "source";
1772
- test: "test";
1773
1810
  proof: "proof";
1811
+ test: "test";
1774
1812
  }>;
1775
1813
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1776
1814
  label: z.ZodOptional<z.ZodString>;
@@ -1829,8 +1867,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1829
1867
  passed: z.ZodNumber;
1830
1868
  total: z.ZodNumber;
1831
1869
  target: z.ZodOptional<z.ZodEnum<{
1870
+ "source-files": "source-files";
1832
1871
  compiled: "compiled";
1833
- raw: "raw";
1834
1872
  }>>;
1835
1873
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1836
1874
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -1864,12 +1902,10 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1864
1902
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1865
1903
  compile: z.ZodNullable<z.ZodObject<{
1866
1904
  gate: z.ZodEnum<{
1867
- "preparation-config": "preparation-config";
1868
1905
  "portable-context": "portable-context";
1906
+ "preparation-config": "preparation-config";
1869
1907
  "compile-run": "compile-run";
1870
1908
  "readiness-checks": "readiness-checks";
1871
- "source-baseline": "source-baseline";
1872
- "portable-context-check": "portable-context-check";
1873
1909
  "checks-current": "checks-current";
1874
1910
  }>;
1875
1911
  ok: z.ZodBoolean;
@@ -1913,12 +1949,10 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1913
1949
  }, z.core.$strict>;
1914
1950
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1915
1951
  gate: z.ZodEnum<{
1916
- "preparation-config": "preparation-config";
1917
1952
  "portable-context": "portable-context";
1953
+ "preparation-config": "preparation-config";
1918
1954
  "compile-run": "compile-run";
1919
1955
  "readiness-checks": "readiness-checks";
1920
- "source-baseline": "source-baseline";
1921
- "portable-context-check": "portable-context-check";
1922
1956
  "checks-current": "checks-current";
1923
1957
  }>;
1924
1958
  ok: z.ZodBoolean;
@@ -1950,15 +1984,15 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
1950
1984
  compile: "compile";
1951
1985
  "method-authoring": "method-authoring";
1952
1986
  "method-improvement": "method-improvement";
1953
- test: "test";
1987
+ verify: "verify";
1954
1988
  "readiness-check-draft": "readiness-check-draft";
1955
1989
  job: "job";
1956
1990
  }>;
1957
1991
  title: z.ZodString;
1958
1992
  status: z.ZodEnum<{
1993
+ succeeded: "succeeded";
1959
1994
  failed: "failed";
1960
1995
  running: "running";
1961
- succeeded: "succeeded";
1962
1996
  cancelled: "cancelled";
1963
1997
  queued: "queued";
1964
1998
  }>;
@@ -1992,11 +2026,11 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
1992
2026
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1993
2027
  path: z.ZodString;
1994
2028
  role: z.ZodEnum<{
1995
- output: "output";
1996
2029
  runtime: "runtime";
2030
+ output: "output";
1997
2031
  source: "source";
1998
- test: "test";
1999
2032
  proof: "proof";
2033
+ test: "test";
2000
2034
  }>;
2001
2035
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2002
2036
  label: z.ZodOptional<z.ZodString>;
@@ -2031,12 +2065,10 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2031
2065
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2032
2066
  compile: z.ZodNullable<z.ZodObject<{
2033
2067
  gate: z.ZodEnum<{
2034
- "preparation-config": "preparation-config";
2035
2068
  "portable-context": "portable-context";
2069
+ "preparation-config": "preparation-config";
2036
2070
  "compile-run": "compile-run";
2037
2071
  "readiness-checks": "readiness-checks";
2038
- "source-baseline": "source-baseline";
2039
- "portable-context-check": "portable-context-check";
2040
2072
  "checks-current": "checks-current";
2041
2073
  }>;
2042
2074
  ok: z.ZodBoolean;
@@ -2080,12 +2112,10 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2080
2112
  }, z.core.$strict>;
2081
2113
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2082
2114
  gate: z.ZodEnum<{
2083
- "preparation-config": "preparation-config";
2084
2115
  "portable-context": "portable-context";
2116
+ "preparation-config": "preparation-config";
2085
2117
  "compile-run": "compile-run";
2086
2118
  "readiness-checks": "readiness-checks";
2087
- "source-baseline": "source-baseline";
2088
- "portable-context-check": "portable-context-check";
2089
2119
  "checks-current": "checks-current";
2090
2120
  }>;
2091
2121
  ok: z.ZodBoolean;
@@ -2197,16 +2227,16 @@ export declare const ActionProposalTypeSchema: z.ZodEnum<{
2197
2227
  compile: "compile";
2198
2228
  "method-authoring": "method-authoring";
2199
2229
  "method-improvement": "method-improvement";
2200
- test: "test";
2201
2230
  "readiness-check-draft": "readiness-check-draft";
2231
+ test: "test";
2202
2232
  clarification: "clarification";
2203
2233
  }>;
2204
2234
  export declare const ActionProposalPlanActionTypeSchema: z.ZodEnum<{
2205
2235
  compile: "compile";
2206
2236
  "method-authoring": "method-authoring";
2207
2237
  "method-improvement": "method-improvement";
2208
- test: "test";
2209
2238
  "readiness-check-draft": "readiness-check-draft";
2239
+ test: "test";
2210
2240
  "method-change": "method-change";
2211
2241
  "preparation-change": "preparation-change";
2212
2242
  clarification: "clarification";
@@ -2222,10 +2252,10 @@ export declare const ActionProposalStatusSchema: z.ZodEnum<{
2222
2252
  }>;
2223
2253
  export declare const ActionClientOriginSchema: z.ZodEnum<{
2224
2254
  unknown: "unknown";
2255
+ mcp: "mcp";
2225
2256
  "ui-chat": "ui-chat";
2226
2257
  cli: "cli";
2227
2258
  "agent-cli": "agent-cli";
2228
- mcp: "mcp";
2229
2259
  service: "service";
2230
2260
  }>;
2231
2261
  export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
@@ -2233,10 +2263,10 @@ export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
2233
2263
  preparation: z.ZodOptional<z.ZodString>;
2234
2264
  client_origin: z.ZodDefault<z.ZodEnum<{
2235
2265
  unknown: "unknown";
2266
+ mcp: "mcp";
2236
2267
  "ui-chat": "ui-chat";
2237
2268
  cli: "cli";
2238
2269
  "agent-cli": "agent-cli";
2239
- mcp: "mcp";
2240
2270
  service: "service";
2241
2271
  }>>;
2242
2272
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2246,8 +2276,8 @@ export declare const ActionProposalPlanSchema: z.ZodObject<{
2246
2276
  compile: "compile";
2247
2277
  "method-authoring": "method-authoring";
2248
2278
  "method-improvement": "method-improvement";
2249
- test: "test";
2250
2279
  "readiness-check-draft": "readiness-check-draft";
2280
+ test: "test";
2251
2281
  "method-change": "method-change";
2252
2282
  "preparation-change": "preparation-change";
2253
2283
  clarification: "clarification";
@@ -2291,10 +2321,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2291
2321
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2292
2322
  client_origin: z.ZodDefault<z.ZodEnum<{
2293
2323
  unknown: "unknown";
2324
+ mcp: "mcp";
2294
2325
  "ui-chat": "ui-chat";
2295
2326
  cli: "cli";
2296
2327
  "agent-cli": "agent-cli";
2297
- mcp: "mcp";
2298
2328
  service: "service";
2299
2329
  }>>;
2300
2330
  created_at: z.ZodString;
@@ -2312,7 +2342,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2312
2342
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2313
2343
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2314
2344
  "compile-run": "compile-run";
2315
- "test-run": "test-run";
2345
+ "verify-run": "verify-run";
2316
2346
  "job-run": "job-run";
2317
2347
  }>>>;
2318
2348
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2339,10 +2369,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2339
2369
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2340
2370
  client_origin: z.ZodDefault<z.ZodEnum<{
2341
2371
  unknown: "unknown";
2372
+ mcp: "mcp";
2342
2373
  "ui-chat": "ui-chat";
2343
2374
  cli: "cli";
2344
2375
  "agent-cli": "agent-cli";
2345
- mcp: "mcp";
2346
2376
  service: "service";
2347
2377
  }>>;
2348
2378
  created_at: z.ZodString;
@@ -2360,7 +2390,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2360
2390
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2361
2391
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2362
2392
  "compile-run": "compile-run";
2363
- "test-run": "test-run";
2393
+ "verify-run": "verify-run";
2364
2394
  "job-run": "job-run";
2365
2395
  }>>>;
2366
2396
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2396,10 +2426,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2396
2426
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2397
2427
  client_origin: z.ZodDefault<z.ZodEnum<{
2398
2428
  unknown: "unknown";
2429
+ mcp: "mcp";
2399
2430
  "ui-chat": "ui-chat";
2400
2431
  cli: "cli";
2401
2432
  "agent-cli": "agent-cli";
2402
- mcp: "mcp";
2403
2433
  service: "service";
2404
2434
  }>>;
2405
2435
  created_at: z.ZodString;
@@ -2417,18 +2447,13 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2417
2447
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2418
2448
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2419
2449
  "compile-run": "compile-run";
2420
- "test-run": "test-run";
2450
+ "verify-run": "verify-run";
2421
2451
  "job-run": "job-run";
2422
2452
  }>>>;
2423
2453
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2424
2454
  action_type: z.ZodLiteral<"test">;
2425
2455
  request: z.ZodObject<{
2426
2456
  preparation: z.ZodString;
2427
- mode: z.ZodDefault<z.ZodEnum<{
2428
- compiled: "compiled";
2429
- raw: "raw";
2430
- both: "both";
2431
- }>>;
2432
2457
  }, z.core.$strict>;
2433
2458
  }, z.core.$strict>, z.ZodObject<{
2434
2459
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -2451,10 +2476,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2451
2476
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
2477
  client_origin: z.ZodDefault<z.ZodEnum<{
2453
2478
  unknown: "unknown";
2479
+ mcp: "mcp";
2454
2480
  "ui-chat": "ui-chat";
2455
2481
  cli: "cli";
2456
2482
  "agent-cli": "agent-cli";
2457
- mcp: "mcp";
2458
2483
  service: "service";
2459
2484
  }>>;
2460
2485
  created_at: z.ZodString;
@@ -2472,7 +2497,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2472
2497
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2473
2498
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2474
2499
  "compile-run": "compile-run";
2475
- "test-run": "test-run";
2500
+ "verify-run": "verify-run";
2476
2501
  "job-run": "job-run";
2477
2502
  }>>>;
2478
2503
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2504,10 +2529,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2504
2529
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2505
2530
  client_origin: z.ZodDefault<z.ZodEnum<{
2506
2531
  unknown: "unknown";
2532
+ mcp: "mcp";
2507
2533
  "ui-chat": "ui-chat";
2508
2534
  cli: "cli";
2509
2535
  "agent-cli": "agent-cli";
2510
- mcp: "mcp";
2511
2536
  service: "service";
2512
2537
  }>>;
2513
2538
  created_at: z.ZodString;
@@ -2525,7 +2550,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2525
2550
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2526
2551
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2527
2552
  "compile-run": "compile-run";
2528
- "test-run": "test-run";
2553
+ "verify-run": "verify-run";
2529
2554
  "job-run": "job-run";
2530
2555
  }>>>;
2531
2556
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2574,10 +2599,10 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2574
2599
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2575
2600
  client_origin: z.ZodDefault<z.ZodEnum<{
2576
2601
  unknown: "unknown";
2602
+ mcp: "mcp";
2577
2603
  "ui-chat": "ui-chat";
2578
2604
  cli: "cli";
2579
2605
  "agent-cli": "agent-cli";
2580
- mcp: "mcp";
2581
2606
  service: "service";
2582
2607
  }>>;
2583
2608
  created_at: z.ZodString;
@@ -2595,7 +2620,7 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2595
2620
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2596
2621
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2597
2622
  "compile-run": "compile-run";
2598
- "test-run": "test-run";
2623
+ "verify-run": "verify-run";
2599
2624
  "job-run": "job-run";
2600
2625
  }>>>;
2601
2626
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2651,12 +2676,10 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2651
2676
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2652
2677
  compile: z.ZodNullable<z.ZodObject<{
2653
2678
  gate: z.ZodEnum<{
2654
- "preparation-config": "preparation-config";
2655
2679
  "portable-context": "portable-context";
2680
+ "preparation-config": "preparation-config";
2656
2681
  "compile-run": "compile-run";
2657
2682
  "readiness-checks": "readiness-checks";
2658
- "source-baseline": "source-baseline";
2659
- "portable-context-check": "portable-context-check";
2660
2683
  "checks-current": "checks-current";
2661
2684
  }>;
2662
2685
  ok: z.ZodBoolean;
@@ -2700,12 +2723,10 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2700
2723
  }, z.core.$strict>;
2701
2724
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2702
2725
  gate: z.ZodEnum<{
2703
- "preparation-config": "preparation-config";
2704
2726
  "portable-context": "portable-context";
2727
+ "preparation-config": "preparation-config";
2705
2728
  "compile-run": "compile-run";
2706
2729
  "readiness-checks": "readiness-checks";
2707
- "source-baseline": "source-baseline";
2708
- "portable-context-check": "portable-context-check";
2709
2730
  "checks-current": "checks-current";
2710
2731
  }>;
2711
2732
  ok: z.ZodBoolean;
@@ -2732,11 +2753,11 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2732
2753
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
2733
2754
  path: z.ZodString;
2734
2755
  role: z.ZodEnum<{
2735
- output: "output";
2736
2756
  runtime: "runtime";
2757
+ output: "output";
2737
2758
  source: "source";
2738
- test: "test";
2739
2759
  proof: "proof";
2760
+ test: "test";
2740
2761
  }>;
2741
2762
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2742
2763
  label: z.ZodOptional<z.ZodString>;
@@ -2766,12 +2787,10 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2766
2787
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
2788
  compile: z.ZodNullable<z.ZodObject<{
2768
2789
  gate: z.ZodEnum<{
2769
- "preparation-config": "preparation-config";
2770
2790
  "portable-context": "portable-context";
2791
+ "preparation-config": "preparation-config";
2771
2792
  "compile-run": "compile-run";
2772
2793
  "readiness-checks": "readiness-checks";
2773
- "source-baseline": "source-baseline";
2774
- "portable-context-check": "portable-context-check";
2775
2794
  "checks-current": "checks-current";
2776
2795
  }>;
2777
2796
  ok: z.ZodBoolean;
@@ -2812,1967 +2831,17 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2812
2831
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2813
2832
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2814
2833
  }, z.core.$strict>>;
2815
- }, z.core.$strict>;
2816
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2817
- gate: z.ZodEnum<{
2818
- "preparation-config": "preparation-config";
2819
- "portable-context": "portable-context";
2820
- "compile-run": "compile-run";
2821
- "readiness-checks": "readiness-checks";
2822
- "source-baseline": "source-baseline";
2823
- "portable-context-check": "portable-context-check";
2824
- "checks-current": "checks-current";
2825
- }>;
2826
- ok: z.ZodBoolean;
2827
- status: z.ZodOptional<z.ZodEnum<{
2828
- "not-configured": "not-configured";
2829
- "not-built": "not-built";
2830
- building: "building";
2831
- built: "built";
2832
- checking: "checking";
2833
- ready: "ready";
2834
- "not-ready": "not-ready";
2835
- stale: "stale";
2836
- failed: "failed";
2837
- }>>;
2838
- summary: z.ZodString;
2839
- detail: z.ZodOptional<z.ZodString>;
2840
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2841
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2842
- }, z.core.$strict>>>;
2843
- }, z.core.$strict>;
2844
- export declare const SourceFileResourceSchema: z.ZodObject<{
2845
- preparation: z.ZodString;
2846
- path: z.ZodString;
2847
- absolute_path: z.ZodString;
2848
- size_bytes: z.ZodNumber;
2849
- modified_at: z.ZodNullable<z.ZodString>;
2850
- source_folder_path: z.ZodString;
2851
- }, z.core.$strict>;
2852
- export declare const WorkspaceFileResourceSchema: z.ZodObject<{
2853
- path: z.ZodString;
2854
- absolute_path: z.ZodString;
2855
- size_bytes: z.ZodNumber;
2856
- modified_at: z.ZodNullable<z.ZodString>;
2857
- }, z.core.$strict>;
2858
- export declare const LocalServiceDiscoverySchema: z.ZodObject<{
2859
- kind: z.ZodLiteral<"interf-local-service-discovery">;
2860
- version: z.ZodLiteral<1>;
2861
- resources: z.ZodObject<{
2862
- preparations: z.ZodString;
2863
- methods: z.ZodString;
2864
- runs: z.ZodString;
2865
- readiness: z.ZodString;
2866
- portable_contexts: z.ZodString;
2867
- source_files: z.ZodString;
2868
- workspace_files: z.ZodString;
2869
- action_proposals: z.ZodString;
2870
- preparation_setups: z.ZodString;
2871
- preparation_changes: z.ZodString;
2872
- method_changes: z.ZodString;
2873
- readiness_check_drafts: z.ZodString;
2874
- method_authoring_runs: z.ZodString;
2875
- method_improvement_runs: z.ZodString;
2876
- compile_runs: z.ZodString;
2877
- test_runs: z.ZodString;
2878
- reset: z.ZodString;
2879
- executor: z.ZodString;
2880
- }, z.core.$strict>;
2881
- }, z.core.$strict>;
2882
- export declare const OpenPathRequestSchema: z.ZodObject<{
2883
- path: z.ZodString;
2884
- }, z.core.$strict>;
2885
- export declare const OpenPathResponseSchema: z.ZodObject<{
2886
- opened: z.ZodBoolean;
2887
- path: z.ZodString;
2888
- }, z.core.$strict>;
2889
- export declare const LocalServiceResourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2890
- kind: z.ZodLiteral<"preparation">;
2891
- value: z.ZodObject<{
2892
- id: z.ZodString;
2893
- name: z.ZodString;
2894
- preparation: z.ZodObject<{
2895
- id: z.ZodOptional<z.ZodString>;
2896
- name: z.ZodString;
2897
- path: z.ZodString;
2898
- about: z.ZodOptional<z.ZodString>;
2899
- method: z.ZodOptional<z.ZodString>;
2900
- max_attempts: z.ZodOptional<z.ZodNumber>;
2901
- max_loops: z.ZodOptional<z.ZodNumber>;
2902
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2903
- id: z.ZodOptional<z.ZodString>;
2904
- question: z.ZodString;
2905
- answer: z.ZodOptional<z.ZodString>;
2906
- expect: z.ZodOptional<z.ZodObject<{
2907
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2908
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2909
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2910
- min_words: z.ZodOptional<z.ZodNumber>;
2911
- max_words: z.ZodOptional<z.ZodNumber>;
2912
- }, z.core.$strip>>;
2913
- strictness: z.ZodOptional<z.ZodString>;
2914
- }, z.core.$strict>>>;
2915
- }, z.core.$strict>;
2916
- source_path: z.ZodString;
2917
- method_id: z.ZodNullable<z.ZodString>;
2918
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2919
- id: z.ZodOptional<z.ZodString>;
2920
- question: z.ZodString;
2921
- answer: z.ZodOptional<z.ZodString>;
2922
- expect: z.ZodOptional<z.ZodObject<{
2923
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2924
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2925
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2926
- min_words: z.ZodOptional<z.ZodNumber>;
2927
- max_words: z.ZodOptional<z.ZodNumber>;
2928
- }, z.core.$strip>>;
2929
- strictness: z.ZodOptional<z.ZodString>;
2930
- }, z.core.$strict>>>;
2931
- portable_context: z.ZodObject<{
2932
- preparation: z.ZodString;
2933
- path: z.ZodNullable<z.ZodString>;
2934
- exists: z.ZodBoolean;
2935
- method_id: z.ZodNullable<z.ZodString>;
2936
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
2937
- latest_test_run_id: z.ZodNullable<z.ZodString>;
2938
- }, z.core.$strict>;
2939
- portable_context_path: z.ZodNullable<z.ZodString>;
2940
- readiness: z.ZodObject<{
2941
- kind: z.ZodLiteral<"interf-readiness-state">;
2942
- version: z.ZodLiteral<1>;
2943
- generated_at: z.ZodString;
2944
- preparation: z.ZodString;
2945
- status: z.ZodEnum<{
2946
- "not-configured": "not-configured";
2947
- "not-built": "not-built";
2948
- building: "building";
2949
- built: "built";
2950
- checking: "checking";
2951
- ready: "ready";
2952
- "not-ready": "not-ready";
2953
- stale: "stale";
2954
- failed: "failed";
2955
- }>;
2956
- ready: z.ZodBoolean;
2957
- summary: z.ZodString;
2958
- portable_context_path: z.ZodNullable<z.ZodString>;
2959
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2960
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2961
- compile: z.ZodNullable<z.ZodObject<{
2962
- gate: z.ZodEnum<{
2963
- "preparation-config": "preparation-config";
2964
- "portable-context": "portable-context";
2965
- "compile-run": "compile-run";
2966
- "readiness-checks": "readiness-checks";
2967
- "source-baseline": "source-baseline";
2968
- "portable-context-check": "portable-context-check";
2969
- "checks-current": "checks-current";
2970
- }>;
2971
- ok: z.ZodBoolean;
2972
- status: z.ZodOptional<z.ZodEnum<{
2973
- "not-configured": "not-configured";
2974
- "not-built": "not-built";
2975
- building: "building";
2976
- built: "built";
2977
- checking: "checking";
2978
- ready: "ready";
2979
- "not-ready": "not-ready";
2980
- stale: "stale";
2981
- failed: "failed";
2982
- }>>;
2983
- summary: z.ZodString;
2984
- detail: z.ZodOptional<z.ZodString>;
2985
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2986
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2987
- }, z.core.$strict>>;
2988
- check_results: z.ZodObject<{
2989
- configured: z.ZodNumber;
2990
- fingerprint: z.ZodNullable<z.ZodString>;
2991
- source_files: z.ZodNullable<z.ZodObject<{
2992
- passed: z.ZodNumber;
2993
- total: z.ZodNumber;
2994
- pass_rate: z.ZodNullable<z.ZodNumber>;
2995
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2996
- stale: z.ZodDefault<z.ZodBoolean>;
2997
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2998
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2999
- }, z.core.$strict>>;
3000
- portable_context: z.ZodNullable<z.ZodObject<{
3001
- passed: z.ZodNumber;
3002
- total: z.ZodNumber;
3003
- pass_rate: z.ZodNullable<z.ZodNumber>;
3004
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3005
- stale: z.ZodDefault<z.ZodBoolean>;
3006
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3007
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3008
- }, z.core.$strict>>;
3009
- }, z.core.$strict>;
3010
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3011
- gate: z.ZodEnum<{
3012
- "preparation-config": "preparation-config";
3013
- "portable-context": "portable-context";
3014
- "compile-run": "compile-run";
3015
- "readiness-checks": "readiness-checks";
3016
- "source-baseline": "source-baseline";
3017
- "portable-context-check": "portable-context-check";
3018
- "checks-current": "checks-current";
3019
- }>;
3020
- ok: z.ZodBoolean;
3021
- status: z.ZodOptional<z.ZodEnum<{
3022
- "not-configured": "not-configured";
3023
- "not-built": "not-built";
3024
- building: "building";
3025
- built: "built";
3026
- checking: "checking";
3027
- ready: "ready";
3028
- "not-ready": "not-ready";
3029
- stale: "stale";
3030
- failed: "failed";
3031
- }>>;
3032
- summary: z.ZodString;
3033
- detail: z.ZodOptional<z.ZodString>;
3034
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3036
- }, z.core.$strict>>>;
3037
- }, z.core.$strict>;
3038
- runs: z.ZodObject<{
3039
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
3040
- latest_test_run_id: z.ZodNullable<z.ZodString>;
3041
- }, z.core.$strict>;
3042
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3043
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3044
- }, z.core.$strict>;
3045
- }, z.core.$strict>, z.ZodObject<{
3046
- kind: z.ZodLiteral<"method">;
3047
- value: z.ZodObject<{
3048
- id: z.ZodString;
3049
- method_id: z.ZodString;
3050
- path: z.ZodString;
3051
- label: z.ZodOptional<z.ZodString>;
3052
- hint: z.ZodOptional<z.ZodString>;
3053
- source_kind: z.ZodDefault<z.ZodEnum<{
3054
- builtin: "builtin";
3055
- local: "local";
3056
- }>>;
3057
- built_in: z.ZodDefault<z.ZodBoolean>;
3058
- active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3059
- output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
3060
- stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3061
- id: z.ZodString;
3062
- label: z.ZodString;
3063
- description: z.ZodOptional<z.ZodString>;
3064
- contract_type: z.ZodString;
3065
- skill_dir: z.ZodString;
3066
- reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3067
- writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3068
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3069
- }, z.core.$strict>>>;
3070
- }, z.core.$strict>;
3071
- }, z.core.$strict>, z.ZodObject<{
3072
- kind: z.ZodLiteral<"compile-run">;
3073
- value: z.ZodObject<{
3074
- run: z.ZodObject<{
3075
- kind: z.ZodLiteral<"interf-compile-run">;
3076
- version: z.ZodLiteral<1>;
3077
- run_id: z.ZodString;
3078
- status: z.ZodEnum<{
3079
- failed: "failed";
3080
- running: "running";
3081
- succeeded: "succeeded";
3082
- cancelled: "cancelled";
3083
- queued: "queued";
3084
- }>;
3085
- preparation: z.ZodString;
3086
- method: z.ZodString;
3087
- backend: z.ZodEnum<{
3088
- native: "native";
3089
- "workflow-sdk": "workflow-sdk";
3090
- }>;
3091
- source_path: z.ZodString;
3092
- portable_context_path: z.ZodString;
3093
- created_at: z.ZodString;
3094
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3095
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3096
- stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3097
- run_id: z.ZodString;
3098
- stage_id: z.ZodString;
3099
- stage_label: z.ZodOptional<z.ZodString>;
3100
- stage_index: z.ZodOptional<z.ZodNumber>;
3101
- stage_total: z.ZodOptional<z.ZodNumber>;
3102
- status: z.ZodEnum<{
3103
- failed: "failed";
3104
- running: "running";
3105
- succeeded: "succeeded";
3106
- queued: "queued";
3107
- }>;
3108
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3109
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3110
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3111
- contract: z.ZodOptional<z.ZodObject<{
3112
- stage_label: z.ZodOptional<z.ZodString>;
3113
- stage_index: z.ZodOptional<z.ZodNumber>;
3114
- stage_total: z.ZodOptional<z.ZodNumber>;
3115
- reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3116
- writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3117
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3118
- }, z.core.$strict>>;
3119
- executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3120
- kind: z.ZodEnum<{
3121
- "local-agent": "local-agent";
3122
- "connected-provider": "connected-provider";
3123
- managed: "managed";
3124
- }>;
3125
- name: z.ZodString;
3126
- display_name: z.ZodString;
3127
- command: z.ZodNullable<z.ZodString>;
3128
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3129
- effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3130
- profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3131
- timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3132
- }, z.core.$strip>>>;
3133
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3134
- path: z.ZodString;
3135
- role: z.ZodEnum<{
3136
- output: "output";
3137
- runtime: "runtime";
3138
- source: "source";
3139
- test: "test";
3140
- proof: "proof";
3141
- }>;
3142
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3143
- label: z.ZodOptional<z.ZodString>;
3144
- sha256: z.ZodOptional<z.ZodString>;
3145
- }, z.core.$strict>>>;
3146
- logs: z.ZodOptional<z.ZodObject<{
3147
- prompt_path: z.ZodOptional<z.ZodString>;
3148
- event_stream_path: z.ZodOptional<z.ZodString>;
3149
- status_path: z.ZodOptional<z.ZodString>;
3150
- contract_path: z.ZodOptional<z.ZodString>;
3151
- }, z.core.$strict>>;
3152
- latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3153
- id: z.ZodString;
3154
- run_id: z.ZodString;
3155
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3156
- generated_at: z.ZodString;
3157
- summary: z.ZodString;
3158
- files_processed: z.ZodOptional<z.ZodNumber>;
3159
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3160
- path: z.ZodString;
3161
- role: z.ZodEnum<{
3162
- output: "output";
3163
- runtime: "runtime";
3164
- source: "source";
3165
- test: "test";
3166
- proof: "proof";
3167
- }>;
3168
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3169
- label: z.ZodOptional<z.ZodString>;
3170
- sha256: z.ZodOptional<z.ZodString>;
3171
- }, z.core.$strict>>>;
3172
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3173
- id: z.ZodString;
3174
- label: z.ZodString;
3175
- ok: z.ZodBoolean;
3176
- detail: z.ZodOptional<z.ZodString>;
3177
- }, z.core.$strict>>>;
3178
- }, z.core.$strict>>>;
3179
- failure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
- }, z.core.$strict>>>;
3181
- events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3182
- event_id: z.ZodString;
3183
- run_id: z.ZodString;
3184
- timestamp: z.ZodString;
3185
- type: z.ZodLiteral<"run.started">;
3186
- preparation: z.ZodString;
3187
- method: z.ZodString;
3188
- portable_context_path: z.ZodString;
3189
- backend: z.ZodEnum<{
3190
- native: "native";
3191
- "workflow-sdk": "workflow-sdk";
3192
- }>;
3193
- }, z.core.$strict>, z.ZodObject<{
3194
- event_id: z.ZodString;
3195
- run_id: z.ZodString;
3196
- timestamp: z.ZodString;
3197
- type: z.ZodLiteral<"stage.started">;
3198
- stage_id: z.ZodString;
3199
- stage_index: z.ZodOptional<z.ZodNumber>;
3200
- stage_total: z.ZodOptional<z.ZodNumber>;
3201
- }, z.core.$strict>, z.ZodObject<{
3202
- event_id: z.ZodString;
3203
- run_id: z.ZodString;
3204
- timestamp: z.ZodString;
3205
- type: z.ZodLiteral<"file.processed">;
3206
- stage_id: z.ZodString;
3207
- path: z.ZodString;
3208
- }, z.core.$strict>, z.ZodObject<{
3209
- event_id: z.ZodString;
3210
- run_id: z.ZodString;
3211
- timestamp: z.ZodString;
3212
- type: z.ZodLiteral<"artifact.written">;
3213
- stage_id: z.ZodString;
3214
- artifact: z.ZodObject<{
3215
- path: z.ZodString;
3216
- role: z.ZodEnum<{
3217
- output: "output";
3218
- runtime: "runtime";
3219
- source: "source";
3220
- test: "test";
3221
- proof: "proof";
3222
- }>;
3223
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3224
- label: z.ZodOptional<z.ZodString>;
3225
- sha256: z.ZodOptional<z.ZodString>;
3226
- }, z.core.$strict>;
3227
- }, z.core.$strict>, z.ZodObject<{
3228
- event_id: z.ZodString;
3229
- run_id: z.ZodString;
3230
- timestamp: z.ZodString;
3231
- type: z.ZodLiteral<"proof.updated">;
3232
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3233
- proof: z.ZodObject<{
3234
- id: z.ZodString;
3235
- run_id: z.ZodString;
3236
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3237
- generated_at: z.ZodString;
3238
- summary: z.ZodString;
3239
- files_processed: z.ZodOptional<z.ZodNumber>;
3240
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3241
- path: z.ZodString;
3242
- role: z.ZodEnum<{
3243
- output: "output";
3244
- runtime: "runtime";
3245
- source: "source";
3246
- test: "test";
3247
- proof: "proof";
3248
- }>;
3249
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3250
- label: z.ZodOptional<z.ZodString>;
3251
- sha256: z.ZodOptional<z.ZodString>;
3252
- }, z.core.$strict>>>;
3253
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3254
- id: z.ZodString;
3255
- label: z.ZodString;
3256
- ok: z.ZodBoolean;
3257
- detail: z.ZodOptional<z.ZodString>;
3258
- }, z.core.$strict>>>;
3259
- }, z.core.$strict>;
3260
- }, z.core.$strict>, z.ZodObject<{
3261
- event_id: z.ZodString;
3262
- run_id: z.ZodString;
3263
- timestamp: z.ZodString;
3264
- type: z.ZodLiteral<"log.appended">;
3265
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3266
- stream: z.ZodEnum<{
3267
- status: "status";
3268
- trace: "trace";
3269
- system: "system";
3270
- }>;
3271
- message: z.ZodString;
3272
- }, z.core.$strict>, z.ZodObject<{
3273
- event_id: z.ZodString;
3274
- run_id: z.ZodString;
3275
- timestamp: z.ZodString;
3276
- type: z.ZodLiteral<"stage.passed">;
3277
- stage_id: z.ZodString;
3278
- summary: z.ZodOptional<z.ZodString>;
3279
- }, z.core.$strict>, z.ZodObject<{
3280
- event_id: z.ZodString;
3281
- run_id: z.ZodString;
3282
- timestamp: z.ZodString;
3283
- type: z.ZodLiteral<"stage.failed">;
3284
- stage_id: z.ZodString;
3285
- error: z.ZodString;
3286
- }, z.core.$strict>, z.ZodObject<{
3287
- event_id: z.ZodString;
3288
- run_id: z.ZodString;
3289
- timestamp: z.ZodString;
3290
- type: z.ZodLiteral<"run.completed">;
3291
- summary: z.ZodOptional<z.ZodString>;
3292
- }, z.core.$strict>, z.ZodObject<{
3293
- event_id: z.ZodString;
3294
- run_id: z.ZodString;
3295
- timestamp: z.ZodString;
3296
- type: z.ZodLiteral<"run.failed">;
3297
- error: z.ZodString;
3298
- }, z.core.$strict>, z.ZodObject<{
3299
- event_id: z.ZodString;
3300
- run_id: z.ZodString;
3301
- timestamp: z.ZodString;
3302
- type: z.ZodLiteral<"checks.evaluated">;
3303
- passed: z.ZodNumber;
3304
- total: z.ZodNumber;
3305
- target: z.ZodOptional<z.ZodEnum<{
3306
- compiled: "compiled";
3307
- raw: "raw";
3308
- }>>;
3309
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3310
- stale: z.ZodOptional<z.ZodBoolean>;
3311
- test_run_id: z.ZodOptional<z.ZodString>;
3312
- }, z.core.$strict>, z.ZodObject<{
3313
- event_id: z.ZodString;
3314
- run_id: z.ZodString;
3315
- timestamp: z.ZodString;
3316
- type: z.ZodLiteral<"readiness.updated">;
3317
- preparation: z.ZodString;
3318
- readiness: z.ZodObject<{
3319
- kind: z.ZodLiteral<"interf-readiness-state">;
3320
- version: z.ZodLiteral<1>;
3321
- generated_at: z.ZodString;
3322
- preparation: z.ZodString;
3323
- status: z.ZodEnum<{
3324
- "not-configured": "not-configured";
3325
- "not-built": "not-built";
3326
- building: "building";
3327
- built: "built";
3328
- checking: "checking";
3329
- ready: "ready";
3330
- "not-ready": "not-ready";
3331
- stale: "stale";
3332
- failed: "failed";
3333
- }>;
3334
- ready: z.ZodBoolean;
3335
- summary: z.ZodString;
3336
- portable_context_path: z.ZodNullable<z.ZodString>;
3337
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3338
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3339
- compile: z.ZodNullable<z.ZodObject<{
3340
- gate: z.ZodEnum<{
3341
- "preparation-config": "preparation-config";
3342
- "portable-context": "portable-context";
3343
- "compile-run": "compile-run";
3344
- "readiness-checks": "readiness-checks";
3345
- "source-baseline": "source-baseline";
3346
- "portable-context-check": "portable-context-check";
3347
- "checks-current": "checks-current";
3348
- }>;
3349
- ok: z.ZodBoolean;
3350
- status: z.ZodOptional<z.ZodEnum<{
3351
- "not-configured": "not-configured";
3352
- "not-built": "not-built";
3353
- building: "building";
3354
- built: "built";
3355
- checking: "checking";
3356
- ready: "ready";
3357
- "not-ready": "not-ready";
3358
- stale: "stale";
3359
- failed: "failed";
3360
- }>>;
3361
- summary: z.ZodString;
3362
- detail: z.ZodOptional<z.ZodString>;
3363
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3364
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3365
- }, z.core.$strict>>;
3366
- check_results: z.ZodObject<{
3367
- configured: z.ZodNumber;
3368
- fingerprint: z.ZodNullable<z.ZodString>;
3369
- source_files: z.ZodNullable<z.ZodObject<{
3370
- passed: z.ZodNumber;
3371
- total: z.ZodNumber;
3372
- pass_rate: z.ZodNullable<z.ZodNumber>;
3373
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3374
- stale: z.ZodDefault<z.ZodBoolean>;
3375
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3376
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3377
- }, z.core.$strict>>;
3378
- portable_context: z.ZodNullable<z.ZodObject<{
3379
- passed: z.ZodNumber;
3380
- total: z.ZodNumber;
3381
- pass_rate: z.ZodNullable<z.ZodNumber>;
3382
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3383
- stale: z.ZodDefault<z.ZodBoolean>;
3384
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3385
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3386
- }, z.core.$strict>>;
3387
- }, z.core.$strict>;
3388
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3389
- gate: z.ZodEnum<{
3390
- "preparation-config": "preparation-config";
3391
- "portable-context": "portable-context";
3392
- "compile-run": "compile-run";
3393
- "readiness-checks": "readiness-checks";
3394
- "source-baseline": "source-baseline";
3395
- "portable-context-check": "portable-context-check";
3396
- "checks-current": "checks-current";
3397
- }>;
3398
- ok: z.ZodBoolean;
3399
- status: z.ZodOptional<z.ZodEnum<{
3400
- "not-configured": "not-configured";
3401
- "not-built": "not-built";
3402
- building: "building";
3403
- built: "built";
3404
- checking: "checking";
3405
- ready: "ready";
3406
- "not-ready": "not-ready";
3407
- stale: "stale";
3408
- failed: "failed";
3409
- }>>;
3410
- summary: z.ZodString;
3411
- detail: z.ZodOptional<z.ZodString>;
3412
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3413
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3414
- }, z.core.$strict>>>;
3415
- }, z.core.$strict>;
3416
- }, z.core.$strict>], "type">>>;
3417
- latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3418
- id: z.ZodString;
3419
- run_id: z.ZodString;
3420
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3421
- generated_at: z.ZodString;
3422
- summary: z.ZodString;
3423
- files_processed: z.ZodOptional<z.ZodNumber>;
3424
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3425
- path: z.ZodString;
3426
- role: z.ZodEnum<{
3427
- output: "output";
3428
- runtime: "runtime";
3429
- source: "source";
3430
- test: "test";
3431
- proof: "proof";
3432
- }>;
3433
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3434
- label: z.ZodOptional<z.ZodString>;
3435
- sha256: z.ZodOptional<z.ZodString>;
3436
- }, z.core.$strict>>>;
3437
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3438
- id: z.ZodString;
3439
- label: z.ZodString;
3440
- ok: z.ZodBoolean;
3441
- detail: z.ZodOptional<z.ZodString>;
3442
- }, z.core.$strict>>>;
3443
- }, z.core.$strict>>>;
3444
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3445
- kind: z.ZodLiteral<"interf-readiness-state">;
3446
- version: z.ZodLiteral<1>;
3447
- generated_at: z.ZodString;
3448
- preparation: z.ZodString;
3449
- status: z.ZodEnum<{
3450
- "not-configured": "not-configured";
3451
- "not-built": "not-built";
3452
- building: "building";
3453
- built: "built";
3454
- checking: "checking";
3455
- ready: "ready";
3456
- "not-ready": "not-ready";
3457
- stale: "stale";
3458
- failed: "failed";
3459
- }>;
3460
- ready: z.ZodBoolean;
3461
- summary: z.ZodString;
3462
- portable_context_path: z.ZodNullable<z.ZodString>;
3463
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3464
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3465
- compile: z.ZodNullable<z.ZodObject<{
3466
- gate: z.ZodEnum<{
3467
- "preparation-config": "preparation-config";
3468
- "portable-context": "portable-context";
3469
- "compile-run": "compile-run";
3470
- "readiness-checks": "readiness-checks";
3471
- "source-baseline": "source-baseline";
3472
- "portable-context-check": "portable-context-check";
3473
- "checks-current": "checks-current";
3474
- }>;
3475
- ok: z.ZodBoolean;
3476
- status: z.ZodOptional<z.ZodEnum<{
3477
- "not-configured": "not-configured";
3478
- "not-built": "not-built";
3479
- building: "building";
3480
- built: "built";
3481
- checking: "checking";
3482
- ready: "ready";
3483
- "not-ready": "not-ready";
3484
- stale: "stale";
3485
- failed: "failed";
3486
- }>>;
3487
- summary: z.ZodString;
3488
- detail: z.ZodOptional<z.ZodString>;
3489
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3490
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3491
- }, z.core.$strict>>;
3492
- check_results: z.ZodObject<{
3493
- configured: z.ZodNumber;
3494
- fingerprint: z.ZodNullable<z.ZodString>;
3495
- source_files: z.ZodNullable<z.ZodObject<{
3496
- passed: z.ZodNumber;
3497
- total: z.ZodNumber;
3498
- pass_rate: z.ZodNullable<z.ZodNumber>;
3499
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3500
- stale: z.ZodDefault<z.ZodBoolean>;
3501
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3502
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3503
- }, z.core.$strict>>;
3504
- portable_context: z.ZodNullable<z.ZodObject<{
3505
- passed: z.ZodNumber;
3506
- total: z.ZodNumber;
3507
- pass_rate: z.ZodNullable<z.ZodNumber>;
3508
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3509
- stale: z.ZodDefault<z.ZodBoolean>;
3510
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3511
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3512
- }, z.core.$strict>>;
3513
- }, z.core.$strict>;
3514
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3515
- gate: z.ZodEnum<{
3516
- "preparation-config": "preparation-config";
3517
- "portable-context": "portable-context";
3518
- "compile-run": "compile-run";
3519
- "readiness-checks": "readiness-checks";
3520
- "source-baseline": "source-baseline";
3521
- "portable-context-check": "portable-context-check";
3522
- "checks-current": "checks-current";
3523
- }>;
3524
- ok: z.ZodBoolean;
3525
- status: z.ZodOptional<z.ZodEnum<{
3526
- "not-configured": "not-configured";
3527
- "not-built": "not-built";
3528
- building: "building";
3529
- built: "built";
3530
- checking: "checking";
3531
- ready: "ready";
3532
- "not-ready": "not-ready";
3533
- stale: "stale";
3534
- failed: "failed";
3535
- }>>;
3536
- summary: z.ZodString;
3537
- detail: z.ZodOptional<z.ZodString>;
3538
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3539
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3540
- }, z.core.$strict>>>;
3541
- }, z.core.$strict>>>;
3542
- }, z.core.$strict>;
3543
- }, z.core.$strict>;
3544
- }, z.core.$strict>, z.ZodObject<{
3545
- kind: z.ZodLiteral<"job-run">;
3546
- value: z.ZodObject<{
3547
- kind: z.ZodLiteral<"interf-local-job-run">;
3548
- version: z.ZodLiteral<1>;
3549
- run_id: z.ZodString;
3550
- job_type: z.ZodEnum<{
3551
- "method-authoring": "method-authoring";
3552
- "method-improvement": "method-improvement";
3553
- "readiness-check-draft": "readiness-check-draft";
3554
- }>;
3555
- status: z.ZodEnum<{
3556
- failed: "failed";
3557
- running: "running";
3558
- succeeded: "succeeded";
3559
- cancelled: "cancelled";
3560
- queued: "queued";
3561
- }>;
3562
- title: z.ZodString;
3563
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3564
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3565
- source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3566
- output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3567
- agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3568
- name: z.ZodString;
3569
- display_name: z.ZodString;
3570
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3571
- }, z.core.$strict>>>;
3572
- created_at: z.ZodString;
3573
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3574
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3575
- steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
3576
- id: z.ZodString;
3577
- label: z.ZodString;
3578
- status: z.ZodEnum<{
3579
- failed: "failed";
3580
- running: "running";
3581
- succeeded: "succeeded";
3582
- cancelled: "cancelled";
3583
- queued: "queued";
3584
- }>;
3585
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3586
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3587
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3588
- input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3589
- output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3590
- }, z.core.$strict>>>;
3591
- events: z.ZodDefault<z.ZodArray<z.ZodObject<{
3592
- event_id: z.ZodString;
3593
- run_id: z.ZodString;
3594
- timestamp: z.ZodString;
3595
- type: z.ZodEnum<{
3596
- "artifact.written": "artifact.written";
3597
- "log.appended": "log.appended";
3598
- "job.started": "job.started";
3599
- "step.started": "step.started";
3600
- "step.completed": "step.completed";
3601
- "step.failed": "step.failed";
3602
- "job.completed": "job.completed";
3603
- "job.failed": "job.failed";
3604
- }>;
3605
- step_id: z.ZodOptional<z.ZodString>;
3606
- message: z.ZodOptional<z.ZodString>;
3607
- artifact: z.ZodOptional<z.ZodObject<{
3608
- path: z.ZodString;
3609
- role: z.ZodEnum<{
3610
- output: "output";
3611
- runtime: "runtime";
3612
- source: "source";
3613
- test: "test";
3614
- proof: "proof";
3615
- }>;
3616
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3617
- label: z.ZodOptional<z.ZodString>;
3618
- sha256: z.ZodOptional<z.ZodString>;
3619
- }, z.core.$strict>>;
3620
- input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3621
- output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3622
- }, z.core.$strict>>>;
3623
- result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3624
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3625
- }, z.core.$strict>;
3626
- }, z.core.$strict>, z.ZodObject<{
3627
- kind: z.ZodLiteral<"test-run">;
3628
- value: z.ZodObject<{
3629
- run_id: z.ZodString;
3630
- status: z.ZodEnum<{
3631
- failed: "failed";
3632
- running: "running";
3633
- succeeded: "succeeded";
3634
- cancelled: "cancelled";
3635
- queued: "queued";
3636
- }>;
3637
- preparation: z.ZodString;
3638
- mode: z.ZodEnum<{
3639
- compiled: "compiled";
3640
- raw: "raw";
3641
- both: "both";
3642
- }>;
3643
- source_path: z.ZodString;
3644
- portable_context_path: z.ZodNullable<z.ZodString>;
3645
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3646
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3647
- readiness_run: z.ZodNullable<z.ZodObject<{
3648
- kind: z.ZodLiteral<"interf-readiness-check-run">;
3649
- version: z.ZodLiteral<1>;
3650
- generated_at: z.ZodString;
3651
- mode: z.ZodEnum<{
3652
- compiled: "compiled";
3653
- raw: "raw";
3654
- both: "both";
3655
- }>;
3656
- source_path: z.ZodString;
3657
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3658
- preparation: z.ZodObject<{
3659
- name: z.ZodString;
3660
- portable_context_path: z.ZodNullable<z.ZodString>;
3661
- }, z.core.$strip>;
3662
- raw: z.ZodNullable<z.ZodObject<{
3663
- label: z.ZodString;
3664
- run_path: z.ZodString;
3665
- ok: z.ZodBoolean;
3666
- passed_cases: z.ZodNumber;
3667
- total_cases: z.ZodNumber;
3668
- passed_checks: z.ZodNumber;
3669
- total_checks: z.ZodNumber;
3670
- target: z.ZodObject<{
3671
- type: z.ZodEnum<{
3672
- compiled: "compiled";
3673
- raw: "raw";
3674
- }>;
3675
- name: z.ZodString;
3676
- path: z.ZodString;
3677
- method: z.ZodString;
3678
- }, z.core.$strip>;
3679
- }, z.core.$strip>>;
3680
- compiled: z.ZodNullable<z.ZodObject<{
3681
- label: z.ZodString;
3682
- run_path: z.ZodString;
3683
- ok: z.ZodBoolean;
3684
- passed_cases: z.ZodNumber;
3685
- total_cases: z.ZodNumber;
3686
- passed_checks: z.ZodNumber;
3687
- total_checks: z.ZodNumber;
3688
- target: z.ZodObject<{
3689
- type: z.ZodEnum<{
3690
- compiled: "compiled";
3691
- raw: "raw";
3692
- }>;
3693
- name: z.ZodString;
3694
- path: z.ZodString;
3695
- method: z.ZodString;
3696
- }, z.core.$strip>;
3697
- }, z.core.$strip>>;
3698
- summary: z.ZodObject<{
3699
- source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
3700
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
3701
- }, z.core.$strip>;
3702
- }, z.core.$strip>>;
3703
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3704
- kind: z.ZodLiteral<"interf-readiness-state">;
3705
- version: z.ZodLiteral<1>;
3706
- generated_at: z.ZodString;
3707
- preparation: z.ZodString;
3708
- status: z.ZodEnum<{
3709
- "not-configured": "not-configured";
3710
- "not-built": "not-built";
3711
- building: "building";
3712
- built: "built";
3713
- checking: "checking";
3714
- ready: "ready";
3715
- "not-ready": "not-ready";
3716
- stale: "stale";
3717
- failed: "failed";
3718
- }>;
3719
- ready: z.ZodBoolean;
3720
- summary: z.ZodString;
3721
- portable_context_path: z.ZodNullable<z.ZodString>;
3722
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3723
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3724
- compile: z.ZodNullable<z.ZodObject<{
3725
- gate: z.ZodEnum<{
3726
- "preparation-config": "preparation-config";
3727
- "portable-context": "portable-context";
3728
- "compile-run": "compile-run";
3729
- "readiness-checks": "readiness-checks";
3730
- "source-baseline": "source-baseline";
3731
- "portable-context-check": "portable-context-check";
3732
- "checks-current": "checks-current";
3733
- }>;
3734
- ok: z.ZodBoolean;
3735
- status: z.ZodOptional<z.ZodEnum<{
3736
- "not-configured": "not-configured";
3737
- "not-built": "not-built";
3738
- building: "building";
3739
- built: "built";
3740
- checking: "checking";
3741
- ready: "ready";
3742
- "not-ready": "not-ready";
3743
- stale: "stale";
3744
- failed: "failed";
3745
- }>>;
3746
- summary: z.ZodString;
3747
- detail: z.ZodOptional<z.ZodString>;
3748
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3749
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3750
- }, z.core.$strict>>;
3751
- check_results: z.ZodObject<{
3752
- configured: z.ZodNumber;
3753
- fingerprint: z.ZodNullable<z.ZodString>;
3754
- source_files: z.ZodNullable<z.ZodObject<{
3755
- passed: z.ZodNumber;
3756
- total: z.ZodNumber;
3757
- pass_rate: z.ZodNullable<z.ZodNumber>;
3758
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3759
- stale: z.ZodDefault<z.ZodBoolean>;
3760
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3761
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3762
- }, z.core.$strict>>;
3763
- portable_context: z.ZodNullable<z.ZodObject<{
3764
- passed: z.ZodNumber;
3765
- total: z.ZodNumber;
3766
- pass_rate: z.ZodNullable<z.ZodNumber>;
3767
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3768
- stale: z.ZodDefault<z.ZodBoolean>;
3769
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3770
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3771
- }, z.core.$strict>>;
3772
- }, z.core.$strict>;
3773
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3774
- gate: z.ZodEnum<{
3775
- "preparation-config": "preparation-config";
3776
- "portable-context": "portable-context";
3777
- "compile-run": "compile-run";
3778
- "readiness-checks": "readiness-checks";
3779
- "source-baseline": "source-baseline";
3780
- "portable-context-check": "portable-context-check";
3781
- "checks-current": "checks-current";
3782
- }>;
3783
- ok: z.ZodBoolean;
3784
- status: z.ZodOptional<z.ZodEnum<{
3785
- "not-configured": "not-configured";
3786
- "not-built": "not-built";
3787
- building: "building";
3788
- built: "built";
3789
- checking: "checking";
3790
- ready: "ready";
3791
- "not-ready": "not-ready";
3792
- stale: "stale";
3793
- failed: "failed";
3794
- }>>;
3795
- summary: z.ZodString;
3796
- detail: z.ZodOptional<z.ZodString>;
3797
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3798
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3799
- }, z.core.$strict>>>;
3800
- }, z.core.$strict>>>;
3801
- events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3802
- event_id: z.ZodString;
3803
- run_id: z.ZodString;
3804
- timestamp: z.ZodString;
3805
- type: z.ZodLiteral<"run.started">;
3806
- preparation: z.ZodString;
3807
- method: z.ZodString;
3808
- portable_context_path: z.ZodString;
3809
- backend: z.ZodEnum<{
3810
- native: "native";
3811
- "workflow-sdk": "workflow-sdk";
3812
- }>;
3813
- }, z.core.$strict>, z.ZodObject<{
3814
- event_id: z.ZodString;
3815
- run_id: z.ZodString;
3816
- timestamp: z.ZodString;
3817
- type: z.ZodLiteral<"stage.started">;
3818
- stage_id: z.ZodString;
3819
- stage_index: z.ZodOptional<z.ZodNumber>;
3820
- stage_total: z.ZodOptional<z.ZodNumber>;
3821
- }, z.core.$strict>, z.ZodObject<{
3822
- event_id: z.ZodString;
3823
- run_id: z.ZodString;
3824
- timestamp: z.ZodString;
3825
- type: z.ZodLiteral<"file.processed">;
3826
- stage_id: z.ZodString;
3827
- path: z.ZodString;
3828
- }, z.core.$strict>, z.ZodObject<{
3829
- event_id: z.ZodString;
3830
- run_id: z.ZodString;
3831
- timestamp: z.ZodString;
3832
- type: z.ZodLiteral<"artifact.written">;
3833
- stage_id: z.ZodString;
3834
- artifact: z.ZodObject<{
3835
- path: z.ZodString;
3836
- role: z.ZodEnum<{
3837
- output: "output";
3838
- runtime: "runtime";
3839
- source: "source";
3840
- test: "test";
3841
- proof: "proof";
3842
- }>;
3843
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3844
- label: z.ZodOptional<z.ZodString>;
3845
- sha256: z.ZodOptional<z.ZodString>;
3846
- }, z.core.$strict>;
3847
- }, z.core.$strict>, z.ZodObject<{
3848
- event_id: z.ZodString;
3849
- run_id: z.ZodString;
3850
- timestamp: z.ZodString;
3851
- type: z.ZodLiteral<"proof.updated">;
3852
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3853
- proof: z.ZodObject<{
3854
- id: z.ZodString;
3855
- run_id: z.ZodString;
3856
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3857
- generated_at: z.ZodString;
3858
- summary: z.ZodString;
3859
- files_processed: z.ZodOptional<z.ZodNumber>;
3860
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3861
- path: z.ZodString;
3862
- role: z.ZodEnum<{
3863
- output: "output";
3864
- runtime: "runtime";
3865
- source: "source";
3866
- test: "test";
3867
- proof: "proof";
3868
- }>;
3869
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3870
- label: z.ZodOptional<z.ZodString>;
3871
- sha256: z.ZodOptional<z.ZodString>;
3872
- }, z.core.$strict>>>;
3873
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3874
- id: z.ZodString;
3875
- label: z.ZodString;
3876
- ok: z.ZodBoolean;
3877
- detail: z.ZodOptional<z.ZodString>;
3878
- }, z.core.$strict>>>;
3879
- }, z.core.$strict>;
3880
- }, z.core.$strict>, z.ZodObject<{
3881
- event_id: z.ZodString;
3882
- run_id: z.ZodString;
3883
- timestamp: z.ZodString;
3884
- type: z.ZodLiteral<"log.appended">;
3885
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3886
- stream: z.ZodEnum<{
3887
- status: "status";
3888
- trace: "trace";
3889
- system: "system";
3890
- }>;
3891
- message: z.ZodString;
3892
- }, z.core.$strict>, z.ZodObject<{
3893
- event_id: z.ZodString;
3894
- run_id: z.ZodString;
3895
- timestamp: z.ZodString;
3896
- type: z.ZodLiteral<"stage.passed">;
3897
- stage_id: z.ZodString;
3898
- summary: z.ZodOptional<z.ZodString>;
3899
- }, z.core.$strict>, z.ZodObject<{
3900
- event_id: z.ZodString;
3901
- run_id: z.ZodString;
3902
- timestamp: z.ZodString;
3903
- type: z.ZodLiteral<"stage.failed">;
3904
- stage_id: z.ZodString;
3905
- error: z.ZodString;
3906
- }, z.core.$strict>, z.ZodObject<{
3907
- event_id: z.ZodString;
3908
- run_id: z.ZodString;
3909
- timestamp: z.ZodString;
3910
- type: z.ZodLiteral<"run.completed">;
3911
- summary: z.ZodOptional<z.ZodString>;
3912
- }, z.core.$strict>, z.ZodObject<{
3913
- event_id: z.ZodString;
3914
- run_id: z.ZodString;
3915
- timestamp: z.ZodString;
3916
- type: z.ZodLiteral<"run.failed">;
3917
- error: z.ZodString;
3918
- }, z.core.$strict>, z.ZodObject<{
3919
- event_id: z.ZodString;
3920
- run_id: z.ZodString;
3921
- timestamp: z.ZodString;
3922
- type: z.ZodLiteral<"checks.evaluated">;
3923
- passed: z.ZodNumber;
3924
- total: z.ZodNumber;
3925
- target: z.ZodOptional<z.ZodEnum<{
3926
- compiled: "compiled";
3927
- raw: "raw";
3928
- }>>;
3929
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3930
- stale: z.ZodOptional<z.ZodBoolean>;
3931
- test_run_id: z.ZodOptional<z.ZodString>;
3932
- }, z.core.$strict>, z.ZodObject<{
3933
- event_id: z.ZodString;
3934
- run_id: z.ZodString;
3935
- timestamp: z.ZodString;
3936
- type: z.ZodLiteral<"readiness.updated">;
3937
- preparation: z.ZodString;
3938
- readiness: z.ZodObject<{
3939
- kind: z.ZodLiteral<"interf-readiness-state">;
3940
- version: z.ZodLiteral<1>;
3941
- generated_at: z.ZodString;
3942
- preparation: z.ZodString;
3943
- status: z.ZodEnum<{
3944
- "not-configured": "not-configured";
3945
- "not-built": "not-built";
3946
- building: "building";
3947
- built: "built";
3948
- checking: "checking";
3949
- ready: "ready";
3950
- "not-ready": "not-ready";
3951
- stale: "stale";
3952
- failed: "failed";
3953
- }>;
3954
- ready: z.ZodBoolean;
3955
- summary: z.ZodString;
3956
- portable_context_path: z.ZodNullable<z.ZodString>;
3957
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3958
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3959
- compile: z.ZodNullable<z.ZodObject<{
3960
- gate: z.ZodEnum<{
3961
- "preparation-config": "preparation-config";
3962
- "portable-context": "portable-context";
3963
- "compile-run": "compile-run";
3964
- "readiness-checks": "readiness-checks";
3965
- "source-baseline": "source-baseline";
3966
- "portable-context-check": "portable-context-check";
3967
- "checks-current": "checks-current";
3968
- }>;
3969
- ok: z.ZodBoolean;
3970
- status: z.ZodOptional<z.ZodEnum<{
3971
- "not-configured": "not-configured";
3972
- "not-built": "not-built";
3973
- building: "building";
3974
- built: "built";
3975
- checking: "checking";
3976
- ready: "ready";
3977
- "not-ready": "not-ready";
3978
- stale: "stale";
3979
- failed: "failed";
3980
- }>>;
3981
- summary: z.ZodString;
3982
- detail: z.ZodOptional<z.ZodString>;
3983
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3984
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3985
- }, z.core.$strict>>;
3986
- check_results: z.ZodObject<{
3987
- configured: z.ZodNumber;
3988
- fingerprint: z.ZodNullable<z.ZodString>;
3989
- source_files: z.ZodNullable<z.ZodObject<{
3990
- passed: z.ZodNumber;
3991
- total: z.ZodNumber;
3992
- pass_rate: z.ZodNullable<z.ZodNumber>;
3993
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3994
- stale: z.ZodDefault<z.ZodBoolean>;
3995
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3996
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3997
- }, z.core.$strict>>;
3998
- portable_context: z.ZodNullable<z.ZodObject<{
3999
- passed: z.ZodNumber;
4000
- total: z.ZodNumber;
4001
- pass_rate: z.ZodNullable<z.ZodNumber>;
4002
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4003
- stale: z.ZodDefault<z.ZodBoolean>;
4004
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4005
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4006
- }, z.core.$strict>>;
4007
- }, z.core.$strict>;
4008
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4009
- gate: z.ZodEnum<{
4010
- "preparation-config": "preparation-config";
4011
- "portable-context": "portable-context";
4012
- "compile-run": "compile-run";
4013
- "readiness-checks": "readiness-checks";
4014
- "source-baseline": "source-baseline";
4015
- "portable-context-check": "portable-context-check";
4016
- "checks-current": "checks-current";
4017
- }>;
4018
- ok: z.ZodBoolean;
4019
- status: z.ZodOptional<z.ZodEnum<{
4020
- "not-configured": "not-configured";
4021
- "not-built": "not-built";
4022
- building: "building";
4023
- built: "built";
4024
- checking: "checking";
4025
- ready: "ready";
4026
- "not-ready": "not-ready";
4027
- stale: "stale";
4028
- failed: "failed";
4029
- }>>;
4030
- summary: z.ZodString;
4031
- detail: z.ZodOptional<z.ZodString>;
4032
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4033
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4034
- }, z.core.$strict>>>;
4035
- }, z.core.$strict>;
4036
- }, z.core.$strict>], "type">>>;
4037
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4038
- }, z.core.$strict>;
4039
- }, z.core.$strict>, z.ZodObject<{
4040
- kind: z.ZodLiteral<"run-observability">;
4041
- value: z.ZodObject<{
4042
- kind: z.ZodLiteral<"interf-run-observability">;
4043
- version: z.ZodLiteral<1>;
4044
- run_id: z.ZodString;
4045
- run_type: z.ZodEnum<{
4046
- compile: "compile";
4047
- "method-authoring": "method-authoring";
4048
- "method-improvement": "method-improvement";
4049
- test: "test";
4050
- "readiness-check-draft": "readiness-check-draft";
4051
- job: "job";
4052
- }>;
4053
- title: z.ZodString;
4054
- status: z.ZodEnum<{
4055
- failed: "failed";
4056
- running: "running";
4057
- succeeded: "succeeded";
4058
- cancelled: "cancelled";
4059
- queued: "queued";
4060
- }>;
4061
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4062
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4063
- source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4064
- output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4065
- executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4066
- kind: z.ZodEnum<{
4067
- "local-agent": "local-agent";
4068
- "connected-provider": "connected-provider";
4069
- managed: "managed";
4070
- }>;
4071
- name: z.ZodString;
4072
- display_name: z.ZodString;
4073
- command: z.ZodNullable<z.ZodString>;
4074
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4075
- effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4076
- profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4077
- timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4078
- }, z.core.$strip>>>;
4079
- agent_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4080
- created_at: z.ZodString;
4081
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4082
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4083
- metrics: z.ZodDefault<z.ZodArray<z.ZodObject<{
4084
- label: z.ZodString;
4085
- value: z.ZodString;
4086
- detail: z.ZodOptional<z.ZodString>;
4087
- }, z.core.$strict>>>;
4088
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4089
- path: z.ZodString;
4090
- role: z.ZodEnum<{
4091
- output: "output";
4092
- runtime: "runtime";
4093
- source: "source";
4094
- test: "test";
4095
- proof: "proof";
4096
- }>;
4097
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4098
- label: z.ZodOptional<z.ZodString>;
4099
- sha256: z.ZodOptional<z.ZodString>;
4100
- }, z.core.$strict>>>;
4101
- proof: z.ZodDefault<z.ZodArray<z.ZodObject<{
4102
- id: z.ZodString;
4103
- label: z.ZodString;
4104
- ok: z.ZodBoolean;
4105
- detail: z.ZodOptional<z.ZodString>;
4106
- }, z.core.$strict>>>;
4107
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4108
- kind: z.ZodLiteral<"interf-readiness-state">;
4109
- version: z.ZodLiteral<1>;
4110
- generated_at: z.ZodString;
4111
- preparation: z.ZodString;
4112
- status: z.ZodEnum<{
4113
- "not-configured": "not-configured";
4114
- "not-built": "not-built";
4115
- building: "building";
4116
- built: "built";
4117
- checking: "checking";
4118
- ready: "ready";
4119
- "not-ready": "not-ready";
4120
- stale: "stale";
4121
- failed: "failed";
4122
- }>;
4123
- ready: z.ZodBoolean;
4124
- summary: z.ZodString;
4125
- portable_context_path: z.ZodNullable<z.ZodString>;
4126
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4127
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4128
- compile: z.ZodNullable<z.ZodObject<{
4129
- gate: z.ZodEnum<{
4130
- "preparation-config": "preparation-config";
4131
- "portable-context": "portable-context";
4132
- "compile-run": "compile-run";
4133
- "readiness-checks": "readiness-checks";
4134
- "source-baseline": "source-baseline";
4135
- "portable-context-check": "portable-context-check";
4136
- "checks-current": "checks-current";
4137
- }>;
4138
- ok: z.ZodBoolean;
4139
- status: z.ZodOptional<z.ZodEnum<{
4140
- "not-configured": "not-configured";
4141
- "not-built": "not-built";
4142
- building: "building";
4143
- built: "built";
4144
- checking: "checking";
4145
- ready: "ready";
4146
- "not-ready": "not-ready";
4147
- stale: "stale";
4148
- failed: "failed";
4149
- }>>;
4150
- summary: z.ZodString;
4151
- detail: z.ZodOptional<z.ZodString>;
4152
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4153
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4154
- }, z.core.$strict>>;
4155
- check_results: z.ZodObject<{
4156
- configured: z.ZodNumber;
4157
- fingerprint: z.ZodNullable<z.ZodString>;
4158
- source_files: z.ZodNullable<z.ZodObject<{
4159
- passed: z.ZodNumber;
4160
- total: z.ZodNumber;
4161
- pass_rate: z.ZodNullable<z.ZodNumber>;
4162
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4163
- stale: z.ZodDefault<z.ZodBoolean>;
4164
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4165
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4166
- }, z.core.$strict>>;
4167
- portable_context: z.ZodNullable<z.ZodObject<{
4168
- passed: z.ZodNumber;
4169
- total: z.ZodNumber;
4170
- pass_rate: z.ZodNullable<z.ZodNumber>;
4171
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
- stale: z.ZodDefault<z.ZodBoolean>;
4173
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4174
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4175
- }, z.core.$strict>>;
4176
- }, z.core.$strict>;
4177
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4178
- gate: z.ZodEnum<{
4179
- "preparation-config": "preparation-config";
4180
- "portable-context": "portable-context";
4181
- "compile-run": "compile-run";
4182
- "readiness-checks": "readiness-checks";
4183
- "source-baseline": "source-baseline";
4184
- "portable-context-check": "portable-context-check";
4185
- "checks-current": "checks-current";
4186
- }>;
4187
- ok: z.ZodBoolean;
4188
- status: z.ZodOptional<z.ZodEnum<{
4189
- "not-configured": "not-configured";
4190
- "not-built": "not-built";
4191
- building: "building";
4192
- built: "built";
4193
- checking: "checking";
4194
- ready: "ready";
4195
- "not-ready": "not-ready";
4196
- stale: "stale";
4197
- failed: "failed";
4198
- }>>;
4199
- summary: z.ZodString;
4200
- detail: z.ZodOptional<z.ZodString>;
4201
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4202
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4203
- }, z.core.$strict>>>;
4204
- }, z.core.$strict>>>;
4205
- trace: z.ZodObject<{
4206
- run: z.ZodObject<{
4207
- runId: z.ZodString;
4208
- status: z.ZodEnum<{
4209
- failed: "failed";
4210
- running: "running";
4211
- pending: "pending";
4212
- completed: "completed";
4213
- cancelled: "cancelled";
4214
- }>;
4215
- deploymentId: z.ZodString;
4216
- methodName: z.ZodString;
4217
- specVersion: z.ZodLiteral<1>;
4218
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4219
- input: z.ZodUnknown;
4220
- output: z.ZodOptional<z.ZodUnknown>;
4221
- error: z.ZodOptional<z.ZodObject<{
4222
- message: z.ZodString;
4223
- stack: z.ZodOptional<z.ZodString>;
4224
- code: z.ZodOptional<z.ZodString>;
4225
- }, z.core.$strict>>;
4226
- expiredAt: z.ZodOptional<z.ZodString>;
4227
- startedAt: z.ZodOptional<z.ZodString>;
4228
- completedAt: z.ZodOptional<z.ZodString>;
4229
- createdAt: z.ZodString;
4230
- updatedAt: z.ZodString;
4231
- }, z.core.$strict>;
4232
- events: z.ZodDefault<z.ZodArray<z.ZodObject<{
4233
- runId: z.ZodString;
4234
- eventId: z.ZodString;
4235
- eventType: z.ZodEnum<{
4236
- run_created: "run_created";
4237
- run_started: "run_started";
4238
- run_completed: "run_completed";
4239
- run_failed: "run_failed";
4240
- run_cancelled: "run_cancelled";
4241
- step_created: "step_created";
4242
- step_started: "step_started";
4243
- step_completed: "step_completed";
4244
- step_failed: "step_failed";
4245
- step_retrying: "step_retrying";
4246
- hook_created: "hook_created";
4247
- hook_received: "hook_received";
4248
- hook_disposed: "hook_disposed";
4249
- hook_conflict: "hook_conflict";
4250
- wait_created: "wait_created";
4251
- wait_completed: "wait_completed";
4252
- }>;
4253
- correlationId: z.ZodOptional<z.ZodString>;
4254
- specVersion: z.ZodLiteral<1>;
4255
- createdAt: z.ZodString;
4256
- eventData: z.ZodOptional<z.ZodUnknown>;
4257
- }, z.core.$strict>>>;
4258
- streams: z.ZodDefault<z.ZodArray<z.ZodObject<{
4259
- streamId: z.ZodString;
4260
- chunkId: z.ZodString;
4261
- index: z.ZodNumber;
4262
- createdAt: z.ZodString;
4263
- text: z.ZodString;
4264
- data: z.ZodOptional<z.ZodUnknown>;
4265
- }, z.core.$strict>>>;
4266
- }, z.core.$strict>;
4267
- }, z.core.$strict>;
4268
- }, z.core.$strict>, z.ZodObject<{
4269
- kind: z.ZodLiteral<"executor-status">;
4270
- value: z.ZodObject<{
4271
- kind: z.ZodLiteral<"interf-local-executor-status">;
4272
- version: z.ZodLiteral<1>;
4273
- status: z.ZodEnum<{
4274
- connected: "connected";
4275
- unavailable: "unavailable";
4276
- }>;
4277
- checked_at: z.ZodString;
4278
- executor: z.ZodNullable<z.ZodObject<{
4279
- name: z.ZodString;
4280
- display_name: z.ZodString;
4281
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4282
- }, z.core.$strict>>;
4283
- available_executors: z.ZodDefault<z.ZodArray<z.ZodObject<{
4284
- name: z.ZodString;
4285
- display_name: z.ZodString;
4286
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4287
- current: z.ZodBoolean;
4288
- }, z.core.$strict>>>;
4289
- message: z.ZodString;
4290
- }, z.core.$strict>;
4291
- }, z.core.$strict>, z.ZodObject<{
4292
- kind: z.ZodLiteral<"action-proposal">;
4293
- value: z.ZodDiscriminatedUnion<[z.ZodObject<{
4294
- kind: z.ZodLiteral<"interf-action-proposal">;
4295
- version: z.ZodLiteral<1>;
4296
- proposal_id: z.ZodString;
4297
- status: z.ZodEnum<{
4298
- failed: "failed";
4299
- needs_clarification: "needs_clarification";
4300
- awaiting_approval: "awaiting_approval";
4301
- approved: "approved";
4302
- denied: "denied";
4303
- submitted: "submitted";
4304
- }>;
4305
- title: z.ZodString;
4306
- summary: z.ZodString;
4307
- assistant_message: z.ZodOptional<z.ZodString>;
4308
- command_preview: z.ZodOptional<z.ZodString>;
4309
- message: z.ZodString;
4310
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4311
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4312
- client_origin: z.ZodDefault<z.ZodEnum<{
4313
- unknown: "unknown";
4314
- "ui-chat": "ui-chat";
4315
- cli: "cli";
4316
- "agent-cli": "agent-cli";
4317
- mcp: "mcp";
4318
- service: "service";
4319
- }>>;
4320
- created_at: z.ZodString;
4321
- updated_at: z.ZodString;
4322
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4323
- name: z.ZodString;
4324
- display_name: z.ZodString;
4325
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4326
- }, z.core.$strict>>>;
4327
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4328
- approved: z.ZodBoolean;
4329
- decided_at: z.ZodString;
4330
- note: z.ZodOptional<z.ZodString>;
4331
- }, z.core.$strict>>>;
4332
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4333
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4334
- "compile-run": "compile-run";
4335
- "test-run": "test-run";
4336
- "job-run": "job-run";
4337
- }>>>;
4338
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4339
- action_type: z.ZodLiteral<"clarification">;
4340
- request: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4341
- }, z.core.$strict>, z.ZodObject<{
4342
- kind: z.ZodLiteral<"interf-action-proposal">;
4343
- version: z.ZodLiteral<1>;
4344
- proposal_id: z.ZodString;
4345
- status: z.ZodEnum<{
4346
- failed: "failed";
4347
- needs_clarification: "needs_clarification";
4348
- awaiting_approval: "awaiting_approval";
4349
- approved: "approved";
4350
- denied: "denied";
4351
- submitted: "submitted";
4352
- }>;
4353
- title: z.ZodString;
4354
- summary: z.ZodString;
4355
- assistant_message: z.ZodOptional<z.ZodString>;
4356
- command_preview: z.ZodOptional<z.ZodString>;
4357
- message: z.ZodString;
4358
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4359
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4360
- client_origin: z.ZodDefault<z.ZodEnum<{
4361
- unknown: "unknown";
4362
- "ui-chat": "ui-chat";
4363
- cli: "cli";
4364
- "agent-cli": "agent-cli";
4365
- mcp: "mcp";
4366
- service: "service";
4367
- }>>;
4368
- created_at: z.ZodString;
4369
- updated_at: z.ZodString;
4370
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4371
- name: z.ZodString;
4372
- display_name: z.ZodString;
4373
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4374
- }, z.core.$strict>>>;
4375
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4376
- approved: z.ZodBoolean;
4377
- decided_at: z.ZodString;
4378
- note: z.ZodOptional<z.ZodString>;
4379
- }, z.core.$strict>>>;
4380
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4381
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4382
- "compile-run": "compile-run";
4383
- "test-run": "test-run";
4384
- "job-run": "job-run";
4385
- }>>>;
4386
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4387
- action_type: z.ZodLiteral<"compile">;
4388
- request: z.ZodObject<{
4389
- preparation: z.ZodString;
4390
- method: z.ZodOptional<z.ZodString>;
4391
- max_attempts: z.ZodOptional<z.ZodNumber>;
4392
- max_loops: z.ZodOptional<z.ZodNumber>;
4393
- preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
4394
- "on-failure": "on-failure";
4395
- always: "always";
4396
- }>>;
4397
- }, z.core.$strict>;
4398
- }, z.core.$strict>, z.ZodObject<{
4399
- kind: z.ZodLiteral<"interf-action-proposal">;
4400
- version: z.ZodLiteral<1>;
4401
- proposal_id: z.ZodString;
4402
- status: z.ZodEnum<{
4403
- failed: "failed";
4404
- needs_clarification: "needs_clarification";
4405
- awaiting_approval: "awaiting_approval";
4406
- approved: "approved";
4407
- denied: "denied";
4408
- submitted: "submitted";
4409
- }>;
4410
- title: z.ZodString;
4411
- summary: z.ZodString;
4412
- assistant_message: z.ZodOptional<z.ZodString>;
4413
- command_preview: z.ZodOptional<z.ZodString>;
4414
- message: z.ZodString;
4415
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4416
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4417
- client_origin: z.ZodDefault<z.ZodEnum<{
4418
- unknown: "unknown";
4419
- "ui-chat": "ui-chat";
4420
- cli: "cli";
4421
- "agent-cli": "agent-cli";
4422
- mcp: "mcp";
4423
- service: "service";
4424
- }>>;
4425
- created_at: z.ZodString;
4426
- updated_at: z.ZodString;
4427
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4428
- name: z.ZodString;
4429
- display_name: z.ZodString;
4430
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4431
- }, z.core.$strict>>>;
4432
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4433
- approved: z.ZodBoolean;
4434
- decided_at: z.ZodString;
4435
- note: z.ZodOptional<z.ZodString>;
4436
- }, z.core.$strict>>>;
4437
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4438
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4439
- "compile-run": "compile-run";
4440
- "test-run": "test-run";
4441
- "job-run": "job-run";
4442
- }>>>;
4443
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4444
- action_type: z.ZodLiteral<"test">;
4445
- request: z.ZodObject<{
4446
- preparation: z.ZodString;
4447
- mode: z.ZodDefault<z.ZodEnum<{
4448
- compiled: "compiled";
4449
- raw: "raw";
4450
- both: "both";
4451
- }>>;
4452
- }, z.core.$strict>;
4453
- }, z.core.$strict>, z.ZodObject<{
4454
- kind: z.ZodLiteral<"interf-action-proposal">;
4455
- version: z.ZodLiteral<1>;
4456
- proposal_id: z.ZodString;
4457
- status: z.ZodEnum<{
4458
- failed: "failed";
4459
- needs_clarification: "needs_clarification";
4460
- awaiting_approval: "awaiting_approval";
4461
- approved: "approved";
4462
- denied: "denied";
4463
- submitted: "submitted";
4464
- }>;
4465
- title: z.ZodString;
4466
- summary: z.ZodString;
4467
- assistant_message: z.ZodOptional<z.ZodString>;
4468
- command_preview: z.ZodOptional<z.ZodString>;
4469
- message: z.ZodString;
4470
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4471
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4472
- client_origin: z.ZodDefault<z.ZodEnum<{
4473
- unknown: "unknown";
4474
- "ui-chat": "ui-chat";
4475
- cli: "cli";
4476
- "agent-cli": "agent-cli";
4477
- mcp: "mcp";
4478
- service: "service";
4479
- }>>;
4480
- created_at: z.ZodString;
4481
- updated_at: z.ZodString;
4482
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4483
- name: z.ZodString;
4484
- display_name: z.ZodString;
4485
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4486
- }, z.core.$strict>>>;
4487
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4488
- approved: z.ZodBoolean;
4489
- decided_at: z.ZodString;
4490
- note: z.ZodOptional<z.ZodString>;
4491
- }, z.core.$strict>>>;
4492
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4493
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4494
- "compile-run": "compile-run";
4495
- "test-run": "test-run";
4496
- "job-run": "job-run";
4497
- }>>>;
4498
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4499
- action_type: z.ZodLiteral<"readiness-check-draft">;
4500
- request: z.ZodObject<{
4501
- preparation: z.ZodString;
4502
- source_folder_path: z.ZodString;
4503
- about: z.ZodOptional<z.ZodString>;
4504
- target_count: z.ZodDefault<z.ZodNumber>;
4505
- }, z.core.$strict>;
4506
- }, z.core.$strict>, z.ZodObject<{
4507
- kind: z.ZodLiteral<"interf-action-proposal">;
4508
- version: z.ZodLiteral<1>;
4509
- proposal_id: z.ZodString;
4510
- status: z.ZodEnum<{
4511
- failed: "failed";
4512
- needs_clarification: "needs_clarification";
4513
- awaiting_approval: "awaiting_approval";
4514
- approved: "approved";
4515
- denied: "denied";
4516
- submitted: "submitted";
4517
- }>;
4518
- title: z.ZodString;
4519
- summary: z.ZodString;
4520
- assistant_message: z.ZodOptional<z.ZodString>;
4521
- command_preview: z.ZodOptional<z.ZodString>;
4522
- message: z.ZodString;
4523
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4524
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4525
- client_origin: z.ZodDefault<z.ZodEnum<{
4526
- unknown: "unknown";
4527
- "ui-chat": "ui-chat";
4528
- cli: "cli";
4529
- "agent-cli": "agent-cli";
4530
- mcp: "mcp";
4531
- service: "service";
4532
- }>>;
4533
- created_at: z.ZodString;
4534
- updated_at: z.ZodString;
4535
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4536
- name: z.ZodString;
4537
- display_name: z.ZodString;
4538
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4539
- }, z.core.$strict>>>;
4540
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4541
- approved: z.ZodBoolean;
4542
- decided_at: z.ZodString;
4543
- note: z.ZodOptional<z.ZodString>;
4544
- }, z.core.$strict>>>;
4545
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4546
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4547
- "compile-run": "compile-run";
4548
- "test-run": "test-run";
4549
- "job-run": "job-run";
4550
- }>>>;
4551
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4552
- action_type: z.ZodLiteral<"method-authoring">;
4553
- request: z.ZodObject<{
4554
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4555
- source_folder_path: z.ZodString;
4556
- base_method_id: z.ZodOptional<z.ZodString>;
4557
- reference_method_id: z.ZodOptional<z.ZodString>;
4558
- method_id: z.ZodString;
4559
- label: z.ZodString;
4560
- hint: z.ZodString;
4561
- task_prompt: z.ZodString;
4562
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4563
- id: z.ZodOptional<z.ZodString>;
4564
- question: z.ZodString;
4565
- answer: z.ZodOptional<z.ZodString>;
4566
- expect: z.ZodOptional<z.ZodObject<{
4567
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4568
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4569
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4570
- min_words: z.ZodOptional<z.ZodNumber>;
4571
- max_words: z.ZodOptional<z.ZodNumber>;
4572
- }, z.core.$strip>>;
4573
- strictness: z.ZodOptional<z.ZodString>;
4574
- }, z.core.$strict>>>;
4575
- }, z.core.$strict>;
4576
- }, z.core.$strict>, z.ZodObject<{
4577
- kind: z.ZodLiteral<"interf-action-proposal">;
4578
- version: z.ZodLiteral<1>;
4579
- proposal_id: z.ZodString;
4580
- status: z.ZodEnum<{
4581
- failed: "failed";
4582
- needs_clarification: "needs_clarification";
4583
- awaiting_approval: "awaiting_approval";
4584
- approved: "approved";
4585
- denied: "denied";
4586
- submitted: "submitted";
4587
- }>;
4588
- title: z.ZodString;
4589
- summary: z.ZodString;
4590
- assistant_message: z.ZodOptional<z.ZodString>;
4591
- command_preview: z.ZodOptional<z.ZodString>;
4592
- message: z.ZodString;
4593
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4594
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4595
- client_origin: z.ZodDefault<z.ZodEnum<{
4596
- unknown: "unknown";
4597
- "ui-chat": "ui-chat";
4598
- cli: "cli";
4599
- "agent-cli": "agent-cli";
4600
- mcp: "mcp";
4601
- service: "service";
4602
- }>>;
4603
- created_at: z.ZodString;
4604
- updated_at: z.ZodString;
4605
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4606
- name: z.ZodString;
4607
- display_name: z.ZodString;
4608
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4609
- }, z.core.$strict>>>;
4610
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4611
- approved: z.ZodBoolean;
4612
- decided_at: z.ZodString;
4613
- note: z.ZodOptional<z.ZodString>;
4614
- }, z.core.$strict>>>;
4615
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4616
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4617
- "compile-run": "compile-run";
4618
- "test-run": "test-run";
4619
- "job-run": "job-run";
4620
- }>>>;
4621
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4622
- action_type: z.ZodLiteral<"method-improvement">;
4623
- request: z.ZodObject<{
4624
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4625
- source_folder_path: z.ZodString;
4626
- base_method_id: z.ZodOptional<z.ZodString>;
4627
- reference_method_id: z.ZodOptional<z.ZodString>;
4628
- method_id: z.ZodString;
4629
- label: z.ZodString;
4630
- hint: z.ZodString;
4631
- task_prompt: z.ZodString;
4632
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4633
- id: z.ZodOptional<z.ZodString>;
4634
- question: z.ZodString;
4635
- answer: z.ZodOptional<z.ZodString>;
4636
- expect: z.ZodOptional<z.ZodObject<{
4637
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4638
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4639
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4640
- min_words: z.ZodOptional<z.ZodNumber>;
4641
- max_words: z.ZodOptional<z.ZodNumber>;
4642
- }, z.core.$strip>>;
4643
- strictness: z.ZodOptional<z.ZodString>;
4644
- }, z.core.$strict>>>;
4645
- }, z.core.$strict>;
4646
- }, z.core.$strict>], "action_type">;
4647
- }, z.core.$strict>, z.ZodObject<{
4648
- kind: z.ZodLiteral<"portable-context">;
4649
- value: z.ZodObject<{
4650
- preparation: z.ZodString;
4651
- path: z.ZodString;
4652
- exists: z.ZodBoolean;
4653
- readiness: z.ZodObject<{
4654
- kind: z.ZodLiteral<"interf-readiness-state">;
4655
- version: z.ZodLiteral<1>;
4656
- generated_at: z.ZodString;
4657
- preparation: z.ZodString;
4658
- status: z.ZodEnum<{
4659
- "not-configured": "not-configured";
4660
- "not-built": "not-built";
4661
- building: "building";
4662
- built: "built";
4663
- checking: "checking";
4664
- ready: "ready";
4665
- "not-ready": "not-ready";
4666
- stale: "stale";
4667
- failed: "failed";
4668
- }>;
4669
- ready: z.ZodBoolean;
4670
- summary: z.ZodString;
4671
- portable_context_path: z.ZodNullable<z.ZodString>;
4672
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4673
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4674
- compile: z.ZodNullable<z.ZodObject<{
4675
- gate: z.ZodEnum<{
4676
- "preparation-config": "preparation-config";
4677
- "portable-context": "portable-context";
4678
- "compile-run": "compile-run";
4679
- "readiness-checks": "readiness-checks";
4680
- "source-baseline": "source-baseline";
4681
- "portable-context-check": "portable-context-check";
4682
- "checks-current": "checks-current";
4683
- }>;
4684
- ok: z.ZodBoolean;
4685
- status: z.ZodOptional<z.ZodEnum<{
4686
- "not-configured": "not-configured";
4687
- "not-built": "not-built";
4688
- building: "building";
4689
- built: "built";
4690
- checking: "checking";
4691
- ready: "ready";
4692
- "not-ready": "not-ready";
4693
- stale: "stale";
4694
- failed: "failed";
4695
- }>>;
4696
- summary: z.ZodString;
4697
- detail: z.ZodOptional<z.ZodString>;
4698
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4699
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4700
- }, z.core.$strict>>;
4701
- check_results: z.ZodObject<{
4702
- configured: z.ZodNumber;
4703
- fingerprint: z.ZodNullable<z.ZodString>;
4704
- source_files: z.ZodNullable<z.ZodObject<{
4705
- passed: z.ZodNumber;
4706
- total: z.ZodNumber;
4707
- pass_rate: z.ZodNullable<z.ZodNumber>;
4708
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4709
- stale: z.ZodDefault<z.ZodBoolean>;
4710
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4711
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4712
- }, z.core.$strict>>;
4713
- portable_context: z.ZodNullable<z.ZodObject<{
4714
- passed: z.ZodNumber;
4715
- total: z.ZodNumber;
4716
- pass_rate: z.ZodNullable<z.ZodNumber>;
4717
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4718
- stale: z.ZodDefault<z.ZodBoolean>;
4719
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4720
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4721
- }, z.core.$strict>>;
4722
- }, z.core.$strict>;
4723
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4724
- gate: z.ZodEnum<{
4725
- "preparation-config": "preparation-config";
4726
- "portable-context": "portable-context";
4727
- "compile-run": "compile-run";
4728
- "readiness-checks": "readiness-checks";
4729
- "source-baseline": "source-baseline";
4730
- "portable-context-check": "portable-context-check";
4731
- "checks-current": "checks-current";
4732
- }>;
4733
- ok: z.ZodBoolean;
4734
- status: z.ZodOptional<z.ZodEnum<{
4735
- "not-configured": "not-configured";
4736
- "not-built": "not-built";
4737
- building: "building";
4738
- built: "built";
4739
- checking: "checking";
4740
- ready: "ready";
4741
- "not-ready": "not-ready";
4742
- stale: "stale";
4743
- failed: "failed";
4744
- }>>;
4745
- summary: z.ZodString;
4746
- detail: z.ZodOptional<z.ZodString>;
4747
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4748
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4749
- }, z.core.$strict>>>;
4750
- }, z.core.$strict>;
4751
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4752
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4753
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4754
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4755
- path: z.ZodString;
4756
- role: z.ZodEnum<{
4757
- output: "output";
4758
- runtime: "runtime";
4759
- source: "source";
4760
- test: "test";
4761
- proof: "proof";
4762
- }>;
4763
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4764
- label: z.ZodOptional<z.ZodString>;
4765
- sha256: z.ZodOptional<z.ZodString>;
4766
- }, z.core.$strict>>>;
4767
- }, z.core.$strict>;
4768
- }, z.core.$strict>, z.ZodObject<{
4769
- kind: z.ZodLiteral<"readiness">;
4770
- value: z.ZodObject<{
4771
- kind: z.ZodLiteral<"interf-readiness-state">;
4772
- version: z.ZodLiteral<1>;
4773
- generated_at: z.ZodString;
4774
- preparation: z.ZodString;
4775
- status: z.ZodEnum<{
2834
+ }, z.core.$strict>;
2835
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2836
+ gate: z.ZodEnum<{
2837
+ "portable-context": "portable-context";
2838
+ "preparation-config": "preparation-config";
2839
+ "compile-run": "compile-run";
2840
+ "readiness-checks": "readiness-checks";
2841
+ "checks-current": "checks-current";
2842
+ }>;
2843
+ ok: z.ZodBoolean;
2844
+ status: z.ZodOptional<z.ZodEnum<{
4776
2845
  "not-configured": "not-configured";
4777
2846
  "not-built": "not-built";
4778
2847
  building: "building";
@@ -4782,108 +2851,62 @@ export declare const LocalServiceResourceSchema: z.ZodDiscriminatedUnion<[z.ZodO
4782
2851
  "not-ready": "not-ready";
4783
2852
  stale: "stale";
4784
2853
  failed: "failed";
4785
- }>;
4786
- ready: z.ZodBoolean;
2854
+ }>>;
4787
2855
  summary: z.ZodString;
4788
- portable_context_path: z.ZodNullable<z.ZodString>;
4789
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4790
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4791
- compile: z.ZodNullable<z.ZodObject<{
4792
- gate: z.ZodEnum<{
4793
- "preparation-config": "preparation-config";
4794
- "portable-context": "portable-context";
4795
- "compile-run": "compile-run";
4796
- "readiness-checks": "readiness-checks";
4797
- "source-baseline": "source-baseline";
4798
- "portable-context-check": "portable-context-check";
4799
- "checks-current": "checks-current";
4800
- }>;
4801
- ok: z.ZodBoolean;
4802
- status: z.ZodOptional<z.ZodEnum<{
4803
- "not-configured": "not-configured";
4804
- "not-built": "not-built";
4805
- building: "building";
4806
- built: "built";
4807
- checking: "checking";
4808
- ready: "ready";
4809
- "not-ready": "not-ready";
4810
- stale: "stale";
4811
- failed: "failed";
4812
- }>>;
4813
- summary: z.ZodString;
4814
- detail: z.ZodOptional<z.ZodString>;
4815
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4816
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4817
- }, z.core.$strict>>;
4818
- check_results: z.ZodObject<{
4819
- configured: z.ZodNumber;
4820
- fingerprint: z.ZodNullable<z.ZodString>;
4821
- source_files: z.ZodNullable<z.ZodObject<{
4822
- passed: z.ZodNumber;
4823
- total: z.ZodNumber;
4824
- pass_rate: z.ZodNullable<z.ZodNumber>;
4825
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4826
- stale: z.ZodDefault<z.ZodBoolean>;
4827
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4828
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4829
- }, z.core.$strict>>;
4830
- portable_context: z.ZodNullable<z.ZodObject<{
4831
- passed: z.ZodNumber;
4832
- total: z.ZodNumber;
4833
- pass_rate: z.ZodNullable<z.ZodNumber>;
4834
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4835
- stale: z.ZodDefault<z.ZodBoolean>;
4836
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4837
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4838
- }, z.core.$strict>>;
4839
- }, z.core.$strict>;
4840
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4841
- gate: z.ZodEnum<{
4842
- "preparation-config": "preparation-config";
4843
- "portable-context": "portable-context";
4844
- "compile-run": "compile-run";
4845
- "readiness-checks": "readiness-checks";
4846
- "source-baseline": "source-baseline";
4847
- "portable-context-check": "portable-context-check";
4848
- "checks-current": "checks-current";
4849
- }>;
4850
- ok: z.ZodBoolean;
4851
- status: z.ZodOptional<z.ZodEnum<{
4852
- "not-configured": "not-configured";
4853
- "not-built": "not-built";
4854
- building: "building";
4855
- built: "built";
4856
- checking: "checking";
4857
- ready: "ready";
4858
- "not-ready": "not-ready";
4859
- stale: "stale";
4860
- failed: "failed";
4861
- }>>;
4862
- summary: z.ZodString;
4863
- detail: z.ZodOptional<z.ZodString>;
4864
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4865
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4866
- }, z.core.$strict>>>;
4867
- }, z.core.$strict>;
4868
- }, z.core.$strict>, z.ZodObject<{
4869
- kind: z.ZodLiteral<"source-file">;
4870
- value: z.ZodObject<{
4871
- preparation: z.ZodString;
4872
- path: z.ZodString;
4873
- absolute_path: z.ZodString;
4874
- size_bytes: z.ZodNumber;
4875
- modified_at: z.ZodNullable<z.ZodString>;
4876
- source_folder_path: z.ZodString;
4877
- }, z.core.$strict>;
4878
- }, z.core.$strict>, z.ZodObject<{
4879
- kind: z.ZodLiteral<"workspace-file">;
4880
- value: z.ZodObject<{
4881
- path: z.ZodString;
4882
- absolute_path: z.ZodString;
4883
- size_bytes: z.ZodNumber;
4884
- modified_at: z.ZodNullable<z.ZodString>;
2856
+ detail: z.ZodOptional<z.ZodString>;
2857
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2858
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2859
+ }, z.core.$strict>>>;
2860
+ }, z.core.$strict>;
2861
+ export declare const SourceFileResourceSchema: z.ZodObject<{
2862
+ preparation: z.ZodString;
2863
+ path: z.ZodString;
2864
+ absolute_path: z.ZodString;
2865
+ size_bytes: z.ZodNumber;
2866
+ modified_at: z.ZodNullable<z.ZodString>;
2867
+ source_folder_path: z.ZodString;
2868
+ }, z.core.$strict>;
2869
+ export declare const WorkspaceFileResourceSchema: z.ZodObject<{
2870
+ path: z.ZodString;
2871
+ absolute_path: z.ZodString;
2872
+ size_bytes: z.ZodNumber;
2873
+ modified_at: z.ZodNullable<z.ZodString>;
2874
+ }, z.core.$strict>;
2875
+ export declare const LocalServiceDiscoverySchema: z.ZodObject<{
2876
+ kind: z.ZodLiteral<"interf-local-service-discovery">;
2877
+ version: z.ZodLiteral<1>;
2878
+ resources: z.ZodObject<{
2879
+ preparations: z.ZodString;
2880
+ methods: z.ZodString;
2881
+ runs: z.ZodString;
2882
+ readiness: z.ZodString;
2883
+ portable_contexts: z.ZodString;
2884
+ source_files: z.ZodString;
2885
+ workspace_files: z.ZodString;
2886
+ action_proposals: z.ZodString;
2887
+ preparation_setups: z.ZodString;
2888
+ preparation_changes: z.ZodString;
2889
+ method_changes: z.ZodString;
2890
+ workspace_bootstraps: z.ZodOptional<z.ZodString>;
2891
+ readiness_check_drafts: z.ZodString;
2892
+ method_authoring_runs: z.ZodString;
2893
+ method_improvement_runs: z.ZodString;
2894
+ compile_runs: z.ZodString;
2895
+ verify_runs: z.ZodString;
2896
+ reset: z.ZodString;
2897
+ executor: z.ZodString;
2898
+ agents: z.ZodOptional<z.ZodString>;
2899
+ workspaces: z.ZodOptional<z.ZodString>;
2900
+ status: z.ZodOptional<z.ZodString>;
4885
2901
  }, z.core.$strict>;
4886
- }, z.core.$strict>], "kind">;
2902
+ }, z.core.$strict>;
2903
+ export declare const OpenPathRequestSchema: z.ZodObject<{
2904
+ path: z.ZodString;
2905
+ }, z.core.$strict>;
2906
+ export declare const OpenPathResponseSchema: z.ZodObject<{
2907
+ opened: z.ZodBoolean;
2908
+ path: z.ZodString;
2909
+ }, z.core.$strict>;
4887
2910
  export declare const PreparationListResponseSchema: z.ZodObject<{
4888
2911
  preparations: z.ZodArray<z.ZodObject<{
4889
2912
  id: z.ZodString;
@@ -4957,12 +2980,10 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
4957
2980
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4958
2981
  compile: z.ZodNullable<z.ZodObject<{
4959
2982
  gate: z.ZodEnum<{
4960
- "preparation-config": "preparation-config";
4961
2983
  "portable-context": "portable-context";
2984
+ "preparation-config": "preparation-config";
4962
2985
  "compile-run": "compile-run";
4963
2986
  "readiness-checks": "readiness-checks";
4964
- "source-baseline": "source-baseline";
4965
- "portable-context-check": "portable-context-check";
4966
2987
  "checks-current": "checks-current";
4967
2988
  }>;
4968
2989
  ok: z.ZodBoolean;
@@ -5006,12 +3027,10 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
5006
3027
  }, z.core.$strict>;
5007
3028
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5008
3029
  gate: z.ZodEnum<{
5009
- "preparation-config": "preparation-config";
5010
3030
  "portable-context": "portable-context";
3031
+ "preparation-config": "preparation-config";
5011
3032
  "compile-run": "compile-run";
5012
3033
  "readiness-checks": "readiness-checks";
5013
- "source-baseline": "source-baseline";
5014
- "portable-context-check": "portable-context-check";
5015
3034
  "checks-current": "checks-current";
5016
3035
  }>;
5017
3036
  ok: z.ZodBoolean;
@@ -5060,6 +3079,7 @@ export declare const MethodListResponseSchema: z.ZodObject<{
5060
3079
  description: z.ZodOptional<z.ZodString>;
5061
3080
  contract_type: z.ZodString;
5062
3081
  skill_dir: z.ZodString;
3082
+ role: z.ZodDefault<z.ZodString>;
5063
3083
  reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
5064
3084
  writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
5065
3085
  acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5073,9 +3093,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5073
3093
  version: z.ZodLiteral<1>;
5074
3094
  run_id: z.ZodString;
5075
3095
  status: z.ZodEnum<{
3096
+ succeeded: "succeeded";
5076
3097
  failed: "failed";
5077
3098
  running: "running";
5078
- succeeded: "succeeded";
5079
3099
  cancelled: "cancelled";
5080
3100
  queued: "queued";
5081
3101
  }>;
@@ -5097,9 +3117,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5097
3117
  stage_index: z.ZodOptional<z.ZodNumber>;
5098
3118
  stage_total: z.ZodOptional<z.ZodNumber>;
5099
3119
  status: z.ZodEnum<{
3120
+ succeeded: "succeeded";
5100
3121
  failed: "failed";
5101
3122
  running: "running";
5102
- succeeded: "succeeded";
5103
3123
  queued: "queued";
5104
3124
  }>;
5105
3125
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5130,11 +3150,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5130
3150
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5131
3151
  path: z.ZodString;
5132
3152
  role: z.ZodEnum<{
5133
- output: "output";
5134
3153
  runtime: "runtime";
3154
+ output: "output";
5135
3155
  source: "source";
5136
- test: "test";
5137
3156
  proof: "proof";
3157
+ test: "test";
5138
3158
  }>;
5139
3159
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5140
3160
  label: z.ZodOptional<z.ZodString>;
@@ -5156,11 +3176,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5156
3176
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5157
3177
  path: z.ZodString;
5158
3178
  role: z.ZodEnum<{
5159
- output: "output";
5160
3179
  runtime: "runtime";
3180
+ output: "output";
5161
3181
  source: "source";
5162
- test: "test";
5163
3182
  proof: "proof";
3183
+ test: "test";
5164
3184
  }>;
5165
3185
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
3186
  label: z.ZodOptional<z.ZodString>;
@@ -5211,11 +3231,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5211
3231
  artifact: z.ZodObject<{
5212
3232
  path: z.ZodString;
5213
3233
  role: z.ZodEnum<{
5214
- output: "output";
5215
3234
  runtime: "runtime";
3235
+ output: "output";
5216
3236
  source: "source";
5217
- test: "test";
5218
3237
  proof: "proof";
3238
+ test: "test";
5219
3239
  }>;
5220
3240
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
3241
  label: z.ZodOptional<z.ZodString>;
@@ -5237,11 +3257,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5237
3257
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5238
3258
  path: z.ZodString;
5239
3259
  role: z.ZodEnum<{
5240
- output: "output";
5241
3260
  runtime: "runtime";
3261
+ output: "output";
5242
3262
  source: "source";
5243
- test: "test";
5244
3263
  proof: "proof";
3264
+ test: "test";
5245
3265
  }>;
5246
3266
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5247
3267
  label: z.ZodOptional<z.ZodString>;
@@ -5300,8 +3320,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5300
3320
  passed: z.ZodNumber;
5301
3321
  total: z.ZodNumber;
5302
3322
  target: z.ZodOptional<z.ZodEnum<{
3323
+ "source-files": "source-files";
5303
3324
  compiled: "compiled";
5304
- raw: "raw";
5305
3325
  }>>;
5306
3326
  checks_fingerprint: z.ZodOptional<z.ZodString>;
5307
3327
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -5335,12 +3355,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5335
3355
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5336
3356
  compile: z.ZodNullable<z.ZodObject<{
5337
3357
  gate: z.ZodEnum<{
5338
- "preparation-config": "preparation-config";
5339
3358
  "portable-context": "portable-context";
3359
+ "preparation-config": "preparation-config";
5340
3360
  "compile-run": "compile-run";
5341
3361
  "readiness-checks": "readiness-checks";
5342
- "source-baseline": "source-baseline";
5343
- "portable-context-check": "portable-context-check";
5344
3362
  "checks-current": "checks-current";
5345
3363
  }>;
5346
3364
  ok: z.ZodBoolean;
@@ -5384,12 +3402,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5384
3402
  }, z.core.$strict>;
5385
3403
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5386
3404
  gate: z.ZodEnum<{
5387
- "preparation-config": "preparation-config";
5388
3405
  "portable-context": "portable-context";
3406
+ "preparation-config": "preparation-config";
5389
3407
  "compile-run": "compile-run";
5390
3408
  "readiness-checks": "readiness-checks";
5391
- "source-baseline": "source-baseline";
5392
- "portable-context-check": "portable-context-check";
5393
3409
  "checks-current": "checks-current";
5394
3410
  }>;
5395
3411
  ok: z.ZodBoolean;
@@ -5421,11 +3437,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5421
3437
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5422
3438
  path: z.ZodString;
5423
3439
  role: z.ZodEnum<{
5424
- output: "output";
5425
3440
  runtime: "runtime";
3441
+ output: "output";
5426
3442
  source: "source";
5427
- test: "test";
5428
3443
  proof: "proof";
3444
+ test: "test";
5429
3445
  }>;
5430
3446
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5431
3447
  label: z.ZodOptional<z.ZodString>;
@@ -5461,12 +3477,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5461
3477
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5462
3478
  compile: z.ZodNullable<z.ZodObject<{
5463
3479
  gate: z.ZodEnum<{
5464
- "preparation-config": "preparation-config";
5465
3480
  "portable-context": "portable-context";
3481
+ "preparation-config": "preparation-config";
5466
3482
  "compile-run": "compile-run";
5467
3483
  "readiness-checks": "readiness-checks";
5468
- "source-baseline": "source-baseline";
5469
- "portable-context-check": "portable-context-check";
5470
3484
  "checks-current": "checks-current";
5471
3485
  }>;
5472
3486
  ok: z.ZodBoolean;
@@ -5510,12 +3524,10 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5510
3524
  }, z.core.$strict>;
5511
3525
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5512
3526
  gate: z.ZodEnum<{
5513
- "preparation-config": "preparation-config";
5514
3527
  "portable-context": "portable-context";
3528
+ "preparation-config": "preparation-config";
5515
3529
  "compile-run": "compile-run";
5516
3530
  "readiness-checks": "readiness-checks";
5517
- "source-baseline": "source-baseline";
5518
- "portable-context-check": "portable-context-check";
5519
3531
  "checks-current": "checks-current";
5520
3532
  }>;
5521
3533
  ok: z.ZodBoolean;
@@ -5550,9 +3562,9 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5550
3562
  "readiness-check-draft": "readiness-check-draft";
5551
3563
  }>;
5552
3564
  status: z.ZodEnum<{
3565
+ succeeded: "succeeded";
5553
3566
  failed: "failed";
5554
3567
  running: "running";
5555
- succeeded: "succeeded";
5556
3568
  cancelled: "cancelled";
5557
3569
  queued: "queued";
5558
3570
  }>;
@@ -5573,9 +3585,9 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5573
3585
  id: z.ZodString;
5574
3586
  label: z.ZodString;
5575
3587
  status: z.ZodEnum<{
3588
+ succeeded: "succeeded";
5576
3589
  failed: "failed";
5577
3590
  running: "running";
5578
- succeeded: "succeeded";
5579
3591
  cancelled: "cancelled";
5580
3592
  queued: "queued";
5581
3593
  }>;
@@ -5604,11 +3616,11 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5604
3616
  artifact: z.ZodOptional<z.ZodObject<{
5605
3617
  path: z.ZodString;
5606
3618
  role: z.ZodEnum<{
5607
- output: "output";
5608
3619
  runtime: "runtime";
3620
+ output: "output";
5609
3621
  source: "source";
5610
- test: "test";
5611
3622
  proof: "proof";
3623
+ test: "test";
5612
3624
  }>;
5613
3625
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5614
3626
  label: z.ZodOptional<z.ZodString>;
@@ -5621,22 +3633,17 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5621
3633
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5622
3634
  }, z.core.$strict>>;
5623
3635
  }, z.core.$strict>;
5624
- export declare const TestRunListResponseSchema: z.ZodObject<{
5625
- test_runs: z.ZodArray<z.ZodObject<{
3636
+ export declare const VerifyRunListResponseSchema: z.ZodObject<{
3637
+ verify_runs: z.ZodArray<z.ZodObject<{
5626
3638
  run_id: z.ZodString;
5627
3639
  status: z.ZodEnum<{
3640
+ succeeded: "succeeded";
5628
3641
  failed: "failed";
5629
3642
  running: "running";
5630
- succeeded: "succeeded";
5631
3643
  cancelled: "cancelled";
5632
3644
  queued: "queued";
5633
3645
  }>;
5634
3646
  preparation: z.ZodString;
5635
- mode: z.ZodEnum<{
5636
- compiled: "compiled";
5637
- raw: "raw";
5638
- both: "both";
5639
- }>;
5640
3647
  source_path: z.ZodString;
5641
3648
  portable_context_path: z.ZodNullable<z.ZodString>;
5642
3649
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5646,8 +3653,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5646
3653
  version: z.ZodLiteral<1>;
5647
3654
  generated_at: z.ZodString;
5648
3655
  mode: z.ZodEnum<{
3656
+ "source-files": "source-files";
5649
3657
  compiled: "compiled";
5650
- raw: "raw";
5651
3658
  both: "both";
5652
3659
  }>;
5653
3660
  source_path: z.ZodString;
@@ -5656,7 +3663,7 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5656
3663
  name: z.ZodString;
5657
3664
  portable_context_path: z.ZodNullable<z.ZodString>;
5658
3665
  }, z.core.$strip>;
5659
- raw: z.ZodNullable<z.ZodObject<{
3666
+ source_files: z.ZodNullable<z.ZodObject<{
5660
3667
  label: z.ZodString;
5661
3668
  run_path: z.ZodString;
5662
3669
  ok: z.ZodBoolean;
@@ -5666,8 +3673,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5666
3673
  total_checks: z.ZodNumber;
5667
3674
  target: z.ZodObject<{
5668
3675
  type: z.ZodEnum<{
3676
+ "source-files": "source-files";
5669
3677
  compiled: "compiled";
5670
- raw: "raw";
5671
3678
  }>;
5672
3679
  name: z.ZodString;
5673
3680
  path: z.ZodString;
@@ -5684,8 +3691,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5684
3691
  total_checks: z.ZodNumber;
5685
3692
  target: z.ZodObject<{
5686
3693
  type: z.ZodEnum<{
3694
+ "source-files": "source-files";
5687
3695
  compiled: "compiled";
5688
- raw: "raw";
5689
3696
  }>;
5690
3697
  name: z.ZodString;
5691
3698
  path: z.ZodString;
@@ -5720,12 +3727,10 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5720
3727
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5721
3728
  compile: z.ZodNullable<z.ZodObject<{
5722
3729
  gate: z.ZodEnum<{
5723
- "preparation-config": "preparation-config";
5724
3730
  "portable-context": "portable-context";
3731
+ "preparation-config": "preparation-config";
5725
3732
  "compile-run": "compile-run";
5726
3733
  "readiness-checks": "readiness-checks";
5727
- "source-baseline": "source-baseline";
5728
- "portable-context-check": "portable-context-check";
5729
3734
  "checks-current": "checks-current";
5730
3735
  }>;
5731
3736
  ok: z.ZodBoolean;
@@ -5769,12 +3774,10 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5769
3774
  }, z.core.$strict>;
5770
3775
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5771
3776
  gate: z.ZodEnum<{
5772
- "preparation-config": "preparation-config";
5773
3777
  "portable-context": "portable-context";
3778
+ "preparation-config": "preparation-config";
5774
3779
  "compile-run": "compile-run";
5775
3780
  "readiness-checks": "readiness-checks";
5776
- "source-baseline": "source-baseline";
5777
- "portable-context-check": "portable-context-check";
5778
3781
  "checks-current": "checks-current";
5779
3782
  }>;
5780
3783
  ok: z.ZodBoolean;
@@ -5831,11 +3834,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5831
3834
  artifact: z.ZodObject<{
5832
3835
  path: z.ZodString;
5833
3836
  role: z.ZodEnum<{
5834
- output: "output";
5835
3837
  runtime: "runtime";
3838
+ output: "output";
5836
3839
  source: "source";
5837
- test: "test";
5838
3840
  proof: "proof";
3841
+ test: "test";
5839
3842
  }>;
5840
3843
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5841
3844
  label: z.ZodOptional<z.ZodString>;
@@ -5857,11 +3860,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5857
3860
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5858
3861
  path: z.ZodString;
5859
3862
  role: z.ZodEnum<{
5860
- output: "output";
5861
3863
  runtime: "runtime";
3864
+ output: "output";
5862
3865
  source: "source";
5863
- test: "test";
5864
3866
  proof: "proof";
3867
+ test: "test";
5865
3868
  }>;
5866
3869
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5867
3870
  label: z.ZodOptional<z.ZodString>;
@@ -5920,8 +3923,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5920
3923
  passed: z.ZodNumber;
5921
3924
  total: z.ZodNumber;
5922
3925
  target: z.ZodOptional<z.ZodEnum<{
3926
+ "source-files": "source-files";
5923
3927
  compiled: "compiled";
5924
- raw: "raw";
5925
3928
  }>>;
5926
3929
  checks_fingerprint: z.ZodOptional<z.ZodString>;
5927
3930
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -5955,12 +3958,10 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5955
3958
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5956
3959
  compile: z.ZodNullable<z.ZodObject<{
5957
3960
  gate: z.ZodEnum<{
5958
- "preparation-config": "preparation-config";
5959
3961
  "portable-context": "portable-context";
3962
+ "preparation-config": "preparation-config";
5960
3963
  "compile-run": "compile-run";
5961
3964
  "readiness-checks": "readiness-checks";
5962
- "source-baseline": "source-baseline";
5963
- "portable-context-check": "portable-context-check";
5964
3965
  "checks-current": "checks-current";
5965
3966
  }>;
5966
3967
  ok: z.ZodBoolean;
@@ -6004,12 +4005,10 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
6004
4005
  }, z.core.$strict>;
6005
4006
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6006
4007
  gate: z.ZodEnum<{
6007
- "preparation-config": "preparation-config";
6008
4008
  "portable-context": "portable-context";
4009
+ "preparation-config": "preparation-config";
6009
4010
  "compile-run": "compile-run";
6010
4011
  "readiness-checks": "readiness-checks";
6011
- "source-baseline": "source-baseline";
6012
- "portable-context-check": "portable-context-check";
6013
4012
  "checks-current": "checks-current";
6014
4013
  }>;
6015
4014
  ok: z.ZodBoolean;
@@ -6043,15 +4042,15 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6043
4042
  compile: "compile";
6044
4043
  "method-authoring": "method-authoring";
6045
4044
  "method-improvement": "method-improvement";
6046
- test: "test";
4045
+ verify: "verify";
6047
4046
  "readiness-check-draft": "readiness-check-draft";
6048
4047
  job: "job";
6049
4048
  }>;
6050
4049
  title: z.ZodString;
6051
4050
  status: z.ZodEnum<{
4051
+ succeeded: "succeeded";
6052
4052
  failed: "failed";
6053
4053
  running: "running";
6054
- succeeded: "succeeded";
6055
4054
  cancelled: "cancelled";
6056
4055
  queued: "queued";
6057
4056
  }>;
@@ -6085,11 +4084,11 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6085
4084
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
6086
4085
  path: z.ZodString;
6087
4086
  role: z.ZodEnum<{
6088
- output: "output";
6089
4087
  runtime: "runtime";
4088
+ output: "output";
6090
4089
  source: "source";
6091
- test: "test";
6092
4090
  proof: "proof";
4091
+ test: "test";
6093
4092
  }>;
6094
4093
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6095
4094
  label: z.ZodOptional<z.ZodString>;
@@ -6124,12 +4123,10 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6124
4123
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6125
4124
  compile: z.ZodNullable<z.ZodObject<{
6126
4125
  gate: z.ZodEnum<{
6127
- "preparation-config": "preparation-config";
6128
4126
  "portable-context": "portable-context";
4127
+ "preparation-config": "preparation-config";
6129
4128
  "compile-run": "compile-run";
6130
4129
  "readiness-checks": "readiness-checks";
6131
- "source-baseline": "source-baseline";
6132
- "portable-context-check": "portable-context-check";
6133
4130
  "checks-current": "checks-current";
6134
4131
  }>;
6135
4132
  ok: z.ZodBoolean;
@@ -6173,12 +4170,10 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6173
4170
  }, z.core.$strict>;
6174
4171
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6175
4172
  gate: z.ZodEnum<{
6176
- "preparation-config": "preparation-config";
6177
4173
  "portable-context": "portable-context";
4174
+ "preparation-config": "preparation-config";
6178
4175
  "compile-run": "compile-run";
6179
4176
  "readiness-checks": "readiness-checks";
6180
- "source-baseline": "source-baseline";
6181
- "portable-context-check": "portable-context-check";
6182
4177
  "checks-current": "checks-current";
6183
4178
  }>;
6184
4179
  ok: z.ZodBoolean;
@@ -6285,10 +4280,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6285
4280
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6286
4281
  client_origin: z.ZodDefault<z.ZodEnum<{
6287
4282
  unknown: "unknown";
4283
+ mcp: "mcp";
6288
4284
  "ui-chat": "ui-chat";
6289
4285
  cli: "cli";
6290
4286
  "agent-cli": "agent-cli";
6291
- mcp: "mcp";
6292
4287
  service: "service";
6293
4288
  }>>;
6294
4289
  created_at: z.ZodString;
@@ -6306,7 +4301,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6306
4301
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6307
4302
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6308
4303
  "compile-run": "compile-run";
6309
- "test-run": "test-run";
4304
+ "verify-run": "verify-run";
6310
4305
  "job-run": "job-run";
6311
4306
  }>>>;
6312
4307
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6333,10 +4328,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6333
4328
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6334
4329
  client_origin: z.ZodDefault<z.ZodEnum<{
6335
4330
  unknown: "unknown";
4331
+ mcp: "mcp";
6336
4332
  "ui-chat": "ui-chat";
6337
4333
  cli: "cli";
6338
4334
  "agent-cli": "agent-cli";
6339
- mcp: "mcp";
6340
4335
  service: "service";
6341
4336
  }>>;
6342
4337
  created_at: z.ZodString;
@@ -6354,7 +4349,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6354
4349
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6355
4350
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6356
4351
  "compile-run": "compile-run";
6357
- "test-run": "test-run";
4352
+ "verify-run": "verify-run";
6358
4353
  "job-run": "job-run";
6359
4354
  }>>>;
6360
4355
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6390,10 +4385,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6390
4385
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6391
4386
  client_origin: z.ZodDefault<z.ZodEnum<{
6392
4387
  unknown: "unknown";
4388
+ mcp: "mcp";
6393
4389
  "ui-chat": "ui-chat";
6394
4390
  cli: "cli";
6395
4391
  "agent-cli": "agent-cli";
6396
- mcp: "mcp";
6397
4392
  service: "service";
6398
4393
  }>>;
6399
4394
  created_at: z.ZodString;
@@ -6411,18 +4406,13 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6411
4406
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6412
4407
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6413
4408
  "compile-run": "compile-run";
6414
- "test-run": "test-run";
4409
+ "verify-run": "verify-run";
6415
4410
  "job-run": "job-run";
6416
4411
  }>>>;
6417
4412
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6418
4413
  action_type: z.ZodLiteral<"test">;
6419
4414
  request: z.ZodObject<{
6420
4415
  preparation: z.ZodString;
6421
- mode: z.ZodDefault<z.ZodEnum<{
6422
- compiled: "compiled";
6423
- raw: "raw";
6424
- both: "both";
6425
- }>>;
6426
4416
  }, z.core.$strict>;
6427
4417
  }, z.core.$strict>, z.ZodObject<{
6428
4418
  kind: z.ZodLiteral<"interf-action-proposal">;
@@ -6445,10 +4435,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6445
4435
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6446
4436
  client_origin: z.ZodDefault<z.ZodEnum<{
6447
4437
  unknown: "unknown";
4438
+ mcp: "mcp";
6448
4439
  "ui-chat": "ui-chat";
6449
4440
  cli: "cli";
6450
4441
  "agent-cli": "agent-cli";
6451
- mcp: "mcp";
6452
4442
  service: "service";
6453
4443
  }>>;
6454
4444
  created_at: z.ZodString;
@@ -6466,7 +4456,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6466
4456
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6467
4457
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6468
4458
  "compile-run": "compile-run";
6469
- "test-run": "test-run";
4459
+ "verify-run": "verify-run";
6470
4460
  "job-run": "job-run";
6471
4461
  }>>>;
6472
4462
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6498,10 +4488,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6498
4488
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6499
4489
  client_origin: z.ZodDefault<z.ZodEnum<{
6500
4490
  unknown: "unknown";
4491
+ mcp: "mcp";
6501
4492
  "ui-chat": "ui-chat";
6502
4493
  cli: "cli";
6503
4494
  "agent-cli": "agent-cli";
6504
- mcp: "mcp";
6505
4495
  service: "service";
6506
4496
  }>>;
6507
4497
  created_at: z.ZodString;
@@ -6519,7 +4509,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6519
4509
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6520
4510
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6521
4511
  "compile-run": "compile-run";
6522
- "test-run": "test-run";
4512
+ "verify-run": "verify-run";
6523
4513
  "job-run": "job-run";
6524
4514
  }>>>;
6525
4515
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6568,10 +4558,10 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6568
4558
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6569
4559
  client_origin: z.ZodDefault<z.ZodEnum<{
6570
4560
  unknown: "unknown";
4561
+ mcp: "mcp";
6571
4562
  "ui-chat": "ui-chat";
6572
4563
  cli: "cli";
6573
4564
  "agent-cli": "agent-cli";
6574
- mcp: "mcp";
6575
4565
  service: "service";
6576
4566
  }>>;
6577
4567
  created_at: z.ZodString;
@@ -6589,7 +4579,7 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6589
4579
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6590
4580
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6591
4581
  "compile-run": "compile-run";
6592
- "test-run": "test-run";
4582
+ "verify-run": "verify-run";
6593
4583
  "job-run": "job-run";
6594
4584
  }>>>;
6595
4585
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6647,12 +4637,10 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6647
4637
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6648
4638
  compile: z.ZodNullable<z.ZodObject<{
6649
4639
  gate: z.ZodEnum<{
6650
- "preparation-config": "preparation-config";
6651
4640
  "portable-context": "portable-context";
4641
+ "preparation-config": "preparation-config";
6652
4642
  "compile-run": "compile-run";
6653
4643
  "readiness-checks": "readiness-checks";
6654
- "source-baseline": "source-baseline";
6655
- "portable-context-check": "portable-context-check";
6656
4644
  "checks-current": "checks-current";
6657
4645
  }>;
6658
4646
  ok: z.ZodBoolean;
@@ -6696,12 +4684,10 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6696
4684
  }, z.core.$strict>;
6697
4685
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6698
4686
  gate: z.ZodEnum<{
6699
- "preparation-config": "preparation-config";
6700
4687
  "portable-context": "portable-context";
4688
+ "preparation-config": "preparation-config";
6701
4689
  "compile-run": "compile-run";
6702
4690
  "readiness-checks": "readiness-checks";
6703
- "source-baseline": "source-baseline";
6704
- "portable-context-check": "portable-context-check";
6705
4691
  "checks-current": "checks-current";
6706
4692
  }>;
6707
4693
  ok: z.ZodBoolean;
@@ -6728,11 +4714,11 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6728
4714
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
6729
4715
  path: z.ZodString;
6730
4716
  role: z.ZodEnum<{
6731
- output: "output";
6732
4717
  runtime: "runtime";
4718
+ output: "output";
6733
4719
  source: "source";
6734
- test: "test";
6735
4720
  proof: "proof";
4721
+ test: "test";
6736
4722
  }>;
6737
4723
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6738
4724
  label: z.ZodOptional<z.ZodString>;
@@ -6764,12 +4750,10 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
6764
4750
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6765
4751
  compile: z.ZodNullable<z.ZodObject<{
6766
4752
  gate: z.ZodEnum<{
6767
- "preparation-config": "preparation-config";
6768
4753
  "portable-context": "portable-context";
4754
+ "preparation-config": "preparation-config";
6769
4755
  "compile-run": "compile-run";
6770
4756
  "readiness-checks": "readiness-checks";
6771
- "source-baseline": "source-baseline";
6772
- "portable-context-check": "portable-context-check";
6773
4757
  "checks-current": "checks-current";
6774
4758
  }>;
6775
4759
  ok: z.ZodBoolean;
@@ -6813,12 +4797,10 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
6813
4797
  }, z.core.$strict>;
6814
4798
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6815
4799
  gate: z.ZodEnum<{
6816
- "preparation-config": "preparation-config";
6817
4800
  "portable-context": "portable-context";
4801
+ "preparation-config": "preparation-config";
6818
4802
  "compile-run": "compile-run";
6819
4803
  "readiness-checks": "readiness-checks";
6820
- "source-baseline": "source-baseline";
6821
- "portable-context-check": "portable-context-check";
6822
4804
  "checks-current": "checks-current";
6823
4805
  }>;
6824
4806
  ok: z.ZodBoolean;
@@ -6862,7 +4844,7 @@ export type LocalServiceConfig = z.infer<typeof LocalServiceConfigSchema>;
6862
4844
  export type LocalServiceError = z.infer<typeof LocalServiceErrorSchema>;
6863
4845
  export type LocalServiceHealth = z.infer<typeof LocalServiceHealthSchema>;
6864
4846
  export type LocalServicePointer = z.infer<typeof LocalServicePointerSchema>;
6865
- export type PreparationReadinessState = z.infer<typeof PreparationReadinessStateSchema>;
4847
+ export type LocalServiceAuthToken = z.infer<typeof LocalServiceAuthTokenSchema>;
6866
4848
  export type PortableContextMapping = z.infer<typeof PortableContextMappingSchema>;
6867
4849
  export type PreparationRunLinkage = z.infer<typeof PreparationRunLinkageSchema>;
6868
4850
  export type PreparationResource = z.infer<typeof PreparationResourceSchema>;
@@ -6894,9 +4876,9 @@ export type MethodAuthoringCreateRequest = z.infer<typeof MethodAuthoringCreateR
6894
4876
  export type MethodAuthoringResult = z.infer<typeof MethodAuthoringResultSchema>;
6895
4877
  export type LocalJobEventAppendRequest = z.infer<typeof LocalJobEventAppendRequestSchema>;
6896
4878
  export type LocalJobRunResource = z.infer<typeof LocalJobRunResourceSchema>;
6897
- export type TestRunStatus = z.infer<typeof TestRunStatusSchema>;
6898
- export type TestRunCreateRequest = z.infer<typeof TestRunCreateRequestSchema>;
6899
- export type TestRunResource = z.infer<typeof TestRunResourceSchema>;
4879
+ export type VerifyRunStatus = z.infer<typeof VerifyRunStatusSchema>;
4880
+ export type VerifyRunCreateRequest = z.infer<typeof VerifyRunCreateRequestSchema>;
4881
+ export type VerifyRunResource = z.infer<typeof VerifyRunResourceSchema>;
6900
4882
  export type RunObservabilityResource = z.infer<typeof RunObservabilityResourceSchema>;
6901
4883
  export type LocalExecutorStatus = z.infer<typeof LocalExecutorStatusSchema>;
6902
4884
  export type ActionProposalType = z.infer<typeof ActionProposalTypeSchema>;
@@ -6913,15 +4895,17 @@ export type ReadinessResource = z.infer<typeof ReadinessResourceSchema>;
6913
4895
  export type OpenPathRequest = z.infer<typeof OpenPathRequestSchema>;
6914
4896
  export type OpenPathResponse = z.infer<typeof OpenPathResponseSchema>;
6915
4897
  export type LocalServiceDiscovery = z.infer<typeof LocalServiceDiscoverySchema>;
6916
- export type LocalServiceResource = z.infer<typeof LocalServiceResourceSchema>;
6917
4898
  export type PreparationListResponse = z.infer<typeof PreparationListResponseSchema>;
6918
4899
  export type MethodListResponse = z.infer<typeof MethodListResponseSchema>;
6919
4900
  export type CompileRunListResponse = z.infer<typeof CompileRunListResponseSchema>;
6920
4901
  export type LocalJobRunListResponse = z.infer<typeof LocalJobRunListResponseSchema>;
6921
- export type TestRunListResponse = z.infer<typeof TestRunListResponseSchema>;
4902
+ export type VerifyRunListResponse = z.infer<typeof VerifyRunListResponseSchema>;
6922
4903
  export type RunObservabilityListResponse = z.infer<typeof RunObservabilityListResponseSchema>;
6923
4904
  export type ActionProposalListResponse = z.infer<typeof ActionProposalListResponseSchema>;
6924
4905
  export type PortableContextListResponse = z.infer<typeof PortableContextListResponseSchema>;
6925
4906
  export type ReadinessListResponse = z.infer<typeof ReadinessListResponseSchema>;
6926
4907
  export type SourceFileListResponse = z.infer<typeof SourceFileListResponseSchema>;
6927
4908
  export type WorkspaceFileListResponse = z.infer<typeof WorkspaceFileListResponseSchema>;
4909
+ export type ServiceRegistryWorkspace = z.infer<typeof ServiceRegistryWorkspaceSchema>;
4910
+ export type ServiceRegistryEntry = z.infer<typeof ServiceRegistryEntrySchema>;
4911
+ export type ServiceRegistry = z.infer<typeof ServiceRegistrySchema>;