tracegrove 0.0.0-stage → 0.3.1

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 (703) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +61 -2
  3. package/dist/adapters/browser/capabilities.d.ts +45 -0
  4. package/dist/adapters/browser/capabilities.js +14 -0
  5. package/dist/adapters/browser/capabilities.js.map +1 -0
  6. package/dist/adapters/browser/driver.d.ts +45 -0
  7. package/dist/adapters/browser/driver.js +295 -0
  8. package/dist/adapters/browser/driver.js.map +1 -0
  9. package/dist/adapters/browser/session.d.ts +21 -0
  10. package/dist/adapters/browser/session.js +87 -0
  11. package/dist/adapters/browser/session.js.map +1 -0
  12. package/dist/adapters/http/capabilities.d.ts +2 -0
  13. package/dist/adapters/http/capabilities.js +21 -0
  14. package/dist/adapters/http/capabilities.js.map +1 -0
  15. package/dist/adapters/http/driver.d.ts +55 -0
  16. package/dist/adapters/http/driver.js +125 -0
  17. package/dist/adapters/http/driver.js.map +1 -0
  18. package/dist/adapters/job/capabilities.d.ts +45 -0
  19. package/dist/adapters/job/capabilities.js +8 -0
  20. package/dist/adapters/job/capabilities.js.map +1 -0
  21. package/dist/adapters/job/driver.d.ts +26 -0
  22. package/dist/adapters/job/driver.js +110 -0
  23. package/dist/adapters/job/driver.js.map +1 -0
  24. package/dist/adapters/job/types.d.ts +9 -0
  25. package/dist/adapters/job/types.js +2 -0
  26. package/dist/adapters/job/types.js.map +1 -0
  27. package/dist/adapters/mcp/capabilities.d.ts +46 -0
  28. package/dist/adapters/mcp/capabilities.js +17 -0
  29. package/dist/adapters/mcp/capabilities.js.map +1 -0
  30. package/dist/adapters/mcp/driver.d.ts +10 -0
  31. package/dist/adapters/mcp/driver.js +83 -0
  32. package/dist/adapters/mcp/driver.js.map +1 -0
  33. package/dist/adapters/poll.d.ts +12 -0
  34. package/dist/adapters/poll.js +31 -0
  35. package/dist/adapters/poll.js.map +1 -0
  36. package/dist/authoring/activity.d.ts +17 -0
  37. package/dist/authoring/activity.js +18 -0
  38. package/dist/authoring/activity.js.map +1 -0
  39. package/dist/authoring/agent.d.ts +70 -0
  40. package/dist/authoring/agent.js +268 -0
  41. package/dist/authoring/agent.js.map +1 -0
  42. package/dist/authoring/appLaunch.d.ts +7 -0
  43. package/dist/authoring/appLaunch.js +32 -0
  44. package/dist/authoring/appLaunch.js.map +1 -0
  45. package/dist/authoring/appLocation.d.ts +2 -0
  46. package/dist/authoring/appLocation.js +5 -0
  47. package/dist/authoring/appLocation.js.map +1 -0
  48. package/dist/authoring/browser.d.ts +15 -0
  49. package/dist/authoring/browser.js +20 -0
  50. package/dist/authoring/browser.js.map +1 -0
  51. package/dist/authoring/compile.d.ts +47 -0
  52. package/dist/authoring/compile.js +508 -0
  53. package/dist/authoring/compile.js.map +1 -0
  54. package/dist/authoring/discover.d.ts +43 -0
  55. package/dist/authoring/discover.js +149 -0
  56. package/dist/authoring/discover.js.map +1 -0
  57. package/dist/authoring/environmentTemplates.d.ts +3 -0
  58. package/dist/authoring/environmentTemplates.js +24 -0
  59. package/dist/authoring/environmentTemplates.js.map +1 -0
  60. package/dist/authoring/heal.d.ts +108 -0
  61. package/dist/authoring/heal.js +723 -0
  62. package/dist/authoring/heal.js.map +1 -0
  63. package/dist/authoring/index.d.ts +14 -0
  64. package/dist/authoring/index.js +15 -0
  65. package/dist/authoring/index.js.map +1 -0
  66. package/dist/authoring/init.d.ts +21 -0
  67. package/dist/authoring/init.js +141 -0
  68. package/dist/authoring/init.js.map +1 -0
  69. package/dist/authoring/localSettings.d.ts +33 -0
  70. package/dist/authoring/localSettings.js +31 -0
  71. package/dist/authoring/localSettings.js.map +1 -0
  72. package/dist/authoring/media.d.ts +10 -0
  73. package/dist/authoring/media.js +37 -0
  74. package/dist/authoring/media.js.map +1 -0
  75. package/dist/authoring/module.d.ts +2 -0
  76. package/dist/authoring/module.js +38 -0
  77. package/dist/authoring/module.js.map +1 -0
  78. package/dist/authoring/run.d.ts +74 -0
  79. package/dist/authoring/run.js +242 -0
  80. package/dist/authoring/run.js.map +1 -0
  81. package/dist/authoring/runSource.d.ts +6 -0
  82. package/dist/authoring/runSource.js +24 -0
  83. package/dist/authoring/runSource.js.map +1 -0
  84. package/dist/authoring/savedRun.d.ts +13 -0
  85. package/dist/authoring/savedRun.js +94 -0
  86. package/dist/authoring/savedRun.js.map +1 -0
  87. package/dist/authoring/schema.d.ts +574 -0
  88. package/dist/authoring/schema.js +147 -0
  89. package/dist/authoring/schema.js.map +1 -0
  90. package/dist/authoring/snapshotSource.d.ts +13 -0
  91. package/dist/authoring/snapshotSource.js +41 -0
  92. package/dist/authoring/snapshotSource.js.map +1 -0
  93. package/dist/authoring/sourceSelection.d.ts +34 -0
  94. package/dist/authoring/sourceSelection.js +13 -0
  95. package/dist/authoring/sourceSelection.js.map +1 -0
  96. package/dist/authoring/sources.d.ts +5 -0
  97. package/dist/authoring/sources.js +65 -0
  98. package/dist/authoring/sources.js.map +1 -0
  99. package/dist/authoring/status.d.ts +48 -0
  100. package/dist/authoring/status.js +100 -0
  101. package/dist/authoring/status.js.map +1 -0
  102. package/dist/authoring/typed.d.ts +6 -0
  103. package/dist/authoring/typed.js +5 -0
  104. package/dist/authoring/typed.js.map +1 -0
  105. package/dist/authoring/ui.d.ts +10 -0
  106. package/dist/authoring/ui.js +486 -0
  107. package/dist/authoring/ui.js.map +1 -0
  108. package/dist/authoring/uiPage.d.ts +1 -0
  109. package/dist/authoring/uiPage.js +358 -0
  110. package/dist/authoring/uiPage.js.map +1 -0
  111. package/dist/authoring/uiSourceControls.d.ts +2 -0
  112. package/dist/authoring/uiSourceControls.js +41 -0
  113. package/dist/authoring/uiSourceControls.js.map +1 -0
  114. package/dist/authoring/verificationSource.d.ts +41 -0
  115. package/dist/authoring/verificationSource.js +46 -0
  116. package/dist/authoring/verificationSource.js.map +1 -0
  117. package/dist/authoring/workspace.d.ts +33 -0
  118. package/dist/authoring/workspace.js +58 -0
  119. package/dist/authoring/workspace.js.map +1 -0
  120. package/dist/cli/arguments.d.ts +288 -0
  121. package/dist/cli/arguments.js +121 -0
  122. package/dist/cli/arguments.js.map +1 -0
  123. package/dist/cli/cleanup.d.ts +18 -0
  124. package/dist/cli/cleanup.js +40 -0
  125. package/dist/cli/cleanup.js.map +1 -0
  126. package/dist/cli/doctor.d.ts +51 -0
  127. package/dist/cli/doctor.js +118 -0
  128. package/dist/cli/doctor.js.map +1 -0
  129. package/dist/cli/errors.d.ts +2 -0
  130. package/dist/cli/errors.js +84 -0
  131. package/dist/cli/errors.js.map +1 -0
  132. package/dist/cli/jsonFile.d.ts +2 -0
  133. package/dist/cli/jsonFile.js +15 -0
  134. package/dist/cli/jsonFile.js.map +1 -0
  135. package/dist/cli/main.d.ts +2 -0
  136. package/dist/cli/main.js +603 -0
  137. package/dist/cli/main.js.map +1 -0
  138. package/dist/cli/render.d.ts +22 -0
  139. package/dist/cli/render.js +150 -0
  140. package/dist/cli/render.js.map +1 -0
  141. package/dist/cli/samples/catalog.d.ts +10 -0
  142. package/dist/cli/samples/catalog.js +3 -0
  143. package/dist/cli/samples/catalog.js.map +1 -0
  144. package/dist/cli/samples/write.d.ts +5 -0
  145. package/dist/cli/samples/write.js +64 -0
  146. package/dist/cli/samples/write.js.map +1 -0
  147. package/dist/cli/source.d.ts +41 -0
  148. package/dist/cli/source.js +59 -0
  149. package/dist/cli/source.js.map +1 -0
  150. package/dist/core/activationDecision.d.ts +153 -0
  151. package/dist/core/activationDecision.js +34 -0
  152. package/dist/core/activationDecision.js.map +1 -0
  153. package/dist/core/artifacts.d.ts +18 -0
  154. package/dist/core/artifacts.js +79 -0
  155. package/dist/core/artifacts.js.map +1 -0
  156. package/dist/core/atomicFiles.d.ts +9 -0
  157. package/dist/core/atomicFiles.js +76 -0
  158. package/dist/core/atomicFiles.js.map +1 -0
  159. package/dist/core/boundedFile.d.ts +2 -0
  160. package/dist/core/boundedFile.js +28 -0
  161. package/dist/core/boundedFile.js.map +1 -0
  162. package/dist/core/bundle.d.ts +77 -0
  163. package/dist/core/bundle.js +375 -0
  164. package/dist/core/bundle.js.map +1 -0
  165. package/dist/core/bundleArchive.d.ts +10 -0
  166. package/dist/core/bundleArchive.js +47 -0
  167. package/dist/core/bundleArchive.js.map +1 -0
  168. package/dist/core/bundleEvidence.d.ts +12 -0
  169. package/dist/core/bundleEvidence.js +169 -0
  170. package/dist/core/bundleEvidence.js.map +1 -0
  171. package/dist/core/bundleExport.d.ts +12 -0
  172. package/dist/core/bundleExport.js +36 -0
  173. package/dist/core/bundleExport.js.map +1 -0
  174. package/dist/core/bundleFiles.d.ts +5 -0
  175. package/dist/core/bundleFiles.js +47 -0
  176. package/dist/core/bundleFiles.js.map +1 -0
  177. package/dist/core/bundlePaths.d.ts +2 -0
  178. package/dist/core/bundlePaths.js +7 -0
  179. package/dist/core/bundlePaths.js.map +1 -0
  180. package/dist/core/bundleSnapshot.d.ts +26 -0
  181. package/dist/core/bundleSnapshot.js +71 -0
  182. package/dist/core/bundleSnapshot.js.map +1 -0
  183. package/dist/core/capabilityBoundary.d.ts +1452 -0
  184. package/dist/core/capabilityBoundary.js +361 -0
  185. package/dist/core/capabilityBoundary.js.map +1 -0
  186. package/dist/core/capabilityLifecycle.d.ts +366 -0
  187. package/dist/core/capabilityLifecycle.js +79 -0
  188. package/dist/core/capabilityLifecycle.js.map +1 -0
  189. package/dist/core/cleanup.d.ts +35 -0
  190. package/dist/core/cleanup.js +71 -0
  191. package/dist/core/cleanup.js.map +1 -0
  192. package/dist/core/cleanupActions.d.ts +5 -0
  193. package/dist/core/cleanupActions.js +15 -0
  194. package/dist/core/cleanupActions.js.map +1 -0
  195. package/dist/core/cleanupAttestation.d.ts +23 -0
  196. package/dist/core/cleanupAttestation.js +57 -0
  197. package/dist/core/cleanupAttestation.js.map +1 -0
  198. package/dist/core/clock.d.ts +4 -0
  199. package/dist/core/clock.js +14 -0
  200. package/dist/core/clock.js.map +1 -0
  201. package/dist/core/compiler.d.ts +19 -0
  202. package/dist/core/compiler.js +200 -0
  203. package/dist/core/compiler.js.map +1 -0
  204. package/dist/core/controller.d.ts +7 -0
  205. package/dist/core/controller.js +132 -0
  206. package/dist/core/controller.js.map +1 -0
  207. package/dist/core/coordination.d.ts +72 -0
  208. package/dist/core/coordination.js +118 -0
  209. package/dist/core/coordination.js.map +1 -0
  210. package/dist/core/corpus.d.ts +60 -0
  211. package/dist/core/corpus.js +216 -0
  212. package/dist/core/corpus.js.map +1 -0
  213. package/dist/core/deadline.d.ts +12 -0
  214. package/dist/core/deadline.js +38 -0
  215. package/dist/core/deadline.js.map +1 -0
  216. package/dist/core/deliveryJournal.d.ts +37 -0
  217. package/dist/core/deliveryJournal.js +85 -0
  218. package/dist/core/deliveryJournal.js.map +1 -0
  219. package/dist/core/environmentPreflight.d.ts +14 -0
  220. package/dist/core/environmentPreflight.js +179 -0
  221. package/dist/core/environmentPreflight.js.map +1 -0
  222. package/dist/core/errors.d.ts +22 -0
  223. package/dist/core/errors.js +29 -0
  224. package/dist/core/errors.js.map +1 -0
  225. package/dist/core/events.d.ts +14 -0
  226. package/dist/core/events.js +37 -0
  227. package/dist/core/events.js.map +1 -0
  228. package/dist/core/executionInspection.d.ts +90 -0
  229. package/dist/core/executionInspection.js +31 -0
  230. package/dist/core/executionInspection.js.map +1 -0
  231. package/dist/core/executionOwnership.d.ts +72 -0
  232. package/dist/core/executionOwnership.js +82 -0
  233. package/dist/core/executionOwnership.js.map +1 -0
  234. package/dist/core/executionPreparation.d.ts +362 -0
  235. package/dist/core/executionPreparation.js +93 -0
  236. package/dist/core/executionPreparation.js.map +1 -0
  237. package/dist/core/executionReadback.d.ts +15 -0
  238. package/dist/core/executionReadback.js +21 -0
  239. package/dist/core/executionReadback.js.map +1 -0
  240. package/dist/core/executor.d.ts +46 -0
  241. package/dist/core/executor.js +616 -0
  242. package/dist/core/executor.js.map +1 -0
  243. package/dist/core/frozenBundle.d.ts +314 -0
  244. package/dist/core/frozenBundle.js +24 -0
  245. package/dist/core/frozenBundle.js.map +1 -0
  246. package/dist/core/fsDurability.d.ts +2 -0
  247. package/dist/core/fsDurability.js +12 -0
  248. package/dist/core/fsDurability.js.map +1 -0
  249. package/dist/core/generators.d.ts +4 -0
  250. package/dist/core/generators.js +71 -0
  251. package/dist/core/generators.js.map +1 -0
  252. package/dist/core/gitSnapshot.d.ts +63 -0
  253. package/dist/core/gitSnapshot.js +55 -0
  254. package/dist/core/gitSnapshot.js.map +1 -0
  255. package/dist/core/gitSources.d.ts +29 -0
  256. package/dist/core/gitSources.js +97 -0
  257. package/dist/core/gitSources.js.map +1 -0
  258. package/dist/core/ledger.d.ts +38 -0
  259. package/dist/core/ledger.js +169 -0
  260. package/dist/core/ledger.js.map +1 -0
  261. package/dist/core/ledgerInspection.d.ts +18 -0
  262. package/dist/core/ledgerInspection.js +66 -0
  263. package/dist/core/ledgerInspection.js.map +1 -0
  264. package/dist/core/ledgerRecords.d.ts +23 -0
  265. package/dist/core/ledgerRecords.js +29 -0
  266. package/dist/core/ledgerRecords.js.map +1 -0
  267. package/dist/core/localActivationState.d.ts +260 -0
  268. package/dist/core/localActivationState.js +49 -0
  269. package/dist/core/localActivationState.js.map +1 -0
  270. package/dist/core/localPromotionState.d.ts +387 -0
  271. package/dist/core/localPromotionState.js +22 -0
  272. package/dist/core/localPromotionState.js.map +1 -0
  273. package/dist/core/localQualificationResults.d.ts +39 -0
  274. package/dist/core/localQualificationResults.js +160 -0
  275. package/dist/core/localQualificationResults.js.map +1 -0
  276. package/dist/core/localReviewStore.d.ts +28 -0
  277. package/dist/core/localReviewStore.js +167 -0
  278. package/dist/core/localReviewStore.js.map +1 -0
  279. package/dist/core/localScenarioActivation.d.ts +6 -0
  280. package/dist/core/localScenarioActivation.js +70 -0
  281. package/dist/core/localScenarioActivation.js.map +1 -0
  282. package/dist/core/localScenarioOwner.d.ts +20 -0
  283. package/dist/core/localScenarioOwner.js +2 -0
  284. package/dist/core/localScenarioOwner.js.map +1 -0
  285. package/dist/core/localScenarioPromotion.d.ts +9 -0
  286. package/dist/core/localScenarioPromotion.js +49 -0
  287. package/dist/core/localScenarioPromotion.js.map +1 -0
  288. package/dist/core/localScenarioState.d.ts +2297 -0
  289. package/dist/core/localScenarioState.js +117 -0
  290. package/dist/core/localScenarioState.js.map +1 -0
  291. package/dist/core/localScenarioStore.d.ts +838 -0
  292. package/dist/core/localScenarioStore.js +218 -0
  293. package/dist/core/localScenarioStore.js.map +1 -0
  294. package/dist/core/localScenarioStructure.d.ts +4 -0
  295. package/dist/core/localScenarioStructure.js +52 -0
  296. package/dist/core/localScenarioStructure.js.map +1 -0
  297. package/dist/core/localStructureState.d.ts +2 -0
  298. package/dist/core/localStructureState.js +22 -0
  299. package/dist/core/localStructureState.js.map +1 -0
  300. package/dist/core/lookup.d.ts +662 -0
  301. package/dist/core/lookup.js +55 -0
  302. package/dist/core/lookup.js.map +1 -0
  303. package/dist/core/ownership.d.ts +3 -0
  304. package/dist/core/ownership.js +24 -0
  305. package/dist/core/ownership.js.map +1 -0
  306. package/dist/core/planInspection.d.ts +108 -0
  307. package/dist/core/planInspection.js +44 -0
  308. package/dist/core/planInspection.js.map +1 -0
  309. package/dist/core/planner.d.ts +14 -0
  310. package/dist/core/planner.js +261 -0
  311. package/dist/core/planner.js.map +1 -0
  312. package/dist/core/qualification.d.ts +26 -0
  313. package/dist/core/qualification.js +58 -0
  314. package/dist/core/qualification.js.map +1 -0
  315. package/dist/core/qualificationBundle.d.ts +6 -0
  316. package/dist/core/qualificationBundle.js +51 -0
  317. package/dist/core/qualificationBundle.js.map +1 -0
  318. package/dist/core/qualificationExecution.d.ts +879 -0
  319. package/dist/core/qualificationExecution.js +54 -0
  320. package/dist/core/qualificationExecution.js.map +1 -0
  321. package/dist/core/recoveryStatus.d.ts +6 -0
  322. package/dist/core/recoveryStatus.js +123 -0
  323. package/dist/core/recoveryStatus.js.map +1 -0
  324. package/dist/core/reducer.d.ts +56 -0
  325. package/dist/core/reducer.js +355 -0
  326. package/dist/core/reducer.js.map +1 -0
  327. package/dist/core/replayAssessment.d.ts +15 -0
  328. package/dist/core/replayAssessment.js +78 -0
  329. package/dist/core/replayAssessment.js.map +1 -0
  330. package/dist/core/replayEvidence.d.ts +7 -0
  331. package/dist/core/replayEvidence.js +58 -0
  332. package/dist/core/replayEvidence.js.map +1 -0
  333. package/dist/core/repositorySelectionEvidence.d.ts +3 -0
  334. package/dist/core/repositorySelectionEvidence.js +58 -0
  335. package/dist/core/repositorySelectionEvidence.js.map +1 -0
  336. package/dist/core/rerun.d.ts +3 -0
  337. package/dist/core/rerun.js +24 -0
  338. package/dist/core/rerun.js.map +1 -0
  339. package/dist/core/resultSink.d.ts +52 -0
  340. package/dist/core/resultSink.js +120 -0
  341. package/dist/core/resultSink.js.map +1 -0
  342. package/dist/core/review.d.ts +22 -0
  343. package/dist/core/review.js +65 -0
  344. package/dist/core/review.js.map +1 -0
  345. package/dist/core/runnerCapabilities.d.ts +22 -0
  346. package/dist/core/runnerCapabilities.js +44 -0
  347. package/dist/core/runnerCapabilities.js.map +1 -0
  348. package/dist/core/scenario.d.ts +32 -0
  349. package/dist/core/scenario.js +119 -0
  350. package/dist/core/scenario.js.map +1 -0
  351. package/dist/core/scenarioActivation.d.ts +16 -0
  352. package/dist/core/scenarioActivation.js +47 -0
  353. package/dist/core/scenarioActivation.js.map +1 -0
  354. package/dist/core/scenarioStructure.d.ts +400 -0
  355. package/dist/core/scenarioStructure.js +72 -0
  356. package/dist/core/scenarioStructure.js.map +1 -0
  357. package/dist/core/snapshotEvidence.d.ts +3 -0
  358. package/dist/core/snapshotEvidence.js +37 -0
  359. package/dist/core/snapshotEvidence.js.map +1 -0
  360. package/dist/core/snapshotRepository.d.ts +48 -0
  361. package/dist/core/snapshotRepository.js +47 -0
  362. package/dist/core/snapshotRepository.js.map +1 -0
  363. package/dist/core/source-analysis.d.ts +18 -0
  364. package/dist/core/source-analysis.js +99 -0
  365. package/dist/core/source-analysis.js.map +1 -0
  366. package/dist/core/source-citation.d.ts +53 -0
  367. package/dist/core/source-citation.js +59 -0
  368. package/dist/core/source-citation.js.map +1 -0
  369. package/dist/core/sourcePromotion.d.ts +929 -0
  370. package/dist/core/sourcePromotion.js +92 -0
  371. package/dist/core/sourcePromotion.js.map +1 -0
  372. package/dist/core/sourceReviewEvidence.d.ts +271 -0
  373. package/dist/core/sourceReviewEvidence.js +24 -0
  374. package/dist/core/sourceReviewEvidence.js.map +1 -0
  375. package/dist/core/targetObservation.d.ts +3 -0
  376. package/dist/core/targetObservation.js +26 -0
  377. package/dist/core/targetObservation.js.map +1 -0
  378. package/dist/hosts/launchTemplates.d.ts +2 -0
  379. package/dist/hosts/launchTemplates.js +5 -0
  380. package/dist/hosts/launchTemplates.js.map +1 -0
  381. package/dist/hosts/local.d.ts +17 -0
  382. package/dist/hosts/local.js +311 -0
  383. package/dist/hosts/local.js.map +1 -0
  384. package/dist/hosts/localSupervisor.d.ts +1 -0
  385. package/dist/hosts/localSupervisor.js +115 -0
  386. package/dist/hosts/localSupervisor.js.map +1 -0
  387. package/dist/hosts/mock.d.ts +4 -0
  388. package/dist/hosts/mock.js +82 -0
  389. package/dist/hosts/mock.js.map +1 -0
  390. package/dist/hosts/pinnedArguments.d.ts +3 -0
  391. package/dist/hosts/pinnedArguments.js +39 -0
  392. package/dist/hosts/pinnedArguments.js.map +1 -0
  393. package/dist/hosts/runtime.d.ts +5 -0
  394. package/dist/hosts/runtime.js +60 -0
  395. package/dist/hosts/runtime.js.map +1 -0
  396. package/dist/hosts/sourceIdentity.d.ts +54 -0
  397. package/dist/hosts/sourceIdentity.js +27 -0
  398. package/dist/hosts/sourceIdentity.js.map +1 -0
  399. package/dist/hosts/types.d.ts +39 -0
  400. package/dist/hosts/types.js +2 -0
  401. package/dist/hosts/types.js.map +1 -0
  402. package/dist/index.d.ts +56 -0
  403. package/dist/index.js +52 -0
  404. package/dist/index.js.map +1 -0
  405. package/dist/integrations/awr/attachment.d.ts +34 -0
  406. package/dist/integrations/awr/attachment.js +120 -0
  407. package/dist/integrations/awr/attachment.js.map +1 -0
  408. package/dist/integrations/awr/attachmentContracts.d.ts +273 -0
  409. package/dist/integrations/awr/attachmentContracts.js +39 -0
  410. package/dist/integrations/awr/attachmentContracts.js.map +1 -0
  411. package/dist/integrations/awr/attachmentHttp.d.ts +9 -0
  412. package/dist/integrations/awr/attachmentHttp.js +19 -0
  413. package/dist/integrations/awr/attachmentHttp.js.map +1 -0
  414. package/dist/integrations/awr/cli.d.ts +7 -0
  415. package/dist/integrations/awr/cli.js +43 -0
  416. package/dist/integrations/awr/cli.js.map +1 -0
  417. package/dist/integrations/awr/contracts.d.ts +54 -0
  418. package/dist/integrations/awr/contracts.js +33 -0
  419. package/dist/integrations/awr/contracts.js.map +1 -0
  420. package/dist/integrations/awr/http.d.ts +8 -0
  421. package/dist/integrations/awr/http.js +23 -0
  422. package/dist/integrations/awr/http.js.map +1 -0
  423. package/dist/integrations/awr/index.d.ts +7 -0
  424. package/dist/integrations/awr/index.js +8 -0
  425. package/dist/integrations/awr/index.js.map +1 -0
  426. package/dist/integrations/awr/jsonHttp.d.ts +15 -0
  427. package/dist/integrations/awr/jsonHttp.js +69 -0
  428. package/dist/integrations/awr/jsonHttp.js.map +1 -0
  429. package/dist/integrations/awr/outbox.d.ts +28 -0
  430. package/dist/integrations/awr/outbox.js +88 -0
  431. package/dist/integrations/awr/outbox.js.map +1 -0
  432. package/dist/integrations/awr/projection.d.ts +4 -0
  433. package/dist/integrations/awr/projection.js +54 -0
  434. package/dist/integrations/awr/projection.js.map +1 -0
  435. package/dist/protocol/canonical.d.ts +41 -0
  436. package/dist/protocol/canonical.js +114 -0
  437. package/dist/protocol/canonical.js.map +1 -0
  438. package/dist/protocol/index.d.ts +9620 -0
  439. package/dist/protocol/index.js +185 -0
  440. package/dist/protocol/index.js.map +1 -0
  441. package/dist/protocol/primitives.d.ts +63 -0
  442. package/dist/protocol/primitives.js +46 -0
  443. package/dist/protocol/primitives.js.map +1 -0
  444. package/dist/protocol/schemas/browser.d.ts +153 -0
  445. package/dist/protocol/schemas/browser.js +29 -0
  446. package/dist/protocol/schemas/browser.js.map +1 -0
  447. package/dist/protocol/schemas/capability.d.ts +2126 -0
  448. package/dist/protocol/schemas/capability.js +165 -0
  449. package/dist/protocol/schemas/capability.js.map +1 -0
  450. package/dist/protocol/schemas/capabilityLifecycle.d.ts +509 -0
  451. package/dist/protocol/schemas/capabilityLifecycle.js +47 -0
  452. package/dist/protocol/schemas/capabilityLifecycle.js.map +1 -0
  453. package/dist/protocol/schemas/cleanup.d.ts +109 -0
  454. package/dist/protocol/schemas/cleanup.js +59 -0
  455. package/dist/protocol/schemas/cleanup.js.map +1 -0
  456. package/dist/protocol/schemas/cli.d.ts +121 -0
  457. package/dist/protocol/schemas/cli.js +24 -0
  458. package/dist/protocol/schemas/cli.js.map +1 -0
  459. package/dist/protocol/schemas/config.d.ts +59 -0
  460. package/dist/protocol/schemas/config.js +32 -0
  461. package/dist/protocol/schemas/config.js.map +1 -0
  462. package/dist/protocol/schemas/corpus.d.ts +36 -0
  463. package/dist/protocol/schemas/corpus.js +10 -0
  464. package/dist/protocol/schemas/corpus.js.map +1 -0
  465. package/dist/protocol/schemas/definitions.d.ts +3409 -0
  466. package/dist/protocol/schemas/definitions.js +431 -0
  467. package/dist/protocol/schemas/definitions.js.map +1 -0
  468. package/dist/protocol/schemas/evidenceProjection.d.ts +146 -0
  469. package/dist/protocol/schemas/evidenceProjection.js +18 -0
  470. package/dist/protocol/schemas/evidenceProjection.js.map +1 -0
  471. package/dist/protocol/schemas/execution.d.ts +3179 -0
  472. package/dist/protocol/schemas/execution.js +500 -0
  473. package/dist/protocol/schemas/execution.js.map +1 -0
  474. package/dist/protocol/schemas/gitSources.d.ts +330 -0
  475. package/dist/protocol/schemas/gitSources.js +32 -0
  476. package/dist/protocol/schemas/gitSources.js.map +1 -0
  477. package/dist/protocol/schemas/mcp.d.ts +24 -0
  478. package/dist/protocol/schemas/mcp.js +16 -0
  479. package/dist/protocol/schemas/mcp.js.map +1 -0
  480. package/dist/protocol/schemas/nativeJob.d.ts +106 -0
  481. package/dist/protocol/schemas/nativeJob.js +16 -0
  482. package/dist/protocol/schemas/nativeJob.js.map +1 -0
  483. package/dist/protocol/schemas/portableEnvironment.d.ts +1256 -0
  484. package/dist/protocol/schemas/portableEnvironment.js +108 -0
  485. package/dist/protocol/schemas/portableEnvironment.js.map +1 -0
  486. package/dist/protocol/schemas/promotion.d.ts +132 -0
  487. package/dist/protocol/schemas/promotion.js +9 -0
  488. package/dist/protocol/schemas/promotion.js.map +1 -0
  489. package/dist/protocol/schemas/protocol.d.ts +146 -0
  490. package/dist/protocol/schemas/protocol.js +25 -0
  491. package/dist/protocol/schemas/protocol.js.map +1 -0
  492. package/dist/protocol/schemas/recoveryStatus.d.ts +88 -0
  493. package/dist/protocol/schemas/recoveryStatus.js +20 -0
  494. package/dist/protocol/schemas/recoveryStatus.js.map +1 -0
  495. package/dist/protocol/schemas/resultSink.d.ts +80 -0
  496. package/dist/protocol/schemas/resultSink.js +14 -0
  497. package/dist/protocol/schemas/resultSink.js.map +1 -0
  498. package/dist/protocol/schemas/review.d.ts +248 -0
  499. package/dist/protocol/schemas/review.js +45 -0
  500. package/dist/protocol/schemas/review.js.map +1 -0
  501. package/dist/protocol/schemas/scenario.d.ts +810 -0
  502. package/dist/protocol/schemas/scenario.js +53 -0
  503. package/dist/protocol/schemas/scenario.js.map +1 -0
  504. package/dist/protocol/schemas/source.d.ts +300 -0
  505. package/dist/protocol/schemas/source.js +25 -0
  506. package/dist/protocol/schemas/source.js.map +1 -0
  507. package/dist/source/git.d.ts +36 -0
  508. package/dist/source/git.js +159 -0
  509. package/dist/source/git.js.map +1 -0
  510. package/dist/source/gitObjectProof.d.ts +12 -0
  511. package/dist/source/gitObjectProof.js +115 -0
  512. package/dist/source/gitObjectProof.js.map +1 -0
  513. package/dist/source/snapshotPaths.d.ts +2 -0
  514. package/dist/source/snapshotPaths.js +24 -0
  515. package/dist/source/snapshotPaths.js.map +1 -0
  516. package/dist/source/snapshotTree.d.ts +15 -0
  517. package/dist/source/snapshotTree.js +79 -0
  518. package/dist/source/snapshotTree.js.map +1 -0
  519. package/docs/agent-guide.md +21 -0
  520. package/docs/browser-driver.md +146 -0
  521. package/docs/getting-started.md +13 -0
  522. package/docs/git-object-proof.md +100 -0
  523. package/docs/local-execution-recovery.md +55 -0
  524. package/docs/mcp-driver.md +87 -0
  525. package/docs/native-jobs.md +96 -0
  526. package/docs/result-sink.md +87 -0
  527. package/docs/verified-bundles.md +175 -0
  528. package/package.json +98 -4
  529. package/samples/django-notes/manage.py +8 -0
  530. package/samples/django-notes/notes/__init__.py +0 -0
  531. package/samples/django-notes/notes/auth.py +14 -0
  532. package/samples/django-notes/notes/migrations/0001_initial.py +19 -0
  533. package/samples/django-notes/notes/migrations/__init__.py +0 -0
  534. package/samples/django-notes/notes/models.py +13 -0
  535. package/samples/django-notes/notes/views.py +33 -0
  536. package/samples/django-notes/notesite/__init__.py +0 -0
  537. package/samples/django-notes/notesite/settings.py +17 -0
  538. package/samples/django-notes/notesite/urls.py +9 -0
  539. package/samples/django-notes/requirements.txt +1 -0
  540. package/samples/django-notes/tracegrove/notes/crud.flow.yaml +27 -0
  541. package/samples/django-notes/tracegrove.config.yaml +7 -0
  542. package/samples/fastapi-notes/app/__init__.py +0 -0
  543. package/samples/fastapi-notes/app/main.py +69 -0
  544. package/samples/fastapi-notes/requirements.txt +2 -0
  545. package/samples/fastapi-notes/tracegrove/notes/crud.flow.yaml +27 -0
  546. package/samples/fastapi-notes/tracegrove.config.yaml +8 -0
  547. package/samples/notes-api/app/app.mjs +67 -0
  548. package/samples/notes-api/app/http.mjs +16 -0
  549. package/samples/notes-api/tracegrove/fixtures/existing-note.fixture.yaml +12 -0
  550. package/samples/notes-api/tracegrove/notes/create-read-delete.flow.yaml +35 -0
  551. package/samples/notes-api/tracegrove/notes/list.flow.yaml +25 -0
  552. package/samples/notes-api/tracegrove.config.yaml +15 -0
  553. package/samples/notes-api/verification/actions/notes.registry.yaml +6 -0
  554. package/samples/notes-api/verification/auth/host-issued-owner.yaml +6 -0
  555. package/samples/notes-api/verification/cases/notes.contract.yaml +51 -0
  556. package/samples/notes-api/verification/cases/notes.create.yaml +123 -0
  557. package/samples/notes-api/verification/cases/notes.suite.yaml +5 -0
  558. package/samples/notes-api/verification/components/notes-api-stub.profile.yaml +8 -0
  559. package/samples/notes-api/verification/components/notes-api.profile.yaml +15 -0
  560. package/samples/notes-api/verification/environments/local-notes.yaml +11 -0
  561. package/samples/notes-api/verification/environments/mock-notes.yaml +11 -0
  562. package/samples/notes-api/verification/fidelity/full-live-sandbox.yaml +7 -0
  563. package/samples/notes-api/verification/fidelity/mock-contract.yaml +6 -0
  564. package/samples/notes-api/verification/fixtures/existing-note.payload.yaml +15 -0
  565. package/samples/notes-api/verification/fixtures/existing-note.plan.yaml +9 -0
  566. package/samples/notes-api/verification/fixtures/existing-note.recipe.yaml +29 -0
  567. package/samples/notes-api/verification/hosts/local-process.yaml +27 -0
  568. package/samples/notes-api/verification/hosts/mock-loopback.yaml +14 -0
  569. package/samples/notes-api/verification/mocks/notes.responses.yaml +5 -0
  570. package/samples/notes-api/verification/personas/owner.yaml +16 -0
  571. package/samples/notes-api/verification/policies/no-authoring-inference.yaml +10 -0
  572. package/samples/notes-api/verification/runners/http.yaml +5 -0
  573. package/samples/notes-api/verification/surfaces/http-api.binding.yaml +11 -0
  574. package/samples/notes-api/verification/surfaces/http-api.pack.yaml +7 -0
  575. package/samples/notes-api/verification/workflow.yaml +27 -0
  576. package/samples/notes-browser/tracegrove/notes/browser.flow.yaml +19 -0
  577. package/samples/notes-browser/verification/cases/notes.browser.yaml +63 -0
  578. package/samples/notes-browser/verification/cases/notes.suite.yaml +4 -0
  579. package/samples/notes-browser/verification/runners/http.yaml +5 -0
  580. package/samples/notes-browser/verification/surfaces/http-api.binding.yaml +11 -0
  581. package/samples/notes-browser/verification/surfaces/http-api.pack.yaml +7 -0
  582. package/samples/notes-django/README.md +21 -0
  583. package/samples/notes-django/app/django_app.py +119 -0
  584. package/samples/notes-django/app/requirements.lock +4 -0
  585. package/samples/notes-mcp/app/mcp.mjs +47 -0
  586. package/samples/notes-mcp/tracegrove/notes.flow.yaml +20 -0
  587. package/samples/notes-mcp/tracegrove.config.yaml +13 -0
  588. package/samples/report-jobs/README.md +30 -0
  589. package/samples/report-jobs/app/jobs-api.mjs +65 -0
  590. package/samples/report-jobs/app/native-bridge.mjs +30 -0
  591. package/samples/report-jobs/app/store.mjs +74 -0
  592. package/samples/report-jobs/app/worker.mjs +22 -0
  593. package/samples/report-jobs/tracegrove/fixtures/failed-job.fixture.yaml +12 -0
  594. package/samples/report-jobs/tracegrove/fixtures/held-job.fixture.yaml +12 -0
  595. package/samples/report-jobs/tracegrove/fixtures/success-job.fixture.yaml +12 -0
  596. package/samples/report-jobs/tracegrove/reports/cancellation.flow.yaml +15 -0
  597. package/samples/report-jobs/tracegrove/reports/completion.flow.yaml +31 -0
  598. package/samples/report-jobs/tracegrove/reports/failure.flow.yaml +12 -0
  599. package/samples/report-jobs/tracegrove.config.yaml +10 -0
  600. package/samples/report-native/README.md +11 -0
  601. package/samples/report-native/tracegrove/cancellation.flow.yaml +11 -0
  602. package/samples/report-native/tracegrove/completion.flow.yaml +22 -0
  603. package/samples/report-native/tracegrove/failure.flow.yaml +7 -0
  604. package/samples/report-native/tracegrove.config.yaml +11 -0
  605. package/schema/tracegrove_cli-error_v1.json +156 -0
  606. package/schema/tracegrove_config_v1.json +233 -0
  607. package/schema/tracegrove_fixture_v1.json +297 -0
  608. package/schema/tracegrove_flow_v1.json +960 -0
  609. package/schema/tracegrove_recovery-status_v1.json +234 -0
  610. package/schema/tracegrove_run-video_v1.json +25 -0
  611. package/schema/workflow_action-registry_v1.json +303 -0
  612. package/schema/workflow_auth-recipe_v1.json +146 -0
  613. package/schema/workflow_boundary-observation_v1.json +515 -0
  614. package/schema/workflow_browser-command_v1.json +292 -0
  615. package/schema/workflow_browser-locator_v1.json +74 -0
  616. package/schema/workflow_browser-network-observation_v1.json +48 -0
  617. package/schema/workflow_browser-observation_v1.json +53 -0
  618. package/schema/workflow_budget-reservation_v1.json +150 -0
  619. package/schema/workflow_campaign-result_v1.json +382 -0
  620. package/schema/workflow_capability-artifact-manifest_v1.json +529 -0
  621. package/schema/workflow_capability-descriptor_v1.json +351 -0
  622. package/schema/workflow_capability-lifecycle-checkpoint_v1.json +510 -0
  623. package/schema/workflow_capability-observation_v1.json +1707 -0
  624. package/schema/workflow_capability-operation_v1.json +3212 -0
  625. package/schema/workflow_capability-replay-plan_v1.json +1247 -0
  626. package/schema/workflow_capability-retry-policy_v1.json +39 -0
  627. package/schema/workflow_capability-retry-state_v1.json +242 -0
  628. package/schema/workflow_case_v1.json +4222 -0
  629. package/schema/workflow_change-model_v1.json +614 -0
  630. package/schema/workflow_cleanup-expectation_v1.json +108 -0
  631. package/schema/workflow_cleanup-followup_v1.json +145 -0
  632. package/schema/workflow_component-profile_v1.json +219 -0
  633. package/schema/workflow_config_v1.json +180 -0
  634. package/schema/workflow_corpus_v1.json +172 -0
  635. package/schema/workflow_cost-observation_v1.json +366 -0
  636. package/schema/workflow_credential-lease_v1.json +222 -0
  637. package/schema/workflow_effective-config_v1.json +214 -0
  638. package/schema/workflow_environment-plan_v1.json +445 -0
  639. package/schema/workflow_environment_v1.json +1827 -0
  640. package/schema/workflow_evidence-projection_v1.json +636 -0
  641. package/schema/workflow_execution_v1.json +4086 -0
  642. package/schema/workflow_fidelity-plan_v1.json +512 -0
  643. package/schema/workflow_fidelity-profile_v1.json +396 -0
  644. package/schema/workflow_fixture-manifest_v1.json +918 -0
  645. package/schema/workflow_fixture-plan_v1.json +594 -0
  646. package/schema/workflow_git-source-request_v1.json +124 -0
  647. package/schema/workflow_git-source-resolution_v1.json +660 -0
  648. package/schema/workflow_git-source-snapshot_v1.json +287 -0
  649. package/schema/workflow_host-lease_v1.json +321 -0
  650. package/schema/workflow_host-observation_v1.json +282 -0
  651. package/schema/workflow_host-plan_v1.json +719 -0
  652. package/schema/workflow_identity-attestation_v1.json +412 -0
  653. package/schema/workflow_intelligence-policy_v1.json +153 -0
  654. package/schema/workflow_logical-payload_v1.json +206 -0
  655. package/schema/workflow_mcp-tool-call_v1.json +70 -0
  656. package/schema/workflow_mcp-tool-observation_v1.json +125 -0
  657. package/schema/workflow_mock-responses_v1.json +185 -0
  658. package/schema/workflow_native-job-action_v1.json +123 -0
  659. package/schema/workflow_native-job-observation_v1.json +138 -0
  660. package/schema/workflow_native-job-ready_v1.json +31 -0
  661. package/schema/workflow_native-job-request_v1.json +155 -0
  662. package/schema/workflow_native-job-response_v1.json +125 -0
  663. package/schema/workflow_ownership_v1.json +116 -0
  664. package/schema/workflow_persona_v1.json +499 -0
  665. package/schema/workflow_plan-edit-projection_v1.json +152 -0
  666. package/schema/workflow_plan-review_v1.json +246 -0
  667. package/schema/workflow_portable-environment-intent_v1.json +499 -0
  668. package/schema/workflow_portable-environment-profile_v1.json +1429 -0
  669. package/schema/workflow_portable-preflight_v1.json +2281 -0
  670. package/schema/workflow_qualification-admission_v1.json +467 -0
  671. package/schema/workflow_qualification-intent_v1.json +98 -0
  672. package/schema/workflow_qualification-policy_v1.json +109 -0
  673. package/schema/workflow_qualification-round_v1.json +226 -0
  674. package/schema/workflow_replay-assessment_v1.json +197 -0
  675. package/schema/workflow_replay-finding_v1.json +147 -0
  676. package/schema/workflow_request_v1.json +1567 -0
  677. package/schema/workflow_result-ingest_v1.json +343 -0
  678. package/schema/workflow_revisions_v1.json +334 -0
  679. package/schema/workflow_routing-decision_v1.json +482 -0
  680. package/schema/workflow_runner-capabilities_v1.json +316 -0
  681. package/schema/workflow_runner-profile_v1.json +119 -0
  682. package/schema/workflow_runner-protocol_v1_host.json +382 -0
  683. package/schema/workflow_runner-protocol_v1_plugin.json +491 -0
  684. package/schema/workflow_scenario-activation-intent_v1.json +346 -0
  685. package/schema/workflow_scenario-activation_v1.json +562 -0
  686. package/schema/workflow_scenario-projection_v1.json +221 -0
  687. package/schema/workflow_scenario-promotion_v1.json +455 -0
  688. package/schema/workflow_scenario-replay-assessment_v1.json +696 -0
  689. package/schema/workflow_scenario-revision-token_v1.json +115 -0
  690. package/schema/workflow_scenario-structure_v1.json +368 -0
  691. package/schema/workflow_scenario_v1.json +401 -0
  692. package/schema/workflow_scoped-resource_v1.json +550 -0
  693. package/schema/workflow_seed-recipe_v1.json +724 -0
  694. package/schema/workflow_selection_v1.json +1108 -0
  695. package/schema/workflow_signed-cleanup-followup_v1.json +175 -0
  696. package/schema/workflow_source-plan_v1.json +756 -0
  697. package/schema/workflow_source-selection_v1.json +456 -0
  698. package/schema/workflow_source-validation_v1.json +366 -0
  699. package/schema/workflow_step-event_v1.json +228 -0
  700. package/schema/workflow_stream-transcript_v1.json +1030 -0
  701. package/schema/workflow_suite_v1.json +64 -0
  702. package/schema/workflow_surface-binding_v1.json +411 -0
  703. package/schema/workflow_surface-pack_v1.json +159 -0
@@ -0,0 +1,2297 @@
1
+ import { z } from 'zod';
2
+ import { QualificationRoundAdmission, ScenarioDefinition, ScenarioProjection, SelectionManifest, type Ref, type Scope } from '../protocol/index.ts';
3
+ export declare const StoredScenario: z.ZodObject<{
4
+ projection: z.ZodObject<{
5
+ id: z.ZodString;
6
+ scope: z.ZodObject<{
7
+ ownerId: z.ZodString;
8
+ tenantId: z.ZodNullable<z.ZodString>;
9
+ visibility: z.ZodEnum<{
10
+ public: "public";
11
+ owner_private: "owner_private";
12
+ tenant_private: "tenant_private";
13
+ }>;
14
+ }, z.core.$strict>;
15
+ aggregateVersion: z.ZodNumber;
16
+ definitionRef: z.ZodObject<{
17
+ id: z.ZodString;
18
+ revision: z.ZodString;
19
+ digest: z.ZodObject<{
20
+ algorithm: z.ZodLiteral<"sha256">;
21
+ hex: z.ZodString;
22
+ }, z.core.$strict>;
23
+ }, z.core.$strict>;
24
+ state: z.ZodEnum<{
25
+ proposed: "proposed";
26
+ validating: "validating";
27
+ active: "active";
28
+ degraded: "degraded";
29
+ retired: "retired";
30
+ }>;
31
+ invalidationEpoch: z.ZodNumber;
32
+ latestRoundSequence: z.ZodNumber;
33
+ qualificationRoundRefs: z.ZodArray<z.ZodObject<{
34
+ id: z.ZodString;
35
+ revision: z.ZodString;
36
+ digest: z.ZodObject<{
37
+ algorithm: z.ZodLiteral<"sha256">;
38
+ hex: z.ZodString;
39
+ }, z.core.$strict>;
40
+ }, z.core.$strict>>;
41
+ activationDecisionRef: z.ZodNullable<z.ZodObject<{
42
+ id: z.ZodString;
43
+ revision: z.ZodString;
44
+ digest: z.ZodObject<{
45
+ algorithm: z.ZodLiteral<"sha256">;
46
+ hex: z.ZodString;
47
+ }, z.core.$strict>;
48
+ }, z.core.$strict>>;
49
+ }, z.core.$strict>;
50
+ definitions: z.ZodArray<z.ZodObject<{
51
+ schemaVersion: z.ZodLiteral<"workflow.scenario/v1">;
52
+ ref: z.ZodObject<{
53
+ id: z.ZodString;
54
+ revision: z.ZodString;
55
+ digest: z.ZodObject<{
56
+ algorithm: z.ZodLiteral<"sha256">;
57
+ hex: z.ZodString;
58
+ }, z.core.$strict>;
59
+ }, z.core.$strict>;
60
+ scope: z.ZodObject<{
61
+ ownerId: z.ZodString;
62
+ tenantId: z.ZodNullable<z.ZodString>;
63
+ visibility: z.ZodEnum<{
64
+ public: "public";
65
+ owner_private: "owner_private";
66
+ tenant_private: "tenant_private";
67
+ }>;
68
+ }, z.core.$strict>;
69
+ sourcePlanRef: z.ZodNullable<z.ZodObject<{
70
+ id: z.ZodString;
71
+ revision: z.ZodString;
72
+ digest: z.ZodObject<{
73
+ algorithm: z.ZodLiteral<"sha256">;
74
+ hex: z.ZodString;
75
+ }, z.core.$strict>;
76
+ }, z.core.$strict>>;
77
+ reviewRef: z.ZodObject<{
78
+ id: z.ZodString;
79
+ revision: z.ZodString;
80
+ digest: z.ZodObject<{
81
+ algorithm: z.ZodLiteral<"sha256">;
82
+ hex: z.ZodString;
83
+ }, z.core.$strict>;
84
+ }, z.core.$strict>;
85
+ caseRefs: z.ZodArray<z.ZodObject<{
86
+ id: z.ZodString;
87
+ revision: z.ZodString;
88
+ digest: z.ZodObject<{
89
+ algorithm: z.ZodLiteral<"sha256">;
90
+ hex: z.ZodString;
91
+ }, z.core.$strict>;
92
+ }, z.core.$strict>>;
93
+ replayContractRef: z.ZodObject<{
94
+ id: z.ZodString;
95
+ revision: z.ZodString;
96
+ digest: z.ZodObject<{
97
+ algorithm: z.ZodLiteral<"sha256">;
98
+ hex: z.ZodString;
99
+ }, z.core.$strict>;
100
+ }, z.core.$strict>;
101
+ qualificationPolicyRef: z.ZodObject<{
102
+ id: z.ZodString;
103
+ revision: z.ZodString;
104
+ digest: z.ZodObject<{
105
+ algorithm: z.ZodLiteral<"sha256">;
106
+ hex: z.ZodString;
107
+ }, z.core.$strict>;
108
+ }, z.core.$strict>;
109
+ qualificationMatrixRef: z.ZodObject<{
110
+ id: z.ZodString;
111
+ revision: z.ZodString;
112
+ digest: z.ZodObject<{
113
+ algorithm: z.ZodLiteral<"sha256">;
114
+ hex: z.ZodString;
115
+ }, z.core.$strict>;
116
+ }, z.core.$strict>;
117
+ qualificationTargetProfileRef: z.ZodObject<{
118
+ id: z.ZodString;
119
+ revision: z.ZodString;
120
+ digest: z.ZodObject<{
121
+ algorithm: z.ZodLiteral<"sha256">;
122
+ hex: z.ZodString;
123
+ }, z.core.$strict>;
124
+ }, z.core.$strict>;
125
+ }, z.core.$strict>>;
126
+ selections: z.ZodArray<z.ZodObject<{
127
+ policyRef: z.ZodNullable<z.ZodObject<{
128
+ id: z.ZodString;
129
+ revision: z.ZodString;
130
+ digest: z.ZodObject<{
131
+ algorithm: z.ZodLiteral<"sha256">;
132
+ hex: z.ZodString;
133
+ }, z.core.$strict>;
134
+ }, z.core.$strict>>;
135
+ cells: z.ZodArray<z.ZodObject<{
136
+ selectionCellId: z.ZodString;
137
+ required: z.ZodBoolean;
138
+ caseRef: z.ZodObject<{
139
+ id: z.ZodString;
140
+ revision: z.ZodString;
141
+ digest: z.ZodObject<{
142
+ algorithm: z.ZodLiteral<"sha256">;
143
+ hex: z.ZodString;
144
+ }, z.core.$strict>;
145
+ }, z.core.$strict>;
146
+ personaRef: z.ZodObject<{
147
+ id: z.ZodString;
148
+ revision: z.ZodString;
149
+ digest: z.ZodObject<{
150
+ algorithm: z.ZodLiteral<"sha256">;
151
+ hex: z.ZodString;
152
+ }, z.core.$strict>;
153
+ }, z.core.$strict>;
154
+ surfaceBindingRef: z.ZodObject<{
155
+ id: z.ZodString;
156
+ revision: z.ZodString;
157
+ digest: z.ZodObject<{
158
+ algorithm: z.ZodLiteral<"sha256">;
159
+ hex: z.ZodString;
160
+ }, z.core.$strict>;
161
+ }, z.core.$strict>;
162
+ variantRef: z.ZodNullable<z.ZodObject<{
163
+ id: z.ZodString;
164
+ revision: z.ZodString;
165
+ digest: z.ZodObject<{
166
+ algorithm: z.ZodLiteral<"sha256">;
167
+ hex: z.ZodString;
168
+ }, z.core.$strict>;
169
+ }, z.core.$strict>>;
170
+ sourceSelectionRef: z.ZodNullable<z.ZodObject<{
171
+ id: z.ZodString;
172
+ revision: z.ZodString;
173
+ digest: z.ZodObject<{
174
+ algorithm: z.ZodLiteral<"sha256">;
175
+ hex: z.ZodString;
176
+ }, z.core.$strict>;
177
+ }, z.core.$strict>>;
178
+ environmentRef: z.ZodObject<{
179
+ id: z.ZodString;
180
+ revision: z.ZodString;
181
+ digest: z.ZodObject<{
182
+ algorithm: z.ZodLiteral<"sha256">;
183
+ hex: z.ZodString;
184
+ }, z.core.$strict>;
185
+ }, z.core.$strict>;
186
+ expectedTarget: z.ZodObject<{
187
+ componentProfileRef: z.ZodObject<{
188
+ id: z.ZodString;
189
+ revision: z.ZodString;
190
+ digest: z.ZodObject<{
191
+ algorithm: z.ZodLiteral<"sha256">;
192
+ hex: z.ZodString;
193
+ }, z.core.$strict>;
194
+ }, z.core.$strict>;
195
+ requiredComponents: z.ZodArray<z.ZodString>;
196
+ excludedComponents: z.ZodArray<z.ZodObject<{
197
+ component: z.ZodString;
198
+ reason: z.ZodString;
199
+ }, z.core.$strict>>;
200
+ components: z.ZodArray<z.ZodObject<{
201
+ componentId: z.ZodString;
202
+ kind: z.ZodEnum<{
203
+ schema: "schema";
204
+ application: "application";
205
+ service: "service";
206
+ worker: "worker";
207
+ flag_set: "flag_set";
208
+ protocol_server: "protocol_server";
209
+ host: "host";
210
+ widget: "widget";
211
+ mobile_binary: "mobile_binary";
212
+ device_runtime: "device_runtime";
213
+ model_endpoint: "model_endpoint";
214
+ other: "other";
215
+ }>;
216
+ identity: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
217
+ kind: z.ZodLiteral<"source_digest">;
218
+ sourceDigest: z.ZodObject<{
219
+ algorithm: z.ZodLiteral<"sha256">;
220
+ hex: z.ZodString;
221
+ }, z.core.$strict>;
222
+ runtime: z.ZodString;
223
+ }, z.core.$strict>, z.ZodObject<{
224
+ kind: z.ZodLiteral<"declared_release">;
225
+ release: z.ZodString;
226
+ }, z.core.$strict>], "kind">>;
227
+ }, z.core.$strict>>;
228
+ repositories: z.ZodArray<z.ZodObject<{
229
+ repositoryRole: z.ZodString;
230
+ canonicalUrl: z.ZodString;
231
+ requestedRef: z.ZodString;
232
+ resolvedCommit: z.ZodString;
233
+ origin: z.ZodEnum<{
234
+ remote_object: "remote_object";
235
+ snapshot_bundle: "snapshot_bundle";
236
+ }>;
237
+ sourceObjectsRef: z.ZodNullable<z.ZodObject<{
238
+ id: z.ZodString;
239
+ revision: z.ZodString;
240
+ digest: z.ZodObject<{
241
+ algorithm: z.ZodLiteral<"sha256">;
242
+ hex: z.ZodString;
243
+ }, z.core.$strict>;
244
+ }, z.core.$strict>>;
245
+ lockfileDigest: z.ZodObject<{
246
+ algorithm: z.ZodLiteral<"sha256">;
247
+ hex: z.ZodString;
248
+ }, z.core.$strict>;
249
+ dirty: z.ZodLiteral<false>;
250
+ }, z.core.$strict>>;
251
+ corpus: z.ZodObject<{
252
+ id: z.ZodString;
253
+ revision: z.ZodString;
254
+ digest: z.ZodObject<{
255
+ algorithm: z.ZodLiteral<"sha256">;
256
+ hex: z.ZodString;
257
+ }, z.core.$strict>;
258
+ }, z.core.$strict>;
259
+ runner: z.ZodObject<{
260
+ id: z.ZodString;
261
+ revision: z.ZodString;
262
+ digest: z.ZodObject<{
263
+ algorithm: z.ZodLiteral<"sha256">;
264
+ hex: z.ZodString;
265
+ }, z.core.$strict>;
266
+ }, z.core.$strict>;
267
+ evaluator: z.ZodObject<{
268
+ id: z.ZodString;
269
+ revision: z.ZodString;
270
+ digest: z.ZodObject<{
271
+ algorithm: z.ZodLiteral<"sha256">;
272
+ hex: z.ZodString;
273
+ }, z.core.$strict>;
274
+ }, z.core.$strict>;
275
+ frontendRelease: z.ZodNullable<z.ZodString>;
276
+ backendRelease: z.ZodNullable<z.ZodString>;
277
+ workerRelease: z.ZodNullable<z.ZodString>;
278
+ schemaFingerprint: z.ZodNullable<z.ZodObject<{
279
+ algorithm: z.ZodLiteral<"sha256">;
280
+ hex: z.ZodString;
281
+ }, z.core.$strict>>;
282
+ featureFlagsDigest: z.ZodNullable<z.ZodObject<{
283
+ algorithm: z.ZodLiteral<"sha256">;
284
+ hex: z.ZodString;
285
+ }, z.core.$strict>>;
286
+ capabilityVersionsDigest: z.ZodNullable<z.ZodObject<{
287
+ algorithm: z.ZodLiteral<"sha256">;
288
+ hex: z.ZodString;
289
+ }, z.core.$strict>>;
290
+ browserVersion: z.ZodNullable<z.ZodString>;
291
+ containerImageDigest: z.ZodNullable<z.ZodString>;
292
+ modelConfigDigest: z.ZodNullable<z.ZodObject<{
293
+ algorithm: z.ZodLiteral<"sha256">;
294
+ hex: z.ZodString;
295
+ }, z.core.$strict>>;
296
+ }, z.core.$strict>;
297
+ executionHostRef: z.ZodObject<{
298
+ id: z.ZodString;
299
+ revision: z.ZodString;
300
+ digest: z.ZodObject<{
301
+ algorithm: z.ZodLiteral<"sha256">;
302
+ hex: z.ZodString;
303
+ }, z.core.$strict>;
304
+ }, z.core.$strict>;
305
+ }, z.core.$strict>>;
306
+ excludedCells: z.ZodArray<z.ZodObject<{
307
+ cellKey: z.ZodString;
308
+ reason: z.ZodString;
309
+ }, z.core.$strict>>;
310
+ schemaVersion: z.ZodLiteral<"workflow.selection/v1">;
311
+ ref: z.ZodObject<{
312
+ id: z.ZodString;
313
+ revision: z.ZodString;
314
+ digest: z.ZodObject<{
315
+ algorithm: z.ZodLiteral<"sha256">;
316
+ hex: z.ZodString;
317
+ }, z.core.$strict>;
318
+ }, z.core.$strict>;
319
+ scope: z.ZodObject<{
320
+ ownerId: z.ZodString;
321
+ tenantId: z.ZodNullable<z.ZodString>;
322
+ visibility: z.ZodEnum<{
323
+ public: "public";
324
+ owner_private: "owner_private";
325
+ tenant_private: "tenant_private";
326
+ }>;
327
+ }, z.core.$strict>;
328
+ }, z.core.$strict>>;
329
+ admissions: z.ZodArray<z.ZodObject<{
330
+ schemaVersion: z.ZodLiteral<"workflow.qualification-admission/v1">;
331
+ ref: z.ZodObject<{
332
+ id: z.ZodString;
333
+ revision: z.ZodString;
334
+ digest: z.ZodObject<{
335
+ algorithm: z.ZodLiteral<"sha256">;
336
+ hex: z.ZodString;
337
+ }, z.core.$strict>;
338
+ }, z.core.$strict>;
339
+ scope: z.ZodObject<{
340
+ ownerId: z.ZodString;
341
+ tenantId: z.ZodNullable<z.ZodString>;
342
+ visibility: z.ZodEnum<{
343
+ public: "public";
344
+ owner_private: "owner_private";
345
+ tenant_private: "tenant_private";
346
+ }>;
347
+ }, z.core.$strict>;
348
+ scenarioRef: z.ZodObject<{
349
+ id: z.ZodString;
350
+ revision: z.ZodString;
351
+ digest: z.ZodObject<{
352
+ algorithm: z.ZodLiteral<"sha256">;
353
+ hex: z.ZodString;
354
+ }, z.core.$strict>;
355
+ }, z.core.$strict>;
356
+ replayContractRef: z.ZodObject<{
357
+ id: z.ZodString;
358
+ revision: z.ZodString;
359
+ digest: z.ZodObject<{
360
+ algorithm: z.ZodLiteral<"sha256">;
361
+ hex: z.ZodString;
362
+ }, z.core.$strict>;
363
+ }, z.core.$strict>;
364
+ qualificationPolicyRef: z.ZodObject<{
365
+ id: z.ZodString;
366
+ revision: z.ZodString;
367
+ digest: z.ZodObject<{
368
+ algorithm: z.ZodLiteral<"sha256">;
369
+ hex: z.ZodString;
370
+ }, z.core.$strict>;
371
+ }, z.core.$strict>;
372
+ qualificationMatrixRef: z.ZodObject<{
373
+ id: z.ZodString;
374
+ revision: z.ZodString;
375
+ digest: z.ZodObject<{
376
+ algorithm: z.ZodLiteral<"sha256">;
377
+ hex: z.ZodString;
378
+ }, z.core.$strict>;
379
+ }, z.core.$strict>;
380
+ targetProfileRef: z.ZodObject<{
381
+ id: z.ZodString;
382
+ revision: z.ZodString;
383
+ digest: z.ZodObject<{
384
+ algorithm: z.ZodLiteral<"sha256">;
385
+ hex: z.ZodString;
386
+ }, z.core.$strict>;
387
+ }, z.core.$strict>;
388
+ strataDigest: z.ZodObject<{
389
+ algorithm: z.ZodLiteral<"sha256">;
390
+ hex: z.ZodString;
391
+ }, z.core.$strict>;
392
+ invalidationEpoch: z.ZodNumber;
393
+ roundSequence: z.ZodNumber;
394
+ campaignId: z.ZodString;
395
+ selectionManifestRef: z.ZodObject<{
396
+ id: z.ZodString;
397
+ revision: z.ZodString;
398
+ digest: z.ZodObject<{
399
+ algorithm: z.ZodLiteral<"sha256">;
400
+ hex: z.ZodString;
401
+ }, z.core.$strict>;
402
+ }, z.core.$strict>;
403
+ attempts: z.ZodArray<z.ZodObject<{
404
+ selectionCellId: z.ZodString;
405
+ executionId: z.ZodString;
406
+ attemptId: z.ZodString;
407
+ }, z.core.$strict>>;
408
+ stateLeaseRefs: z.ZodArray<z.ZodObject<{
409
+ id: z.ZodString;
410
+ revision: z.ZodString;
411
+ digest: z.ZodObject<{
412
+ algorithm: z.ZodLiteral<"sha256">;
413
+ hex: z.ZodString;
414
+ }, z.core.$strict>;
415
+ }, z.core.$strict>>;
416
+ }, z.core.$strict>>;
417
+ activations: z.ZodDefault<z.ZodArray<z.ZodObject<{
418
+ activation: z.ZodObject<{
419
+ schemaVersion: z.ZodLiteral<"workflow.scenario-activation/v1">;
420
+ ref: z.ZodObject<{
421
+ id: z.ZodString;
422
+ revision: z.ZodString;
423
+ digest: z.ZodObject<{
424
+ algorithm: z.ZodLiteral<"sha256">;
425
+ hex: z.ZodString;
426
+ }, z.core.$strict>;
427
+ }, z.core.$strict>;
428
+ scope: z.ZodObject<{
429
+ ownerId: z.ZodString;
430
+ tenantId: z.ZodNullable<z.ZodString>;
431
+ visibility: z.ZodEnum<{
432
+ public: "public";
433
+ owner_private: "owner_private";
434
+ tenant_private: "tenant_private";
435
+ }>;
436
+ }, z.core.$strict>;
437
+ intent: z.ZodObject<{
438
+ snapshot: z.ZodObject<{
439
+ id: z.ZodString;
440
+ scope: z.ZodObject<{
441
+ ownerId: z.ZodString;
442
+ tenantId: z.ZodNullable<z.ZodString>;
443
+ visibility: z.ZodEnum<{
444
+ public: "public";
445
+ owner_private: "owner_private";
446
+ tenant_private: "tenant_private";
447
+ }>;
448
+ }, z.core.$strict>;
449
+ expectedAggregateVersion: z.ZodNumber;
450
+ expectedDefinitionRef: z.ZodObject<{
451
+ id: z.ZodString;
452
+ revision: z.ZodString;
453
+ digest: z.ZodObject<{
454
+ algorithm: z.ZodLiteral<"sha256">;
455
+ hex: z.ZodString;
456
+ }, z.core.$strict>;
457
+ }, z.core.$strict>;
458
+ expectedInvalidationEpoch: z.ZodNumber;
459
+ expectedLatestRoundSequence: z.ZodNumber;
460
+ }, z.core.$strict>;
461
+ replayContractRef: z.ZodObject<{
462
+ id: z.ZodString;
463
+ revision: z.ZodString;
464
+ digest: z.ZodObject<{
465
+ algorithm: z.ZodLiteral<"sha256">;
466
+ hex: z.ZodString;
467
+ }, z.core.$strict>;
468
+ }, z.core.$strict>;
469
+ qualificationPolicyRef: z.ZodObject<{
470
+ id: z.ZodString;
471
+ revision: z.ZodString;
472
+ digest: z.ZodObject<{
473
+ algorithm: z.ZodLiteral<"sha256">;
474
+ hex: z.ZodString;
475
+ }, z.core.$strict>;
476
+ }, z.core.$strict>;
477
+ qualificationMatrixRef: z.ZodObject<{
478
+ id: z.ZodString;
479
+ revision: z.ZodString;
480
+ digest: z.ZodObject<{
481
+ algorithm: z.ZodLiteral<"sha256">;
482
+ hex: z.ZodString;
483
+ }, z.core.$strict>;
484
+ }, z.core.$strict>;
485
+ targetProfileRef: z.ZodObject<{
486
+ id: z.ZodString;
487
+ revision: z.ZodString;
488
+ digest: z.ZodObject<{
489
+ algorithm: z.ZodLiteral<"sha256">;
490
+ hex: z.ZodString;
491
+ }, z.core.$strict>;
492
+ }, z.core.$strict>;
493
+ roundRefs: z.ZodArray<z.ZodObject<{
494
+ id: z.ZodString;
495
+ revision: z.ZodString;
496
+ digest: z.ZodObject<{
497
+ algorithm: z.ZodLiteral<"sha256">;
498
+ hex: z.ZodString;
499
+ }, z.core.$strict>;
500
+ }, z.core.$strict>>;
501
+ idempotencyKey: z.ZodString;
502
+ }, z.core.$strict>;
503
+ intentDigest: z.ZodObject<{
504
+ algorithm: z.ZodLiteral<"sha256">;
505
+ hex: z.ZodString;
506
+ }, z.core.$strict>;
507
+ actorId: z.ZodString;
508
+ authorizationPolicyRef: z.ZodObject<{
509
+ id: z.ZodString;
510
+ revision: z.ZodString;
511
+ digest: z.ZodObject<{
512
+ algorithm: z.ZodLiteral<"sha256">;
513
+ hex: z.ZodString;
514
+ }, z.core.$strict>;
515
+ }, z.core.$strict>;
516
+ assessmentRefs: z.ZodArray<z.ZodObject<{
517
+ id: z.ZodString;
518
+ revision: z.ZodString;
519
+ digest: z.ZodObject<{
520
+ algorithm: z.ZodLiteral<"sha256">;
521
+ hex: z.ZodString;
522
+ }, z.core.$strict>;
523
+ }, z.core.$strict>>;
524
+ activatedAt: z.ZodString;
525
+ }, z.core.$strict>;
526
+ report: z.ZodObject<{
527
+ snapshot: z.ZodObject<{
528
+ id: z.ZodString;
529
+ scope: z.ZodObject<{
530
+ ownerId: z.ZodString;
531
+ tenantId: z.ZodNullable<z.ZodString>;
532
+ visibility: z.ZodEnum<{
533
+ public: "public";
534
+ owner_private: "owner_private";
535
+ tenant_private: "tenant_private";
536
+ }>;
537
+ }, z.core.$strict>;
538
+ expectedAggregateVersion: z.ZodNumber;
539
+ expectedDefinitionRef: z.ZodObject<{
540
+ id: z.ZodString;
541
+ revision: z.ZodString;
542
+ digest: z.ZodObject<{
543
+ algorithm: z.ZodLiteral<"sha256">;
544
+ hex: z.ZodString;
545
+ }, z.core.$strict>;
546
+ }, z.core.$strict>;
547
+ expectedInvalidationEpoch: z.ZodNumber;
548
+ expectedLatestRoundSequence: z.ZodNumber;
549
+ }, z.core.$strict>;
550
+ policyRef: z.ZodObject<{
551
+ id: z.ZodString;
552
+ revision: z.ZodString;
553
+ digest: z.ZodObject<{
554
+ algorithm: z.ZodLiteral<"sha256">;
555
+ hex: z.ZodString;
556
+ }, z.core.$strict>;
557
+ }, z.core.$strict>;
558
+ requiredRounds: z.ZodNumber;
559
+ latestAdmissionRef: z.ZodNullable<z.ZodObject<{
560
+ id: z.ZodString;
561
+ revision: z.ZodString;
562
+ digest: z.ZodObject<{
563
+ algorithm: z.ZodLiteral<"sha256">;
564
+ hex: z.ZodString;
565
+ }, z.core.$strict>;
566
+ }, z.core.$strict>>;
567
+ rounds: z.ZodArray<z.ZodObject<{
568
+ admissionRef: z.ZodObject<{
569
+ id: z.ZodString;
570
+ revision: z.ZodString;
571
+ digest: z.ZodObject<{
572
+ algorithm: z.ZodLiteral<"sha256">;
573
+ hex: z.ZodString;
574
+ }, z.core.$strict>;
575
+ }, z.core.$strict>;
576
+ assessment: z.ZodNullable<z.ZodObject<{
577
+ schemaVersion: z.ZodLiteral<"workflow.replay-assessment/v1">;
578
+ ref: z.ZodObject<{
579
+ id: z.ZodString;
580
+ revision: z.ZodString;
581
+ digest: z.ZodObject<{
582
+ algorithm: z.ZodLiteral<"sha256">;
583
+ hex: z.ZodString;
584
+ }, z.core.$strict>;
585
+ }, z.core.$strict>;
586
+ scope: z.ZodObject<{
587
+ ownerId: z.ZodString;
588
+ tenantId: z.ZodNullable<z.ZodString>;
589
+ visibility: z.ZodEnum<{
590
+ public: "public";
591
+ owner_private: "owner_private";
592
+ tenant_private: "tenant_private";
593
+ }>;
594
+ }, z.core.$strict>;
595
+ roundRef: z.ZodObject<{
596
+ id: z.ZodString;
597
+ revision: z.ZodString;
598
+ digest: z.ZodObject<{
599
+ algorithm: z.ZodLiteral<"sha256">;
600
+ hex: z.ZodString;
601
+ }, z.core.$strict>;
602
+ }, z.core.$strict>;
603
+ level: z.ZodEnum<{
604
+ revision: "revision";
605
+ environment: "environment";
606
+ structural: "structural";
607
+ mock: "mock";
608
+ }>;
609
+ qualifies: z.ZodBoolean;
610
+ reasonRefs: z.ZodArray<z.ZodObject<{
611
+ id: z.ZodString;
612
+ revision: z.ZodString;
613
+ digest: z.ZodObject<{
614
+ algorithm: z.ZodLiteral<"sha256">;
615
+ hex: z.ZodString;
616
+ }, z.core.$strict>;
617
+ }, z.core.$strict>>;
618
+ }, z.core.$strict>>;
619
+ }, z.core.$strict>>;
620
+ qualifyingRoundRefs: z.ZodArray<z.ZodObject<{
621
+ id: z.ZodString;
622
+ revision: z.ZodString;
623
+ digest: z.ZodObject<{
624
+ algorithm: z.ZodLiteral<"sha256">;
625
+ hex: z.ZodString;
626
+ }, z.core.$strict>;
627
+ }, z.core.$strict>>;
628
+ qualifies: z.ZodBoolean;
629
+ findings: z.ZodArray<z.ZodObject<{
630
+ schemaVersion: z.ZodLiteral<"workflow.replay-finding/v1">;
631
+ ref: z.ZodObject<{
632
+ id: z.ZodString;
633
+ revision: z.ZodString;
634
+ digest: z.ZodObject<{
635
+ algorithm: z.ZodLiteral<"sha256">;
636
+ hex: z.ZodString;
637
+ }, z.core.$strict>;
638
+ }, z.core.$strict>;
639
+ scope: z.ZodObject<{
640
+ ownerId: z.ZodString;
641
+ tenantId: z.ZodNullable<z.ZodString>;
642
+ visibility: z.ZodEnum<{
643
+ public: "public";
644
+ owner_private: "owner_private";
645
+ tenant_private: "tenant_private";
646
+ }>;
647
+ }, z.core.$strict>;
648
+ roundRef: z.ZodObject<{
649
+ id: z.ZodString;
650
+ revision: z.ZodString;
651
+ digest: z.ZodObject<{
652
+ algorithm: z.ZodLiteral<"sha256">;
653
+ hex: z.ZodString;
654
+ }, z.core.$strict>;
655
+ }, z.core.$strict>;
656
+ code: z.ZodEnum<{
657
+ campaign_not_passed: "campaign_not_passed";
658
+ non_live_provenance: "non_live_provenance";
659
+ target_identity_unproven: "target_identity_unproven";
660
+ revision_identity_unproven: "revision_identity_unproven";
661
+ }>;
662
+ }, z.core.$strict>>;
663
+ reasonCodes: z.ZodArray<z.ZodEnum<{
664
+ scenario_not_validating: "scenario_not_validating";
665
+ insufficient_independent_rounds: "insufficient_independent_rounds";
666
+ no_current_epoch_rounds: "no_current_epoch_rounds";
667
+ latest_round_pending: "latest_round_pending";
668
+ latest_round_not_qualified: "latest_round_not_qualified";
669
+ }>>;
670
+ }, z.core.$strict>;
671
+ }, z.core.$strict>>>;
672
+ structuralValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
673
+ schemaVersion: z.ZodLiteral<"workflow.scenario-structure/v1">;
674
+ ref: z.ZodObject<{
675
+ id: z.ZodString;
676
+ revision: z.ZodString;
677
+ digest: z.ZodObject<{
678
+ algorithm: z.ZodLiteral<"sha256">;
679
+ hex: z.ZodString;
680
+ }, z.core.$strict>;
681
+ }, z.core.$strict>;
682
+ scope: z.ZodObject<{
683
+ ownerId: z.ZodString;
684
+ tenantId: z.ZodNullable<z.ZodString>;
685
+ visibility: z.ZodEnum<{
686
+ public: "public";
687
+ owner_private: "owner_private";
688
+ tenant_private: "tenant_private";
689
+ }>;
690
+ }, z.core.$strict>;
691
+ snapshot: z.ZodObject<{
692
+ id: z.ZodString;
693
+ scope: z.ZodObject<{
694
+ ownerId: z.ZodString;
695
+ tenantId: z.ZodNullable<z.ZodString>;
696
+ visibility: z.ZodEnum<{
697
+ public: "public";
698
+ owner_private: "owner_private";
699
+ tenant_private: "tenant_private";
700
+ }>;
701
+ }, z.core.$strict>;
702
+ expectedAggregateVersion: z.ZodNumber;
703
+ expectedDefinitionRef: z.ZodObject<{
704
+ id: z.ZodString;
705
+ revision: z.ZodString;
706
+ digest: z.ZodObject<{
707
+ algorithm: z.ZodLiteral<"sha256">;
708
+ hex: z.ZodString;
709
+ }, z.core.$strict>;
710
+ }, z.core.$strict>;
711
+ expectedInvalidationEpoch: z.ZodNumber;
712
+ expectedLatestRoundSequence: z.ZodNumber;
713
+ }, z.core.$strict>;
714
+ requestRef: z.ZodObject<{
715
+ id: z.ZodString;
716
+ revision: z.ZodString;
717
+ digest: z.ZodObject<{
718
+ algorithm: z.ZodLiteral<"sha256">;
719
+ hex: z.ZodString;
720
+ }, z.core.$strict>;
721
+ }, z.core.$strict>;
722
+ qualificationMatrixRef: z.ZodObject<{
723
+ id: z.ZodString;
724
+ revision: z.ZodString;
725
+ digest: z.ZodObject<{
726
+ algorithm: z.ZodLiteral<"sha256">;
727
+ hex: z.ZodString;
728
+ }, z.core.$strict>;
729
+ }, z.core.$strict>;
730
+ executableClosureDigest: z.ZodObject<{
731
+ algorithm: z.ZodLiteral<"sha256">;
732
+ hex: z.ZodString;
733
+ }, z.core.$strict>;
734
+ actorId: z.ZodString;
735
+ authorizationPolicyRef: z.ZodObject<{
736
+ id: z.ZodString;
737
+ revision: z.ZodString;
738
+ digest: z.ZodObject<{
739
+ algorithm: z.ZodLiteral<"sha256">;
740
+ hex: z.ZodString;
741
+ }, z.core.$strict>;
742
+ }, z.core.$strict>;
743
+ validatedAt: z.ZodString;
744
+ }, z.core.$strict>>>;
745
+ promotion: z.ZodDefault<z.ZodNullable<z.ZodObject<{
746
+ receipt: z.ZodObject<{
747
+ schemaVersion: z.ZodLiteral<"workflow.scenario-promotion/v1">;
748
+ ref: z.ZodObject<{
749
+ id: z.ZodString;
750
+ revision: z.ZodString;
751
+ digest: z.ZodObject<{
752
+ algorithm: z.ZodLiteral<"sha256">;
753
+ hex: z.ZodString;
754
+ }, z.core.$strict>;
755
+ }, z.core.$strict>;
756
+ scope: z.ZodObject<{
757
+ ownerId: z.ZodString;
758
+ tenantId: z.ZodNullable<z.ZodString>;
759
+ visibility: z.ZodEnum<{
760
+ public: "public";
761
+ owner_private: "owner_private";
762
+ tenant_private: "tenant_private";
763
+ }>;
764
+ }, z.core.$strict>;
765
+ intent: z.ZodObject<{
766
+ scenarioId: z.ZodString;
767
+ definitionRef: z.ZodObject<{
768
+ id: z.ZodString;
769
+ revision: z.ZodString;
770
+ digest: z.ZodObject<{
771
+ algorithm: z.ZodLiteral<"sha256">;
772
+ hex: z.ZodString;
773
+ }, z.core.$strict>;
774
+ }, z.core.$strict>;
775
+ reviewToken: z.ZodObject<{
776
+ id: z.ZodString;
777
+ scope: z.ZodObject<{
778
+ ownerId: z.ZodString;
779
+ tenantId: z.ZodNullable<z.ZodString>;
780
+ visibility: z.ZodEnum<{
781
+ public: "public";
782
+ owner_private: "owner_private";
783
+ tenant_private: "tenant_private";
784
+ }>;
785
+ }, z.core.$strict>;
786
+ expectedEditRevision: z.ZodNumber;
787
+ expectedSourcePlanRef: z.ZodObject<{
788
+ id: z.ZodString;
789
+ revision: z.ZodString;
790
+ digest: z.ZodObject<{
791
+ algorithm: z.ZodLiteral<"sha256">;
792
+ hex: z.ZodString;
793
+ }, z.core.$strict>;
794
+ }, z.core.$strict>;
795
+ }, z.core.$strict>;
796
+ selectionManifestRefs: z.ZodArray<z.ZodObject<{
797
+ id: z.ZodString;
798
+ revision: z.ZodString;
799
+ digest: z.ZodObject<{
800
+ algorithm: z.ZodLiteral<"sha256">;
801
+ hex: z.ZodString;
802
+ }, z.core.$strict>;
803
+ }, z.core.$strict>>;
804
+ idempotencyKey: z.ZodString;
805
+ }, z.core.$strict>;
806
+ reviewRef: z.ZodObject<{
807
+ id: z.ZodString;
808
+ revision: z.ZodString;
809
+ digest: z.ZodObject<{
810
+ algorithm: z.ZodLiteral<"sha256">;
811
+ hex: z.ZodString;
812
+ }, z.core.$strict>;
813
+ }, z.core.$strict>;
814
+ sourceValidationRef: z.ZodObject<{
815
+ id: z.ZodString;
816
+ revision: z.ZodString;
817
+ digest: z.ZodObject<{
818
+ algorithm: z.ZodLiteral<"sha256">;
819
+ hex: z.ZodString;
820
+ }, z.core.$strict>;
821
+ }, z.core.$strict>;
822
+ reviewStorageVersion: z.ZodNumber;
823
+ actorId: z.ZodString;
824
+ authorizationPolicyRef: z.ZodObject<{
825
+ id: z.ZodString;
826
+ revision: z.ZodString;
827
+ digest: z.ZodObject<{
828
+ algorithm: z.ZodLiteral<"sha256">;
829
+ hex: z.ZodString;
830
+ }, z.core.$strict>;
831
+ }, z.core.$strict>;
832
+ promotedAt: z.ZodString;
833
+ }, z.core.$strict>;
834
+ approved: z.ZodObject<{
835
+ plan: z.ZodObject<{
836
+ schemaVersion: z.ZodLiteral<"workflow.source-plan/v1">;
837
+ ref: z.ZodObject<{
838
+ id: z.ZodString;
839
+ revision: z.ZodString;
840
+ digest: z.ZodObject<{
841
+ algorithm: z.ZodLiteral<"sha256">;
842
+ hex: z.ZodString;
843
+ }, z.core.$strict>;
844
+ }, z.core.$strict>;
845
+ scope: z.ZodObject<{
846
+ ownerId: z.ZodString;
847
+ tenantId: z.ZodNullable<z.ZodString>;
848
+ visibility: z.ZodEnum<{
849
+ public: "public";
850
+ owner_private: "owner_private";
851
+ tenant_private: "tenant_private";
852
+ }>;
853
+ }, z.core.$strict>;
854
+ revisionMatrixRef: z.ZodObject<{
855
+ id: z.ZodString;
856
+ revision: z.ZodString;
857
+ digest: z.ZodObject<{
858
+ algorithm: z.ZodLiteral<"sha256">;
859
+ hex: z.ZodString;
860
+ }, z.core.$strict>;
861
+ }, z.core.$strict>;
862
+ changeModelRef: z.ZodObject<{
863
+ id: z.ZodString;
864
+ revision: z.ZodString;
865
+ digest: z.ZodObject<{
866
+ algorithm: z.ZodLiteral<"sha256">;
867
+ hex: z.ZodString;
868
+ }, z.core.$strict>;
869
+ }, z.core.$strict>;
870
+ disposition: z.ZodEnum<{
871
+ scenario_set: "scenario_set";
872
+ no_e2e_warranted: "no_e2e_warranted";
873
+ surface_unresolved: "surface_unresolved";
874
+ }>;
875
+ dispositionReasonRefs: z.ZodArray<z.ZodObject<{
876
+ id: z.ZodString;
877
+ revision: z.ZodString;
878
+ digest: z.ZodObject<{
879
+ algorithm: z.ZodLiteral<"sha256">;
880
+ hex: z.ZodString;
881
+ }, z.core.$strict>;
882
+ }, z.core.$strict>>;
883
+ candidates: z.ZodArray<z.ZodObject<{
884
+ id: z.ZodString;
885
+ sourceElementIds: z.ZodArray<z.ZodString>;
886
+ caseRef: z.ZodNullable<z.ZodObject<{
887
+ id: z.ZodString;
888
+ revision: z.ZodString;
889
+ digest: z.ZodObject<{
890
+ algorithm: z.ZodLiteral<"sha256">;
891
+ hex: z.ZodString;
892
+ }, z.core.$strict>;
893
+ }, z.core.$strict>>;
894
+ disposition: z.ZodEnum<{
895
+ blocked: "blocked";
896
+ excluded: "excluded";
897
+ runnable: "runnable";
898
+ not_derivable: "not_derivable";
899
+ }>;
900
+ reasonRefs: z.ZodArray<z.ZodObject<{
901
+ id: z.ZodString;
902
+ revision: z.ZodString;
903
+ digest: z.ZodObject<{
904
+ algorithm: z.ZodLiteral<"sha256">;
905
+ hex: z.ZodString;
906
+ }, z.core.$strict>;
907
+ }, z.core.$strict>>;
908
+ capabilityRefs: z.ZodArray<z.ZodObject<{
909
+ id: z.ZodString;
910
+ revision: z.ZodString;
911
+ digest: z.ZodObject<{
912
+ algorithm: z.ZodLiteral<"sha256">;
913
+ hex: z.ZodString;
914
+ }, z.core.$strict>;
915
+ }, z.core.$strict>>;
916
+ }, z.core.$strict>>;
917
+ validFlowRefs: z.ZodArray<z.ZodObject<{
918
+ id: z.ZodString;
919
+ revision: z.ZodString;
920
+ digest: z.ZodObject<{
921
+ algorithm: z.ZodLiteral<"sha256">;
922
+ hex: z.ZodString;
923
+ }, z.core.$strict>;
924
+ }, z.core.$strict>>;
925
+ withheldFlows: z.ZodArray<z.ZodObject<{
926
+ flowRef: z.ZodObject<{
927
+ id: z.ZodString;
928
+ revision: z.ZodString;
929
+ digest: z.ZodObject<{
930
+ algorithm: z.ZodLiteral<"sha256">;
931
+ hex: z.ZodString;
932
+ }, z.core.$strict>;
933
+ }, z.core.$strict>;
934
+ reasonRefs: z.ZodArray<z.ZodObject<{
935
+ id: z.ZodString;
936
+ revision: z.ZodString;
937
+ digest: z.ZodObject<{
938
+ algorithm: z.ZodLiteral<"sha256">;
939
+ hex: z.ZodString;
940
+ }, z.core.$strict>;
941
+ }, z.core.$strict>>;
942
+ }, z.core.$strict>>;
943
+ invalidFlows: z.ZodArray<z.ZodObject<{
944
+ flowRef: z.ZodObject<{
945
+ id: z.ZodString;
946
+ revision: z.ZodString;
947
+ digest: z.ZodObject<{
948
+ algorithm: z.ZodLiteral<"sha256">;
949
+ hex: z.ZodString;
950
+ }, z.core.$strict>;
951
+ }, z.core.$strict>;
952
+ diagnosticRefs: z.ZodArray<z.ZodObject<{
953
+ id: z.ZodString;
954
+ revision: z.ZodString;
955
+ digest: z.ZodObject<{
956
+ algorithm: z.ZodLiteral<"sha256">;
957
+ hex: z.ZodString;
958
+ }, z.core.$strict>;
959
+ }, z.core.$strict>>;
960
+ }, z.core.$strict>>;
961
+ coverageObligationRefs: z.ZodArray<z.ZodObject<{
962
+ id: z.ZodString;
963
+ revision: z.ZodString;
964
+ digest: z.ZodObject<{
965
+ algorithm: z.ZodLiteral<"sha256">;
966
+ hex: z.ZodString;
967
+ }, z.core.$strict>;
968
+ }, z.core.$strict>>;
969
+ gapRefs: z.ZodArray<z.ZodObject<{
970
+ id: z.ZodString;
971
+ revision: z.ZodString;
972
+ digest: z.ZodObject<{
973
+ algorithm: z.ZodLiteral<"sha256">;
974
+ hex: z.ZodString;
975
+ }, z.core.$strict>;
976
+ }, z.core.$strict>>;
977
+ }, z.core.$strict>;
978
+ review: z.ZodObject<{
979
+ schemaVersion: z.ZodLiteral<"workflow.plan-review/v1">;
980
+ ref: z.ZodObject<{
981
+ id: z.ZodString;
982
+ revision: z.ZodString;
983
+ digest: z.ZodObject<{
984
+ algorithm: z.ZodLiteral<"sha256">;
985
+ hex: z.ZodString;
986
+ }, z.core.$strict>;
987
+ }, z.core.$strict>;
988
+ scope: z.ZodObject<{
989
+ ownerId: z.ZodString;
990
+ tenantId: z.ZodNullable<z.ZodString>;
991
+ visibility: z.ZodEnum<{
992
+ public: "public";
993
+ owner_private: "owner_private";
994
+ tenant_private: "tenant_private";
995
+ }>;
996
+ }, z.core.$strict>;
997
+ sourcePlanRef: z.ZodObject<{
998
+ id: z.ZodString;
999
+ revision: z.ZodString;
1000
+ digest: z.ZodObject<{
1001
+ algorithm: z.ZodLiteral<"sha256">;
1002
+ hex: z.ZodString;
1003
+ }, z.core.$strict>;
1004
+ }, z.core.$strict>;
1005
+ editRevision: z.ZodNumber;
1006
+ decision: z.ZodEnum<{
1007
+ approved: "approved";
1008
+ rejected: "rejected";
1009
+ }>;
1010
+ reviewerActorId: z.ZodString;
1011
+ policyRef: z.ZodObject<{
1012
+ id: z.ZodString;
1013
+ revision: z.ZodString;
1014
+ digest: z.ZodObject<{
1015
+ algorithm: z.ZodLiteral<"sha256">;
1016
+ hex: z.ZodString;
1017
+ }, z.core.$strict>;
1018
+ }, z.core.$strict>;
1019
+ reasonRefs: z.ZodArray<z.ZodObject<{
1020
+ id: z.ZodString;
1021
+ revision: z.ZodString;
1022
+ digest: z.ZodObject<{
1023
+ algorithm: z.ZodLiteral<"sha256">;
1024
+ hex: z.ZodString;
1025
+ }, z.core.$strict>;
1026
+ }, z.core.$strict>>;
1027
+ }, z.core.$strict>;
1028
+ validation: z.ZodObject<{
1029
+ schemaVersion: z.ZodLiteral<"workflow.source-validation/v1">;
1030
+ sourcePlanRef: z.ZodObject<{
1031
+ id: z.ZodString;
1032
+ revision: z.ZodString;
1033
+ digest: z.ZodObject<{
1034
+ algorithm: z.ZodLiteral<"sha256">;
1035
+ hex: z.ZodString;
1036
+ }, z.core.$strict>;
1037
+ }, z.core.$strict>;
1038
+ changeModelRef: z.ZodObject<{
1039
+ id: z.ZodString;
1040
+ revision: z.ZodString;
1041
+ digest: z.ZodObject<{
1042
+ algorithm: z.ZodLiteral<"sha256">;
1043
+ hex: z.ZodString;
1044
+ }, z.core.$strict>;
1045
+ }, z.core.$strict>;
1046
+ revisionMatrixRef: z.ZodObject<{
1047
+ id: z.ZodString;
1048
+ revision: z.ZodString;
1049
+ digest: z.ZodObject<{
1050
+ algorithm: z.ZodLiteral<"sha256">;
1051
+ hex: z.ZodString;
1052
+ }, z.core.$strict>;
1053
+ }, z.core.$strict>;
1054
+ policyRef: z.ZodObject<{
1055
+ id: z.ZodString;
1056
+ revision: z.ZodString;
1057
+ digest: z.ZodObject<{
1058
+ algorithm: z.ZodLiteral<"sha256">;
1059
+ hex: z.ZodString;
1060
+ }, z.core.$strict>;
1061
+ }, z.core.$strict>;
1062
+ verifiedCitationRefs: z.ZodArray<z.ZodObject<{
1063
+ id: z.ZodString;
1064
+ revision: z.ZodString;
1065
+ digest: z.ZodObject<{
1066
+ algorithm: z.ZodLiteral<"sha256">;
1067
+ hex: z.ZodString;
1068
+ }, z.core.$strict>;
1069
+ }, z.core.$strict>>;
1070
+ runnableElementIds: z.ZodArray<z.ZodString>;
1071
+ retainedDiagnosticRefs: z.ZodArray<z.ZodObject<{
1072
+ id: z.ZodString;
1073
+ revision: z.ZodString;
1074
+ digest: z.ZodObject<{
1075
+ algorithm: z.ZodLiteral<"sha256">;
1076
+ hex: z.ZodString;
1077
+ }, z.core.$strict>;
1078
+ }, z.core.$strict>>;
1079
+ ref: z.ZodObject<{
1080
+ id: z.ZodString;
1081
+ revision: z.ZodString;
1082
+ digest: z.ZodObject<{
1083
+ algorithm: z.ZodLiteral<"sha256">;
1084
+ hex: z.ZodString;
1085
+ }, z.core.$strict>;
1086
+ }, z.core.$strict>;
1087
+ scope: z.ZodObject<{
1088
+ ownerId: z.ZodString;
1089
+ tenantId: z.ZodNullable<z.ZodString>;
1090
+ visibility: z.ZodEnum<{
1091
+ public: "public";
1092
+ owner_private: "owner_private";
1093
+ tenant_private: "tenant_private";
1094
+ }>;
1095
+ }, z.core.$strict>;
1096
+ }, z.core.$strict>;
1097
+ storageVersion: z.ZodNumber;
1098
+ projection: z.ZodObject<{
1099
+ id: z.ZodString;
1100
+ scope: z.ZodObject<{
1101
+ ownerId: z.ZodString;
1102
+ tenantId: z.ZodNullable<z.ZodString>;
1103
+ visibility: z.ZodEnum<{
1104
+ public: "public";
1105
+ owner_private: "owner_private";
1106
+ tenant_private: "tenant_private";
1107
+ }>;
1108
+ }, z.core.$strict>;
1109
+ editRevision: z.ZodNumber;
1110
+ sourcePlanRef: z.ZodObject<{
1111
+ id: z.ZodString;
1112
+ revision: z.ZodString;
1113
+ digest: z.ZodObject<{
1114
+ algorithm: z.ZodLiteral<"sha256">;
1115
+ hex: z.ZodString;
1116
+ }, z.core.$strict>;
1117
+ }, z.core.$strict>;
1118
+ currentReviewRef: z.ZodNullable<z.ZodObject<{
1119
+ id: z.ZodString;
1120
+ revision: z.ZodString;
1121
+ digest: z.ZodObject<{
1122
+ algorithm: z.ZodLiteral<"sha256">;
1123
+ hex: z.ZodString;
1124
+ }, z.core.$strict>;
1125
+ }, z.core.$strict>>;
1126
+ }, z.core.$strict>;
1127
+ }, z.core.$strict>;
1128
+ }, z.core.$strict>>>;
1129
+ }, z.core.$strict>;
1130
+ export type StoredScenario = z.infer<typeof StoredScenario>;
1131
+ export declare const LocalScenarioState: z.ZodObject<{
1132
+ schemaVersion: z.ZodLiteral<"workflow.local-scenario-state/v1">;
1133
+ scope: z.ZodObject<{
1134
+ ownerId: z.ZodString;
1135
+ tenantId: z.ZodNullable<z.ZodString>;
1136
+ visibility: z.ZodEnum<{
1137
+ public: "public";
1138
+ owner_private: "owner_private";
1139
+ tenant_private: "tenant_private";
1140
+ }>;
1141
+ }, z.core.$strict>;
1142
+ scenarios: z.ZodArray<z.ZodObject<{
1143
+ projection: z.ZodObject<{
1144
+ id: z.ZodString;
1145
+ scope: z.ZodObject<{
1146
+ ownerId: z.ZodString;
1147
+ tenantId: z.ZodNullable<z.ZodString>;
1148
+ visibility: z.ZodEnum<{
1149
+ public: "public";
1150
+ owner_private: "owner_private";
1151
+ tenant_private: "tenant_private";
1152
+ }>;
1153
+ }, z.core.$strict>;
1154
+ aggregateVersion: z.ZodNumber;
1155
+ definitionRef: z.ZodObject<{
1156
+ id: z.ZodString;
1157
+ revision: z.ZodString;
1158
+ digest: z.ZodObject<{
1159
+ algorithm: z.ZodLiteral<"sha256">;
1160
+ hex: z.ZodString;
1161
+ }, z.core.$strict>;
1162
+ }, z.core.$strict>;
1163
+ state: z.ZodEnum<{
1164
+ proposed: "proposed";
1165
+ validating: "validating";
1166
+ active: "active";
1167
+ degraded: "degraded";
1168
+ retired: "retired";
1169
+ }>;
1170
+ invalidationEpoch: z.ZodNumber;
1171
+ latestRoundSequence: z.ZodNumber;
1172
+ qualificationRoundRefs: z.ZodArray<z.ZodObject<{
1173
+ id: z.ZodString;
1174
+ revision: z.ZodString;
1175
+ digest: z.ZodObject<{
1176
+ algorithm: z.ZodLiteral<"sha256">;
1177
+ hex: z.ZodString;
1178
+ }, z.core.$strict>;
1179
+ }, z.core.$strict>>;
1180
+ activationDecisionRef: z.ZodNullable<z.ZodObject<{
1181
+ id: z.ZodString;
1182
+ revision: z.ZodString;
1183
+ digest: z.ZodObject<{
1184
+ algorithm: z.ZodLiteral<"sha256">;
1185
+ hex: z.ZodString;
1186
+ }, z.core.$strict>;
1187
+ }, z.core.$strict>>;
1188
+ }, z.core.$strict>;
1189
+ definitions: z.ZodArray<z.ZodObject<{
1190
+ schemaVersion: z.ZodLiteral<"workflow.scenario/v1">;
1191
+ ref: z.ZodObject<{
1192
+ id: z.ZodString;
1193
+ revision: z.ZodString;
1194
+ digest: z.ZodObject<{
1195
+ algorithm: z.ZodLiteral<"sha256">;
1196
+ hex: z.ZodString;
1197
+ }, z.core.$strict>;
1198
+ }, z.core.$strict>;
1199
+ scope: z.ZodObject<{
1200
+ ownerId: z.ZodString;
1201
+ tenantId: z.ZodNullable<z.ZodString>;
1202
+ visibility: z.ZodEnum<{
1203
+ public: "public";
1204
+ owner_private: "owner_private";
1205
+ tenant_private: "tenant_private";
1206
+ }>;
1207
+ }, z.core.$strict>;
1208
+ sourcePlanRef: z.ZodNullable<z.ZodObject<{
1209
+ id: z.ZodString;
1210
+ revision: z.ZodString;
1211
+ digest: z.ZodObject<{
1212
+ algorithm: z.ZodLiteral<"sha256">;
1213
+ hex: z.ZodString;
1214
+ }, z.core.$strict>;
1215
+ }, z.core.$strict>>;
1216
+ reviewRef: z.ZodObject<{
1217
+ id: z.ZodString;
1218
+ revision: z.ZodString;
1219
+ digest: z.ZodObject<{
1220
+ algorithm: z.ZodLiteral<"sha256">;
1221
+ hex: z.ZodString;
1222
+ }, z.core.$strict>;
1223
+ }, z.core.$strict>;
1224
+ caseRefs: z.ZodArray<z.ZodObject<{
1225
+ id: z.ZodString;
1226
+ revision: z.ZodString;
1227
+ digest: z.ZodObject<{
1228
+ algorithm: z.ZodLiteral<"sha256">;
1229
+ hex: z.ZodString;
1230
+ }, z.core.$strict>;
1231
+ }, z.core.$strict>>;
1232
+ replayContractRef: z.ZodObject<{
1233
+ id: z.ZodString;
1234
+ revision: z.ZodString;
1235
+ digest: z.ZodObject<{
1236
+ algorithm: z.ZodLiteral<"sha256">;
1237
+ hex: z.ZodString;
1238
+ }, z.core.$strict>;
1239
+ }, z.core.$strict>;
1240
+ qualificationPolicyRef: z.ZodObject<{
1241
+ id: z.ZodString;
1242
+ revision: z.ZodString;
1243
+ digest: z.ZodObject<{
1244
+ algorithm: z.ZodLiteral<"sha256">;
1245
+ hex: z.ZodString;
1246
+ }, z.core.$strict>;
1247
+ }, z.core.$strict>;
1248
+ qualificationMatrixRef: z.ZodObject<{
1249
+ id: z.ZodString;
1250
+ revision: z.ZodString;
1251
+ digest: z.ZodObject<{
1252
+ algorithm: z.ZodLiteral<"sha256">;
1253
+ hex: z.ZodString;
1254
+ }, z.core.$strict>;
1255
+ }, z.core.$strict>;
1256
+ qualificationTargetProfileRef: z.ZodObject<{
1257
+ id: z.ZodString;
1258
+ revision: z.ZodString;
1259
+ digest: z.ZodObject<{
1260
+ algorithm: z.ZodLiteral<"sha256">;
1261
+ hex: z.ZodString;
1262
+ }, z.core.$strict>;
1263
+ }, z.core.$strict>;
1264
+ }, z.core.$strict>>;
1265
+ selections: z.ZodArray<z.ZodObject<{
1266
+ policyRef: z.ZodNullable<z.ZodObject<{
1267
+ id: z.ZodString;
1268
+ revision: z.ZodString;
1269
+ digest: z.ZodObject<{
1270
+ algorithm: z.ZodLiteral<"sha256">;
1271
+ hex: z.ZodString;
1272
+ }, z.core.$strict>;
1273
+ }, z.core.$strict>>;
1274
+ cells: z.ZodArray<z.ZodObject<{
1275
+ selectionCellId: z.ZodString;
1276
+ required: z.ZodBoolean;
1277
+ caseRef: z.ZodObject<{
1278
+ id: z.ZodString;
1279
+ revision: z.ZodString;
1280
+ digest: z.ZodObject<{
1281
+ algorithm: z.ZodLiteral<"sha256">;
1282
+ hex: z.ZodString;
1283
+ }, z.core.$strict>;
1284
+ }, z.core.$strict>;
1285
+ personaRef: z.ZodObject<{
1286
+ id: z.ZodString;
1287
+ revision: z.ZodString;
1288
+ digest: z.ZodObject<{
1289
+ algorithm: z.ZodLiteral<"sha256">;
1290
+ hex: z.ZodString;
1291
+ }, z.core.$strict>;
1292
+ }, z.core.$strict>;
1293
+ surfaceBindingRef: z.ZodObject<{
1294
+ id: z.ZodString;
1295
+ revision: z.ZodString;
1296
+ digest: z.ZodObject<{
1297
+ algorithm: z.ZodLiteral<"sha256">;
1298
+ hex: z.ZodString;
1299
+ }, z.core.$strict>;
1300
+ }, z.core.$strict>;
1301
+ variantRef: z.ZodNullable<z.ZodObject<{
1302
+ id: z.ZodString;
1303
+ revision: z.ZodString;
1304
+ digest: z.ZodObject<{
1305
+ algorithm: z.ZodLiteral<"sha256">;
1306
+ hex: z.ZodString;
1307
+ }, z.core.$strict>;
1308
+ }, z.core.$strict>>;
1309
+ sourceSelectionRef: z.ZodNullable<z.ZodObject<{
1310
+ id: z.ZodString;
1311
+ revision: z.ZodString;
1312
+ digest: z.ZodObject<{
1313
+ algorithm: z.ZodLiteral<"sha256">;
1314
+ hex: z.ZodString;
1315
+ }, z.core.$strict>;
1316
+ }, z.core.$strict>>;
1317
+ environmentRef: z.ZodObject<{
1318
+ id: z.ZodString;
1319
+ revision: z.ZodString;
1320
+ digest: z.ZodObject<{
1321
+ algorithm: z.ZodLiteral<"sha256">;
1322
+ hex: z.ZodString;
1323
+ }, z.core.$strict>;
1324
+ }, z.core.$strict>;
1325
+ expectedTarget: z.ZodObject<{
1326
+ componentProfileRef: z.ZodObject<{
1327
+ id: z.ZodString;
1328
+ revision: z.ZodString;
1329
+ digest: z.ZodObject<{
1330
+ algorithm: z.ZodLiteral<"sha256">;
1331
+ hex: z.ZodString;
1332
+ }, z.core.$strict>;
1333
+ }, z.core.$strict>;
1334
+ requiredComponents: z.ZodArray<z.ZodString>;
1335
+ excludedComponents: z.ZodArray<z.ZodObject<{
1336
+ component: z.ZodString;
1337
+ reason: z.ZodString;
1338
+ }, z.core.$strict>>;
1339
+ components: z.ZodArray<z.ZodObject<{
1340
+ componentId: z.ZodString;
1341
+ kind: z.ZodEnum<{
1342
+ schema: "schema";
1343
+ application: "application";
1344
+ service: "service";
1345
+ worker: "worker";
1346
+ flag_set: "flag_set";
1347
+ protocol_server: "protocol_server";
1348
+ host: "host";
1349
+ widget: "widget";
1350
+ mobile_binary: "mobile_binary";
1351
+ device_runtime: "device_runtime";
1352
+ model_endpoint: "model_endpoint";
1353
+ other: "other";
1354
+ }>;
1355
+ identity: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
1356
+ kind: z.ZodLiteral<"source_digest">;
1357
+ sourceDigest: z.ZodObject<{
1358
+ algorithm: z.ZodLiteral<"sha256">;
1359
+ hex: z.ZodString;
1360
+ }, z.core.$strict>;
1361
+ runtime: z.ZodString;
1362
+ }, z.core.$strict>, z.ZodObject<{
1363
+ kind: z.ZodLiteral<"declared_release">;
1364
+ release: z.ZodString;
1365
+ }, z.core.$strict>], "kind">>;
1366
+ }, z.core.$strict>>;
1367
+ repositories: z.ZodArray<z.ZodObject<{
1368
+ repositoryRole: z.ZodString;
1369
+ canonicalUrl: z.ZodString;
1370
+ requestedRef: z.ZodString;
1371
+ resolvedCommit: z.ZodString;
1372
+ origin: z.ZodEnum<{
1373
+ remote_object: "remote_object";
1374
+ snapshot_bundle: "snapshot_bundle";
1375
+ }>;
1376
+ sourceObjectsRef: z.ZodNullable<z.ZodObject<{
1377
+ id: z.ZodString;
1378
+ revision: z.ZodString;
1379
+ digest: z.ZodObject<{
1380
+ algorithm: z.ZodLiteral<"sha256">;
1381
+ hex: z.ZodString;
1382
+ }, z.core.$strict>;
1383
+ }, z.core.$strict>>;
1384
+ lockfileDigest: z.ZodObject<{
1385
+ algorithm: z.ZodLiteral<"sha256">;
1386
+ hex: z.ZodString;
1387
+ }, z.core.$strict>;
1388
+ dirty: z.ZodLiteral<false>;
1389
+ }, z.core.$strict>>;
1390
+ corpus: z.ZodObject<{
1391
+ id: z.ZodString;
1392
+ revision: z.ZodString;
1393
+ digest: z.ZodObject<{
1394
+ algorithm: z.ZodLiteral<"sha256">;
1395
+ hex: z.ZodString;
1396
+ }, z.core.$strict>;
1397
+ }, z.core.$strict>;
1398
+ runner: z.ZodObject<{
1399
+ id: z.ZodString;
1400
+ revision: z.ZodString;
1401
+ digest: z.ZodObject<{
1402
+ algorithm: z.ZodLiteral<"sha256">;
1403
+ hex: z.ZodString;
1404
+ }, z.core.$strict>;
1405
+ }, z.core.$strict>;
1406
+ evaluator: z.ZodObject<{
1407
+ id: z.ZodString;
1408
+ revision: z.ZodString;
1409
+ digest: z.ZodObject<{
1410
+ algorithm: z.ZodLiteral<"sha256">;
1411
+ hex: z.ZodString;
1412
+ }, z.core.$strict>;
1413
+ }, z.core.$strict>;
1414
+ frontendRelease: z.ZodNullable<z.ZodString>;
1415
+ backendRelease: z.ZodNullable<z.ZodString>;
1416
+ workerRelease: z.ZodNullable<z.ZodString>;
1417
+ schemaFingerprint: z.ZodNullable<z.ZodObject<{
1418
+ algorithm: z.ZodLiteral<"sha256">;
1419
+ hex: z.ZodString;
1420
+ }, z.core.$strict>>;
1421
+ featureFlagsDigest: z.ZodNullable<z.ZodObject<{
1422
+ algorithm: z.ZodLiteral<"sha256">;
1423
+ hex: z.ZodString;
1424
+ }, z.core.$strict>>;
1425
+ capabilityVersionsDigest: z.ZodNullable<z.ZodObject<{
1426
+ algorithm: z.ZodLiteral<"sha256">;
1427
+ hex: z.ZodString;
1428
+ }, z.core.$strict>>;
1429
+ browserVersion: z.ZodNullable<z.ZodString>;
1430
+ containerImageDigest: z.ZodNullable<z.ZodString>;
1431
+ modelConfigDigest: z.ZodNullable<z.ZodObject<{
1432
+ algorithm: z.ZodLiteral<"sha256">;
1433
+ hex: z.ZodString;
1434
+ }, z.core.$strict>>;
1435
+ }, z.core.$strict>;
1436
+ executionHostRef: z.ZodObject<{
1437
+ id: z.ZodString;
1438
+ revision: z.ZodString;
1439
+ digest: z.ZodObject<{
1440
+ algorithm: z.ZodLiteral<"sha256">;
1441
+ hex: z.ZodString;
1442
+ }, z.core.$strict>;
1443
+ }, z.core.$strict>;
1444
+ }, z.core.$strict>>;
1445
+ excludedCells: z.ZodArray<z.ZodObject<{
1446
+ cellKey: z.ZodString;
1447
+ reason: z.ZodString;
1448
+ }, z.core.$strict>>;
1449
+ schemaVersion: z.ZodLiteral<"workflow.selection/v1">;
1450
+ ref: z.ZodObject<{
1451
+ id: z.ZodString;
1452
+ revision: z.ZodString;
1453
+ digest: z.ZodObject<{
1454
+ algorithm: z.ZodLiteral<"sha256">;
1455
+ hex: z.ZodString;
1456
+ }, z.core.$strict>;
1457
+ }, z.core.$strict>;
1458
+ scope: z.ZodObject<{
1459
+ ownerId: z.ZodString;
1460
+ tenantId: z.ZodNullable<z.ZodString>;
1461
+ visibility: z.ZodEnum<{
1462
+ public: "public";
1463
+ owner_private: "owner_private";
1464
+ tenant_private: "tenant_private";
1465
+ }>;
1466
+ }, z.core.$strict>;
1467
+ }, z.core.$strict>>;
1468
+ admissions: z.ZodArray<z.ZodObject<{
1469
+ schemaVersion: z.ZodLiteral<"workflow.qualification-admission/v1">;
1470
+ ref: z.ZodObject<{
1471
+ id: z.ZodString;
1472
+ revision: z.ZodString;
1473
+ digest: z.ZodObject<{
1474
+ algorithm: z.ZodLiteral<"sha256">;
1475
+ hex: z.ZodString;
1476
+ }, z.core.$strict>;
1477
+ }, z.core.$strict>;
1478
+ scope: z.ZodObject<{
1479
+ ownerId: z.ZodString;
1480
+ tenantId: z.ZodNullable<z.ZodString>;
1481
+ visibility: z.ZodEnum<{
1482
+ public: "public";
1483
+ owner_private: "owner_private";
1484
+ tenant_private: "tenant_private";
1485
+ }>;
1486
+ }, z.core.$strict>;
1487
+ scenarioRef: z.ZodObject<{
1488
+ id: z.ZodString;
1489
+ revision: z.ZodString;
1490
+ digest: z.ZodObject<{
1491
+ algorithm: z.ZodLiteral<"sha256">;
1492
+ hex: z.ZodString;
1493
+ }, z.core.$strict>;
1494
+ }, z.core.$strict>;
1495
+ replayContractRef: z.ZodObject<{
1496
+ id: z.ZodString;
1497
+ revision: z.ZodString;
1498
+ digest: z.ZodObject<{
1499
+ algorithm: z.ZodLiteral<"sha256">;
1500
+ hex: z.ZodString;
1501
+ }, z.core.$strict>;
1502
+ }, z.core.$strict>;
1503
+ qualificationPolicyRef: z.ZodObject<{
1504
+ id: z.ZodString;
1505
+ revision: z.ZodString;
1506
+ digest: z.ZodObject<{
1507
+ algorithm: z.ZodLiteral<"sha256">;
1508
+ hex: z.ZodString;
1509
+ }, z.core.$strict>;
1510
+ }, z.core.$strict>;
1511
+ qualificationMatrixRef: z.ZodObject<{
1512
+ id: z.ZodString;
1513
+ revision: z.ZodString;
1514
+ digest: z.ZodObject<{
1515
+ algorithm: z.ZodLiteral<"sha256">;
1516
+ hex: z.ZodString;
1517
+ }, z.core.$strict>;
1518
+ }, z.core.$strict>;
1519
+ targetProfileRef: z.ZodObject<{
1520
+ id: z.ZodString;
1521
+ revision: z.ZodString;
1522
+ digest: z.ZodObject<{
1523
+ algorithm: z.ZodLiteral<"sha256">;
1524
+ hex: z.ZodString;
1525
+ }, z.core.$strict>;
1526
+ }, z.core.$strict>;
1527
+ strataDigest: z.ZodObject<{
1528
+ algorithm: z.ZodLiteral<"sha256">;
1529
+ hex: z.ZodString;
1530
+ }, z.core.$strict>;
1531
+ invalidationEpoch: z.ZodNumber;
1532
+ roundSequence: z.ZodNumber;
1533
+ campaignId: z.ZodString;
1534
+ selectionManifestRef: z.ZodObject<{
1535
+ id: z.ZodString;
1536
+ revision: z.ZodString;
1537
+ digest: z.ZodObject<{
1538
+ algorithm: z.ZodLiteral<"sha256">;
1539
+ hex: z.ZodString;
1540
+ }, z.core.$strict>;
1541
+ }, z.core.$strict>;
1542
+ attempts: z.ZodArray<z.ZodObject<{
1543
+ selectionCellId: z.ZodString;
1544
+ executionId: z.ZodString;
1545
+ attemptId: z.ZodString;
1546
+ }, z.core.$strict>>;
1547
+ stateLeaseRefs: z.ZodArray<z.ZodObject<{
1548
+ id: z.ZodString;
1549
+ revision: z.ZodString;
1550
+ digest: z.ZodObject<{
1551
+ algorithm: z.ZodLiteral<"sha256">;
1552
+ hex: z.ZodString;
1553
+ }, z.core.$strict>;
1554
+ }, z.core.$strict>>;
1555
+ }, z.core.$strict>>;
1556
+ activations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1557
+ activation: z.ZodObject<{
1558
+ schemaVersion: z.ZodLiteral<"workflow.scenario-activation/v1">;
1559
+ ref: z.ZodObject<{
1560
+ id: z.ZodString;
1561
+ revision: z.ZodString;
1562
+ digest: z.ZodObject<{
1563
+ algorithm: z.ZodLiteral<"sha256">;
1564
+ hex: z.ZodString;
1565
+ }, z.core.$strict>;
1566
+ }, z.core.$strict>;
1567
+ scope: z.ZodObject<{
1568
+ ownerId: z.ZodString;
1569
+ tenantId: z.ZodNullable<z.ZodString>;
1570
+ visibility: z.ZodEnum<{
1571
+ public: "public";
1572
+ owner_private: "owner_private";
1573
+ tenant_private: "tenant_private";
1574
+ }>;
1575
+ }, z.core.$strict>;
1576
+ intent: z.ZodObject<{
1577
+ snapshot: z.ZodObject<{
1578
+ id: z.ZodString;
1579
+ scope: z.ZodObject<{
1580
+ ownerId: z.ZodString;
1581
+ tenantId: z.ZodNullable<z.ZodString>;
1582
+ visibility: z.ZodEnum<{
1583
+ public: "public";
1584
+ owner_private: "owner_private";
1585
+ tenant_private: "tenant_private";
1586
+ }>;
1587
+ }, z.core.$strict>;
1588
+ expectedAggregateVersion: z.ZodNumber;
1589
+ expectedDefinitionRef: z.ZodObject<{
1590
+ id: z.ZodString;
1591
+ revision: z.ZodString;
1592
+ digest: z.ZodObject<{
1593
+ algorithm: z.ZodLiteral<"sha256">;
1594
+ hex: z.ZodString;
1595
+ }, z.core.$strict>;
1596
+ }, z.core.$strict>;
1597
+ expectedInvalidationEpoch: z.ZodNumber;
1598
+ expectedLatestRoundSequence: z.ZodNumber;
1599
+ }, z.core.$strict>;
1600
+ replayContractRef: z.ZodObject<{
1601
+ id: z.ZodString;
1602
+ revision: z.ZodString;
1603
+ digest: z.ZodObject<{
1604
+ algorithm: z.ZodLiteral<"sha256">;
1605
+ hex: z.ZodString;
1606
+ }, z.core.$strict>;
1607
+ }, z.core.$strict>;
1608
+ qualificationPolicyRef: z.ZodObject<{
1609
+ id: z.ZodString;
1610
+ revision: z.ZodString;
1611
+ digest: z.ZodObject<{
1612
+ algorithm: z.ZodLiteral<"sha256">;
1613
+ hex: z.ZodString;
1614
+ }, z.core.$strict>;
1615
+ }, z.core.$strict>;
1616
+ qualificationMatrixRef: z.ZodObject<{
1617
+ id: z.ZodString;
1618
+ revision: z.ZodString;
1619
+ digest: z.ZodObject<{
1620
+ algorithm: z.ZodLiteral<"sha256">;
1621
+ hex: z.ZodString;
1622
+ }, z.core.$strict>;
1623
+ }, z.core.$strict>;
1624
+ targetProfileRef: z.ZodObject<{
1625
+ id: z.ZodString;
1626
+ revision: z.ZodString;
1627
+ digest: z.ZodObject<{
1628
+ algorithm: z.ZodLiteral<"sha256">;
1629
+ hex: z.ZodString;
1630
+ }, z.core.$strict>;
1631
+ }, z.core.$strict>;
1632
+ roundRefs: z.ZodArray<z.ZodObject<{
1633
+ id: z.ZodString;
1634
+ revision: z.ZodString;
1635
+ digest: z.ZodObject<{
1636
+ algorithm: z.ZodLiteral<"sha256">;
1637
+ hex: z.ZodString;
1638
+ }, z.core.$strict>;
1639
+ }, z.core.$strict>>;
1640
+ idempotencyKey: z.ZodString;
1641
+ }, z.core.$strict>;
1642
+ intentDigest: z.ZodObject<{
1643
+ algorithm: z.ZodLiteral<"sha256">;
1644
+ hex: z.ZodString;
1645
+ }, z.core.$strict>;
1646
+ actorId: z.ZodString;
1647
+ authorizationPolicyRef: z.ZodObject<{
1648
+ id: z.ZodString;
1649
+ revision: z.ZodString;
1650
+ digest: z.ZodObject<{
1651
+ algorithm: z.ZodLiteral<"sha256">;
1652
+ hex: z.ZodString;
1653
+ }, z.core.$strict>;
1654
+ }, z.core.$strict>;
1655
+ assessmentRefs: z.ZodArray<z.ZodObject<{
1656
+ id: z.ZodString;
1657
+ revision: z.ZodString;
1658
+ digest: z.ZodObject<{
1659
+ algorithm: z.ZodLiteral<"sha256">;
1660
+ hex: z.ZodString;
1661
+ }, z.core.$strict>;
1662
+ }, z.core.$strict>>;
1663
+ activatedAt: z.ZodString;
1664
+ }, z.core.$strict>;
1665
+ report: z.ZodObject<{
1666
+ snapshot: z.ZodObject<{
1667
+ id: z.ZodString;
1668
+ scope: z.ZodObject<{
1669
+ ownerId: z.ZodString;
1670
+ tenantId: z.ZodNullable<z.ZodString>;
1671
+ visibility: z.ZodEnum<{
1672
+ public: "public";
1673
+ owner_private: "owner_private";
1674
+ tenant_private: "tenant_private";
1675
+ }>;
1676
+ }, z.core.$strict>;
1677
+ expectedAggregateVersion: z.ZodNumber;
1678
+ expectedDefinitionRef: z.ZodObject<{
1679
+ id: z.ZodString;
1680
+ revision: z.ZodString;
1681
+ digest: z.ZodObject<{
1682
+ algorithm: z.ZodLiteral<"sha256">;
1683
+ hex: z.ZodString;
1684
+ }, z.core.$strict>;
1685
+ }, z.core.$strict>;
1686
+ expectedInvalidationEpoch: z.ZodNumber;
1687
+ expectedLatestRoundSequence: z.ZodNumber;
1688
+ }, z.core.$strict>;
1689
+ policyRef: z.ZodObject<{
1690
+ id: z.ZodString;
1691
+ revision: z.ZodString;
1692
+ digest: z.ZodObject<{
1693
+ algorithm: z.ZodLiteral<"sha256">;
1694
+ hex: z.ZodString;
1695
+ }, z.core.$strict>;
1696
+ }, z.core.$strict>;
1697
+ requiredRounds: z.ZodNumber;
1698
+ latestAdmissionRef: z.ZodNullable<z.ZodObject<{
1699
+ id: z.ZodString;
1700
+ revision: z.ZodString;
1701
+ digest: z.ZodObject<{
1702
+ algorithm: z.ZodLiteral<"sha256">;
1703
+ hex: z.ZodString;
1704
+ }, z.core.$strict>;
1705
+ }, z.core.$strict>>;
1706
+ rounds: z.ZodArray<z.ZodObject<{
1707
+ admissionRef: z.ZodObject<{
1708
+ id: z.ZodString;
1709
+ revision: z.ZodString;
1710
+ digest: z.ZodObject<{
1711
+ algorithm: z.ZodLiteral<"sha256">;
1712
+ hex: z.ZodString;
1713
+ }, z.core.$strict>;
1714
+ }, z.core.$strict>;
1715
+ assessment: z.ZodNullable<z.ZodObject<{
1716
+ schemaVersion: z.ZodLiteral<"workflow.replay-assessment/v1">;
1717
+ ref: z.ZodObject<{
1718
+ id: z.ZodString;
1719
+ revision: z.ZodString;
1720
+ digest: z.ZodObject<{
1721
+ algorithm: z.ZodLiteral<"sha256">;
1722
+ hex: z.ZodString;
1723
+ }, z.core.$strict>;
1724
+ }, z.core.$strict>;
1725
+ scope: z.ZodObject<{
1726
+ ownerId: z.ZodString;
1727
+ tenantId: z.ZodNullable<z.ZodString>;
1728
+ visibility: z.ZodEnum<{
1729
+ public: "public";
1730
+ owner_private: "owner_private";
1731
+ tenant_private: "tenant_private";
1732
+ }>;
1733
+ }, z.core.$strict>;
1734
+ roundRef: z.ZodObject<{
1735
+ id: z.ZodString;
1736
+ revision: z.ZodString;
1737
+ digest: z.ZodObject<{
1738
+ algorithm: z.ZodLiteral<"sha256">;
1739
+ hex: z.ZodString;
1740
+ }, z.core.$strict>;
1741
+ }, z.core.$strict>;
1742
+ level: z.ZodEnum<{
1743
+ revision: "revision";
1744
+ environment: "environment";
1745
+ structural: "structural";
1746
+ mock: "mock";
1747
+ }>;
1748
+ qualifies: z.ZodBoolean;
1749
+ reasonRefs: z.ZodArray<z.ZodObject<{
1750
+ id: z.ZodString;
1751
+ revision: z.ZodString;
1752
+ digest: z.ZodObject<{
1753
+ algorithm: z.ZodLiteral<"sha256">;
1754
+ hex: z.ZodString;
1755
+ }, z.core.$strict>;
1756
+ }, z.core.$strict>>;
1757
+ }, z.core.$strict>>;
1758
+ }, z.core.$strict>>;
1759
+ qualifyingRoundRefs: z.ZodArray<z.ZodObject<{
1760
+ id: z.ZodString;
1761
+ revision: z.ZodString;
1762
+ digest: z.ZodObject<{
1763
+ algorithm: z.ZodLiteral<"sha256">;
1764
+ hex: z.ZodString;
1765
+ }, z.core.$strict>;
1766
+ }, z.core.$strict>>;
1767
+ qualifies: z.ZodBoolean;
1768
+ findings: z.ZodArray<z.ZodObject<{
1769
+ schemaVersion: z.ZodLiteral<"workflow.replay-finding/v1">;
1770
+ ref: z.ZodObject<{
1771
+ id: z.ZodString;
1772
+ revision: z.ZodString;
1773
+ digest: z.ZodObject<{
1774
+ algorithm: z.ZodLiteral<"sha256">;
1775
+ hex: z.ZodString;
1776
+ }, z.core.$strict>;
1777
+ }, z.core.$strict>;
1778
+ scope: z.ZodObject<{
1779
+ ownerId: z.ZodString;
1780
+ tenantId: z.ZodNullable<z.ZodString>;
1781
+ visibility: z.ZodEnum<{
1782
+ public: "public";
1783
+ owner_private: "owner_private";
1784
+ tenant_private: "tenant_private";
1785
+ }>;
1786
+ }, z.core.$strict>;
1787
+ roundRef: z.ZodObject<{
1788
+ id: z.ZodString;
1789
+ revision: z.ZodString;
1790
+ digest: z.ZodObject<{
1791
+ algorithm: z.ZodLiteral<"sha256">;
1792
+ hex: z.ZodString;
1793
+ }, z.core.$strict>;
1794
+ }, z.core.$strict>;
1795
+ code: z.ZodEnum<{
1796
+ campaign_not_passed: "campaign_not_passed";
1797
+ non_live_provenance: "non_live_provenance";
1798
+ target_identity_unproven: "target_identity_unproven";
1799
+ revision_identity_unproven: "revision_identity_unproven";
1800
+ }>;
1801
+ }, z.core.$strict>>;
1802
+ reasonCodes: z.ZodArray<z.ZodEnum<{
1803
+ scenario_not_validating: "scenario_not_validating";
1804
+ insufficient_independent_rounds: "insufficient_independent_rounds";
1805
+ no_current_epoch_rounds: "no_current_epoch_rounds";
1806
+ latest_round_pending: "latest_round_pending";
1807
+ latest_round_not_qualified: "latest_round_not_qualified";
1808
+ }>>;
1809
+ }, z.core.$strict>;
1810
+ }, z.core.$strict>>>;
1811
+ structuralValidations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1812
+ schemaVersion: z.ZodLiteral<"workflow.scenario-structure/v1">;
1813
+ ref: z.ZodObject<{
1814
+ id: z.ZodString;
1815
+ revision: z.ZodString;
1816
+ digest: z.ZodObject<{
1817
+ algorithm: z.ZodLiteral<"sha256">;
1818
+ hex: z.ZodString;
1819
+ }, z.core.$strict>;
1820
+ }, z.core.$strict>;
1821
+ scope: z.ZodObject<{
1822
+ ownerId: z.ZodString;
1823
+ tenantId: z.ZodNullable<z.ZodString>;
1824
+ visibility: z.ZodEnum<{
1825
+ public: "public";
1826
+ owner_private: "owner_private";
1827
+ tenant_private: "tenant_private";
1828
+ }>;
1829
+ }, z.core.$strict>;
1830
+ snapshot: z.ZodObject<{
1831
+ id: z.ZodString;
1832
+ scope: z.ZodObject<{
1833
+ ownerId: z.ZodString;
1834
+ tenantId: z.ZodNullable<z.ZodString>;
1835
+ visibility: z.ZodEnum<{
1836
+ public: "public";
1837
+ owner_private: "owner_private";
1838
+ tenant_private: "tenant_private";
1839
+ }>;
1840
+ }, z.core.$strict>;
1841
+ expectedAggregateVersion: z.ZodNumber;
1842
+ expectedDefinitionRef: z.ZodObject<{
1843
+ id: z.ZodString;
1844
+ revision: z.ZodString;
1845
+ digest: z.ZodObject<{
1846
+ algorithm: z.ZodLiteral<"sha256">;
1847
+ hex: z.ZodString;
1848
+ }, z.core.$strict>;
1849
+ }, z.core.$strict>;
1850
+ expectedInvalidationEpoch: z.ZodNumber;
1851
+ expectedLatestRoundSequence: z.ZodNumber;
1852
+ }, z.core.$strict>;
1853
+ requestRef: z.ZodObject<{
1854
+ id: z.ZodString;
1855
+ revision: z.ZodString;
1856
+ digest: z.ZodObject<{
1857
+ algorithm: z.ZodLiteral<"sha256">;
1858
+ hex: z.ZodString;
1859
+ }, z.core.$strict>;
1860
+ }, z.core.$strict>;
1861
+ qualificationMatrixRef: z.ZodObject<{
1862
+ id: z.ZodString;
1863
+ revision: z.ZodString;
1864
+ digest: z.ZodObject<{
1865
+ algorithm: z.ZodLiteral<"sha256">;
1866
+ hex: z.ZodString;
1867
+ }, z.core.$strict>;
1868
+ }, z.core.$strict>;
1869
+ executableClosureDigest: z.ZodObject<{
1870
+ algorithm: z.ZodLiteral<"sha256">;
1871
+ hex: z.ZodString;
1872
+ }, z.core.$strict>;
1873
+ actorId: z.ZodString;
1874
+ authorizationPolicyRef: z.ZodObject<{
1875
+ id: z.ZodString;
1876
+ revision: z.ZodString;
1877
+ digest: z.ZodObject<{
1878
+ algorithm: z.ZodLiteral<"sha256">;
1879
+ hex: z.ZodString;
1880
+ }, z.core.$strict>;
1881
+ }, z.core.$strict>;
1882
+ validatedAt: z.ZodString;
1883
+ }, z.core.$strict>>>;
1884
+ promotion: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1885
+ receipt: z.ZodObject<{
1886
+ schemaVersion: z.ZodLiteral<"workflow.scenario-promotion/v1">;
1887
+ ref: z.ZodObject<{
1888
+ id: z.ZodString;
1889
+ revision: z.ZodString;
1890
+ digest: z.ZodObject<{
1891
+ algorithm: z.ZodLiteral<"sha256">;
1892
+ hex: z.ZodString;
1893
+ }, z.core.$strict>;
1894
+ }, z.core.$strict>;
1895
+ scope: z.ZodObject<{
1896
+ ownerId: z.ZodString;
1897
+ tenantId: z.ZodNullable<z.ZodString>;
1898
+ visibility: z.ZodEnum<{
1899
+ public: "public";
1900
+ owner_private: "owner_private";
1901
+ tenant_private: "tenant_private";
1902
+ }>;
1903
+ }, z.core.$strict>;
1904
+ intent: z.ZodObject<{
1905
+ scenarioId: z.ZodString;
1906
+ definitionRef: z.ZodObject<{
1907
+ id: z.ZodString;
1908
+ revision: z.ZodString;
1909
+ digest: z.ZodObject<{
1910
+ algorithm: z.ZodLiteral<"sha256">;
1911
+ hex: z.ZodString;
1912
+ }, z.core.$strict>;
1913
+ }, z.core.$strict>;
1914
+ reviewToken: z.ZodObject<{
1915
+ id: z.ZodString;
1916
+ scope: z.ZodObject<{
1917
+ ownerId: z.ZodString;
1918
+ tenantId: z.ZodNullable<z.ZodString>;
1919
+ visibility: z.ZodEnum<{
1920
+ public: "public";
1921
+ owner_private: "owner_private";
1922
+ tenant_private: "tenant_private";
1923
+ }>;
1924
+ }, z.core.$strict>;
1925
+ expectedEditRevision: z.ZodNumber;
1926
+ expectedSourcePlanRef: z.ZodObject<{
1927
+ id: z.ZodString;
1928
+ revision: z.ZodString;
1929
+ digest: z.ZodObject<{
1930
+ algorithm: z.ZodLiteral<"sha256">;
1931
+ hex: z.ZodString;
1932
+ }, z.core.$strict>;
1933
+ }, z.core.$strict>;
1934
+ }, z.core.$strict>;
1935
+ selectionManifestRefs: z.ZodArray<z.ZodObject<{
1936
+ id: z.ZodString;
1937
+ revision: z.ZodString;
1938
+ digest: z.ZodObject<{
1939
+ algorithm: z.ZodLiteral<"sha256">;
1940
+ hex: z.ZodString;
1941
+ }, z.core.$strict>;
1942
+ }, z.core.$strict>>;
1943
+ idempotencyKey: z.ZodString;
1944
+ }, z.core.$strict>;
1945
+ reviewRef: z.ZodObject<{
1946
+ id: z.ZodString;
1947
+ revision: z.ZodString;
1948
+ digest: z.ZodObject<{
1949
+ algorithm: z.ZodLiteral<"sha256">;
1950
+ hex: z.ZodString;
1951
+ }, z.core.$strict>;
1952
+ }, z.core.$strict>;
1953
+ sourceValidationRef: z.ZodObject<{
1954
+ id: z.ZodString;
1955
+ revision: z.ZodString;
1956
+ digest: z.ZodObject<{
1957
+ algorithm: z.ZodLiteral<"sha256">;
1958
+ hex: z.ZodString;
1959
+ }, z.core.$strict>;
1960
+ }, z.core.$strict>;
1961
+ reviewStorageVersion: z.ZodNumber;
1962
+ actorId: z.ZodString;
1963
+ authorizationPolicyRef: z.ZodObject<{
1964
+ id: z.ZodString;
1965
+ revision: z.ZodString;
1966
+ digest: z.ZodObject<{
1967
+ algorithm: z.ZodLiteral<"sha256">;
1968
+ hex: z.ZodString;
1969
+ }, z.core.$strict>;
1970
+ }, z.core.$strict>;
1971
+ promotedAt: z.ZodString;
1972
+ }, z.core.$strict>;
1973
+ approved: z.ZodObject<{
1974
+ plan: z.ZodObject<{
1975
+ schemaVersion: z.ZodLiteral<"workflow.source-plan/v1">;
1976
+ ref: z.ZodObject<{
1977
+ id: z.ZodString;
1978
+ revision: z.ZodString;
1979
+ digest: z.ZodObject<{
1980
+ algorithm: z.ZodLiteral<"sha256">;
1981
+ hex: z.ZodString;
1982
+ }, z.core.$strict>;
1983
+ }, z.core.$strict>;
1984
+ scope: z.ZodObject<{
1985
+ ownerId: z.ZodString;
1986
+ tenantId: z.ZodNullable<z.ZodString>;
1987
+ visibility: z.ZodEnum<{
1988
+ public: "public";
1989
+ owner_private: "owner_private";
1990
+ tenant_private: "tenant_private";
1991
+ }>;
1992
+ }, z.core.$strict>;
1993
+ revisionMatrixRef: z.ZodObject<{
1994
+ id: z.ZodString;
1995
+ revision: z.ZodString;
1996
+ digest: z.ZodObject<{
1997
+ algorithm: z.ZodLiteral<"sha256">;
1998
+ hex: z.ZodString;
1999
+ }, z.core.$strict>;
2000
+ }, z.core.$strict>;
2001
+ changeModelRef: z.ZodObject<{
2002
+ id: z.ZodString;
2003
+ revision: z.ZodString;
2004
+ digest: z.ZodObject<{
2005
+ algorithm: z.ZodLiteral<"sha256">;
2006
+ hex: z.ZodString;
2007
+ }, z.core.$strict>;
2008
+ }, z.core.$strict>;
2009
+ disposition: z.ZodEnum<{
2010
+ scenario_set: "scenario_set";
2011
+ no_e2e_warranted: "no_e2e_warranted";
2012
+ surface_unresolved: "surface_unresolved";
2013
+ }>;
2014
+ dispositionReasonRefs: z.ZodArray<z.ZodObject<{
2015
+ id: z.ZodString;
2016
+ revision: z.ZodString;
2017
+ digest: z.ZodObject<{
2018
+ algorithm: z.ZodLiteral<"sha256">;
2019
+ hex: z.ZodString;
2020
+ }, z.core.$strict>;
2021
+ }, z.core.$strict>>;
2022
+ candidates: z.ZodArray<z.ZodObject<{
2023
+ id: z.ZodString;
2024
+ sourceElementIds: z.ZodArray<z.ZodString>;
2025
+ caseRef: z.ZodNullable<z.ZodObject<{
2026
+ id: z.ZodString;
2027
+ revision: z.ZodString;
2028
+ digest: z.ZodObject<{
2029
+ algorithm: z.ZodLiteral<"sha256">;
2030
+ hex: z.ZodString;
2031
+ }, z.core.$strict>;
2032
+ }, z.core.$strict>>;
2033
+ disposition: z.ZodEnum<{
2034
+ blocked: "blocked";
2035
+ excluded: "excluded";
2036
+ runnable: "runnable";
2037
+ not_derivable: "not_derivable";
2038
+ }>;
2039
+ reasonRefs: z.ZodArray<z.ZodObject<{
2040
+ id: z.ZodString;
2041
+ revision: z.ZodString;
2042
+ digest: z.ZodObject<{
2043
+ algorithm: z.ZodLiteral<"sha256">;
2044
+ hex: z.ZodString;
2045
+ }, z.core.$strict>;
2046
+ }, z.core.$strict>>;
2047
+ capabilityRefs: z.ZodArray<z.ZodObject<{
2048
+ id: z.ZodString;
2049
+ revision: z.ZodString;
2050
+ digest: z.ZodObject<{
2051
+ algorithm: z.ZodLiteral<"sha256">;
2052
+ hex: z.ZodString;
2053
+ }, z.core.$strict>;
2054
+ }, z.core.$strict>>;
2055
+ }, z.core.$strict>>;
2056
+ validFlowRefs: z.ZodArray<z.ZodObject<{
2057
+ id: z.ZodString;
2058
+ revision: z.ZodString;
2059
+ digest: z.ZodObject<{
2060
+ algorithm: z.ZodLiteral<"sha256">;
2061
+ hex: z.ZodString;
2062
+ }, z.core.$strict>;
2063
+ }, z.core.$strict>>;
2064
+ withheldFlows: z.ZodArray<z.ZodObject<{
2065
+ flowRef: z.ZodObject<{
2066
+ id: z.ZodString;
2067
+ revision: z.ZodString;
2068
+ digest: z.ZodObject<{
2069
+ algorithm: z.ZodLiteral<"sha256">;
2070
+ hex: z.ZodString;
2071
+ }, z.core.$strict>;
2072
+ }, z.core.$strict>;
2073
+ reasonRefs: z.ZodArray<z.ZodObject<{
2074
+ id: z.ZodString;
2075
+ revision: z.ZodString;
2076
+ digest: z.ZodObject<{
2077
+ algorithm: z.ZodLiteral<"sha256">;
2078
+ hex: z.ZodString;
2079
+ }, z.core.$strict>;
2080
+ }, z.core.$strict>>;
2081
+ }, z.core.$strict>>;
2082
+ invalidFlows: z.ZodArray<z.ZodObject<{
2083
+ flowRef: z.ZodObject<{
2084
+ id: z.ZodString;
2085
+ revision: z.ZodString;
2086
+ digest: z.ZodObject<{
2087
+ algorithm: z.ZodLiteral<"sha256">;
2088
+ hex: z.ZodString;
2089
+ }, z.core.$strict>;
2090
+ }, z.core.$strict>;
2091
+ diagnosticRefs: z.ZodArray<z.ZodObject<{
2092
+ id: z.ZodString;
2093
+ revision: z.ZodString;
2094
+ digest: z.ZodObject<{
2095
+ algorithm: z.ZodLiteral<"sha256">;
2096
+ hex: z.ZodString;
2097
+ }, z.core.$strict>;
2098
+ }, z.core.$strict>>;
2099
+ }, z.core.$strict>>;
2100
+ coverageObligationRefs: z.ZodArray<z.ZodObject<{
2101
+ id: z.ZodString;
2102
+ revision: z.ZodString;
2103
+ digest: z.ZodObject<{
2104
+ algorithm: z.ZodLiteral<"sha256">;
2105
+ hex: z.ZodString;
2106
+ }, z.core.$strict>;
2107
+ }, z.core.$strict>>;
2108
+ gapRefs: z.ZodArray<z.ZodObject<{
2109
+ id: z.ZodString;
2110
+ revision: z.ZodString;
2111
+ digest: z.ZodObject<{
2112
+ algorithm: z.ZodLiteral<"sha256">;
2113
+ hex: z.ZodString;
2114
+ }, z.core.$strict>;
2115
+ }, z.core.$strict>>;
2116
+ }, z.core.$strict>;
2117
+ review: z.ZodObject<{
2118
+ schemaVersion: z.ZodLiteral<"workflow.plan-review/v1">;
2119
+ ref: z.ZodObject<{
2120
+ id: z.ZodString;
2121
+ revision: z.ZodString;
2122
+ digest: z.ZodObject<{
2123
+ algorithm: z.ZodLiteral<"sha256">;
2124
+ hex: z.ZodString;
2125
+ }, z.core.$strict>;
2126
+ }, z.core.$strict>;
2127
+ scope: z.ZodObject<{
2128
+ ownerId: z.ZodString;
2129
+ tenantId: z.ZodNullable<z.ZodString>;
2130
+ visibility: z.ZodEnum<{
2131
+ public: "public";
2132
+ owner_private: "owner_private";
2133
+ tenant_private: "tenant_private";
2134
+ }>;
2135
+ }, z.core.$strict>;
2136
+ sourcePlanRef: z.ZodObject<{
2137
+ id: z.ZodString;
2138
+ revision: z.ZodString;
2139
+ digest: z.ZodObject<{
2140
+ algorithm: z.ZodLiteral<"sha256">;
2141
+ hex: z.ZodString;
2142
+ }, z.core.$strict>;
2143
+ }, z.core.$strict>;
2144
+ editRevision: z.ZodNumber;
2145
+ decision: z.ZodEnum<{
2146
+ approved: "approved";
2147
+ rejected: "rejected";
2148
+ }>;
2149
+ reviewerActorId: z.ZodString;
2150
+ policyRef: z.ZodObject<{
2151
+ id: z.ZodString;
2152
+ revision: z.ZodString;
2153
+ digest: z.ZodObject<{
2154
+ algorithm: z.ZodLiteral<"sha256">;
2155
+ hex: z.ZodString;
2156
+ }, z.core.$strict>;
2157
+ }, z.core.$strict>;
2158
+ reasonRefs: z.ZodArray<z.ZodObject<{
2159
+ id: z.ZodString;
2160
+ revision: z.ZodString;
2161
+ digest: z.ZodObject<{
2162
+ algorithm: z.ZodLiteral<"sha256">;
2163
+ hex: z.ZodString;
2164
+ }, z.core.$strict>;
2165
+ }, z.core.$strict>>;
2166
+ }, z.core.$strict>;
2167
+ validation: z.ZodObject<{
2168
+ schemaVersion: z.ZodLiteral<"workflow.source-validation/v1">;
2169
+ sourcePlanRef: z.ZodObject<{
2170
+ id: z.ZodString;
2171
+ revision: z.ZodString;
2172
+ digest: z.ZodObject<{
2173
+ algorithm: z.ZodLiteral<"sha256">;
2174
+ hex: z.ZodString;
2175
+ }, z.core.$strict>;
2176
+ }, z.core.$strict>;
2177
+ changeModelRef: z.ZodObject<{
2178
+ id: z.ZodString;
2179
+ revision: z.ZodString;
2180
+ digest: z.ZodObject<{
2181
+ algorithm: z.ZodLiteral<"sha256">;
2182
+ hex: z.ZodString;
2183
+ }, z.core.$strict>;
2184
+ }, z.core.$strict>;
2185
+ revisionMatrixRef: z.ZodObject<{
2186
+ id: z.ZodString;
2187
+ revision: z.ZodString;
2188
+ digest: z.ZodObject<{
2189
+ algorithm: z.ZodLiteral<"sha256">;
2190
+ hex: z.ZodString;
2191
+ }, z.core.$strict>;
2192
+ }, z.core.$strict>;
2193
+ policyRef: z.ZodObject<{
2194
+ id: z.ZodString;
2195
+ revision: z.ZodString;
2196
+ digest: z.ZodObject<{
2197
+ algorithm: z.ZodLiteral<"sha256">;
2198
+ hex: z.ZodString;
2199
+ }, z.core.$strict>;
2200
+ }, z.core.$strict>;
2201
+ verifiedCitationRefs: z.ZodArray<z.ZodObject<{
2202
+ id: z.ZodString;
2203
+ revision: z.ZodString;
2204
+ digest: z.ZodObject<{
2205
+ algorithm: z.ZodLiteral<"sha256">;
2206
+ hex: z.ZodString;
2207
+ }, z.core.$strict>;
2208
+ }, z.core.$strict>>;
2209
+ runnableElementIds: z.ZodArray<z.ZodString>;
2210
+ retainedDiagnosticRefs: z.ZodArray<z.ZodObject<{
2211
+ id: z.ZodString;
2212
+ revision: z.ZodString;
2213
+ digest: z.ZodObject<{
2214
+ algorithm: z.ZodLiteral<"sha256">;
2215
+ hex: z.ZodString;
2216
+ }, z.core.$strict>;
2217
+ }, z.core.$strict>>;
2218
+ ref: z.ZodObject<{
2219
+ id: z.ZodString;
2220
+ revision: z.ZodString;
2221
+ digest: z.ZodObject<{
2222
+ algorithm: z.ZodLiteral<"sha256">;
2223
+ hex: z.ZodString;
2224
+ }, z.core.$strict>;
2225
+ }, z.core.$strict>;
2226
+ scope: z.ZodObject<{
2227
+ ownerId: z.ZodString;
2228
+ tenantId: z.ZodNullable<z.ZodString>;
2229
+ visibility: z.ZodEnum<{
2230
+ public: "public";
2231
+ owner_private: "owner_private";
2232
+ tenant_private: "tenant_private";
2233
+ }>;
2234
+ }, z.core.$strict>;
2235
+ }, z.core.$strict>;
2236
+ storageVersion: z.ZodNumber;
2237
+ projection: z.ZodObject<{
2238
+ id: z.ZodString;
2239
+ scope: z.ZodObject<{
2240
+ ownerId: z.ZodString;
2241
+ tenantId: z.ZodNullable<z.ZodString>;
2242
+ visibility: z.ZodEnum<{
2243
+ public: "public";
2244
+ owner_private: "owner_private";
2245
+ tenant_private: "tenant_private";
2246
+ }>;
2247
+ }, z.core.$strict>;
2248
+ editRevision: z.ZodNumber;
2249
+ sourcePlanRef: z.ZodObject<{
2250
+ id: z.ZodString;
2251
+ revision: z.ZodString;
2252
+ digest: z.ZodObject<{
2253
+ algorithm: z.ZodLiteral<"sha256">;
2254
+ hex: z.ZodString;
2255
+ }, z.core.$strict>;
2256
+ }, z.core.$strict>;
2257
+ currentReviewRef: z.ZodNullable<z.ZodObject<{
2258
+ id: z.ZodString;
2259
+ revision: z.ZodString;
2260
+ digest: z.ZodObject<{
2261
+ algorithm: z.ZodLiteral<"sha256">;
2262
+ hex: z.ZodString;
2263
+ }, z.core.$strict>;
2264
+ }, z.core.$strict>>;
2265
+ }, z.core.$strict>;
2266
+ }, z.core.$strict>;
2267
+ }, z.core.$strict>>>;
2268
+ }, z.core.$strict>>;
2269
+ }, z.core.$strict>;
2270
+ export type LocalScenarioState = z.infer<typeof LocalScenarioState>;
2271
+ export declare function scenarioToken(p: ScenarioProjection): {
2272
+ id: string;
2273
+ scope: {
2274
+ ownerId: string;
2275
+ tenantId: string | null;
2276
+ visibility: "public" | "owner_private" | "tenant_private";
2277
+ };
2278
+ expectedAggregateVersion: number;
2279
+ expectedDefinitionRef: {
2280
+ id: string;
2281
+ revision: string;
2282
+ digest: {
2283
+ algorithm: "sha256";
2284
+ hex: string;
2285
+ };
2286
+ };
2287
+ expectedInvalidationEpoch: number;
2288
+ expectedLatestRoundSequence: number;
2289
+ };
2290
+ export declare function storedDefinition(state: Pick<StoredScenario, 'definitions'>, ref: Ref): ScenarioDefinition;
2291
+ export declare function storedSelection(state: Pick<StoredScenario, 'selections'>, ref: Ref): SelectionManifest;
2292
+ export declare function checkAdmission(state: Pick<StoredScenario, 'definitions' | 'selections'>, admission: QualificationRoundAdmission): void;
2293
+ /** Complete bounded state, including all earlier epochs. A missing record never looks fresh. */
2294
+ export declare function checkLocalScenarioState(raw: unknown, scope: Scope): LocalScenarioState;
2295
+ export declare function appendImmutable<T extends {
2296
+ ref: Ref;
2297
+ }>(documents: T[], document: T): void;