switchboard-cli 0.1.0-alpha.3 → 0.1.0-alpha.4

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 (1557) hide show
  1. package/package.json +1 -3
  2. package/src/autoagent/boundary-check.spec.ts +77 -0
  3. package/src/autoagent/boundary-check.ts +102 -0
  4. package/src/autoagent/loop.ts +327 -0
  5. package/src/autoagent/results.spec.ts +73 -0
  6. package/src/autoagent/results.ts +68 -0
  7. package/src/autoagent/runner.spec.ts +20 -0
  8. package/src/autoagent/runner.ts +92 -0
  9. package/src/autoagent/types.ts +64 -0
  10. package/src/commands/autoagent.ts +108 -0
  11. package/src/index.ts +4 -0
  12. package/node_modules/@switchboard/core/node_modules/zod/LICENSE +0 -21
  13. package/node_modules/@switchboard/core/node_modules/zod/README.md +0 -208
  14. package/node_modules/@switchboard/core/node_modules/zod/index.cjs +0 -33
  15. package/node_modules/@switchboard/core/node_modules/zod/index.d.cts +0 -4
  16. package/node_modules/@switchboard/core/node_modules/zod/index.d.ts +0 -4
  17. package/node_modules/@switchboard/core/node_modules/zod/index.js +0 -4
  18. package/node_modules/@switchboard/core/node_modules/zod/package.json +0 -118
  19. package/node_modules/@switchboard/core/node_modules/zod/src/index.ts +0 -4
  20. package/node_modules/@switchboard/core/node_modules/zod/src/v3/ZodError.ts +0 -330
  21. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  22. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  23. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  24. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  25. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  26. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  27. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  28. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  29. package/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  30. package/node_modules/@switchboard/core/node_modules/zod/src/v3/errors.ts +0 -13
  31. package/node_modules/@switchboard/core/node_modules/zod/src/v3/external.ts +0 -6
  32. package/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  33. package/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  34. package/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  35. package/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  36. package/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  37. package/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/util.ts +0 -224
  38. package/node_modules/@switchboard/core/node_modules/zod/src/v3/index.ts +0 -4
  39. package/node_modules/@switchboard/core/node_modules/zod/src/v3/locales/en.ts +0 -124
  40. package/node_modules/@switchboard/core/node_modules/zod/src/v3/standard-schema.ts +0 -113
  41. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  42. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  43. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  44. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  45. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  46. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  47. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  48. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  49. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  50. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  51. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  52. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  53. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  54. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  55. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  56. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  57. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  58. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  59. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  60. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  61. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  62. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  63. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  64. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  65. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  66. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  67. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  68. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  69. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  70. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  71. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  72. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  73. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  74. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  75. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  76. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  77. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  78. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  79. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  80. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  81. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  82. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  83. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  84. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  85. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  86. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  87. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  88. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  89. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  90. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  91. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  92. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  93. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  94. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  95. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  96. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  97. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  98. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  99. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  100. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  101. package/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  102. package/node_modules/@switchboard/core/node_modules/zod/src/v3/types.ts +0 -5136
  103. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/checks.ts +0 -30
  104. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  105. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/compat.ts +0 -66
  106. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/errors.ts +0 -75
  107. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/external.ts +0 -50
  108. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/index.ts +0 -5
  109. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/iso.ts +0 -90
  110. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/parse.ts +0 -33
  111. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  112. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  113. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  114. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  115. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  116. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  117. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  118. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  119. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  120. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  121. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  122. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  123. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  124. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  125. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  126. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  127. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  128. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  129. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  130. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  131. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  132. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  133. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  134. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  135. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  136. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  137. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  138. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  139. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  140. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  141. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  142. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  143. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  144. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  145. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  146. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  147. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  148. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  149. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  150. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  151. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  152. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  153. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  154. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  155. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  156. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  157. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  158. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  159. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  160. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  161. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  162. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  163. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  164. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  165. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  166. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  167. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  168. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  169. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  170. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  171. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  172. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  173. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  174. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  175. package/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  176. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/api.ts +0 -1594
  177. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/checks.ts +0 -1283
  178. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/config.ts +0 -15
  179. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/core.ts +0 -134
  180. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/doc.ts +0 -44
  181. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/errors.ts +0 -424
  182. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/function.ts +0 -176
  183. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/index.ts +0 -15
  184. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  185. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/parse.ts +0 -94
  186. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/regexes.ts +0 -135
  187. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/registries.ts +0 -96
  188. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  189. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  190. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  191. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  192. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  193. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  194. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  195. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  196. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/util.ts +0 -775
  197. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/versions.ts +0 -5
  198. package/node_modules/@switchboard/core/node_modules/zod/src/v4/core/zsf.ts +0 -323
  199. package/node_modules/@switchboard/core/node_modules/zod/src/v4/index.ts +0 -4
  200. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ar.ts +0 -125
  201. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/az.ts +0 -121
  202. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/be.ts +0 -184
  203. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ca.ts +0 -127
  204. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/cs.ts +0 -142
  205. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/de.ts +0 -124
  206. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/en.ts +0 -127
  207. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/eo.ts +0 -125
  208. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/es.ts +0 -125
  209. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fa.ts +0 -134
  210. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fi.ts +0 -131
  211. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  212. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fr.ts +0 -124
  213. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/he.ts +0 -125
  214. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/hu.ts +0 -126
  215. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/id.ts +0 -125
  216. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/index.ts +0 -39
  217. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/it.ts +0 -125
  218. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ja.ts +0 -122
  219. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/kh.ts +0 -126
  220. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ko.ts +0 -131
  221. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/mk.ts +0 -127
  222. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ms.ts +0 -124
  223. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/nl.ts +0 -126
  224. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/no.ts +0 -124
  225. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ota.ts +0 -125
  226. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/pl.ts +0 -126
  227. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ps.ts +0 -133
  228. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/pt.ts +0 -123
  229. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ru.ts +0 -184
  230. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/sl.ts +0 -126
  231. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/sv.ts +0 -127
  232. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ta.ts +0 -125
  233. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/th.ts +0 -126
  234. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/tr.ts +0 -121
  235. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ua.ts +0 -126
  236. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ur.ts +0 -126
  237. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/vi.ts +0 -125
  238. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  239. package/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  240. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/checks.ts +0 -32
  241. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  242. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/external.ts +0 -40
  243. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/index.ts +0 -3
  244. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/iso.ts +0 -62
  245. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/parse.ts +0 -1
  246. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  247. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  248. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  249. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  250. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  251. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  252. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  253. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  254. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  255. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  256. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  257. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  258. package/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  259. package/node_modules/@switchboard/core/node_modules/zod/src/v4-mini/index.ts +0 -1
  260. package/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.cjs +0 -138
  261. package/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.d.cts +0 -164
  262. package/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.d.ts +0 -164
  263. package/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.js +0 -133
  264. package/node_modules/@switchboard/core/node_modules/zod/v3/errors.cjs +0 -17
  265. package/node_modules/@switchboard/core/node_modules/zod/v3/errors.d.cts +0 -5
  266. package/node_modules/@switchboard/core/node_modules/zod/v3/errors.d.ts +0 -5
  267. package/node_modules/@switchboard/core/node_modules/zod/v3/errors.js +0 -9
  268. package/node_modules/@switchboard/core/node_modules/zod/v3/external.cjs +0 -22
  269. package/node_modules/@switchboard/core/node_modules/zod/v3/external.d.cts +0 -6
  270. package/node_modules/@switchboard/core/node_modules/zod/v3/external.d.ts +0 -6
  271. package/node_modules/@switchboard/core/node_modules/zod/v3/external.js +0 -6
  272. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  273. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  274. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  275. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  276. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  277. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  278. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  279. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  280. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  281. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  282. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  283. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  284. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  285. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  286. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  287. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  288. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  289. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  290. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  291. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  292. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.cjs +0 -137
  293. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.d.cts +0 -85
  294. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.d.ts +0 -85
  295. package/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.js +0 -133
  296. package/node_modules/@switchboard/core/node_modules/zod/v3/index.cjs +0 -33
  297. package/node_modules/@switchboard/core/node_modules/zod/v3/index.d.cts +0 -4
  298. package/node_modules/@switchboard/core/node_modules/zod/v3/index.d.ts +0 -4
  299. package/node_modules/@switchboard/core/node_modules/zod/v3/index.js +0 -4
  300. package/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.cjs +0 -111
  301. package/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.d.cts +0 -3
  302. package/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.d.ts +0 -3
  303. package/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.js +0 -109
  304. package/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.cjs +0 -2
  305. package/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.d.cts +0 -102
  306. package/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.d.ts +0 -102
  307. package/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.js +0 -1
  308. package/node_modules/@switchboard/core/node_modules/zod/v3/types.cjs +0 -3775
  309. package/node_modules/@switchboard/core/node_modules/zod/v3/types.d.cts +0 -1031
  310. package/node_modules/@switchboard/core/node_modules/zod/v3/types.d.ts +0 -1031
  311. package/node_modules/@switchboard/core/node_modules/zod/v3/types.js +0 -3693
  312. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.cjs +0 -32
  313. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.d.cts +0 -1
  314. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.d.ts +0 -1
  315. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.js +0 -1
  316. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.cjs +0 -47
  317. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  318. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  319. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.js +0 -17
  320. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.cjs +0 -57
  321. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.d.cts +0 -46
  322. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.d.ts +0 -46
  323. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.js +0 -27
  324. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.cjs +0 -67
  325. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.d.cts +0 -30
  326. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.d.ts +0 -30
  327. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.js +0 -41
  328. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.cjs +0 -70
  329. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.d.cts +0 -13
  330. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.d.ts +0 -13
  331. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.js +0 -18
  332. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.cjs +0 -33
  333. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.d.cts +0 -4
  334. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.d.ts +0 -4
  335. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.js +0 -4
  336. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.cjs +0 -60
  337. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.d.cts +0 -22
  338. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.d.ts +0 -22
  339. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.js +0 -30
  340. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.cjs +0 -32
  341. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.d.cts +0 -23
  342. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.d.ts +0 -23
  343. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.js +0 -6
  344. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  345. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  346. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  347. package/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.js +0 -1006
  348. package/node_modules/@switchboard/core/node_modules/zod/v4/core/api.cjs +0 -1039
  349. package/node_modules/@switchboard/core/node_modules/zod/v4/core/api.d.cts +0 -284
  350. package/node_modules/@switchboard/core/node_modules/zod/v4/core/api.d.ts +0 -284
  351. package/node_modules/@switchboard/core/node_modules/zod/v4/core/api.js +0 -906
  352. package/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.cjs +0 -591
  353. package/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.d.cts +0 -278
  354. package/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.d.ts +0 -278
  355. package/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.js +0 -565
  356. package/node_modules/@switchboard/core/node_modules/zod/v4/core/core.cjs +0 -67
  357. package/node_modules/@switchboard/core/node_modules/zod/v4/core/core.d.cts +0 -49
  358. package/node_modules/@switchboard/core/node_modules/zod/v4/core/core.d.ts +0 -49
  359. package/node_modules/@switchboard/core/node_modules/zod/v4/core/core.js +0 -61
  360. package/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.cjs +0 -39
  361. package/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.d.cts +0 -14
  362. package/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.d.ts +0 -14
  363. package/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.js +0 -35
  364. package/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.cjs +0 -226
  365. package/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.d.cts +0 -208
  366. package/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.d.ts +0 -208
  367. package/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.js +0 -195
  368. package/node_modules/@switchboard/core/node_modules/zod/v4/core/function.cjs +0 -102
  369. package/node_modules/@switchboard/core/node_modules/zod/v4/core/function.d.cts +0 -52
  370. package/node_modules/@switchboard/core/node_modules/zod/v4/core/function.d.ts +0 -52
  371. package/node_modules/@switchboard/core/node_modules/zod/v4/core/function.js +0 -75
  372. package/node_modules/@switchboard/core/node_modules/zod/v4/core/index.cjs +0 -44
  373. package/node_modules/@switchboard/core/node_modules/zod/v4/core/index.d.cts +0 -15
  374. package/node_modules/@switchboard/core/node_modules/zod/v4/core/index.d.ts +0 -15
  375. package/node_modules/@switchboard/core/node_modules/zod/v4/core/index.js +0 -15
  376. package/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.cjs +0 -2
  377. package/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  378. package/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  379. package/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.js +0 -1
  380. package/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.cjs +0 -87
  381. package/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.d.cts +0 -25
  382. package/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.d.ts +0 -25
  383. package/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.js +0 -57
  384. package/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.cjs +0 -103
  385. package/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.d.cts +0 -62
  386. package/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.d.ts +0 -62
  387. package/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.js +0 -95
  388. package/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.cjs +0 -56
  389. package/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.d.cts +0 -35
  390. package/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.d.ts +0 -35
  391. package/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.js +0 -51
  392. package/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.cjs +0 -1748
  393. package/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  394. package/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  395. package/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.js +0 -1717
  396. package/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  397. package/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  398. package/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  399. package/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.js +0 -1
  400. package/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  401. package/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  402. package/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  403. package/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.js +0 -849
  404. package/node_modules/@switchboard/core/node_modules/zod/v4/core/util.cjs +0 -539
  405. package/node_modules/@switchboard/core/node_modules/zod/v4/core/util.d.cts +0 -183
  406. package/node_modules/@switchboard/core/node_modules/zod/v4/core/util.d.ts +0 -183
  407. package/node_modules/@switchboard/core/node_modules/zod/v4/core/util.js +0 -493
  408. package/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.cjs +0 -8
  409. package/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.d.cts +0 -5
  410. package/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.d.ts +0 -5
  411. package/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.js +0 -5
  412. package/node_modules/@switchboard/core/node_modules/zod/v4/index.cjs +0 -22
  413. package/node_modules/@switchboard/core/node_modules/zod/v4/index.d.cts +0 -3
  414. package/node_modules/@switchboard/core/node_modules/zod/v4/index.d.ts +0 -3
  415. package/node_modules/@switchboard/core/node_modules/zod/v4/index.js +0 -3
  416. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.cjs +0 -142
  417. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.d.cts +0 -4
  418. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.d.ts +0 -4
  419. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.js +0 -116
  420. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.cjs +0 -141
  421. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.d.cts +0 -4
  422. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.d.ts +0 -4
  423. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.js +0 -115
  424. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.cjs +0 -190
  425. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.d.cts +0 -4
  426. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.d.ts +0 -4
  427. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.js +0 -164
  428. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.cjs +0 -144
  429. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.d.cts +0 -4
  430. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.d.ts +0 -4
  431. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.js +0 -118
  432. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.cjs +0 -161
  433. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.d.cts +0 -4
  434. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.d.ts +0 -4
  435. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.js +0 -135
  436. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.cjs +0 -142
  437. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.d.cts +0 -4
  438. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.d.ts +0 -4
  439. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.js +0 -116
  440. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.cjs +0 -145
  441. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.d.cts +0 -5
  442. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.d.ts +0 -5
  443. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.js +0 -117
  444. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.cjs +0 -144
  445. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.d.cts +0 -5
  446. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.d.ts +0 -5
  447. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.js +0 -116
  448. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.cjs +0 -143
  449. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.d.cts +0 -4
  450. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.d.ts +0 -4
  451. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.js +0 -117
  452. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.cjs +0 -148
  453. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.d.cts +0 -4
  454. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.d.ts +0 -4
  455. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.js +0 -122
  456. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.cjs +0 -148
  457. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.d.cts +0 -4
  458. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.d.ts +0 -4
  459. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.js +0 -122
  460. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  461. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  462. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  463. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.js +0 -117
  464. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.cjs +0 -142
  465. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.d.cts +0 -4
  466. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.d.ts +0 -4
  467. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.js +0 -116
  468. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.cjs +0 -143
  469. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.d.cts +0 -4
  470. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.d.ts +0 -4
  471. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.js +0 -117
  472. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.cjs +0 -143
  473. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.d.cts +0 -4
  474. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.d.ts +0 -4
  475. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.js +0 -117
  476. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.cjs +0 -142
  477. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.d.cts +0 -4
  478. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.d.ts +0 -4
  479. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.js +0 -116
  480. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.cjs +0 -84
  481. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.d.cts +0 -39
  482. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.d.ts +0 -39
  483. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.js +0 -39
  484. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.cjs +0 -143
  485. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.d.cts +0 -4
  486. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.d.ts +0 -4
  487. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.js +0 -117
  488. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.cjs +0 -141
  489. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.d.cts +0 -4
  490. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.d.ts +0 -4
  491. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.js +0 -115
  492. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.cjs +0 -143
  493. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.d.cts +0 -4
  494. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.d.ts +0 -4
  495. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.js +0 -117
  496. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.cjs +0 -147
  497. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.d.cts +0 -4
  498. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.d.ts +0 -4
  499. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.js +0 -121
  500. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.cjs +0 -144
  501. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.d.cts +0 -4
  502. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.d.ts +0 -4
  503. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.js +0 -118
  504. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.cjs +0 -142
  505. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.d.cts +0 -4
  506. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.d.ts +0 -4
  507. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.js +0 -116
  508. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.cjs +0 -143
  509. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.d.cts +0 -4
  510. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.d.ts +0 -4
  511. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.js +0 -117
  512. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.cjs +0 -142
  513. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.d.cts +0 -4
  514. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.d.ts +0 -4
  515. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.js +0 -116
  516. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.cjs +0 -143
  517. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.d.cts +0 -4
  518. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.d.ts +0 -4
  519. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.js +0 -117
  520. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.cjs +0 -143
  521. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.d.cts +0 -4
  522. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.d.ts +0 -4
  523. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.js +0 -117
  524. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.cjs +0 -148
  525. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.d.cts +0 -4
  526. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.d.ts +0 -4
  527. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.js +0 -122
  528. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.cjs +0 -142
  529. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.d.cts +0 -4
  530. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.d.ts +0 -4
  531. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.js +0 -116
  532. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.cjs +0 -190
  533. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.d.cts +0 -4
  534. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.d.ts +0 -4
  535. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.js +0 -164
  536. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.cjs +0 -143
  537. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.d.cts +0 -4
  538. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.d.ts +0 -4
  539. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.js +0 -117
  540. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.cjs +0 -144
  541. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.d.cts +0 -4
  542. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.d.ts +0 -4
  543. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.js +0 -118
  544. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.cjs +0 -143
  545. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.d.cts +0 -4
  546. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.d.ts +0 -4
  547. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.js +0 -117
  548. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.cjs +0 -143
  549. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.d.cts +0 -4
  550. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.d.ts +0 -4
  551. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.js +0 -117
  552. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.cjs +0 -143
  553. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.d.cts +0 -5
  554. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.d.ts +0 -5
  555. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.js +0 -115
  556. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.cjs +0 -143
  557. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.d.cts +0 -4
  558. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.d.ts +0 -4
  559. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.js +0 -117
  560. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.cjs +0 -143
  561. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.d.cts +0 -4
  562. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.d.ts +0 -4
  563. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.js +0 -117
  564. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.cjs +0 -142
  565. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.d.cts +0 -4
  566. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.d.ts +0 -4
  567. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.js +0 -116
  568. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  569. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  570. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  571. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.js +0 -116
  572. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  573. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  574. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  575. package/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.js +0 -117
  576. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.cjs +0 -34
  577. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.d.cts +0 -1
  578. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.d.ts +0 -1
  579. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.js +0 -1
  580. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.cjs +0 -47
  581. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  582. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  583. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.js +0 -17
  584. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.cjs +0 -62
  585. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.d.cts +0 -11
  586. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.d.ts +0 -11
  587. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.js +0 -13
  588. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.cjs +0 -32
  589. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.d.cts +0 -3
  590. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.d.ts +0 -3
  591. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.js +0 -3
  592. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.cjs +0 -60
  593. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.d.cts +0 -22
  594. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.d.ts +0 -22
  595. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.js +0 -30
  596. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.cjs +0 -8
  597. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.d.cts +0 -1
  598. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.d.ts +0 -1
  599. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.js +0 -1
  600. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.cjs +0 -839
  601. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  602. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  603. package/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.js +0 -732
  604. package/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.cjs +0 -17
  605. package/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.d.cts +0 -1
  606. package/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.d.ts +0 -1
  607. package/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.js +0 -1
  608. package/node_modules/@switchboard/core/package.json +0 -20
  609. package/node_modules/@switchboard/core/src/activation.ts +0 -285
  610. package/node_modules/@switchboard/core/src/audited-receipt.ts +0 -403
  611. package/node_modules/@switchboard/core/src/budget-ledger.ts +0 -223
  612. package/node_modules/@switchboard/core/src/build-map.ts +0 -327
  613. package/node_modules/@switchboard/core/src/canonical-delta.ts +0 -754
  614. package/node_modules/@switchboard/core/src/canonical-pack.ts +0 -400
  615. package/node_modules/@switchboard/core/src/canonical.ts +0 -248
  616. package/node_modules/@switchboard/core/src/claim-spread.ts +0 -219
  617. package/node_modules/@switchboard/core/src/classifier.ts +0 -207
  618. package/node_modules/@switchboard/core/src/claude-executor.ts +0 -37
  619. package/node_modules/@switchboard/core/src/codex-audit.ts +0 -301
  620. package/node_modules/@switchboard/core/src/codex-executor.ts +0 -22
  621. package/node_modules/@switchboard/core/src/compiler-adapter.ts +0 -284
  622. package/node_modules/@switchboard/core/src/compiler.ts +0 -183
  623. package/node_modules/@switchboard/core/src/dispatch-formatter.ts +0 -348
  624. package/node_modules/@switchboard/core/src/dispatch-receipt.ts +0 -135
  625. package/node_modules/@switchboard/core/src/dossier.ts +0 -229
  626. package/node_modules/@switchboard/core/src/eval-scope.ts +0 -208
  627. package/node_modules/@switchboard/core/src/evaluation-lane.ts +0 -584
  628. package/node_modules/@switchboard/core/src/execution-trace.ts +0 -455
  629. package/node_modules/@switchboard/core/src/gate-state.ts +0 -296
  630. package/node_modules/@switchboard/core/src/gates.ts +0 -198
  631. package/node_modules/@switchboard/core/src/governance-envelope.ts +0 -317
  632. package/node_modules/@switchboard/core/src/handoff-v2.ts +0 -221
  633. package/node_modules/@switchboard/core/src/handoff-visibility.ts +0 -204
  634. package/node_modules/@switchboard/core/src/handoff.ts +0 -87
  635. package/node_modules/@switchboard/core/src/harness-compiler.ts +0 -246
  636. package/node_modules/@switchboard/core/src/index.ts +0 -57
  637. package/node_modules/@switchboard/core/src/ingest.ts +0 -128
  638. package/node_modules/@switchboard/core/src/launch-block-payload.ts +0 -51
  639. package/node_modules/@switchboard/core/src/ledger.ts +0 -313
  640. package/node_modules/@switchboard/core/src/live-event-bus.ts +0 -37
  641. package/node_modules/@switchboard/core/src/live-event.ts +0 -238
  642. package/node_modules/@switchboard/core/src/lock-readiness.ts +0 -242
  643. package/node_modules/@switchboard/core/src/loop-compiler.ts +0 -152
  644. package/node_modules/@switchboard/core/src/loop-validator.ts +0 -55
  645. package/node_modules/@switchboard/core/src/meta-harness.ts +0 -411
  646. package/node_modules/@switchboard/core/src/overflow-manifest.ts +0 -220
  647. package/node_modules/@switchboard/core/src/packet-integrity.ts +0 -302
  648. package/node_modules/@switchboard/core/src/parallel-conflict.ts +0 -268
  649. package/node_modules/@switchboard/core/src/preflight.ts +0 -181
  650. package/node_modules/@switchboard/core/src/pressure-assessment.ts +0 -265
  651. package/node_modules/@switchboard/core/src/product-objects.ts +0 -99
  652. package/node_modules/@switchboard/core/src/project-charter.ts +0 -193
  653. package/node_modules/@switchboard/core/src/proof-capture.ts +0 -319
  654. package/node_modules/@switchboard/core/src/provider-registry.ts +0 -163
  655. package/node_modules/@switchboard/core/src/receipt-v2.ts +0 -904
  656. package/node_modules/@switchboard/core/src/reconcile-matrix.ts +0 -154
  657. package/node_modules/@switchboard/core/src/reconcile-v2.ts +0 -272
  658. package/node_modules/@switchboard/core/src/reconcile.ts +0 -450
  659. package/node_modules/@switchboard/core/src/return-normalizer.ts +0 -226
  660. package/node_modules/@switchboard/core/src/router.ts +0 -207
  661. package/node_modules/@switchboard/core/src/routing-v2.ts +0 -214
  662. package/node_modules/@switchboard/core/src/run-snapshot.ts +0 -405
  663. package/node_modules/@switchboard/core/src/surface-playbooks.ts +0 -36
  664. package/node_modules/@switchboard/core/src/surface-profiles.ts +0 -166
  665. package/node_modules/@switchboard/core/src/synthesis-provider.ts +0 -1114
  666. package/node_modules/@switchboard/core/src/types.ts +0 -3054
  667. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/LICENSE +0 -21
  668. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/README.md +0 -208
  669. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/index.cjs +0 -33
  670. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/index.d.cts +0 -4
  671. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/index.d.ts +0 -4
  672. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/index.js +0 -4
  673. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/package.json +0 -118
  674. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/index.ts +0 -4
  675. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/ZodError.ts +0 -330
  676. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  677. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  678. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  679. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  680. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  681. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  682. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  683. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  684. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  685. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/errors.ts +0 -13
  686. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/external.ts +0 -6
  687. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  688. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  689. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  690. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  691. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  692. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/helpers/util.ts +0 -224
  693. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/index.ts +0 -4
  694. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/locales/en.ts +0 -124
  695. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/standard-schema.ts +0 -113
  696. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  697. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  698. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  699. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  700. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  701. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  702. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  703. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  704. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  705. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  706. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  707. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  708. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  709. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  710. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  711. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  712. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  713. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  714. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  715. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  716. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  717. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  718. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  719. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  720. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  721. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  722. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  723. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  724. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  725. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  726. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  727. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  728. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  729. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  730. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  731. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  732. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  733. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  734. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  735. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  736. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  737. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  738. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  739. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  740. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  741. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  742. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  743. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  744. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  745. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  746. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  747. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  748. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  749. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  750. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  751. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  752. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  753. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  754. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  755. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  756. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  757. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v3/types.ts +0 -5136
  758. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/checks.ts +0 -30
  759. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  760. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/compat.ts +0 -66
  761. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/errors.ts +0 -75
  762. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/external.ts +0 -50
  763. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/index.ts +0 -5
  764. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/iso.ts +0 -90
  765. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/parse.ts +0 -33
  766. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  767. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  768. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  769. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  770. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  771. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  772. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  773. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  774. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  775. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  776. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  777. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  778. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  779. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  780. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  781. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  782. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  783. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  784. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  785. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  786. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  787. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  788. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  789. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  790. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  791. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  792. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  793. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  794. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  795. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  796. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  797. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  798. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  799. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  800. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  801. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  802. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  803. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  804. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  805. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  806. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  807. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  808. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  809. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  810. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  811. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  812. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  813. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  814. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  815. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  816. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  817. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  818. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  819. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  820. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  821. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  822. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  823. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  824. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  825. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  826. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  827. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  828. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  829. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  830. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  831. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/api.ts +0 -1594
  832. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/checks.ts +0 -1283
  833. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/config.ts +0 -15
  834. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/core.ts +0 -134
  835. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/doc.ts +0 -44
  836. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/errors.ts +0 -424
  837. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/function.ts +0 -176
  838. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/index.ts +0 -15
  839. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  840. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/parse.ts +0 -94
  841. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/regexes.ts +0 -135
  842. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/registries.ts +0 -96
  843. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  844. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  845. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  846. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  847. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  848. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  849. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  850. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  851. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/util.ts +0 -775
  852. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/versions.ts +0 -5
  853. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/core/zsf.ts +0 -323
  854. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/index.ts +0 -4
  855. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ar.ts +0 -125
  856. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/az.ts +0 -121
  857. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/be.ts +0 -184
  858. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ca.ts +0 -127
  859. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/cs.ts +0 -142
  860. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/de.ts +0 -124
  861. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/en.ts +0 -127
  862. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/eo.ts +0 -125
  863. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/es.ts +0 -125
  864. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fa.ts +0 -134
  865. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fi.ts +0 -131
  866. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  867. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/fr.ts +0 -124
  868. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/he.ts +0 -125
  869. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/hu.ts +0 -126
  870. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/id.ts +0 -125
  871. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/index.ts +0 -39
  872. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/it.ts +0 -125
  873. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ja.ts +0 -122
  874. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/kh.ts +0 -126
  875. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ko.ts +0 -131
  876. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/mk.ts +0 -127
  877. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ms.ts +0 -124
  878. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/nl.ts +0 -126
  879. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/no.ts +0 -124
  880. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ota.ts +0 -125
  881. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/pl.ts +0 -126
  882. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ps.ts +0 -133
  883. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/pt.ts +0 -123
  884. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ru.ts +0 -184
  885. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/sl.ts +0 -126
  886. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/sv.ts +0 -127
  887. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ta.ts +0 -125
  888. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/th.ts +0 -126
  889. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/tr.ts +0 -121
  890. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ua.ts +0 -126
  891. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/ur.ts +0 -126
  892. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/vi.ts +0 -125
  893. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  894. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  895. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/checks.ts +0 -32
  896. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  897. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/external.ts +0 -40
  898. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/index.ts +0 -3
  899. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/iso.ts +0 -62
  900. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/parse.ts +0 -1
  901. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  902. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  903. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  904. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  905. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  906. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  907. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  908. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  909. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  910. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  911. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  912. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  913. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  914. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/src/v4-mini/index.ts +0 -1
  915. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.cjs +0 -138
  916. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.d.cts +0 -164
  917. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.d.ts +0 -164
  918. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/ZodError.js +0 -133
  919. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/errors.cjs +0 -17
  920. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/errors.d.cts +0 -5
  921. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/errors.d.ts +0 -5
  922. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/errors.js +0 -9
  923. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/external.cjs +0 -22
  924. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/external.d.cts +0 -6
  925. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/external.d.ts +0 -6
  926. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/external.js +0 -6
  927. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  928. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  929. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  930. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  931. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  932. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  933. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  934. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  935. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  936. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  937. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  938. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  939. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  940. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  941. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  942. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  943. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  944. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  945. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  946. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  947. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.cjs +0 -137
  948. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.d.cts +0 -85
  949. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.d.ts +0 -85
  950. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/helpers/util.js +0 -133
  951. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/index.cjs +0 -33
  952. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/index.d.cts +0 -4
  953. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/index.d.ts +0 -4
  954. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/index.js +0 -4
  955. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.cjs +0 -111
  956. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.d.cts +0 -3
  957. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.d.ts +0 -3
  958. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/locales/en.js +0 -109
  959. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.cjs +0 -2
  960. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.d.cts +0 -102
  961. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.d.ts +0 -102
  962. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/standard-schema.js +0 -1
  963. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/types.cjs +0 -3775
  964. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/types.d.cts +0 -1031
  965. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/types.d.ts +0 -1031
  966. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v3/types.js +0 -3693
  967. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.cjs +0 -32
  968. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.d.cts +0 -1
  969. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.d.ts +0 -1
  970. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/checks.js +0 -1
  971. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.cjs +0 -47
  972. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  973. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  974. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/coerce.js +0 -17
  975. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.cjs +0 -57
  976. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.d.cts +0 -46
  977. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.d.ts +0 -46
  978. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/compat.js +0 -27
  979. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.cjs +0 -67
  980. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.d.cts +0 -30
  981. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.d.ts +0 -30
  982. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/errors.js +0 -41
  983. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.cjs +0 -70
  984. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.d.cts +0 -13
  985. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.d.ts +0 -13
  986. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/external.js +0 -18
  987. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.cjs +0 -33
  988. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.d.cts +0 -4
  989. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.d.ts +0 -4
  990. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/index.js +0 -4
  991. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.cjs +0 -60
  992. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.d.cts +0 -22
  993. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.d.ts +0 -22
  994. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/iso.js +0 -30
  995. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.cjs +0 -32
  996. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.d.cts +0 -23
  997. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.d.ts +0 -23
  998. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/parse.js +0 -6
  999. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  1000. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  1001. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  1002. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/classic/schemas.js +0 -1006
  1003. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/api.cjs +0 -1039
  1004. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/api.d.cts +0 -284
  1005. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/api.d.ts +0 -284
  1006. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/api.js +0 -906
  1007. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.cjs +0 -591
  1008. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.d.cts +0 -278
  1009. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.d.ts +0 -278
  1010. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/checks.js +0 -565
  1011. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/core.cjs +0 -67
  1012. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/core.d.cts +0 -49
  1013. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/core.d.ts +0 -49
  1014. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/core.js +0 -61
  1015. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.cjs +0 -39
  1016. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.d.cts +0 -14
  1017. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.d.ts +0 -14
  1018. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/doc.js +0 -35
  1019. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.cjs +0 -226
  1020. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.d.cts +0 -208
  1021. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.d.ts +0 -208
  1022. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/errors.js +0 -195
  1023. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/function.cjs +0 -102
  1024. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/function.d.cts +0 -52
  1025. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/function.d.ts +0 -52
  1026. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/function.js +0 -75
  1027. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/index.cjs +0 -44
  1028. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/index.d.cts +0 -15
  1029. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/index.d.ts +0 -15
  1030. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/index.js +0 -15
  1031. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.cjs +0 -2
  1032. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  1033. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  1034. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/json-schema.js +0 -1
  1035. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.cjs +0 -87
  1036. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.d.cts +0 -25
  1037. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.d.ts +0 -25
  1038. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/parse.js +0 -57
  1039. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.cjs +0 -103
  1040. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.d.cts +0 -62
  1041. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.d.ts +0 -62
  1042. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/regexes.js +0 -95
  1043. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.cjs +0 -56
  1044. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.d.cts +0 -35
  1045. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.d.ts +0 -35
  1046. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/registries.js +0 -51
  1047. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.cjs +0 -1748
  1048. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  1049. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  1050. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/schemas.js +0 -1717
  1051. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  1052. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  1053. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  1054. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/standard-schema.js +0 -1
  1055. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  1056. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  1057. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  1058. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/to-json-schema.js +0 -849
  1059. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/util.cjs +0 -539
  1060. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/util.d.cts +0 -183
  1061. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/util.d.ts +0 -183
  1062. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/util.js +0 -493
  1063. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.cjs +0 -8
  1064. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.d.cts +0 -5
  1065. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.d.ts +0 -5
  1066. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/core/versions.js +0 -5
  1067. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/index.cjs +0 -22
  1068. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/index.d.cts +0 -3
  1069. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/index.d.ts +0 -3
  1070. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/index.js +0 -3
  1071. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.cjs +0 -142
  1072. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.d.cts +0 -4
  1073. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.d.ts +0 -4
  1074. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ar.js +0 -116
  1075. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.cjs +0 -141
  1076. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.d.cts +0 -4
  1077. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.d.ts +0 -4
  1078. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/az.js +0 -115
  1079. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.cjs +0 -190
  1080. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.d.cts +0 -4
  1081. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.d.ts +0 -4
  1082. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/be.js +0 -164
  1083. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.cjs +0 -144
  1084. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.d.cts +0 -4
  1085. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1086. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ca.js +0 -118
  1087. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.cjs +0 -161
  1088. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.d.cts +0 -4
  1089. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1090. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/cs.js +0 -135
  1091. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.cjs +0 -142
  1092. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.d.cts +0 -4
  1093. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.d.ts +0 -4
  1094. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/de.js +0 -116
  1095. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.cjs +0 -145
  1096. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.d.cts +0 -5
  1097. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.d.ts +0 -5
  1098. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/en.js +0 -117
  1099. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.cjs +0 -144
  1100. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1101. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.d.ts +0 -5
  1102. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/eo.js +0 -116
  1103. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.cjs +0 -143
  1104. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.d.cts +0 -4
  1105. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.d.ts +0 -4
  1106. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/es.js +0 -117
  1107. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.cjs +0 -148
  1108. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.d.cts +0 -4
  1109. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1110. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fa.js +0 -122
  1111. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.cjs +0 -148
  1112. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.d.cts +0 -4
  1113. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1114. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fi.js +0 -122
  1115. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  1116. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  1117. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1118. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr-CA.js +0 -117
  1119. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.cjs +0 -142
  1120. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.d.cts +0 -4
  1121. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1122. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/fr.js +0 -116
  1123. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.cjs +0 -143
  1124. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.d.cts +0 -4
  1125. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.d.ts +0 -4
  1126. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/he.js +0 -117
  1127. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.cjs +0 -143
  1128. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.d.cts +0 -4
  1129. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1130. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/hu.js +0 -117
  1131. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.cjs +0 -142
  1132. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.d.cts +0 -4
  1133. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.d.ts +0 -4
  1134. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/id.js +0 -116
  1135. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.cjs +0 -84
  1136. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.d.cts +0 -39
  1137. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.d.ts +0 -39
  1138. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/index.js +0 -39
  1139. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.cjs +0 -143
  1140. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.d.cts +0 -4
  1141. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.d.ts +0 -4
  1142. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/it.js +0 -117
  1143. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.cjs +0 -141
  1144. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.d.cts +0 -4
  1145. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1146. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ja.js +0 -115
  1147. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.cjs +0 -143
  1148. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.d.cts +0 -4
  1149. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.d.ts +0 -4
  1150. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/kh.js +0 -117
  1151. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.cjs +0 -147
  1152. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.d.cts +0 -4
  1153. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1154. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ko.js +0 -121
  1155. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.cjs +0 -144
  1156. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.d.cts +0 -4
  1157. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1158. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/mk.js +0 -118
  1159. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.cjs +0 -142
  1160. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.d.cts +0 -4
  1161. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1162. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ms.js +0 -116
  1163. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.cjs +0 -143
  1164. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.d.cts +0 -4
  1165. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1166. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/nl.js +0 -117
  1167. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.cjs +0 -142
  1168. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.d.cts +0 -4
  1169. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.d.ts +0 -4
  1170. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/no.js +0 -116
  1171. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.cjs +0 -143
  1172. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.d.cts +0 -4
  1173. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1174. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ota.js +0 -117
  1175. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.cjs +0 -143
  1176. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.d.cts +0 -4
  1177. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1178. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pl.js +0 -117
  1179. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.cjs +0 -148
  1180. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.d.cts +0 -4
  1181. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1182. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ps.js +0 -122
  1183. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.cjs +0 -142
  1184. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.d.cts +0 -4
  1185. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1186. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/pt.js +0 -116
  1187. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.cjs +0 -190
  1188. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.d.cts +0 -4
  1189. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1190. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ru.js +0 -164
  1191. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.cjs +0 -143
  1192. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.d.cts +0 -4
  1193. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1194. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sl.js +0 -117
  1195. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.cjs +0 -144
  1196. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.d.cts +0 -4
  1197. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1198. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/sv.js +0 -118
  1199. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.cjs +0 -143
  1200. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.d.cts +0 -4
  1201. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1202. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ta.js +0 -117
  1203. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.cjs +0 -143
  1204. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.d.cts +0 -4
  1205. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.d.ts +0 -4
  1206. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/th.js +0 -117
  1207. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.cjs +0 -143
  1208. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1209. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.d.ts +0 -5
  1210. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/tr.js +0 -115
  1211. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.cjs +0 -143
  1212. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.d.cts +0 -4
  1213. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.d.ts +0 -4
  1214. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ua.js +0 -117
  1215. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.cjs +0 -143
  1216. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.d.cts +0 -4
  1217. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1218. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/ur.js +0 -117
  1219. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.cjs +0 -142
  1220. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.d.cts +0 -4
  1221. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1222. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/vi.js +0 -116
  1223. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  1224. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  1225. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1226. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-CN.js +0 -116
  1227. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  1228. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  1229. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1230. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/locales/zh-TW.js +0 -117
  1231. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.cjs +0 -34
  1232. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1233. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1234. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/checks.js +0 -1
  1235. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.cjs +0 -47
  1236. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1237. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1238. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/coerce.js +0 -17
  1239. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.cjs +0 -62
  1240. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.d.cts +0 -11
  1241. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.d.ts +0 -11
  1242. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/external.js +0 -13
  1243. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.cjs +0 -32
  1244. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.d.cts +0 -3
  1245. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.d.ts +0 -3
  1246. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/index.js +0 -3
  1247. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.cjs +0 -60
  1248. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1249. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1250. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/iso.js +0 -30
  1251. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.cjs +0 -8
  1252. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1253. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1254. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/parse.js +0 -1
  1255. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.cjs +0 -839
  1256. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  1257. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  1258. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4/mini/schemas.js +0 -732
  1259. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.cjs +0 -17
  1260. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.d.cts +0 -1
  1261. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.d.ts +0 -1
  1262. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/node_modules/zod/v4-mini/index.js +0 -1
  1263. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/package.json +0 -20
  1264. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/activation.ts +0 -285
  1265. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/audited-receipt.ts +0 -403
  1266. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/budget-ledger.ts +0 -223
  1267. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/build-map.ts +0 -327
  1268. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/canonical-delta.ts +0 -754
  1269. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/canonical-pack.ts +0 -400
  1270. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/canonical.ts +0 -248
  1271. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/claim-spread.ts +0 -219
  1272. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/classifier.ts +0 -207
  1273. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/claude-executor.ts +0 -37
  1274. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/codex-audit.ts +0 -301
  1275. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/codex-executor.ts +0 -22
  1276. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/compiler-adapter.ts +0 -284
  1277. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/compiler.ts +0 -183
  1278. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/dispatch-formatter.ts +0 -348
  1279. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/dispatch-receipt.ts +0 -135
  1280. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/dossier.ts +0 -229
  1281. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/eval-scope.ts +0 -208
  1282. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/evaluation-lane.ts +0 -584
  1283. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/execution-trace.ts +0 -455
  1284. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/gate-state.ts +0 -296
  1285. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/gates.ts +0 -198
  1286. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/governance-envelope.ts +0 -317
  1287. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/handoff-v2.ts +0 -221
  1288. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/handoff-visibility.ts +0 -204
  1289. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/handoff.ts +0 -87
  1290. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/harness-compiler.ts +0 -246
  1291. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/index.ts +0 -57
  1292. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/ingest.ts +0 -128
  1293. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/launch-block-payload.ts +0 -51
  1294. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/ledger.ts +0 -313
  1295. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/live-event-bus.ts +0 -37
  1296. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/live-event.ts +0 -238
  1297. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/lock-readiness.ts +0 -242
  1298. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/loop-compiler.ts +0 -152
  1299. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/loop-validator.ts +0 -55
  1300. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/meta-harness.ts +0 -411
  1301. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/overflow-manifest.ts +0 -220
  1302. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/packet-integrity.ts +0 -302
  1303. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/parallel-conflict.ts +0 -268
  1304. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/preflight.ts +0 -181
  1305. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/pressure-assessment.ts +0 -265
  1306. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/product-objects.ts +0 -99
  1307. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/project-charter.ts +0 -193
  1308. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/proof-capture.ts +0 -319
  1309. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/provider-registry.ts +0 -163
  1310. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/receipt-v2.ts +0 -904
  1311. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/reconcile-matrix.ts +0 -154
  1312. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/reconcile-v2.ts +0 -272
  1313. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/reconcile.ts +0 -450
  1314. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/return-normalizer.ts +0 -226
  1315. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/router.ts +0 -207
  1316. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/routing-v2.ts +0 -214
  1317. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/run-snapshot.ts +0 -405
  1318. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/surface-playbooks.ts +0 -36
  1319. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/surface-profiles.ts +0 -166
  1320. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/synthesis-provider.ts +0 -1114
  1321. package/node_modules/@switchboard/projections/node_modules/@switchboard/core/src/types.ts +0 -3054
  1322. package/node_modules/@switchboard/projections/node_modules/yaml/LICENSE +0 -13
  1323. package/node_modules/@switchboard/projections/node_modules/yaml/README.md +0 -172
  1324. package/node_modules/@switchboard/projections/node_modules/yaml/bin.mjs +0 -11
  1325. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
  1326. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
  1327. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/compose-node.js +0 -109
  1328. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
  1329. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/composer.js +0 -217
  1330. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
  1331. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
  1332. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
  1333. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
  1334. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
  1335. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
  1336. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
  1337. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
  1338. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
  1339. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
  1340. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
  1341. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/doc/Document.js +0 -335
  1342. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
  1343. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
  1344. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
  1345. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/doc/directives.js +0 -176
  1346. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/errors.js +0 -57
  1347. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/index.js +0 -17
  1348. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/log.js +0 -11
  1349. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
  1350. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
  1351. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
  1352. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
  1353. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
  1354. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
  1355. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
  1356. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
  1357. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
  1358. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  1359. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
  1360. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
  1361. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
  1362. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/parse/cst.js +0 -98
  1363. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
  1364. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
  1365. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/parse/parser.js +0 -967
  1366. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/public-api.js +0 -102
  1367. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
  1368. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
  1369. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  1370. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
  1371. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
  1372. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  1373. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
  1374. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
  1375. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
  1376. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
  1377. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/tags.js +0 -96
  1378. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
  1379. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
  1380. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
  1381. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
  1382. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
  1383. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
  1384. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
  1385. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
  1386. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
  1387. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
  1388. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
  1389. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/stringify.js +0 -129
  1390. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -153
  1391. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  1392. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
  1393. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
  1394. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
  1395. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
  1396. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/util.js +0 -11
  1397. package/node_modules/@switchboard/projections/node_modules/yaml/browser/dist/visit.js +0 -233
  1398. package/node_modules/@switchboard/projections/node_modules/yaml/browser/index.js +0 -5
  1399. package/node_modules/@switchboard/projections/node_modules/yaml/browser/package.json +0 -3
  1400. package/node_modules/@switchboard/projections/node_modules/yaml/dist/cli.d.ts +0 -8
  1401. package/node_modules/@switchboard/projections/node_modules/yaml/dist/cli.mjs +0 -201
  1402. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
  1403. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-collection.js +0 -90
  1404. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
  1405. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-doc.js +0 -45
  1406. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
  1407. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-node.js +0 -112
  1408. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
  1409. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
  1410. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/composer.d.ts +0 -63
  1411. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/composer.js +0 -222
  1412. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
  1413. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
  1414. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
  1415. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
  1416. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
  1417. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
  1418. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
  1419. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-end.js +0 -39
  1420. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
  1421. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
  1422. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
  1423. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
  1424. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
  1425. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/resolve-props.js +0 -148
  1426. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
  1427. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
  1428. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
  1429. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
  1430. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
  1431. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
  1432. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
  1433. package/node_modules/@switchboard/projections/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
  1434. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/Document.d.ts +0 -141
  1435. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/Document.js +0 -337
  1436. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
  1437. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/anchors.js +0 -76
  1438. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
  1439. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/applyReviver.js +0 -57
  1440. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
  1441. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/createNode.js +0 -90
  1442. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/directives.d.ts +0 -49
  1443. package/node_modules/@switchboard/projections/node_modules/yaml/dist/doc/directives.js +0 -178
  1444. package/node_modules/@switchboard/projections/node_modules/yaml/dist/errors.d.ts +0 -21
  1445. package/node_modules/@switchboard/projections/node_modules/yaml/dist/errors.js +0 -62
  1446. package/node_modules/@switchboard/projections/node_modules/yaml/dist/index.d.ts +0 -25
  1447. package/node_modules/@switchboard/projections/node_modules/yaml/dist/index.js +0 -50
  1448. package/node_modules/@switchboard/projections/node_modules/yaml/dist/log.d.ts +0 -3
  1449. package/node_modules/@switchboard/projections/node_modules/yaml/dist/log.js +0 -19
  1450. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
  1451. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Alias.js +0 -116
  1452. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
  1453. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Collection.js +0 -151
  1454. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
  1455. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Node.js +0 -40
  1456. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
  1457. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Pair.js +0 -39
  1458. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
  1459. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/Scalar.js +0 -27
  1460. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
  1461. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
  1462. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
  1463. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
  1464. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
  1465. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
  1466. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
  1467. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/identity.js +0 -53
  1468. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
  1469. package/node_modules/@switchboard/projections/node_modules/yaml/dist/nodes/toJS.js +0 -39
  1470. package/node_modules/@switchboard/projections/node_modules/yaml/dist/options.d.ts +0 -350
  1471. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
  1472. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
  1473. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
  1474. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
  1475. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
  1476. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst-visit.js +0 -99
  1477. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst.d.ts +0 -109
  1478. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/cst.js +0 -112
  1479. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
  1480. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/lexer.js +0 -719
  1481. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
  1482. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/line-counter.js +0 -41
  1483. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/parser.d.ts +0 -84
  1484. package/node_modules/@switchboard/projections/node_modules/yaml/dist/parse/parser.js +0 -972
  1485. package/node_modules/@switchboard/projections/node_modules/yaml/dist/public-api.d.ts +0 -44
  1486. package/node_modules/@switchboard/projections/node_modules/yaml/dist/public-api.js +0 -107
  1487. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
  1488. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/Schema.js +0 -39
  1489. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
  1490. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/map.js +0 -19
  1491. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
  1492. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/null.js +0 -17
  1493. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
  1494. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/seq.js +0 -19
  1495. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
  1496. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/common/string.js +0 -16
  1497. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
  1498. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/bool.js +0 -21
  1499. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
  1500. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/float.js +0 -47
  1501. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
  1502. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/int.js +0 -42
  1503. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
  1504. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/core/schema.js +0 -25
  1505. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
  1506. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/json/schema.js +0 -64
  1507. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
  1508. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/tags.d.ts +0 -48
  1509. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/tags.js +0 -99
  1510. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/types.d.ts +0 -92
  1511. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
  1512. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
  1513. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
  1514. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
  1515. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
  1516. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
  1517. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
  1518. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
  1519. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
  1520. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
  1521. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
  1522. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
  1523. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
  1524. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
  1525. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
  1526. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
  1527. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
  1528. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
  1529. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
  1530. package/node_modules/@switchboard/projections/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
  1531. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
  1532. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
  1533. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
  1534. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringify.js +0 -132
  1535. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
  1536. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -155
  1537. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
  1538. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
  1539. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
  1540. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
  1541. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
  1542. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
  1543. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
  1544. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
  1545. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
  1546. package/node_modules/@switchboard/projections/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
  1547. package/node_modules/@switchboard/projections/node_modules/yaml/dist/test-events.d.ts +0 -4
  1548. package/node_modules/@switchboard/projections/node_modules/yaml/dist/test-events.js +0 -134
  1549. package/node_modules/@switchboard/projections/node_modules/yaml/dist/util.d.ts +0 -16
  1550. package/node_modules/@switchboard/projections/node_modules/yaml/dist/util.js +0 -28
  1551. package/node_modules/@switchboard/projections/node_modules/yaml/dist/visit.d.ts +0 -102
  1552. package/node_modules/@switchboard/projections/node_modules/yaml/dist/visit.js +0 -236
  1553. package/node_modules/@switchboard/projections/node_modules/yaml/package.json +0 -97
  1554. package/node_modules/@switchboard/projections/node_modules/yaml/util.js +0 -2
  1555. package/node_modules/@switchboard/projections/package.json +0 -21
  1556. package/node_modules/@switchboard/projections/src/claude/index.ts +0 -164
  1557. package/node_modules/@switchboard/projections/src/index.ts +0 -160
@@ -1,3054 +0,0 @@
1
- import { z } from "zod";
2
-
3
- const nonEmptyString = z.string().trim().min(1);
4
- const nonEmptyStringArray = z.array(nonEmptyString);
5
-
6
- export const SURFACE_LABELS = {
7
- chatgpt: "ChatGPT",
8
- "claude-code": "Claude Code",
9
- cursor: "Cursor",
10
- codex: "Codex",
11
- } as const;
12
-
13
- export const surfaceSchema = z.enum(["chatgpt", "claude-code", "cursor", "codex"]);
14
- export const repoStatusSchema = z.enum(["repo-present", "repo-not-present"]);
15
- export const returnStatusSchema = z.enum(["not-started", "done", "partial", "blocked"]);
16
- export const objectiveMetSchema = z.enum(["yes", "no", "partial"]);
17
- export const executionShapeSchema = z.enum(["single", "bounded_parallel_research", "bounded_parallel_implementation"]);
18
- export const launchReadinessStatusSchema = z.enum(["ready", "missing required boundary info", "needs clarification"]);
19
-
20
- export const projectContractSchema = z.object({
21
- project_id: nonEmptyString,
22
- title: nonEmptyString,
23
- one_liner: nonEmptyString,
24
- problem: nonEmptyString,
25
- target_user: nonEmptyString,
26
- desired_v1_outcome: nonEmptyString,
27
- non_goals: nonEmptyStringArray.min(1),
28
- repo_status: repoStatusSchema,
29
- // Task-specific clauses — narrower than brand-level non_goals
30
- task_clauses: z.object({
31
- scope_in: z.array(z.string()).default([]),
32
- scope_out: z.array(z.string()).default([]),
33
- systems_expected: z.array(z.string()).default([]),
34
- files_allowed: z.array(z.string()).default([]),
35
- must_not_widen: z.array(z.string()).default([]),
36
- build_constraints: z.array(z.string()).default([]),
37
- }).default({
38
- scope_in: [], scope_out: [], systems_expected: [],
39
- files_allowed: [], must_not_widen: [], build_constraints: [],
40
- }),
41
- });
42
-
43
- export const projectCharterSchema = z.object({
44
- title: nonEmptyString,
45
- intent: nonEmptyString,
46
- target_user: nonEmptyString,
47
- first_bounded_slice: z.string().default(""),
48
- scope_in: z.array(z.string()),
49
- scope_out: z.array(z.string()),
50
- protected_boundaries: z.array(z.string()),
51
- systems_touched: z.array(z.string()),
52
- repo_binding: z.string().default(""),
53
- unresolved_assumptions: z.array(z.string()),
54
- missingness: z.array(z.string()),
55
- confidence: z.enum(["high", "medium", "low"]),
56
- task_type: z.string(),
57
- created_at: z.string(),
58
- });
59
-
60
- export const workingStateSchema = z.object({
61
- stage: nonEmptyString,
62
- current_objective: nonEmptyString,
63
- dominant_uncertainty: nonEmptyString,
64
- open_questions: nonEmptyStringArray,
65
- primary_artifact_ref: nonEmptyString,
66
- active_handoff_id: z.string(),
67
- last_return_status: returnStatusSchema,
68
- latest_decisions: nonEmptyStringArray.default([]),
69
- latest_blockers: nonEmptyStringArray.default([]),
70
- next_recommended_surface: surfaceSchema,
71
- next_objective: nonEmptyString,
72
- });
73
-
74
- /**
75
- * UI-only derivation type: what happens to downstream artifacts when the
76
- * operator edits a charter-level field. Never persisted — computed at render.
77
- */
78
- export type CharterFieldConsequence =
79
- | "still_valid"
80
- | "stale_recompile"
81
- | "stale_redispatch";
82
-
83
- export const activationInputSchema = z.object({
84
- raw_idea: nonEmptyString,
85
- repo_exists: z.boolean(),
86
- what_do_you_want_next: nonEmptyString,
87
- constraints: z.string().trim().default(""),
88
- });
89
-
90
- // ---------------------------------------------------------------------------
91
- // Product Objects: Ask → Compile → Run
92
- // ---------------------------------------------------------------------------
93
-
94
- /**
95
- * Ask — a bounded inquiry. The operator's raw intent, captured and scoped
96
- * into something the system can compile.
97
- *
98
- * NOT a prompt. NOT a wish. An Ask has identity and becomes the seed of
99
- * canonical state after compilation.
100
- */
101
- export const askSchema = z.object({
102
- ask_id: z.string(),
103
- raw_idea: nonEmptyString,
104
- repo_exists: z.boolean(),
105
- what_do_you_want_next: nonEmptyString,
106
- constraints: z.string().trim().default(""),
107
- created_at: z.string(),
108
- source: z.enum(["operator", "next-slice", "re-dispatch"]).default("operator"),
109
- });
110
-
111
- /**
112
- * Compile — a governed control object produced from an Ask. Contains the
113
- * locked contract, charter, routing decision, and candidate brief.
114
- *
115
- * NOT synthesis (which enriches). NOT execution (which acts). A Compile
116
- * is the governed artifact that dispatch reads from.
117
- */
118
- export const compileSchema = z.object({
119
- compile_id: z.string(),
120
- ask_id: z.string(),
121
- contract_id: z.string(),
122
- task_type: z.string(),
123
- complexity_mode: z.string(),
124
- route_surface: z.string(),
125
- compiled_at: z.string(),
126
- lock_readiness: z.string(), // lock_allowed / lock_allowed_with_cautions / lock_blocked
127
- });
128
-
129
- /**
130
- * Run — a compiled execution packet dispatched under a governed contract.
131
- * Bundles dispatch identity, receipt, and return linkage.
132
- *
133
- * NOT an execution (which is what the surface does). NOT a task (which has
134
- * no governance lifecycle). A Run has dispatch provenance and expects a
135
- * structured return.
136
- */
137
- export const runSchema = z.object({
138
- run_id: z.string(),
139
- ask_id: z.string(),
140
- compile_id: z.string(),
141
- handoff_id: z.string(),
142
- dispatch_id: z.string(),
143
- receipt_id: z.string().default(""),
144
- surface: z.string(),
145
- objective: z.string(),
146
- dispatched_at: z.string(),
147
- // Return linkage (populated after return)
148
- return_id: z.string().default(""),
149
- delta_id: z.string().default(""),
150
- gate_outcome: z.string().default(""),
151
- completed_at: z.string().default(""),
152
- });
153
-
154
- export type Ask = z.infer<typeof askSchema>;
155
- export type Compile = z.infer<typeof compileSchema>;
156
- export type Run = z.infer<typeof runSchema>;
157
-
158
- export const routingInputSchema = z.object({
159
- repo_present: z.boolean(),
160
- task: nonEmptyString,
161
- last_return_status: z.enum(["done", "partial", "blocked"]).optional(),
162
- last_return_reason: z.string().trim().optional(),
163
- seed_confidence: z.enum(["high", "medium", "low"]).optional(),
164
- research_needed: z.boolean().optional(),
165
- process_mode: z.enum(["minimal", "structured", "governance"]).optional(),
166
- });
167
-
168
- export const routingResultSchema = z.object({
169
- primary_recommendation: surfaceSchema,
170
- fallback_surface: surfaceSchema,
171
- rationale: nonEmptyString,
172
- next_objective: nonEmptyString,
173
- return_condition: nonEmptyString,
174
- });
175
-
176
- export const loopContractSchema = z.object({
177
- objective: nonEmptyString,
178
- scope_in: nonEmptyStringArray.min(1),
179
- scope_out: nonEmptyStringArray.min(1),
180
- done_when: nonEmptyStringArray.min(1),
181
- success_criteria: nonEmptyStringArray.min(1),
182
- verify_with: nonEmptyStringArray.min(1),
183
- return_when: nonEmptyString,
184
- blocker_escalation: nonEmptyStringArray.min(1),
185
- expected_artifacts: nonEmptyStringArray.min(1),
186
- fallback_surface: surfaceSchema,
187
- execution_shape: executionShapeSchema,
188
- });
189
-
190
- export const launchReadinessSchema = z.object({
191
- status: launchReadinessStatusSchema,
192
- issues: nonEmptyStringArray.default([]),
193
- });
194
-
195
- export const surfacePlaybookSchema = z.object({
196
- surface: surfaceSchema,
197
- notes: nonEmptyStringArray.min(1),
198
- });
199
-
200
- export const handoffRecordSchema = z.object({
201
- handoff_id: nonEmptyString,
202
- surface: surfaceSchema,
203
- objective: nonEmptyString,
204
- included_scope: nonEmptyStringArray.min(1),
205
- excluded_scope: nonEmptyStringArray.min(1),
206
- done_when: nonEmptyStringArray.min(1),
207
- return_condition: nonEmptyString,
208
- loop: loopContractSchema,
209
- readiness: launchReadinessSchema,
210
- bundle_version: z.literal("SBX-v1"),
211
- launched_at: z.string().optional(),
212
- });
213
-
214
- export const returnReportSchema = z
215
- .object({
216
- handoff_id: nonEmptyString,
217
- surface_used: surfaceSchema,
218
- objective_attempted: nonEmptyString,
219
- status: z.enum(["done", "partial", "blocked"]),
220
- objective_met: objectiveMetSchema,
221
- done_when_met: objectiveMetSchema,
222
- summary: nonEmptyString,
223
- changed_files: z.array(z.string().trim()).default([]),
224
- decisions_made: z.array(z.string().trim()).default([]),
225
- blockers: z.array(z.string().trim()).default([]),
226
- escalations: z.array(z.string().trim()).default([]),
227
- evidence: z.array(z.string().trim()).default([]),
228
- success_criteria_met: z.array(z.string().trim()).default([]),
229
- verification_run: z.array(z.string().trim()).default([]),
230
- artifacts_created: z.array(z.string().trim()).default([]),
231
- recommended_next_step: nonEmptyString,
232
- // Cursor packet binding — required when surface_used is "cursor".
233
- // Binds the return to the governed packet that was transported.
234
- packet_id: z.string().trim().default(""),
235
- // SHA-256 prefix hash of the governed packet content at generation time.
236
- // Verified on Cursor return ingest to detect silent content edits.
237
- packet_hash: z.string().trim().default(""),
238
- })
239
- .superRefine((value, ctx) => {
240
- if (value.objective_met === "yes" && value.evidence.length === 0 && value.verification_run.length === 0) {
241
- ctx.addIssue({
242
- code: z.ZodIssueCode.custom,
243
- message: "objective_met=yes requires evidence or verification_run.",
244
- path: ["objective_met"],
245
- });
246
- }
247
-
248
- if (value.done_when_met === "yes" && value.success_criteria_met.length === 0) {
249
- ctx.addIssue({
250
- code: z.ZodIssueCode.custom,
251
- message: "done_when_met=yes requires at least one met success criterion.",
252
- path: ["done_when_met"],
253
- });
254
- }
255
-
256
- if (value.status === "done" && value.done_when_met === "no") {
257
- ctx.addIssue({
258
- code: z.ZodIssueCode.custom,
259
- message: "A done return cannot report done_when_met=no.",
260
- path: ["status"],
261
- });
262
- }
263
- });
264
-
265
- export const sbxFileSchema = z.object({
266
- path: nonEmptyString,
267
- content: nonEmptyString,
268
- });
269
-
270
- export const sbxBundleSchema = z.object({
271
- bundle_name: nonEmptyString,
272
- launch_prompt: nonEmptyString,
273
- files: z.array(sbxFileSchema).min(5),
274
- });
275
-
276
- export const runtimePackSchema = z.object({
277
- pack_name: nonEmptyString,
278
- files: z.array(sbxFileSchema).min(1),
279
- });
280
-
281
- export type Surface = z.infer<typeof surfaceSchema>;
282
- export type ProjectContract = z.infer<typeof projectContractSchema>;
283
- export type ProjectCharter = z.infer<typeof projectCharterSchema>;
284
- export type WorkingState = z.infer<typeof workingStateSchema>;
285
- export type ActivationInput = z.infer<typeof activationInputSchema>;
286
- export type RoutingInput = z.infer<typeof routingInputSchema>;
287
- export type RoutingResult = z.infer<typeof routingResultSchema>;
288
- export type LoopContract = z.infer<typeof loopContractSchema>;
289
- export type LaunchReadiness = z.infer<typeof launchReadinessSchema>;
290
- export type SurfacePlaybook = z.infer<typeof surfacePlaybookSchema>;
291
- export type HandoffRecord = z.infer<typeof handoffRecordSchema>;
292
- export type ReturnReport = z.infer<typeof returnReportSchema>;
293
- export type SbxBundle = z.infer<typeof sbxBundleSchema>;
294
- export type RuntimePack = z.infer<typeof runtimePackSchema>;
295
-
296
- export type ProjectSnapshot = {
297
- contract: ProjectContract;
298
- current: WorkingState;
299
- spec_markdown: string;
300
- latest_handoff: HandoffRecord | null;
301
- latest_return: ReturnReport | null;
302
- active_handoff: HandoffRecord | null;
303
- route: RoutingResult;
304
- };
305
-
306
- // ---------------------------------------------------------------------------
307
- // Synthesis spine types
308
- // ---------------------------------------------------------------------------
309
-
310
- export const taskTypeSchema = z.enum(["product-idea", "implementation-request", "unknown"]);
311
-
312
- export const synthesizedSeedSchema = z.object({
313
- title: nonEmptyString,
314
- one_liner: nonEmptyString,
315
- problem: nonEmptyString,
316
- proposed_solution: nonEmptyString,
317
- target_user: nonEmptyString,
318
- v1_outcome: nonEmptyString,
319
- non_goals: nonEmptyStringArray.min(1),
320
- missing_inputs: z.array(z.string().trim()).default([]),
321
- open_questions: z.array(z.string().trim()).default([]),
322
- first_build_slice: z.string().trim().default(""),
323
- confidence: z.enum(["high", "medium", "low"]),
324
- task_type: taskTypeSchema.default("unknown"),
325
- });
326
-
327
- // ---------------------------------------------------------------------------
328
- // Provider / dispatch types
329
- // ---------------------------------------------------------------------------
330
-
331
- export const providerCapabilitySchema = z.enum(["compile", "execute"]);
332
-
333
- export const providerIdSchema = z.enum([
334
- "claude-code-sdk",
335
- "openai-api",
336
- "codex",
337
- "chatgpt-auto",
338
- "chatgpt-manual", // deprecated — kept for schema backward compat
339
- "cursor-manual",
340
- "internal-fallback",
341
- ]);
342
-
343
- export const providerStatusSchema = z.enum(["available", "needs-setup", "stub"]);
344
-
345
- export const providerEntrySchema = z.object({
346
- id: providerIdSchema,
347
- name: nonEmptyString,
348
- capability: providerCapabilitySchema,
349
- automated: z.boolean(),
350
- status: providerStatusSchema,
351
- requires_env: z.array(z.string()).default([]),
352
- });
353
-
354
- // ---------------------------------------------------------------------------
355
- // Execution Surface Abstraction
356
- // ---------------------------------------------------------------------------
357
-
358
- /**
359
- * Surface classes — what kind of interface the execution surface exposes.
360
- *
361
- * Switchboard sits ABOVE all surfaces. It does not assume uniform API access.
362
- * Each surface class defines what the control plane can expect in terms of
363
- * dispatch, acknowledgment, and return.
364
- */
365
- export const surfaceClassSchema = z.enum([
366
- "api", // Programmatic SDK/API (Claude Agent SDK, OpenAI API)
367
- "cli", // Command-line tool (Codex CLI, local scripts)
368
- "ide", // Interactive IDE (Cursor, VS Code extensions)
369
- "manual", // Human-mediated handoff (paste into ChatGPT, manual copy)
370
- "file_based", // File drop / watch (export SBX bundle, import return YAML)
371
- "audit_only", // Read-only audit surface (Codex audit, review tools)
372
- ]);
373
-
374
- export const surfaceCapabilitiesSchema = z.object({
375
- can_dispatch_programmatically: z.boolean(),
376
- can_acknowledge: z.boolean(),
377
- can_return_structured: z.boolean(),
378
- can_stream: z.boolean(),
379
- requires_human_in_loop: z.boolean(),
380
- supports_working_directory: z.boolean(),
381
- });
382
-
383
- export const surfaceProfileSchema = z.object({
384
- surface_id: z.string(),
385
- surface_class: surfaceClassSchema,
386
- display_name: z.string(),
387
- capabilities: surfaceCapabilitiesSchema,
388
- receipt_model: z.enum([
389
- "synchronous", // API: dispatch → ack → return in one call
390
- "async_callback", // CLI: dispatch, poll or wait for return
391
- "human_return", // Manual: operator pastes/uploads return
392
- "file_watch", // File: watch directory for return YAML
393
- "none", // Audit-only: no return expected
394
- ]),
395
- packet_format: z.enum([
396
- "sdk_prompt", // Full prompt string for SDK dispatch
397
- "sbx_bundle", // SBX export bundle (markdown + YAML)
398
- "clipboard", // Copy-paste-ready text
399
- "file_drop", // File written to working directory
400
- ]),
401
- });
402
-
403
- export type SurfaceClass = z.infer<typeof surfaceClassSchema>;
404
- export type SurfaceCapabilities = z.infer<typeof surfaceCapabilitiesSchema>;
405
- export type SurfaceProfile = z.infer<typeof surfaceProfileSchema>;
406
-
407
- export const inferredChipSchema = z.object({
408
- id: z.string(),
409
- label: z.string(),
410
- category: z.enum(["boundary", "system", "source", "user-type"]),
411
- selected: z.boolean(),
412
- inferred_from: z.string().default(""),
413
- });
414
-
415
- export const followUpQuestionSchema = z.object({
416
- question: z.string(),
417
- why: z.string(),
418
- options: z.array(z.string()).optional(),
419
- });
420
-
421
- /** Draft charter fields shown before activation (same source as compile seed). */
422
- export const activationPreviewSchema = z.object({
423
- title: z.string(),
424
- one_liner: z.string(),
425
- problem: z.string(),
426
- proposed_solution: z.string(),
427
- target_user: z.string(),
428
- v1_outcome: z.string(),
429
- non_goals: z.array(z.string()),
430
- first_build_slice: z.string(),
431
- open_questions: z.array(z.string()),
432
- missing_inputs: z.array(z.string()),
433
- confidence: z.enum(["high", "medium", "low"]),
434
- task_type: taskTypeSchema,
435
- });
436
-
437
- export const activationLockStateSchema = z.enum(["ready_to_lock", "blocked_by_missing_evidence"]);
438
-
439
- export const intakeAnalysisSchema = z.object({
440
- task_type: taskTypeSchema,
441
- chips: z.array(inferredChipSchema),
442
- follow_ups: z.array(followUpQuestionSchema),
443
- confidence_note: z.string().default(""),
444
- activation_preview: activationPreviewSchema,
445
- /** Whether the target user was explicitly stated in the raw idea (not a placeholder). */
446
- target_user_on_record: z.boolean(),
447
- activation_state: activationLockStateSchema,
448
- lock_blocking_requirements: z.array(z.string()),
449
- lock_cautions: z.array(z.string()),
450
- lock_tracked_open: z.array(z.string()),
451
- });
452
-
453
- export type ActivationPreview = z.infer<typeof activationPreviewSchema>;
454
- export type InferredChip = z.infer<typeof inferredChipSchema>;
455
- export type FollowUpQuestion = z.infer<typeof followUpQuestionSchema>;
456
- export type IntakeAnalysis = z.infer<typeof intakeAnalysisSchema>;
457
- export type ActivationLockState = z.infer<typeof activationLockStateSchema>;
458
- export type TaskType = z.infer<typeof taskTypeSchema>;
459
- export type ProviderId = z.infer<typeof providerIdSchema>;
460
- export type ProviderCapability = z.infer<typeof providerCapabilitySchema>;
461
- export type ProviderStatus = z.infer<typeof providerStatusSchema>;
462
- export type ProviderEntry = z.infer<typeof providerEntrySchema>;
463
-
464
- export const researchAngleSchema = z.object({
465
- category: z.enum([
466
- "user-validation",
467
- "technical-feasibility",
468
- "competitive-landscape",
469
- "domain-knowledge",
470
- "implementation-pattern",
471
- ]),
472
- question: nonEmptyString,
473
- why_it_matters: nonEmptyString,
474
- priority: z.enum(["blocking", "strengthening", "nice-to-have"]),
475
- });
476
-
477
- export const researchClassificationSchema = z.object({
478
- angles: z.array(researchAngleSchema),
479
- research_needed: z.boolean(),
480
- summary: nonEmptyString,
481
- });
482
-
483
- export const reconcileFindingSchema = z.object({
484
- category: z.enum([
485
- "scope-inflation",
486
- "non-goal-violation",
487
- "goal-drift",
488
- "target-user-shift",
489
- "untracked-decision",
490
- "evidence-contradiction",
491
- ]),
492
- description: nonEmptyString,
493
- severity: z.enum(["warning", "review-required"]),
494
- source_field: nonEmptyString,
495
- parent_evidence: z.string().trim().default(""),
496
- });
497
-
498
- export const reconcileReportSchema = z.object({
499
- findings: z.array(reconcileFindingSchema),
500
- drift_detected: z.boolean(),
501
- recommendation: z.enum(["accept", "accept-with-warnings", "review-required"]),
502
- cleared_count: z.number().default(0),
503
- checked_count: z.number().default(0),
504
- });
505
-
506
- export type SynthesizedSeed = z.infer<typeof synthesizedSeedSchema>;
507
- export type ResearchAngle = z.infer<typeof researchAngleSchema>;
508
- export type ResearchClassification = z.infer<typeof researchClassificationSchema>;
509
- export type ReconcileFinding = z.infer<typeof reconcileFindingSchema>;
510
- export type ReconcileReport = z.infer<typeof reconcileReportSchema>;
511
-
512
- // ---------------------------------------------------------------------------
513
- // Control plane types — complexity, process mode, compiler adapter
514
- // ---------------------------------------------------------------------------
515
-
516
- export const complexityVerdictSchema = z.enum(["simple", "standard", "dangerous"]);
517
-
518
- export const processModeSchema = z.enum(["minimal", "structured", "governance"]);
519
-
520
- export const complexitySignalSchema = z.object({
521
- implied_systems: z.number(),
522
- missing_target_user: z.boolean(),
523
- missing_workflow: z.boolean(),
524
- missing_trust_boundary: z.boolean(),
525
- scope_breadth: z.enum(["narrow", "moderate", "broad"]),
526
- contradiction_count: z.number(),
527
- resource_mismatch: z.boolean(),
528
- });
529
-
530
- export const complexityClassificationSchema = z.object({
531
- verdict: complexityVerdictSchema,
532
- mode: processModeSchema,
533
- signals: complexitySignalSchema,
534
- rationale: nonEmptyString,
535
- });
536
-
537
- export const compilerTypeSchema = z.enum([
538
- "fidelity-first",
539
- "execution-first",
540
- "internal-fallback",
541
- ]);
542
-
543
- export const compilerSelectionSchema = z.object({
544
- compiler_type: compilerTypeSchema,
545
- recommended_surface: surfaceSchema,
546
- rationale: nonEmptyString,
547
- });
548
-
549
- export type ComplexityVerdict = z.infer<typeof complexityVerdictSchema>;
550
- export type ProcessMode = z.infer<typeof processModeSchema>;
551
- export type ComplexitySignals = z.infer<typeof complexitySignalSchema>;
552
- export type ComplexityClassification = z.infer<typeof complexityClassificationSchema>;
553
- export const artifactStatusSchema = z.enum(["candidate", "canonical"]);
554
-
555
- export const candidateArtifactSchema = z.object({
556
- spec_markdown: nonEmptyString,
557
- source: compilerTypeSchema,
558
- status: artifactStatusSchema,
559
- reconcile: reconcileReportSchema.optional(),
560
- });
561
-
562
- export type CompilerType = z.infer<typeof compilerTypeSchema>;
563
- export type CompilerSelection = z.infer<typeof compilerSelectionSchema>;
564
- export const operatorReviewSchema = z.object({
565
- date: nonEmptyString,
566
- judgment: z.enum(["correct", "too-strict", "too-lenient"]),
567
- note: z.string().trim().default(""),
568
- });
569
-
570
- export const dossierStepSchema = z.object({
571
- phase: nonEmptyString,
572
- timestamp: nonEmptyString,
573
- outcome: nonEmptyString,
574
- detail: z.string().trim().default(""),
575
- });
576
-
577
- export const runDossierSchema = z.object({
578
- run_id: nonEmptyString,
579
- project_title: nonEmptyString,
580
- fixture: z.string().trim().default(""),
581
- created_at: nonEmptyString,
582
- updated_at: nonEmptyString,
583
- complexity_verdict: complexityVerdictSchema,
584
- process_mode: processModeSchema,
585
- compiler_type: compilerTypeSchema,
586
- seed_confidence: z.enum(["high", "medium", "low"]),
587
- steps: z.array(dossierStepSchema),
588
- reconcile_recommendation: z.enum(["accept", "accept-with-warnings", "review-required"]).optional(),
589
- reconcile_findings_count: z.number().default(0),
590
- reconcile_cleared_count: z.number().default(0),
591
- promotion_result: z.enum(["canonical", "candidate", "pending"]).default("pending"),
592
- operator_reviews: z.array(operatorReviewSchema).default([]),
593
- refs: z.object({
594
- seed: z.string().default(""),
595
- brief: z.string().default(""),
596
- handoff: z.string().default(""),
597
- execution_return: z.string().default(""),
598
- reconcile_report: z.string().default(""),
599
- }).default({}),
600
- });
601
-
602
- export type OperatorReview = z.infer<typeof operatorReviewSchema>;
603
- export type DossierStep = z.infer<typeof dossierStepSchema>;
604
- export type RunDossier = z.infer<typeof runDossierSchema>;
605
- export type ArtifactStatus = z.infer<typeof artifactStatusSchema>;
606
- export type CandidateArtifact = z.infer<typeof candidateArtifactSchema>;
607
-
608
- // ---------------------------------------------------------------------------
609
- // Canonical object model — spec / status / conditions
610
- // ---------------------------------------------------------------------------
611
-
612
- // Conditions: queryable lifecycle summaries
613
- export const conditionTypeSchema = z.enum([
614
- "ProjectActivated",
615
- "NeedsClarification",
616
- "BriefCompiling",
617
- "BriefAccepted",
618
- "BriefHeld",
619
- "Executing",
620
- "ReturnReceived",
621
- "ProjectUpdated",
622
- "HeldForReview",
623
- "FeedbackPending",
624
- "Closed",
625
- ]);
626
-
627
- export const conditionStatusSchema = z.enum(["True", "False", "Unknown"]);
628
-
629
- export const conditionSchema = z.object({
630
- type: conditionTypeSchema,
631
- status: conditionStatusSchema,
632
- reason: z.string().default(""),
633
- last_transition: z.string().default(""),
634
- });
635
-
636
- // Spec: desired intent — only changed by product logic or user action
637
- export const projectSpecSchema = z.object({
638
- problem: z.string().default(""),
639
- target_user: z.string().default(""),
640
- v1_outcome: z.string().default(""),
641
- non_goals: z.array(z.string()).default([]),
642
- constraints: z.string().default(""),
643
- assumptions: z.array(z.string()).default([]),
644
- acceptance_criteria: z.array(z.string()).default([]),
645
- process_mode: processModeSchema.optional(),
646
- compiler_intent: compilerTypeSchema.optional(),
647
- task_type: taskTypeSchema.default("unknown"),
648
- first_build_slice: z.string().default(""),
649
- approved_scope_changes: z.array(z.string()).default([]),
650
- });
651
-
652
- // Status: observed state — written by controlled pathways only
653
- export const projectStatusSchema = z.object({
654
- phase: z.string().default("no-project"),
655
- observed_generation: z.number().default(0),
656
- activation: z.object({
657
- seed_confidence: z.enum(["high", "medium", "low"]).optional(),
658
- complexity: complexityVerdictSchema.optional(),
659
- research_needed: z.boolean().optional(),
660
- }).default({}),
661
- brief: z.object({
662
- source: compilerTypeSchema.optional(),
663
- accepted: z.boolean().default(false),
664
- reconcile_summary: z.string().default(""),
665
- }).default({}),
666
- execution: z.object({
667
- surface: surfaceSchema.optional(),
668
- started_at: z.string().optional(),
669
- return_status: z.string().optional(),
670
- reconcile_summary: z.string().default(""),
671
- }).default({}),
672
- latest_artifact_ref: z.string().default(""),
673
- latest_return_ref: z.string().default(""),
674
- });
675
-
676
- // Metadata
677
- export const projectMetadataSchema = z.object({
678
- id: z.string(),
679
- title: z.string(),
680
- created_at: z.string(),
681
- generation: z.number().default(1),
682
- });
683
-
684
- // The full canonical resource
685
- export const projectResourceSchema = z.object({
686
- metadata: projectMetadataSchema,
687
- spec: projectSpecSchema,
688
- status: projectStatusSchema,
689
- conditions: z.array(conditionSchema).default([]),
690
- });
691
-
692
- // ---------------------------------------------------------------------------
693
- // Project Truth Ledger types
694
- // ---------------------------------------------------------------------------
695
-
696
- export const evidenceTypeSchema = z.enum([
697
- "user-backed",
698
- "research-backed",
699
- "execution-required",
700
- "weak-inference",
701
- ]);
702
-
703
- export const ledgerEntryKindSchema = z.enum([
704
- "goal",
705
- "constraint",
706
- "assumption",
707
- "decision",
708
- "acceptance-criterion",
709
- "scope-change",
710
- ]);
711
-
712
- export const riskLevelSchema = z.enum(["low", "medium", "high"]);
713
-
714
- export const ledgerEntrySchema = z.object({
715
- id: z.string(),
716
- kind: ledgerEntryKindSchema,
717
- text: z.string(),
718
- evidence_type: evidenceTypeSchema.default("weak-inference"),
719
- evidence_refs: z.array(z.string()).default([]),
720
- parent_ids: z.array(z.string()).default([]),
721
- risk_level: riskLevelSchema.optional(),
722
- downstream_artifacts: z.array(z.string()).default([]),
723
- created_at: z.string().default(""),
724
- superseded_by: z.string().optional(),
725
- });
726
-
727
- export const scopeChangeSchema = z.object({
728
- id: z.string(),
729
- description: z.string(),
730
- entries_added: z.array(z.string()).default([]),
731
- entries_removed: z.array(z.string()).default([]),
732
- entries_modified: z.array(z.string()).default([]),
733
- approved_at: z.string(),
734
- reason: z.string().default(""),
735
- });
736
-
737
- export const projectLedgerSchema = z.object({
738
- entries: z.array(ledgerEntrySchema),
739
- scope_changes: z.array(scopeChangeSchema).default([]),
740
- version: z.number().default(1),
741
- });
742
-
743
- // Drift diff types
744
- export const diffActionSchema = z.enum(["added", "removed", "modified"]);
745
-
746
- export const diffEntrySchema = z.object({
747
- action: diffActionSchema,
748
- kind: ledgerEntryKindSchema,
749
- entry_id: z.string(),
750
- old_text: z.string().optional(),
751
- new_text: z.string().optional(),
752
- summary: z.string(),
753
- });
754
-
755
- export const driftDiffSchema = z.object({
756
- entries: z.array(diffEntrySchema),
757
- has_drift: z.boolean(),
758
- summary: z.string(),
759
- });
760
-
761
- export type EvidenceType = z.infer<typeof evidenceTypeSchema>;
762
- export type LedgerEntryKind = z.infer<typeof ledgerEntryKindSchema>;
763
- export type RiskLevel = z.infer<typeof riskLevelSchema>;
764
- export type LedgerEntry = z.infer<typeof ledgerEntrySchema>;
765
- export type ScopeChange = z.infer<typeof scopeChangeSchema>;
766
- export type ProjectLedger = z.infer<typeof projectLedgerSchema>;
767
- export type DiffAction = z.infer<typeof diffActionSchema>;
768
- export type DiffEntry = z.infer<typeof diffEntrySchema>;
769
- export type DriftDiff = z.infer<typeof driftDiffSchema>;
770
-
771
- // ---------------------------------------------------------------------------
772
- // Activation V2 types
773
- // ---------------------------------------------------------------------------
774
-
775
- export const assumptionStatusSchema = z.enum(["unconfirmed", "confirmed", "rejected", "superseded"]);
776
-
777
- export const assumptionSchema = z.object({
778
- id: z.string(),
779
- text: z.string(),
780
- status: assumptionStatusSchema.default("unconfirmed"),
781
- evidence_type: evidenceTypeSchema.default("weak-inference"),
782
- risk_level: riskLevelSchema.default("medium"),
783
- source: z.string().default(""),
784
- });
785
-
786
- export const workflowCanvasSchema = z.object({
787
- primary_user: z.string().default(""),
788
- current_workflow: z.string().default(""),
789
- target_workflow: z.string().default(""),
790
- job_to_be_done: z.string().default(""),
791
- edge_cases: z.array(z.string()).default([]),
792
- });
793
-
794
- export const nonFunctionalGateSchema = z.object({
795
- category: z.enum(["security", "privacy", "observability", "performance", "compliance"]),
796
- flagged: z.boolean(),
797
- reason: z.string().default(""),
798
- severity: riskLevelSchema.default("low"),
799
- });
800
-
801
- export const dangerousGateSchema = z.object({
802
- gate: z.string(),
803
- triggered: z.boolean(),
804
- reason: z.string().default(""),
805
- });
806
-
807
- export const modeScoringSchema = z.object({
808
- surface_area: z.number().min(0).max(3),
809
- integration_count: z.number().min(0).max(3),
810
- user_clarity: z.number().min(0).max(3),
811
- outcome_concreteness: z.number().min(0).max(3),
812
- coordination_complexity: z.number().min(0).max(3),
813
- contradiction_level: z.number().min(0).max(3),
814
- appetite_mismatch: z.number().min(0).max(3),
815
- total: z.number(),
816
- });
817
-
818
- export const activationResultSchema = z.object({
819
- assumptions: z.array(assumptionSchema),
820
- workflow_canvas: workflowCanvasSchema,
821
- non_functional_gates: z.array(nonFunctionalGateSchema),
822
- dangerous_gates: z.array(dangerousGateSchema),
823
- mode_scoring: modeScoringSchema,
824
- selected_mode: processModeSchema,
825
- mode_is_escalatable: z.boolean().default(true),
826
- escalation_triggers: z.array(z.string()).default([]),
827
- });
828
-
829
- export type AssumptionStatus = z.infer<typeof assumptionStatusSchema>;
830
- export type Assumption = z.infer<typeof assumptionSchema>;
831
- export type WorkflowCanvas = z.infer<typeof workflowCanvasSchema>;
832
- export type NonFunctionalGate = z.infer<typeof nonFunctionalGateSchema>;
833
- export type DangerousGate = z.infer<typeof dangerousGateSchema>;
834
- export type ModeScoring = z.infer<typeof modeScoringSchema>;
835
- export type ActivationResult = z.infer<typeof activationResultSchema>;
836
-
837
- // ---------------------------------------------------------------------------
838
- // Handoff Contract V2 + Run History types
839
- // ---------------------------------------------------------------------------
840
-
841
- export const dispatchStateSchema = z.enum([
842
- "queued", "preflight", "started", "completed", "failed", "timed-out", "late-return", "cancelled",
843
- ]);
844
-
845
- export const runTokenSchema = z.object({
846
- token: z.string(),
847
- spec_generation: z.number(),
848
- created_at: z.string(),
849
- contract_version: z.literal("v2"),
850
- });
851
-
852
- export const handoffContractV2Schema = z.object({
853
- contract_version: z.literal("v2"),
854
- run_token: runTokenSchema,
855
- spec_generation: z.number(),
856
- canonical_snapshot_ref: z.string().default(""),
857
- intent: z.object({
858
- objective: z.string(),
859
- scope_in: z.array(z.string()),
860
- scope_out: z.array(z.string()),
861
- non_goals: z.array(z.string()),
862
- }),
863
- constraints: z.object({
864
- done_when: z.array(z.string()),
865
- success_criteria: z.array(z.string()),
866
- verify_with: z.array(z.string()),
867
- blocker_escalation: z.array(z.string()),
868
- return_when: z.string(),
869
- }),
870
- context: z.object({
871
- surface: surfaceSchema,
872
- fallback_surface: surfaceSchema,
873
- execution_shape: z.string(),
874
- process_mode: processModeSchema,
875
- }),
876
- return_expectations: z.object({
877
- required_fields: z.array(z.string()),
878
- must_reference_token: z.boolean().default(true),
879
- must_match_generation: z.boolean().default(true),
880
- }),
881
- dispatch_state: dispatchStateSchema.default("queued"),
882
- created_at: z.string(),
883
- });
884
-
885
- export const runEventKindSchema = z.enum([
886
- "activation", "contract-locked", "brief-dispatched", "brief-received", "brief-accepted", "brief-held",
887
- "execution-dispatched", "execution-started", "execution-returned", "execution-absorbed",
888
- "canonical-updated",
889
- "gate-held", "gate-blocked", "gate-accepted", "gate-accepted-with-cautions",
890
- "next-slice-created",
891
- "review-hold", "review-released",
892
- "closure-recorded", "feedback-submitted",
893
- "loop-transition",
894
- "closed", "error", "late-return",
895
- ]);
896
-
897
- export const eventContextSchema = z.object({
898
- contract_ref: z.string().default(""),
899
- handoff_id: z.string().default(""),
900
- dispatch_id: z.string().default(""),
901
- return_id: z.string().default(""),
902
- delta_id: z.string().default(""),
903
- next_slice_id: z.string().default(""),
904
- closure_id: z.string().default(""),
905
- surface: z.string().default(""),
906
- gate_label: z.string().default(""),
907
- delta_summary: z.string().default(""),
908
- evidence_summary: z.string().default(""),
909
- next_action: z.string().default(""),
910
- }).default({});
911
-
912
- export const runEventSchema = z.object({
913
- id: z.string(),
914
- kind: runEventKindSchema,
915
- timestamp: z.string(),
916
- run_token: z.string().optional(),
917
- spec_generation: z.number().optional(),
918
- detail: z.string().default(""),
919
- context: eventContextSchema,
920
- metadata: z.record(z.string(), z.unknown()).default({}),
921
- });
922
-
923
- export const runHistorySchema = z.object({
924
- events: z.array(runEventSchema),
925
- project_id: z.string(),
926
- });
927
-
928
- export const handoffPreflightResultSchema = z.object({
929
- ready: z.boolean(),
930
- blockers: z.array(z.string()),
931
- warnings: z.array(z.string()),
932
- });
933
-
934
- export type DispatchState = z.infer<typeof dispatchStateSchema>;
935
- export type RunToken = z.infer<typeof runTokenSchema>;
936
- export type HandoffContractV2 = z.infer<typeof handoffContractV2Schema>;
937
- export type RunEventKind = z.infer<typeof runEventKindSchema>;
938
- export type EventContext = z.infer<typeof eventContextSchema>;
939
- export type RunEvent = z.infer<typeof runEventSchema>;
940
- export type RunHistory = z.infer<typeof runHistorySchema>;
941
- export type HandoffPreflightResult = z.infer<typeof handoffPreflightResultSchema>;
942
-
943
- // ---------------------------------------------------------------------------
944
- // Routing V2 types
945
- // ---------------------------------------------------------------------------
946
-
947
- export const verificationPathSchema = z.enum([
948
- "none",
949
- "documentation-required",
950
- "dependency-verification",
951
- "reduced-tool-surface",
952
- ]);
953
-
954
- export const routingCandidateSchema = z.object({
955
- provider_id: providerIdSchema,
956
- score: z.number(),
957
- disqualified: z.boolean().default(false),
958
- disqualification_reason: z.string().default(""),
959
- verification_path: verificationPathSchema.default("none"),
960
- });
961
-
962
- export const routingDecisionSchema = z.object({
963
- selected: routingCandidateSchema,
964
- fallback: routingCandidateSchema.optional(),
965
- candidates: z.array(routingCandidateSchema),
966
- rationale: z.string(),
967
- constraints_applied: z.array(z.string()),
968
- verification_path: verificationPathSchema,
969
- });
970
-
971
- export const routingConstraintsSchema = z.object({
972
- task_type: taskTypeSchema,
973
- process_mode: processModeSchema,
974
- seed_confidence: z.enum(["high", "medium", "low"]),
975
- repo_exists: z.boolean(),
976
- capability_needed: providerCapabilitySchema,
977
- non_functional_flags: z.array(z.string()).default([]),
978
- blast_radius: riskLevelSchema.default("low"),
979
- provider_readiness: z.record(providerIdSchema, z.boolean()).default({}),
980
- });
981
-
982
- export type VerificationPath = z.infer<typeof verificationPathSchema>;
983
- export type RoutingCandidate = z.infer<typeof routingCandidateSchema>;
984
- export type RoutingDecision = z.infer<typeof routingDecisionSchema>;
985
- export type RoutingConstraints = z.infer<typeof routingConstraintsSchema>;
986
-
987
- // ---------------------------------------------------------------------------
988
- // Reconcile V2 types
989
- // ---------------------------------------------------------------------------
990
-
991
- export const provenanceRecordSchema = z.object({
992
- spec_generation: z.number(),
993
- run_token: z.string().default(""),
994
- agent_id: z.string().default(""),
995
- outputs: z.array(z.string()).default([]),
996
- activity: z.array(z.string()).default([]),
997
- });
998
-
999
- export const reconcileCheckResultSchema = z.object({
1000
- check: z.string(),
1001
- passed: z.boolean(),
1002
- severity: z.enum(["info", "warning", "blocker"]),
1003
- detail: z.string().default(""),
1004
- });
1005
-
1006
- export const traceabilityCoverageSchema = z.object({
1007
- entry_id: z.string(),
1008
- entry_text: z.string(),
1009
- linked_artifacts: z.array(z.string()),
1010
- covered: z.boolean(),
1011
- });
1012
-
1013
- export const reconcileV2ResultSchema = z.object({
1014
- checks: z.array(reconcileCheckResultSchema),
1015
- traceability: z.array(traceabilityCoverageSchema).default([]),
1016
- passed: z.boolean(),
1017
- blockers: z.number().default(0),
1018
- warnings: z.number().default(0),
1019
- recommendation: z.enum(["accept", "accept-with-warnings", "review-required"]),
1020
- summary: z.string(),
1021
- });
1022
-
1023
- export type ProvenanceRecord = z.infer<typeof provenanceRecordSchema>;
1024
- export type ReconcileCheckResult = z.infer<typeof reconcileCheckResultSchema>;
1025
- export type TraceabilityCoverage = z.infer<typeof traceabilityCoverageSchema>;
1026
- export type ReconcileV2Result = z.infer<typeof reconcileV2ResultSchema>;
1027
-
1028
- // ---------------------------------------------------------------------------
1029
- // Approval gates + review packet types
1030
- // ---------------------------------------------------------------------------
1031
-
1032
- export const gateReasonSchema = z.enum([
1033
- "major-scope-change",
1034
- "destructive-rewrite",
1035
- "policy-exception",
1036
- "unparented-high-impact-decision",
1037
- "weak-evidence-high-risk",
1038
- "requirement-removal",
1039
- "trust-boundary-change",
1040
- ]);
1041
-
1042
- export const approvalGateSchema = z.object({
1043
- id: z.string(),
1044
- reason: gateReasonSchema,
1045
- detail: z.string(),
1046
- triggered_by: z.string().default(""),
1047
- evidence_missing: z.array(z.string()).default([]),
1048
- resolution_path: z.string().default(""),
1049
- created_at: z.string(),
1050
- });
1051
-
1052
- export const holdStateSchema = z.object({
1053
- held: z.boolean(),
1054
- gates: z.array(approvalGateSchema),
1055
- held_since: z.string().optional(),
1056
- summary: z.string().default(""),
1057
- resolution_actions: z.array(z.string()).default([]),
1058
- });
1059
-
1060
- export const reviewPacketSchema = z.object({
1061
- project_id: z.string(),
1062
- spec_generation: z.number(),
1063
- requirement_diff_summary: z.string(),
1064
- changed_constraints: z.array(z.string()),
1065
- decisions_with_evidence: z.array(z.object({
1066
- text: z.string(),
1067
- evidence_type: evidenceTypeSchema,
1068
- has_refs: z.boolean(),
1069
- risk_level: riskLevelSchema.optional(),
1070
- })),
1071
- execution_proof: z.object({
1072
- verification_count: z.number(),
1073
- evidence_count: z.number(),
1074
- criteria_met_count: z.number(),
1075
- summary: z.string(),
1076
- }),
1077
- warnings: z.array(z.string()),
1078
- missing_evidence: z.array(z.string()),
1079
- gates: z.array(approvalGateSchema),
1080
- recommendation: z.enum(["accept", "accept-with-warnings", "review-required"]),
1081
- human_summary: z.string(),
1082
- });
1083
-
1084
- export type GateReason = z.infer<typeof gateReasonSchema>;
1085
- export type ApprovalGate = z.infer<typeof approvalGateSchema>;
1086
- export type HoldState = z.infer<typeof holdStateSchema>;
1087
- export type ReviewPacket = z.infer<typeof reviewPacketSchema>;
1088
-
1089
- // ---------------------------------------------------------------------------
1090
- // Gate state — evidence-backed trust labels
1091
- // ---------------------------------------------------------------------------
1092
-
1093
- export const gateStateLabelSchema = z.enum([
1094
- "accepted",
1095
- "accepted-with-cautions",
1096
- "held-for-review",
1097
- "blocked-missing-evidence",
1098
- "pending",
1099
- "not-checked",
1100
- ]);
1101
-
1102
- export const gateStateSchema = z.object({
1103
- label: gateStateLabelSchema,
1104
- reason: z.string(),
1105
- evidence_summary: z.object({
1106
- verification_count: z.number(),
1107
- evidence_count: z.number(),
1108
- criteria_met_count: z.number(),
1109
- caution_count: z.number(),
1110
- blocker_count: z.number(),
1111
- }),
1112
- honest: z.boolean(), // true = label is consistent with evidence
1113
- });
1114
-
1115
- export type GateStateLabel = z.infer<typeof gateStateLabelSchema>;
1116
- export type GateState = z.infer<typeof gateStateSchema>;
1117
-
1118
- // ---------------------------------------------------------------------------
1119
- // Post-execution canonical delta + next slice
1120
- // ---------------------------------------------------------------------------
1121
-
1122
- export const fileChangeSchema = z.object({
1123
- path: z.string(),
1124
- system: z.string().default(""),
1125
- });
1126
-
1127
- export const testCheckSchema = z.object({
1128
- name: z.string(),
1129
- passed: z.boolean(),
1130
- });
1131
-
1132
- export const consequenceTypeSchema = z.enum([
1133
- "code-change",
1134
- "contract-clarification",
1135
- "absorbed-return",
1136
- "open-items-recorded",
1137
- "next-slice-created",
1138
- "closure-recorded",
1139
- "no-change",
1140
- ]);
1141
-
1142
- export const evidenceAccountingSchema = z.object({
1143
- scope_check_count: z.number(),
1144
- scope_check_pass_count: z.number(),
1145
- scope_check_caution_count: z.number(),
1146
- scope_check_blocker_count: z.number(),
1147
- verification_run_count: z.number(),
1148
- verification_runs: z.array(z.string()),
1149
- evidence_item_count: z.number(),
1150
- evidence_items: z.array(z.string()),
1151
- file_change_count: z.number(),
1152
- artifact_change_count: z.number(),
1153
- criteria_met_count: z.number(),
1154
- criteria_met: z.array(z.string()),
1155
- caution_count: z.number(),
1156
- unresolved_count: z.number(),
1157
- boundary_preserved_count: z.number(),
1158
- boundary_violated_count: z.number(),
1159
- consequence_type: consequenceTypeSchema,
1160
- consequence_label: z.string(),
1161
- });
1162
-
1163
- export type ConsequenceType = z.infer<typeof consequenceTypeSchema>;
1164
- export type EvidenceAccounting = z.infer<typeof evidenceAccountingSchema>;
1165
-
1166
- export const canonicalDeltaSchema = z.object({
1167
- // Identity & lineage
1168
- delta_id: z.string().default(""),
1169
- project_id: z.string().default(""),
1170
- parent_contract_id: z.string().default(""),
1171
- return_id: z.string().default(""),
1172
- gate_state: z.string().default(""),
1173
- objective_state: z.enum(["met", "partial", "unmet", "not_started"]).default("not_started"),
1174
- created_at: z.string().default(""),
1175
-
1176
- // What changed
1177
- implemented: z.array(z.string()),
1178
- systems_touched: z.array(z.string()),
1179
- file_changes: z.array(fileChangeSchema).default([]),
1180
- artifact_changes: z.array(z.string()).default([]),
1181
-
1182
- // Evidence
1183
- tests_or_checks: z.array(testCheckSchema).default([]),
1184
- verification_runs: z.array(z.string()).default([]),
1185
- evidence_items: z.array(z.string()).default([]),
1186
-
1187
- // Boundaries
1188
- boundaries_preserved: z.array(z.string()),
1189
- boundaries_violated: z.array(z.string()),
1190
-
1191
- // Open items
1192
- cautions: z.array(z.string()),
1193
- unresolved: z.array(z.string()),
1194
- decisions: z.array(z.object({
1195
- text: z.string(),
1196
- traced: z.boolean(),
1197
- })),
1198
-
1199
- // What advanced
1200
- state_fields_advanced: z.array(z.string()).default([]),
1201
-
1202
- // Display
1203
- summary: z.string(),
1204
-
1205
- // Canonical evidence accounting — single source of truth for all counts
1206
- evidence_accounting: evidenceAccountingSchema.optional(),
1207
-
1208
- // Legacy compat — kept so existing code doesn't break
1209
- verified: z.array(z.string()),
1210
-
1211
- // Next slice seed
1212
- next_slice_seed: z.object({
1213
- title: z.string(),
1214
- rationale: z.string(),
1215
- systems_likely: z.array(z.string()),
1216
- ready: z.boolean(),
1217
- }).optional(),
1218
-
1219
- // Residual resolution rows — maps prior-loop residuals to this loop's evidence
1220
- residual_resolutions: z.array(z.object({
1221
- prior_residual_text: z.string(),
1222
- source: z.enum(["caution", "unresolved", "blocker", "escalation"]),
1223
- loop2_evidence_used: z.string(),
1224
- disposition: z.enum(["resolved", "partially_resolved", "carried_forward", "superseded"]),
1225
- resolution_note: z.string().default(""),
1226
- })).default([]),
1227
- });
1228
-
1229
- export type FileChange = z.infer<typeof fileChangeSchema>;
1230
- export type TestCheck = z.infer<typeof testCheckSchema>;
1231
- export type ResidualResolution = CanonicalDelta["residual_resolutions"][number];
1232
-
1233
- export const nextSliceStatusSchema = z.enum([
1234
- "draft", "ready", "held", "blocked", "dispatched", "superseded", "closed",
1235
- ]);
1236
-
1237
- export const nextSliceSchema = z.object({
1238
- // Identity & lineage
1239
- slice_id: z.string().default(""),
1240
- project_id: z.string().default(""),
1241
- parent_contract_id: z.string().default(""),
1242
- parent_delta_id: z.string().default(""),
1243
- created_from: z.string().default(""),
1244
- created_at: z.string().default(""),
1245
-
1246
- // Core
1247
- title: z.string(),
1248
- objective: z.string().default(""),
1249
- why_next: z.string().default(""),
1250
- status: nextSliceStatusSchema.default("draft"),
1251
- dispatch_ready: z.boolean().default(false),
1252
-
1253
- // Context
1254
- scope: z.array(z.string()),
1255
- systems_in_play: z.array(z.string()),
1256
- required_inputs: z.array(z.string()).default([]),
1257
- expected_evidence: z.array(z.string()).default([]),
1258
- open_dependencies: z.array(z.string()).default([]),
1259
- blocking_reason: z.string().default(""),
1260
-
1261
- // Legacy compat fields (still consumed by UI)
1262
- rationale: z.string(),
1263
- systems_likely: z.array(z.string()),
1264
- ready_for_dispatch: z.boolean(),
1265
- review_reason: z.string().default(""),
1266
- unresolved_blocker: z.string().default(""),
1267
- assumption: z.string().default(""),
1268
- });
1269
-
1270
- export type NextSliceStatus = z.infer<typeof nextSliceStatusSchema>;
1271
-
1272
- export type CanonicalDelta = z.infer<typeof canonicalDeltaSchema>;
1273
- export type NextSlice = z.infer<typeof nextSliceSchema>;
1274
-
1275
- // ---------------------------------------------------------------------------
1276
- // Handoff / route visibility — frontstage-safe dispatch + return linkage
1277
- // ---------------------------------------------------------------------------
1278
-
1279
- export const dispatchSummarySchema = z.object({
1280
- goal: z.string(),
1281
- protected_boundaries: z.array(z.string()),
1282
- expected_outputs: z.array(z.string()),
1283
- acceptance_basis: z.array(z.string()),
1284
- });
1285
-
1286
- export const handoffVisibilitySchema = z.object({
1287
- // Where and why
1288
- surface: surfaceSchema,
1289
- surface_label: z.string(),
1290
- routing_reason: z.string(),
1291
- // Identity
1292
- handoff_id: z.string(),
1293
- contract_title: z.string(),
1294
- // Context
1295
- repo_binding: z.string(),
1296
- systems_in_scope: z.array(z.string()),
1297
- dispatched_at: z.string(),
1298
- // What was sent
1299
- dispatch: dispatchSummarySchema,
1300
- // Return linkage (populated after return)
1301
- return_summary: z.string().default(""),
1302
- return_status: z.string().default(""),
1303
- return_linked: z.boolean().default(false),
1304
- });
1305
-
1306
- export type DispatchSummary = z.infer<typeof dispatchSummarySchema>;
1307
- export type HandoffVisibility = z.infer<typeof handoffVisibilitySchema>;
1308
-
1309
- export const lineageStatusSchema = z.enum([
1310
- "dispatched", "return-received", "absorbed", "held", "rejected",
1311
- ]);
1312
-
1313
- // ---------------------------------------------------------------------------
1314
- // Lane / realization metadata — tracks HOW a governed action was realized
1315
- // ---------------------------------------------------------------------------
1316
-
1317
- export const realizationTypeSchema = z.enum([
1318
- "external_dispatch", // real API/CLI call to an external provider
1319
- "local_compute", // deterministic heuristic / pure function
1320
- "manual_packet", // immutable packet generated for operator transport
1321
- "manual_transport", // operator transported a packet to a surface
1322
- "internal_heuristic", // pattern-matching / rule-based assessment
1323
- ]);
1324
-
1325
- export const agentRoleSchema = z.enum([
1326
- "compiler", // brief/spec compilation
1327
- "executor", // primary bounded execution
1328
- "auditor", // post-execution audit / code review
1329
- "evaluator", // independent evaluation / challenger
1330
- "synthesizer", // internal seed/activation synthesis
1331
- ]);
1332
-
1333
- export const laneRecordSchema = z.object({
1334
- lane_id: z.string(),
1335
- agent_role: agentRoleSchema,
1336
- agent_surface: surfaceSchema,
1337
- realization_type: realizationTypeSchema,
1338
- model: z.string().default(""),
1339
- started_at: z.string().default(""),
1340
- completed_at: z.string().default(""),
1341
- duration_ms: z.number().default(0),
1342
- artifact_id: z.string().default(""),
1343
- status: z.enum(["pending", "running", "completed", "failed", "skipped"]).default("pending"),
1344
- error: z.string().optional(),
1345
- detail: z.string().default(""),
1346
- });
1347
-
1348
- export type RealizationType = z.infer<typeof realizationTypeSchema>;
1349
- export type AgentRole = z.infer<typeof agentRoleSchema>;
1350
- export type LaneRecord = z.infer<typeof laneRecordSchema>;
1351
-
1352
- export const dispatchRecordSchema = z.object({
1353
- // Identity
1354
- dispatch_id: z.string(),
1355
- project_id: z.string(),
1356
- contract_id: z.string(),
1357
-
1358
- // Route decision (stable, machine-readable)
1359
- provider_target: z.string(),
1360
- provider_label: z.string(),
1361
- dispatch_reason: z.string(),
1362
- route_surface: surfaceSchema.optional(),
1363
- route_fallback: surfaceSchema.optional(),
1364
- route_rationale: z.string().default(""),
1365
- slice_id: z.string().default(""),
1366
-
1367
- // Packet (frontstage-safe)
1368
- packet_summary: z.string(),
1369
- bounded_by: z.array(z.string()),
1370
- systems_in_play: z.array(z.string()),
1371
- dispatched_at: z.string(),
1372
-
1373
- // Return linkage
1374
- return_id: z.string().default(""),
1375
- return_received_at: z.string().default(""),
1376
- return_status: z.string().default(""),
1377
- return_summary: z.string().default(""),
1378
- lineage_status: lineageStatusSchema.default("dispatched"),
1379
-
1380
- // Delta linkage
1381
- delta_id: z.string().default(""),
1382
- next_slice_id: z.string().default(""),
1383
- closure_id: z.string().default(""),
1384
-
1385
- // Lane metadata — tracks primary + secondary lane realizations
1386
- realization_type: realizationTypeSchema.default("external_dispatch"),
1387
- lanes: z.array(laneRecordSchema).default([]),
1388
- });
1389
-
1390
- export type LineageStatus = z.infer<typeof lineageStatusSchema>;
1391
- export type DispatchRecord = z.infer<typeof dispatchRecordSchema>;
1392
-
1393
- // ---------------------------------------------------------------------------
1394
- // Reconcile check matrix + review packet — frontstage-safe trust proof
1395
- // ---------------------------------------------------------------------------
1396
-
1397
- export const checkResultSchema = z.enum(["pass", "caution", "missing", "blocked"]);
1398
-
1399
- export const checkMatrixRowSchema = z.object({
1400
- check: z.string(),
1401
- result: checkResultSchema,
1402
- evidence: z.string(),
1403
- why_it_matters: z.string(),
1404
- contributes_to_gate: z.boolean(),
1405
- });
1406
-
1407
- export const checkMatrixSchema = z.object({
1408
- rows: z.array(checkMatrixRowSchema),
1409
- pass_count: z.number(),
1410
- caution_count: z.number(),
1411
- missing_count: z.number(),
1412
- blocked_count: z.number(),
1413
- });
1414
-
1415
- export const reconcileReviewPacketSchema = z.object({
1416
- contract_summary: z.string(),
1417
- delta_summary: z.string(),
1418
- check_matrix: checkMatrixSchema,
1419
- cautions: z.array(z.string()),
1420
- missing_evidence: z.array(z.string()),
1421
- gate_label: z.string(),
1422
- gate_reason: z.string(),
1423
- next_resolution: z.string(),
1424
- });
1425
-
1426
- export type CheckResult = z.infer<typeof checkResultSchema>;
1427
- export type CheckMatrixRow = z.infer<typeof checkMatrixRowSchema>;
1428
- export type CheckMatrix = z.infer<typeof checkMatrixSchema>;
1429
- export type ReconcileReviewPacket = z.infer<typeof reconcileReviewPacketSchema>;
1430
-
1431
- export type ConditionType = z.infer<typeof conditionTypeSchema>;
1432
- export type ConditionStatus = z.infer<typeof conditionStatusSchema>;
1433
- export type Condition = z.infer<typeof conditionSchema>;
1434
- export type ProjectSpec = z.infer<typeof projectSpecSchema>;
1435
- export type ProjectStatus = z.infer<typeof projectStatusSchema>;
1436
- export type ProjectMetadata = z.infer<typeof projectMetadataSchema>;
1437
- export type ProjectResource = z.infer<typeof projectResourceSchema>;
1438
-
1439
- // ---------------------------------------------------------------------------
1440
- // Governance Envelope — single hard finite state model
1441
- // ---------------------------------------------------------------------------
1442
-
1443
- export const activationStateSchema = z.enum([
1444
- "blocked_by_missing_evidence",
1445
- "held_for_review",
1446
- "ready_to_lock",
1447
- "locked",
1448
- ]);
1449
-
1450
- export const gateOutcomeSchema = z.enum([
1451
- "not_evaluated",
1452
- "pending_reconcile",
1453
- "blocked_by_missing_evidence",
1454
- "held_for_review",
1455
- "accepted_with_cautions",
1456
- "accepted",
1457
- ]);
1458
-
1459
- export const closureRecordSchema = z.object({
1460
- // Identity & lineage
1461
- closure_id: z.string().default(""),
1462
- project_id: z.string().default(""),
1463
- return_id: z.string().default(""),
1464
- delta_id: z.string().default(""),
1465
- dispatch_id: z.string().default(""),
1466
-
1467
- // --- SEALED FACTS (immutable after seal) ---
1468
- sealed_at: z.string(),
1469
- gate_outcome: gateOutcomeSchema,
1470
- cautions_at_close: z.array(z.string()),
1471
- unresolved_at_close: z.array(z.string()),
1472
- objective_state: z.enum(["met", "partial", "unmet"]),
1473
- next_slice_at_close: nextSliceSchema.nullable().default(null),
1474
- seal_integrity: z.enum(["verified", "snapshot_empty", "no_return"]).default("verified"),
1475
-
1476
- // --- APPENDED METADATA (added after seal, does NOT revise sealed facts) ---
1477
- feedback_appended_at: z.string().default(""),
1478
- feedback_snapshot: z.record(z.string(), z.unknown()).default({}),
1479
-
1480
- // Legacy compat
1481
- closed_at: z.string(),
1482
- });
1483
-
1484
- export const governanceEnvelopeSchema = z.object({
1485
- // Activation
1486
- activation_state: activationStateSchema,
1487
- activation_blockers: z.array(z.string()),
1488
-
1489
- // Gate (post-return)
1490
- gate_state: gateOutcomeSchema.nullable(),
1491
- gate_reason: z.string().default(""),
1492
-
1493
- // Structured counts — never inferred from prose
1494
- blockers: z.array(z.string()),
1495
- cautions: z.array(z.string()),
1496
- unresolved_items: z.array(z.string()),
1497
- scope_check_count: z.number(),
1498
- scope_check_caution_count: z.number(),
1499
- return_caution_count: z.number(),
1500
- verification_run_count: z.number(),
1501
- evidence_item_count: z.number(),
1502
- objective_state: z.enum(["met", "partial", "unmet", "not_started"]),
1503
-
1504
- // Control flags
1505
- state_advance_allowed: z.boolean(),
1506
- closure_allowed: z.boolean(),
1507
-
1508
- // Closure
1509
- closure_state: closureRecordSchema.nullable(),
1510
- });
1511
-
1512
- export type ActivationState = z.infer<typeof activationStateSchema>;
1513
- export type GateOutcome = z.infer<typeof gateOutcomeSchema>;
1514
- export type ClosureRecord = z.infer<typeof closureRecordSchema>;
1515
- export type GovernanceEnvelope = z.infer<typeof governanceEnvelopeSchema>;
1516
-
1517
- // ---------------------------------------------------------------------------
1518
- // Dispatch Packet Integrity
1519
- // ---------------------------------------------------------------------------
1520
-
1521
- export const packetFindingTypeSchema = z.enum([
1522
- "missing_referenced_artifact",
1523
- "missing_required_contract_input",
1524
- "missing_repo_binding",
1525
- "missing_parent_context",
1526
- "unresolved_placeholder",
1527
- "empty_required_field",
1528
- "packet_contract_mismatch",
1529
- ]);
1530
-
1531
- export const packetFindingSeveritySchema = z.enum(["blocking", "caution"]);
1532
-
1533
- export const packetFindingSchema = z.object({
1534
- type: packetFindingTypeSchema,
1535
- severity: packetFindingSeveritySchema,
1536
- field: z.string(),
1537
- detail: z.string(),
1538
- });
1539
-
1540
- export const packetIntegrityOutcomeSchema = z.enum(["ready", "ready_with_cautions", "blocked"]);
1541
-
1542
- export const packetIntegrityResultSchema = z.object({
1543
- outcome: packetIntegrityOutcomeSchema,
1544
- findings: z.array(packetFindingSchema),
1545
- blocking_findings_count: z.number(),
1546
- caution_findings_count: z.number(),
1547
- checked_at: z.string(),
1548
- checked_against_contract_version: z.string(),
1549
- validator_version: z.string(),
1550
- });
1551
-
1552
- export type PacketFindingType = z.infer<typeof packetFindingTypeSchema>;
1553
- export type PacketFindingSeverity = z.infer<typeof packetFindingSeveritySchema>;
1554
- export type PacketFinding = z.infer<typeof packetFindingSchema>;
1555
- export type PacketIntegrityOutcome = z.infer<typeof packetIntegrityOutcomeSchema>;
1556
- export type PacketIntegrityResult = z.infer<typeof packetIntegrityResultSchema>;
1557
-
1558
- // ---------------------------------------------------------------------------
1559
- // Pressure Signals + Evidence-Required Acceptance
1560
- // ---------------------------------------------------------------------------
1561
-
1562
- export const pressureSignalTypeSchema = z.enum([
1563
- "repeated_failed_attempts",
1564
- "repeated_retry_loop",
1565
- "missing_context_encountered",
1566
- "objective_partial",
1567
- "claimed_implementation_without_artifact_change",
1568
- "missing_required_evidence",
1569
- "test_failure_or_absent_tests_when_expected",
1570
- "execution_error_or_tool_failure",
1571
- "suspicious_return_shape_for_task_type",
1572
- ]);
1573
-
1574
- export const pressureSignalSchema = z.object({
1575
- type: pressureSignalTypeSchema,
1576
- detail: z.string(),
1577
- });
1578
-
1579
- export const evidenceSufficiencyOutcomeSchema = z.enum([
1580
- "sufficient",
1581
- "partial",
1582
- "insufficient",
1583
- ]);
1584
-
1585
- export const pressureAssessmentSchema = z.object({
1586
- signals: z.array(pressureSignalSchema),
1587
- pressure_detected: z.boolean(),
1588
- evidence_requirements: z.array(z.string()),
1589
- evidence_items_present: z.array(z.string()),
1590
- evidence_items_missing: z.array(z.string()),
1591
- evidence_sufficiency: evidenceSufficiencyOutcomeSchema,
1592
- acceptance_decision_reason: z.string(),
1593
- task_type_basis: z.string(),
1594
- checked_at: z.string(),
1595
- });
1596
-
1597
- export type PressureSignalType = z.infer<typeof pressureSignalTypeSchema>;
1598
- export type PressureSignal = z.infer<typeof pressureSignalSchema>;
1599
- export type EvidenceSufficiencyOutcome = z.infer<typeof evidenceSufficiencyOutcomeSchema>;
1600
- export type PressureAssessment = z.infer<typeof pressureAssessmentSchema>;
1601
-
1602
- // ---------------------------------------------------------------------------
1603
- // Evidence Proof — semantically distinct layers of evidence
1604
- // ---------------------------------------------------------------------------
1605
-
1606
- /**
1607
- * Separates structured proof rows, extracted return fields, policy
1608
- * satisfaction, and canonical advancement so no two surfaces can
1609
- * disagree about what evidence exists.
1610
- */
1611
- export const evidenceProofSchema = z.object({
1612
- // Layer 1: Structured proof rows (from return arrays, countable)
1613
- structured_paths: z.number(), // return.changed_files.length
1614
- structured_artifacts: z.number(), // return.artifacts_created.filter(Boolean).length
1615
- structured_verification_lines: z.number(), // return.verification_run.length
1616
- structured_evidence_lines: z.number(), // return.evidence.length
1617
- structured_criteria_met: z.number(), // return.success_criteria_met.length
1618
-
1619
- // Layer 2: Policy evaluation (from checkEvidenceSufficiency)
1620
- policy_task_type: z.string(), // effective task type used for policy
1621
- policy_requirements: z.array(z.string()), // what was required
1622
- policy_satisfied: z.array(z.string()), // what was met
1623
- policy_missing: z.array(z.string()), // what was not met
1624
- policy_outcome: z.string(), // sufficient / partial / insufficient
1625
-
1626
- // Layer 3: Canonical advancement (what actually changed in governed state)
1627
- state_fields_advanced: z.array(z.string()),
1628
- consequence_type: z.string(), // code-change / contract-clarification / etc
1629
- consequence_label: z.string(),
1630
-
1631
- // Layer 4: Provenance — captured vs reconstructed evidence
1632
- provenance_captured_count: z.number().default(0), // proof artifacts with provenance=captured
1633
- provenance_reconstructed_count: z.number().default(0), // proof artifacts with provenance=reconstructed
1634
- provenance_derived_count: z.number().default(0), // proof artifacts with provenance=derived
1635
- has_execution_transcript: z.boolean().default(false), // whether raw transcript was captured
1636
- proof_folder: z.string().optional(), // path to run proof folder
1637
- });
1638
-
1639
- export type EvidenceProof = z.infer<typeof evidenceProofSchema>;
1640
-
1641
- // ---------------------------------------------------------------------------
1642
- // Canonical Run Snapshot — single source of truth for all surfaces
1643
- // ---------------------------------------------------------------------------
1644
-
1645
- export const runPhaseSchema = z.enum([
1646
- "no_project",
1647
- "activation_blocked",
1648
- "activation_held",
1649
- "ready_to_lock",
1650
- "locked",
1651
- "dispatched",
1652
- "return_received",
1653
- "absorbed",
1654
- "accepted",
1655
- "accepted_with_cautions",
1656
- "held_for_review",
1657
- "blocked",
1658
- "closed",
1659
- ]);
1660
-
1661
- export const homeBucketSchema = z.enum([
1662
- "needs_attention",
1663
- "recently_changed",
1664
- "held_or_blocked",
1665
- "ready_to_execute",
1666
- "feedback_pending",
1667
- "recently_closed",
1668
- "idle",
1669
- ]);
1670
-
1671
- export const runSnapshotSchema = z.object({
1672
- // Phase — exactly one
1673
- phase: runPhaseSchema,
1674
-
1675
- // Gate — from tightened derivation (null before return)
1676
- gate_label: z.string().default(""),
1677
- gate_reason: z.string().default(""),
1678
- hold_source: z.enum(["none", "reconcile", "pressure", "audit"]).default("none"),
1679
-
1680
- // Cautions + unresolved — single canonical source for ALL surfaces
1681
- cautions_on_record: z.array(z.string()),
1682
- unresolved_on_record: z.array(z.string()),
1683
-
1684
- // Next slice readiness
1685
- next_slice_ready: z.boolean(),
1686
- next_slice_status: z.string().default(""),
1687
- next_slice_blocking_reason: z.string().default(""),
1688
-
1689
- // Task type — from seed, immutable for the run
1690
- task_type_basis: z.string(),
1691
-
1692
- // Home bucket — deterministic from phase + gate + unresolved
1693
- home_bucket: homeBucketSchema,
1694
-
1695
- // Closure
1696
- is_closed: z.boolean(),
1697
- closure_allowed: z.boolean(),
1698
- state_advance_allowed: z.boolean(),
1699
-
1700
- // Counts — from evidence accounting (legacy, kept for compat)
1701
- verification_run_count: z.number(),
1702
- evidence_item_count: z.number(),
1703
- caution_count: z.number(),
1704
- unresolved_count: z.number(),
1705
-
1706
- // Evidence proof — semantically layered evidence model
1707
- evidence_proof: evidenceProofSchema.optional(),
1708
-
1709
- // --- Strict status schema — 5 distinct fields, projected consistently ---
1710
- // merge_outcome: what the gate decided about canonical advancement
1711
- merge_outcome: z.enum(["not_evaluated", "accepted", "accepted_with_cautions", "held", "blocked"]).default("not_evaluated"),
1712
- // run_outcome: what the execution actually produced
1713
- run_outcome: z.enum(["not_started", "done", "partial", "blocked"]).default("not_started"),
1714
- // closure_posture: whether the run can/has been sealed
1715
- closure_posture: z.enum(["open", "closable", "closable_with_cautions", "sealed", "not_closable"]).default("open"),
1716
- // seal_integrity: did the seal capture what was on record
1717
- seal_integrity: z.enum(["not_sealed", "verified", "snapshot_empty", "no_return"]).default("not_sealed"),
1718
- // next_slice_posture: what the next bounded slice's readiness is
1719
- next_slice_posture: z.enum(["none", "draft", "ready", "blocked", "held"]).default("none"),
1720
- // systems_touched: from file paths, not text inference
1721
- systems_touched: z.array(z.string()).default([]),
1722
-
1723
- // --- Independent evaluation state (populated after receipt evaluation) ---
1724
- evaluation_verdict: z.enum(["not_evaluated", "pass", "pass_with_flags", "fail", "inconclusive"]).default("not_evaluated"),
1725
- evaluation_finding_count: z.number().default(0),
1726
- evaluation_reentry_signal: z.enum(["none", "hold_recommended", "block_recommended", "caution_added"]).default("none"),
1727
-
1728
- derived_at: z.string(),
1729
- });
1730
-
1731
- export type RunPhase = z.infer<typeof runPhaseSchema>;
1732
- export type HomeBucket = z.infer<typeof homeBucketSchema>;
1733
- export type RunSnapshot = z.infer<typeof runSnapshotSchema>;
1734
-
1735
- // ---------------------------------------------------------------------------
1736
- // Governed Build Map — operator-readable scaffold of what was built
1737
- // ---------------------------------------------------------------------------
1738
-
1739
- export const buildAreaStatusSchema = z.enum([
1740
- "official",
1741
- "provisional",
1742
- "changed_this_run",
1743
- "carries_unresolved",
1744
- "carries_caution",
1745
- "linkage_unknown",
1746
- ]);
1747
-
1748
- export const canonicalLinkageSchema = z.object({
1749
- source: z.string(),
1750
- field: z.string(),
1751
- strength: z.enum(["strong", "weak", "none"]),
1752
- });
1753
-
1754
- export const buildAreaSchema = z.object({
1755
- area_id: z.string(),
1756
- label: z.string(),
1757
- what_it_is: z.string(),
1758
- why_it_exists: z.string(),
1759
- repo_paths: z.array(z.string()),
1760
- artifacts: z.array(z.string()),
1761
- linked_canonical_sources: z.array(canonicalLinkageSchema),
1762
- introduced_by_run: z.string().default(""),
1763
- changed_by_run: z.string().default(""),
1764
- current_status: buildAreaStatusSchema,
1765
- cautions: z.array(z.string()).default([]),
1766
- unresolved: z.array(z.string()).default([]),
1767
- });
1768
-
1769
- export const buildMapSchema = z.object({
1770
- project_id: z.string(),
1771
- areas: z.array(buildAreaSchema),
1772
- total_paths: z.number(),
1773
- total_areas: z.number(),
1774
- derived_at: z.string(),
1775
- run_id: z.string().default(""),
1776
- });
1777
-
1778
- export type BuildAreaStatus = z.infer<typeof buildAreaStatusSchema>;
1779
- export type CanonicalLinkage = z.infer<typeof canonicalLinkageSchema>;
1780
- export type BuildArea = z.infer<typeof buildAreaSchema>;
1781
- export type BuildMap = z.infer<typeof buildMapSchema>;
1782
-
1783
- // ---------------------------------------------------------------------------
1784
- // Lock Readiness — task-aware activation requirements
1785
- // ---------------------------------------------------------------------------
1786
-
1787
- export const lockFindingSeveritySchema = z.enum(["blocking", "caution"]);
1788
-
1789
- export const lockFindingCategorySchema = z.enum([
1790
- "missing_required_input",
1791
- "missing_task_boundary",
1792
- "missing_scope",
1793
- "missing_systems",
1794
- "missing_repo_binding",
1795
- "vague_intent",
1796
- "product_guardrail_only",
1797
- "unresolved_assumption",
1798
- ]);
1799
-
1800
- export const lockFindingSchema = z.object({
1801
- category: lockFindingCategorySchema,
1802
- severity: lockFindingSeveritySchema,
1803
- field: z.string(),
1804
- detail: z.string(),
1805
- });
1806
-
1807
- export const lockReadinessOutcomeSchema = z.enum([
1808
- "lock_allowed",
1809
- "lock_allowed_with_cautions",
1810
- "lock_blocked",
1811
- ]);
1812
-
1813
- export const lockReadinessSchema = z.object({
1814
- outcome: lockReadinessOutcomeSchema,
1815
- findings: z.array(lockFindingSchema),
1816
- blocking_count: z.number(),
1817
- caution_count: z.number(),
1818
- task_type_basis: z.string(),
1819
- checked_at: z.string(),
1820
- });
1821
-
1822
- export type LockFindingSeverity = z.infer<typeof lockFindingSeveritySchema>;
1823
- export type LockFindingCategory = z.infer<typeof lockFindingCategorySchema>;
1824
- export type LockFinding = z.infer<typeof lockFindingSchema>;
1825
- export type LockReadinessOutcome = z.infer<typeof lockReadinessOutcomeSchema>;
1826
- export type LockReadiness = z.infer<typeof lockReadinessSchema>;
1827
-
1828
- // ---------------------------------------------------------------------------
1829
- // Dispatch Receipt — auditable dispatch lifecycle
1830
- // ---------------------------------------------------------------------------
1831
-
1832
- export const dispatchPhaseSchema = z.enum([
1833
- "packet_prepared",
1834
- "packet_committed",
1835
- "provider_acknowledged",
1836
- "return_received",
1837
- "failed",
1838
- ]);
1839
-
1840
- export const dispatchReceiptSchema = z.object({
1841
- // Identity
1842
- receipt_id: z.string(),
1843
- dispatch_id: z.string(),
1844
- packet_version: z.number(),
1845
-
1846
- // What was sent
1847
- destination_surface: z.string(),
1848
- destination_label: z.string(),
1849
- governing_contract_id: z.string(),
1850
- packet_hash: z.string(),
1851
- prompt_hash: z.string(),
1852
- included_artifact_ids: z.array(z.string()),
1853
-
1854
- // Lifecycle
1855
- phase: dispatchPhaseSchema,
1856
- prepared_at: z.string(),
1857
- committed_at: z.string().default(""),
1858
- acknowledged_at: z.string().default(""),
1859
- return_received_at: z.string().default(""),
1860
- failed_at: z.string().default(""),
1861
-
1862
- // Provider acknowledgment
1863
- provider_run_ref: z.string().default(""),
1864
- provider_ack_available: z.boolean().default(false),
1865
-
1866
- // Model config snapshot
1867
- model_used: z.string().default(""),
1868
- execution_duration_ms: z.number().default(0),
1869
-
1870
- // Return linkage
1871
- return_id: z.string().default(""),
1872
- delta_id: z.string().default(""),
1873
- });
1874
-
1875
- export type DispatchPhase = z.infer<typeof dispatchPhaseSchema>;
1876
- export type DispatchReceipt = z.infer<typeof dispatchReceiptSchema>;
1877
-
1878
- // ---------------------------------------------------------------------------
1879
- // Codex Audit — post-execution lane for code-touching work
1880
- // ---------------------------------------------------------------------------
1881
-
1882
- export const auditTriggerSchema = z.enum([
1883
- "auth_logic",
1884
- "payment_logic",
1885
- "database_migration",
1886
- "dangerous_mode",
1887
- "operator_requested",
1888
- ]);
1889
-
1890
- export const auditFindingSeveritySchema = z.enum(["pass", "caution", "blocker"]);
1891
-
1892
- export const auditFindingSchema = z.object({
1893
- check: z.string(),
1894
- severity: auditFindingSeveritySchema,
1895
- detail: z.string(),
1896
- files_affected: z.array(z.string()).default([]),
1897
- });
1898
-
1899
- export const auditResultSchema = z.object({
1900
- audit_id: z.string(),
1901
- return_id: z.string(),
1902
- triggered_by: z.array(auditTriggerSchema),
1903
- audit_required: z.boolean(),
1904
- outcome: z.enum(["pass", "pass_with_cautions", "blocker", "skipped", "not_required"]),
1905
- findings: z.array(auditFindingSchema),
1906
- blocker_count: z.number(),
1907
- caution_count: z.number(),
1908
- systems_audited: z.array(z.string()),
1909
- checked_at: z.string(),
1910
- });
1911
-
1912
- export type AuditTrigger = z.infer<typeof auditTriggerSchema>;
1913
- export type AuditFindingSeverity = z.infer<typeof auditFindingSeveritySchema>;
1914
- export type AuditFinding = z.infer<typeof auditFindingSchema>;
1915
- export type AuditResult = z.infer<typeof auditResultSchema>;
1916
-
1917
- // ---------------------------------------------------------------------------
1918
- // Proof Capture — execution-time evidence with explicit provenance
1919
- // ---------------------------------------------------------------------------
1920
-
1921
- export const provenanceLabelSchema = z.enum([
1922
- "captured", // observed/recorded during execution (raw transcripts, CLI output)
1923
- "reconstructed", // inferred or summarized after execution
1924
- "derived", // computed from other proof artifacts (hashes, diffs)
1925
- ]);
1926
-
1927
- export const proofArtifactKindSchema = z.enum([
1928
- "execution-transcript", // raw SDK/agent output
1929
- "cli-output", // captured command output
1930
- "http-transcript", // raw HTTP request/response
1931
- "file-snapshot", // file content at capture time
1932
- "dispatch-metadata", // what was sent to the executor
1933
- "return-structured", // the parsed structured return
1934
- "verification-output", // test/check output
1935
- "execution-trace", // structured step-by-step trace of execution
1936
- "failure-context", // structured failure breakdown
1937
- "custom", // operator-defined proof
1938
- "overflow-context", // externalized overflow content (progressive disclosure)
1939
- ]);
1940
-
1941
- export const proofArtifactSchema = z.object({
1942
- artifact_id: z.string(),
1943
- kind: proofArtifactKindSchema,
1944
- provenance: provenanceLabelSchema,
1945
- filename: z.string(),
1946
- captured_at: z.string(),
1947
- size_bytes: z.number().default(0),
1948
- content_hash: z.string().default(""),
1949
- description: z.string().default(""),
1950
- });
1951
-
1952
- export const proofManifestSchema = z.object({
1953
- manifest_id: z.string(),
1954
- dispatch_id: z.string(),
1955
- run_folder: z.string(),
1956
- created_at: z.string(),
1957
- artifacts: z.array(proofArtifactSchema),
1958
- provenance_summary: z.object({
1959
- captured_count: z.number(),
1960
- reconstructed_count: z.number(),
1961
- derived_count: z.number(),
1962
- total_size_bytes: z.number(),
1963
- }),
1964
- });
1965
-
1966
- export type ProvenanceLabel = z.infer<typeof provenanceLabelSchema>;
1967
- export type ProofArtifactKind = z.infer<typeof proofArtifactKindSchema>;
1968
- export type ProofArtifact = z.infer<typeof proofArtifactSchema>;
1969
- export type ProofManifest = z.infer<typeof proofManifestSchema>;
1970
-
1971
- // ---------------------------------------------------------------------------
1972
- // Live Event — canonical observable event for all live consumers
1973
- // ---------------------------------------------------------------------------
1974
-
1975
- export const liveEventKindSchema = z.enum([
1976
- "status-changed",
1977
- "dispatched",
1978
- "return-received",
1979
- "gate-resolved",
1980
- "evaluation-completed",
1981
- "operator-action-required",
1982
- "closure-sealed",
1983
- "loop-advanced",
1984
- "error",
1985
- ]);
1986
-
1987
- export const budgetPostureSchema = z.enum([
1988
- "nominal",
1989
- "caution",
1990
- "over-budget",
1991
- "unknown",
1992
- ]);
1993
-
1994
- export const liveProvenanceLevelSchema = z.enum([
1995
- "captured",
1996
- "reconstructed",
1997
- "derived",
1998
- "synthetic",
1999
- "unknown",
2000
- ]);
2001
-
2002
- export const liveEventSchema = z.object({
2003
- // Identity
2004
- event_id: z.string(),
2005
- kind: liveEventKindSchema,
2006
- timestamp: z.string(),
2007
-
2008
- // Project / run identity
2009
- project_id: z.string(),
2010
- dispatch_id: z.string().default(""),
2011
- slice_id: z.string().default(""),
2012
- loop_ordinal: z.number().default(-1),
2013
-
2014
- // Surface identity
2015
- surface: surfaceSchema.optional(),
2016
- surface_label: z.string().default(""),
2017
- surface_fallback: surfaceSchema.optional(),
2018
- route_rationale: z.string().default(""),
2019
- role: z.enum(["agent", "operator"]).default("agent"),
2020
-
2021
- // Status projection (from RunSnapshot)
2022
- phase: runPhaseSchema,
2023
- home_bucket: homeBucketSchema,
2024
- gate_label: z.string().default(""),
2025
- hold_source: z.enum(["none", "reconcile", "pressure", "audit"]).default("none"),
2026
-
2027
- // Operator signal
2028
- operator_action_required: z.boolean().default(false),
2029
- operator_action: z.string().default(""),
2030
-
2031
- // Budget posture
2032
- budget_posture: budgetPostureSchema.default("unknown"),
2033
-
2034
- // Provenance level
2035
- provenance_level: liveProvenanceLevelSchema.default("unknown"),
2036
-
2037
- // Outcome projection (from strict status schema)
2038
- merge_outcome: z.enum(["not_evaluated", "accepted", "accepted_with_cautions", "held", "blocked"]).default("not_evaluated"),
2039
- run_outcome: z.enum(["not_started", "done", "partial", "blocked"]).default("not_started"),
2040
- closure_posture: z.enum(["open", "closable", "closable_with_cautions", "sealed", "not_closable"]).default("open"),
2041
-
2042
- // Lightweight counts
2043
- caution_count: z.number().default(0),
2044
- unresolved_count: z.number().default(0),
2045
-
2046
- // Lane identity (which governed lane produced this event)
2047
- agent_role: agentRoleSchema.optional(),
2048
- realization_type: realizationTypeSchema.optional(),
2049
-
2050
- // Human-readable detail
2051
- detail: z.string().default(""),
2052
- });
2053
-
2054
- export type LiveEventKind = z.infer<typeof liveEventKindSchema>;
2055
- export type BudgetPosture = z.infer<typeof budgetPostureSchema>;
2056
- export type LiveProvenanceLevel = z.infer<typeof liveProvenanceLevelSchema>;
2057
- export type LiveEvent = z.infer<typeof liveEventSchema>;
2058
-
2059
- // ---------------------------------------------------------------------------
2060
- // Normalized Return Envelope — governed common shape for multi-tool returns
2061
- // ---------------------------------------------------------------------------
2062
- //
2063
- // Every surface (ChatGPT, Claude Code, Cursor) produces returns in slightly
2064
- // different shapes. The NormalizedReturnEnvelope maps any surface's raw
2065
- // return into a single governed form that downstream receipt, audit, and
2066
- // delta logic can trust without surface-specific branching.
2067
- //
2068
- // Content modes track HOW a value was obtained at the source:
2069
- // direct — the surface produced this value explicitly
2070
- // wrapped — the value was present but reformatted to fit the schema
2071
- // inferred — the value was derived from other fields or context
2072
- // reconstructed — the value was rebuilt after the fact from logs/artifacts
2073
- // ---------------------------------------------------------------------------
2074
-
2075
- export const contentModeSchema = z.enum(["direct", "wrapped", "inferred", "reconstructed"]);
2076
-
2077
- export const outcomeClassSchema = z.enum([
2078
- "completed", // objective fully met, done_when satisfied
2079
- "partial", // some progress, objective not fully met
2080
- "blocked", // execution could not proceed
2081
- "errored", // execution failed unexpectedly
2082
- "absorbed", // return ingested but no meaningful change recorded
2083
- ]);
2084
-
2085
- export const sourceRoleSchema = z.enum(["agent", "operator", "system"]);
2086
-
2087
- export const normalizedEvidenceItemSchema = z.object({
2088
- text: z.string(),
2089
- content_mode: contentModeSchema,
2090
- });
2091
-
2092
- export const normalizedCautionSchema = z.object({
2093
- text: z.string(),
2094
- source: z.enum(["return", "reconcile", "audit", "pressure"]),
2095
- });
2096
-
2097
- export const normalizedResidualSchema = z.object({
2098
- text: z.string(),
2099
- kind: z.enum(["blocker", "escalation", "unresolved"]),
2100
- });
2101
-
2102
- export const normalizedReturnEnvelopeSchema = z.object({
2103
- // Identity
2104
- envelope_id: z.string(),
2105
- envelope_version: z.literal(1),
2106
- created_at: z.string(),
2107
-
2108
- // Source
2109
- source_surface: surfaceSchema,
2110
- source_role: sourceRoleSchema,
2111
-
2112
- // Objective
2113
- objective_used: z.string(),
2114
- outcome_class: outcomeClassSchema,
2115
-
2116
- // Changed files — pre-classified with system detection
2117
- changed_files: z.array(z.object({
2118
- path: z.string(),
2119
- system: z.string().default(""),
2120
- })).default([]),
2121
- touched_artifacts: z.array(z.string()).default([]),
2122
-
2123
- // Actions / commands actually executed
2124
- commands_run: z.array(z.string()).default([]),
2125
-
2126
- // Evidence — each item tagged with how it was obtained
2127
- evidence_items: z.array(normalizedEvidenceItemSchema).default([]),
2128
- verification_runs: z.array(normalizedEvidenceItemSchema).default([]),
2129
- criteria_met: z.array(normalizedEvidenceItemSchema).default([]),
2130
-
2131
- // Decisions
2132
- decisions: z.array(z.object({
2133
- text: z.string(),
2134
- content_mode: contentModeSchema,
2135
- })).default([]),
2136
-
2137
- // Cautions — typed by where they originate
2138
- cautions: z.array(normalizedCautionSchema).default([]),
2139
-
2140
- // Residuals — open items that carry forward
2141
- residuals: z.array(normalizedResidualSchema).default([]),
2142
-
2143
- // Next step
2144
- recommended_next_step: z.string().default(""),
2145
-
2146
- // Provenance posture — overall confidence in the return's content
2147
- provenance_posture: z.enum(["captured", "reconstructed", "derived", "mixed", "unknown"]).default("unknown"),
2148
- confidence_posture: z.enum(["high", "medium", "low", "unknown"]).default("unknown"),
2149
-
2150
- // Summary
2151
- summary: z.string(),
2152
-
2153
- // Lineage — ties this envelope back to the dispatch/handoff that produced it
2154
- handoff_id: z.string().default(""),
2155
- dispatch_id: z.string().default(""),
2156
- return_id: z.string().default(""),
2157
- });
2158
-
2159
- export type ContentMode = z.infer<typeof contentModeSchema>;
2160
- export type OutcomeClass = z.infer<typeof outcomeClassSchema>;
2161
- export type SourceRole = z.infer<typeof sourceRoleSchema>;
2162
- export type NormalizedEvidenceItem = z.infer<typeof normalizedEvidenceItemSchema>;
2163
- export type NormalizedCaution = z.infer<typeof normalizedCautionSchema>;
2164
- export type NormalizedResidual = z.infer<typeof normalizedResidualSchema>;
2165
- export type NormalizedReturnEnvelope = z.infer<typeof normalizedReturnEnvelopeSchema>;
2166
-
2167
- // ---------------------------------------------------------------------------
2168
- // Audited Receipt — the official product-level receipt object
2169
- // ---------------------------------------------------------------------------
2170
- //
2171
- // The audited receipt is the thing the system trusts.
2172
- // NOT the raw executor output. NOT the normalized envelope alone.
2173
- //
2174
- // It synthesizes: normalized return + canonical delta + gate verdict +
2175
- // evidence accounting + closure posture + next-slice basis into a single
2176
- // governed object that downstream UI, closure, and dispatch logic can
2177
- // consume as the official record of what happened.
2178
- // ---------------------------------------------------------------------------
2179
-
2180
- export const claimDispositionSchema = z.enum([
2181
- "proven", // verification + evidence directly backs this
2182
- "supported", // evidence exists but no independent verification
2183
- "partial", // some evidence exists but coverage is incomplete
2184
- "inferred", // derived from context, not directly proven
2185
- "unsubstantiated", // claimed but no backing evidence found
2186
- ]);
2187
-
2188
- export const trustPostureSchema = z.enum([
2189
- "verified", // gate accepted, evidence sufficient, no unresolved
2190
- "cautioned", // gate accepted with cautions
2191
- "held", // gate held for review
2192
- "blocked", // gate blocked — missing evidence or blocker
2193
- "unknown", // insufficient data to determine
2194
- ]);
2195
-
2196
- export const claimAssessmentSchema = z.object({
2197
- claim: z.string(),
2198
- disposition: claimDispositionSchema,
2199
- basis: z.string(),
2200
- });
2201
-
2202
- export const auditedReceiptSchema = z.object({
2203
- // Identity & lineage
2204
- receipt_id: z.string(),
2205
- receipt_version: z.literal(1),
2206
- created_at: z.string(),
2207
- project_id: z.string().default(""),
2208
- dispatch_id: z.string().default(""),
2209
- return_id: z.string().default(""),
2210
- envelope_id: z.string().default(""),
2211
- delta_id: z.string().default(""),
2212
-
2213
- // --- WHAT WAS CLAIMED ---
2214
- objective_claimed: z.string(),
2215
- outcome_claimed: outcomeClassSchema,
2216
- summary_claimed: z.string(),
2217
-
2218
- // --- WHAT WAS PROVEN (structured counts from evidence accounting) ---
2219
- verification_count: z.number(),
2220
- evidence_count: z.number(),
2221
- criteria_met_count: z.number(),
2222
- files_changed_count: z.number(),
2223
-
2224
- // Claim-vs-proof rows — each significant claim assessed
2225
- claim_assessments: z.array(claimAssessmentSchema).default([]),
2226
-
2227
- // --- GATE VERDICT ---
2228
- gate_label: gateStateLabelSchema,
2229
- gate_reason: z.string(),
2230
- gate_honest: z.boolean(),
2231
-
2232
- // --- PROVENANCE ---
2233
- provenance_posture: z.enum(["captured", "reconstructed", "derived", "mixed", "unknown"]).default("unknown"),
2234
- confidence_posture: z.enum(["high", "medium", "low", "unknown"]).default("unknown"),
2235
-
2236
- // --- CLOSURE ---
2237
- closure_allowed: z.boolean(),
2238
- closure_basis: z.string(),
2239
-
2240
- // --- AUDIT FINDINGS (explicit, not just reflected in gate) ---
2241
- audit_required: z.boolean().default(false),
2242
- audit_finding_count: z.number().default(0),
2243
- audit_cautions: z.array(z.string()).default([]),
2244
- audit_blockers: z.array(z.string()).default([]),
2245
-
2246
- // --- RESIDUALS (carry forward) ---
2247
- cautions_on_record: z.array(z.string()).default([]),
2248
- unresolved_on_record: z.array(z.string()).default([]),
2249
- residual_count: z.number(),
2250
-
2251
- // --- CANONICAL ADVANCEMENT ---
2252
- state_advanced: z.boolean(),
2253
- advancement_basis: z.string(),
2254
- consequence_type: consequenceTypeSchema,
2255
- consequence_label: z.string(),
2256
-
2257
- // --- NEXT SLICE (with basis — why this is the next bounded move) ---
2258
- next_slice_exists: z.boolean(),
2259
- next_slice_id: z.string().default(""),
2260
- next_slice_title: z.string().default(""),
2261
- next_slice_ready: z.boolean().default(false),
2262
- next_slice_why: z.string().default(""),
2263
- next_slice_blocking_reason: z.string().default(""),
2264
-
2265
- // --- EXECUTION TRACE SUMMARY (lightweight optimization inputs) ---
2266
- trace_step_count: z.number().default(0),
2267
- trace_tool_use_count: z.number().default(0),
2268
- trace_failure_phase: z.string().default(""), // empty = no failure; otherwise the phase where failure occurred
2269
- trace_error_category: z.string().default(""), // empty = no error; otherwise a short classification
2270
- trace_duration_ms: z.number().default(0),
2271
- trace_available: z.boolean().default(false), // true if a structured execution-trace artifact exists
2272
-
2273
- // --- BUDGET BREAKDOWN (task / verification / correction) ---
2274
- budget_task_steps: z.number().default(0),
2275
- budget_task_tool_uses: z.number().default(0),
2276
- budget_verification_steps: z.number().default(0),
2277
- budget_verification_tool_uses: z.number().default(0),
2278
- budget_correction_steps: z.number().default(0),
2279
- budget_correction_tool_uses: z.number().default(0),
2280
- budget_overhead_ratio: z.number().default(0), // (verification + correction) / total
2281
- budget_had_corrections: z.boolean().default(false), // true if any correction effort was recorded
2282
- budget_posture: budgetPostureSchema.default("unknown"),
2283
- budget_posture_basis: z.string().default(""),
2284
-
2285
- // --- OVERFLOW / PROGRESSIVE DISCLOSURE ---
2286
- overflow_entry_count: z.number().default(0),
2287
- overflow_total_bytes: z.number().default(0),
2288
- overflow_sources: z.array(z.string()).default([]),
2289
- overflow_available: z.boolean().default(false),
2290
-
2291
- // --- OVERALL TRUST POSTURE ---
2292
- trust_posture: trustPostureSchema,
2293
- trust_basis: z.string(),
2294
- });
2295
-
2296
- export type ClaimDisposition = z.infer<typeof claimDispositionSchema>;
2297
- export type TrustPosture = z.infer<typeof trustPostureSchema>;
2298
- export type ClaimAssessment = z.infer<typeof claimAssessmentSchema>;
2299
- export type AuditedReceipt = z.infer<typeof auditedReceiptSchema>;
2300
-
2301
- // ---------------------------------------------------------------------------
2302
- // Independent Evaluation Lane — model-independent governance assessment
2303
- // ---------------------------------------------------------------------------
2304
- //
2305
- // The evaluation lane is structurally distinct from the builder/executor lane.
2306
- // It receives a receipt + proof context and produces an independent assessment
2307
- // that re-enters the governed loop as a first-class governance signal.
2308
- //
2309
- // Key invariant: the evaluator never re-executes. It assesses what happened
2310
- // against what was contracted, using the audited receipt and proof artifacts
2311
- // as its sole inputs.
2312
- // ---------------------------------------------------------------------------
2313
-
2314
- // ---------------------------------------------------------------------------
2315
- // Validation Scope — layered eval scope model
2316
- // ---------------------------------------------------------------------------
2317
- //
2318
- // micro-check: fast, local, low-cost — claim coverage + basic evidence check
2319
- // slice-check: contract compliance + proof chain for a single slice/dispatch
2320
- // full-run: end-to-end evaluation including cross-slice lineage and promotion
2321
- //
2322
- // The scope is declared on evaluation input, persisted on the result, and
2323
- // used by the promotion gate to enforce that broader checks are required
2324
- // before higher-trust promotion.
2325
- // ---------------------------------------------------------------------------
2326
-
2327
- export const validationScopeSchema = z.enum([
2328
- "micro-check", // fast local check — claim coverage only
2329
- "slice-check", // single-slice — claim + contract + proof chain
2330
- "full-run", // full end-to-end — all checks, required for promotion
2331
- ]);
2332
-
2333
- export const promotionGateSchema = z.object({
2334
- /** The scope of the evaluation that feeds this gate. */
2335
- scope_performed: validationScopeSchema,
2336
- /** Whether this scope is sufficient for the requested promotion. */
2337
- promotion_allowed: z.boolean(),
2338
- /** The minimum scope required for this promotion level. */
2339
- minimum_scope_required: validationScopeSchema,
2340
- /** Why promotion was allowed or denied. */
2341
- gate_basis: z.string(),
2342
- });
2343
-
2344
- export type ValidationScope = z.infer<typeof validationScopeSchema>;
2345
- export type PromotionGate = z.infer<typeof promotionGateSchema>;
2346
-
2347
- export const evaluationTriggerSchema = z.enum([
2348
- "auto_post_receipt", // automatically triggered after receipt is built
2349
- "operator_requested", // operator manually triggered evaluation
2350
- "threshold_breach", // evidence/trust threshold triggered evaluation
2351
- "re_evaluation", // re-evaluation of a previously evaluated receipt
2352
- ]);
2353
-
2354
- export const evaluationVerdictSchema = z.enum([
2355
- "pass", // evidence supports claims, contract satisfied
2356
- "pass_with_flags", // pass but findings noted for operator review
2357
- "fail", // evidence does not support claims or contract violated
2358
- "inconclusive", // insufficient evidence to make a determination
2359
- ]);
2360
-
2361
- export const evaluationFindingSeveritySchema = z.enum([
2362
- "info", // informational — no action needed
2363
- "flag", // notable — operator should be aware
2364
- "concern", // concerning — may warrant action
2365
- "violation", // contract or evidence violation
2366
- ]);
2367
-
2368
- export const evaluationFindingSchema = z.object({
2369
- finding_id: z.string(),
2370
- severity: evaluationFindingSeveritySchema,
2371
- category: z.enum([
2372
- "claim_vs_evidence", // claim not backed by evidence
2373
- "scope_adherence", // work outside contracted scope
2374
- "contract_compliance", // contract terms not met
2375
- "evidence_quality", // evidence is weak or insufficient
2376
- "residual_risk", // unresolved items carry forward risk
2377
- "provenance_gap", // proof chain has gaps
2378
- "budget_concern", // excessive correction/rework effort detected
2379
- ]),
2380
- detail: z.string(),
2381
- claim_ref: z.string().default(""), // which claim this finding relates to, if any
2382
- evidence_ref: z.string().default(""), // which evidence item this relates to, if any
2383
- });
2384
-
2385
- export const evaluationReentrySignalSchema = z.enum([
2386
- "none", // no governance action needed
2387
- "hold_recommended", // evaluator recommends hold for operator review
2388
- "block_recommended", // evaluator recommends block — evidence insufficient
2389
- "caution_added", // evaluator added cautions to the record
2390
- ]);
2391
-
2392
- export const evaluationResultSchema = z.object({
2393
- // Identity & lineage
2394
- evaluation_id: z.string(),
2395
- evaluation_version: z.literal(1),
2396
- created_at: z.string(),
2397
- project_id: z.string().default(""),
2398
- dispatch_id: z.string().default(""),
2399
- receipt_id: z.string(), // the receipt being evaluated
2400
-
2401
- // Trigger
2402
- triggered_by: evaluationTriggerSchema,
2403
-
2404
- // Verdict
2405
- verdict: evaluationVerdictSchema,
2406
- verdict_basis: z.string(), // why this verdict was reached
2407
-
2408
- // Findings
2409
- findings: z.array(evaluationFindingSchema).default([]),
2410
- finding_count: z.number(),
2411
- violation_count: z.number().default(0),
2412
- concern_count: z.number().default(0),
2413
- flag_count: z.number().default(0),
2414
-
2415
- // Claim coverage assessment (independent of receipt's own claim assessments)
2416
- claims_evaluated: z.number(),
2417
- claims_supported: z.number(), // evaluator agrees claim is backed
2418
- claims_disputed: z.number(), // evaluator disagrees with claim disposition
2419
- claims_unverifiable: z.number(), // evaluator cannot verify independently
2420
-
2421
- // Evidence quality assessment
2422
- evidence_sufficient: z.boolean(),
2423
- provenance_intact: z.boolean(), // proof chain is unbroken
2424
- proof_artifacts_checked: z.number().default(0),
2425
-
2426
- // Re-entry signal — how this evaluation should affect the governed loop
2427
- reentry_signal: evaluationReentrySignalSchema,
2428
- reentry_basis: z.string().default(""),
2429
- cautions_added: z.array(z.string()).default([]),
2430
-
2431
- // Evaluator metadata
2432
- evaluator_role: z.literal("independent"), // always independent, never builder
2433
- evaluation_scope: z.string(), // what was in scope for this evaluation
2434
-
2435
- // Layered validation scope — first-class scope classification
2436
- validation_scope: validationScopeSchema.default("micro-check"),
2437
- promotion_gate: promotionGateSchema.optional(),
2438
- });
2439
-
2440
- export type EvaluationTrigger = z.infer<typeof evaluationTriggerSchema>;
2441
- export type EvaluationVerdict = z.infer<typeof evaluationVerdictSchema>;
2442
- export type EvaluationFindingSeverity = z.infer<typeof evaluationFindingSeveritySchema>;
2443
- export type EvaluationFinding = z.infer<typeof evaluationFindingSchema>;
2444
- export type EvaluationReentrySignal = z.infer<typeof evaluationReentrySignalSchema>;
2445
- export type EvaluationResult = z.infer<typeof evaluationResultSchema>;
2446
-
2447
- // ---------------------------------------------------------------------------
2448
- // Claim/Receipt Spread — deterministic per-run drift measurement
2449
- // ---------------------------------------------------------------------------
2450
- //
2451
- // Measures how far executor claims tend to drift from audited receipts.
2452
- // Each axis is a normalized [0..1] signal (0 = no drift, 1 = maximum drift).
2453
- // The scalar is a weighted composite clamped to [0..1].
2454
- //
2455
- // Design invariant: the spread is a *derived observation* — it never overrides
2456
- // the receipt, gate, or closure decisions. It is computed deterministically
2457
- // from the receipt's governed fields.
2458
- // ---------------------------------------------------------------------------
2459
-
2460
- export const claimSpreadVectorSchema = z.object({
2461
- /** Claims not proven or supported / total claims. 0 = all proven. */
2462
- claim_mismatch_ratio: z.number().min(0).max(1),
2463
- /** Audit-added cautions + blockers normalized (0 = none, 1 = 5+). */
2464
- audit_burden: z.number().min(0).max(1),
2465
- /** Residuals relative to total claims (0 = none, 1 = residuals >= claims). */
2466
- residual_weight: z.number().min(0).max(1),
2467
- /** Provenance weakness: captured=0, mixed=0.25, derived=0.5, reconstructed=0.75, unknown=1. */
2468
- provenance_weakness: z.number().min(0).max(1),
2469
- /** Gate distance from accepted: accepted=0, accepted-with-cautions=0.25, held=0.5, blocked=0.75, pending/not-checked=1. */
2470
- gate_distance: z.number().min(0).max(1),
2471
- /** 1 if execution failed, 0 otherwise. */
2472
- trace_failure_signal: z.number().min(0).max(1),
2473
- /** Correction steps as proportion of total steps (0..1). */
2474
- budget_correction_weight: z.number().min(0).max(1),
2475
- });
2476
-
2477
- export const claimSpreadSchema = z.object({
2478
- /** Identifies the receipt this spread was computed from. */
2479
- receipt_id: z.string(),
2480
- /** Identifies the dispatch. */
2481
- dispatch_id: z.string().default(""),
2482
- /** ISO timestamp of computation. */
2483
- computed_at: z.string(),
2484
- /** The individual axis values. */
2485
- vector: claimSpreadVectorSchema,
2486
- /** Weighted composite score (0..1). 0 = perfect alignment, 1 = maximum drift. */
2487
- spread_score: z.number().min(0).max(1),
2488
- /** Human-readable basis for the score. */
2489
- spread_basis: z.string(),
2490
- });
2491
-
2492
- export type ClaimSpreadVector = z.infer<typeof claimSpreadVectorSchema>;
2493
- export type ClaimSpread = z.infer<typeof claimSpreadSchema>;
2494
-
2495
- // ---------------------------------------------------------------------------
2496
- // Budget Categories — explicit task / verification / correction separation
2497
- // ---------------------------------------------------------------------------
2498
- //
2499
- // Every unit of work an agent performs falls into one of three categories:
2500
- //
2501
- // task — primary implementation work toward the objective
2502
- // verification — checking, testing, or validating what was produced
2503
- // correction — fixing issues found during verification
2504
- //
2505
- // These are first-class so that routing, evaluation, and receipts can
2506
- // distinguish *what kind* of effort was spent, not just how much.
2507
- // ---------------------------------------------------------------------------
2508
-
2509
- export const budgetCategorySchema = z.enum([
2510
- "task", // primary implementation effort
2511
- "verification", // checking / testing / validating
2512
- "correction", // fixing issues found during verification
2513
- ]);
2514
-
2515
- export const budgetLedgerEntrySchema = z.object({
2516
- category: budgetCategorySchema,
2517
- step_count: z.number().default(0),
2518
- tool_use_count: z.number().default(0),
2519
- duration_ms: z.number().default(0),
2520
- });
2521
-
2522
- export const budgetLedgerSchema = z.object({
2523
- /** Per-category breakdown of effort. */
2524
- entries: z.array(budgetLedgerEntrySchema).default([]),
2525
- /** Total steps across all categories. */
2526
- total_steps: z.number().default(0),
2527
- /** Total tool uses across all categories. */
2528
- total_tool_uses: z.number().default(0),
2529
- /** Total duration across all categories. */
2530
- total_duration_ms: z.number().default(0),
2531
- /** Ratio of verification + correction to total (0..1). 0 = no overhead. */
2532
- overhead_ratio: z.number().default(0),
2533
- /** Whether the correction category was non-zero (indicates rework). */
2534
- had_corrections: z.boolean().default(false),
2535
- /** Derived posture from the ledger. */
2536
- posture: budgetPostureSchema.default("unknown"),
2537
- /** Why this posture was assigned. */
2538
- posture_basis: z.string().default(""),
2539
- });
2540
-
2541
- export type BudgetCategory = z.infer<typeof budgetCategorySchema>;
2542
- export type BudgetLedgerEntry = z.infer<typeof budgetLedgerEntrySchema>;
2543
- export type BudgetLedger = z.infer<typeof budgetLedgerSchema>;
2544
-
2545
- // ---------------------------------------------------------------------------
2546
- // Overflow Manifest — progressive disclosure of externalized context
2547
- // ---------------------------------------------------------------------------
2548
- //
2549
- // When execution context (transcripts, traces, structured returns) exceeds
2550
- // a size threshold, the overflow mechanism externalizes it into governed
2551
- // artifacts and retains a lightweight reference on the live control surface.
2552
- //
2553
- // The manifest tracks what was externalized, where it lives, why it was
2554
- // externalized, and what summary was retained inline. This preserves
2555
- // lineage so later evaluation lanes know the full context existed.
2556
- // ---------------------------------------------------------------------------
2557
-
2558
- export const overflowEntrySchema = z.object({
2559
- overflow_id: z.string(),
2560
- /** What was externalized (e.g. "transcript", "trace_steps", "structured_return"). */
2561
- source_label: z.string(),
2562
- /** Why it was externalized (e.g. "exceeded 50000 char threshold"). */
2563
- reason: z.string(),
2564
- /** Filename within the proof folder where the overflow was written. */
2565
- artifact_filename: z.string(),
2566
- /** Reference to the proof artifact ID (links into proof manifest). */
2567
- artifact_id: z.string(),
2568
- /** Original size in bytes before externalization. */
2569
- original_size_bytes: z.number(),
2570
- /** What was kept inline as a summary/preview. */
2571
- retained_summary: z.string(),
2572
- /** How many bytes were retained inline. */
2573
- retained_bytes: z.number().default(0),
2574
- /** When the overflow was created. */
2575
- externalized_at: z.string(),
2576
- });
2577
-
2578
- export const overflowManifestSchema = z.object({
2579
- manifest_id: z.string(),
2580
- dispatch_id: z.string(),
2581
- entries: z.array(overflowEntrySchema).default([]),
2582
- total_externalized_bytes: z.number().default(0),
2583
- total_entries: z.number().default(0),
2584
- created_at: z.string(),
2585
- });
2586
-
2587
- export const overflowSummarySchema = z.object({
2588
- overflow_entry_count: z.number().default(0),
2589
- overflow_total_bytes: z.number().default(0),
2590
- overflow_sources: z.array(z.string()).default([]),
2591
- overflow_available: z.boolean().default(false),
2592
- });
2593
-
2594
- export type OverflowEntry = z.infer<typeof overflowEntrySchema>;
2595
- export type OverflowManifest = z.infer<typeof overflowManifestSchema>;
2596
- export type OverflowSummary = z.infer<typeof overflowSummarySchema>;
2597
-
2598
- // ---------------------------------------------------------------------------
2599
- // Execution Harness — route-native compilation output
2600
- // ---------------------------------------------------------------------------
2601
-
2602
- /**
2603
- * Dispatch mode derived from surface capabilities.
2604
- * - auto: programmatic dispatch, synchronous return
2605
- * - manual: human-mediated dispatch (clipboard, paste)
2606
- * - async: programmatic dispatch, async/callback return
2607
- */
2608
- export const dispatchModeSchema = z.enum(["auto", "manual", "async"]);
2609
-
2610
- /**
2611
- * Return expectation shape — what the control plane expects back
2612
- * from the receiving surface after execution.
2613
- */
2614
- export const returnExpectationSchema = z.object({
2615
- structured: z.boolean(),
2616
- required_fields: z.array(z.string()),
2617
- human_mediated: z.boolean(),
2618
- async_callback: z.boolean(),
2619
- });
2620
-
2621
- /**
2622
- * Budget constraints compiled from surface + task context.
2623
- * Defines the verification and correction thresholds the harness carries.
2624
- */
2625
- export const budgetConstraintSchema = z.object({
2626
- correction_caution_threshold: z.number().default(0.2),
2627
- correction_over_budget_threshold: z.number().default(0.5),
2628
- verification_expected: z.boolean(),
2629
- verification_notes: z.array(z.string()).default([]),
2630
- });
2631
-
2632
- /**
2633
- * Context bindings that are route-native — only relevant to
2634
- * the specific surface/dispatch mechanism being used.
2635
- */
2636
- export const contextBindingsSchema = z.object({
2637
- working_directory: z.string().nullable().default(null),
2638
- model_hint: z.string().default(""),
2639
- async_return: z.boolean().default(false),
2640
- });
2641
-
2642
- /**
2643
- * Harness governance binding — the contract boundaries that survive
2644
- * across every dispatch. Extracted once from the canonical
2645
- * contract, carried immutably in the harness.
2646
- *
2647
- * Distinct from GovernanceEnvelope (activation/gate/closure state).
2648
- */
2649
- export const harnessGovernanceSchema = z.object({
2650
- contract_id: z.string(),
2651
- contract_title: z.string(),
2652
- non_goals: z.array(z.string()),
2653
- must_not_widen: z.array(z.string()),
2654
- protected_scope_out: z.array(z.string()),
2655
- });
2656
-
2657
- /**
2658
- * ExecutionHarness — the route-native compilation output.
2659
- *
2660
- * This is the single compiled object that contains everything
2661
- * the receiving surface needs. It is produced from model-neutral
2662
- * canonical state (contract + working + loop) and route-specific
2663
- * decisions (surface profile + playbook + dispatch mode).
2664
- *
2665
- * The harness is the compilation boundary between canonical
2666
- * governance and route-native execution.
2667
- */
2668
- export const executionHarnessSchema = z.object({
2669
- harness_id: z.string(),
2670
- dispatch_id: z.string(),
2671
- compiled_at: z.string(),
2672
-
2673
- // Route identity
2674
- surface: surfaceSchema,
2675
- surface_class: surfaceClassSchema,
2676
- dispatch_mode: dispatchModeSchema,
2677
- receipt_model: surfaceProfileSchema.shape.receipt_model,
2678
- packet_format: surfaceProfileSchema.shape.packet_format,
2679
- execution_shape: executionShapeSchema,
2680
-
2681
- // Compiled execution scope (from loop contract)
2682
- objective: z.string(),
2683
- scope_in: z.array(z.string()),
2684
- scope_out: z.array(z.string()),
2685
- done_when: z.array(z.string()),
2686
- success_criteria: z.array(z.string()),
2687
- verify_with: z.array(z.string()),
2688
- return_when: z.string(),
2689
- blocker_escalation: z.array(z.string()),
2690
- fallback_surface: surfaceSchema,
2691
-
2692
- // Route-native sections
2693
- playbook_notes: z.array(z.string()),
2694
- return_expectation: returnExpectationSchema,
2695
- budget_constraint: budgetConstraintSchema,
2696
- context_bindings: contextBindingsSchema,
2697
- governance_envelope: harnessGovernanceSchema,
2698
- });
2699
-
2700
- export type DispatchMode = z.infer<typeof dispatchModeSchema>;
2701
- export type ReturnExpectation = z.infer<typeof returnExpectationSchema>;
2702
- export type BudgetConstraint = z.infer<typeof budgetConstraintSchema>;
2703
- export type ContextBindings = z.infer<typeof contextBindingsSchema>;
2704
- export type HarnessGovernance = z.infer<typeof harnessGovernanceSchema>;
2705
- export type ExecutionHarness = z.infer<typeof executionHarnessSchema>;
2706
-
2707
- // ---------------------------------------------------------------------------
2708
- // Meta Harness — internal compile subsystem for context packet improvement
2709
- // ---------------------------------------------------------------------------
2710
-
2711
- export const harnessCompilationExperimentSchema = z.enum([
2712
- "repo_context_bootstrap", // repo-grounded context packet compilation
2713
- ]);
2714
-
2715
- export const harnessCandidateStatusSchema = z.enum([
2716
- "derived", // candidate was generated
2717
- "selected", // candidate was selected for use
2718
- "rejected", // candidate was rejected (rationale recorded)
2719
- "no_op", // no candidate was appropriate
2720
- ]);
2721
-
2722
- export const harnessInputSnapshotSchema = z.object({
2723
- contract_id: z.string(),
2724
- dispatch_id: z.string(),
2725
- spec_hash: z.string().default(""),
2726
- repo_grounded: z.boolean(),
2727
- prior_delta_id: z.string().default(""),
2728
- prior_gate_label: z.string().default(""),
2729
- loop_objective: z.string().default(""),
2730
- systems_in_play: z.array(z.string()).default([]),
2731
- snapshot_hash: z.string().default(""),
2732
- });
2733
-
2734
- export const harnessOutputArtifactRefSchema = z.object({
2735
- artifact_type: z.enum(["context_section", "repo_summary", "prior_evidence_digest", "scope_refinement"]),
2736
- content_hash: z.string().default(""),
2737
- size_bytes: z.number().default(0),
2738
- description: z.string().default(""),
2739
- });
2740
-
2741
- export const harnessCandidateSchema = z.object({
2742
- candidate_id: z.string(),
2743
- experiment: harnessCompilationExperimentSchema,
2744
- status: harnessCandidateStatusSchema,
2745
- rationale: z.string(),
2746
- input_snapshot: harnessInputSnapshotSchema,
2747
- output_artifacts: z.array(harnessOutputArtifactRefSchema).default([]),
2748
- context_additions: z.array(z.string()).default([]),
2749
- created_at: z.string(),
2750
- });
2751
-
2752
- export const harnessSelectionSchema = z.object({
2753
- selected_candidate_id: z.string().default(""),
2754
- selection_rationale: z.string(),
2755
- was_no_op: z.boolean(),
2756
- no_op_reason: z.string().default(""),
2757
- });
2758
-
2759
- export const harnessCompilationSummarySchema = z.object({
2760
- compilation_id: z.string(),
2761
- project_id: z.string(),
2762
- dispatch_id: z.string(),
2763
- experiment: harnessCompilationExperimentSchema,
2764
- candidates: z.array(harnessCandidateSchema),
2765
- selection: harnessSelectionSchema,
2766
- compiled_at: z.string(),
2767
- /** Bounded context sections emitted for downstream dispatch. */
2768
- emitted_context_sections: z.array(z.string()).default([]),
2769
- /** Total chars added to the dispatch prompt by the meta harness. */
2770
- context_chars_added: z.number().default(0),
2771
- });
2772
-
2773
- export type HarnessCompilationExperiment = z.infer<typeof harnessCompilationExperimentSchema>;
2774
- export type HarnessCandidateStatus = z.infer<typeof harnessCandidateStatusSchema>;
2775
- export type HarnessInputSnapshot = z.infer<typeof harnessInputSnapshotSchema>;
2776
- export type HarnessOutputArtifactRef = z.infer<typeof harnessOutputArtifactRefSchema>;
2777
- export type HarnessCandidate = z.infer<typeof harnessCandidateSchema>;
2778
- export type HarnessSelection = z.infer<typeof harnessSelectionSchema>;
2779
- export type HarnessCompilationSummary = z.infer<typeof harnessCompilationSummarySchema>;
2780
-
2781
- // ---------------------------------------------------------------------------
2782
- // Receipt V2 — immutable issuance payload + append-only lifecycle status
2783
- // ---------------------------------------------------------------------------
2784
-
2785
- // --- Lifecycle posture (resolved from status events) ---
2786
-
2787
- export const receiptLifecyclePostureSchema = z.enum([
2788
- "CURRENT",
2789
- "CURRENT_WITH_LIMITS",
2790
- "SUSPENDED",
2791
- "SUPERSEDED",
2792
- "REVOKED",
2793
- "EXPIRED",
2794
- ]);
2795
-
2796
- // --- Status event types ---
2797
-
2798
- export const receiptStatusEventTypeSchema = z.enum([
2799
- "LIMIT_APPLIED",
2800
- "LIMIT_LIFTED",
2801
- "SUSPENDED",
2802
- "REINSTATED",
2803
- "SUPERSEDED_BY",
2804
- "REVOKED",
2805
- "EXPIRY_SET",
2806
- "EXPIRED",
2807
- ]);
2808
-
2809
- // --- Human-facing receipt verdict (immutable, set at issuance) ---
2810
-
2811
- export const receiptVerdictSchema = z.enum([
2812
- "verified",
2813
- "partially_verified",
2814
- "inconclusive",
2815
- "not_verified",
2816
- "disputed",
2817
- ]);
2818
-
2819
- // --- Claim source + provenance (two-axis model) ---
2820
-
2821
- export const claimSourceSchema = z.enum([
2822
- "executor",
2823
- "operator",
2824
- "switchboard",
2825
- "third_party",
2826
- ]);
2827
-
2828
- export const claimProvenanceTypeSchema = z.enum([
2829
- "claimed",
2830
- "observed",
2831
- "derived",
2832
- ]);
2833
-
2834
- // Updated claim disposition (same as V1 for compatibility)
2835
- // "proven" | "supported" | "partial" | "inferred" | "unsubstantiated"
2836
-
2837
- export const claimAssessmentV2Schema = z.object({
2838
- claim: z.string(),
2839
- source: claimSourceSchema,
2840
- provenance_type: claimProvenanceTypeSchema,
2841
- disposition: claimDispositionSchema,
2842
- basis: z.string(),
2843
- });
2844
-
2845
- // --- Verification / evidence schema ---
2846
-
2847
- export const verificationResultSchema = z.object({
2848
- verification_id: z.string(),
2849
- scope: z.string(),
2850
- method: z.string(),
2851
- outcome: z.enum(["pass", "fail", "partial", "skipped", "error"]),
2852
- coverage: z.string().default(""),
2853
- determinism: z.enum(["deterministic", "probabilistic", "manual", "unknown"]).default("unknown"),
2854
- evidence_type: z.enum(["captured", "reconstructed", "derived", "none"]).default("none"),
2855
- detail: z.string().default(""),
2856
- });
2857
-
2858
- export const evidenceItemV2Schema = z.object({
2859
- evidence_id: z.string(),
2860
- kind: z.enum(["test_output", "file_diff", "cli_output", "transcript", "metric", "attestation", "other"]),
2861
- provenance: provenanceLabelSchema,
2862
- description: z.string(),
2863
- reference: z.string().default(""),
2864
- });
2865
-
2866
- export const findingV2Schema = z.object({
2867
- finding_id: z.string(),
2868
- severity: z.enum(["info", "caution", "concern", "blocker"]),
2869
- category: z.string(),
2870
- detail: z.string(),
2871
- resolution: z.string().default(""),
2872
- });
2873
-
2874
- export const unresolvedGapSchema = z.object({
2875
- gap_id: z.string(),
2876
- description: z.string(),
2877
- impact: z.enum(["blocks_verification", "degrades_confidence", "informational"]),
2878
- category: z.string().default(""),
2879
- });
2880
-
2881
- // --- Execution metadata ---
2882
-
2883
- export const executionMetadataSchema = z.object({
2884
- surface: z.string(),
2885
- model: z.string().default(""),
2886
- duration_ms: z.number().default(0),
2887
- realization_type: z.string().default(""),
2888
- environment: z.string().default(""),
2889
- human_intervention: z.enum(["none", "present", "unknown"]).default("unknown"),
2890
- });
2891
-
2892
- // --- Proof summary ---
2893
-
2894
- export const proofSummarySchema = z.object({
2895
- captured_count: z.number().default(0),
2896
- reconstructed_count: z.number().default(0),
2897
- derived_count: z.number().default(0),
2898
- total_artifacts: z.number().default(0),
2899
- manifest_present: z.boolean().default(false),
2900
- manifest_id: z.string().default(""),
2901
- });
2902
-
2903
- // --- Issuance assessment ---
2904
-
2905
- export const issuanceAssessmentSchema = z.object({
2906
- verdict: receiptVerdictSchema,
2907
- verdict_basis: z.string(),
2908
- scope_qualified: z.boolean().default(false),
2909
- scope_description: z.string().default(""),
2910
- degradation_reasons: z.array(z.string()).default([]),
2911
- /** Structured honesty violation list — set by builder when summary contains banned terms. */
2912
- honesty_violations: z.array(z.string()).default([]),
2913
- });
2914
-
2915
- // --- Audit + evaluation links ---
2916
-
2917
- export const auditAndEvaluationLinksSchema = z.object({
2918
- latest_evaluation_id: z.string().default(""),
2919
- evaluation_verdict: z.string().default(""),
2920
- evaluation_scope: z.string().default(""),
2921
- evaluation_timestamp: z.string().default(""),
2922
- evaluation_basis: z.string().default(""),
2923
- });
2924
-
2925
- // --- Redaction profile ---
2926
-
2927
- export const redactionProfileSchema = z.object({
2928
- mode: z.enum(["full", "share", "redacted"]).default("full"),
2929
- redacted_fields: z.array(z.string()).default([]),
2930
- share_safe: z.boolean().default(false),
2931
- });
2932
-
2933
- // --- Receipt Status Event ---
2934
-
2935
- export const receiptStatusEventSchema = z.object({
2936
- event_id: z.string(),
2937
- receipt_id: z.string(),
2938
- event_type: receiptStatusEventTypeSchema,
2939
- reason: z.string(),
2940
- issued_by: z.string().default("system"),
2941
- issued_at: z.string(),
2942
- superseded_by_receipt_id: z.string().default(""),
2943
- expiry_at: z.string().default(""),
2944
- limit_description: z.string().default(""),
2945
- metadata: z.record(z.string(), z.unknown()).default({}),
2946
- });
2947
-
2948
- // --- ReceiptIssuedV2 — the immutable issuance payload ---
2949
-
2950
- export const receiptIssuedV2Schema = z.object({
2951
- // Identity
2952
- receipt_id: z.string(),
2953
- receipt_version: z.literal(2),
2954
- issued_at: z.string(),
2955
- project_id: z.string().default(""),
2956
- dispatch_id: z.string().default(""),
2957
- return_id: z.string().default(""),
2958
- envelope_id: z.string().default(""),
2959
- delta_id: z.string().default(""),
2960
-
2961
- // --- asked ---
2962
- objective_asked: z.string(),
2963
- scope_summary: z.string().default(""),
2964
-
2965
- // --- execution ---
2966
- execution: executionMetadataSchema,
2967
-
2968
- // --- claimed ---
2969
- outcome_claimed: outcomeClassSchema,
2970
- summary_claimed: z.string(),
2971
-
2972
- // --- claim_assessments (two-axis) ---
2973
- claim_assessments: z.array(claimAssessmentV2Schema).default([]),
2974
-
2975
- // --- verification ---
2976
- verification_results: z.array(verificationResultSchema).default([]),
2977
- evidence_items: z.array(evidenceItemV2Schema).default([]),
2978
- findings: z.array(findingV2Schema).default([]),
2979
- unresolved_gaps: z.array(unresolvedGapSchema).default([]),
2980
-
2981
- // --- gate ---
2982
- gate_label: gateStateLabelSchema,
2983
- gate_reason: z.string(),
2984
- gate_honest: z.boolean(),
2985
-
2986
- // --- issuance_assessment (human-facing verdict) ---
2987
- issuance_assessment: issuanceAssessmentSchema,
2988
-
2989
- // --- advancement ---
2990
- state_advanced: z.boolean(),
2991
- advancement_basis: z.string(),
2992
- consequence_type: consequenceTypeSchema,
2993
- consequence_label: z.string(),
2994
-
2995
- // --- residuals ---
2996
- cautions_on_record: z.array(z.string()).default([]),
2997
- unresolved_on_record: z.array(z.string()).default([]),
2998
- residual_count: z.number(),
2999
-
3000
- // --- next_slice ---
3001
- next_slice_exists: z.boolean(),
3002
- next_slice_id: z.string().default(""),
3003
- next_slice_title: z.string().default(""),
3004
-
3005
- // --- provenance_summary ---
3006
- proof_summary: proofSummarySchema,
3007
- provenance_posture: z.enum(["captured", "reconstructed", "derived", "mixed", "unknown"]).default("unknown"),
3008
-
3009
- // --- audit_and_evaluation_links ---
3010
- audit_and_evaluation_links: auditAndEvaluationLinksSchema.default({}),
3011
-
3012
- // --- redaction_profile ---
3013
- redaction_profile: redactionProfileSchema.default({}),
3014
-
3015
- // --- closure ---
3016
- closure_allowed: z.boolean(),
3017
- closure_basis: z.string(),
3018
-
3019
- // --- legacy compat (carries V1 fields for backward compat) ---
3020
- trust_posture: trustPostureSchema,
3021
- trust_basis: z.string(),
3022
-
3023
- // --- V1 receipt ID for lineage if upgraded ---
3024
- v1_receipt_id: z.string().default(""),
3025
-
3026
- // --- Meta harness compile provenance ---
3027
- harness_provenance: z.object({
3028
- harness_ran: z.boolean().default(false),
3029
- compilation_id: z.string().default(""),
3030
- selected_candidate_id: z.string().default(""),
3031
- experiment: z.string().default(""),
3032
- selection_rationale: z.string().default(""),
3033
- context_chars_added: z.number().default(0),
3034
- was_no_op: z.boolean().default(true),
3035
- }).default({}),
3036
- });
3037
-
3038
- export type ReceiptLifecyclePosture = z.infer<typeof receiptLifecyclePostureSchema>;
3039
- export type ReceiptStatusEventType = z.infer<typeof receiptStatusEventTypeSchema>;
3040
- export type ReceiptVerdict = z.infer<typeof receiptVerdictSchema>;
3041
- export type ClaimSource = z.infer<typeof claimSourceSchema>;
3042
- export type ClaimProvenanceType = z.infer<typeof claimProvenanceTypeSchema>;
3043
- export type ClaimAssessmentV2 = z.infer<typeof claimAssessmentV2Schema>;
3044
- export type VerificationResult = z.infer<typeof verificationResultSchema>;
3045
- export type EvidenceItemV2 = z.infer<typeof evidenceItemV2Schema>;
3046
- export type FindingV2 = z.infer<typeof findingV2Schema>;
3047
- export type UnresolvedGap = z.infer<typeof unresolvedGapSchema>;
3048
- export type ExecutionMetadata = z.infer<typeof executionMetadataSchema>;
3049
- export type ProofSummary = z.infer<typeof proofSummarySchema>;
3050
- export type IssuanceAssessment = z.infer<typeof issuanceAssessmentSchema>;
3051
- export type AuditAndEvaluationLinks = z.infer<typeof auditAndEvaluationLinksSchema>;
3052
- export type RedactionProfile = z.infer<typeof redactionProfileSchema>;
3053
- export type ReceiptStatusEvent = z.infer<typeof receiptStatusEventSchema>;
3054
- export type ReceiptIssuedV2 = z.infer<typeof receiptIssuedV2Schema>;