clinkx 1.2.0 → 1.4.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 (371) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +17 -8
  3. package/clinkx-workflows/dist/architecture-arena/admission.d.ts +16 -0
  4. package/clinkx-workflows/dist/architecture-arena/admission.js +107 -0
  5. package/clinkx-workflows/dist/architecture-arena/admission.js.map +1 -0
  6. package/clinkx-workflows/dist/architecture-arena/contract.d.ts +1368 -0
  7. package/clinkx-workflows/dist/architecture-arena/contract.js +254 -0
  8. package/clinkx-workflows/dist/architecture-arena/contract.js.map +1 -0
  9. package/clinkx-workflows/dist/architecture-arena/runtime.d.ts +53 -0
  10. package/clinkx-workflows/dist/architecture-arena/runtime.js +511 -0
  11. package/clinkx-workflows/dist/architecture-arena/runtime.js.map +1 -0
  12. package/clinkx-workflows/dist/architecture-comparison/admission.d.ts +17 -1
  13. package/clinkx-workflows/dist/architecture-comparison/admission.js +27 -4
  14. package/clinkx-workflows/dist/architecture-comparison/admission.js.map +1 -1
  15. package/clinkx-workflows/dist/architecture-comparison/contract.d.ts +59 -62
  16. package/clinkx-workflows/dist/architecture-comparison/contract.js +4 -21
  17. package/clinkx-workflows/dist/architecture-comparison/contract.js.map +1 -1
  18. package/clinkx-workflows/dist/architecture-comparison/runtime.d.ts +4 -3
  19. package/clinkx-workflows/dist/architecture-comparison/runtime.js +22 -67
  20. package/clinkx-workflows/dist/architecture-comparison/runtime.js.map +1 -1
  21. package/clinkx-workflows/dist/artifacts.d.ts +19 -4
  22. package/clinkx-workflows/dist/artifacts.js +16 -7
  23. package/clinkx-workflows/dist/artifacts.js.map +1 -1
  24. package/clinkx-workflows/dist/backend.d.ts +30 -0
  25. package/clinkx-workflows/dist/child-env.d.ts +3 -0
  26. package/clinkx-workflows/dist/child-env.js +11 -0
  27. package/clinkx-workflows/dist/child-env.js.map +1 -1
  28. package/clinkx-workflows/dist/clink-client.d.ts +8 -2
  29. package/clinkx-workflows/dist/clink-client.js +4 -2
  30. package/clinkx-workflows/dist/clink-client.js.map +1 -1
  31. package/clinkx-workflows/dist/context-preflight.d.ts +6 -0
  32. package/clinkx-workflows/dist/context-preflight.js.map +1 -1
  33. package/clinkx-workflows/dist/council-execution-policy.d.ts +3 -1
  34. package/clinkx-workflows/dist/council-execution-policy.js +4 -0
  35. package/clinkx-workflows/dist/council-execution-policy.js.map +1 -1
  36. package/clinkx-workflows/dist/dashboard/api-routes.d.ts +21 -0
  37. package/clinkx-workflows/dist/dashboard/api-routes.js +27 -0
  38. package/clinkx-workflows/dist/dashboard/api-routes.js.map +1 -1
  39. package/clinkx-workflows/dist/dashboard/auth/challenge-store.d.ts +13 -0
  40. package/clinkx-workflows/dist/dashboard/auth/challenge-store.js.map +1 -1
  41. package/clinkx-workflows/dist/dashboard/auth/controller.d.ts +27 -0
  42. package/clinkx-workflows/dist/dashboard/auth/controller.js +262 -23
  43. package/clinkx-workflows/dist/dashboard/auth/controller.js.map +1 -1
  44. package/clinkx-workflows/dist/dashboard/auth/settings-step-up.d.ts +62 -0
  45. package/clinkx-workflows/dist/dashboard/auth/settings-step-up.js +70 -0
  46. package/clinkx-workflows/dist/dashboard/auth/settings-step-up.js.map +1 -0
  47. package/clinkx-workflows/dist/dashboard/contracts.d.ts +586 -586
  48. package/clinkx-workflows/dist/dashboard/progress-report-contract.d.ts +28 -28
  49. package/clinkx-workflows/dist/dashboard/request-admission.d.ts +6 -0
  50. package/clinkx-workflows/dist/dashboard/request-admission.js +9 -0
  51. package/clinkx-workflows/dist/dashboard/request-admission.js.map +1 -1
  52. package/clinkx-workflows/dist/dashboard/server-factory.js +15 -1
  53. package/clinkx-workflows/dist/dashboard/server-factory.js.map +1 -1
  54. package/clinkx-workflows/dist/dashboard/session-log-contract.d.ts +32 -32
  55. package/clinkx-workflows/dist/dashboard/settings-contract.d.ts +1806 -0
  56. package/clinkx-workflows/dist/dashboard/settings-contract.js +630 -0
  57. package/clinkx-workflows/dist/dashboard/settings-contract.js.map +1 -0
  58. package/clinkx-workflows/dist/dashboard/settings-process-reader.d.ts +48 -0
  59. package/clinkx-workflows/dist/dashboard/settings-process-reader.js +195 -0
  60. package/clinkx-workflows/dist/dashboard/settings-process-reader.js.map +1 -0
  61. package/clinkx-workflows/dist/dashboard/settings-routes.d.ts +87 -0
  62. package/clinkx-workflows/dist/dashboard/settings-routes.js +690 -0
  63. package/clinkx-workflows/dist/dashboard/settings-routes.js.map +1 -0
  64. package/clinkx-workflows/dist/dashboard-ui/assets/index-DSOtuS0p.js +122 -0
  65. package/clinkx-workflows/dist/dashboard-ui/assets/style-C5guUjwN.css +1 -0
  66. package/clinkx-workflows/dist/dashboard-ui/index.html +2 -2
  67. package/clinkx-workflows/dist/delegate-signature.d.ts +4 -3
  68. package/clinkx-workflows/dist/delegate-signature.js +4 -3
  69. package/clinkx-workflows/dist/delegate-signature.js.map +1 -1
  70. package/clinkx-workflows/dist/durable-file-core.d.ts +76 -0
  71. package/clinkx-workflows/dist/durable-file-core.js +146 -0
  72. package/clinkx-workflows/dist/durable-file-core.js.map +1 -0
  73. package/clinkx-workflows/dist/durable-file.d.ts +13 -0
  74. package/clinkx-workflows/dist/durable-file.js +22 -0
  75. package/clinkx-workflows/dist/durable-file.js.map +1 -0
  76. package/clinkx-workflows/dist/engine.d.ts +42 -7
  77. package/clinkx-workflows/dist/engine.js +196 -24
  78. package/clinkx-workflows/dist/engine.js.map +1 -1
  79. package/clinkx-workflows/dist/index.js +68 -2
  80. package/clinkx-workflows/dist/index.js.map +1 -1
  81. package/clinkx-workflows/dist/ping-pong/admission.d.ts +127 -0
  82. package/clinkx-workflows/dist/ping-pong/admission.js +522 -0
  83. package/clinkx-workflows/dist/ping-pong/admission.js.map +1 -0
  84. package/clinkx-workflows/dist/ping-pong/contract.d.ts +2539 -0
  85. package/clinkx-workflows/dist/ping-pong/contract.js +819 -0
  86. package/clinkx-workflows/dist/ping-pong/contract.js.map +1 -0
  87. package/clinkx-workflows/dist/ping-pong/control.d.ts +67 -0
  88. package/clinkx-workflows/dist/ping-pong/control.js +12 -0
  89. package/clinkx-workflows/dist/ping-pong/control.js.map +1 -0
  90. package/clinkx-workflows/dist/ping-pong/runtime-handle.d.ts +24 -0
  91. package/clinkx-workflows/dist/ping-pong/runtime-handle.js +55 -0
  92. package/clinkx-workflows/dist/ping-pong/runtime-handle.js.map +1 -0
  93. package/clinkx-workflows/dist/ping-pong/runtime.d.ts +235 -0
  94. package/clinkx-workflows/dist/ping-pong/runtime.js +1183 -0
  95. package/clinkx-workflows/dist/ping-pong/runtime.js.map +1 -0
  96. package/clinkx-workflows/dist/ping-pong/settle.d.ts +57 -0
  97. package/clinkx-workflows/dist/ping-pong/settle.js +58 -0
  98. package/clinkx-workflows/dist/ping-pong/settle.js.map +1 -0
  99. package/clinkx-workflows/dist/ping-pong/sidecar.d.ts +65 -0
  100. package/clinkx-workflows/dist/ping-pong/sidecar.js +138 -0
  101. package/clinkx-workflows/dist/ping-pong/sidecar.js.map +1 -0
  102. package/clinkx-workflows/dist/plan-review/publication.d.ts +2 -1
  103. package/clinkx-workflows/dist/plan-review/publication.js +5 -6
  104. package/clinkx-workflows/dist/plan-review/publication.js.map +1 -1
  105. package/clinkx-workflows/dist/plan-review/snapshot.d.ts +3 -2
  106. package/clinkx-workflows/dist/plan-review/snapshot.js +8 -8
  107. package/clinkx-workflows/dist/plan-review/snapshot.js.map +1 -1
  108. package/clinkx-workflows/dist/recipe-host.d.ts +315 -0
  109. package/clinkx-workflows/dist/recipe-host.js +183 -0
  110. package/clinkx-workflows/dist/recipe-host.js.map +1 -0
  111. package/clinkx-workflows/dist/recipe-seats.d.ts +96 -0
  112. package/clinkx-workflows/dist/recipe-seats.js +163 -0
  113. package/clinkx-workflows/dist/recipe-seats.js.map +1 -0
  114. package/clinkx-workflows/dist/recipe-shared/evidence.d.ts +67 -0
  115. package/clinkx-workflows/dist/recipe-shared/evidence.js +111 -0
  116. package/clinkx-workflows/dist/recipe-shared/evidence.js.map +1 -0
  117. package/clinkx-workflows/dist/reducers/index.d.ts +9 -1
  118. package/clinkx-workflows/dist/reducers/index.js +30 -0
  119. package/clinkx-workflows/dist/reducers/index.js.map +1 -1
  120. package/clinkx-workflows/dist/run-lock-reclaim.d.ts +44 -0
  121. package/clinkx-workflows/dist/run-lock-reclaim.js +86 -0
  122. package/clinkx-workflows/dist/run-lock-reclaim.js.map +1 -0
  123. package/clinkx-workflows/dist/settings/audit.d.ts +101 -0
  124. package/clinkx-workflows/dist/settings/audit.js +318 -0
  125. package/clinkx-workflows/dist/settings/audit.js.map +1 -0
  126. package/clinkx-workflows/dist/settings/bootstrap.d.ts +35 -0
  127. package/clinkx-workflows/dist/settings/bootstrap.js +52 -0
  128. package/clinkx-workflows/dist/settings/bootstrap.js.map +1 -0
  129. package/clinkx-workflows/dist/settings/codec.d.ts +51 -0
  130. package/clinkx-workflows/dist/settings/codec.js +410 -0
  131. package/clinkx-workflows/dist/settings/codec.js.map +1 -0
  132. package/clinkx-workflows/dist/settings/durable-write.d.ts +48 -0
  133. package/clinkx-workflows/dist/settings/durable-write.js +31 -0
  134. package/clinkx-workflows/dist/settings/durable-write.js.map +1 -0
  135. package/clinkx-workflows/dist/settings/index.d.ts +20 -0
  136. package/clinkx-workflows/dist/settings/index.js +23 -0
  137. package/clinkx-workflows/dist/settings/index.js.map +1 -0
  138. package/clinkx-workflows/dist/settings/loader.d.ts +80 -0
  139. package/clinkx-workflows/dist/settings/loader.js +577 -0
  140. package/clinkx-workflows/dist/settings/loader.js.map +1 -0
  141. package/clinkx-workflows/dist/settings/lock.d.ts +108 -0
  142. package/clinkx-workflows/dist/settings/lock.js +344 -0
  143. package/clinkx-workflows/dist/settings/lock.js.map +1 -0
  144. package/clinkx-workflows/dist/settings/paths.d.ts +65 -0
  145. package/clinkx-workflows/dist/settings/paths.js +173 -0
  146. package/clinkx-workflows/dist/settings/paths.js.map +1 -0
  147. package/clinkx-workflows/dist/settings/process-heartbeat.d.ts +47 -0
  148. package/clinkx-workflows/dist/settings/process-heartbeat.js +305 -0
  149. package/clinkx-workflows/dist/settings/process-heartbeat.js.map +1 -0
  150. package/clinkx-workflows/dist/settings/registry.d.ts +178 -0
  151. package/clinkx-workflows/dist/settings/registry.js +1285 -0
  152. package/clinkx-workflows/dist/settings/registry.js.map +1 -0
  153. package/clinkx-workflows/dist/settings/schema.d.ts +404 -0
  154. package/clinkx-workflows/dist/settings/schema.js +415 -0
  155. package/clinkx-workflows/dist/settings/schema.js.map +1 -0
  156. package/clinkx-workflows/dist/settings/store.d.ts +157 -0
  157. package/clinkx-workflows/dist/settings/store.js +842 -0
  158. package/clinkx-workflows/dist/settings/store.js.map +1 -0
  159. package/clinkx-workflows/dist/state-schema.d.ts +11 -0
  160. package/clinkx-workflows/dist/state-schema.js +4 -1
  161. package/clinkx-workflows/dist/state-schema.js.map +1 -1
  162. package/clinkx-workflows/dist/state.d.ts +178 -3
  163. package/clinkx-workflows/dist/state.js +618 -83
  164. package/clinkx-workflows/dist/state.js.map +1 -1
  165. package/clinkx-workflows/dist/stdio-entry.d.ts +2 -0
  166. package/clinkx-workflows/dist/stdio-entry.js +52 -0
  167. package/clinkx-workflows/dist/stdio-entry.js.map +1 -0
  168. package/clinkx-workflows/dist/transport.d.ts +2 -1
  169. package/clinkx-workflows/dist/transport.js +5 -0
  170. package/clinkx-workflows/dist/transport.js.map +1 -1
  171. package/clinkx-workflows/dist/validators/architecture-arena.d.ts +6 -0
  172. package/clinkx-workflows/dist/validators/architecture-arena.js +16 -0
  173. package/clinkx-workflows/dist/validators/architecture-arena.js.map +1 -0
  174. package/clinkx-workflows/dist/validators/index.js +4 -0
  175. package/clinkx-workflows/dist/validators/index.js.map +1 -1
  176. package/clinkx-workflows/dist/validators/ping-pong.d.ts +6 -0
  177. package/clinkx-workflows/dist/validators/ping-pong.js +10 -0
  178. package/clinkx-workflows/dist/validators/ping-pong.js.map +1 -0
  179. package/clinkx-workflows/dist/workflow-tools.d.ts +51 -5
  180. package/clinkx-workflows/dist/workflow-tools.js +785 -34
  181. package/clinkx-workflows/dist/workflow-tools.js.map +1 -1
  182. package/clinkx-workflows/dist/workflow-verification-contract.d.ts +4 -4
  183. package/clinkx-workflows/templates/architecture-arena/candidate.txt +39 -0
  184. package/clinkx-workflows/templates/architecture-arena/judge.txt +34 -0
  185. package/clinkx-workflows/templates/ping-pong/implement.txt +14 -0
  186. package/clinkx-workflows/templates/ping-pong/remediate.txt +14 -0
  187. package/clinkx-workflows/templates/ping-pong/review.txt +27 -0
  188. package/clinkx-workflows/workflows/architecture-arena.yaml +127 -0
  189. package/clinkx-workflows/workflows/ping-pong.yaml +158 -0
  190. package/dist/context-builder/bundle.js +4 -3
  191. package/dist/context-builder/bundle.js.map +1 -1
  192. package/dist/context-builder/delegate-packet.d.ts +1 -0
  193. package/dist/context-builder/delegate-packet.js +66 -7
  194. package/dist/context-builder/delegate-packet.js.map +1 -1
  195. package/dist/context-builder/delegate-validation.d.ts +12 -3
  196. package/dist/context-builder/delegate-validation.js +23 -13
  197. package/dist/context-builder/delegate-validation.js.map +1 -1
  198. package/dist/context-builder/external-gaps.d.ts +14 -3
  199. package/dist/context-builder/external-gaps.js +124 -18
  200. package/dist/context-builder/external-gaps.js.map +1 -1
  201. package/dist/context-builder/handler.js +108 -191
  202. package/dist/context-builder/handler.js.map +1 -1
  203. package/dist/context-builder/review-coverage.js +27 -1
  204. package/dist/context-builder/review-coverage.js.map +1 -1
  205. package/dist/context-builder/secrets.js +1 -1
  206. package/dist/context-builder/secrets.js.map +1 -1
  207. package/dist/context-builder/versions.d.ts +10 -4
  208. package/dist/context-builder/versions.js +10 -4
  209. package/dist/context-builder/versions.js.map +1 -1
  210. package/dist/context-builder/workflow-runner.js +33 -24
  211. package/dist/context-builder/workflow-runner.js.map +1 -1
  212. package/dist/dashboard-cli.d.ts +2 -0
  213. package/dist/dashboard-cli.js +197 -58
  214. package/dist/dashboard-cli.js.map +1 -1
  215. package/dist/dashboard-companion/client.d.ts +10 -0
  216. package/dist/dashboard-companion/client.js +43 -1
  217. package/dist/dashboard-companion/client.js.map +1 -1
  218. package/dist/dashboard-companion/config.d.ts +19 -1
  219. package/dist/dashboard-companion/config.js +104 -3
  220. package/dist/dashboard-companion/config.js.map +1 -1
  221. package/dist/dashboard-companion/protocol.d.ts +16 -0
  222. package/dist/dashboard-companion/protocol.js +55 -1
  223. package/dist/dashboard-companion/protocol.js.map +1 -1
  224. package/dist/dashboard-companion/workstation-binding.d.ts +69 -0
  225. package/dist/dashboard-companion/workstation-binding.js +192 -0
  226. package/dist/dashboard-companion/workstation-binding.js.map +1 -0
  227. package/dist/dashboard-gateway/admin-cli.d.ts +10 -0
  228. package/dist/dashboard-gateway/admin-cli.js +266 -0
  229. package/dist/dashboard-gateway/admin-cli.js.map +1 -0
  230. package/dist/dashboard-gateway/config.d.ts +50 -0
  231. package/dist/dashboard-gateway/config.js +235 -1
  232. package/dist/dashboard-gateway/config.js.map +1 -1
  233. package/dist/dashboard-gateway/connection-registry.d.ts +100 -0
  234. package/dist/dashboard-gateway/connection-registry.js +228 -0
  235. package/dist/dashboard-gateway/connection-registry.js.map +1 -0
  236. package/dist/dashboard-gateway/control-plane/account-auth.d.ts +78 -0
  237. package/dist/dashboard-gateway/control-plane/account-auth.js +198 -0
  238. package/dist/dashboard-gateway/control-plane/account-auth.js.map +1 -0
  239. package/dist/dashboard-gateway/control-plane/billing.d.ts +264 -0
  240. package/dist/dashboard-gateway/control-plane/billing.js +787 -0
  241. package/dist/dashboard-gateway/control-plane/billing.js.map +1 -0
  242. package/dist/dashboard-gateway/control-plane/contracts.d.ts +1293 -0
  243. package/dist/dashboard-gateway/control-plane/contracts.js +280 -0
  244. package/dist/dashboard-gateway/control-plane/contracts.js.map +1 -0
  245. package/dist/dashboard-gateway/control-plane/cookies.d.ts +13 -0
  246. package/dist/dashboard-gateway/control-plane/cookies.js +46 -0
  247. package/dist/dashboard-gateway/control-plane/cookies.js.map +1 -0
  248. package/dist/dashboard-gateway/control-plane/credentials.d.ts +63 -0
  249. package/dist/dashboard-gateway/control-plane/credentials.js +66 -0
  250. package/dist/dashboard-gateway/control-plane/credentials.js.map +1 -0
  251. package/dist/dashboard-gateway/control-plane/entitlements.d.ts +118 -0
  252. package/dist/dashboard-gateway/control-plane/entitlements.js +329 -0
  253. package/dist/dashboard-gateway/control-plane/entitlements.js.map +1 -0
  254. package/dist/dashboard-gateway/control-plane/errors.d.ts +17 -0
  255. package/dist/dashboard-gateway/control-plane/errors.js +23 -0
  256. package/dist/dashboard-gateway/control-plane/errors.js.map +1 -0
  257. package/dist/dashboard-gateway/control-plane/hosts.d.ts +6 -0
  258. package/dist/dashboard-gateway/control-plane/hosts.js +16 -0
  259. package/dist/dashboard-gateway/control-plane/hosts.js.map +1 -0
  260. package/dist/dashboard-gateway/control-plane/http.d.ts +34 -0
  261. package/dist/dashboard-gateway/control-plane/http.js +331 -0
  262. package/dist/dashboard-gateway/control-plane/http.js.map +1 -0
  263. package/dist/dashboard-gateway/control-plane/schema.d.ts +9 -0
  264. package/dist/dashboard-gateway/control-plane/schema.js +247 -0
  265. package/dist/dashboard-gateway/control-plane/schema.js.map +1 -0
  266. package/dist/dashboard-gateway/control-plane/secrets.d.ts +20 -0
  267. package/dist/dashboard-gateway/control-plane/secrets.js +39 -0
  268. package/dist/dashboard-gateway/control-plane/secrets.js.map +1 -0
  269. package/dist/dashboard-gateway/control-plane/store.d.ts +579 -0
  270. package/dist/dashboard-gateway/control-plane/store.js +1115 -0
  271. package/dist/dashboard-gateway/control-plane/store.js.map +1 -0
  272. package/dist/dashboard-gateway/cookie-boundary.d.ts +60 -0
  273. package/dist/dashboard-gateway/cookie-boundary.js +205 -0
  274. package/dist/dashboard-gateway/cookie-boundary.js.map +1 -0
  275. package/dist/dashboard-gateway/index.js +271 -494
  276. package/dist/dashboard-gateway/index.js.map +1 -1
  277. package/dist/dashboard-gateway/main.js +7 -2
  278. package/dist/dashboard-gateway/main.js.map +1 -1
  279. package/dist/dashboard-gateway/routing.d.ts +43 -0
  280. package/dist/dashboard-gateway/routing.js +65 -0
  281. package/dist/dashboard-gateway/routing.js.map +1 -0
  282. package/dist/dashboard-gateway/tenant-gateway.d.ts +56 -0
  283. package/dist/dashboard-gateway/tenant-gateway.js +989 -0
  284. package/dist/dashboard-gateway/tenant-gateway.js.map +1 -0
  285. package/dist/dashboard-gateway/tenant-main.d.ts +41 -0
  286. package/dist/dashboard-gateway/tenant-main.js +303 -0
  287. package/dist/dashboard-gateway/tenant-main.js.map +1 -0
  288. package/dist/dashboard-gateway/tunnel-errors.d.ts +16 -0
  289. package/dist/dashboard-gateway/tunnel-errors.js +22 -0
  290. package/dist/dashboard-gateway/tunnel-errors.js.map +1 -0
  291. package/dist/dashboard-gateway/tunnel-http.d.ts +21 -0
  292. package/dist/dashboard-gateway/tunnel-http.js +195 -0
  293. package/dist/dashboard-gateway/tunnel-http.js.map +1 -0
  294. package/dist/elaris/config.d.ts +10 -0
  295. package/dist/elaris/config.js +27 -1
  296. package/dist/elaris/config.js.map +1 -1
  297. package/dist/elaris/tools.js +4 -1
  298. package/dist/elaris/tools.js.map +1 -1
  299. package/dist/handler.d.ts +6 -0
  300. package/dist/handler.js +17 -1
  301. package/dist/handler.js.map +1 -1
  302. package/dist/index.d.ts +0 -31
  303. package/dist/index.js +41 -404
  304. package/dist/index.js.map +1 -1
  305. package/dist/lib.d.ts +17 -0
  306. package/dist/lib.js +17 -0
  307. package/dist/lib.js.map +1 -0
  308. package/dist/local-clink-backend.d.ts +2 -1
  309. package/dist/local-clink-backend.js +28 -4
  310. package/dist/local-clink-backend.js.map +1 -1
  311. package/dist/parsers/extract.d.ts +19 -1
  312. package/dist/parsers/extract.js +68 -3
  313. package/dist/parsers/extract.js.map +1 -1
  314. package/dist/pipeline.d.ts +17 -1
  315. package/dist/pipeline.js +34 -6
  316. package/dist/pipeline.js.map +1 -1
  317. package/dist/process-group.d.ts +65 -0
  318. package/dist/process-group.js +153 -0
  319. package/dist/process-group.js.map +1 -0
  320. package/dist/progress-report/lock.d.ts +17 -59
  321. package/dist/progress-report/lock.js +25 -329
  322. package/dist/progress-report/lock.js.map +1 -1
  323. package/dist/progress-report/schema.d.ts +23 -23
  324. package/dist/project-verification/files.js +1 -1
  325. package/dist/project-verification/files.js.map +1 -1
  326. package/dist/project-verification/process.js +23 -44
  327. package/dist/project-verification/process.js.map +1 -1
  328. package/dist/project-verification/service.js +9 -1
  329. package/dist/project-verification/service.js.map +1 -1
  330. package/dist/prompt.d.ts +7 -0
  331. package/dist/prompt.js +18 -1
  332. package/dist/prompt.js.map +1 -1
  333. package/dist/recipe-host/git-trust.d.ts +43 -0
  334. package/dist/recipe-host/git-trust.js +360 -0
  335. package/dist/recipe-host/git-trust.js.map +1 -0
  336. package/dist/recipe-host/git.d.ts +42 -0
  337. package/dist/recipe-host/git.js +207 -0
  338. package/dist/recipe-host/git.js.map +1 -0
  339. package/dist/recipe-host/native-recipe-host.d.ts +127 -0
  340. package/dist/recipe-host/native-recipe-host.js +880 -0
  341. package/dist/recipe-host/native-recipe-host.js.map +1 -0
  342. package/dist/recipe-host/seat-cwd.d.ts +16 -0
  343. package/dist/recipe-host/seat-cwd.js +170 -0
  344. package/dist/recipe-host/seat-cwd.js.map +1 -0
  345. package/dist/runner.d.ts +43 -1
  346. package/dist/runner.js +234 -35
  347. package/dist/runner.js.map +1 -1
  348. package/dist/server.js +84 -5
  349. package/dist/server.js.map +1 -1
  350. package/dist/settings-cli/clients.d.ts +137 -0
  351. package/dist/settings-cli/clients.js +1124 -0
  352. package/dist/settings-cli/clients.js.map +1 -0
  353. package/dist/settings-cli/commands.d.ts +67 -0
  354. package/dist/settings-cli/commands.js +726 -0
  355. package/dist/settings-cli/commands.js.map +1 -0
  356. package/dist/settings-cli/format.d.ts +34 -0
  357. package/dist/settings-cli/format.js +40 -0
  358. package/dist/settings-cli/format.js.map +1 -0
  359. package/dist/settings-cli/main.d.ts +18 -0
  360. package/dist/settings-cli/main.js +256 -0
  361. package/dist/settings-cli/main.js.map +1 -0
  362. package/dist/stdio-main.d.ts +73 -0
  363. package/dist/stdio-main.js +455 -0
  364. package/dist/stdio-main.js.map +1 -0
  365. package/docs/configuration.md +362 -40
  366. package/docs/engineering-recipes.md +291 -0
  367. package/docs/security.md +234 -6
  368. package/docs/verification/project-checks.md +24 -2
  369. package/package.json +6 -2
  370. package/clinkx-workflows/dist/dashboard-ui/assets/index-BdpmbPps.js +0 -115
  371. package/clinkx-workflows/dist/dashboard-ui/assets/style-Im5i1iAs.css +0 -1
@@ -35,13 +35,13 @@ export declare const DashboardRemoteFragmentInputSchema: z.ZodObject<{
35
35
  agentInstanceId: z.ZodString;
36
36
  token: z.ZodString;
37
37
  }, "strict", z.ZodTypeAny, {
38
+ token: string;
38
39
  apiOrigin: string;
39
40
  agentInstanceId: string;
40
- token: string;
41
41
  }, {
42
+ token: string;
42
43
  apiOrigin: string;
43
44
  agentInstanceId: string;
44
- token: string;
45
45
  }>;
46
46
  export type DashboardRemoteAccessConfig = z.infer<typeof DashboardRemoteAccessConfigSchema>;
47
47
  export type DashboardConnectionResponse = z.infer<typeof DashboardConnectionResponseSchema>;
@@ -805,9 +805,9 @@ export declare const RunListItemSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"av
805
805
  stageId: string;
806
806
  }[];
807
807
  additionalStageCount: number;
808
+ failureClass?: "transient" | "permanent" | undefined;
808
809
  startedAt?: string | undefined;
809
810
  completedAt?: string | undefined;
810
- failureClass?: "transient" | "permanent" | undefined;
811
811
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
812
812
  }, {
813
813
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -844,9 +844,9 @@ export declare const RunListItemSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"av
844
844
  stageId: string;
845
845
  }[];
846
846
  additionalStageCount: number;
847
+ failureClass?: "transient" | "permanent" | undefined;
847
848
  startedAt?: string | undefined;
848
849
  completedAt?: string | undefined;
849
- failureClass?: "transient" | "permanent" | undefined;
850
850
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
851
851
  }>, z.ZodObject<{
852
852
  runId: z.ZodString;
@@ -905,9 +905,9 @@ export declare const RunListItemSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"av
905
905
  stageId: string;
906
906
  }[];
907
907
  additionalStageCount: number;
908
+ failureClass?: "transient" | "permanent" | undefined;
908
909
  startedAt?: string | undefined;
909
910
  completedAt?: string | undefined;
910
- failureClass?: "transient" | "permanent" | undefined;
911
911
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
912
912
  } | {
913
913
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -951,9 +951,9 @@ export declare const RunListItemSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"av
951
951
  stageId: string;
952
952
  }[];
953
953
  additionalStageCount: number;
954
+ failureClass?: "transient" | "permanent" | undefined;
954
955
  startedAt?: string | undefined;
955
956
  completedAt?: string | undefined;
956
- failureClass?: "transient" | "permanent" | undefined;
957
957
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
958
958
  } | {
959
959
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -1074,9 +1074,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1074
1074
  stageId: string;
1075
1075
  }[];
1076
1076
  additionalStageCount: number;
1077
+ failureClass?: "transient" | "permanent" | undefined;
1077
1078
  startedAt?: string | undefined;
1078
1079
  completedAt?: string | undefined;
1079
- failureClass?: "transient" | "permanent" | undefined;
1080
1080
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1081
1081
  }, {
1082
1082
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -1113,9 +1113,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1113
1113
  stageId: string;
1114
1114
  }[];
1115
1115
  additionalStageCount: number;
1116
+ failureClass?: "transient" | "permanent" | undefined;
1116
1117
  startedAt?: string | undefined;
1117
1118
  completedAt?: string | undefined;
1118
- failureClass?: "transient" | "permanent" | undefined;
1119
1119
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1120
1120
  }>, {
1121
1121
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -1152,9 +1152,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1152
1152
  stageId: string;
1153
1153
  }[];
1154
1154
  additionalStageCount: number;
1155
+ failureClass?: "transient" | "permanent" | undefined;
1155
1156
  startedAt?: string | undefined;
1156
1157
  completedAt?: string | undefined;
1157
- failureClass?: "transient" | "permanent" | undefined;
1158
1158
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1159
1159
  }, {
1160
1160
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -1191,9 +1191,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1191
1191
  stageId: string;
1192
1192
  }[];
1193
1193
  additionalStageCount: number;
1194
+ failureClass?: "transient" | "permanent" | undefined;
1194
1195
  startedAt?: string | undefined;
1195
1196
  completedAt?: string | undefined;
1196
- failureClass?: "transient" | "permanent" | undefined;
1197
1197
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1198
1198
  }>, "many">;
1199
1199
  history: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"availability", [z.ZodObject<{
@@ -1306,9 +1306,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1306
1306
  stageId: string;
1307
1307
  }[];
1308
1308
  additionalStageCount: number;
1309
+ failureClass?: "transient" | "permanent" | undefined;
1309
1310
  startedAt?: string | undefined;
1310
1311
  completedAt?: string | undefined;
1311
- failureClass?: "transient" | "permanent" | undefined;
1312
1312
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1313
1313
  }, {
1314
1314
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -1345,9 +1345,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1345
1345
  stageId: string;
1346
1346
  }[];
1347
1347
  additionalStageCount: number;
1348
+ failureClass?: "transient" | "permanent" | undefined;
1348
1349
  startedAt?: string | undefined;
1349
1350
  completedAt?: string | undefined;
1350
- failureClass?: "transient" | "permanent" | undefined;
1351
1351
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1352
1352
  }>, z.ZodObject<{
1353
1353
  runId: z.ZodString;
@@ -1406,9 +1406,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1406
1406
  stageId: string;
1407
1407
  }[];
1408
1408
  additionalStageCount: number;
1409
+ failureClass?: "transient" | "permanent" | undefined;
1409
1410
  startedAt?: string | undefined;
1410
1411
  completedAt?: string | undefined;
1411
- failureClass?: "transient" | "permanent" | undefined;
1412
1412
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1413
1413
  } | {
1414
1414
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -1452,9 +1452,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1452
1452
  stageId: string;
1453
1453
  }[];
1454
1454
  additionalStageCount: number;
1455
+ failureClass?: "transient" | "permanent" | undefined;
1455
1456
  startedAt?: string | undefined;
1456
1457
  completedAt?: string | undefined;
1457
- failureClass?: "transient" | "permanent" | undefined;
1458
1458
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1459
1459
  } | {
1460
1460
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -1502,9 +1502,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1502
1502
  stageId: string;
1503
1503
  }[];
1504
1504
  additionalStageCount: number;
1505
+ failureClass?: "transient" | "permanent" | undefined;
1505
1506
  startedAt?: string | undefined;
1506
1507
  completedAt?: string | undefined;
1507
- failureClass?: "transient" | "permanent" | undefined;
1508
1508
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1509
1509
  }[];
1510
1510
  history: ({
@@ -1542,9 +1542,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1542
1542
  stageId: string;
1543
1543
  }[];
1544
1544
  additionalStageCount: number;
1545
+ failureClass?: "transient" | "permanent" | undefined;
1545
1546
  startedAt?: string | undefined;
1546
1547
  completedAt?: string | undefined;
1547
- failureClass?: "transient" | "permanent" | undefined;
1548
1548
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1549
1549
  } | {
1550
1550
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -1592,9 +1592,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1592
1592
  stageId: string;
1593
1593
  }[];
1594
1594
  additionalStageCount: number;
1595
+ failureClass?: "transient" | "permanent" | undefined;
1595
1596
  startedAt?: string | undefined;
1596
1597
  completedAt?: string | undefined;
1597
- failureClass?: "transient" | "permanent" | undefined;
1598
1598
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1599
1599
  }[];
1600
1600
  history: ({
@@ -1632,9 +1632,9 @@ export declare const RunListResponseSchema: z.ZodObject<{
1632
1632
  stageId: string;
1633
1633
  }[];
1634
1634
  additionalStageCount: number;
1635
+ failureClass?: "transient" | "permanent" | undefined;
1635
1636
  startedAt?: string | undefined;
1636
1637
  completedAt?: string | undefined;
1637
- failureClass?: "transient" | "permanent" | undefined;
1638
1638
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1639
1639
  } | {
1640
1640
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -1758,9 +1758,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
1758
1758
  stageId: string;
1759
1759
  }[];
1760
1760
  additionalStageCount: number;
1761
+ failureClass?: "transient" | "permanent" | undefined;
1761
1762
  startedAt?: string | undefined;
1762
1763
  completedAt?: string | undefined;
1763
- failureClass?: "transient" | "permanent" | undefined;
1764
1764
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1765
1765
  }, {
1766
1766
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -1797,9 +1797,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
1797
1797
  stageId: string;
1798
1798
  }[];
1799
1799
  additionalStageCount: number;
1800
+ failureClass?: "transient" | "permanent" | undefined;
1800
1801
  startedAt?: string | undefined;
1801
1802
  completedAt?: string | undefined;
1802
- failureClass?: "transient" | "permanent" | undefined;
1803
1803
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1804
1804
  }>, {
1805
1805
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -1836,9 +1836,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
1836
1836
  stageId: string;
1837
1837
  }[];
1838
1838
  additionalStageCount: number;
1839
+ failureClass?: "transient" | "permanent" | undefined;
1839
1840
  startedAt?: string | undefined;
1840
1841
  completedAt?: string | undefined;
1841
- failureClass?: "transient" | "permanent" | undefined;
1842
1842
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1843
1843
  }, {
1844
1844
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -1875,9 +1875,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
1875
1875
  stageId: string;
1876
1876
  }[];
1877
1877
  additionalStageCount: number;
1878
+ failureClass?: "transient" | "permanent" | undefined;
1878
1879
  startedAt?: string | undefined;
1879
1880
  completedAt?: string | undefined;
1880
- failureClass?: "transient" | "permanent" | undefined;
1881
1881
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1882
1882
  }>, "many">;
1883
1883
  history: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"availability", [z.ZodObject<{
@@ -1990,9 +1990,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
1990
1990
  stageId: string;
1991
1991
  }[];
1992
1992
  additionalStageCount: number;
1993
+ failureClass?: "transient" | "permanent" | undefined;
1993
1994
  startedAt?: string | undefined;
1994
1995
  completedAt?: string | undefined;
1995
- failureClass?: "transient" | "permanent" | undefined;
1996
1996
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
1997
1997
  }, {
1998
1998
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
@@ -2029,9 +2029,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
2029
2029
  stageId: string;
2030
2030
  }[];
2031
2031
  additionalStageCount: number;
2032
+ failureClass?: "transient" | "permanent" | undefined;
2032
2033
  startedAt?: string | undefined;
2033
2034
  completedAt?: string | undefined;
2034
- failureClass?: "transient" | "permanent" | undefined;
2035
2035
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
2036
2036
  }>, z.ZodObject<{
2037
2037
  runId: z.ZodString;
@@ -2090,9 +2090,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
2090
2090
  stageId: string;
2091
2091
  }[];
2092
2092
  additionalStageCount: number;
2093
+ failureClass?: "transient" | "permanent" | undefined;
2093
2094
  startedAt?: string | undefined;
2094
2095
  completedAt?: string | undefined;
2095
- failureClass?: "transient" | "permanent" | undefined;
2096
2096
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
2097
2097
  } | {
2098
2098
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -2136,9 +2136,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
2136
2136
  stageId: string;
2137
2137
  }[];
2138
2138
  additionalStageCount: number;
2139
+ failureClass?: "transient" | "permanent" | undefined;
2139
2140
  startedAt?: string | undefined;
2140
2141
  completedAt?: string | undefined;
2141
- failureClass?: "transient" | "permanent" | undefined;
2142
2142
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
2143
2143
  } | {
2144
2144
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -2186,9 +2186,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
2186
2186
  stageId: string;
2187
2187
  }[];
2188
2188
  additionalStageCount: number;
2189
+ failureClass?: "transient" | "permanent" | undefined;
2189
2190
  startedAt?: string | undefined;
2190
2191
  completedAt?: string | undefined;
2191
- failureClass?: "transient" | "permanent" | undefined;
2192
2192
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
2193
2193
  }[];
2194
2194
  history: ({
@@ -2226,9 +2226,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
2226
2226
  stageId: string;
2227
2227
  }[];
2228
2228
  additionalStageCount: number;
2229
+ failureClass?: "transient" | "permanent" | undefined;
2229
2230
  startedAt?: string | undefined;
2230
2231
  completedAt?: string | undefined;
2231
- failureClass?: "transient" | "permanent" | undefined;
2232
2232
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
2233
2233
  } | {
2234
2234
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -2276,9 +2276,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
2276
2276
  stageId: string;
2277
2277
  }[];
2278
2278
  additionalStageCount: number;
2279
+ failureClass?: "transient" | "permanent" | undefined;
2279
2280
  startedAt?: string | undefined;
2280
2281
  completedAt?: string | undefined;
2281
- failureClass?: "transient" | "permanent" | undefined;
2282
2282
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
2283
2283
  }[];
2284
2284
  history: ({
@@ -2316,9 +2316,9 @@ export declare const RunsResponseSchema: z.ZodObject<{
2316
2316
  stageId: string;
2317
2317
  }[];
2318
2318
  additionalStageCount: number;
2319
+ failureClass?: "transient" | "permanent" | undefined;
2319
2320
  startedAt?: string | undefined;
2320
2321
  completedAt?: string | undefined;
2321
- failureClass?: "transient" | "permanent" | undefined;
2322
2322
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
2323
2323
  } | {
2324
2324
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
@@ -4248,9 +4248,9 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4248
4248
  startedAt: string | null;
4249
4249
  completedAt: string | null;
4250
4250
  availability: "current";
4251
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4252
4251
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
4253
4252
  durationMs: number | null;
4253
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4254
4254
  createdAt: string | null;
4255
4255
  updatedAt: string | null;
4256
4256
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -4310,9 +4310,9 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4310
4310
  startedAt: string | null;
4311
4311
  completedAt: string | null;
4312
4312
  availability: "current";
4313
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4314
4313
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
4315
4314
  durationMs: number | null;
4315
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4316
4316
  createdAt: string | null;
4317
4317
  updatedAt: string | null;
4318
4318
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -4404,8 +4404,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4404
4404
  }, "strict", z.ZodTypeAny, {
4405
4405
  status: "partial" | "succeeded";
4406
4406
  availability: "legacy_without_telemetry";
4407
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4408
4407
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
4408
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4409
4409
  failurePolicy: "fail" | "fallback" | null;
4410
4410
  effectiveDelegate?: {
4411
4411
  curator: {
@@ -4424,8 +4424,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4424
4424
  }, {
4425
4425
  status: "partial" | "succeeded";
4426
4426
  availability: "legacy_without_telemetry";
4427
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4428
4427
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
4428
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4429
4429
  failurePolicy: "fail" | "fallback" | null;
4430
4430
  effectiveDelegate?: {
4431
4431
  curator: {
@@ -4509,8 +4509,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4509
4509
  availability: z.ZodLiteral<"bypassed">;
4510
4510
  }, "strict", z.ZodTypeAny, {
4511
4511
  availability: "bypassed";
4512
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4513
4512
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
4513
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4514
4514
  failurePolicy: "fail" | "fallback" | null;
4515
4515
  effectiveDelegate?: {
4516
4516
  curator: {
@@ -4528,8 +4528,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4528
4528
  } | undefined;
4529
4529
  }, {
4530
4530
  availability: "bypassed";
4531
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4532
4531
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
4532
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4533
4533
  failurePolicy: "fail" | "fallback" | null;
4534
4534
  effectiveDelegate?: {
4535
4535
  curator: {
@@ -4613,8 +4613,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4613
4613
  availability: z.ZodLiteral<"awaiting_telemetry">;
4614
4614
  }, "strict", z.ZodTypeAny, {
4615
4615
  availability: "awaiting_telemetry";
4616
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4617
4616
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
4617
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4618
4618
  failurePolicy: "fail" | "fallback" | null;
4619
4619
  effectiveDelegate?: {
4620
4620
  curator: {
@@ -4632,8 +4632,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4632
4632
  } | undefined;
4633
4633
  }, {
4634
4634
  availability: "awaiting_telemetry";
4635
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4636
4635
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
4636
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4637
4637
  failurePolicy: "fail" | "fallback" | null;
4638
4638
  effectiveDelegate?: {
4639
4639
  curator: {
@@ -4717,8 +4717,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4717
4717
  availability: z.ZodLiteral<"telemetry_unavailable">;
4718
4718
  }, "strict", z.ZodTypeAny, {
4719
4719
  availability: "telemetry_unavailable";
4720
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4721
4720
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
4721
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4722
4722
  failurePolicy: "fail" | "fallback" | null;
4723
4723
  effectiveDelegate?: {
4724
4724
  curator: {
@@ -4736,8 +4736,8 @@ export declare const DashboardContextPreflightSchema: z.ZodDiscriminatedUnion<"a
4736
4736
  } | undefined;
4737
4737
  }, {
4738
4738
  availability: "telemetry_unavailable";
4739
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4740
4739
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
4740
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
4741
4741
  failurePolicy: "fail" | "fallback" | null;
4742
4742
  effectiveDelegate?: {
4743
4743
  curator: {
@@ -10873,12 +10873,12 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
10873
10873
  callId: z.ZodOptional<z.ZodString>;
10874
10874
  failureClass: z.ZodEnum<["transient", "permanent"]>;
10875
10875
  }, "strict", z.ZodTypeAny, {
10876
- stageId: string;
10877
10876
  failureClass: "transient" | "permanent";
10877
+ stageId: string;
10878
10878
  callId?: string | undefined;
10879
10879
  }, {
10880
- stageId: string;
10881
10880
  failureClass: "transient" | "permanent";
10881
+ stageId: string;
10882
10882
  callId?: string | undefined;
10883
10883
  }>>;
10884
10884
  card: z.ZodUnion<[z.ZodObject<{
@@ -11846,6 +11846,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
11846
11846
  hasOutput: boolean;
11847
11847
  hasRawError: boolean;
11848
11848
  hasArtifactReference: boolean;
11849
+ failureClass?: "transient" | "permanent" | undefined;
11849
11850
  startedAt?: string | undefined;
11850
11851
  completedAt?: string | undefined;
11851
11852
  invocation?: {
@@ -11944,7 +11945,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
11944
11945
  state: "accepted_unrepresentable";
11945
11946
  } | undefined;
11946
11947
  } | undefined;
11947
- failureClass?: "transient" | "permanent" | undefined;
11948
11948
  attemptsConsumed?: number | undefined;
11949
11949
  durationMs?: number | undefined;
11950
11950
  snapshotIdentity?: {
@@ -11962,6 +11962,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
11962
11962
  hasOutput: boolean;
11963
11963
  hasRawError: boolean;
11964
11964
  hasArtifactReference: boolean;
11965
+ failureClass?: "transient" | "permanent" | undefined;
11965
11966
  startedAt?: string | undefined;
11966
11967
  completedAt?: string | undefined;
11967
11968
  invocation?: {
@@ -12060,7 +12061,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12060
12061
  state: "accepted_unrepresentable";
12061
12062
  } | undefined;
12062
12063
  } | undefined;
12063
- failureClass?: "transient" | "permanent" | undefined;
12064
12064
  attemptsConsumed?: number | undefined;
12065
12065
  durationMs?: number | undefined;
12066
12066
  snapshotIdentity?: {
@@ -12080,6 +12080,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12080
12080
  hasOutput: boolean;
12081
12081
  hasRawError: boolean;
12082
12082
  hasArtifactReference: boolean;
12083
+ failureClass?: "transient" | "permanent" | undefined;
12083
12084
  startedAt?: string | undefined;
12084
12085
  completedAt?: string | undefined;
12085
12086
  invocation?: {
@@ -12178,7 +12179,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12178
12179
  state: "accepted_unrepresentable";
12179
12180
  } | undefined;
12180
12181
  } | undefined;
12181
- failureClass?: "transient" | "permanent" | undefined;
12182
12182
  attemptsConsumed?: number | undefined;
12183
12183
  durationMs?: number | undefined;
12184
12184
  snapshotIdentity?: {
@@ -12202,6 +12202,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12202
12202
  hasOutput: boolean;
12203
12203
  hasRawError: boolean;
12204
12204
  hasArtifactReference: boolean;
12205
+ failureClass?: "transient" | "permanent" | undefined;
12205
12206
  startedAt?: string | undefined;
12206
12207
  completedAt?: string | undefined;
12207
12208
  invocation?: {
@@ -12300,7 +12301,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12300
12301
  state: "accepted_unrepresentable";
12301
12302
  } | undefined;
12302
12303
  } | undefined;
12303
- failureClass?: "transient" | "permanent" | undefined;
12304
12304
  attemptsConsumed?: number | undefined;
12305
12305
  durationMs?: number | undefined;
12306
12306
  snapshotIdentity?: {
@@ -12511,9 +12511,9 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12511
12511
  startedAt: string | null;
12512
12512
  completedAt: string | null;
12513
12513
  availability: "current";
12514
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12515
12514
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
12516
12515
  durationMs: number | null;
12516
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12517
12517
  createdAt: string | null;
12518
12518
  updatedAt: string | null;
12519
12519
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -12573,9 +12573,9 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12573
12573
  startedAt: string | null;
12574
12574
  completedAt: string | null;
12575
12575
  availability: "current";
12576
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12577
12576
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
12578
12577
  durationMs: number | null;
12578
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12579
12579
  createdAt: string | null;
12580
12580
  updatedAt: string | null;
12581
12581
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -12667,8 +12667,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12667
12667
  }, "strict", z.ZodTypeAny, {
12668
12668
  status: "partial" | "succeeded";
12669
12669
  availability: "legacy_without_telemetry";
12670
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12671
12670
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
12671
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12672
12672
  failurePolicy: "fail" | "fallback" | null;
12673
12673
  effectiveDelegate?: {
12674
12674
  curator: {
@@ -12687,8 +12687,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12687
12687
  }, {
12688
12688
  status: "partial" | "succeeded";
12689
12689
  availability: "legacy_without_telemetry";
12690
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12691
12690
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
12691
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12692
12692
  failurePolicy: "fail" | "fallback" | null;
12693
12693
  effectiveDelegate?: {
12694
12694
  curator: {
@@ -12772,8 +12772,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12772
12772
  availability: z.ZodLiteral<"bypassed">;
12773
12773
  }, "strict", z.ZodTypeAny, {
12774
12774
  availability: "bypassed";
12775
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12776
12775
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
12776
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12777
12777
  failurePolicy: "fail" | "fallback" | null;
12778
12778
  effectiveDelegate?: {
12779
12779
  curator: {
@@ -12791,8 +12791,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12791
12791
  } | undefined;
12792
12792
  }, {
12793
12793
  availability: "bypassed";
12794
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12795
12794
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
12795
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12796
12796
  failurePolicy: "fail" | "fallback" | null;
12797
12797
  effectiveDelegate?: {
12798
12798
  curator: {
@@ -12876,8 +12876,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12876
12876
  availability: z.ZodLiteral<"awaiting_telemetry">;
12877
12877
  }, "strict", z.ZodTypeAny, {
12878
12878
  availability: "awaiting_telemetry";
12879
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12880
12879
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
12880
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12881
12881
  failurePolicy: "fail" | "fallback" | null;
12882
12882
  effectiveDelegate?: {
12883
12883
  curator: {
@@ -12895,8 +12895,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12895
12895
  } | undefined;
12896
12896
  }, {
12897
12897
  availability: "awaiting_telemetry";
12898
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12899
12898
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
12899
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12900
12900
  failurePolicy: "fail" | "fallback" | null;
12901
12901
  effectiveDelegate?: {
12902
12902
  curator: {
@@ -12980,8 +12980,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12980
12980
  availability: z.ZodLiteral<"telemetry_unavailable">;
12981
12981
  }, "strict", z.ZodTypeAny, {
12982
12982
  availability: "telemetry_unavailable";
12983
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12984
12983
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
12984
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
12985
12985
  failurePolicy: "fail" | "fallback" | null;
12986
12986
  effectiveDelegate?: {
12987
12987
  curator: {
@@ -12999,8 +12999,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
12999
12999
  } | undefined;
13000
13000
  }, {
13001
13001
  availability: "telemetry_unavailable";
13002
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
13003
13002
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
13003
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
13004
13004
  failurePolicy: "fail" | "fallback" | null;
13005
13005
  effectiveDelegate?: {
13006
13006
  curator: {
@@ -15463,7 +15463,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
15463
15463
  inspection_id: string;
15464
15464
  inspected_at: string;
15465
15465
  required_checks: number | null;
15466
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
15466
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
15467
15467
  evidence_ref: {
15468
15468
  sha256: string;
15469
15469
  kind: "expectations_sha256";
@@ -15496,7 +15496,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
15496
15496
  inspection_id: string;
15497
15497
  inspected_at: string;
15498
15498
  required_checks: number | null;
15499
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
15499
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
15500
15500
  evidence_ref: {
15501
15501
  sha256: string;
15502
15502
  kind: "expectations_sha256";
@@ -15533,7 +15533,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
15533
15533
  inspection_id: string;
15534
15534
  inspected_at: string;
15535
15535
  required_checks: number | null;
15536
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
15536
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
15537
15537
  evidence_ref: {
15538
15538
  sha256: string;
15539
15539
  kind: "expectations_sha256";
@@ -15571,7 +15571,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
15571
15571
  inspection_id: string;
15572
15572
  inspected_at: string;
15573
15573
  required_checks: number | null;
15574
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
15574
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
15575
15575
  evidence_ref: {
15576
15576
  sha256: string;
15577
15577
  kind: "expectations_sha256";
@@ -15777,6 +15777,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
15777
15777
  hasOutput: boolean;
15778
15778
  hasRawError: boolean;
15779
15779
  hasArtifactReference: boolean;
15780
+ failureClass?: "transient" | "permanent" | undefined;
15780
15781
  startedAt?: string | undefined;
15781
15782
  completedAt?: string | undefined;
15782
15783
  invocation?: {
@@ -15875,7 +15876,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
15875
15876
  state: "accepted_unrepresentable";
15876
15877
  } | undefined;
15877
15878
  } | undefined;
15878
- failureClass?: "transient" | "permanent" | undefined;
15879
15879
  attemptsConsumed?: number | undefined;
15880
15880
  durationMs?: number | undefined;
15881
15881
  snapshotIdentity?: {
@@ -15968,9 +15968,48 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
15968
15968
  contextStatus: "partial" | "succeeded" | "absent";
15969
15969
  executionContractDigestPrefix: string;
15970
15970
  };
15971
+ verification?: {
15972
+ schema_version: "clinkx-workflow-verification-v1";
15973
+ availability: "available" | "unavailable" | "unrecorded";
15974
+ inspections: {
15975
+ coverage: {
15976
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
15977
+ checks: {
15978
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
15979
+ check_id: string;
15980
+ reasons: {
15981
+ code: string;
15982
+ check_id: string;
15983
+ }[];
15984
+ }[];
15985
+ reasons: {
15986
+ code: string;
15987
+ check_id: string;
15988
+ }[];
15989
+ };
15990
+ owner_acceptance: "not_recorded";
15991
+ expectations_sha256: string;
15992
+ scope: "inspected_at";
15993
+ identity: {
15994
+ source_sha256: string;
15995
+ build_sha256: string;
15996
+ procedure_sha256: string;
15997
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
15998
+ } | null;
15999
+ inspection_id: string;
16000
+ inspected_at: string;
16001
+ required_checks: number | null;
16002
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
16003
+ evidence_ref: {
16004
+ sha256: string;
16005
+ kind: "expectations_sha256";
16006
+ };
16007
+ }[];
16008
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
16009
+ } | undefined;
16010
+ failureClass?: "transient" | "permanent" | undefined;
15971
16011
  startedAt?: string | undefined;
15972
16012
  completedAt?: string | undefined;
15973
- failureClass?: "transient" | "permanent" | undefined;
15974
16013
  verifiedRepair?: {
15975
16014
  schema_version: "clinkx-dashboard-verified-repair-v1";
15976
16015
  phases: {
@@ -16005,8 +16044,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16005
16044
  } | undefined;
16006
16045
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
16007
16046
  decisiveFailure?: {
16008
- stageId: string;
16009
16047
  failureClass: "transient" | "permanent";
16048
+ stageId: string;
16010
16049
  callId?: string | undefined;
16011
16050
  } | undefined;
16012
16051
  contextPreflight?: {
@@ -16046,9 +16085,9 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16046
16085
  startedAt: string | null;
16047
16086
  completedAt: string | null;
16048
16087
  availability: "current";
16049
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16050
16088
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
16051
16089
  durationMs: number | null;
16090
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16052
16091
  createdAt: string | null;
16053
16092
  updatedAt: string | null;
16054
16093
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -16074,8 +16113,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16074
16113
  } | {
16075
16114
  status: "partial" | "succeeded";
16076
16115
  availability: "legacy_without_telemetry";
16077
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16078
16116
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
16117
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16079
16118
  failurePolicy: "fail" | "fallback" | null;
16080
16119
  effectiveDelegate?: {
16081
16120
  curator: {
@@ -16093,8 +16132,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16093
16132
  } | undefined;
16094
16133
  } | {
16095
16134
  availability: "bypassed";
16096
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16097
16135
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
16136
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16098
16137
  failurePolicy: "fail" | "fallback" | null;
16099
16138
  effectiveDelegate?: {
16100
16139
  curator: {
@@ -16112,8 +16151,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16112
16151
  } | undefined;
16113
16152
  } | {
16114
16153
  availability: "awaiting_telemetry";
16115
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16116
16154
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
16155
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16117
16156
  failurePolicy: "fail" | "fallback" | null;
16118
16157
  effectiveDelegate?: {
16119
16158
  curator: {
@@ -16131,8 +16170,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16131
16170
  } | undefined;
16132
16171
  } | {
16133
16172
  availability: "telemetry_unavailable";
16134
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16135
16173
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
16174
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16136
16175
  failurePolicy: "fail" | "fallback" | null;
16137
16176
  effectiveDelegate?: {
16138
16177
  curator: {
@@ -16344,45 +16383,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16344
16383
  } | undefined;
16345
16384
  };
16346
16385
  } | undefined;
16347
- verification?: {
16348
- schema_version: "clinkx-workflow-verification-v1";
16349
- availability: "available" | "unavailable" | "unrecorded";
16350
- inspections: {
16351
- coverage: {
16352
- status: "failed" | "complete" | "incomplete" | "inapplicable";
16353
- checks: {
16354
- status: "failed" | "complete" | "incomplete" | "inapplicable";
16355
- check_id: string;
16356
- reasons: {
16357
- code: string;
16358
- check_id: string;
16359
- }[];
16360
- }[];
16361
- reasons: {
16362
- code: string;
16363
- check_id: string;
16364
- }[];
16365
- };
16366
- owner_acceptance: "not_recorded";
16367
- expectations_sha256: string;
16368
- scope: "inspected_at";
16369
- identity: {
16370
- source_sha256: string;
16371
- build_sha256: string;
16372
- procedure_sha256: string;
16373
- boundary: "workflow-handoff-fixture" | "project-command-v1";
16374
- } | null;
16375
- inspection_id: string;
16376
- inspected_at: string;
16377
- required_checks: number | null;
16378
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
16379
- evidence_ref: {
16380
- sha256: string;
16381
- kind: "expectations_sha256";
16382
- };
16383
- }[];
16384
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
16385
- } | undefined;
16386
16386
  }, {
16387
16387
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
16388
16388
  stages: {
@@ -16395,6 +16395,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16395
16395
  hasOutput: boolean;
16396
16396
  hasRawError: boolean;
16397
16397
  hasArtifactReference: boolean;
16398
+ failureClass?: "transient" | "permanent" | undefined;
16398
16399
  startedAt?: string | undefined;
16399
16400
  completedAt?: string | undefined;
16400
16401
  invocation?: {
@@ -16493,7 +16494,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16493
16494
  state: "accepted_unrepresentable";
16494
16495
  } | undefined;
16495
16496
  } | undefined;
16496
- failureClass?: "transient" | "permanent" | undefined;
16497
16497
  attemptsConsumed?: number | undefined;
16498
16498
  durationMs?: number | undefined;
16499
16499
  snapshotIdentity?: {
@@ -16586,9 +16586,48 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16586
16586
  contextStatus: "partial" | "succeeded" | "absent";
16587
16587
  executionContractDigestPrefix: string;
16588
16588
  };
16589
+ verification?: {
16590
+ schema_version: "clinkx-workflow-verification-v1";
16591
+ availability: "available" | "unavailable" | "unrecorded";
16592
+ inspections: {
16593
+ coverage: {
16594
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
16595
+ checks: {
16596
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
16597
+ check_id: string;
16598
+ reasons: {
16599
+ code: string;
16600
+ check_id: string;
16601
+ }[];
16602
+ }[];
16603
+ reasons: {
16604
+ code: string;
16605
+ check_id: string;
16606
+ }[];
16607
+ };
16608
+ owner_acceptance: "not_recorded";
16609
+ expectations_sha256: string;
16610
+ scope: "inspected_at";
16611
+ identity: {
16612
+ source_sha256: string;
16613
+ build_sha256: string;
16614
+ procedure_sha256: string;
16615
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
16616
+ } | null;
16617
+ inspection_id: string;
16618
+ inspected_at: string;
16619
+ required_checks: number | null;
16620
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
16621
+ evidence_ref: {
16622
+ sha256: string;
16623
+ kind: "expectations_sha256";
16624
+ };
16625
+ }[];
16626
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
16627
+ } | undefined;
16628
+ failureClass?: "transient" | "permanent" | undefined;
16589
16629
  startedAt?: string | undefined;
16590
16630
  completedAt?: string | undefined;
16591
- failureClass?: "transient" | "permanent" | undefined;
16592
16631
  verifiedRepair?: {
16593
16632
  schema_version: "clinkx-dashboard-verified-repair-v1";
16594
16633
  phases: {
@@ -16623,8 +16662,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16623
16662
  } | undefined;
16624
16663
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
16625
16664
  decisiveFailure?: {
16626
- stageId: string;
16627
16665
  failureClass: "transient" | "permanent";
16666
+ stageId: string;
16628
16667
  callId?: string | undefined;
16629
16668
  } | undefined;
16630
16669
  contextPreflight?: {
@@ -16664,9 +16703,9 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16664
16703
  startedAt: string | null;
16665
16704
  completedAt: string | null;
16666
16705
  availability: "current";
16667
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16668
16706
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
16669
16707
  durationMs: number | null;
16708
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16670
16709
  createdAt: string | null;
16671
16710
  updatedAt: string | null;
16672
16711
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -16692,8 +16731,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16692
16731
  } | {
16693
16732
  status: "partial" | "succeeded";
16694
16733
  availability: "legacy_without_telemetry";
16695
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16696
16734
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
16735
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16697
16736
  failurePolicy: "fail" | "fallback" | null;
16698
16737
  effectiveDelegate?: {
16699
16738
  curator: {
@@ -16711,8 +16750,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16711
16750
  } | undefined;
16712
16751
  } | {
16713
16752
  availability: "bypassed";
16714
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16715
16753
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
16754
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16716
16755
  failurePolicy: "fail" | "fallback" | null;
16717
16756
  effectiveDelegate?: {
16718
16757
  curator: {
@@ -16730,8 +16769,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16730
16769
  } | undefined;
16731
16770
  } | {
16732
16771
  availability: "awaiting_telemetry";
16733
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16734
16772
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
16773
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16735
16774
  failurePolicy: "fail" | "fallback" | null;
16736
16775
  effectiveDelegate?: {
16737
16776
  curator: {
@@ -16749,8 +16788,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16749
16788
  } | undefined;
16750
16789
  } | {
16751
16790
  availability: "telemetry_unavailable";
16752
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16753
16791
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
16792
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
16754
16793
  failurePolicy: "fail" | "fallback" | null;
16755
16794
  effectiveDelegate?: {
16756
16795
  curator: {
@@ -16962,45 +17001,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
16962
17001
  } | undefined;
16963
17002
  };
16964
17003
  } | undefined;
16965
- verification?: {
16966
- schema_version: "clinkx-workflow-verification-v1";
16967
- availability: "available" | "unavailable" | "unrecorded";
16968
- inspections: {
16969
- coverage: {
16970
- status: "failed" | "complete" | "incomplete" | "inapplicable";
16971
- checks: {
16972
- status: "failed" | "complete" | "incomplete" | "inapplicable";
16973
- check_id: string;
16974
- reasons: {
16975
- code: string;
16976
- check_id: string;
16977
- }[];
16978
- }[];
16979
- reasons: {
16980
- code: string;
16981
- check_id: string;
16982
- }[];
16983
- };
16984
- owner_acceptance: "not_recorded";
16985
- expectations_sha256: string;
16986
- scope: "inspected_at";
16987
- identity: {
16988
- source_sha256: string;
16989
- build_sha256: string;
16990
- procedure_sha256: string;
16991
- boundary: "workflow-handoff-fixture" | "project-command-v1";
16992
- } | null;
16993
- inspection_id: string;
16994
- inspected_at: string;
16995
- required_checks: number | null;
16996
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
16997
- evidence_ref: {
16998
- sha256: string;
16999
- kind: "expectations_sha256";
17000
- };
17001
- }[];
17002
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
17003
- } | undefined;
17004
17004
  }>, z.ZodObject<{
17005
17005
  runId: z.ZodString;
17006
17006
  runGeneration: z.ZodString;
@@ -17042,6 +17042,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17042
17042
  hasOutput: boolean;
17043
17043
  hasRawError: boolean;
17044
17044
  hasArtifactReference: boolean;
17045
+ failureClass?: "transient" | "permanent" | undefined;
17045
17046
  startedAt?: string | undefined;
17046
17047
  completedAt?: string | undefined;
17047
17048
  invocation?: {
@@ -17140,7 +17141,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17140
17141
  state: "accepted_unrepresentable";
17141
17142
  } | undefined;
17142
17143
  } | undefined;
17143
- failureClass?: "transient" | "permanent" | undefined;
17144
17144
  attemptsConsumed?: number | undefined;
17145
17145
  durationMs?: number | undefined;
17146
17146
  snapshotIdentity?: {
@@ -17233,9 +17233,48 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17233
17233
  contextStatus: "partial" | "succeeded" | "absent";
17234
17234
  executionContractDigestPrefix: string;
17235
17235
  };
17236
+ verification?: {
17237
+ schema_version: "clinkx-workflow-verification-v1";
17238
+ availability: "available" | "unavailable" | "unrecorded";
17239
+ inspections: {
17240
+ coverage: {
17241
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
17242
+ checks: {
17243
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
17244
+ check_id: string;
17245
+ reasons: {
17246
+ code: string;
17247
+ check_id: string;
17248
+ }[];
17249
+ }[];
17250
+ reasons: {
17251
+ code: string;
17252
+ check_id: string;
17253
+ }[];
17254
+ };
17255
+ owner_acceptance: "not_recorded";
17256
+ expectations_sha256: string;
17257
+ scope: "inspected_at";
17258
+ identity: {
17259
+ source_sha256: string;
17260
+ build_sha256: string;
17261
+ procedure_sha256: string;
17262
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
17263
+ } | null;
17264
+ inspection_id: string;
17265
+ inspected_at: string;
17266
+ required_checks: number | null;
17267
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
17268
+ evidence_ref: {
17269
+ sha256: string;
17270
+ kind: "expectations_sha256";
17271
+ };
17272
+ }[];
17273
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
17274
+ } | undefined;
17275
+ failureClass?: "transient" | "permanent" | undefined;
17236
17276
  startedAt?: string | undefined;
17237
17277
  completedAt?: string | undefined;
17238
- failureClass?: "transient" | "permanent" | undefined;
17239
17278
  verifiedRepair?: {
17240
17279
  schema_version: "clinkx-dashboard-verified-repair-v1";
17241
17280
  phases: {
@@ -17270,8 +17309,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17270
17309
  } | undefined;
17271
17310
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
17272
17311
  decisiveFailure?: {
17273
- stageId: string;
17274
17312
  failureClass: "transient" | "permanent";
17313
+ stageId: string;
17275
17314
  callId?: string | undefined;
17276
17315
  } | undefined;
17277
17316
  contextPreflight?: {
@@ -17311,9 +17350,9 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17311
17350
  startedAt: string | null;
17312
17351
  completedAt: string | null;
17313
17352
  availability: "current";
17314
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17315
17353
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
17316
17354
  durationMs: number | null;
17355
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17317
17356
  createdAt: string | null;
17318
17357
  updatedAt: string | null;
17319
17358
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -17339,8 +17378,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17339
17378
  } | {
17340
17379
  status: "partial" | "succeeded";
17341
17380
  availability: "legacy_without_telemetry";
17342
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17343
17381
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
17382
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17344
17383
  failurePolicy: "fail" | "fallback" | null;
17345
17384
  effectiveDelegate?: {
17346
17385
  curator: {
@@ -17358,8 +17397,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17358
17397
  } | undefined;
17359
17398
  } | {
17360
17399
  availability: "bypassed";
17361
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17362
17400
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
17401
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17363
17402
  failurePolicy: "fail" | "fallback" | null;
17364
17403
  effectiveDelegate?: {
17365
17404
  curator: {
@@ -17377,8 +17416,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17377
17416
  } | undefined;
17378
17417
  } | {
17379
17418
  availability: "awaiting_telemetry";
17380
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17381
17419
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
17420
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17382
17421
  failurePolicy: "fail" | "fallback" | null;
17383
17422
  effectiveDelegate?: {
17384
17423
  curator: {
@@ -17396,8 +17435,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17396
17435
  } | undefined;
17397
17436
  } | {
17398
17437
  availability: "telemetry_unavailable";
17399
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17400
17438
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
17439
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17401
17440
  failurePolicy: "fail" | "fallback" | null;
17402
17441
  effectiveDelegate?: {
17403
17442
  curator: {
@@ -17609,45 +17648,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17609
17648
  } | undefined;
17610
17649
  };
17611
17650
  } | undefined;
17612
- verification?: {
17613
- schema_version: "clinkx-workflow-verification-v1";
17614
- availability: "available" | "unavailable" | "unrecorded";
17615
- inspections: {
17616
- coverage: {
17617
- status: "failed" | "complete" | "incomplete" | "inapplicable";
17618
- checks: {
17619
- status: "failed" | "complete" | "incomplete" | "inapplicable";
17620
- check_id: string;
17621
- reasons: {
17622
- code: string;
17623
- check_id: string;
17624
- }[];
17625
- }[];
17626
- reasons: {
17627
- code: string;
17628
- check_id: string;
17629
- }[];
17630
- };
17631
- owner_acceptance: "not_recorded";
17632
- expectations_sha256: string;
17633
- scope: "inspected_at";
17634
- identity: {
17635
- source_sha256: string;
17636
- build_sha256: string;
17637
- procedure_sha256: string;
17638
- boundary: "workflow-handoff-fixture" | "project-command-v1";
17639
- } | null;
17640
- inspection_id: string;
17641
- inspected_at: string;
17642
- required_checks: number | null;
17643
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
17644
- evidence_ref: {
17645
- sha256: string;
17646
- kind: "expectations_sha256";
17647
- };
17648
- }[];
17649
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
17650
- } | undefined;
17651
17651
  }, {
17652
17652
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
17653
17653
  runId: string;
@@ -17667,6 +17667,7 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17667
17667
  hasOutput: boolean;
17668
17668
  hasRawError: boolean;
17669
17669
  hasArtifactReference: boolean;
17670
+ failureClass?: "transient" | "permanent" | undefined;
17670
17671
  startedAt?: string | undefined;
17671
17672
  completedAt?: string | undefined;
17672
17673
  invocation?: {
@@ -17765,7 +17766,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17765
17766
  state: "accepted_unrepresentable";
17766
17767
  } | undefined;
17767
17768
  } | undefined;
17768
- failureClass?: "transient" | "permanent" | undefined;
17769
17769
  attemptsConsumed?: number | undefined;
17770
17770
  durationMs?: number | undefined;
17771
17771
  snapshotIdentity?: {
@@ -17858,9 +17858,48 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17858
17858
  contextStatus: "partial" | "succeeded" | "absent";
17859
17859
  executionContractDigestPrefix: string;
17860
17860
  };
17861
+ verification?: {
17862
+ schema_version: "clinkx-workflow-verification-v1";
17863
+ availability: "available" | "unavailable" | "unrecorded";
17864
+ inspections: {
17865
+ coverage: {
17866
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
17867
+ checks: {
17868
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
17869
+ check_id: string;
17870
+ reasons: {
17871
+ code: string;
17872
+ check_id: string;
17873
+ }[];
17874
+ }[];
17875
+ reasons: {
17876
+ code: string;
17877
+ check_id: string;
17878
+ }[];
17879
+ };
17880
+ owner_acceptance: "not_recorded";
17881
+ expectations_sha256: string;
17882
+ scope: "inspected_at";
17883
+ identity: {
17884
+ source_sha256: string;
17885
+ build_sha256: string;
17886
+ procedure_sha256: string;
17887
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
17888
+ } | null;
17889
+ inspection_id: string;
17890
+ inspected_at: string;
17891
+ required_checks: number | null;
17892
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
17893
+ evidence_ref: {
17894
+ sha256: string;
17895
+ kind: "expectations_sha256";
17896
+ };
17897
+ }[];
17898
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
17899
+ } | undefined;
17900
+ failureClass?: "transient" | "permanent" | undefined;
17861
17901
  startedAt?: string | undefined;
17862
17902
  completedAt?: string | undefined;
17863
- failureClass?: "transient" | "permanent" | undefined;
17864
17903
  verifiedRepair?: {
17865
17904
  schema_version: "clinkx-dashboard-verified-repair-v1";
17866
17905
  phases: {
@@ -17895,8 +17934,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17895
17934
  } | undefined;
17896
17935
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
17897
17936
  decisiveFailure?: {
17898
- stageId: string;
17899
17937
  failureClass: "transient" | "permanent";
17938
+ stageId: string;
17900
17939
  callId?: string | undefined;
17901
17940
  } | undefined;
17902
17941
  contextPreflight?: {
@@ -17936,9 +17975,9 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17936
17975
  startedAt: string | null;
17937
17976
  completedAt: string | null;
17938
17977
  availability: "current";
17939
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17940
17978
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
17941
17979
  durationMs: number | null;
17980
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17942
17981
  createdAt: string | null;
17943
17982
  updatedAt: string | null;
17944
17983
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -17964,8 +18003,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17964
18003
  } | {
17965
18004
  status: "partial" | "succeeded";
17966
18005
  availability: "legacy_without_telemetry";
17967
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17968
18006
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
18007
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17969
18008
  failurePolicy: "fail" | "fallback" | null;
17970
18009
  effectiveDelegate?: {
17971
18010
  curator: {
@@ -17983,8 +18022,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
17983
18022
  } | undefined;
17984
18023
  } | {
17985
18024
  availability: "bypassed";
17986
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17987
18025
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
18026
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
17988
18027
  failurePolicy: "fail" | "fallback" | null;
17989
18028
  effectiveDelegate?: {
17990
18029
  curator: {
@@ -18002,8 +18041,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
18002
18041
  } | undefined;
18003
18042
  } | {
18004
18043
  availability: "awaiting_telemetry";
18005
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
18006
18044
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
18045
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
18007
18046
  failurePolicy: "fail" | "fallback" | null;
18008
18047
  effectiveDelegate?: {
18009
18048
  curator: {
@@ -18021,8 +18060,8 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
18021
18060
  } | undefined;
18022
18061
  } | {
18023
18062
  availability: "telemetry_unavailable";
18024
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
18025
18063
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
18064
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
18026
18065
  failurePolicy: "fail" | "fallback" | null;
18027
18066
  effectiveDelegate?: {
18028
18067
  curator: {
@@ -18234,45 +18273,6 @@ export declare const RunDetailSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"avai
18234
18273
  } | undefined;
18235
18274
  };
18236
18275
  } | undefined;
18237
- verification?: {
18238
- schema_version: "clinkx-workflow-verification-v1";
18239
- availability: "available" | "unavailable" | "unrecorded";
18240
- inspections: {
18241
- coverage: {
18242
- status: "failed" | "complete" | "incomplete" | "inapplicable";
18243
- checks: {
18244
- status: "failed" | "complete" | "incomplete" | "inapplicable";
18245
- check_id: string;
18246
- reasons: {
18247
- code: string;
18248
- check_id: string;
18249
- }[];
18250
- }[];
18251
- reasons: {
18252
- code: string;
18253
- check_id: string;
18254
- }[];
18255
- };
18256
- owner_acceptance: "not_recorded";
18257
- expectations_sha256: string;
18258
- scope: "inspected_at";
18259
- identity: {
18260
- source_sha256: string;
18261
- build_sha256: string;
18262
- procedure_sha256: string;
18263
- boundary: "workflow-handoff-fixture" | "project-command-v1";
18264
- } | null;
18265
- inspection_id: string;
18266
- inspected_at: string;
18267
- required_checks: number | null;
18268
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
18269
- evidence_ref: {
18270
- sha256: string;
18271
- kind: "expectations_sha256";
18272
- };
18273
- }[];
18274
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
18275
- } | undefined;
18276
18276
  }>;
18277
18277
  export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"availability", [z.ZodObject<{
18278
18278
  runId: z.ZodString;
@@ -18413,12 +18413,12 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
18413
18413
  callId: z.ZodOptional<z.ZodString>;
18414
18414
  failureClass: z.ZodEnum<["transient", "permanent"]>;
18415
18415
  }, "strict", z.ZodTypeAny, {
18416
- stageId: string;
18417
18416
  failureClass: "transient" | "permanent";
18417
+ stageId: string;
18418
18418
  callId?: string | undefined;
18419
18419
  }, {
18420
- stageId: string;
18421
18420
  failureClass: "transient" | "permanent";
18421
+ stageId: string;
18422
18422
  callId?: string | undefined;
18423
18423
  }>>;
18424
18424
  card: z.ZodUnion<[z.ZodObject<{
@@ -19386,6 +19386,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19386
19386
  hasOutput: boolean;
19387
19387
  hasRawError: boolean;
19388
19388
  hasArtifactReference: boolean;
19389
+ failureClass?: "transient" | "permanent" | undefined;
19389
19390
  startedAt?: string | undefined;
19390
19391
  completedAt?: string | undefined;
19391
19392
  invocation?: {
@@ -19484,7 +19485,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19484
19485
  state: "accepted_unrepresentable";
19485
19486
  } | undefined;
19486
19487
  } | undefined;
19487
- failureClass?: "transient" | "permanent" | undefined;
19488
19488
  attemptsConsumed?: number | undefined;
19489
19489
  durationMs?: number | undefined;
19490
19490
  snapshotIdentity?: {
@@ -19502,6 +19502,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19502
19502
  hasOutput: boolean;
19503
19503
  hasRawError: boolean;
19504
19504
  hasArtifactReference: boolean;
19505
+ failureClass?: "transient" | "permanent" | undefined;
19505
19506
  startedAt?: string | undefined;
19506
19507
  completedAt?: string | undefined;
19507
19508
  invocation?: {
@@ -19600,7 +19601,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19600
19601
  state: "accepted_unrepresentable";
19601
19602
  } | undefined;
19602
19603
  } | undefined;
19603
- failureClass?: "transient" | "permanent" | undefined;
19604
19604
  attemptsConsumed?: number | undefined;
19605
19605
  durationMs?: number | undefined;
19606
19606
  snapshotIdentity?: {
@@ -19620,6 +19620,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19620
19620
  hasOutput: boolean;
19621
19621
  hasRawError: boolean;
19622
19622
  hasArtifactReference: boolean;
19623
+ failureClass?: "transient" | "permanent" | undefined;
19623
19624
  startedAt?: string | undefined;
19624
19625
  completedAt?: string | undefined;
19625
19626
  invocation?: {
@@ -19718,7 +19719,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19718
19719
  state: "accepted_unrepresentable";
19719
19720
  } | undefined;
19720
19721
  } | undefined;
19721
- failureClass?: "transient" | "permanent" | undefined;
19722
19722
  attemptsConsumed?: number | undefined;
19723
19723
  durationMs?: number | undefined;
19724
19724
  snapshotIdentity?: {
@@ -19742,6 +19742,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19742
19742
  hasOutput: boolean;
19743
19743
  hasRawError: boolean;
19744
19744
  hasArtifactReference: boolean;
19745
+ failureClass?: "transient" | "permanent" | undefined;
19745
19746
  startedAt?: string | undefined;
19746
19747
  completedAt?: string | undefined;
19747
19748
  invocation?: {
@@ -19840,7 +19841,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
19840
19841
  state: "accepted_unrepresentable";
19841
19842
  } | undefined;
19842
19843
  } | undefined;
19843
- failureClass?: "transient" | "permanent" | undefined;
19844
19844
  attemptsConsumed?: number | undefined;
19845
19845
  durationMs?: number | undefined;
19846
19846
  snapshotIdentity?: {
@@ -20051,9 +20051,9 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20051
20051
  startedAt: string | null;
20052
20052
  completedAt: string | null;
20053
20053
  availability: "current";
20054
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20055
20054
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
20056
20055
  durationMs: number | null;
20056
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20057
20057
  createdAt: string | null;
20058
20058
  updatedAt: string | null;
20059
20059
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -20113,9 +20113,9 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20113
20113
  startedAt: string | null;
20114
20114
  completedAt: string | null;
20115
20115
  availability: "current";
20116
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20117
20116
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
20118
20117
  durationMs: number | null;
20118
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20119
20119
  createdAt: string | null;
20120
20120
  updatedAt: string | null;
20121
20121
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -20207,8 +20207,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20207
20207
  }, "strict", z.ZodTypeAny, {
20208
20208
  status: "partial" | "succeeded";
20209
20209
  availability: "legacy_without_telemetry";
20210
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20211
20210
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
20211
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20212
20212
  failurePolicy: "fail" | "fallback" | null;
20213
20213
  effectiveDelegate?: {
20214
20214
  curator: {
@@ -20227,8 +20227,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20227
20227
  }, {
20228
20228
  status: "partial" | "succeeded";
20229
20229
  availability: "legacy_without_telemetry";
20230
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20231
20230
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
20231
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20232
20232
  failurePolicy: "fail" | "fallback" | null;
20233
20233
  effectiveDelegate?: {
20234
20234
  curator: {
@@ -20312,8 +20312,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20312
20312
  availability: z.ZodLiteral<"bypassed">;
20313
20313
  }, "strict", z.ZodTypeAny, {
20314
20314
  availability: "bypassed";
20315
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20316
20315
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
20316
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20317
20317
  failurePolicy: "fail" | "fallback" | null;
20318
20318
  effectiveDelegate?: {
20319
20319
  curator: {
@@ -20331,8 +20331,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20331
20331
  } | undefined;
20332
20332
  }, {
20333
20333
  availability: "bypassed";
20334
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20335
20334
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
20335
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20336
20336
  failurePolicy: "fail" | "fallback" | null;
20337
20337
  effectiveDelegate?: {
20338
20338
  curator: {
@@ -20416,8 +20416,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20416
20416
  availability: z.ZodLiteral<"awaiting_telemetry">;
20417
20417
  }, "strict", z.ZodTypeAny, {
20418
20418
  availability: "awaiting_telemetry";
20419
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20420
20419
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
20420
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20421
20421
  failurePolicy: "fail" | "fallback" | null;
20422
20422
  effectiveDelegate?: {
20423
20423
  curator: {
@@ -20435,8 +20435,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20435
20435
  } | undefined;
20436
20436
  }, {
20437
20437
  availability: "awaiting_telemetry";
20438
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20439
20438
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
20439
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20440
20440
  failurePolicy: "fail" | "fallback" | null;
20441
20441
  effectiveDelegate?: {
20442
20442
  curator: {
@@ -20520,8 +20520,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20520
20520
  availability: z.ZodLiteral<"telemetry_unavailable">;
20521
20521
  }, "strict", z.ZodTypeAny, {
20522
20522
  availability: "telemetry_unavailable";
20523
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20524
20523
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
20524
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20525
20525
  failurePolicy: "fail" | "fallback" | null;
20526
20526
  effectiveDelegate?: {
20527
20527
  curator: {
@@ -20539,8 +20539,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
20539
20539
  } | undefined;
20540
20540
  }, {
20541
20541
  availability: "telemetry_unavailable";
20542
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20543
20542
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
20543
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
20544
20544
  failurePolicy: "fail" | "fallback" | null;
20545
20545
  effectiveDelegate?: {
20546
20546
  curator: {
@@ -23003,7 +23003,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23003
23003
  inspection_id: string;
23004
23004
  inspected_at: string;
23005
23005
  required_checks: number | null;
23006
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
23006
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
23007
23007
  evidence_ref: {
23008
23008
  sha256: string;
23009
23009
  kind: "expectations_sha256";
@@ -23036,7 +23036,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23036
23036
  inspection_id: string;
23037
23037
  inspected_at: string;
23038
23038
  required_checks: number | null;
23039
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
23039
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
23040
23040
  evidence_ref: {
23041
23041
  sha256: string;
23042
23042
  kind: "expectations_sha256";
@@ -23073,7 +23073,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23073
23073
  inspection_id: string;
23074
23074
  inspected_at: string;
23075
23075
  required_checks: number | null;
23076
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
23076
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
23077
23077
  evidence_ref: {
23078
23078
  sha256: string;
23079
23079
  kind: "expectations_sha256";
@@ -23111,7 +23111,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23111
23111
  inspection_id: string;
23112
23112
  inspected_at: string;
23113
23113
  required_checks: number | null;
23114
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
23114
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
23115
23115
  evidence_ref: {
23116
23116
  sha256: string;
23117
23117
  kind: "expectations_sha256";
@@ -23317,6 +23317,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23317
23317
  hasOutput: boolean;
23318
23318
  hasRawError: boolean;
23319
23319
  hasArtifactReference: boolean;
23320
+ failureClass?: "transient" | "permanent" | undefined;
23320
23321
  startedAt?: string | undefined;
23321
23322
  completedAt?: string | undefined;
23322
23323
  invocation?: {
@@ -23415,7 +23416,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23415
23416
  state: "accepted_unrepresentable";
23416
23417
  } | undefined;
23417
23418
  } | undefined;
23418
- failureClass?: "transient" | "permanent" | undefined;
23419
23419
  attemptsConsumed?: number | undefined;
23420
23420
  durationMs?: number | undefined;
23421
23421
  snapshotIdentity?: {
@@ -23508,9 +23508,48 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23508
23508
  contextStatus: "partial" | "succeeded" | "absent";
23509
23509
  executionContractDigestPrefix: string;
23510
23510
  };
23511
+ verification?: {
23512
+ schema_version: "clinkx-workflow-verification-v1";
23513
+ availability: "available" | "unavailable" | "unrecorded";
23514
+ inspections: {
23515
+ coverage: {
23516
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
23517
+ checks: {
23518
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
23519
+ check_id: string;
23520
+ reasons: {
23521
+ code: string;
23522
+ check_id: string;
23523
+ }[];
23524
+ }[];
23525
+ reasons: {
23526
+ code: string;
23527
+ check_id: string;
23528
+ }[];
23529
+ };
23530
+ owner_acceptance: "not_recorded";
23531
+ expectations_sha256: string;
23532
+ scope: "inspected_at";
23533
+ identity: {
23534
+ source_sha256: string;
23535
+ build_sha256: string;
23536
+ procedure_sha256: string;
23537
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
23538
+ } | null;
23539
+ inspection_id: string;
23540
+ inspected_at: string;
23541
+ required_checks: number | null;
23542
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
23543
+ evidence_ref: {
23544
+ sha256: string;
23545
+ kind: "expectations_sha256";
23546
+ };
23547
+ }[];
23548
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
23549
+ } | undefined;
23550
+ failureClass?: "transient" | "permanent" | undefined;
23511
23551
  startedAt?: string | undefined;
23512
23552
  completedAt?: string | undefined;
23513
- failureClass?: "transient" | "permanent" | undefined;
23514
23553
  verifiedRepair?: {
23515
23554
  schema_version: "clinkx-dashboard-verified-repair-v1";
23516
23555
  phases: {
@@ -23545,8 +23584,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23545
23584
  } | undefined;
23546
23585
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
23547
23586
  decisiveFailure?: {
23548
- stageId: string;
23549
23587
  failureClass: "transient" | "permanent";
23588
+ stageId: string;
23550
23589
  callId?: string | undefined;
23551
23590
  } | undefined;
23552
23591
  contextPreflight?: {
@@ -23586,9 +23625,9 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23586
23625
  startedAt: string | null;
23587
23626
  completedAt: string | null;
23588
23627
  availability: "current";
23589
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23590
23628
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
23591
23629
  durationMs: number | null;
23630
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23592
23631
  createdAt: string | null;
23593
23632
  updatedAt: string | null;
23594
23633
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -23614,8 +23653,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23614
23653
  } | {
23615
23654
  status: "partial" | "succeeded";
23616
23655
  availability: "legacy_without_telemetry";
23617
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23618
23656
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
23657
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23619
23658
  failurePolicy: "fail" | "fallback" | null;
23620
23659
  effectiveDelegate?: {
23621
23660
  curator: {
@@ -23633,8 +23672,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23633
23672
  } | undefined;
23634
23673
  } | {
23635
23674
  availability: "bypassed";
23636
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23637
23675
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
23676
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23638
23677
  failurePolicy: "fail" | "fallback" | null;
23639
23678
  effectiveDelegate?: {
23640
23679
  curator: {
@@ -23652,8 +23691,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23652
23691
  } | undefined;
23653
23692
  } | {
23654
23693
  availability: "awaiting_telemetry";
23655
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23656
23694
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
23695
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23657
23696
  failurePolicy: "fail" | "fallback" | null;
23658
23697
  effectiveDelegate?: {
23659
23698
  curator: {
@@ -23671,8 +23710,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23671
23710
  } | undefined;
23672
23711
  } | {
23673
23712
  availability: "telemetry_unavailable";
23674
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23675
23713
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
23714
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
23676
23715
  failurePolicy: "fail" | "fallback" | null;
23677
23716
  effectiveDelegate?: {
23678
23717
  curator: {
@@ -23884,45 +23923,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23884
23923
  } | undefined;
23885
23924
  };
23886
23925
  } | undefined;
23887
- verification?: {
23888
- schema_version: "clinkx-workflow-verification-v1";
23889
- availability: "available" | "unavailable" | "unrecorded";
23890
- inspections: {
23891
- coverage: {
23892
- status: "failed" | "complete" | "incomplete" | "inapplicable";
23893
- checks: {
23894
- status: "failed" | "complete" | "incomplete" | "inapplicable";
23895
- check_id: string;
23896
- reasons: {
23897
- code: string;
23898
- check_id: string;
23899
- }[];
23900
- }[];
23901
- reasons: {
23902
- code: string;
23903
- check_id: string;
23904
- }[];
23905
- };
23906
- owner_acceptance: "not_recorded";
23907
- expectations_sha256: string;
23908
- scope: "inspected_at";
23909
- identity: {
23910
- source_sha256: string;
23911
- build_sha256: string;
23912
- procedure_sha256: string;
23913
- boundary: "workflow-handoff-fixture" | "project-command-v1";
23914
- } | null;
23915
- inspection_id: string;
23916
- inspected_at: string;
23917
- required_checks: number | null;
23918
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
23919
- evidence_ref: {
23920
- sha256: string;
23921
- kind: "expectations_sha256";
23922
- };
23923
- }[];
23924
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
23925
- } | undefined;
23926
23926
  }, {
23927
23927
  status: "pending" | "running" | "succeeded" | "failed" | "cancelled";
23928
23928
  stages: {
@@ -23935,6 +23935,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
23935
23935
  hasOutput: boolean;
23936
23936
  hasRawError: boolean;
23937
23937
  hasArtifactReference: boolean;
23938
+ failureClass?: "transient" | "permanent" | undefined;
23938
23939
  startedAt?: string | undefined;
23939
23940
  completedAt?: string | undefined;
23940
23941
  invocation?: {
@@ -24033,7 +24034,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24033
24034
  state: "accepted_unrepresentable";
24034
24035
  } | undefined;
24035
24036
  } | undefined;
24036
- failureClass?: "transient" | "permanent" | undefined;
24037
24037
  attemptsConsumed?: number | undefined;
24038
24038
  durationMs?: number | undefined;
24039
24039
  snapshotIdentity?: {
@@ -24126,9 +24126,48 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24126
24126
  contextStatus: "partial" | "succeeded" | "absent";
24127
24127
  executionContractDigestPrefix: string;
24128
24128
  };
24129
+ verification?: {
24130
+ schema_version: "clinkx-workflow-verification-v1";
24131
+ availability: "available" | "unavailable" | "unrecorded";
24132
+ inspections: {
24133
+ coverage: {
24134
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
24135
+ checks: {
24136
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
24137
+ check_id: string;
24138
+ reasons: {
24139
+ code: string;
24140
+ check_id: string;
24141
+ }[];
24142
+ }[];
24143
+ reasons: {
24144
+ code: string;
24145
+ check_id: string;
24146
+ }[];
24147
+ };
24148
+ owner_acceptance: "not_recorded";
24149
+ expectations_sha256: string;
24150
+ scope: "inspected_at";
24151
+ identity: {
24152
+ source_sha256: string;
24153
+ build_sha256: string;
24154
+ procedure_sha256: string;
24155
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
24156
+ } | null;
24157
+ inspection_id: string;
24158
+ inspected_at: string;
24159
+ required_checks: number | null;
24160
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
24161
+ evidence_ref: {
24162
+ sha256: string;
24163
+ kind: "expectations_sha256";
24164
+ };
24165
+ }[];
24166
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
24167
+ } | undefined;
24168
+ failureClass?: "transient" | "permanent" | undefined;
24129
24169
  startedAt?: string | undefined;
24130
24170
  completedAt?: string | undefined;
24131
- failureClass?: "transient" | "permanent" | undefined;
24132
24171
  verifiedRepair?: {
24133
24172
  schema_version: "clinkx-dashboard-verified-repair-v1";
24134
24173
  phases: {
@@ -24163,8 +24202,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24163
24202
  } | undefined;
24164
24203
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
24165
24204
  decisiveFailure?: {
24166
- stageId: string;
24167
24205
  failureClass: "transient" | "permanent";
24206
+ stageId: string;
24168
24207
  callId?: string | undefined;
24169
24208
  } | undefined;
24170
24209
  contextPreflight?: {
@@ -24204,9 +24243,9 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24204
24243
  startedAt: string | null;
24205
24244
  completedAt: string | null;
24206
24245
  availability: "current";
24207
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24208
24246
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
24209
24247
  durationMs: number | null;
24248
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24210
24249
  createdAt: string | null;
24211
24250
  updatedAt: string | null;
24212
24251
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -24232,8 +24271,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24232
24271
  } | {
24233
24272
  status: "partial" | "succeeded";
24234
24273
  availability: "legacy_without_telemetry";
24235
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24236
24274
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
24275
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24237
24276
  failurePolicy: "fail" | "fallback" | null;
24238
24277
  effectiveDelegate?: {
24239
24278
  curator: {
@@ -24251,8 +24290,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24251
24290
  } | undefined;
24252
24291
  } | {
24253
24292
  availability: "bypassed";
24254
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24255
24293
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
24294
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24256
24295
  failurePolicy: "fail" | "fallback" | null;
24257
24296
  effectiveDelegate?: {
24258
24297
  curator: {
@@ -24270,8 +24309,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24270
24309
  } | undefined;
24271
24310
  } | {
24272
24311
  availability: "awaiting_telemetry";
24273
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24274
24312
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
24313
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24275
24314
  failurePolicy: "fail" | "fallback" | null;
24276
24315
  effectiveDelegate?: {
24277
24316
  curator: {
@@ -24289,8 +24328,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24289
24328
  } | undefined;
24290
24329
  } | {
24291
24330
  availability: "telemetry_unavailable";
24292
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24293
24331
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
24332
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24294
24333
  failurePolicy: "fail" | "fallback" | null;
24295
24334
  effectiveDelegate?: {
24296
24335
  curator: {
@@ -24502,45 +24541,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24502
24541
  } | undefined;
24503
24542
  };
24504
24543
  } | undefined;
24505
- verification?: {
24506
- schema_version: "clinkx-workflow-verification-v1";
24507
- availability: "available" | "unavailable" | "unrecorded";
24508
- inspections: {
24509
- coverage: {
24510
- status: "failed" | "complete" | "incomplete" | "inapplicable";
24511
- checks: {
24512
- status: "failed" | "complete" | "incomplete" | "inapplicable";
24513
- check_id: string;
24514
- reasons: {
24515
- code: string;
24516
- check_id: string;
24517
- }[];
24518
- }[];
24519
- reasons: {
24520
- code: string;
24521
- check_id: string;
24522
- }[];
24523
- };
24524
- owner_acceptance: "not_recorded";
24525
- expectations_sha256: string;
24526
- scope: "inspected_at";
24527
- identity: {
24528
- source_sha256: string;
24529
- build_sha256: string;
24530
- procedure_sha256: string;
24531
- boundary: "workflow-handoff-fixture" | "project-command-v1";
24532
- } | null;
24533
- inspection_id: string;
24534
- inspected_at: string;
24535
- required_checks: number | null;
24536
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
24537
- evidence_ref: {
24538
- sha256: string;
24539
- kind: "expectations_sha256";
24540
- };
24541
- }[];
24542
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
24543
- } | undefined;
24544
24544
  }>, z.ZodObject<{
24545
24545
  runId: z.ZodString;
24546
24546
  runGeneration: z.ZodString;
@@ -24582,6 +24582,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24582
24582
  hasOutput: boolean;
24583
24583
  hasRawError: boolean;
24584
24584
  hasArtifactReference: boolean;
24585
+ failureClass?: "transient" | "permanent" | undefined;
24585
24586
  startedAt?: string | undefined;
24586
24587
  completedAt?: string | undefined;
24587
24588
  invocation?: {
@@ -24680,7 +24681,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24680
24681
  state: "accepted_unrepresentable";
24681
24682
  } | undefined;
24682
24683
  } | undefined;
24683
- failureClass?: "transient" | "permanent" | undefined;
24684
24684
  attemptsConsumed?: number | undefined;
24685
24685
  durationMs?: number | undefined;
24686
24686
  snapshotIdentity?: {
@@ -24773,9 +24773,48 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24773
24773
  contextStatus: "partial" | "succeeded" | "absent";
24774
24774
  executionContractDigestPrefix: string;
24775
24775
  };
24776
+ verification?: {
24777
+ schema_version: "clinkx-workflow-verification-v1";
24778
+ availability: "available" | "unavailable" | "unrecorded";
24779
+ inspections: {
24780
+ coverage: {
24781
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
24782
+ checks: {
24783
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
24784
+ check_id: string;
24785
+ reasons: {
24786
+ code: string;
24787
+ check_id: string;
24788
+ }[];
24789
+ }[];
24790
+ reasons: {
24791
+ code: string;
24792
+ check_id: string;
24793
+ }[];
24794
+ };
24795
+ owner_acceptance: "not_recorded";
24796
+ expectations_sha256: string;
24797
+ scope: "inspected_at";
24798
+ identity: {
24799
+ source_sha256: string;
24800
+ build_sha256: string;
24801
+ procedure_sha256: string;
24802
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
24803
+ } | null;
24804
+ inspection_id: string;
24805
+ inspected_at: string;
24806
+ required_checks: number | null;
24807
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
24808
+ evidence_ref: {
24809
+ sha256: string;
24810
+ kind: "expectations_sha256";
24811
+ };
24812
+ }[];
24813
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
24814
+ } | undefined;
24815
+ failureClass?: "transient" | "permanent" | undefined;
24776
24816
  startedAt?: string | undefined;
24777
24817
  completedAt?: string | undefined;
24778
- failureClass?: "transient" | "permanent" | undefined;
24779
24818
  verifiedRepair?: {
24780
24819
  schema_version: "clinkx-dashboard-verified-repair-v1";
24781
24820
  phases: {
@@ -24810,8 +24849,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24810
24849
  } | undefined;
24811
24850
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
24812
24851
  decisiveFailure?: {
24813
- stageId: string;
24814
24852
  failureClass: "transient" | "permanent";
24853
+ stageId: string;
24815
24854
  callId?: string | undefined;
24816
24855
  } | undefined;
24817
24856
  contextPreflight?: {
@@ -24851,9 +24890,9 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24851
24890
  startedAt: string | null;
24852
24891
  completedAt: string | null;
24853
24892
  availability: "current";
24854
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24855
24893
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
24856
24894
  durationMs: number | null;
24895
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24857
24896
  createdAt: string | null;
24858
24897
  updatedAt: string | null;
24859
24898
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -24879,8 +24918,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24879
24918
  } | {
24880
24919
  status: "partial" | "succeeded";
24881
24920
  availability: "legacy_without_telemetry";
24882
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24883
24921
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
24922
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24884
24923
  failurePolicy: "fail" | "fallback" | null;
24885
24924
  effectiveDelegate?: {
24886
24925
  curator: {
@@ -24898,8 +24937,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24898
24937
  } | undefined;
24899
24938
  } | {
24900
24939
  availability: "bypassed";
24901
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24902
24940
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
24941
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24903
24942
  failurePolicy: "fail" | "fallback" | null;
24904
24943
  effectiveDelegate?: {
24905
24944
  curator: {
@@ -24917,8 +24956,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24917
24956
  } | undefined;
24918
24957
  } | {
24919
24958
  availability: "awaiting_telemetry";
24920
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24921
24959
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
24960
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24922
24961
  failurePolicy: "fail" | "fallback" | null;
24923
24962
  effectiveDelegate?: {
24924
24963
  curator: {
@@ -24936,8 +24975,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
24936
24975
  } | undefined;
24937
24976
  } | {
24938
24977
  availability: "telemetry_unavailable";
24939
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24940
24978
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
24979
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
24941
24980
  failurePolicy: "fail" | "fallback" | null;
24942
24981
  effectiveDelegate?: {
24943
24982
  curator: {
@@ -25149,45 +25188,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25149
25188
  } | undefined;
25150
25189
  };
25151
25190
  } | undefined;
25152
- verification?: {
25153
- schema_version: "clinkx-workflow-verification-v1";
25154
- availability: "available" | "unavailable" | "unrecorded";
25155
- inspections: {
25156
- coverage: {
25157
- status: "failed" | "complete" | "incomplete" | "inapplicable";
25158
- checks: {
25159
- status: "failed" | "complete" | "incomplete" | "inapplicable";
25160
- check_id: string;
25161
- reasons: {
25162
- code: string;
25163
- check_id: string;
25164
- }[];
25165
- }[];
25166
- reasons: {
25167
- code: string;
25168
- check_id: string;
25169
- }[];
25170
- };
25171
- owner_acceptance: "not_recorded";
25172
- expectations_sha256: string;
25173
- scope: "inspected_at";
25174
- identity: {
25175
- source_sha256: string;
25176
- build_sha256: string;
25177
- procedure_sha256: string;
25178
- boundary: "workflow-handoff-fixture" | "project-command-v1";
25179
- } | null;
25180
- inspection_id: string;
25181
- inspected_at: string;
25182
- required_checks: number | null;
25183
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
25184
- evidence_ref: {
25185
- sha256: string;
25186
- kind: "expectations_sha256";
25187
- };
25188
- }[];
25189
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
25190
- } | undefined;
25191
25191
  }, {
25192
25192
  reason: "identity_mismatch" | "state_unreadable" | "state_invalid" | "too_large_for_dashboard" | "too_complex_for_dashboard" | "path_rejected" | "run_generation_race";
25193
25193
  runId: string;
@@ -25207,6 +25207,7 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25207
25207
  hasOutput: boolean;
25208
25208
  hasRawError: boolean;
25209
25209
  hasArtifactReference: boolean;
25210
+ failureClass?: "transient" | "permanent" | undefined;
25210
25211
  startedAt?: string | undefined;
25211
25212
  completedAt?: string | undefined;
25212
25213
  invocation?: {
@@ -25305,7 +25306,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25305
25306
  state: "accepted_unrepresentable";
25306
25307
  } | undefined;
25307
25308
  } | undefined;
25308
- failureClass?: "transient" | "permanent" | undefined;
25309
25309
  attemptsConsumed?: number | undefined;
25310
25310
  durationMs?: number | undefined;
25311
25311
  snapshotIdentity?: {
@@ -25366,41 +25366,80 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25366
25366
  dependsOn: string[];
25367
25367
  label?: string | undefined;
25368
25368
  }[];
25369
- availability: "available";
25370
- } | {
25371
- reason: "missing" | "invalid" | "unreadable" | "not_loaded" | "too_large" | "hash_mismatch";
25372
- availability: "unavailable";
25373
- };
25374
- card: {
25375
- kind: "generic";
25376
- stageCounts: {
25377
- pending: number;
25378
- running: number;
25379
- succeeded: number;
25380
- failed: number;
25381
- cancelled: number;
25382
- };
25383
- callCounts: {
25384
- pending: number;
25385
- running: number;
25386
- succeeded: number;
25387
- failed: number;
25388
- cancelled: number;
25389
- };
25390
- } | {
25391
- kind: "council-plan-review";
25392
- executionStatus: "partial" | "complete";
25393
- seatCount: number;
25394
- completedSeats: number;
25395
- failedSeats: number;
25396
- missingSeats: number;
25397
- chairmanStatus: "failed" | "skipped" | "completed";
25398
- contextStatus: "partial" | "succeeded" | "absent";
25399
- executionContractDigestPrefix: string;
25400
- };
25369
+ availability: "available";
25370
+ } | {
25371
+ reason: "missing" | "invalid" | "unreadable" | "not_loaded" | "too_large" | "hash_mismatch";
25372
+ availability: "unavailable";
25373
+ };
25374
+ card: {
25375
+ kind: "generic";
25376
+ stageCounts: {
25377
+ pending: number;
25378
+ running: number;
25379
+ succeeded: number;
25380
+ failed: number;
25381
+ cancelled: number;
25382
+ };
25383
+ callCounts: {
25384
+ pending: number;
25385
+ running: number;
25386
+ succeeded: number;
25387
+ failed: number;
25388
+ cancelled: number;
25389
+ };
25390
+ } | {
25391
+ kind: "council-plan-review";
25392
+ executionStatus: "partial" | "complete";
25393
+ seatCount: number;
25394
+ completedSeats: number;
25395
+ failedSeats: number;
25396
+ missingSeats: number;
25397
+ chairmanStatus: "failed" | "skipped" | "completed";
25398
+ contextStatus: "partial" | "succeeded" | "absent";
25399
+ executionContractDigestPrefix: string;
25400
+ };
25401
+ verification?: {
25402
+ schema_version: "clinkx-workflow-verification-v1";
25403
+ availability: "available" | "unavailable" | "unrecorded";
25404
+ inspections: {
25405
+ coverage: {
25406
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
25407
+ checks: {
25408
+ status: "failed" | "complete" | "incomplete" | "inapplicable";
25409
+ check_id: string;
25410
+ reasons: {
25411
+ code: string;
25412
+ check_id: string;
25413
+ }[];
25414
+ }[];
25415
+ reasons: {
25416
+ code: string;
25417
+ check_id: string;
25418
+ }[];
25419
+ };
25420
+ owner_acceptance: "not_recorded";
25421
+ expectations_sha256: string;
25422
+ scope: "inspected_at";
25423
+ identity: {
25424
+ source_sha256: string;
25425
+ build_sha256: string;
25426
+ procedure_sha256: string;
25427
+ boundary: "workflow-handoff-fixture" | "project-command-v1";
25428
+ } | null;
25429
+ inspection_id: string;
25430
+ inspected_at: string;
25431
+ required_checks: number | null;
25432
+ retention: "unknown" | "missing" | "unavailable" | "present" | "outside_mount";
25433
+ evidence_ref: {
25434
+ sha256: string;
25435
+ kind: "expectations_sha256";
25436
+ };
25437
+ }[];
25438
+ reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
25439
+ } | undefined;
25440
+ failureClass?: "transient" | "permanent" | undefined;
25401
25441
  startedAt?: string | undefined;
25402
25442
  completedAt?: string | undefined;
25403
- failureClass?: "transient" | "permanent" | undefined;
25404
25443
  verifiedRepair?: {
25405
25444
  schema_version: "clinkx-dashboard-verified-repair-v1";
25406
25445
  phases: {
@@ -25435,8 +25474,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25435
25474
  } | undefined;
25436
25475
  workerLockObservation?: "unknown" | "live" | "orphaned" | "heartbeat_live" | undefined;
25437
25476
  decisiveFailure?: {
25438
- stageId: string;
25439
25477
  failureClass: "transient" | "permanent";
25478
+ stageId: string;
25440
25479
  callId?: string | undefined;
25441
25480
  } | undefined;
25442
25481
  contextPreflight?: {
@@ -25476,9 +25515,9 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25476
25515
  startedAt: string | null;
25477
25516
  completedAt: string | null;
25478
25517
  availability: "current";
25479
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25480
25518
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
25481
25519
  durationMs: number | null;
25520
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25482
25521
  createdAt: string | null;
25483
25522
  updatedAt: string | null;
25484
25523
  reasonCodes: ("cache_disabled" | "cache_miss" | "cache_stale" | "delegate_disabled" | "delegate_failed" | "delegate_fallback" | "delegate_invalid" | "delegate_timeout" | "coverage_degraded" | "empty_selection" | "operation_cancelled" | "internal_failure" | "legacy_supported" | "legacy_unsupported" | "generation_replaced")[];
@@ -25504,8 +25543,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25504
25543
  } | {
25505
25544
  status: "partial" | "succeeded";
25506
25545
  availability: "legacy_without_telemetry";
25507
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25508
25546
  effectiveMode: "disabled" | "deterministic" | "full" | "off" | null;
25547
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25509
25548
  failurePolicy: "fail" | "fallback" | null;
25510
25549
  effectiveDelegate?: {
25511
25550
  curator: {
@@ -25523,8 +25562,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25523
25562
  } | undefined;
25524
25563
  } | {
25525
25564
  availability: "bypassed";
25526
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25527
25565
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
25566
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25528
25567
  failurePolicy: "fail" | "fallback" | null;
25529
25568
  effectiveDelegate?: {
25530
25569
  curator: {
@@ -25542,8 +25581,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25542
25581
  } | undefined;
25543
25582
  } | {
25544
25583
  availability: "awaiting_telemetry";
25545
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25546
25584
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
25585
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25547
25586
  failurePolicy: "fail" | "fallback" | null;
25548
25587
  effectiveDelegate?: {
25549
25588
  curator: {
@@ -25561,8 +25600,8 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25561
25600
  } | undefined;
25562
25601
  } | {
25563
25602
  availability: "telemetry_unavailable";
25564
- profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25565
25603
  effectiveMode: "disabled" | "deterministic" | "full" | "off";
25604
+ profile: "handoff_small" | "implementation_medium" | "review_deep" | null;
25566
25605
  failurePolicy: "fail" | "fallback" | null;
25567
25606
  effectiveDelegate?: {
25568
25607
  curator: {
@@ -25774,45 +25813,6 @@ export declare const RunDetailResponseSchema: z.ZodEffects<z.ZodDiscriminatedUni
25774
25813
  } | undefined;
25775
25814
  };
25776
25815
  } | undefined;
25777
- verification?: {
25778
- schema_version: "clinkx-workflow-verification-v1";
25779
- availability: "available" | "unavailable" | "unrecorded";
25780
- inspections: {
25781
- coverage: {
25782
- status: "failed" | "complete" | "incomplete" | "inapplicable";
25783
- checks: {
25784
- status: "failed" | "complete" | "incomplete" | "inapplicable";
25785
- check_id: string;
25786
- reasons: {
25787
- code: string;
25788
- check_id: string;
25789
- }[];
25790
- }[];
25791
- reasons: {
25792
- code: string;
25793
- check_id: string;
25794
- }[];
25795
- };
25796
- owner_acceptance: "not_recorded";
25797
- expectations_sha256: string;
25798
- scope: "inspected_at";
25799
- identity: {
25800
- source_sha256: string;
25801
- build_sha256: string;
25802
- procedure_sha256: string;
25803
- boundary: "workflow-handoff-fixture" | "project-command-v1";
25804
- } | null;
25805
- inspection_id: string;
25806
- inspected_at: string;
25807
- required_checks: number | null;
25808
- retention: "unknown" | "missing" | "unavailable" | "outside_mount" | "present";
25809
- evidence_ref: {
25810
- sha256: string;
25811
- kind: "expectations_sha256";
25812
- };
25813
- }[];
25814
- reason?: "unreadable" | "identity_mismatch" | "invalid_record" | "too_many_records" | undefined;
25815
- } | undefined;
25816
25816
  }>;
25817
25817
  export declare const ArtifactReferenceSchema: z.ZodObject<{
25818
25818
  runId: z.ZodString;
@@ -25825,16 +25825,16 @@ export declare const ArtifactReferenceSchema: z.ZodObject<{
25825
25825
  validation: z.ZodLiteral<"deferred">;
25826
25826
  }, "strict", z.ZodTypeAny, {
25827
25827
  validation: "deferred";
25828
- stageId: string;
25829
25828
  kind: "json";
25829
+ stageId: string;
25830
25830
  runId: string;
25831
25831
  runGeneration: string;
25832
25832
  callId: string;
25833
25833
  stateRevision: string;
25834
25834
  }, {
25835
25835
  validation: "deferred";
25836
- stageId: string;
25837
25836
  kind: "json";
25837
+ stageId: string;
25838
25838
  runId: string;
25839
25839
  runGeneration: string;
25840
25840
  callId: string;
@@ -26184,16 +26184,16 @@ export declare const ArtifactsResponseSchema: z.ZodObject<{
26184
26184
  validation: z.ZodLiteral<"deferred">;
26185
26185
  }, "strict", z.ZodTypeAny, {
26186
26186
  validation: "deferred";
26187
- stageId: string;
26188
26187
  kind: "json";
26188
+ stageId: string;
26189
26189
  runId: string;
26190
26190
  runGeneration: string;
26191
26191
  callId: string;
26192
26192
  stateRevision: string;
26193
26193
  }, {
26194
26194
  validation: "deferred";
26195
- stageId: string;
26196
26195
  kind: "json";
26196
+ stageId: string;
26197
26197
  runId: string;
26198
26198
  runGeneration: string;
26199
26199
  callId: string;
@@ -26204,8 +26204,8 @@ export declare const ArtifactsResponseSchema: z.ZodObject<{
26204
26204
  }, "strict", z.ZodTypeAny, {
26205
26205
  artifacts: {
26206
26206
  validation: "deferred";
26207
- stageId: string;
26208
26207
  kind: "json";
26208
+ stageId: string;
26209
26209
  runId: string;
26210
26210
  runGeneration: string;
26211
26211
  callId: string;
@@ -26216,8 +26216,8 @@ export declare const ArtifactsResponseSchema: z.ZodObject<{
26216
26216
  }, {
26217
26217
  artifacts: {
26218
26218
  validation: "deferred";
26219
- stageId: string;
26220
26219
  kind: "json";
26220
+ stageId: string;
26221
26221
  runId: string;
26222
26222
  runGeneration: string;
26223
26223
  callId: string;
@@ -26293,17 +26293,17 @@ export declare const ApiErrorResponseSchema: z.ZodObject<{
26293
26293
  error: z.ZodObject<{
26294
26294
  code: z.ZodEnum<["unauthorized", "invalid_request", "method_not_allowed", "host_rejected", "origin_rejected", "not_found", "dashboard_busy", "run_directory_limit_exceeded", "scan_byte_budget_exceeded", "projection_cache_budget_exceeded", "live_run_limit_exceeded", "artifact_catalog_limit_exceeded", "run_generation_changed", "run_state_changed", "activity_generation_changed", "activity_state_changed", "context_generation_changed", "agent_instance_changed", "content_too_large_for_dashboard", "context_runs_unavailable", "session_logs_unavailable", "progress_report_malformed", "progress_report_overrides_unavailable", "prompt_builder_library_unavailable", "internal_error"]>;
26295
26295
  }, "strict", z.ZodTypeAny, {
26296
- code: "internal_error" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "not_found" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26296
+ code: "internal_error" | "not_found" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26297
26297
  }, {
26298
- code: "internal_error" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "not_found" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26298
+ code: "internal_error" | "not_found" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26299
26299
  }>;
26300
26300
  }, "strict", z.ZodTypeAny, {
26301
26301
  error: {
26302
- code: "internal_error" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "not_found" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26302
+ code: "internal_error" | "not_found" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26303
26303
  };
26304
26304
  }, {
26305
26305
  error: {
26306
- code: "internal_error" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "not_found" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26306
+ code: "internal_error" | "not_found" | "unauthorized" | "invalid_request" | "method_not_allowed" | "host_rejected" | "origin_rejected" | "dashboard_busy" | "run_directory_limit_exceeded" | "scan_byte_budget_exceeded" | "projection_cache_budget_exceeded" | "live_run_limit_exceeded" | "artifact_catalog_limit_exceeded" | "run_generation_changed" | "run_state_changed" | "activity_generation_changed" | "activity_state_changed" | "context_generation_changed" | "agent_instance_changed" | "content_too_large_for_dashboard" | "context_runs_unavailable" | "session_logs_unavailable" | "progress_report_malformed" | "progress_report_overrides_unavailable" | "prompt_builder_library_unavailable";
26307
26307
  };
26308
26308
  }>;
26309
26309
  export type WorkflowDescriptor = z.infer<typeof WorkflowDescriptorSchema>;
@@ -27162,6 +27162,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27162
27162
  stageId: string;
27163
27163
  callId: string;
27164
27164
  retryCount: number;
27165
+ failureClass?: "transient" | "permanent" | undefined;
27165
27166
  startedAt?: string | undefined;
27166
27167
  completedAt?: string | undefined;
27167
27168
  invocation?: {
@@ -27260,7 +27261,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27260
27261
  state: "accepted_unrepresentable";
27261
27262
  } | undefined;
27262
27263
  } | undefined;
27263
- failureClass?: "transient" | "permanent" | undefined;
27264
27264
  artifactPath?: string | undefined;
27265
27265
  attemptsConsumed?: number | undefined;
27266
27266
  durationMs?: number | undefined;
@@ -27273,6 +27273,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27273
27273
  stageId: string;
27274
27274
  callId: string;
27275
27275
  retryCount: number;
27276
+ failureClass?: "transient" | "permanent" | undefined;
27276
27277
  startedAt?: string | undefined;
27277
27278
  completedAt?: string | undefined;
27278
27279
  invocation?: {
@@ -27371,7 +27372,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27371
27372
  state: "accepted_unrepresentable";
27372
27373
  } | undefined;
27373
27374
  } | undefined;
27374
- failureClass?: "transient" | "permanent" | undefined;
27375
27375
  artifactPath?: string | undefined;
27376
27376
  attemptsConsumed?: number | undefined;
27377
27377
  durationMs?: number | undefined;
@@ -27386,6 +27386,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27386
27386
  stageId: string;
27387
27387
  callId: string;
27388
27388
  retryCount: number;
27389
+ failureClass?: "transient" | "permanent" | undefined;
27389
27390
  startedAt?: string | undefined;
27390
27391
  completedAt?: string | undefined;
27391
27392
  invocation?: {
@@ -27484,7 +27485,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27484
27485
  state: "accepted_unrepresentable";
27485
27486
  } | undefined;
27486
27487
  } | undefined;
27487
- failureClass?: "transient" | "permanent" | undefined;
27488
27488
  artifactPath?: string | undefined;
27489
27489
  attemptsConsumed?: number | undefined;
27490
27490
  durationMs?: number | undefined;
@@ -27503,6 +27503,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27503
27503
  stageId: string;
27504
27504
  callId: string;
27505
27505
  retryCount: number;
27506
+ failureClass?: "transient" | "permanent" | undefined;
27506
27507
  startedAt?: string | undefined;
27507
27508
  completedAt?: string | undefined;
27508
27509
  invocation?: {
@@ -27601,7 +27602,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
27601
27602
  state: "accepted_unrepresentable";
27602
27603
  } | undefined;
27603
27604
  } | undefined;
27604
- failureClass?: "transient" | "permanent" | undefined;
27605
27605
  artifactPath?: string | undefined;
27606
27606
  attemptsConsumed?: number | undefined;
27607
27607
  durationMs?: number | undefined;
@@ -28258,6 +28258,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28258
28258
  stageId: string;
28259
28259
  callId: string;
28260
28260
  retryCount: number;
28261
+ failureClass?: "transient" | "permanent" | undefined;
28261
28262
  startedAt?: string | undefined;
28262
28263
  completedAt?: string | undefined;
28263
28264
  invocation?: {
@@ -28356,7 +28357,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28356
28357
  state: "accepted_unrepresentable";
28357
28358
  } | undefined;
28358
28359
  } | undefined;
28359
- failureClass?: "transient" | "permanent" | undefined;
28360
28360
  artifactPath?: string | undefined;
28361
28361
  attemptsConsumed?: number | undefined;
28362
28362
  durationMs?: number | undefined;
@@ -28379,9 +28379,9 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28379
28379
  cb_profile?: "handoff_small" | "implementation_medium" | "review_deep" | undefined;
28380
28380
  cb_roots?: string[] | undefined;
28381
28381
  } | undefined;
28382
+ failureClass?: "transient" | "permanent" | undefined;
28382
28383
  startedAt?: string | undefined;
28383
28384
  completedAt?: string | undefined;
28384
- failureClass?: "transient" | "permanent" | undefined;
28385
28385
  async?: boolean | undefined;
28386
28386
  workflow_context?: {
28387
28387
  context_builder: {
@@ -28479,6 +28479,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28479
28479
  stageId: string;
28480
28480
  callId: string;
28481
28481
  retryCount: number;
28482
+ failureClass?: "transient" | "permanent" | undefined;
28482
28483
  startedAt?: string | undefined;
28483
28484
  completedAt?: string | undefined;
28484
28485
  invocation?: {
@@ -28577,7 +28578,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28577
28578
  state: "accepted_unrepresentable";
28578
28579
  } | undefined;
28579
28580
  } | undefined;
28580
- failureClass?: "transient" | "permanent" | undefined;
28581
28581
  artifactPath?: string | undefined;
28582
28582
  attemptsConsumed?: number | undefined;
28583
28583
  durationMs?: number | undefined;
@@ -28600,9 +28600,9 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28600
28600
  cb_profile?: "handoff_small" | "implementation_medium" | "review_deep" | undefined;
28601
28601
  cb_roots?: string[] | undefined;
28602
28602
  } | undefined;
28603
+ failureClass?: "transient" | "permanent" | undefined;
28603
28604
  startedAt?: string | undefined;
28604
28605
  completedAt?: string | undefined;
28605
- failureClass?: "transient" | "permanent" | undefined;
28606
28606
  async?: boolean | undefined;
28607
28607
  workflow_context?: {
28608
28608
  context_builder: {
@@ -28700,6 +28700,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28700
28700
  stageId: string;
28701
28701
  callId: string;
28702
28702
  retryCount: number;
28703
+ failureClass?: "transient" | "permanent" | undefined;
28703
28704
  startedAt?: string | undefined;
28704
28705
  completedAt?: string | undefined;
28705
28706
  invocation?: {
@@ -28798,7 +28799,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28798
28799
  state: "accepted_unrepresentable";
28799
28800
  } | undefined;
28800
28801
  } | undefined;
28801
- failureClass?: "transient" | "permanent" | undefined;
28802
28802
  artifactPath?: string | undefined;
28803
28803
  attemptsConsumed?: number | undefined;
28804
28804
  durationMs?: number | undefined;
@@ -28821,9 +28821,9 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28821
28821
  cb_profile?: "handoff_small" | "implementation_medium" | "review_deep" | undefined;
28822
28822
  cb_roots?: string[] | undefined;
28823
28823
  } | undefined;
28824
+ failureClass?: "transient" | "permanent" | undefined;
28824
28825
  startedAt?: string | undefined;
28825
28826
  completedAt?: string | undefined;
28826
- failureClass?: "transient" | "permanent" | undefined;
28827
28827
  async?: boolean | undefined;
28828
28828
  workflow_context?: {
28829
28829
  context_builder: {
@@ -28921,6 +28921,7 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
28921
28921
  stageId: string;
28922
28922
  callId: string;
28923
28923
  retryCount: number;
28924
+ failureClass?: "transient" | "permanent" | undefined;
28924
28925
  startedAt?: string | undefined;
28925
28926
  completedAt?: string | undefined;
28926
28927
  invocation?: {
@@ -29019,7 +29020,6 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
29019
29020
  state: "accepted_unrepresentable";
29020
29021
  } | undefined;
29021
29022
  } | undefined;
29022
- failureClass?: "transient" | "permanent" | undefined;
29023
29023
  artifactPath?: string | undefined;
29024
29024
  attemptsConsumed?: number | undefined;
29025
29025
  durationMs?: number | undefined;
@@ -29042,9 +29042,9 @@ export declare const DashboardRunStateSchema: z.ZodEffects<z.ZodObject<{
29042
29042
  cb_profile?: "handoff_small" | "implementation_medium" | "review_deep" | undefined;
29043
29043
  cb_roots?: string[] | undefined;
29044
29044
  } | undefined;
29045
+ failureClass?: "transient" | "permanent" | undefined;
29045
29046
  startedAt?: string | undefined;
29046
29047
  completedAt?: string | undefined;
29047
- failureClass?: "transient" | "permanent" | undefined;
29048
29048
  async?: boolean | undefined;
29049
29049
  workflow_context?: {
29050
29050
  context_builder: {
@@ -29259,13 +29259,13 @@ export declare const ProgressReportWireDocumentSchema: z.ZodObject<{
29259
29259
  agent: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
29260
29260
  note: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
29261
29261
  }, "strict", z.ZodTypeAny, {
29262
- status: "pending" | "failed" | "blocked" | "done" | "active";
29262
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29263
29263
  id: string;
29264
29264
  title: string;
29265
29265
  note?: string | undefined;
29266
29266
  agent?: string | undefined;
29267
29267
  }, {
29268
- status: "pending" | "failed" | "blocked" | "done" | "active";
29268
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29269
29269
  id: string;
29270
29270
  title: string;
29271
29271
  note?: string | undefined;
@@ -29364,8 +29364,19 @@ export declare const ProgressReportWireDocumentSchema: z.ZodObject<{
29364
29364
  raisedBy: string;
29365
29365
  needsHuman: boolean;
29366
29366
  }[] | undefined;
29367
+ files?: {
29368
+ path: string;
29369
+ change: "added" | "modified" | "deleted";
29370
+ adds: number;
29371
+ dels: number;
29372
+ }[] | undefined;
29373
+ decisions?: {
29374
+ t: string;
29375
+ msg: string;
29376
+ by: string;
29377
+ }[] | undefined;
29367
29378
  tasks?: {
29368
- status: "pending" | "failed" | "blocked" | "done" | "active";
29379
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29369
29380
  id: string;
29370
29381
  title: string;
29371
29382
  note?: string | undefined;
@@ -29384,12 +29395,6 @@ export declare const ProgressReportWireDocumentSchema: z.ZodObject<{
29384
29395
  t: string;
29385
29396
  msg: string;
29386
29397
  }[] | undefined;
29387
- files?: {
29388
- path: string;
29389
- change: "added" | "modified" | "deleted";
29390
- adds: number;
29391
- dels: number;
29392
- }[] | undefined;
29393
29398
  tests?: {
29394
29399
  failed: number;
29395
29400
  skipped: number;
@@ -29397,11 +29402,6 @@ export declare const ProgressReportWireDocumentSchema: z.ZodObject<{
29397
29402
  failing: string[];
29398
29403
  lastRun: string;
29399
29404
  } | undefined;
29400
- decisions?: {
29401
- t: string;
29402
- msg: string;
29403
- by: string;
29404
- }[] | undefined;
29405
29405
  }, {
29406
29406
  schemaVersion: "progress-report-v1";
29407
29407
  session: {
@@ -29418,8 +29418,19 @@ export declare const ProgressReportWireDocumentSchema: z.ZodObject<{
29418
29418
  raisedBy: string;
29419
29419
  needsHuman: boolean;
29420
29420
  }[] | undefined;
29421
+ files?: {
29422
+ path: string;
29423
+ change: "added" | "modified" | "deleted";
29424
+ adds: number;
29425
+ dels: number;
29426
+ }[] | undefined;
29427
+ decisions?: {
29428
+ t: string;
29429
+ msg: string;
29430
+ by: string;
29431
+ }[] | undefined;
29421
29432
  tasks?: {
29422
- status: "pending" | "failed" | "blocked" | "done" | "active";
29433
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29423
29434
  id: string;
29424
29435
  title: string;
29425
29436
  note?: string | undefined;
@@ -29438,12 +29449,6 @@ export declare const ProgressReportWireDocumentSchema: z.ZodObject<{
29438
29449
  t: string;
29439
29450
  msg: string;
29440
29451
  }[] | undefined;
29441
- files?: {
29442
- path: string;
29443
- change: "added" | "modified" | "deleted";
29444
- adds: number;
29445
- dels: number;
29446
- }[] | undefined;
29447
29452
  tests?: {
29448
29453
  failed: number;
29449
29454
  skipped: number;
@@ -29451,11 +29456,6 @@ export declare const ProgressReportWireDocumentSchema: z.ZodObject<{
29451
29456
  failing: string[];
29452
29457
  lastRun: string;
29453
29458
  } | undefined;
29454
- decisions?: {
29455
- t: string;
29456
- msg: string;
29457
- by: string;
29458
- }[] | undefined;
29459
29459
  }>;
29460
29460
  export type ProgressReportWireDocument = z.infer<typeof ProgressReportWireDocumentSchema>;
29461
29461
  /**
@@ -29602,13 +29602,13 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29602
29602
  agent: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
29603
29603
  note: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
29604
29604
  }, "strict", z.ZodTypeAny, {
29605
- status: "pending" | "failed" | "blocked" | "done" | "active";
29605
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29606
29606
  id: string;
29607
29607
  title: string;
29608
29608
  note?: string | undefined;
29609
29609
  agent?: string | undefined;
29610
29610
  }, {
29611
- status: "pending" | "failed" | "blocked" | "done" | "active";
29611
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29612
29612
  id: string;
29613
29613
  title: string;
29614
29614
  note?: string | undefined;
@@ -29707,8 +29707,19 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29707
29707
  raisedBy: string;
29708
29708
  needsHuman: boolean;
29709
29709
  }[] | undefined;
29710
+ files?: {
29711
+ path: string;
29712
+ change: "added" | "modified" | "deleted";
29713
+ adds: number;
29714
+ dels: number;
29715
+ }[] | undefined;
29716
+ decisions?: {
29717
+ t: string;
29718
+ msg: string;
29719
+ by: string;
29720
+ }[] | undefined;
29710
29721
  tasks?: {
29711
- status: "pending" | "failed" | "blocked" | "done" | "active";
29722
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29712
29723
  id: string;
29713
29724
  title: string;
29714
29725
  note?: string | undefined;
@@ -29727,12 +29738,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29727
29738
  t: string;
29728
29739
  msg: string;
29729
29740
  }[] | undefined;
29730
- files?: {
29731
- path: string;
29732
- change: "added" | "modified" | "deleted";
29733
- adds: number;
29734
- dels: number;
29735
- }[] | undefined;
29736
29741
  tests?: {
29737
29742
  failed: number;
29738
29743
  skipped: number;
@@ -29740,11 +29745,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29740
29745
  failing: string[];
29741
29746
  lastRun: string;
29742
29747
  } | undefined;
29743
- decisions?: {
29744
- t: string;
29745
- msg: string;
29746
- by: string;
29747
- }[] | undefined;
29748
29748
  }, {
29749
29749
  schemaVersion: "progress-report-v1";
29750
29750
  session: {
@@ -29761,8 +29761,19 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29761
29761
  raisedBy: string;
29762
29762
  needsHuman: boolean;
29763
29763
  }[] | undefined;
29764
+ files?: {
29765
+ path: string;
29766
+ change: "added" | "modified" | "deleted";
29767
+ adds: number;
29768
+ dels: number;
29769
+ }[] | undefined;
29770
+ decisions?: {
29771
+ t: string;
29772
+ msg: string;
29773
+ by: string;
29774
+ }[] | undefined;
29764
29775
  tasks?: {
29765
- status: "pending" | "failed" | "blocked" | "done" | "active";
29776
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29766
29777
  id: string;
29767
29778
  title: string;
29768
29779
  note?: string | undefined;
@@ -29781,12 +29792,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29781
29792
  t: string;
29782
29793
  msg: string;
29783
29794
  }[] | undefined;
29784
- files?: {
29785
- path: string;
29786
- change: "added" | "modified" | "deleted";
29787
- adds: number;
29788
- dels: number;
29789
- }[] | undefined;
29790
29795
  tests?: {
29791
29796
  failed: number;
29792
29797
  skipped: number;
@@ -29794,11 +29799,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29794
29799
  failing: string[];
29795
29800
  lastRun: string;
29796
29801
  } | undefined;
29797
- decisions?: {
29798
- t: string;
29799
- msg: string;
29800
- by: string;
29801
- }[] | undefined;
29802
29802
  }>;
29803
29803
  serverNow: z.ZodEffects<z.ZodString, string, string>;
29804
29804
  omittedSections: z.ZodArray<z.ZodString, "many">;
@@ -29821,8 +29821,19 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29821
29821
  raisedBy: string;
29822
29822
  needsHuman: boolean;
29823
29823
  }[] | undefined;
29824
+ files?: {
29825
+ path: string;
29826
+ change: "added" | "modified" | "deleted";
29827
+ adds: number;
29828
+ dels: number;
29829
+ }[] | undefined;
29830
+ decisions?: {
29831
+ t: string;
29832
+ msg: string;
29833
+ by: string;
29834
+ }[] | undefined;
29824
29835
  tasks?: {
29825
- status: "pending" | "failed" | "blocked" | "done" | "active";
29836
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29826
29837
  id: string;
29827
29838
  title: string;
29828
29839
  note?: string | undefined;
@@ -29841,12 +29852,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29841
29852
  t: string;
29842
29853
  msg: string;
29843
29854
  }[] | undefined;
29844
- files?: {
29845
- path: string;
29846
- change: "added" | "modified" | "deleted";
29847
- adds: number;
29848
- dels: number;
29849
- }[] | undefined;
29850
29855
  tests?: {
29851
29856
  failed: number;
29852
29857
  skipped: number;
@@ -29854,11 +29859,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29854
29859
  failing: string[];
29855
29860
  lastRun: string;
29856
29861
  } | undefined;
29857
- decisions?: {
29858
- t: string;
29859
- msg: string;
29860
- by: string;
29861
- }[] | undefined;
29862
29862
  };
29863
29863
  omittedSections: string[];
29864
29864
  publishedSessionStatus?: "running" | "failed" | "blocked" | "paused" | "done" | undefined;
@@ -29880,8 +29880,19 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29880
29880
  raisedBy: string;
29881
29881
  needsHuman: boolean;
29882
29882
  }[] | undefined;
29883
+ files?: {
29884
+ path: string;
29885
+ change: "added" | "modified" | "deleted";
29886
+ adds: number;
29887
+ dels: number;
29888
+ }[] | undefined;
29889
+ decisions?: {
29890
+ t: string;
29891
+ msg: string;
29892
+ by: string;
29893
+ }[] | undefined;
29883
29894
  tasks?: {
29884
- status: "pending" | "failed" | "blocked" | "done" | "active";
29895
+ status: "pending" | "failed" | "blocked" | "active" | "done";
29885
29896
  id: string;
29886
29897
  title: string;
29887
29898
  note?: string | undefined;
@@ -29900,12 +29911,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29900
29911
  t: string;
29901
29912
  msg: string;
29902
29913
  }[] | undefined;
29903
- files?: {
29904
- path: string;
29905
- change: "added" | "modified" | "deleted";
29906
- adds: number;
29907
- dels: number;
29908
- }[] | undefined;
29909
29914
  tests?: {
29910
29915
  failed: number;
29911
29916
  skipped: number;
@@ -29913,11 +29918,6 @@ export declare const ProgressReportDetailResponseSchema: z.ZodObject<{
29913
29918
  failing: string[];
29914
29919
  lastRun: string;
29915
29920
  } | undefined;
29916
- decisions?: {
29917
- t: string;
29918
- msg: string;
29919
- by: string;
29920
- }[] | undefined;
29921
29921
  };
29922
29922
  omittedSections: string[];
29923
29923
  publishedSessionStatus?: "running" | "failed" | "blocked" | "paused" | "done" | undefined;