@kya-os/cli 2.0.0 → 2.0.2

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 (945) hide show
  1. package/README.md +167 -231
  2. package/bin/__tests__/kya-os-shim.e2e.test.js +160 -0
  3. package/bin/__tests__/resolve-binary.test.js +54 -0
  4. package/bin/dco.js +17 -0
  5. package/bin/kya-os.js +135 -0
  6. package/bin/resolve-binary.js +98 -0
  7. package/bin/run-compile.mjs +29 -0
  8. package/dist/sidecar/sidecar/src/conformance/pins.js +54 -0
  9. package/dist/sidecar/sidecar/src/conformance/pins.js.map +1 -0
  10. package/dist/sidecar/sidecar/src/conformance/reference/adapter-helpers.js +117 -0
  11. package/dist/sidecar/sidecar/src/conformance/reference/adapter-helpers.js.map +1 -0
  12. package/dist/sidecar/sidecar/src/conformance/reference/crypto-kit.js +101 -0
  13. package/dist/sidecar/sidecar/src/conformance/reference/crypto-kit.js.map +1 -0
  14. package/dist/sidecar/sidecar/src/conformance/reference/reference-adapter.js +326 -0
  15. package/dist/sidecar/sidecar/src/conformance/reference/reference-adapter.js.map +1 -0
  16. package/dist/sidecar/sidecar/src/conformance/reference/runner.js +126 -0
  17. package/dist/sidecar/sidecar/src/conformance/reference/runner.js.map +1 -0
  18. package/dist/sidecar/sidecar/src/conformance/reference/types.js +40 -0
  19. package/dist/sidecar/sidecar/src/conformance/reference/types.js.map +1 -0
  20. package/dist/sidecar/sidecar/src/daemon.js +151 -0
  21. package/dist/sidecar/sidecar/src/daemon.js.map +1 -0
  22. package/dist/sidecar/sidecar/src/framing.js +36 -0
  23. package/dist/sidecar/sidecar/src/framing.js.map +1 -0
  24. package/dist/sidecar/sidecar/src/identity-manager.js +73 -0
  25. package/dist/sidecar/sidecar/src/identity-manager.js.map +1 -0
  26. package/dist/sidecar/sidecar/src/index.js +80 -0
  27. package/dist/sidecar/sidecar/src/index.js.map +1 -0
  28. package/dist/sidecar/sidecar/src/ops/convert-to-ssh.js +11 -0
  29. package/dist/sidecar/sidecar/src/ops/convert-to-ssh.js.map +1 -0
  30. package/dist/sidecar/sidecar/src/ops/echo.js +5 -0
  31. package/dist/sidecar/sidecar/src/ops/echo.js.map +1 -0
  32. package/dist/sidecar/sidecar/src/ops/ensure-identity.js +36 -0
  33. package/dist/sidecar/sidecar/src/ops/ensure-identity.js.map +1 -0
  34. package/dist/sidecar/sidecar/src/ops/resolve-identity.js +233 -0
  35. package/dist/sidecar/sidecar/src/ops/resolve-identity.js.map +1 -0
  36. package/dist/sidecar/sidecar/src/ops/rotate-identity.js +37 -0
  37. package/dist/sidecar/sidecar/src/ops/rotate-identity.js.map +1 -0
  38. package/dist/sidecar/sidecar/src/ops/run-conformance.js +78 -0
  39. package/dist/sidecar/sidecar/src/ops/run-conformance.js.map +1 -0
  40. package/dist/sidecar/sidecar/src/ops/sign-with-ed25519-seed.js +12 -0
  41. package/dist/sidecar/sidecar/src/ops/sign-with-ed25519-seed.js.map +1 -0
  42. package/dist/sidecar/sidecar/src/ops/sign.js +24 -0
  43. package/dist/sidecar/sidecar/src/ops/sign.js.map +1 -0
  44. package/dist/sidecar/sidecar/src/ops/verify-audit-bundle.js +139 -0
  45. package/dist/sidecar/sidecar/src/ops/verify-audit-bundle.js.map +1 -0
  46. package/dist/sidecar/sidecar/src/ssh-key.js +297 -0
  47. package/dist/sidecar/sidecar/src/ssh-key.js.map +1 -0
  48. package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.d.ts +62 -0
  49. package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.js +92 -0
  50. package/node_modules/@kya-os/contracts/dist/agent-deployment.d.ts +723 -0
  51. package/node_modules/@kya-os/contracts/dist/agent-deployment.js +270 -0
  52. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-schemas.d.ts +49 -0
  53. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-schemas.js +30 -0
  54. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-types.d.ts +37 -0
  55. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-types.js +10 -0
  56. package/node_modules/@kya-os/contracts/dist/agentshield-api/endpoints.d.ts +53 -0
  57. package/node_modules/@kya-os/contracts/dist/agentshield-api/endpoints.js +49 -0
  58. package/node_modules/@kya-os/contracts/dist/agentshield-api/index.d.ts +15 -0
  59. package/node_modules/@kya-os/contracts/dist/agentshield-api/index.js +46 -0
  60. package/node_modules/@kya-os/contracts/dist/agentshield-api/schemas.d.ts +6583 -0
  61. package/node_modules/@kya-os/contracts/dist/agentshield-api/schemas.js +340 -0
  62. package/node_modules/@kya-os/contracts/dist/agentshield-api/types.d.ts +344 -0
  63. package/node_modules/@kya-os/contracts/dist/agentshield-api/types.js +26 -0
  64. package/node_modules/@kya-os/contracts/dist/attribution/index.d.ts +80 -0
  65. package/node_modules/@kya-os/contracts/dist/attribution/index.js +74 -0
  66. package/node_modules/@kya-os/contracts/dist/audit/index.d.ts +147 -0
  67. package/node_modules/@kya-os/contracts/dist/audit/index.js +51 -0
  68. package/node_modules/@kya-os/contracts/dist/cli-read/analyze.d.ts +162 -0
  69. package/node_modules/@kya-os/contracts/dist/cli-read/analyze.js +38 -0
  70. package/node_modules/@kya-os/contracts/dist/cli-read/common.d.ts +70 -0
  71. package/node_modules/@kya-os/contracts/dist/cli-read/common.js +55 -0
  72. package/node_modules/@kya-os/contracts/dist/cli-read/index.d.ts +5 -0
  73. package/node_modules/@kya-os/contracts/dist/cli-read/index.js +21 -0
  74. package/node_modules/@kya-os/contracts/dist/cli-read/monitor.d.ts +241 -0
  75. package/node_modules/@kya-os/contracts/dist/cli-read/monitor.js +70 -0
  76. package/node_modules/@kya-os/contracts/dist/cli-read/projects.d.ts +195 -0
  77. package/node_modules/@kya-os/contracts/dist/cli-read/projects.js +48 -0
  78. package/node_modules/@kya-os/contracts/dist/cli-read/settings.d.ts +274 -0
  79. package/node_modules/@kya-os/contracts/dist/cli-read/settings.js +56 -0
  80. package/node_modules/@kya-os/contracts/dist/cli.d.ts +542 -0
  81. package/node_modules/@kya-os/contracts/dist/cli.js +266 -0
  82. package/node_modules/@kya-os/contracts/dist/compute-binding.d.ts +48 -0
  83. package/node_modules/@kya-os/contracts/dist/compute-binding.js +42 -0
  84. package/node_modules/@kya-os/contracts/dist/compute.d.ts +474 -0
  85. package/node_modules/@kya-os/contracts/dist/compute.js +213 -0
  86. package/node_modules/@kya-os/contracts/dist/config/base.d.ts +76 -0
  87. package/node_modules/@kya-os/contracts/dist/config/base.js +11 -0
  88. package/node_modules/@kya-os/contracts/dist/config/builder.d.ts +33 -0
  89. package/node_modules/@kya-os/contracts/dist/config/builder.js +71 -0
  90. package/node_modules/@kya-os/contracts/dist/config/checkpoint-env.d.ts +25 -0
  91. package/node_modules/@kya-os/contracts/dist/config/checkpoint-env.js +38 -0
  92. package/node_modules/@kya-os/contracts/dist/config/client-messages.d.ts +216 -0
  93. package/node_modules/@kya-os/contracts/dist/config/client-messages.js +50 -0
  94. package/node_modules/@kya-os/contracts/dist/config/delegation-denial.d.ts +14 -0
  95. package/node_modules/@kya-os/contracts/dist/config/delegation-denial.js +30 -0
  96. package/node_modules/@kya-os/contracts/dist/config/delegation.d.ts +194 -0
  97. package/node_modules/@kya-os/contracts/dist/config/delegation.js +10 -0
  98. package/node_modules/@kya-os/contracts/dist/config/identity.d.ts +1164 -0
  99. package/node_modules/@kya-os/contracts/dist/config/identity.js +155 -0
  100. package/node_modules/@kya-os/contracts/dist/config/index.d.ts +45 -0
  101. package/node_modules/@kya-os/contracts/dist/config/index.js +41 -0
  102. package/node_modules/@kya-os/contracts/dist/config/proofing.d.ts +120 -0
  103. package/node_modules/@kya-os/contracts/dist/config/proofing.js +10 -0
  104. package/node_modules/@kya-os/contracts/dist/config/tool-context.d.ts +94 -0
  105. package/node_modules/@kya-os/contracts/dist/config/tool-context.js +13 -0
  106. package/node_modules/@kya-os/contracts/dist/config/tool-protection.d.ts +164 -0
  107. package/node_modules/@kya-os/contracts/dist/config/tool-protection.js +10 -0
  108. package/node_modules/@kya-os/contracts/dist/config/tool-refusal.d.ts +54 -0
  109. package/node_modules/@kya-os/contracts/dist/config/tool-refusal.js +82 -0
  110. package/node_modules/@kya-os/contracts/dist/consent/authorization-progress.d.ts +163 -0
  111. package/node_modules/@kya-os/contracts/dist/consent/authorization-progress.js +42 -0
  112. package/node_modules/@kya-os/contracts/dist/consent/index.d.ts +14 -0
  113. package/node_modules/@kya-os/contracts/dist/consent/index.js +94 -0
  114. package/node_modules/@kya-os/contracts/dist/consent/schemas.d.ts +965 -0
  115. package/node_modules/@kya-os/contracts/dist/consent/schemas.js +335 -0
  116. package/node_modules/@kya-os/contracts/dist/consent/types.d.ts +155 -0
  117. package/node_modules/@kya-os/contracts/dist/consent/types.js +10 -0
  118. package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.d.ts +49 -0
  119. package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.js +235 -0
  120. package/node_modules/@kya-os/contracts/dist/dashboard-config/index.d.ts +10 -0
  121. package/node_modules/@kya-os/contracts/dist/dashboard-config/index.js +37 -0
  122. package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.d.ts +13351 -0
  123. package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.js +267 -0
  124. package/node_modules/@kya-os/contracts/dist/dashboard-config/types.d.ts +359 -0
  125. package/node_modules/@kya-os/contracts/dist/dashboard-config/types.js +10 -0
  126. package/node_modules/@kya-os/contracts/dist/delegation/constraints.d.ts +1021 -0
  127. package/node_modules/@kya-os/contracts/dist/delegation/constraints.js +218 -0
  128. package/node_modules/@kya-os/contracts/dist/delegation/index.d.ts +7 -0
  129. package/node_modules/@kya-os/contracts/dist/delegation/index.js +23 -0
  130. package/node_modules/@kya-os/contracts/dist/delegation/schemas.d.ts +9302 -0
  131. package/node_modules/@kya-os/contracts/dist/delegation/schemas.js +585 -0
  132. package/node_modules/@kya-os/contracts/dist/deploy/index.d.ts +27 -0
  133. package/node_modules/@kya-os/contracts/dist/deploy/index.js +62 -0
  134. package/node_modules/@kya-os/contracts/dist/deploy/schemas.d.ts +1001 -0
  135. package/node_modules/@kya-os/contracts/dist/deploy/schemas.js +284 -0
  136. package/node_modules/@kya-os/contracts/dist/deploy/types.d.ts +256 -0
  137. package/node_modules/@kya-os/contracts/dist/deploy/types.js +10 -0
  138. package/node_modules/@kya-os/contracts/dist/did/index.d.ts +8 -0
  139. package/node_modules/@kya-os/contracts/dist/did/index.js +24 -0
  140. package/node_modules/@kya-os/contracts/dist/did/resolve-contract.d.ts +219 -0
  141. package/node_modules/@kya-os/contracts/dist/did/resolve-contract.js +31 -0
  142. package/node_modules/@kya-os/contracts/dist/did/schemas.d.ts +112 -0
  143. package/node_modules/@kya-os/contracts/dist/did/schemas.js +172 -0
  144. package/node_modules/@kya-os/contracts/dist/did/types.d.ts +163 -0
  145. package/node_modules/@kya-os/contracts/dist/did/types.js +70 -0
  146. package/node_modules/@kya-os/contracts/dist/env/constants.d.ts +57 -0
  147. package/node_modules/@kya-os/contracts/dist/env/constants.js +59 -0
  148. package/node_modules/@kya-os/contracts/dist/env/index.d.ts +4 -0
  149. package/node_modules/@kya-os/contracts/dist/env/index.js +20 -0
  150. package/node_modules/@kya-os/contracts/dist/fleet/index.d.ts +17 -0
  151. package/node_modules/@kya-os/contracts/dist/fleet/index.js +69 -0
  152. package/node_modules/@kya-os/contracts/dist/gateway/agents.d.ts +21 -0
  153. package/node_modules/@kya-os/contracts/dist/gateway/agents.js +12 -0
  154. package/node_modules/@kya-os/contracts/dist/gateway/cron.d.ts +33 -0
  155. package/node_modules/@kya-os/contracts/dist/gateway/cron.js +16 -0
  156. package/node_modules/@kya-os/contracts/dist/gateway/index.d.ts +20 -0
  157. package/node_modules/@kya-os/contracts/dist/gateway/index.js +37 -0
  158. package/node_modules/@kya-os/contracts/dist/gateway/sessions.d.ts +30 -0
  159. package/node_modules/@kya-os/contracts/dist/gateway/sessions.js +15 -0
  160. package/node_modules/@kya-os/contracts/dist/gateway/skills.d.ts +445 -0
  161. package/node_modules/@kya-os/contracts/dist/gateway/skills.js +47 -0
  162. package/node_modules/@kya-os/contracts/dist/gateway/usage.d.ts +43 -0
  163. package/node_modules/@kya-os/contracts/dist/gateway/usage.js +18 -0
  164. package/node_modules/@kya-os/contracts/dist/handshake/github-credential-anchor.d.ts +299 -0
  165. package/node_modules/@kya-os/contracts/dist/handshake/github-credential-anchor.js +200 -0
  166. package/node_modules/@kya-os/contracts/dist/handshake/index.d.ts +16 -0
  167. package/node_modules/@kya-os/contracts/dist/handshake/index.js +32 -0
  168. package/node_modules/@kya-os/contracts/dist/handshake/schemas.d.ts +557 -0
  169. package/node_modules/@kya-os/contracts/dist/handshake/schemas.js +282 -0
  170. package/node_modules/@kya-os/contracts/dist/handshake/verify.d.ts +36 -0
  171. package/node_modules/@kya-os/contracts/dist/handshake/verify.js +58 -0
  172. package/node_modules/@kya-os/contracts/dist/handshake.d.ts +12 -0
  173. package/node_modules/@kya-os/contracts/dist/handshake.js +28 -0
  174. package/node_modules/@kya-os/contracts/dist/identity/index.d.ts +10 -0
  175. package/node_modules/@kya-os/contracts/dist/identity/index.js +30 -0
  176. package/node_modules/@kya-os/contracts/dist/identity/schemas.d.ts +250 -0
  177. package/node_modules/@kya-os/contracts/dist/identity/schemas.js +115 -0
  178. package/node_modules/@kya-os/contracts/dist/index.d.ts +28 -0
  179. package/node_modules/@kya-os/contracts/dist/index.js +66 -0
  180. package/node_modules/@kya-os/contracts/dist/molti/admin-ws.d.ts +1871 -0
  181. package/node_modules/@kya-os/contracts/dist/molti/admin-ws.js +177 -0
  182. package/node_modules/@kya-os/contracts/dist/molti/index.d.ts +30 -0
  183. package/node_modules/@kya-os/contracts/dist/molti/index.js +86 -0
  184. package/node_modules/@kya-os/contracts/dist/molti/schemas.d.ts +837 -0
  185. package/node_modules/@kya-os/contracts/dist/molti/schemas.js +267 -0
  186. package/node_modules/@kya-os/contracts/dist/molti/types.d.ts +216 -0
  187. package/node_modules/@kya-os/contracts/dist/molti/types.js +25 -0
  188. package/node_modules/@kya-os/contracts/dist/pairing/index.d.ts +44 -0
  189. package/node_modules/@kya-os/contracts/dist/pairing/index.js +11 -0
  190. package/node_modules/@kya-os/contracts/dist/policy/index.d.ts +8 -0
  191. package/node_modules/@kya-os/contracts/dist/policy/index.js +41 -0
  192. package/node_modules/@kya-os/contracts/dist/policy/schemas.d.ts +3839 -0
  193. package/node_modules/@kya-os/contracts/dist/policy/schemas.js +424 -0
  194. package/node_modules/@kya-os/contracts/dist/proof/detached-proof.d.ts +476 -0
  195. package/node_modules/@kya-os/contracts/dist/proof/detached-proof.js +116 -0
  196. package/node_modules/@kya-os/contracts/dist/proof/index.d.ts +15 -0
  197. package/node_modules/@kya-os/contracts/dist/proof/index.js +32 -0
  198. package/node_modules/@kya-os/contracts/dist/proof/proof-record.d.ts +837 -0
  199. package/node_modules/@kya-os/contracts/dist/proof/proof-record.js +133 -0
  200. package/node_modules/@kya-os/contracts/dist/proof/signing-spec.d.ts +146 -0
  201. package/node_modules/@kya-os/contracts/dist/proof/signing-spec.js +122 -0
  202. package/node_modules/@kya-os/contracts/dist/proof.d.ts +12 -0
  203. package/node_modules/@kya-os/contracts/dist/proof.js +28 -0
  204. package/node_modules/@kya-os/contracts/dist/registry.d.ts +342 -0
  205. package/node_modules/@kya-os/contracts/dist/registry.js +118 -0
  206. package/node_modules/@kya-os/contracts/dist/reputation/api.d.ts +2866 -0
  207. package/node_modules/@kya-os/contracts/dist/reputation/api.js +397 -0
  208. package/node_modules/@kya-os/contracts/dist/reputation/constants.d.ts +242 -0
  209. package/node_modules/@kya-os/contracts/dist/reputation/constants.js +259 -0
  210. package/node_modules/@kya-os/contracts/dist/reputation/credentials.d.ts +1493 -0
  211. package/node_modules/@kya-os/contracts/dist/reputation/credentials.js +302 -0
  212. package/node_modules/@kya-os/contracts/dist/reputation/index.d.ts +21 -0
  213. package/node_modules/@kya-os/contracts/dist/reputation/index.js +42 -0
  214. package/node_modules/@kya-os/contracts/dist/reputation/interactions.d.ts +146 -0
  215. package/node_modules/@kya-os/contracts/dist/reputation/interactions.js +82 -0
  216. package/node_modules/@kya-os/contracts/dist/reputation/schemas.d.ts +1600 -0
  217. package/node_modules/@kya-os/contracts/dist/reputation/schemas.js +499 -0
  218. package/node_modules/@kya-os/contracts/dist/review/canonicalize.d.ts +87 -0
  219. package/node_modules/@kya-os/contracts/dist/review/canonicalize.js +122 -0
  220. package/node_modules/@kya-os/contracts/dist/review/fix-attestation.d.ts +151 -0
  221. package/node_modules/@kya-os/contracts/dist/review/fix-attestation.js +105 -0
  222. package/node_modules/@kya-os/contracts/dist/review/index.d.ts +9 -0
  223. package/node_modules/@kya-os/contracts/dist/review/index.js +25 -0
  224. package/node_modules/@kya-os/contracts/dist/review/registry.d.ts +349 -0
  225. package/node_modules/@kya-os/contracts/dist/review/registry.js +293 -0
  226. package/node_modules/@kya-os/contracts/dist/review/schemas.d.ts +249 -0
  227. package/node_modules/@kya-os/contracts/dist/review/schemas.js +102 -0
  228. package/node_modules/@kya-os/contracts/dist/review/verify.d.ts +72 -0
  229. package/node_modules/@kya-os/contracts/dist/review/verify.js +111 -0
  230. package/node_modules/@kya-os/contracts/dist/runtime/errors.d.ts +347 -0
  231. package/node_modules/@kya-os/contracts/dist/runtime/errors.js +119 -0
  232. package/node_modules/@kya-os/contracts/dist/runtime/headers.d.ts +87 -0
  233. package/node_modules/@kya-os/contracts/dist/runtime/headers.js +85 -0
  234. package/node_modules/@kya-os/contracts/dist/runtime/index.d.ts +5 -0
  235. package/node_modules/@kya-os/contracts/dist/runtime/index.js +21 -0
  236. package/node_modules/@kya-os/contracts/dist/skills/index.d.ts +8 -0
  237. package/node_modules/@kya-os/contracts/dist/skills/index.js +24 -0
  238. package/node_modules/@kya-os/contracts/dist/skills/schemas.d.ts +92 -0
  239. package/node_modules/@kya-os/contracts/dist/skills/schemas.js +82 -0
  240. package/node_modules/@kya-os/contracts/dist/test.d.ts +251 -0
  241. package/node_modules/@kya-os/contracts/dist/test.js +119 -0
  242. package/node_modules/@kya-os/contracts/dist/tlkrc/index.d.ts +4 -0
  243. package/node_modules/@kya-os/contracts/dist/tlkrc/index.js +20 -0
  244. package/node_modules/@kya-os/contracts/dist/tlkrc/rotation.d.ts +245 -0
  245. package/node_modules/@kya-os/contracts/dist/tlkrc/rotation.js +126 -0
  246. package/node_modules/@kya-os/contracts/dist/tool-protection/index.d.ts +1369 -0
  247. package/node_modules/@kya-os/contracts/dist/tool-protection/index.js +499 -0
  248. package/node_modules/@kya-os/contracts/dist/utils/validation.d.ts +30 -0
  249. package/node_modules/@kya-os/contracts/dist/utils/validation.js +69 -0
  250. package/node_modules/@kya-os/contracts/dist/vault/index.d.ts +9 -0
  251. package/node_modules/@kya-os/contracts/dist/vault/index.js +16 -0
  252. package/node_modules/@kya-os/contracts/dist/vault/schemas.d.ts +71 -0
  253. package/node_modules/@kya-os/contracts/dist/vault/schemas.js +52 -0
  254. package/node_modules/@kya-os/contracts/dist/vault/types.d.ts +15 -0
  255. package/node_modules/@kya-os/contracts/dist/vault/types.js +9 -0
  256. package/node_modules/@kya-os/contracts/dist/vc/index.d.ts +7 -0
  257. package/node_modules/@kya-os/contracts/dist/vc/index.js +23 -0
  258. package/node_modules/@kya-os/contracts/dist/vc/schemas.d.ts +2483 -0
  259. package/node_modules/@kya-os/contracts/dist/vc/schemas.js +224 -0
  260. package/node_modules/@kya-os/contracts/dist/vc/statuslist.d.ts +493 -0
  261. package/node_modules/@kya-os/contracts/dist/vc/statuslist.js +132 -0
  262. package/node_modules/@kya-os/contracts/dist/verifier/index.d.ts +8 -0
  263. package/node_modules/@kya-os/contracts/dist/verifier/index.js +24 -0
  264. package/node_modules/@kya-os/contracts/dist/verifier/schemas.d.ts +216 -0
  265. package/node_modules/@kya-os/contracts/dist/verifier/schemas.js +94 -0
  266. package/node_modules/@kya-os/contracts/dist/verifier.d.ts +11 -0
  267. package/node_modules/@kya-os/contracts/dist/verifier.js +27 -0
  268. package/node_modules/@kya-os/contracts/dist/well-known/index.d.ts +1013 -0
  269. package/node_modules/@kya-os/contracts/dist/well-known/index.js +302 -0
  270. package/node_modules/@kya-os/contracts/dist/workbench/a2a.d.ts +267 -0
  271. package/node_modules/@kya-os/contracts/dist/workbench/a2a.js +124 -0
  272. package/node_modules/@kya-os/contracts/dist/workbench/artifact-bindings.d.ts +1448 -0
  273. package/node_modules/@kya-os/contracts/dist/workbench/artifact-bindings.js +233 -0
  274. package/node_modules/@kya-os/contracts/dist/workbench/cache.d.ts +461 -0
  275. package/node_modules/@kya-os/contracts/dist/workbench/cache.js +165 -0
  276. package/node_modules/@kya-os/contracts/dist/workbench/economics.d.ts +1097 -0
  277. package/node_modules/@kya-os/contracts/dist/workbench/economics.js +87 -0
  278. package/node_modules/@kya-os/contracts/dist/workbench/execution.d.ts +594 -0
  279. package/node_modules/@kya-os/contracts/dist/workbench/execution.js +76 -0
  280. package/node_modules/@kya-os/contracts/dist/workbench/governed.d.ts +4323 -0
  281. package/node_modules/@kya-os/contracts/dist/workbench/governed.js +37 -0
  282. package/node_modules/@kya-os/contracts/dist/workbench/graph-interfaces.d.ts +1330 -0
  283. package/node_modules/@kya-os/contracts/dist/workbench/graph-interfaces.js +302 -0
  284. package/node_modules/@kya-os/contracts/dist/workbench/index.d.ts +17 -0
  285. package/node_modules/@kya-os/contracts/dist/workbench/index.js +33 -0
  286. package/node_modules/@kya-os/contracts/dist/workbench/lead-planner.d.ts +7603 -0
  287. package/node_modules/@kya-os/contracts/dist/workbench/lead-planner.js +20 -0
  288. package/node_modules/@kya-os/contracts/dist/workbench/linear-installation.d.ts +797 -0
  289. package/node_modules/@kya-os/contracts/dist/workbench/linear-installation.js +80 -0
  290. package/node_modules/@kya-os/contracts/dist/workbench/mailbox.d.ts +3245 -0
  291. package/node_modules/@kya-os/contracts/dist/workbench/mailbox.js +475 -0
  292. package/node_modules/@kya-os/contracts/dist/workbench/managed-worker.d.ts +199 -0
  293. package/node_modules/@kya-os/contracts/dist/workbench/managed-worker.js +49 -0
  294. package/node_modules/@kya-os/contracts/dist/workbench/review.d.ts +1585 -0
  295. package/node_modules/@kya-os/contracts/dist/workbench/review.js +84 -0
  296. package/node_modules/@kya-os/contracts/dist/workbench/routing.d.ts +1200 -0
  297. package/node_modules/@kya-os/contracts/dist/workbench/routing.js +93 -0
  298. package/node_modules/@kya-os/contracts/dist/workbench/task-status-projection.d.ts +190 -0
  299. package/node_modules/@kya-os/contracts/dist/workbench/task-status-projection.js +49 -0
  300. package/node_modules/@kya-os/contracts/dist/workbench/tracking.d.ts +3364 -0
  301. package/node_modules/@kya-os/contracts/dist/workbench/tracking.js +221 -0
  302. package/node_modules/@kya-os/contracts/dist/workbench/usage.d.ts +62 -0
  303. package/node_modules/@kya-os/contracts/dist/workbench/usage.js +57 -0
  304. package/node_modules/@kya-os/contracts/package.json +185 -0
  305. package/node_modules/@kya-os/contracts/parity-vectors/delegation-conformance.json +265 -0
  306. package/node_modules/@kya-os/contracts/parity-vectors/did-key.json +134 -0
  307. package/node_modules/@kya-os/contracts/parity-vectors/index.ts +253 -0
  308. package/node_modules/@kya-os/contracts/parity-vectors/scope-matching.json +330 -0
  309. package/node_modules/@kya-os/contracts/parity-vectors/vc-jwt.json +210 -0
  310. package/node_modules/@kya-os/contracts/parity-vectors/workbench/artifact-bindings.v1.json +1005 -0
  311. package/node_modules/@kya-os/contracts/parity-vectors/workbench/graph-interfaces.v1.json +1967 -0
  312. package/node_modules/@kya-os/contracts/parity-vectors/workbench/linear-installation.v1.json +75 -0
  313. package/node_modules/@kya-os/contracts/parity-vectors/workbench/task-status-projection.v1.json +591 -0
  314. package/node_modules/@kya-os/contracts/parity-vectors/workbench/tracker-document-upgrade.v1.json +516 -0
  315. package/node_modules/zod/LICENSE +21 -0
  316. package/node_modules/zod/README.md +208 -0
  317. package/node_modules/zod/dist/cjs/index.js +22 -0
  318. package/node_modules/zod/dist/cjs/package.json +3 -0
  319. package/node_modules/zod/dist/cjs/v3/ZodError.js +137 -0
  320. package/node_modules/zod/dist/cjs/v3/benchmarks/datetime.js +54 -0
  321. package/node_modules/zod/dist/cjs/v3/benchmarks/discriminatedUnion.js +79 -0
  322. package/node_modules/zod/dist/cjs/v3/benchmarks/index.js +59 -0
  323. package/node_modules/zod/dist/cjs/v3/benchmarks/ipv4.js +54 -0
  324. package/node_modules/zod/dist/cjs/v3/benchmarks/object.js +70 -0
  325. package/node_modules/zod/dist/cjs/v3/benchmarks/primitives.js +159 -0
  326. package/node_modules/zod/dist/cjs/v3/benchmarks/realworld.js +56 -0
  327. package/node_modules/zod/dist/cjs/v3/benchmarks/string.js +55 -0
  328. package/node_modules/zod/dist/cjs/v3/benchmarks/union.js +79 -0
  329. package/node_modules/zod/dist/cjs/v3/errors.js +17 -0
  330. package/node_modules/zod/dist/cjs/v3/external.js +22 -0
  331. package/node_modules/zod/dist/cjs/v3/helpers/enumUtil.js +2 -0
  332. package/node_modules/zod/dist/cjs/v3/helpers/errorUtil.js +9 -0
  333. package/node_modules/zod/dist/cjs/v3/helpers/parseUtil.js +124 -0
  334. package/node_modules/zod/dist/cjs/v3/helpers/partialUtil.js +2 -0
  335. package/node_modules/zod/dist/cjs/v3/helpers/typeAliases.js +2 -0
  336. package/node_modules/zod/dist/cjs/v3/helpers/util.js +137 -0
  337. package/node_modules/zod/dist/cjs/v3/index.js +33 -0
  338. package/node_modules/zod/dist/cjs/v3/locales/en.js +109 -0
  339. package/node_modules/zod/dist/cjs/v3/standard-schema.js +2 -0
  340. package/node_modules/zod/dist/cjs/v3/tests/Mocker.js +57 -0
  341. package/node_modules/zod/dist/cjs/v3/types.js +3773 -0
  342. package/node_modules/zod/dist/cjs/v4/classic/checks.js +32 -0
  343. package/node_modules/zod/dist/cjs/v4/classic/coerce.js +47 -0
  344. package/node_modules/zod/dist/cjs/v4/classic/compat.js +63 -0
  345. package/node_modules/zod/dist/cjs/v4/classic/errors.js +67 -0
  346. package/node_modules/zod/dist/cjs/v4/classic/external.js +69 -0
  347. package/node_modules/zod/dist/cjs/v4/classic/index.js +33 -0
  348. package/node_modules/zod/dist/cjs/v4/classic/iso.js +60 -0
  349. package/node_modules/zod/dist/cjs/v4/classic/parse.js +32 -0
  350. package/node_modules/zod/dist/cjs/v4/classic/schemas.js +1100 -0
  351. package/node_modules/zod/dist/cjs/v4/core/api.js +1021 -0
  352. package/node_modules/zod/dist/cjs/v4/core/checks.js +580 -0
  353. package/node_modules/zod/dist/cjs/v4/core/config.js +10 -0
  354. package/node_modules/zod/dist/cjs/v4/core/core.js +63 -0
  355. package/node_modules/zod/dist/cjs/v4/core/doc.js +39 -0
  356. package/node_modules/zod/dist/cjs/v4/core/errors.js +222 -0
  357. package/node_modules/zod/dist/cjs/v4/core/function.js +102 -0
  358. package/node_modules/zod/dist/cjs/v4/core/index.js +44 -0
  359. package/node_modules/zod/dist/cjs/v4/core/json-schema.js +2 -0
  360. package/node_modules/zod/dist/cjs/v4/core/parse.js +87 -0
  361. package/node_modules/zod/dist/cjs/v4/core/regexes.js +103 -0
  362. package/node_modules/zod/dist/cjs/v4/core/registries.js +47 -0
  363. package/node_modules/zod/dist/cjs/v4/core/schemas.js +1719 -0
  364. package/node_modules/zod/dist/cjs/v4/core/standard-schema.js +2 -0
  365. package/node_modules/zod/dist/cjs/v4/core/to-json-schema.js +833 -0
  366. package/node_modules/zod/dist/cjs/v4/core/util.js +537 -0
  367. package/node_modules/zod/dist/cjs/v4/core/versions.js +8 -0
  368. package/node_modules/zod/dist/cjs/v4/core/zsf.js +172 -0
  369. package/node_modules/zod/dist/cjs/v4/index.js +22 -0
  370. package/node_modules/zod/dist/cjs/v4/locales/ar.js +142 -0
  371. package/node_modules/zod/dist/cjs/v4/locales/az.js +141 -0
  372. package/node_modules/zod/dist/cjs/v4/locales/be.js +190 -0
  373. package/node_modules/zod/dist/cjs/v4/locales/ca.js +144 -0
  374. package/node_modules/zod/dist/cjs/v4/locales/cs.js +161 -0
  375. package/node_modules/zod/dist/cjs/v4/locales/de.js +142 -0
  376. package/node_modules/zod/dist/cjs/v4/locales/en.js +145 -0
  377. package/node_modules/zod/dist/cjs/v4/locales/es.js +143 -0
  378. package/node_modules/zod/dist/cjs/v4/locales/fa.js +148 -0
  379. package/node_modules/zod/dist/cjs/v4/locales/fi.js +148 -0
  380. package/node_modules/zod/dist/cjs/v4/locales/fr-CA.js +143 -0
  381. package/node_modules/zod/dist/cjs/v4/locales/fr.js +142 -0
  382. package/node_modules/zod/dist/cjs/v4/locales/he.js +143 -0
  383. package/node_modules/zod/dist/cjs/v4/locales/hu.js +143 -0
  384. package/node_modules/zod/dist/cjs/v4/locales/id.js +142 -0
  385. package/node_modules/zod/dist/cjs/v4/locales/index.js +82 -0
  386. package/node_modules/zod/dist/cjs/v4/locales/it.js +143 -0
  387. package/node_modules/zod/dist/cjs/v4/locales/ja.js +141 -0
  388. package/node_modules/zod/dist/cjs/v4/locales/kh.js +143 -0
  389. package/node_modules/zod/dist/cjs/v4/locales/ko.js +147 -0
  390. package/node_modules/zod/dist/cjs/v4/locales/mk.js +144 -0
  391. package/node_modules/zod/dist/cjs/v4/locales/ms.js +142 -0
  392. package/node_modules/zod/dist/cjs/v4/locales/nl.js +143 -0
  393. package/node_modules/zod/dist/cjs/v4/locales/no.js +142 -0
  394. package/node_modules/zod/dist/cjs/v4/locales/ota.js +143 -0
  395. package/node_modules/zod/dist/cjs/v4/locales/pl.js +143 -0
  396. package/node_modules/zod/dist/cjs/v4/locales/ps.js +148 -0
  397. package/node_modules/zod/dist/cjs/v4/locales/pt.js +142 -0
  398. package/node_modules/zod/dist/cjs/v4/locales/ru.js +190 -0
  399. package/node_modules/zod/dist/cjs/v4/locales/sl.js +143 -0
  400. package/node_modules/zod/dist/cjs/v4/locales/sv.js +144 -0
  401. package/node_modules/zod/dist/cjs/v4/locales/ta.js +143 -0
  402. package/node_modules/zod/dist/cjs/v4/locales/th.js +143 -0
  403. package/node_modules/zod/dist/cjs/v4/locales/tr.js +143 -0
  404. package/node_modules/zod/dist/cjs/v4/locales/ua.js +143 -0
  405. package/node_modules/zod/dist/cjs/v4/locales/ur.js +143 -0
  406. package/node_modules/zod/dist/cjs/v4/locales/vi.js +142 -0
  407. package/node_modules/zod/dist/cjs/v4/locales/zh-CN.js +142 -0
  408. package/node_modules/zod/dist/cjs/v4/locales/zh-TW.js +143 -0
  409. package/node_modules/zod/dist/cjs/v4/mini/checks.js +34 -0
  410. package/node_modules/zod/dist/cjs/v4/mini/coerce.js +47 -0
  411. package/node_modules/zod/dist/cjs/v4/mini/external.js +61 -0
  412. package/node_modules/zod/dist/cjs/v4/mini/index.js +32 -0
  413. package/node_modules/zod/dist/cjs/v4/mini/iso.js +60 -0
  414. package/node_modules/zod/dist/cjs/v4/mini/parse.js +8 -0
  415. package/node_modules/zod/dist/cjs/v4/mini/schemas.js +831 -0
  416. package/node_modules/zod/dist/esm/index.js +3 -0
  417. package/node_modules/zod/dist/esm/package.json +3 -0
  418. package/node_modules/zod/dist/esm/v3/ZodError.js +132 -0
  419. package/node_modules/zod/dist/esm/v3/benchmarks/datetime.js +49 -0
  420. package/node_modules/zod/dist/esm/v3/benchmarks/discriminatedUnion.js +74 -0
  421. package/node_modules/zod/dist/esm/v3/benchmarks/index.js +54 -0
  422. package/node_modules/zod/dist/esm/v3/benchmarks/ipv4.js +49 -0
  423. package/node_modules/zod/dist/esm/v3/benchmarks/object.js +65 -0
  424. package/node_modules/zod/dist/esm/v3/benchmarks/primitives.js +154 -0
  425. package/node_modules/zod/dist/esm/v3/benchmarks/realworld.js +51 -0
  426. package/node_modules/zod/dist/esm/v3/benchmarks/string.js +50 -0
  427. package/node_modules/zod/dist/esm/v3/benchmarks/union.js +74 -0
  428. package/node_modules/zod/dist/esm/v3/errors.js +9 -0
  429. package/node_modules/zod/dist/esm/v3/external.js +6 -0
  430. package/node_modules/zod/dist/esm/v3/helpers/enumUtil.js +1 -0
  431. package/node_modules/zod/dist/esm/v3/helpers/errorUtil.js +6 -0
  432. package/node_modules/zod/dist/esm/v3/helpers/parseUtil.js +109 -0
  433. package/node_modules/zod/dist/esm/v3/helpers/partialUtil.js +1 -0
  434. package/node_modules/zod/dist/esm/v3/helpers/typeAliases.js +1 -0
  435. package/node_modules/zod/dist/esm/v3/helpers/util.js +133 -0
  436. package/node_modules/zod/dist/esm/v3/index.js +4 -0
  437. package/node_modules/zod/dist/esm/v3/locales/en.js +107 -0
  438. package/node_modules/zod/dist/esm/v3/standard-schema.js +1 -0
  439. package/node_modules/zod/dist/esm/v3/tests/Mocker.js +53 -0
  440. package/node_modules/zod/dist/esm/v3/types.js +3691 -0
  441. package/node_modules/zod/dist/esm/v4/classic/checks.js +1 -0
  442. package/node_modules/zod/dist/esm/v4/classic/coerce.js +17 -0
  443. package/node_modules/zod/dist/esm/v4/classic/compat.js +33 -0
  444. package/node_modules/zod/dist/esm/v4/classic/errors.js +41 -0
  445. package/node_modules/zod/dist/esm/v4/classic/external.js +18 -0
  446. package/node_modules/zod/dist/esm/v4/classic/index.js +4 -0
  447. package/node_modules/zod/dist/esm/v4/classic/iso.js +30 -0
  448. package/node_modules/zod/dist/esm/v4/classic/parse.js +6 -0
  449. package/node_modules/zod/dist/esm/v4/classic/schemas.js +998 -0
  450. package/node_modules/zod/dist/esm/v4/core/api.js +889 -0
  451. package/node_modules/zod/dist/esm/v4/core/checks.js +554 -0
  452. package/node_modules/zod/dist/esm/v4/core/config.js +6 -0
  453. package/node_modules/zod/dist/esm/v4/core/core.js +57 -0
  454. package/node_modules/zod/dist/esm/v4/core/doc.js +35 -0
  455. package/node_modules/zod/dist/esm/v4/core/errors.js +191 -0
  456. package/node_modules/zod/dist/esm/v4/core/function.js +75 -0
  457. package/node_modules/zod/dist/esm/v4/core/index.js +15 -0
  458. package/node_modules/zod/dist/esm/v4/core/json-schema.js +1 -0
  459. package/node_modules/zod/dist/esm/v4/core/parse.js +57 -0
  460. package/node_modules/zod/dist/esm/v4/core/regexes.js +95 -0
  461. package/node_modules/zod/dist/esm/v4/core/registries.js +42 -0
  462. package/node_modules/zod/dist/esm/v4/core/schemas.js +1688 -0
  463. package/node_modules/zod/dist/esm/v4/core/standard-schema.js +1 -0
  464. package/node_modules/zod/dist/esm/v4/core/to-json-schema.js +828 -0
  465. package/node_modules/zod/dist/esm/v4/core/util.js +491 -0
  466. package/node_modules/zod/dist/esm/v4/core/versions.js +5 -0
  467. package/node_modules/zod/dist/esm/v4/core/zsf.js +171 -0
  468. package/node_modules/zod/dist/esm/v4/index.js +3 -0
  469. package/node_modules/zod/dist/esm/v4/locales/ar.js +116 -0
  470. package/node_modules/zod/dist/esm/v4/locales/az.js +115 -0
  471. package/node_modules/zod/dist/esm/v4/locales/be.js +164 -0
  472. package/node_modules/zod/dist/esm/v4/locales/ca.js +118 -0
  473. package/node_modules/zod/dist/esm/v4/locales/cs.js +135 -0
  474. package/node_modules/zod/dist/esm/v4/locales/de.js +116 -0
  475. package/node_modules/zod/dist/esm/v4/locales/en.js +117 -0
  476. package/node_modules/zod/dist/esm/v4/locales/es.js +117 -0
  477. package/node_modules/zod/dist/esm/v4/locales/fa.js +122 -0
  478. package/node_modules/zod/dist/esm/v4/locales/fi.js +122 -0
  479. package/node_modules/zod/dist/esm/v4/locales/fr-CA.js +117 -0
  480. package/node_modules/zod/dist/esm/v4/locales/fr.js +116 -0
  481. package/node_modules/zod/dist/esm/v4/locales/he.js +117 -0
  482. package/node_modules/zod/dist/esm/v4/locales/hu.js +117 -0
  483. package/node_modules/zod/dist/esm/v4/locales/id.js +116 -0
  484. package/node_modules/zod/dist/esm/v4/locales/index.js +38 -0
  485. package/node_modules/zod/dist/esm/v4/locales/it.js +117 -0
  486. package/node_modules/zod/dist/esm/v4/locales/ja.js +115 -0
  487. package/node_modules/zod/dist/esm/v4/locales/kh.js +117 -0
  488. package/node_modules/zod/dist/esm/v4/locales/ko.js +121 -0
  489. package/node_modules/zod/dist/esm/v4/locales/mk.js +118 -0
  490. package/node_modules/zod/dist/esm/v4/locales/ms.js +116 -0
  491. package/node_modules/zod/dist/esm/v4/locales/nl.js +117 -0
  492. package/node_modules/zod/dist/esm/v4/locales/no.js +116 -0
  493. package/node_modules/zod/dist/esm/v4/locales/ota.js +117 -0
  494. package/node_modules/zod/dist/esm/v4/locales/pl.js +117 -0
  495. package/node_modules/zod/dist/esm/v4/locales/ps.js +122 -0
  496. package/node_modules/zod/dist/esm/v4/locales/pt.js +116 -0
  497. package/node_modules/zod/dist/esm/v4/locales/ru.js +164 -0
  498. package/node_modules/zod/dist/esm/v4/locales/sl.js +117 -0
  499. package/node_modules/zod/dist/esm/v4/locales/sv.js +118 -0
  500. package/node_modules/zod/dist/esm/v4/locales/ta.js +117 -0
  501. package/node_modules/zod/dist/esm/v4/locales/th.js +117 -0
  502. package/node_modules/zod/dist/esm/v4/locales/tr.js +115 -0
  503. package/node_modules/zod/dist/esm/v4/locales/ua.js +117 -0
  504. package/node_modules/zod/dist/esm/v4/locales/ur.js +117 -0
  505. package/node_modules/zod/dist/esm/v4/locales/vi.js +116 -0
  506. package/node_modules/zod/dist/esm/v4/locales/zh-CN.js +116 -0
  507. package/node_modules/zod/dist/esm/v4/locales/zh-TW.js +117 -0
  508. package/node_modules/zod/dist/esm/v4/mini/checks.js +1 -0
  509. package/node_modules/zod/dist/esm/v4/mini/coerce.js +17 -0
  510. package/node_modules/zod/dist/esm/v4/mini/external.js +13 -0
  511. package/node_modules/zod/dist/esm/v4/mini/index.js +3 -0
  512. package/node_modules/zod/dist/esm/v4/mini/iso.js +30 -0
  513. package/node_modules/zod/dist/esm/v4/mini/parse.js +1 -0
  514. package/node_modules/zod/dist/esm/v4/mini/schemas.js +725 -0
  515. package/node_modules/zod/dist/types/index.d.ts +3 -0
  516. package/node_modules/zod/dist/types/package.json +3 -0
  517. package/node_modules/zod/dist/types/v3/ZodError.d.ts +164 -0
  518. package/node_modules/zod/dist/types/v3/benchmarks/datetime.d.ts +5 -0
  519. package/node_modules/zod/dist/types/v3/benchmarks/discriminatedUnion.d.ts +5 -0
  520. package/node_modules/zod/dist/types/v3/benchmarks/index.d.ts +1 -0
  521. package/node_modules/zod/dist/types/v3/benchmarks/ipv4.d.ts +5 -0
  522. package/node_modules/zod/dist/types/v3/benchmarks/object.d.ts +5 -0
  523. package/node_modules/zod/dist/types/v3/benchmarks/primitives.d.ts +5 -0
  524. package/node_modules/zod/dist/types/v3/benchmarks/realworld.d.ts +5 -0
  525. package/node_modules/zod/dist/types/v3/benchmarks/string.d.ts +5 -0
  526. package/node_modules/zod/dist/types/v3/benchmarks/union.d.ts +5 -0
  527. package/node_modules/zod/dist/types/v3/errors.d.ts +5 -0
  528. package/node_modules/zod/dist/types/v3/external.d.ts +6 -0
  529. package/node_modules/zod/dist/types/v3/helpers/enumUtil.d.ts +8 -0
  530. package/node_modules/zod/dist/types/v3/helpers/errorUtil.d.ts +9 -0
  531. package/node_modules/zod/dist/types/v3/helpers/parseUtil.d.ts +78 -0
  532. package/node_modules/zod/dist/types/v3/helpers/partialUtil.d.ts +8 -0
  533. package/node_modules/zod/dist/types/v3/helpers/typeAliases.d.ts +2 -0
  534. package/node_modules/zod/dist/types/v3/helpers/util.d.ts +85 -0
  535. package/node_modules/zod/dist/types/v3/index.d.ts +4 -0
  536. package/node_modules/zod/dist/types/v3/locales/en.d.ts +3 -0
  537. package/node_modules/zod/dist/types/v3/standard-schema.d.ts +102 -0
  538. package/node_modules/zod/dist/types/v3/tests/Mocker.d.ts +17 -0
  539. package/node_modules/zod/dist/types/v3/types.d.ts +1031 -0
  540. package/node_modules/zod/dist/types/v4/classic/checks.d.ts +1 -0
  541. package/node_modules/zod/dist/types/v4/classic/coerce.d.ts +17 -0
  542. package/node_modules/zod/dist/types/v4/classic/compat.d.ts +48 -0
  543. package/node_modules/zod/dist/types/v4/classic/errors.d.ts +30 -0
  544. package/node_modules/zod/dist/types/v4/classic/external.d.ts +13 -0
  545. package/node_modules/zod/dist/types/v4/classic/index.d.ts +4 -0
  546. package/node_modules/zod/dist/types/v4/classic/iso.d.ts +22 -0
  547. package/node_modules/zod/dist/types/v4/classic/parse.d.ts +23 -0
  548. package/node_modules/zod/dist/types/v4/classic/schemas.d.ts +624 -0
  549. package/node_modules/zod/dist/types/v4/core/api.d.ts +281 -0
  550. package/node_modules/zod/dist/types/v4/core/checks.d.ts +277 -0
  551. package/node_modules/zod/dist/types/v4/core/config.d.ts +9 -0
  552. package/node_modules/zod/dist/types/v4/core/core.d.ts +47 -0
  553. package/node_modules/zod/dist/types/v4/core/doc.d.ts +14 -0
  554. package/node_modules/zod/dist/types/v4/core/errors.d.ts +204 -0
  555. package/node_modules/zod/dist/types/v4/core/function.d.ts +52 -0
  556. package/node_modules/zod/dist/types/v4/core/index.d.ts +15 -0
  557. package/node_modules/zod/dist/types/v4/core/json-schema.d.ts +87 -0
  558. package/node_modules/zod/dist/types/v4/core/parse.d.ts +25 -0
  559. package/node_modules/zod/dist/types/v4/core/regexes.d.ts +62 -0
  560. package/node_modules/zod/dist/types/v4/core/registries.d.ts +39 -0
  561. package/node_modules/zod/dist/types/v4/core/schemas.d.ts +1005 -0
  562. package/node_modules/zod/dist/types/v4/core/standard-schema.d.ts +55 -0
  563. package/node_modules/zod/dist/types/v4/core/to-json-schema.d.ts +84 -0
  564. package/node_modules/zod/dist/types/v4/core/util.d.ts +183 -0
  565. package/node_modules/zod/dist/types/v4/core/versions.d.ts +5 -0
  566. package/node_modules/zod/dist/types/v4/core/zsf.d.ts +91 -0
  567. package/node_modules/zod/dist/types/v4/index.d.ts +3 -0
  568. package/node_modules/zod/dist/types/v4/locales/ar.d.ts +4 -0
  569. package/node_modules/zod/dist/types/v4/locales/az.d.ts +4 -0
  570. package/node_modules/zod/dist/types/v4/locales/be.d.ts +4 -0
  571. package/node_modules/zod/dist/types/v4/locales/ca.d.ts +4 -0
  572. package/node_modules/zod/dist/types/v4/locales/cs.d.ts +4 -0
  573. package/node_modules/zod/dist/types/v4/locales/de.d.ts +4 -0
  574. package/node_modules/zod/dist/types/v4/locales/en.d.ts +5 -0
  575. package/node_modules/zod/dist/types/v4/locales/es.d.ts +4 -0
  576. package/node_modules/zod/dist/types/v4/locales/fa.d.ts +4 -0
  577. package/node_modules/zod/dist/types/v4/locales/fi.d.ts +4 -0
  578. package/node_modules/zod/dist/types/v4/locales/fr-CA.d.ts +4 -0
  579. package/node_modules/zod/dist/types/v4/locales/fr.d.ts +4 -0
  580. package/node_modules/zod/dist/types/v4/locales/he.d.ts +4 -0
  581. package/node_modules/zod/dist/types/v4/locales/hu.d.ts +4 -0
  582. package/node_modules/zod/dist/types/v4/locales/id.d.ts +4 -0
  583. package/node_modules/zod/dist/types/v4/locales/index.d.ts +38 -0
  584. package/node_modules/zod/dist/types/v4/locales/it.d.ts +4 -0
  585. package/node_modules/zod/dist/types/v4/locales/ja.d.ts +4 -0
  586. package/node_modules/zod/dist/types/v4/locales/kh.d.ts +4 -0
  587. package/node_modules/zod/dist/types/v4/locales/ko.d.ts +4 -0
  588. package/node_modules/zod/dist/types/v4/locales/mk.d.ts +4 -0
  589. package/node_modules/zod/dist/types/v4/locales/ms.d.ts +4 -0
  590. package/node_modules/zod/dist/types/v4/locales/nl.d.ts +4 -0
  591. package/node_modules/zod/dist/types/v4/locales/no.d.ts +4 -0
  592. package/node_modules/zod/dist/types/v4/locales/ota.d.ts +4 -0
  593. package/node_modules/zod/dist/types/v4/locales/pl.d.ts +4 -0
  594. package/node_modules/zod/dist/types/v4/locales/ps.d.ts +4 -0
  595. package/node_modules/zod/dist/types/v4/locales/pt.d.ts +4 -0
  596. package/node_modules/zod/dist/types/v4/locales/ru.d.ts +4 -0
  597. package/node_modules/zod/dist/types/v4/locales/sl.d.ts +4 -0
  598. package/node_modules/zod/dist/types/v4/locales/sv.d.ts +4 -0
  599. package/node_modules/zod/dist/types/v4/locales/ta.d.ts +4 -0
  600. package/node_modules/zod/dist/types/v4/locales/th.d.ts +4 -0
  601. package/node_modules/zod/dist/types/v4/locales/tr.d.ts +5 -0
  602. package/node_modules/zod/dist/types/v4/locales/ua.d.ts +4 -0
  603. package/node_modules/zod/dist/types/v4/locales/ur.d.ts +4 -0
  604. package/node_modules/zod/dist/types/v4/locales/vi.d.ts +4 -0
  605. package/node_modules/zod/dist/types/v4/locales/zh-CN.d.ts +4 -0
  606. package/node_modules/zod/dist/types/v4/locales/zh-TW.d.ts +4 -0
  607. package/node_modules/zod/dist/types/v4/mini/checks.d.ts +1 -0
  608. package/node_modules/zod/dist/types/v4/mini/coerce.d.ts +7 -0
  609. package/node_modules/zod/dist/types/v4/mini/external.d.ts +11 -0
  610. package/node_modules/zod/dist/types/v4/mini/index.d.ts +3 -0
  611. package/node_modules/zod/dist/types/v4/mini/iso.d.ts +22 -0
  612. package/node_modules/zod/dist/types/v4/mini/parse.d.ts +1 -0
  613. package/node_modules/zod/dist/types/v4/mini/schemas.d.ts +351 -0
  614. package/node_modules/zod/package.json +120 -0
  615. package/node_modules/zod/v3/index.d.ts +3 -0
  616. package/node_modules/zod/v3/index.js +1 -0
  617. package/node_modules/zod/v4/core/index.d.ts +1 -0
  618. package/node_modules/zod/v4/core/index.js +1 -0
  619. package/node_modules/zod/v4/index.d.ts +3 -0
  620. package/node_modules/zod/v4/index.js +1 -0
  621. package/node_modules/zod/v4/locales/en.d.ts +2 -0
  622. package/node_modules/zod/v4/locales/en.js +2 -0
  623. package/node_modules/zod/v4/locales/index.d.ts +1 -0
  624. package/node_modules/zod/v4/locales/index.js +1 -0
  625. package/node_modules/zod/v4-mini/index.d.ts +1 -0
  626. package/node_modules/zod/v4-mini/index.js +1 -0
  627. package/package.json +31 -33
  628. package/skills/fix/INSTRUCTIONS.md +40 -0
  629. package/skills/fix/skill.json +8 -0
  630. package/skills/review/INSTRUCTIONS.md +49 -0
  631. package/skills/review/skill.json +8 -0
  632. package/dist/commands/build.d.ts +0 -5
  633. package/dist/commands/build.d.ts.map +0 -1
  634. package/dist/commands/build.js +0 -173
  635. package/dist/commands/build.js.map +0 -1
  636. package/dist/commands/check.d.ts +0 -6
  637. package/dist/commands/check.d.ts.map +0 -1
  638. package/dist/commands/check.js +0 -145
  639. package/dist/commands/check.js.map +0 -1
  640. package/dist/commands/checkpoint-init.d.ts +0 -32
  641. package/dist/commands/checkpoint-init.d.ts.map +0 -1
  642. package/dist/commands/checkpoint-init.js +0 -521
  643. package/dist/commands/checkpoint-init.js.map +0 -1
  644. package/dist/commands/claim.d.ts +0 -22
  645. package/dist/commands/claim.d.ts.map +0 -1
  646. package/dist/commands/claim.js +0 -315
  647. package/dist/commands/claim.js.map +0 -1
  648. package/dist/commands/dco.d.ts +0 -55
  649. package/dist/commands/dco.d.ts.map +0 -1
  650. package/dist/commands/dco.js +0 -280
  651. package/dist/commands/dco.js.map +0 -1
  652. package/dist/commands/demo.d.ts +0 -10
  653. package/dist/commands/demo.d.ts.map +0 -1
  654. package/dist/commands/demo.js +0 -584
  655. package/dist/commands/demo.js.map +0 -1
  656. package/dist/commands/dev.d.ts +0 -5
  657. package/dist/commands/dev.d.ts.map +0 -1
  658. package/dist/commands/dev.js +0 -77
  659. package/dist/commands/dev.js.map +0 -1
  660. package/dist/commands/doctor.d.ts +0 -11
  661. package/dist/commands/doctor.d.ts.map +0 -1
  662. package/dist/commands/doctor.js +0 -524
  663. package/dist/commands/doctor.js.map +0 -1
  664. package/dist/commands/env.d.ts +0 -2
  665. package/dist/commands/env.d.ts.map +0 -1
  666. package/dist/commands/env.js +0 -320
  667. package/dist/commands/env.js.map +0 -1
  668. package/dist/commands/identity.d.ts +0 -14
  669. package/dist/commands/identity.d.ts.map +0 -1
  670. package/dist/commands/identity.js +0 -204
  671. package/dist/commands/identity.js.map +0 -1
  672. package/dist/commands/init.d.ts +0 -21
  673. package/dist/commands/init.d.ts.map +0 -1
  674. package/dist/commands/init.js +0 -358
  675. package/dist/commands/init.js.map +0 -1
  676. package/dist/commands/receipts.d.ts +0 -22
  677. package/dist/commands/receipts.d.ts.map +0 -1
  678. package/dist/commands/receipts.js +0 -189
  679. package/dist/commands/receipts.js.map +0 -1
  680. package/dist/commands/register.d.ts +0 -34
  681. package/dist/commands/register.d.ts.map +0 -1
  682. package/dist/commands/register.js +0 -463
  683. package/dist/commands/register.js.map +0 -1
  684. package/dist/commands/rotate.d.ts +0 -13
  685. package/dist/commands/rotate.d.ts.map +0 -1
  686. package/dist/commands/rotate.js +0 -167
  687. package/dist/commands/rotate.js.map +0 -1
  688. package/dist/commands/start.d.ts +0 -5
  689. package/dist/commands/start.d.ts.map +0 -1
  690. package/dist/commands/start.js +0 -129
  691. package/dist/commands/start.js.map +0 -1
  692. package/dist/commands/status.d.ts +0 -9
  693. package/dist/commands/status.d.ts.map +0 -1
  694. package/dist/commands/status.js +0 -199
  695. package/dist/commands/status.js.map +0 -1
  696. package/dist/commands/verify.d.ts +0 -22
  697. package/dist/commands/verify.d.ts.map +0 -1
  698. package/dist/commands/verify.js +0 -491
  699. package/dist/commands/verify.js.map +0 -1
  700. package/dist/components/agent-avatar.d.ts +0 -87
  701. package/dist/components/agent-avatar.d.ts.map +0 -1
  702. package/dist/components/agent-avatar.js +0 -257
  703. package/dist/components/agent-avatar.js.map +0 -1
  704. package/dist/components/agent-card.d.ts +0 -14
  705. package/dist/components/agent-card.d.ts.map +0 -1
  706. package/dist/components/agent-card.js +0 -167
  707. package/dist/components/agent-card.js.map +0 -1
  708. package/dist/components/agent-table.d.ts +0 -31
  709. package/dist/components/agent-table.d.ts.map +0 -1
  710. package/dist/components/agent-table.js +0 -341
  711. package/dist/components/agent-table.js.map +0 -1
  712. package/dist/components/box.d.ts +0 -14
  713. package/dist/components/box.d.ts.map +0 -1
  714. package/dist/components/box.js +0 -222
  715. package/dist/components/box.js.map +0 -1
  716. package/dist/components/claim-experience.d.ts +0 -21
  717. package/dist/components/claim-experience.d.ts.map +0 -1
  718. package/dist/components/claim-experience.js +0 -138
  719. package/dist/components/claim-experience.js.map +0 -1
  720. package/dist/components/index.d.ts +0 -17
  721. package/dist/components/index.d.ts.map +0 -1
  722. package/dist/components/index.js +0 -18
  723. package/dist/components/index.js.map +0 -1
  724. package/dist/components/messages.d.ts +0 -62
  725. package/dist/components/messages.d.ts.map +0 -1
  726. package/dist/components/messages.js +0 -146
  727. package/dist/components/messages.js.map +0 -1
  728. package/dist/components/types.d.ts +0 -51
  729. package/dist/components/types.d.ts.map +0 -1
  730. package/dist/components/types.js +0 -5
  731. package/dist/components/types.js.map +0 -1
  732. package/dist/components/welcome.d.ts +0 -46
  733. package/dist/components/welcome.d.ts.map +0 -1
  734. package/dist/components/welcome.js +0 -182
  735. package/dist/components/welcome.js.map +0 -1
  736. package/dist/dco.d.ts +0 -4
  737. package/dist/dco.d.ts.map +0 -1
  738. package/dist/dco.js +0 -21
  739. package/dist/dco.js.map +0 -1
  740. package/dist/effects/animation-engine.d.ts +0 -173
  741. package/dist/effects/animation-engine.d.ts.map +0 -1
  742. package/dist/effects/animation-engine.js +0 -254
  743. package/dist/effects/animation-engine.js.map +0 -1
  744. package/dist/effects/cli-integration.d.ts +0 -86
  745. package/dist/effects/cli-integration.d.ts.map +0 -1
  746. package/dist/effects/cli-integration.js +0 -310
  747. package/dist/effects/cli-integration.js.map +0 -1
  748. package/dist/effects/config.d.ts +0 -95
  749. package/dist/effects/config.d.ts.map +0 -1
  750. package/dist/effects/config.js +0 -216
  751. package/dist/effects/config.js.map +0 -1
  752. package/dist/effects/effect-runner.d.ts +0 -69
  753. package/dist/effects/effect-runner.d.ts.map +0 -1
  754. package/dist/effects/effect-runner.js +0 -255
  755. package/dist/effects/effect-runner.js.map +0 -1
  756. package/dist/effects/gradient.d.ts +0 -131
  757. package/dist/effects/gradient.d.ts.map +0 -1
  758. package/dist/effects/gradient.js +0 -236
  759. package/dist/effects/gradient.js.map +0 -1
  760. package/dist/effects/implementations/beams.d.ts +0 -80
  761. package/dist/effects/implementations/beams.d.ts.map +0 -1
  762. package/dist/effects/implementations/beams.js +0 -221
  763. package/dist/effects/implementations/beams.js.map +0 -1
  764. package/dist/effects/implementations/blackhole.d.ts +0 -98
  765. package/dist/effects/implementations/blackhole.d.ts.map +0 -1
  766. package/dist/effects/implementations/blackhole.js +0 -421
  767. package/dist/effects/implementations/blackhole.js.map +0 -1
  768. package/dist/effects/implementations/burn.d.ts +0 -74
  769. package/dist/effects/implementations/burn.d.ts.map +0 -1
  770. package/dist/effects/implementations/burn.js +0 -234
  771. package/dist/effects/implementations/burn.js.map +0 -1
  772. package/dist/effects/implementations/decrypt.d.ts +0 -115
  773. package/dist/effects/implementations/decrypt.d.ts.map +0 -1
  774. package/dist/effects/implementations/decrypt.js +0 -394
  775. package/dist/effects/implementations/decrypt.js.map +0 -1
  776. package/dist/effects/implementations/waves.d.ts +0 -78
  777. package/dist/effects/implementations/waves.d.ts.map +0 -1
  778. package/dist/effects/implementations/waves.js +0 -278
  779. package/dist/effects/implementations/waves.js.map +0 -1
  780. package/dist/effects/index.d.ts +0 -34
  781. package/dist/effects/index.d.ts.map +0 -1
  782. package/dist/effects/index.js +0 -114
  783. package/dist/effects/index.js.map +0 -1
  784. package/dist/effects/motion-engine.d.ts +0 -168
  785. package/dist/effects/motion-engine.d.ts.map +0 -1
  786. package/dist/effects/motion-engine.js +0 -353
  787. package/dist/effects/motion-engine.js.map +0 -1
  788. package/dist/effects/safe-executor.d.ts +0 -55
  789. package/dist/effects/safe-executor.d.ts.map +0 -1
  790. package/dist/effects/safe-executor.js +0 -210
  791. package/dist/effects/safe-executor.js.map +0 -1
  792. package/dist/effects/types.d.ts +0 -199
  793. package/dist/effects/types.d.ts.map +0 -1
  794. package/dist/effects/types.js +0 -80
  795. package/dist/effects/types.js.map +0 -1
  796. package/dist/effects/utils.d.ts +0 -104
  797. package/dist/effects/utils.d.ts.map +0 -1
  798. package/dist/effects/utils.js +0 -280
  799. package/dist/effects/utils.js.map +0 -1
  800. package/dist/index.d.ts +0 -4
  801. package/dist/index.js +0 -213
  802. package/dist/utils/api-response.d.ts +0 -96
  803. package/dist/utils/api-response.d.ts.map +0 -1
  804. package/dist/utils/api-response.js +0 -86
  805. package/dist/utils/api-response.js.map +0 -1
  806. package/dist/utils/checkpoint-api.d.ts +0 -86
  807. package/dist/utils/checkpoint-api.d.ts.map +0 -1
  808. package/dist/utils/checkpoint-api.js +0 -196
  809. package/dist/utils/checkpoint-api.js.map +0 -1
  810. package/dist/utils/checkpoint-env.d.ts +0 -23
  811. package/dist/utils/checkpoint-env.d.ts.map +0 -1
  812. package/dist/utils/checkpoint-env.js +0 -59
  813. package/dist/utils/checkpoint-env.js.map +0 -1
  814. package/dist/utils/checkpoint-scaffold.d.ts +0 -61
  815. package/dist/utils/checkpoint-scaffold.d.ts.map +0 -1
  816. package/dist/utils/checkpoint-scaffold.js +0 -268
  817. package/dist/utils/checkpoint-scaffold.js.map +0 -1
  818. package/dist/utils/cli-kit/browser.d.ts +0 -24
  819. package/dist/utils/cli-kit/browser.d.ts.map +0 -1
  820. package/dist/utils/cli-kit/browser.js +0 -58
  821. package/dist/utils/cli-kit/browser.js.map +0 -1
  822. package/dist/utils/cli-kit/claim-polling.d.ts +0 -18
  823. package/dist/utils/cli-kit/claim-polling.d.ts.map +0 -1
  824. package/dist/utils/cli-kit/claim-polling.js +0 -90
  825. package/dist/utils/cli-kit/claim-polling.js.map +0 -1
  826. package/dist/utils/cli-kit/diagnostics.d.ts +0 -9
  827. package/dist/utils/cli-kit/diagnostics.d.ts.map +0 -1
  828. package/dist/utils/cli-kit/diagnostics.js +0 -11
  829. package/dist/utils/cli-kit/diagnostics.js.map +0 -1
  830. package/dist/utils/cli-kit/fs-safe.d.ts +0 -14
  831. package/dist/utils/cli-kit/fs-safe.d.ts.map +0 -1
  832. package/dist/utils/cli-kit/fs-safe.js +0 -20
  833. package/dist/utils/cli-kit/fs-safe.js.map +0 -1
  834. package/dist/utils/cli-kit/index.d.ts +0 -15
  835. package/dist/utils/cli-kit/index.d.ts.map +0 -1
  836. package/dist/utils/cli-kit/index.js +0 -10
  837. package/dist/utils/cli-kit/index.js.map +0 -1
  838. package/dist/utils/cli-kit/json-file.d.ts +0 -21
  839. package/dist/utils/cli-kit/json-file.d.ts.map +0 -1
  840. package/dist/utils/cli-kit/json-file.js +0 -51
  841. package/dist/utils/cli-kit/json-file.js.map +0 -1
  842. package/dist/utils/cli-kit/marker-block.d.ts +0 -26
  843. package/dist/utils/cli-kit/marker-block.d.ts.map +0 -1
  844. package/dist/utils/cli-kit/marker-block.js +0 -61
  845. package/dist/utils/cli-kit/marker-block.js.map +0 -1
  846. package/dist/utils/cli-kit/paths.d.ts +0 -15
  847. package/dist/utils/cli-kit/paths.d.ts.map +0 -1
  848. package/dist/utils/cli-kit/paths.js +0 -21
  849. package/dist/utils/cli-kit/paths.js.map +0 -1
  850. package/dist/utils/cli-kit/secure-storage.d.ts +0 -14
  851. package/dist/utils/cli-kit/secure-storage.d.ts.map +0 -1
  852. package/dist/utils/cli-kit/secure-storage.js +0 -20
  853. package/dist/utils/cli-kit/secure-storage.js.map +0 -1
  854. package/dist/utils/cli-kit/step-report.d.ts +0 -16
  855. package/dist/utils/cli-kit/step-report.d.ts.map +0 -1
  856. package/dist/utils/cli-kit/step-report.js +0 -36
  857. package/dist/utils/cli-kit/step-report.js.map +0 -1
  858. package/dist/utils/dco/agent-metadata.d.ts +0 -24
  859. package/dist/utils/dco/agent-metadata.d.ts.map +0 -1
  860. package/dist/utils/dco/agent-metadata.js +0 -46
  861. package/dist/utils/dco/agent-metadata.js.map +0 -1
  862. package/dist/utils/dco/claude-config.d.ts +0 -55
  863. package/dist/utils/dco/claude-config.d.ts.map +0 -1
  864. package/dist/utils/dco/claude-config.js +0 -66
  865. package/dist/utils/dco/claude-config.js.map +0 -1
  866. package/dist/utils/dco/dispatch.d.ts +0 -59
  867. package/dist/utils/dco/dispatch.d.ts.map +0 -1
  868. package/dist/utils/dco/dispatch.js +0 -332
  869. package/dist/utils/dco/dispatch.js.map +0 -1
  870. package/dist/utils/dco/git-config.d.ts +0 -47
  871. package/dist/utils/dco/git-config.d.ts.map +0 -1
  872. package/dist/utils/dco/git-config.js +0 -161
  873. package/dist/utils/dco/git-config.js.map +0 -1
  874. package/dist/utils/dco/github.d.ts +0 -57
  875. package/dist/utils/dco/github.d.ts.map +0 -1
  876. package/dist/utils/dco/github.js +0 -165
  877. package/dist/utils/dco/github.js.map +0 -1
  878. package/dist/utils/dco/paths.d.ts +0 -9
  879. package/dist/utils/dco/paths.d.ts.map +0 -1
  880. package/dist/utils/dco/paths.js +0 -18
  881. package/dist/utils/dco/paths.js.map +0 -1
  882. package/dist/utils/dco/render.d.ts +0 -4
  883. package/dist/utils/dco/render.d.ts.map +0 -1
  884. package/dist/utils/dco/render.js +0 -35
  885. package/dist/utils/dco/render.js.map +0 -1
  886. package/dist/utils/dco/resolve-agent.d.ts +0 -54
  887. package/dist/utils/dco/resolve-agent.d.ts.map +0 -1
  888. package/dist/utils/dco/resolve-agent.js +0 -164
  889. package/dist/utils/dco/resolve-agent.js.map +0 -1
  890. package/dist/utils/dco/setup.d.ts +0 -50
  891. package/dist/utils/dco/setup.d.ts.map +0 -1
  892. package/dist/utils/dco/setup.js +0 -842
  893. package/dist/utils/dco/setup.js.map +0 -1
  894. package/dist/utils/dco/ssh-key.d.ts +0 -56
  895. package/dist/utils/dco/ssh-key.d.ts.map +0 -1
  896. package/dist/utils/dco/ssh-key.js +0 -197
  897. package/dist/utils/dco/ssh-key.js.map +0 -1
  898. package/dist/utils/dco/status.d.ts +0 -12
  899. package/dist/utils/dco/status.d.ts.map +0 -1
  900. package/dist/utils/dco/status.js +0 -238
  901. package/dist/utils/dco/status.js.map +0 -1
  902. package/dist/utils/dco/verify.d.ts +0 -114
  903. package/dist/utils/dco/verify.d.ts.map +0 -1
  904. package/dist/utils/dco/verify.js +0 -383
  905. package/dist/utils/dco/verify.js.map +0 -1
  906. package/dist/utils/env-manager.d.ts +0 -122
  907. package/dist/utils/env-manager.d.ts.map +0 -1
  908. package/dist/utils/env-manager.js +0 -514
  909. package/dist/utils/env-manager.js.map +0 -1
  910. package/dist/utils/gitignore.d.ts +0 -17
  911. package/dist/utils/gitignore.d.ts.map +0 -1
  912. package/dist/utils/gitignore.js +0 -40
  913. package/dist/utils/gitignore.js.map +0 -1
  914. package/dist/utils/identity-heal.d.ts +0 -16
  915. package/dist/utils/identity-heal.d.ts.map +0 -1
  916. package/dist/utils/identity-heal.js +0 -37
  917. package/dist/utils/identity-heal.js.map +0 -1
  918. package/dist/utils/identity-manager.d.ts +0 -41
  919. package/dist/utils/identity-manager.d.ts.map +0 -1
  920. package/dist/utils/identity-manager.js +0 -159
  921. package/dist/utils/identity-manager.js.map +0 -1
  922. package/dist/utils/kta-api.d.ts +0 -103
  923. package/dist/utils/kta-api.d.ts.map +0 -1
  924. package/dist/utils/kta-api.js +0 -149
  925. package/dist/utils/kta-api.js.map +0 -1
  926. package/dist/utils/platform-detector.d.ts +0 -54
  927. package/dist/utils/platform-detector.d.ts.map +0 -1
  928. package/dist/utils/platform-detector.js +0 -197
  929. package/dist/utils/platform-detector.js.map +0 -1
  930. package/dist/utils/poll.d.ts +0 -50
  931. package/dist/utils/poll.d.ts.map +0 -1
  932. package/dist/utils/poll.js +0 -73
  933. package/dist/utils/poll.js.map +0 -1
  934. package/dist/utils/prompts.d.ts +0 -24
  935. package/dist/utils/prompts.d.ts.map +0 -1
  936. package/dist/utils/prompts.js +0 -160
  937. package/dist/utils/prompts.js.map +0 -1
  938. package/dist/utils/screen-manager.d.ts +0 -10
  939. package/dist/utils/screen-manager.d.ts.map +0 -1
  940. package/dist/utils/screen-manager.js +0 -54
  941. package/dist/utils/screen-manager.js.map +0 -1
  942. package/dist/utils/time.d.ts +0 -19
  943. package/dist/utils/time.d.ts.map +0 -1
  944. package/dist/utils/time.js +0 -30
  945. package/dist/utils/time.js.map +0 -1
@@ -0,0 +1,3364 @@
1
+ import { z } from 'zod';
2
+ /** Documents are untrusted claims. These schemas never confer execution authority. */
3
+ /** Portable source manifests: v1 lists prerequisite IDs; v2 may also request a stricter `merged` prerequisite (I1 decision D3). */
4
+ export declare const TRACK_MANIFEST_VERSIONS: readonly [1, 2];
5
+ /** Stored tracker documents: v2 edges carry an explicit requirement and origin. A v1 document is upgraded explicitly (`parseStoredTrackDocument`). */
6
+ export declare const TRACK_DOCUMENT_SCHEMA_VERSION: 2;
7
+ export declare const TrackingImportFormatSchema: z.ZodEnum<["json", "markdown", "html"]>;
8
+ export declare const TrackingSourceSchema: z.ZodObject<{
9
+ kind: z.ZodEnum<["json", "markdown", "html"]>;
10
+ locator: z.ZodString;
11
+ revisionDigest: z.ZodString;
12
+ parserVersion: z.ZodString;
13
+ }, "strict", z.ZodTypeAny, {
14
+ kind: "json" | "markdown" | "html";
15
+ locator: string;
16
+ revisionDigest: string;
17
+ parserVersion: string;
18
+ }, {
19
+ kind: "json" | "markdown" | "html";
20
+ locator: string;
21
+ revisionDigest: string;
22
+ parserVersion: string;
23
+ }>;
24
+ export declare const ReportedDispositionSchema: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
25
+ export declare function classifyReportedStatus(raw: string): z.infer<typeof ReportedDispositionSchema>;
26
+ export declare const ReportedStateSchema: z.ZodEffects<z.ZodObject<{
27
+ rawValue: z.ZodString;
28
+ disposition: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
29
+ }, "strict", z.ZodTypeAny, {
30
+ rawValue: string;
31
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
32
+ }, {
33
+ rawValue: string;
34
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
35
+ }>, {
36
+ rawValue: string;
37
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
38
+ }, {
39
+ rawValue: string;
40
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
41
+ }>;
42
+ export declare const TrackingExecutionStateSchema: z.ZodEnum<["draft", "needs_reconciliation", "needs_verification", "queued", "running", "succeeded", "failed", "cancelled"]>;
43
+ export declare const TrackingAcceptanceCriterionSchema: z.ZodObject<{
44
+ id: z.ZodEffects<z.ZodString, string, string>;
45
+ text: z.ZodString;
46
+ }, "strict", z.ZodTypeAny, {
47
+ id: string;
48
+ text: string;
49
+ }, {
50
+ id: string;
51
+ text: string;
52
+ }>;
53
+ export declare const TrackingRepositoryRefSchema: z.ZodObject<{
54
+ repositoryId: z.ZodString;
55
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ }, "strict", z.ZodTypeAny, {
57
+ repositoryId: string;
58
+ baseRef?: string | null | undefined;
59
+ }, {
60
+ repositoryId: string;
61
+ baseRef?: string | null | undefined;
62
+ }>;
63
+ export declare const EvidenceClaimSchema: z.ZodObject<{
64
+ uri: z.ZodEffects<z.ZodString, string, string>;
65
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ }, "strict", z.ZodTypeAny, {
67
+ uri: string;
68
+ label?: string | null | undefined;
69
+ }, {
70
+ uri: string;
71
+ label?: string | null | undefined;
72
+ }>;
73
+ export declare const TrackingArtifactKindSchema: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
74
+ export declare const TrackingArtifactRequirementSchema: z.ZodObject<{
75
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
76
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ }, "strict", z.ZodTypeAny, {
78
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
79
+ repositoryId?: string | null | undefined;
80
+ }, {
81
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
82
+ repositoryId?: string | null | undefined;
83
+ }>;
84
+ export declare const TrackingDependencyRequirementSchema: z.ZodEnum<["accepted_patch", "merged"]>;
85
+ /** A v2 source prerequisite: an ID means the exact accepted output; an object may require a merge. */
86
+ export declare const TrackerManifestDependencySchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
87
+ id: z.ZodEffects<z.ZodString, string, string>;
88
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
89
+ }, "strict", z.ZodTypeAny, {
90
+ id: string;
91
+ requirement: "accepted_patch" | "merged";
92
+ }, {
93
+ id: string;
94
+ requirement: "accepted_patch" | "merged";
95
+ }>]>;
96
+ export declare const TrackerManifestTaskSchema: z.ZodObject<{
97
+ id: z.ZodEffects<z.ZodString, string, string>;
98
+ title: z.ZodString;
99
+ objective: z.ZodDefault<z.ZodString>;
100
+ wave: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
+ reportedStatus: z.ZodDefault<z.ZodString>;
102
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
103
+ acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodObject<{
104
+ id: z.ZodEffects<z.ZodString, string, string>;
105
+ text: z.ZodString;
106
+ }, "strict", z.ZodTypeAny, {
107
+ id: string;
108
+ text: string;
109
+ }, {
110
+ id: string;
111
+ text: string;
112
+ }>, "many">>;
113
+ repositoryRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
114
+ repositoryId: z.ZodString;
115
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ }, "strict", z.ZodTypeAny, {
117
+ repositoryId: string;
118
+ baseRef?: string | null | undefined;
119
+ }, {
120
+ repositoryId: string;
121
+ baseRef?: string | null | undefined;
122
+ }>, "many">>;
123
+ requiredArtifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
124
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
125
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ }, "strict", z.ZodTypeAny, {
127
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
128
+ repositoryId?: string | null | undefined;
129
+ }, {
130
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
131
+ repositoryId?: string | null | undefined;
132
+ }>, "many">>;
133
+ evidenceClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
134
+ uri: z.ZodEffects<z.ZodString, string, string>;
135
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ }, "strict", z.ZodTypeAny, {
137
+ uri: string;
138
+ label?: string | null | undefined;
139
+ }, {
140
+ uri: string;
141
+ label?: string | null | undefined;
142
+ }>, "many">>;
143
+ }, "strict", z.ZodTypeAny, {
144
+ id: string;
145
+ title: string;
146
+ objective: string;
147
+ reportedStatus: string;
148
+ dependsOn: string[];
149
+ acceptanceCriteria: {
150
+ id: string;
151
+ text: string;
152
+ }[];
153
+ repositoryRefs: {
154
+ repositoryId: string;
155
+ baseRef?: string | null | undefined;
156
+ }[];
157
+ requiredArtifacts: {
158
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
159
+ repositoryId?: string | null | undefined;
160
+ }[];
161
+ evidenceClaims: {
162
+ uri: string;
163
+ label?: string | null | undefined;
164
+ }[];
165
+ wave?: string | null | undefined;
166
+ }, {
167
+ id: string;
168
+ title: string;
169
+ objective?: string | undefined;
170
+ wave?: string | null | undefined;
171
+ reportedStatus?: string | undefined;
172
+ dependsOn?: string[] | undefined;
173
+ acceptanceCriteria?: {
174
+ id: string;
175
+ text: string;
176
+ }[] | undefined;
177
+ repositoryRefs?: {
178
+ repositoryId: string;
179
+ baseRef?: string | null | undefined;
180
+ }[] | undefined;
181
+ requiredArtifacts?: {
182
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
183
+ repositoryId?: string | null | undefined;
184
+ }[] | undefined;
185
+ evidenceClaims?: {
186
+ uri: string;
187
+ label?: string | null | undefined;
188
+ }[] | undefined;
189
+ }>;
190
+ export declare const TrackerManifestTaskV2Schema: z.ZodObject<{
191
+ id: z.ZodEffects<z.ZodString, string, string>;
192
+ title: z.ZodString;
193
+ objective: z.ZodDefault<z.ZodString>;
194
+ wave: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
+ reportedStatus: z.ZodDefault<z.ZodString>;
196
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
197
+ id: z.ZodEffects<z.ZodString, string, string>;
198
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
199
+ }, "strict", z.ZodTypeAny, {
200
+ id: string;
201
+ requirement: "accepted_patch" | "merged";
202
+ }, {
203
+ id: string;
204
+ requirement: "accepted_patch" | "merged";
205
+ }>]>, "many">>;
206
+ acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodObject<{
207
+ id: z.ZodEffects<z.ZodString, string, string>;
208
+ text: z.ZodString;
209
+ }, "strict", z.ZodTypeAny, {
210
+ id: string;
211
+ text: string;
212
+ }, {
213
+ id: string;
214
+ text: string;
215
+ }>, "many">>;
216
+ repositoryRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
217
+ repositoryId: z.ZodString;
218
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
+ }, "strict", z.ZodTypeAny, {
220
+ repositoryId: string;
221
+ baseRef?: string | null | undefined;
222
+ }, {
223
+ repositoryId: string;
224
+ baseRef?: string | null | undefined;
225
+ }>, "many">>;
226
+ requiredArtifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
227
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
228
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
+ }, "strict", z.ZodTypeAny, {
230
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
231
+ repositoryId?: string | null | undefined;
232
+ }, {
233
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
234
+ repositoryId?: string | null | undefined;
235
+ }>, "many">>;
236
+ evidenceClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
237
+ uri: z.ZodEffects<z.ZodString, string, string>;
238
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ }, "strict", z.ZodTypeAny, {
240
+ uri: string;
241
+ label?: string | null | undefined;
242
+ }, {
243
+ uri: string;
244
+ label?: string | null | undefined;
245
+ }>, "many">>;
246
+ }, "strict", z.ZodTypeAny, {
247
+ id: string;
248
+ title: string;
249
+ objective: string;
250
+ reportedStatus: string;
251
+ dependsOn: (string | {
252
+ id: string;
253
+ requirement: "accepted_patch" | "merged";
254
+ })[];
255
+ acceptanceCriteria: {
256
+ id: string;
257
+ text: string;
258
+ }[];
259
+ repositoryRefs: {
260
+ repositoryId: string;
261
+ baseRef?: string | null | undefined;
262
+ }[];
263
+ requiredArtifacts: {
264
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
265
+ repositoryId?: string | null | undefined;
266
+ }[];
267
+ evidenceClaims: {
268
+ uri: string;
269
+ label?: string | null | undefined;
270
+ }[];
271
+ wave?: string | null | undefined;
272
+ }, {
273
+ id: string;
274
+ title: string;
275
+ objective?: string | undefined;
276
+ wave?: string | null | undefined;
277
+ reportedStatus?: string | undefined;
278
+ dependsOn?: (string | {
279
+ id: string;
280
+ requirement: "accepted_patch" | "merged";
281
+ })[] | undefined;
282
+ acceptanceCriteria?: {
283
+ id: string;
284
+ text: string;
285
+ }[] | undefined;
286
+ repositoryRefs?: {
287
+ repositoryId: string;
288
+ baseRef?: string | null | undefined;
289
+ }[] | undefined;
290
+ requiredArtifacts?: {
291
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
292
+ repositoryId?: string | null | undefined;
293
+ }[] | undefined;
294
+ evidenceClaims?: {
295
+ uri: string;
296
+ label?: string | null | undefined;
297
+ }[] | undefined;
298
+ }>;
299
+ /** Portable file format for JSON and fenced Markdown / inert embedded HTML. A v1 reader never widens to v2 syntax. */
300
+ export declare const TrackerManifestSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"schemaVersion", [z.ZodObject<{
301
+ schemaVersion: z.ZodLiteral<1>;
302
+ title: z.ZodString;
303
+ tasks: z.ZodArray<z.ZodObject<{
304
+ id: z.ZodEffects<z.ZodString, string, string>;
305
+ title: z.ZodString;
306
+ objective: z.ZodDefault<z.ZodString>;
307
+ wave: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
+ reportedStatus: z.ZodDefault<z.ZodString>;
309
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
310
+ acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodObject<{
311
+ id: z.ZodEffects<z.ZodString, string, string>;
312
+ text: z.ZodString;
313
+ }, "strict", z.ZodTypeAny, {
314
+ id: string;
315
+ text: string;
316
+ }, {
317
+ id: string;
318
+ text: string;
319
+ }>, "many">>;
320
+ repositoryRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
321
+ repositoryId: z.ZodString;
322
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
+ }, "strict", z.ZodTypeAny, {
324
+ repositoryId: string;
325
+ baseRef?: string | null | undefined;
326
+ }, {
327
+ repositoryId: string;
328
+ baseRef?: string | null | undefined;
329
+ }>, "many">>;
330
+ requiredArtifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
331
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
332
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
+ }, "strict", z.ZodTypeAny, {
334
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
335
+ repositoryId?: string | null | undefined;
336
+ }, {
337
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
338
+ repositoryId?: string | null | undefined;
339
+ }>, "many">>;
340
+ evidenceClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
341
+ uri: z.ZodEffects<z.ZodString, string, string>;
342
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
+ }, "strict", z.ZodTypeAny, {
344
+ uri: string;
345
+ label?: string | null | undefined;
346
+ }, {
347
+ uri: string;
348
+ label?: string | null | undefined;
349
+ }>, "many">>;
350
+ }, "strict", z.ZodTypeAny, {
351
+ id: string;
352
+ title: string;
353
+ objective: string;
354
+ reportedStatus: string;
355
+ dependsOn: string[];
356
+ acceptanceCriteria: {
357
+ id: string;
358
+ text: string;
359
+ }[];
360
+ repositoryRefs: {
361
+ repositoryId: string;
362
+ baseRef?: string | null | undefined;
363
+ }[];
364
+ requiredArtifacts: {
365
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
366
+ repositoryId?: string | null | undefined;
367
+ }[];
368
+ evidenceClaims: {
369
+ uri: string;
370
+ label?: string | null | undefined;
371
+ }[];
372
+ wave?: string | null | undefined;
373
+ }, {
374
+ id: string;
375
+ title: string;
376
+ objective?: string | undefined;
377
+ wave?: string | null | undefined;
378
+ reportedStatus?: string | undefined;
379
+ dependsOn?: string[] | undefined;
380
+ acceptanceCriteria?: {
381
+ id: string;
382
+ text: string;
383
+ }[] | undefined;
384
+ repositoryRefs?: {
385
+ repositoryId: string;
386
+ baseRef?: string | null | undefined;
387
+ }[] | undefined;
388
+ requiredArtifacts?: {
389
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
390
+ repositoryId?: string | null | undefined;
391
+ }[] | undefined;
392
+ evidenceClaims?: {
393
+ uri: string;
394
+ label?: string | null | undefined;
395
+ }[] | undefined;
396
+ }>, "many">;
397
+ }, "strict", z.ZodTypeAny, {
398
+ title: string;
399
+ schemaVersion: 1;
400
+ tasks: {
401
+ id: string;
402
+ title: string;
403
+ objective: string;
404
+ reportedStatus: string;
405
+ dependsOn: string[];
406
+ acceptanceCriteria: {
407
+ id: string;
408
+ text: string;
409
+ }[];
410
+ repositoryRefs: {
411
+ repositoryId: string;
412
+ baseRef?: string | null | undefined;
413
+ }[];
414
+ requiredArtifacts: {
415
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
416
+ repositoryId?: string | null | undefined;
417
+ }[];
418
+ evidenceClaims: {
419
+ uri: string;
420
+ label?: string | null | undefined;
421
+ }[];
422
+ wave?: string | null | undefined;
423
+ }[];
424
+ }, {
425
+ title: string;
426
+ schemaVersion: 1;
427
+ tasks: {
428
+ id: string;
429
+ title: string;
430
+ objective?: string | undefined;
431
+ wave?: string | null | undefined;
432
+ reportedStatus?: string | undefined;
433
+ dependsOn?: string[] | undefined;
434
+ acceptanceCriteria?: {
435
+ id: string;
436
+ text: string;
437
+ }[] | undefined;
438
+ repositoryRefs?: {
439
+ repositoryId: string;
440
+ baseRef?: string | null | undefined;
441
+ }[] | undefined;
442
+ requiredArtifacts?: {
443
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
444
+ repositoryId?: string | null | undefined;
445
+ }[] | undefined;
446
+ evidenceClaims?: {
447
+ uri: string;
448
+ label?: string | null | undefined;
449
+ }[] | undefined;
450
+ }[];
451
+ }>, z.ZodObject<{
452
+ schemaVersion: z.ZodLiteral<2>;
453
+ title: z.ZodString;
454
+ tasks: z.ZodArray<z.ZodObject<{
455
+ id: z.ZodEffects<z.ZodString, string, string>;
456
+ title: z.ZodString;
457
+ objective: z.ZodDefault<z.ZodString>;
458
+ wave: z.ZodOptional<z.ZodNullable<z.ZodString>>;
459
+ reportedStatus: z.ZodDefault<z.ZodString>;
460
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
461
+ id: z.ZodEffects<z.ZodString, string, string>;
462
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
463
+ }, "strict", z.ZodTypeAny, {
464
+ id: string;
465
+ requirement: "accepted_patch" | "merged";
466
+ }, {
467
+ id: string;
468
+ requirement: "accepted_patch" | "merged";
469
+ }>]>, "many">>;
470
+ acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodObject<{
471
+ id: z.ZodEffects<z.ZodString, string, string>;
472
+ text: z.ZodString;
473
+ }, "strict", z.ZodTypeAny, {
474
+ id: string;
475
+ text: string;
476
+ }, {
477
+ id: string;
478
+ text: string;
479
+ }>, "many">>;
480
+ repositoryRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
481
+ repositoryId: z.ZodString;
482
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
+ }, "strict", z.ZodTypeAny, {
484
+ repositoryId: string;
485
+ baseRef?: string | null | undefined;
486
+ }, {
487
+ repositoryId: string;
488
+ baseRef?: string | null | undefined;
489
+ }>, "many">>;
490
+ requiredArtifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
491
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
492
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
493
+ }, "strict", z.ZodTypeAny, {
494
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
495
+ repositoryId?: string | null | undefined;
496
+ }, {
497
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
498
+ repositoryId?: string | null | undefined;
499
+ }>, "many">>;
500
+ evidenceClaims: z.ZodDefault<z.ZodArray<z.ZodObject<{
501
+ uri: z.ZodEffects<z.ZodString, string, string>;
502
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
+ }, "strict", z.ZodTypeAny, {
504
+ uri: string;
505
+ label?: string | null | undefined;
506
+ }, {
507
+ uri: string;
508
+ label?: string | null | undefined;
509
+ }>, "many">>;
510
+ }, "strict", z.ZodTypeAny, {
511
+ id: string;
512
+ title: string;
513
+ objective: string;
514
+ reportedStatus: string;
515
+ dependsOn: (string | {
516
+ id: string;
517
+ requirement: "accepted_patch" | "merged";
518
+ })[];
519
+ acceptanceCriteria: {
520
+ id: string;
521
+ text: string;
522
+ }[];
523
+ repositoryRefs: {
524
+ repositoryId: string;
525
+ baseRef?: string | null | undefined;
526
+ }[];
527
+ requiredArtifacts: {
528
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
529
+ repositoryId?: string | null | undefined;
530
+ }[];
531
+ evidenceClaims: {
532
+ uri: string;
533
+ label?: string | null | undefined;
534
+ }[];
535
+ wave?: string | null | undefined;
536
+ }, {
537
+ id: string;
538
+ title: string;
539
+ objective?: string | undefined;
540
+ wave?: string | null | undefined;
541
+ reportedStatus?: string | undefined;
542
+ dependsOn?: (string | {
543
+ id: string;
544
+ requirement: "accepted_patch" | "merged";
545
+ })[] | undefined;
546
+ acceptanceCriteria?: {
547
+ id: string;
548
+ text: string;
549
+ }[] | undefined;
550
+ repositoryRefs?: {
551
+ repositoryId: string;
552
+ baseRef?: string | null | undefined;
553
+ }[] | undefined;
554
+ requiredArtifacts?: {
555
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
556
+ repositoryId?: string | null | undefined;
557
+ }[] | undefined;
558
+ evidenceClaims?: {
559
+ uri: string;
560
+ label?: string | null | undefined;
561
+ }[] | undefined;
562
+ }>, "many">;
563
+ }, "strict", z.ZodTypeAny, {
564
+ title: string;
565
+ schemaVersion: 2;
566
+ tasks: {
567
+ id: string;
568
+ title: string;
569
+ objective: string;
570
+ reportedStatus: string;
571
+ dependsOn: (string | {
572
+ id: string;
573
+ requirement: "accepted_patch" | "merged";
574
+ })[];
575
+ acceptanceCriteria: {
576
+ id: string;
577
+ text: string;
578
+ }[];
579
+ repositoryRefs: {
580
+ repositoryId: string;
581
+ baseRef?: string | null | undefined;
582
+ }[];
583
+ requiredArtifacts: {
584
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
585
+ repositoryId?: string | null | undefined;
586
+ }[];
587
+ evidenceClaims: {
588
+ uri: string;
589
+ label?: string | null | undefined;
590
+ }[];
591
+ wave?: string | null | undefined;
592
+ }[];
593
+ }, {
594
+ title: string;
595
+ schemaVersion: 2;
596
+ tasks: {
597
+ id: string;
598
+ title: string;
599
+ objective?: string | undefined;
600
+ wave?: string | null | undefined;
601
+ reportedStatus?: string | undefined;
602
+ dependsOn?: (string | {
603
+ id: string;
604
+ requirement: "accepted_patch" | "merged";
605
+ })[] | undefined;
606
+ acceptanceCriteria?: {
607
+ id: string;
608
+ text: string;
609
+ }[] | undefined;
610
+ repositoryRefs?: {
611
+ repositoryId: string;
612
+ baseRef?: string | null | undefined;
613
+ }[] | undefined;
614
+ requiredArtifacts?: {
615
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
616
+ repositoryId?: string | null | undefined;
617
+ }[] | undefined;
618
+ evidenceClaims?: {
619
+ uri: string;
620
+ label?: string | null | undefined;
621
+ }[] | undefined;
622
+ }[];
623
+ }>]>, {
624
+ title: string;
625
+ schemaVersion: 1;
626
+ tasks: {
627
+ id: string;
628
+ title: string;
629
+ objective: string;
630
+ reportedStatus: string;
631
+ dependsOn: string[];
632
+ acceptanceCriteria: {
633
+ id: string;
634
+ text: string;
635
+ }[];
636
+ repositoryRefs: {
637
+ repositoryId: string;
638
+ baseRef?: string | null | undefined;
639
+ }[];
640
+ requiredArtifacts: {
641
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
642
+ repositoryId?: string | null | undefined;
643
+ }[];
644
+ evidenceClaims: {
645
+ uri: string;
646
+ label?: string | null | undefined;
647
+ }[];
648
+ wave?: string | null | undefined;
649
+ }[];
650
+ } | {
651
+ title: string;
652
+ schemaVersion: 2;
653
+ tasks: {
654
+ id: string;
655
+ title: string;
656
+ objective: string;
657
+ reportedStatus: string;
658
+ dependsOn: (string | {
659
+ id: string;
660
+ requirement: "accepted_patch" | "merged";
661
+ })[];
662
+ acceptanceCriteria: {
663
+ id: string;
664
+ text: string;
665
+ }[];
666
+ repositoryRefs: {
667
+ repositoryId: string;
668
+ baseRef?: string | null | undefined;
669
+ }[];
670
+ requiredArtifacts: {
671
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
672
+ repositoryId?: string | null | undefined;
673
+ }[];
674
+ evidenceClaims: {
675
+ uri: string;
676
+ label?: string | null | undefined;
677
+ }[];
678
+ wave?: string | null | undefined;
679
+ }[];
680
+ }, {
681
+ title: string;
682
+ schemaVersion: 1;
683
+ tasks: {
684
+ id: string;
685
+ title: string;
686
+ objective?: string | undefined;
687
+ wave?: string | null | undefined;
688
+ reportedStatus?: string | undefined;
689
+ dependsOn?: string[] | undefined;
690
+ acceptanceCriteria?: {
691
+ id: string;
692
+ text: string;
693
+ }[] | undefined;
694
+ repositoryRefs?: {
695
+ repositoryId: string;
696
+ baseRef?: string | null | undefined;
697
+ }[] | undefined;
698
+ requiredArtifacts?: {
699
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
700
+ repositoryId?: string | null | undefined;
701
+ }[] | undefined;
702
+ evidenceClaims?: {
703
+ uri: string;
704
+ label?: string | null | undefined;
705
+ }[] | undefined;
706
+ }[];
707
+ } | {
708
+ title: string;
709
+ schemaVersion: 2;
710
+ tasks: {
711
+ id: string;
712
+ title: string;
713
+ objective?: string | undefined;
714
+ wave?: string | null | undefined;
715
+ reportedStatus?: string | undefined;
716
+ dependsOn?: (string | {
717
+ id: string;
718
+ requirement: "accepted_patch" | "merged";
719
+ })[] | undefined;
720
+ acceptanceCriteria?: {
721
+ id: string;
722
+ text: string;
723
+ }[] | undefined;
724
+ repositoryRefs?: {
725
+ repositoryId: string;
726
+ baseRef?: string | null | undefined;
727
+ }[] | undefined;
728
+ requiredArtifacts?: {
729
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
730
+ repositoryId?: string | null | undefined;
731
+ }[] | undefined;
732
+ evidenceClaims?: {
733
+ uri: string;
734
+ label?: string | null | undefined;
735
+ }[] | undefined;
736
+ }[];
737
+ }>;
738
+ export declare const TrackingTaskSpecSchema: z.ZodObject<{
739
+ id: z.ZodString;
740
+ sourceItemId: z.ZodEffects<z.ZodString, string, string>;
741
+ sourceAnchor: z.ZodString;
742
+ revision: z.ZodNumber;
743
+ title: z.ZodString;
744
+ objective: z.ZodString;
745
+ group: z.ZodNullable<z.ZodString>;
746
+ reportedState: z.ZodEffects<z.ZodObject<{
747
+ rawValue: z.ZodString;
748
+ disposition: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
749
+ }, "strict", z.ZodTypeAny, {
750
+ rawValue: string;
751
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
752
+ }, {
753
+ rawValue: string;
754
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
755
+ }>, {
756
+ rawValue: string;
757
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
758
+ }, {
759
+ rawValue: string;
760
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
761
+ }>;
762
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
763
+ id: z.ZodEffects<z.ZodString, string, string>;
764
+ text: z.ZodString;
765
+ }, "strict", z.ZodTypeAny, {
766
+ id: string;
767
+ text: string;
768
+ }, {
769
+ id: string;
770
+ text: string;
771
+ }>, "many">;
772
+ repositoryRefs: z.ZodArray<z.ZodObject<{
773
+ repositoryId: z.ZodString;
774
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
775
+ }, "strict", z.ZodTypeAny, {
776
+ repositoryId: string;
777
+ baseRef?: string | null | undefined;
778
+ }, {
779
+ repositoryId: string;
780
+ baseRef?: string | null | undefined;
781
+ }>, "many">;
782
+ requiredArtifacts: z.ZodArray<z.ZodObject<{
783
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
784
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
785
+ }, "strict", z.ZodTypeAny, {
786
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
787
+ repositoryId?: string | null | undefined;
788
+ }, {
789
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
790
+ repositoryId?: string | null | undefined;
791
+ }>, "many">;
792
+ evidenceClaims: z.ZodArray<z.ZodObject<{
793
+ uri: z.ZodEffects<z.ZodString, string, string>;
794
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
795
+ }, "strict", z.ZodTypeAny, {
796
+ uri: string;
797
+ label?: string | null | undefined;
798
+ }, {
799
+ uri: string;
800
+ label?: string | null | undefined;
801
+ }>, "many">;
802
+ }, "strict", z.ZodTypeAny, {
803
+ id: string;
804
+ title: string;
805
+ objective: string;
806
+ acceptanceCriteria: {
807
+ id: string;
808
+ text: string;
809
+ }[];
810
+ repositoryRefs: {
811
+ repositoryId: string;
812
+ baseRef?: string | null | undefined;
813
+ }[];
814
+ requiredArtifacts: {
815
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
816
+ repositoryId?: string | null | undefined;
817
+ }[];
818
+ evidenceClaims: {
819
+ uri: string;
820
+ label?: string | null | undefined;
821
+ }[];
822
+ sourceItemId: string;
823
+ sourceAnchor: string;
824
+ revision: number;
825
+ group: string | null;
826
+ reportedState: {
827
+ rawValue: string;
828
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
829
+ };
830
+ }, {
831
+ id: string;
832
+ title: string;
833
+ objective: string;
834
+ acceptanceCriteria: {
835
+ id: string;
836
+ text: string;
837
+ }[];
838
+ repositoryRefs: {
839
+ repositoryId: string;
840
+ baseRef?: string | null | undefined;
841
+ }[];
842
+ requiredArtifacts: {
843
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
844
+ repositoryId?: string | null | undefined;
845
+ }[];
846
+ evidenceClaims: {
847
+ uri: string;
848
+ label?: string | null | undefined;
849
+ }[];
850
+ sourceItemId: string;
851
+ sourceAnchor: string;
852
+ revision: number;
853
+ group: string | null;
854
+ reportedState: {
855
+ rawValue: string;
856
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
857
+ };
858
+ }>;
859
+ /** A stored edge is the frozen I1 edge record: requirement plus provenance, which never grants authority. */
860
+ export declare const TrackingDependencySchema: z.ZodEffects<z.ZodObject<{
861
+ prerequisiteTaskId: z.ZodString;
862
+ dependentTaskId: z.ZodString;
863
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
864
+ origin: z.ZodEnum<["source", "local_edit", "decomposition", "lead_proposal"]>;
865
+ }, "strict", z.ZodTypeAny, {
866
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
867
+ prerequisiteTaskId: string;
868
+ requirement: "accepted_patch" | "merged";
869
+ dependentTaskId: string;
870
+ }, {
871
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
872
+ prerequisiteTaskId: string;
873
+ requirement: "accepted_patch" | "merged";
874
+ dependentTaskId: string;
875
+ }>, {
876
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
877
+ prerequisiteTaskId: string;
878
+ requirement: "accepted_patch" | "merged";
879
+ dependentTaskId: string;
880
+ }, {
881
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
882
+ prerequisiteTaskId: string;
883
+ requirement: "accepted_patch" | "merged";
884
+ dependentTaskId: string;
885
+ }>;
886
+ /** Stored edges written before document v2: task IDs only. Read through `upgradeStoredTrackerJson`. */
887
+ export declare const TrackingDependencyV1Schema: z.ZodObject<{
888
+ prerequisiteTaskId: z.ZodString;
889
+ dependentTaskId: z.ZodString;
890
+ }, "strict", z.ZodTypeAny, {
891
+ prerequisiteTaskId: string;
892
+ dependentTaskId: string;
893
+ }, {
894
+ prerequisiteTaskId: string;
895
+ dependentTaskId: string;
896
+ }>;
897
+ export declare const TrackingImportIssueSchema: z.ZodObject<{
898
+ taskId: z.ZodNullable<z.ZodString>;
899
+ code: z.ZodString;
900
+ message: z.ZodString;
901
+ }, "strict", z.ZodTypeAny, {
902
+ code: string;
903
+ message: string;
904
+ taskId: string | null;
905
+ }, {
906
+ code: string;
907
+ message: string;
908
+ taskId: string | null;
909
+ }>;
910
+ export declare const TrackDocumentSchema: z.ZodEffects<z.ZodObject<{
911
+ schemaVersion: z.ZodLiteral<2>;
912
+ id: z.ZodEffects<z.ZodString, string, string>;
913
+ title: z.ZodString;
914
+ source: z.ZodObject<{
915
+ kind: z.ZodEnum<["json", "markdown", "html"]>;
916
+ locator: z.ZodString;
917
+ revisionDigest: z.ZodString;
918
+ parserVersion: z.ZodString;
919
+ }, "strict", z.ZodTypeAny, {
920
+ kind: "json" | "markdown" | "html";
921
+ locator: string;
922
+ revisionDigest: string;
923
+ parserVersion: string;
924
+ }, {
925
+ kind: "json" | "markdown" | "html";
926
+ locator: string;
927
+ revisionDigest: string;
928
+ parserVersion: string;
929
+ }>;
930
+ tasks: z.ZodArray<z.ZodObject<{
931
+ id: z.ZodString;
932
+ sourceItemId: z.ZodEffects<z.ZodString, string, string>;
933
+ sourceAnchor: z.ZodString;
934
+ revision: z.ZodNumber;
935
+ title: z.ZodString;
936
+ objective: z.ZodString;
937
+ group: z.ZodNullable<z.ZodString>;
938
+ reportedState: z.ZodEffects<z.ZodObject<{
939
+ rawValue: z.ZodString;
940
+ disposition: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
941
+ }, "strict", z.ZodTypeAny, {
942
+ rawValue: string;
943
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
944
+ }, {
945
+ rawValue: string;
946
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
947
+ }>, {
948
+ rawValue: string;
949
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
950
+ }, {
951
+ rawValue: string;
952
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
953
+ }>;
954
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
955
+ id: z.ZodEffects<z.ZodString, string, string>;
956
+ text: z.ZodString;
957
+ }, "strict", z.ZodTypeAny, {
958
+ id: string;
959
+ text: string;
960
+ }, {
961
+ id: string;
962
+ text: string;
963
+ }>, "many">;
964
+ repositoryRefs: z.ZodArray<z.ZodObject<{
965
+ repositoryId: z.ZodString;
966
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
967
+ }, "strict", z.ZodTypeAny, {
968
+ repositoryId: string;
969
+ baseRef?: string | null | undefined;
970
+ }, {
971
+ repositoryId: string;
972
+ baseRef?: string | null | undefined;
973
+ }>, "many">;
974
+ requiredArtifacts: z.ZodArray<z.ZodObject<{
975
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
976
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
977
+ }, "strict", z.ZodTypeAny, {
978
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
979
+ repositoryId?: string | null | undefined;
980
+ }, {
981
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
982
+ repositoryId?: string | null | undefined;
983
+ }>, "many">;
984
+ evidenceClaims: z.ZodArray<z.ZodObject<{
985
+ uri: z.ZodEffects<z.ZodString, string, string>;
986
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
987
+ }, "strict", z.ZodTypeAny, {
988
+ uri: string;
989
+ label?: string | null | undefined;
990
+ }, {
991
+ uri: string;
992
+ label?: string | null | undefined;
993
+ }>, "many">;
994
+ }, "strict", z.ZodTypeAny, {
995
+ id: string;
996
+ title: string;
997
+ objective: string;
998
+ acceptanceCriteria: {
999
+ id: string;
1000
+ text: string;
1001
+ }[];
1002
+ repositoryRefs: {
1003
+ repositoryId: string;
1004
+ baseRef?: string | null | undefined;
1005
+ }[];
1006
+ requiredArtifacts: {
1007
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1008
+ repositoryId?: string | null | undefined;
1009
+ }[];
1010
+ evidenceClaims: {
1011
+ uri: string;
1012
+ label?: string | null | undefined;
1013
+ }[];
1014
+ sourceItemId: string;
1015
+ sourceAnchor: string;
1016
+ revision: number;
1017
+ group: string | null;
1018
+ reportedState: {
1019
+ rawValue: string;
1020
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1021
+ };
1022
+ }, {
1023
+ id: string;
1024
+ title: string;
1025
+ objective: string;
1026
+ acceptanceCriteria: {
1027
+ id: string;
1028
+ text: string;
1029
+ }[];
1030
+ repositoryRefs: {
1031
+ repositoryId: string;
1032
+ baseRef?: string | null | undefined;
1033
+ }[];
1034
+ requiredArtifacts: {
1035
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1036
+ repositoryId?: string | null | undefined;
1037
+ }[];
1038
+ evidenceClaims: {
1039
+ uri: string;
1040
+ label?: string | null | undefined;
1041
+ }[];
1042
+ sourceItemId: string;
1043
+ sourceAnchor: string;
1044
+ revision: number;
1045
+ group: string | null;
1046
+ reportedState: {
1047
+ rawValue: string;
1048
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1049
+ };
1050
+ }>, "many">;
1051
+ dependencies: z.ZodArray<z.ZodEffects<z.ZodObject<{
1052
+ prerequisiteTaskId: z.ZodString;
1053
+ dependentTaskId: z.ZodString;
1054
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
1055
+ origin: z.ZodEnum<["source", "local_edit", "decomposition", "lead_proposal"]>;
1056
+ }, "strict", z.ZodTypeAny, {
1057
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1058
+ prerequisiteTaskId: string;
1059
+ requirement: "accepted_patch" | "merged";
1060
+ dependentTaskId: string;
1061
+ }, {
1062
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1063
+ prerequisiteTaskId: string;
1064
+ requirement: "accepted_patch" | "merged";
1065
+ dependentTaskId: string;
1066
+ }>, {
1067
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1068
+ prerequisiteTaskId: string;
1069
+ requirement: "accepted_patch" | "merged";
1070
+ dependentTaskId: string;
1071
+ }, {
1072
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1073
+ prerequisiteTaskId: string;
1074
+ requirement: "accepted_patch" | "merged";
1075
+ dependentTaskId: string;
1076
+ }>, "many">;
1077
+ unresolved: z.ZodArray<z.ZodObject<{
1078
+ taskId: z.ZodNullable<z.ZodString>;
1079
+ code: z.ZodString;
1080
+ message: z.ZodString;
1081
+ }, "strict", z.ZodTypeAny, {
1082
+ code: string;
1083
+ message: string;
1084
+ taskId: string | null;
1085
+ }, {
1086
+ code: string;
1087
+ message: string;
1088
+ taskId: string | null;
1089
+ }>, "many">;
1090
+ }, "strict", z.ZodTypeAny, {
1091
+ id: string;
1092
+ title: string;
1093
+ schemaVersion: 2;
1094
+ source: {
1095
+ kind: "json" | "markdown" | "html";
1096
+ locator: string;
1097
+ revisionDigest: string;
1098
+ parserVersion: string;
1099
+ };
1100
+ tasks: {
1101
+ id: string;
1102
+ title: string;
1103
+ objective: string;
1104
+ acceptanceCriteria: {
1105
+ id: string;
1106
+ text: string;
1107
+ }[];
1108
+ repositoryRefs: {
1109
+ repositoryId: string;
1110
+ baseRef?: string | null | undefined;
1111
+ }[];
1112
+ requiredArtifacts: {
1113
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1114
+ repositoryId?: string | null | undefined;
1115
+ }[];
1116
+ evidenceClaims: {
1117
+ uri: string;
1118
+ label?: string | null | undefined;
1119
+ }[];
1120
+ sourceItemId: string;
1121
+ sourceAnchor: string;
1122
+ revision: number;
1123
+ group: string | null;
1124
+ reportedState: {
1125
+ rawValue: string;
1126
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1127
+ };
1128
+ }[];
1129
+ dependencies: {
1130
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1131
+ prerequisiteTaskId: string;
1132
+ requirement: "accepted_patch" | "merged";
1133
+ dependentTaskId: string;
1134
+ }[];
1135
+ unresolved: {
1136
+ code: string;
1137
+ message: string;
1138
+ taskId: string | null;
1139
+ }[];
1140
+ }, {
1141
+ id: string;
1142
+ title: string;
1143
+ schemaVersion: 2;
1144
+ source: {
1145
+ kind: "json" | "markdown" | "html";
1146
+ locator: string;
1147
+ revisionDigest: string;
1148
+ parserVersion: string;
1149
+ };
1150
+ tasks: {
1151
+ id: string;
1152
+ title: string;
1153
+ objective: string;
1154
+ acceptanceCriteria: {
1155
+ id: string;
1156
+ text: string;
1157
+ }[];
1158
+ repositoryRefs: {
1159
+ repositoryId: string;
1160
+ baseRef?: string | null | undefined;
1161
+ }[];
1162
+ requiredArtifacts: {
1163
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1164
+ repositoryId?: string | null | undefined;
1165
+ }[];
1166
+ evidenceClaims: {
1167
+ uri: string;
1168
+ label?: string | null | undefined;
1169
+ }[];
1170
+ sourceItemId: string;
1171
+ sourceAnchor: string;
1172
+ revision: number;
1173
+ group: string | null;
1174
+ reportedState: {
1175
+ rawValue: string;
1176
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1177
+ };
1178
+ }[];
1179
+ dependencies: {
1180
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1181
+ prerequisiteTaskId: string;
1182
+ requirement: "accepted_patch" | "merged";
1183
+ dependentTaskId: string;
1184
+ }[];
1185
+ unresolved: {
1186
+ code: string;
1187
+ message: string;
1188
+ taskId: string | null;
1189
+ }[];
1190
+ }>, {
1191
+ id: string;
1192
+ title: string;
1193
+ schemaVersion: 2;
1194
+ source: {
1195
+ kind: "json" | "markdown" | "html";
1196
+ locator: string;
1197
+ revisionDigest: string;
1198
+ parserVersion: string;
1199
+ };
1200
+ tasks: {
1201
+ id: string;
1202
+ title: string;
1203
+ objective: string;
1204
+ acceptanceCriteria: {
1205
+ id: string;
1206
+ text: string;
1207
+ }[];
1208
+ repositoryRefs: {
1209
+ repositoryId: string;
1210
+ baseRef?: string | null | undefined;
1211
+ }[];
1212
+ requiredArtifacts: {
1213
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1214
+ repositoryId?: string | null | undefined;
1215
+ }[];
1216
+ evidenceClaims: {
1217
+ uri: string;
1218
+ label?: string | null | undefined;
1219
+ }[];
1220
+ sourceItemId: string;
1221
+ sourceAnchor: string;
1222
+ revision: number;
1223
+ group: string | null;
1224
+ reportedState: {
1225
+ rawValue: string;
1226
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1227
+ };
1228
+ }[];
1229
+ dependencies: {
1230
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1231
+ prerequisiteTaskId: string;
1232
+ requirement: "accepted_patch" | "merged";
1233
+ dependentTaskId: string;
1234
+ }[];
1235
+ unresolved: {
1236
+ code: string;
1237
+ message: string;
1238
+ taskId: string | null;
1239
+ }[];
1240
+ }, {
1241
+ id: string;
1242
+ title: string;
1243
+ schemaVersion: 2;
1244
+ source: {
1245
+ kind: "json" | "markdown" | "html";
1246
+ locator: string;
1247
+ revisionDigest: string;
1248
+ parserVersion: string;
1249
+ };
1250
+ tasks: {
1251
+ id: string;
1252
+ title: string;
1253
+ objective: string;
1254
+ acceptanceCriteria: {
1255
+ id: string;
1256
+ text: string;
1257
+ }[];
1258
+ repositoryRefs: {
1259
+ repositoryId: string;
1260
+ baseRef?: string | null | undefined;
1261
+ }[];
1262
+ requiredArtifacts: {
1263
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1264
+ repositoryId?: string | null | undefined;
1265
+ }[];
1266
+ evidenceClaims: {
1267
+ uri: string;
1268
+ label?: string | null | undefined;
1269
+ }[];
1270
+ sourceItemId: string;
1271
+ sourceAnchor: string;
1272
+ revision: number;
1273
+ group: string | null;
1274
+ reportedState: {
1275
+ rawValue: string;
1276
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1277
+ };
1278
+ }[];
1279
+ dependencies: {
1280
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1281
+ prerequisiteTaskId: string;
1282
+ requirement: "accepted_patch" | "merged";
1283
+ dependentTaskId: string;
1284
+ }[];
1285
+ unresolved: {
1286
+ code: string;
1287
+ message: string;
1288
+ taskId: string | null;
1289
+ }[];
1290
+ }>;
1291
+ /**
1292
+ * Explicit one-way upgrade of stored tracker JSON written before document v2, mirroring Rust
1293
+ * `tracking::upgrade_stored_json`: a v1 document becomes v2 and each v1 edge (only its two task IDs)
1294
+ * becomes `accepted_patch` with `source` provenance. Current data is unchanged. Use it only for
1295
+ * stored records; imported sources keep their own strict versions.
1296
+ */
1297
+ export declare function upgradeStoredTrackerJson(value: unknown): unknown;
1298
+ /** Reads a stored tracker document of any implemented version as document v2. */
1299
+ export declare function parseStoredTrackDocument(input: unknown): z.infer<typeof TrackDocumentSchema>;
1300
+ export declare const TrackingImportDraftSchema: z.ZodObject<{
1301
+ track: z.ZodEffects<z.ZodObject<{
1302
+ schemaVersion: z.ZodLiteral<2>;
1303
+ id: z.ZodEffects<z.ZodString, string, string>;
1304
+ title: z.ZodString;
1305
+ source: z.ZodObject<{
1306
+ kind: z.ZodEnum<["json", "markdown", "html"]>;
1307
+ locator: z.ZodString;
1308
+ revisionDigest: z.ZodString;
1309
+ parserVersion: z.ZodString;
1310
+ }, "strict", z.ZodTypeAny, {
1311
+ kind: "json" | "markdown" | "html";
1312
+ locator: string;
1313
+ revisionDigest: string;
1314
+ parserVersion: string;
1315
+ }, {
1316
+ kind: "json" | "markdown" | "html";
1317
+ locator: string;
1318
+ revisionDigest: string;
1319
+ parserVersion: string;
1320
+ }>;
1321
+ tasks: z.ZodArray<z.ZodObject<{
1322
+ id: z.ZodString;
1323
+ sourceItemId: z.ZodEffects<z.ZodString, string, string>;
1324
+ sourceAnchor: z.ZodString;
1325
+ revision: z.ZodNumber;
1326
+ title: z.ZodString;
1327
+ objective: z.ZodString;
1328
+ group: z.ZodNullable<z.ZodString>;
1329
+ reportedState: z.ZodEffects<z.ZodObject<{
1330
+ rawValue: z.ZodString;
1331
+ disposition: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
1332
+ }, "strict", z.ZodTypeAny, {
1333
+ rawValue: string;
1334
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1335
+ }, {
1336
+ rawValue: string;
1337
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1338
+ }>, {
1339
+ rawValue: string;
1340
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1341
+ }, {
1342
+ rawValue: string;
1343
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1344
+ }>;
1345
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
1346
+ id: z.ZodEffects<z.ZodString, string, string>;
1347
+ text: z.ZodString;
1348
+ }, "strict", z.ZodTypeAny, {
1349
+ id: string;
1350
+ text: string;
1351
+ }, {
1352
+ id: string;
1353
+ text: string;
1354
+ }>, "many">;
1355
+ repositoryRefs: z.ZodArray<z.ZodObject<{
1356
+ repositoryId: z.ZodString;
1357
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1358
+ }, "strict", z.ZodTypeAny, {
1359
+ repositoryId: string;
1360
+ baseRef?: string | null | undefined;
1361
+ }, {
1362
+ repositoryId: string;
1363
+ baseRef?: string | null | undefined;
1364
+ }>, "many">;
1365
+ requiredArtifacts: z.ZodArray<z.ZodObject<{
1366
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
1367
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1368
+ }, "strict", z.ZodTypeAny, {
1369
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1370
+ repositoryId?: string | null | undefined;
1371
+ }, {
1372
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1373
+ repositoryId?: string | null | undefined;
1374
+ }>, "many">;
1375
+ evidenceClaims: z.ZodArray<z.ZodObject<{
1376
+ uri: z.ZodEffects<z.ZodString, string, string>;
1377
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1378
+ }, "strict", z.ZodTypeAny, {
1379
+ uri: string;
1380
+ label?: string | null | undefined;
1381
+ }, {
1382
+ uri: string;
1383
+ label?: string | null | undefined;
1384
+ }>, "many">;
1385
+ }, "strict", z.ZodTypeAny, {
1386
+ id: string;
1387
+ title: string;
1388
+ objective: string;
1389
+ acceptanceCriteria: {
1390
+ id: string;
1391
+ text: string;
1392
+ }[];
1393
+ repositoryRefs: {
1394
+ repositoryId: string;
1395
+ baseRef?: string | null | undefined;
1396
+ }[];
1397
+ requiredArtifacts: {
1398
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1399
+ repositoryId?: string | null | undefined;
1400
+ }[];
1401
+ evidenceClaims: {
1402
+ uri: string;
1403
+ label?: string | null | undefined;
1404
+ }[];
1405
+ sourceItemId: string;
1406
+ sourceAnchor: string;
1407
+ revision: number;
1408
+ group: string | null;
1409
+ reportedState: {
1410
+ rawValue: string;
1411
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1412
+ };
1413
+ }, {
1414
+ id: string;
1415
+ title: string;
1416
+ objective: string;
1417
+ acceptanceCriteria: {
1418
+ id: string;
1419
+ text: string;
1420
+ }[];
1421
+ repositoryRefs: {
1422
+ repositoryId: string;
1423
+ baseRef?: string | null | undefined;
1424
+ }[];
1425
+ requiredArtifacts: {
1426
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1427
+ repositoryId?: string | null | undefined;
1428
+ }[];
1429
+ evidenceClaims: {
1430
+ uri: string;
1431
+ label?: string | null | undefined;
1432
+ }[];
1433
+ sourceItemId: string;
1434
+ sourceAnchor: string;
1435
+ revision: number;
1436
+ group: string | null;
1437
+ reportedState: {
1438
+ rawValue: string;
1439
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1440
+ };
1441
+ }>, "many">;
1442
+ dependencies: z.ZodArray<z.ZodEffects<z.ZodObject<{
1443
+ prerequisiteTaskId: z.ZodString;
1444
+ dependentTaskId: z.ZodString;
1445
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
1446
+ origin: z.ZodEnum<["source", "local_edit", "decomposition", "lead_proposal"]>;
1447
+ }, "strict", z.ZodTypeAny, {
1448
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1449
+ prerequisiteTaskId: string;
1450
+ requirement: "accepted_patch" | "merged";
1451
+ dependentTaskId: string;
1452
+ }, {
1453
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1454
+ prerequisiteTaskId: string;
1455
+ requirement: "accepted_patch" | "merged";
1456
+ dependentTaskId: string;
1457
+ }>, {
1458
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1459
+ prerequisiteTaskId: string;
1460
+ requirement: "accepted_patch" | "merged";
1461
+ dependentTaskId: string;
1462
+ }, {
1463
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1464
+ prerequisiteTaskId: string;
1465
+ requirement: "accepted_patch" | "merged";
1466
+ dependentTaskId: string;
1467
+ }>, "many">;
1468
+ unresolved: z.ZodArray<z.ZodObject<{
1469
+ taskId: z.ZodNullable<z.ZodString>;
1470
+ code: z.ZodString;
1471
+ message: z.ZodString;
1472
+ }, "strict", z.ZodTypeAny, {
1473
+ code: string;
1474
+ message: string;
1475
+ taskId: string | null;
1476
+ }, {
1477
+ code: string;
1478
+ message: string;
1479
+ taskId: string | null;
1480
+ }>, "many">;
1481
+ }, "strict", z.ZodTypeAny, {
1482
+ id: string;
1483
+ title: string;
1484
+ schemaVersion: 2;
1485
+ source: {
1486
+ kind: "json" | "markdown" | "html";
1487
+ locator: string;
1488
+ revisionDigest: string;
1489
+ parserVersion: string;
1490
+ };
1491
+ tasks: {
1492
+ id: string;
1493
+ title: string;
1494
+ objective: string;
1495
+ acceptanceCriteria: {
1496
+ id: string;
1497
+ text: string;
1498
+ }[];
1499
+ repositoryRefs: {
1500
+ repositoryId: string;
1501
+ baseRef?: string | null | undefined;
1502
+ }[];
1503
+ requiredArtifacts: {
1504
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1505
+ repositoryId?: string | null | undefined;
1506
+ }[];
1507
+ evidenceClaims: {
1508
+ uri: string;
1509
+ label?: string | null | undefined;
1510
+ }[];
1511
+ sourceItemId: string;
1512
+ sourceAnchor: string;
1513
+ revision: number;
1514
+ group: string | null;
1515
+ reportedState: {
1516
+ rawValue: string;
1517
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1518
+ };
1519
+ }[];
1520
+ dependencies: {
1521
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1522
+ prerequisiteTaskId: string;
1523
+ requirement: "accepted_patch" | "merged";
1524
+ dependentTaskId: string;
1525
+ }[];
1526
+ unresolved: {
1527
+ code: string;
1528
+ message: string;
1529
+ taskId: string | null;
1530
+ }[];
1531
+ }, {
1532
+ id: string;
1533
+ title: string;
1534
+ schemaVersion: 2;
1535
+ source: {
1536
+ kind: "json" | "markdown" | "html";
1537
+ locator: string;
1538
+ revisionDigest: string;
1539
+ parserVersion: string;
1540
+ };
1541
+ tasks: {
1542
+ id: string;
1543
+ title: string;
1544
+ objective: string;
1545
+ acceptanceCriteria: {
1546
+ id: string;
1547
+ text: string;
1548
+ }[];
1549
+ repositoryRefs: {
1550
+ repositoryId: string;
1551
+ baseRef?: string | null | undefined;
1552
+ }[];
1553
+ requiredArtifacts: {
1554
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1555
+ repositoryId?: string | null | undefined;
1556
+ }[];
1557
+ evidenceClaims: {
1558
+ uri: string;
1559
+ label?: string | null | undefined;
1560
+ }[];
1561
+ sourceItemId: string;
1562
+ sourceAnchor: string;
1563
+ revision: number;
1564
+ group: string | null;
1565
+ reportedState: {
1566
+ rawValue: string;
1567
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1568
+ };
1569
+ }[];
1570
+ dependencies: {
1571
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1572
+ prerequisiteTaskId: string;
1573
+ requirement: "accepted_patch" | "merged";
1574
+ dependentTaskId: string;
1575
+ }[];
1576
+ unresolved: {
1577
+ code: string;
1578
+ message: string;
1579
+ taskId: string | null;
1580
+ }[];
1581
+ }>, {
1582
+ id: string;
1583
+ title: string;
1584
+ schemaVersion: 2;
1585
+ source: {
1586
+ kind: "json" | "markdown" | "html";
1587
+ locator: string;
1588
+ revisionDigest: string;
1589
+ parserVersion: string;
1590
+ };
1591
+ tasks: {
1592
+ id: string;
1593
+ title: string;
1594
+ objective: string;
1595
+ acceptanceCriteria: {
1596
+ id: string;
1597
+ text: string;
1598
+ }[];
1599
+ repositoryRefs: {
1600
+ repositoryId: string;
1601
+ baseRef?: string | null | undefined;
1602
+ }[];
1603
+ requiredArtifacts: {
1604
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1605
+ repositoryId?: string | null | undefined;
1606
+ }[];
1607
+ evidenceClaims: {
1608
+ uri: string;
1609
+ label?: string | null | undefined;
1610
+ }[];
1611
+ sourceItemId: string;
1612
+ sourceAnchor: string;
1613
+ revision: number;
1614
+ group: string | null;
1615
+ reportedState: {
1616
+ rawValue: string;
1617
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1618
+ };
1619
+ }[];
1620
+ dependencies: {
1621
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1622
+ prerequisiteTaskId: string;
1623
+ requirement: "accepted_patch" | "merged";
1624
+ dependentTaskId: string;
1625
+ }[];
1626
+ unresolved: {
1627
+ code: string;
1628
+ message: string;
1629
+ taskId: string | null;
1630
+ }[];
1631
+ }, {
1632
+ id: string;
1633
+ title: string;
1634
+ schemaVersion: 2;
1635
+ source: {
1636
+ kind: "json" | "markdown" | "html";
1637
+ locator: string;
1638
+ revisionDigest: string;
1639
+ parserVersion: string;
1640
+ };
1641
+ tasks: {
1642
+ id: string;
1643
+ title: string;
1644
+ objective: string;
1645
+ acceptanceCriteria: {
1646
+ id: string;
1647
+ text: string;
1648
+ }[];
1649
+ repositoryRefs: {
1650
+ repositoryId: string;
1651
+ baseRef?: string | null | undefined;
1652
+ }[];
1653
+ requiredArtifacts: {
1654
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1655
+ repositoryId?: string | null | undefined;
1656
+ }[];
1657
+ evidenceClaims: {
1658
+ uri: string;
1659
+ label?: string | null | undefined;
1660
+ }[];
1661
+ sourceItemId: string;
1662
+ sourceAnchor: string;
1663
+ revision: number;
1664
+ group: string | null;
1665
+ reportedState: {
1666
+ rawValue: string;
1667
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1668
+ };
1669
+ }[];
1670
+ dependencies: {
1671
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1672
+ prerequisiteTaskId: string;
1673
+ requirement: "accepted_patch" | "merged";
1674
+ dependentTaskId: string;
1675
+ }[];
1676
+ unresolved: {
1677
+ code: string;
1678
+ message: string;
1679
+ taskId: string | null;
1680
+ }[];
1681
+ }>;
1682
+ manifestReferences: z.ZodArray<z.ZodString, "many">;
1683
+ }, "strict", z.ZodTypeAny, {
1684
+ track: {
1685
+ id: string;
1686
+ title: string;
1687
+ schemaVersion: 2;
1688
+ source: {
1689
+ kind: "json" | "markdown" | "html";
1690
+ locator: string;
1691
+ revisionDigest: string;
1692
+ parserVersion: string;
1693
+ };
1694
+ tasks: {
1695
+ id: string;
1696
+ title: string;
1697
+ objective: string;
1698
+ acceptanceCriteria: {
1699
+ id: string;
1700
+ text: string;
1701
+ }[];
1702
+ repositoryRefs: {
1703
+ repositoryId: string;
1704
+ baseRef?: string | null | undefined;
1705
+ }[];
1706
+ requiredArtifacts: {
1707
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1708
+ repositoryId?: string | null | undefined;
1709
+ }[];
1710
+ evidenceClaims: {
1711
+ uri: string;
1712
+ label?: string | null | undefined;
1713
+ }[];
1714
+ sourceItemId: string;
1715
+ sourceAnchor: string;
1716
+ revision: number;
1717
+ group: string | null;
1718
+ reportedState: {
1719
+ rawValue: string;
1720
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1721
+ };
1722
+ }[];
1723
+ dependencies: {
1724
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1725
+ prerequisiteTaskId: string;
1726
+ requirement: "accepted_patch" | "merged";
1727
+ dependentTaskId: string;
1728
+ }[];
1729
+ unresolved: {
1730
+ code: string;
1731
+ message: string;
1732
+ taskId: string | null;
1733
+ }[];
1734
+ };
1735
+ manifestReferences: string[];
1736
+ }, {
1737
+ track: {
1738
+ id: string;
1739
+ title: string;
1740
+ schemaVersion: 2;
1741
+ source: {
1742
+ kind: "json" | "markdown" | "html";
1743
+ locator: string;
1744
+ revisionDigest: string;
1745
+ parserVersion: string;
1746
+ };
1747
+ tasks: {
1748
+ id: string;
1749
+ title: string;
1750
+ objective: string;
1751
+ acceptanceCriteria: {
1752
+ id: string;
1753
+ text: string;
1754
+ }[];
1755
+ repositoryRefs: {
1756
+ repositoryId: string;
1757
+ baseRef?: string | null | undefined;
1758
+ }[];
1759
+ requiredArtifacts: {
1760
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1761
+ repositoryId?: string | null | undefined;
1762
+ }[];
1763
+ evidenceClaims: {
1764
+ uri: string;
1765
+ label?: string | null | undefined;
1766
+ }[];
1767
+ sourceItemId: string;
1768
+ sourceAnchor: string;
1769
+ revision: number;
1770
+ group: string | null;
1771
+ reportedState: {
1772
+ rawValue: string;
1773
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1774
+ };
1775
+ }[];
1776
+ dependencies: {
1777
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
1778
+ prerequisiteTaskId: string;
1779
+ requirement: "accepted_patch" | "merged";
1780
+ dependentTaskId: string;
1781
+ }[];
1782
+ unresolved: {
1783
+ code: string;
1784
+ message: string;
1785
+ taskId: string | null;
1786
+ }[];
1787
+ };
1788
+ manifestReferences: string[];
1789
+ }>;
1790
+ /** Only the verified acceptance store supplies this value, never an imported link. */
1791
+ export declare const AcceptedArtifactSchema: z.ZodObject<{
1792
+ taskId: z.ZodString;
1793
+ specRevision: z.ZodNumber;
1794
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
1795
+ reference: z.ZodString;
1796
+ digest: z.ZodString;
1797
+ repositoryId: z.ZodNullable<z.ZodString>;
1798
+ }, "strict", z.ZodTypeAny, {
1799
+ taskId: string;
1800
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1801
+ digest: string;
1802
+ repositoryId: string | null;
1803
+ specRevision: number;
1804
+ reference: string;
1805
+ }, {
1806
+ taskId: string;
1807
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1808
+ digest: string;
1809
+ repositoryId: string | null;
1810
+ specRevision: number;
1811
+ reference: string;
1812
+ }>;
1813
+ export declare const TrackingReadinessContextSchema: z.ZodObject<{
1814
+ state: z.ZodEnum<["draft", "needs_reconciliation", "needs_verification", "queued", "running", "succeeded", "failed", "cancelled"]>;
1815
+ approvedRevision: z.ZodNullable<z.ZodNumber>;
1816
+ authorityReady: z.ZodBoolean;
1817
+ repositoriesReady: z.ZodBoolean;
1818
+ externalBlockers: z.ZodArray<z.ZodString, "many">;
1819
+ acceptedArtifacts: z.ZodArray<z.ZodObject<{
1820
+ taskId: z.ZodString;
1821
+ specRevision: z.ZodNumber;
1822
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
1823
+ reference: z.ZodString;
1824
+ digest: z.ZodString;
1825
+ repositoryId: z.ZodNullable<z.ZodString>;
1826
+ }, "strict", z.ZodTypeAny, {
1827
+ taskId: string;
1828
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1829
+ digest: string;
1830
+ repositoryId: string | null;
1831
+ specRevision: number;
1832
+ reference: string;
1833
+ }, {
1834
+ taskId: string;
1835
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1836
+ digest: string;
1837
+ repositoryId: string | null;
1838
+ specRevision: number;
1839
+ reference: string;
1840
+ }>, "many">;
1841
+ }, "strict", z.ZodTypeAny, {
1842
+ state: "running" | "failed" | "draft" | "needs_reconciliation" | "needs_verification" | "queued" | "succeeded" | "cancelled";
1843
+ approvedRevision: number | null;
1844
+ authorityReady: boolean;
1845
+ repositoriesReady: boolean;
1846
+ externalBlockers: string[];
1847
+ acceptedArtifacts: {
1848
+ taskId: string;
1849
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1850
+ digest: string;
1851
+ repositoryId: string | null;
1852
+ specRevision: number;
1853
+ reference: string;
1854
+ }[];
1855
+ }, {
1856
+ state: "running" | "failed" | "draft" | "needs_reconciliation" | "needs_verification" | "queued" | "succeeded" | "cancelled";
1857
+ approvedRevision: number | null;
1858
+ authorityReady: boolean;
1859
+ repositoriesReady: boolean;
1860
+ externalBlockers: string[];
1861
+ acceptedArtifacts: {
1862
+ taskId: string;
1863
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1864
+ digest: string;
1865
+ repositoryId: string | null;
1866
+ specRevision: number;
1867
+ reference: string;
1868
+ }[];
1869
+ }>;
1870
+ /** Why an item may not start. Frozen with Rust `ReadinessCode`: a new code is a contract change. */
1871
+ export declare const TrackingReadinessReasonCodeSchema: z.ZodEnum<["invalid_track", "unknown_task", "completion_claim_requires_verification", "source_needs_reconciliation", "not_queued", "unapproved_revision", "missing_acceptance_criteria", "repositories_not_ready", "authority_not_ready", "external_blocker", "blocking_issue_unresolved", "dependency_artifact_invalid", "dependency_artifact_ambiguous", "dependency_artifact_missing", "dependency_requires_merge", "dependency_binding_missing", "dependency_binding_stale"]>;
1872
+ export declare const TrackingReadinessSchema: z.ZodObject<{
1873
+ startable: z.ZodBoolean;
1874
+ reasons: z.ZodArray<z.ZodObject<{
1875
+ code: z.ZodEnum<["invalid_track", "unknown_task", "completion_claim_requires_verification", "source_needs_reconciliation", "not_queued", "unapproved_revision", "missing_acceptance_criteria", "repositories_not_ready", "authority_not_ready", "external_blocker", "blocking_issue_unresolved", "dependency_artifact_invalid", "dependency_artifact_ambiguous", "dependency_artifact_missing", "dependency_requires_merge", "dependency_binding_missing", "dependency_binding_stale"]>;
1876
+ message: z.ZodString;
1877
+ }, "strict", z.ZodTypeAny, {
1878
+ code: "invalid_track" | "unknown_task" | "completion_claim_requires_verification" | "source_needs_reconciliation" | "not_queued" | "unapproved_revision" | "missing_acceptance_criteria" | "repositories_not_ready" | "authority_not_ready" | "external_blocker" | "blocking_issue_unresolved" | "dependency_artifact_invalid" | "dependency_artifact_ambiguous" | "dependency_artifact_missing" | "dependency_requires_merge" | "dependency_binding_missing" | "dependency_binding_stale";
1879
+ message: string;
1880
+ }, {
1881
+ code: "invalid_track" | "unknown_task" | "completion_claim_requires_verification" | "source_needs_reconciliation" | "not_queued" | "unapproved_revision" | "missing_acceptance_criteria" | "repositories_not_ready" | "authority_not_ready" | "external_blocker" | "blocking_issue_unresolved" | "dependency_artifact_invalid" | "dependency_artifact_ambiguous" | "dependency_artifact_missing" | "dependency_requires_merge" | "dependency_binding_missing" | "dependency_binding_stale";
1882
+ message: string;
1883
+ }>, "many">;
1884
+ }, "strict", z.ZodTypeAny, {
1885
+ reasons: {
1886
+ code: "invalid_track" | "unknown_task" | "completion_claim_requires_verification" | "source_needs_reconciliation" | "not_queued" | "unapproved_revision" | "missing_acceptance_criteria" | "repositories_not_ready" | "authority_not_ready" | "external_blocker" | "blocking_issue_unresolved" | "dependency_artifact_invalid" | "dependency_artifact_ambiguous" | "dependency_artifact_missing" | "dependency_requires_merge" | "dependency_binding_missing" | "dependency_binding_stale";
1887
+ message: string;
1888
+ }[];
1889
+ startable: boolean;
1890
+ }, {
1891
+ reasons: {
1892
+ code: "invalid_track" | "unknown_task" | "completion_claim_requires_verification" | "source_needs_reconciliation" | "not_queued" | "unapproved_revision" | "missing_acceptance_criteria" | "repositories_not_ready" | "authority_not_ready" | "external_blocker" | "blocking_issue_unresolved" | "dependency_artifact_invalid" | "dependency_artifact_ambiguous" | "dependency_artifact_missing" | "dependency_requires_merge" | "dependency_binding_missing" | "dependency_binding_stale";
1893
+ message: string;
1894
+ }[];
1895
+ startable: boolean;
1896
+ }>;
1897
+ export declare const TrackingImportConflictSchema: z.ZodObject<{
1898
+ taskId: z.ZodNullable<z.ZodString>;
1899
+ field: z.ZodString;
1900
+ base: z.ZodUnknown;
1901
+ local: z.ZodUnknown;
1902
+ incoming: z.ZodUnknown;
1903
+ }, "strict", z.ZodTypeAny, {
1904
+ taskId: string | null;
1905
+ field: string;
1906
+ base?: unknown;
1907
+ local?: unknown;
1908
+ incoming?: unknown;
1909
+ }, {
1910
+ taskId: string | null;
1911
+ field: string;
1912
+ base?: unknown;
1913
+ local?: unknown;
1914
+ incoming?: unknown;
1915
+ }>;
1916
+ export declare const TrackingReimportDraftSchema: z.ZodObject<{
1917
+ unchanged: z.ZodBoolean;
1918
+ proposed: z.ZodEffects<z.ZodObject<{
1919
+ schemaVersion: z.ZodLiteral<2>;
1920
+ id: z.ZodEffects<z.ZodString, string, string>;
1921
+ title: z.ZodString;
1922
+ source: z.ZodObject<{
1923
+ kind: z.ZodEnum<["json", "markdown", "html"]>;
1924
+ locator: z.ZodString;
1925
+ revisionDigest: z.ZodString;
1926
+ parserVersion: z.ZodString;
1927
+ }, "strict", z.ZodTypeAny, {
1928
+ kind: "json" | "markdown" | "html";
1929
+ locator: string;
1930
+ revisionDigest: string;
1931
+ parserVersion: string;
1932
+ }, {
1933
+ kind: "json" | "markdown" | "html";
1934
+ locator: string;
1935
+ revisionDigest: string;
1936
+ parserVersion: string;
1937
+ }>;
1938
+ tasks: z.ZodArray<z.ZodObject<{
1939
+ id: z.ZodString;
1940
+ sourceItemId: z.ZodEffects<z.ZodString, string, string>;
1941
+ sourceAnchor: z.ZodString;
1942
+ revision: z.ZodNumber;
1943
+ title: z.ZodString;
1944
+ objective: z.ZodString;
1945
+ group: z.ZodNullable<z.ZodString>;
1946
+ reportedState: z.ZodEffects<z.ZodObject<{
1947
+ rawValue: z.ZodString;
1948
+ disposition: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
1949
+ }, "strict", z.ZodTypeAny, {
1950
+ rawValue: string;
1951
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1952
+ }, {
1953
+ rawValue: string;
1954
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1955
+ }>, {
1956
+ rawValue: string;
1957
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1958
+ }, {
1959
+ rawValue: string;
1960
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
1961
+ }>;
1962
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
1963
+ id: z.ZodEffects<z.ZodString, string, string>;
1964
+ text: z.ZodString;
1965
+ }, "strict", z.ZodTypeAny, {
1966
+ id: string;
1967
+ text: string;
1968
+ }, {
1969
+ id: string;
1970
+ text: string;
1971
+ }>, "many">;
1972
+ repositoryRefs: z.ZodArray<z.ZodObject<{
1973
+ repositoryId: z.ZodString;
1974
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1975
+ }, "strict", z.ZodTypeAny, {
1976
+ repositoryId: string;
1977
+ baseRef?: string | null | undefined;
1978
+ }, {
1979
+ repositoryId: string;
1980
+ baseRef?: string | null | undefined;
1981
+ }>, "many">;
1982
+ requiredArtifacts: z.ZodArray<z.ZodObject<{
1983
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
1984
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1985
+ }, "strict", z.ZodTypeAny, {
1986
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1987
+ repositoryId?: string | null | undefined;
1988
+ }, {
1989
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
1990
+ repositoryId?: string | null | undefined;
1991
+ }>, "many">;
1992
+ evidenceClaims: z.ZodArray<z.ZodObject<{
1993
+ uri: z.ZodEffects<z.ZodString, string, string>;
1994
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1995
+ }, "strict", z.ZodTypeAny, {
1996
+ uri: string;
1997
+ label?: string | null | undefined;
1998
+ }, {
1999
+ uri: string;
2000
+ label?: string | null | undefined;
2001
+ }>, "many">;
2002
+ }, "strict", z.ZodTypeAny, {
2003
+ id: string;
2004
+ title: string;
2005
+ objective: string;
2006
+ acceptanceCriteria: {
2007
+ id: string;
2008
+ text: string;
2009
+ }[];
2010
+ repositoryRefs: {
2011
+ repositoryId: string;
2012
+ baseRef?: string | null | undefined;
2013
+ }[];
2014
+ requiredArtifacts: {
2015
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2016
+ repositoryId?: string | null | undefined;
2017
+ }[];
2018
+ evidenceClaims: {
2019
+ uri: string;
2020
+ label?: string | null | undefined;
2021
+ }[];
2022
+ sourceItemId: string;
2023
+ sourceAnchor: string;
2024
+ revision: number;
2025
+ group: string | null;
2026
+ reportedState: {
2027
+ rawValue: string;
2028
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2029
+ };
2030
+ }, {
2031
+ id: string;
2032
+ title: string;
2033
+ objective: string;
2034
+ acceptanceCriteria: {
2035
+ id: string;
2036
+ text: string;
2037
+ }[];
2038
+ repositoryRefs: {
2039
+ repositoryId: string;
2040
+ baseRef?: string | null | undefined;
2041
+ }[];
2042
+ requiredArtifacts: {
2043
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2044
+ repositoryId?: string | null | undefined;
2045
+ }[];
2046
+ evidenceClaims: {
2047
+ uri: string;
2048
+ label?: string | null | undefined;
2049
+ }[];
2050
+ sourceItemId: string;
2051
+ sourceAnchor: string;
2052
+ revision: number;
2053
+ group: string | null;
2054
+ reportedState: {
2055
+ rawValue: string;
2056
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2057
+ };
2058
+ }>, "many">;
2059
+ dependencies: z.ZodArray<z.ZodEffects<z.ZodObject<{
2060
+ prerequisiteTaskId: z.ZodString;
2061
+ dependentTaskId: z.ZodString;
2062
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
2063
+ origin: z.ZodEnum<["source", "local_edit", "decomposition", "lead_proposal"]>;
2064
+ }, "strict", z.ZodTypeAny, {
2065
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2066
+ prerequisiteTaskId: string;
2067
+ requirement: "accepted_patch" | "merged";
2068
+ dependentTaskId: string;
2069
+ }, {
2070
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2071
+ prerequisiteTaskId: string;
2072
+ requirement: "accepted_patch" | "merged";
2073
+ dependentTaskId: string;
2074
+ }>, {
2075
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2076
+ prerequisiteTaskId: string;
2077
+ requirement: "accepted_patch" | "merged";
2078
+ dependentTaskId: string;
2079
+ }, {
2080
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2081
+ prerequisiteTaskId: string;
2082
+ requirement: "accepted_patch" | "merged";
2083
+ dependentTaskId: string;
2084
+ }>, "many">;
2085
+ unresolved: z.ZodArray<z.ZodObject<{
2086
+ taskId: z.ZodNullable<z.ZodString>;
2087
+ code: z.ZodString;
2088
+ message: z.ZodString;
2089
+ }, "strict", z.ZodTypeAny, {
2090
+ code: string;
2091
+ message: string;
2092
+ taskId: string | null;
2093
+ }, {
2094
+ code: string;
2095
+ message: string;
2096
+ taskId: string | null;
2097
+ }>, "many">;
2098
+ }, "strict", z.ZodTypeAny, {
2099
+ id: string;
2100
+ title: string;
2101
+ schemaVersion: 2;
2102
+ source: {
2103
+ kind: "json" | "markdown" | "html";
2104
+ locator: string;
2105
+ revisionDigest: string;
2106
+ parserVersion: string;
2107
+ };
2108
+ tasks: {
2109
+ id: string;
2110
+ title: string;
2111
+ objective: string;
2112
+ acceptanceCriteria: {
2113
+ id: string;
2114
+ text: string;
2115
+ }[];
2116
+ repositoryRefs: {
2117
+ repositoryId: string;
2118
+ baseRef?: string | null | undefined;
2119
+ }[];
2120
+ requiredArtifacts: {
2121
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2122
+ repositoryId?: string | null | undefined;
2123
+ }[];
2124
+ evidenceClaims: {
2125
+ uri: string;
2126
+ label?: string | null | undefined;
2127
+ }[];
2128
+ sourceItemId: string;
2129
+ sourceAnchor: string;
2130
+ revision: number;
2131
+ group: string | null;
2132
+ reportedState: {
2133
+ rawValue: string;
2134
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2135
+ };
2136
+ }[];
2137
+ dependencies: {
2138
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2139
+ prerequisiteTaskId: string;
2140
+ requirement: "accepted_patch" | "merged";
2141
+ dependentTaskId: string;
2142
+ }[];
2143
+ unresolved: {
2144
+ code: string;
2145
+ message: string;
2146
+ taskId: string | null;
2147
+ }[];
2148
+ }, {
2149
+ id: string;
2150
+ title: string;
2151
+ schemaVersion: 2;
2152
+ source: {
2153
+ kind: "json" | "markdown" | "html";
2154
+ locator: string;
2155
+ revisionDigest: string;
2156
+ parserVersion: string;
2157
+ };
2158
+ tasks: {
2159
+ id: string;
2160
+ title: string;
2161
+ objective: string;
2162
+ acceptanceCriteria: {
2163
+ id: string;
2164
+ text: string;
2165
+ }[];
2166
+ repositoryRefs: {
2167
+ repositoryId: string;
2168
+ baseRef?: string | null | undefined;
2169
+ }[];
2170
+ requiredArtifacts: {
2171
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2172
+ repositoryId?: string | null | undefined;
2173
+ }[];
2174
+ evidenceClaims: {
2175
+ uri: string;
2176
+ label?: string | null | undefined;
2177
+ }[];
2178
+ sourceItemId: string;
2179
+ sourceAnchor: string;
2180
+ revision: number;
2181
+ group: string | null;
2182
+ reportedState: {
2183
+ rawValue: string;
2184
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2185
+ };
2186
+ }[];
2187
+ dependencies: {
2188
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2189
+ prerequisiteTaskId: string;
2190
+ requirement: "accepted_patch" | "merged";
2191
+ dependentTaskId: string;
2192
+ }[];
2193
+ unresolved: {
2194
+ code: string;
2195
+ message: string;
2196
+ taskId: string | null;
2197
+ }[];
2198
+ }>, {
2199
+ id: string;
2200
+ title: string;
2201
+ schemaVersion: 2;
2202
+ source: {
2203
+ kind: "json" | "markdown" | "html";
2204
+ locator: string;
2205
+ revisionDigest: string;
2206
+ parserVersion: string;
2207
+ };
2208
+ tasks: {
2209
+ id: string;
2210
+ title: string;
2211
+ objective: string;
2212
+ acceptanceCriteria: {
2213
+ id: string;
2214
+ text: string;
2215
+ }[];
2216
+ repositoryRefs: {
2217
+ repositoryId: string;
2218
+ baseRef?: string | null | undefined;
2219
+ }[];
2220
+ requiredArtifacts: {
2221
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2222
+ repositoryId?: string | null | undefined;
2223
+ }[];
2224
+ evidenceClaims: {
2225
+ uri: string;
2226
+ label?: string | null | undefined;
2227
+ }[];
2228
+ sourceItemId: string;
2229
+ sourceAnchor: string;
2230
+ revision: number;
2231
+ group: string | null;
2232
+ reportedState: {
2233
+ rawValue: string;
2234
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2235
+ };
2236
+ }[];
2237
+ dependencies: {
2238
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2239
+ prerequisiteTaskId: string;
2240
+ requirement: "accepted_patch" | "merged";
2241
+ dependentTaskId: string;
2242
+ }[];
2243
+ unresolved: {
2244
+ code: string;
2245
+ message: string;
2246
+ taskId: string | null;
2247
+ }[];
2248
+ }, {
2249
+ id: string;
2250
+ title: string;
2251
+ schemaVersion: 2;
2252
+ source: {
2253
+ kind: "json" | "markdown" | "html";
2254
+ locator: string;
2255
+ revisionDigest: string;
2256
+ parserVersion: string;
2257
+ };
2258
+ tasks: {
2259
+ id: string;
2260
+ title: string;
2261
+ objective: string;
2262
+ acceptanceCriteria: {
2263
+ id: string;
2264
+ text: string;
2265
+ }[];
2266
+ repositoryRefs: {
2267
+ repositoryId: string;
2268
+ baseRef?: string | null | undefined;
2269
+ }[];
2270
+ requiredArtifacts: {
2271
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2272
+ repositoryId?: string | null | undefined;
2273
+ }[];
2274
+ evidenceClaims: {
2275
+ uri: string;
2276
+ label?: string | null | undefined;
2277
+ }[];
2278
+ sourceItemId: string;
2279
+ sourceAnchor: string;
2280
+ revision: number;
2281
+ group: string | null;
2282
+ reportedState: {
2283
+ rawValue: string;
2284
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2285
+ };
2286
+ }[];
2287
+ dependencies: {
2288
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2289
+ prerequisiteTaskId: string;
2290
+ requirement: "accepted_patch" | "merged";
2291
+ dependentTaskId: string;
2292
+ }[];
2293
+ unresolved: {
2294
+ code: string;
2295
+ message: string;
2296
+ taskId: string | null;
2297
+ }[];
2298
+ }>;
2299
+ conflicts: z.ZodArray<z.ZodObject<{
2300
+ taskId: z.ZodNullable<z.ZodString>;
2301
+ field: z.ZodString;
2302
+ base: z.ZodUnknown;
2303
+ local: z.ZodUnknown;
2304
+ incoming: z.ZodUnknown;
2305
+ }, "strict", z.ZodTypeAny, {
2306
+ taskId: string | null;
2307
+ field: string;
2308
+ base?: unknown;
2309
+ local?: unknown;
2310
+ incoming?: unknown;
2311
+ }, {
2312
+ taskId: string | null;
2313
+ field: string;
2314
+ base?: unknown;
2315
+ local?: unknown;
2316
+ incoming?: unknown;
2317
+ }>, "many">;
2318
+ pendingRunning: z.ZodArray<z.ZodObject<{
2319
+ id: z.ZodString;
2320
+ sourceItemId: z.ZodEffects<z.ZodString, string, string>;
2321
+ sourceAnchor: z.ZodString;
2322
+ revision: z.ZodNumber;
2323
+ title: z.ZodString;
2324
+ objective: z.ZodString;
2325
+ group: z.ZodNullable<z.ZodString>;
2326
+ reportedState: z.ZodEffects<z.ZodObject<{
2327
+ rawValue: z.ZodString;
2328
+ disposition: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
2329
+ }, "strict", z.ZodTypeAny, {
2330
+ rawValue: string;
2331
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2332
+ }, {
2333
+ rawValue: string;
2334
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2335
+ }>, {
2336
+ rawValue: string;
2337
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2338
+ }, {
2339
+ rawValue: string;
2340
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2341
+ }>;
2342
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
2343
+ id: z.ZodEffects<z.ZodString, string, string>;
2344
+ text: z.ZodString;
2345
+ }, "strict", z.ZodTypeAny, {
2346
+ id: string;
2347
+ text: string;
2348
+ }, {
2349
+ id: string;
2350
+ text: string;
2351
+ }>, "many">;
2352
+ repositoryRefs: z.ZodArray<z.ZodObject<{
2353
+ repositoryId: z.ZodString;
2354
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2355
+ }, "strict", z.ZodTypeAny, {
2356
+ repositoryId: string;
2357
+ baseRef?: string | null | undefined;
2358
+ }, {
2359
+ repositoryId: string;
2360
+ baseRef?: string | null | undefined;
2361
+ }>, "many">;
2362
+ requiredArtifacts: z.ZodArray<z.ZodObject<{
2363
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
2364
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2365
+ }, "strict", z.ZodTypeAny, {
2366
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2367
+ repositoryId?: string | null | undefined;
2368
+ }, {
2369
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2370
+ repositoryId?: string | null | undefined;
2371
+ }>, "many">;
2372
+ evidenceClaims: z.ZodArray<z.ZodObject<{
2373
+ uri: z.ZodEffects<z.ZodString, string, string>;
2374
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2375
+ }, "strict", z.ZodTypeAny, {
2376
+ uri: string;
2377
+ label?: string | null | undefined;
2378
+ }, {
2379
+ uri: string;
2380
+ label?: string | null | undefined;
2381
+ }>, "many">;
2382
+ }, "strict", z.ZodTypeAny, {
2383
+ id: string;
2384
+ title: string;
2385
+ objective: string;
2386
+ acceptanceCriteria: {
2387
+ id: string;
2388
+ text: string;
2389
+ }[];
2390
+ repositoryRefs: {
2391
+ repositoryId: string;
2392
+ baseRef?: string | null | undefined;
2393
+ }[];
2394
+ requiredArtifacts: {
2395
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2396
+ repositoryId?: string | null | undefined;
2397
+ }[];
2398
+ evidenceClaims: {
2399
+ uri: string;
2400
+ label?: string | null | undefined;
2401
+ }[];
2402
+ sourceItemId: string;
2403
+ sourceAnchor: string;
2404
+ revision: number;
2405
+ group: string | null;
2406
+ reportedState: {
2407
+ rawValue: string;
2408
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2409
+ };
2410
+ }, {
2411
+ id: string;
2412
+ title: string;
2413
+ objective: string;
2414
+ acceptanceCriteria: {
2415
+ id: string;
2416
+ text: string;
2417
+ }[];
2418
+ repositoryRefs: {
2419
+ repositoryId: string;
2420
+ baseRef?: string | null | undefined;
2421
+ }[];
2422
+ requiredArtifacts: {
2423
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2424
+ repositoryId?: string | null | undefined;
2425
+ }[];
2426
+ evidenceClaims: {
2427
+ uri: string;
2428
+ label?: string | null | undefined;
2429
+ }[];
2430
+ sourceItemId: string;
2431
+ sourceAnchor: string;
2432
+ revision: number;
2433
+ group: string | null;
2434
+ reportedState: {
2435
+ rawValue: string;
2436
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2437
+ };
2438
+ }>, "many">;
2439
+ pendingDependencies: z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodObject<{
2440
+ prerequisiteTaskId: z.ZodString;
2441
+ dependentTaskId: z.ZodString;
2442
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
2443
+ origin: z.ZodEnum<["source", "local_edit", "decomposition", "lead_proposal"]>;
2444
+ }, "strict", z.ZodTypeAny, {
2445
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2446
+ prerequisiteTaskId: string;
2447
+ requirement: "accepted_patch" | "merged";
2448
+ dependentTaskId: string;
2449
+ }, {
2450
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2451
+ prerequisiteTaskId: string;
2452
+ requirement: "accepted_patch" | "merged";
2453
+ dependentTaskId: string;
2454
+ }>, {
2455
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2456
+ prerequisiteTaskId: string;
2457
+ requirement: "accepted_patch" | "merged";
2458
+ dependentTaskId: string;
2459
+ }, {
2460
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2461
+ prerequisiteTaskId: string;
2462
+ requirement: "accepted_patch" | "merged";
2463
+ dependentTaskId: string;
2464
+ }>, "many">>;
2465
+ missingTaskIds: z.ZodArray<z.ZodString, "many">;
2466
+ invalidatedAcceptance: z.ZodArray<z.ZodString, "many">;
2467
+ }, "strict", z.ZodTypeAny, {
2468
+ conflicts: {
2469
+ taskId: string | null;
2470
+ field: string;
2471
+ base?: unknown;
2472
+ local?: unknown;
2473
+ incoming?: unknown;
2474
+ }[];
2475
+ unchanged: boolean;
2476
+ proposed: {
2477
+ id: string;
2478
+ title: string;
2479
+ schemaVersion: 2;
2480
+ source: {
2481
+ kind: "json" | "markdown" | "html";
2482
+ locator: string;
2483
+ revisionDigest: string;
2484
+ parserVersion: string;
2485
+ };
2486
+ tasks: {
2487
+ id: string;
2488
+ title: string;
2489
+ objective: string;
2490
+ acceptanceCriteria: {
2491
+ id: string;
2492
+ text: string;
2493
+ }[];
2494
+ repositoryRefs: {
2495
+ repositoryId: string;
2496
+ baseRef?: string | null | undefined;
2497
+ }[];
2498
+ requiredArtifacts: {
2499
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2500
+ repositoryId?: string | null | undefined;
2501
+ }[];
2502
+ evidenceClaims: {
2503
+ uri: string;
2504
+ label?: string | null | undefined;
2505
+ }[];
2506
+ sourceItemId: string;
2507
+ sourceAnchor: string;
2508
+ revision: number;
2509
+ group: string | null;
2510
+ reportedState: {
2511
+ rawValue: string;
2512
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2513
+ };
2514
+ }[];
2515
+ dependencies: {
2516
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2517
+ prerequisiteTaskId: string;
2518
+ requirement: "accepted_patch" | "merged";
2519
+ dependentTaskId: string;
2520
+ }[];
2521
+ unresolved: {
2522
+ code: string;
2523
+ message: string;
2524
+ taskId: string | null;
2525
+ }[];
2526
+ };
2527
+ pendingRunning: {
2528
+ id: string;
2529
+ title: string;
2530
+ objective: string;
2531
+ acceptanceCriteria: {
2532
+ id: string;
2533
+ text: string;
2534
+ }[];
2535
+ repositoryRefs: {
2536
+ repositoryId: string;
2537
+ baseRef?: string | null | undefined;
2538
+ }[];
2539
+ requiredArtifacts: {
2540
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2541
+ repositoryId?: string | null | undefined;
2542
+ }[];
2543
+ evidenceClaims: {
2544
+ uri: string;
2545
+ label?: string | null | undefined;
2546
+ }[];
2547
+ sourceItemId: string;
2548
+ sourceAnchor: string;
2549
+ revision: number;
2550
+ group: string | null;
2551
+ reportedState: {
2552
+ rawValue: string;
2553
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2554
+ };
2555
+ }[];
2556
+ pendingDependencies: {
2557
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2558
+ prerequisiteTaskId: string;
2559
+ requirement: "accepted_patch" | "merged";
2560
+ dependentTaskId: string;
2561
+ }[] | null;
2562
+ missingTaskIds: string[];
2563
+ invalidatedAcceptance: string[];
2564
+ }, {
2565
+ conflicts: {
2566
+ taskId: string | null;
2567
+ field: string;
2568
+ base?: unknown;
2569
+ local?: unknown;
2570
+ incoming?: unknown;
2571
+ }[];
2572
+ unchanged: boolean;
2573
+ proposed: {
2574
+ id: string;
2575
+ title: string;
2576
+ schemaVersion: 2;
2577
+ source: {
2578
+ kind: "json" | "markdown" | "html";
2579
+ locator: string;
2580
+ revisionDigest: string;
2581
+ parserVersion: string;
2582
+ };
2583
+ tasks: {
2584
+ id: string;
2585
+ title: string;
2586
+ objective: string;
2587
+ acceptanceCriteria: {
2588
+ id: string;
2589
+ text: string;
2590
+ }[];
2591
+ repositoryRefs: {
2592
+ repositoryId: string;
2593
+ baseRef?: string | null | undefined;
2594
+ }[];
2595
+ requiredArtifacts: {
2596
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2597
+ repositoryId?: string | null | undefined;
2598
+ }[];
2599
+ evidenceClaims: {
2600
+ uri: string;
2601
+ label?: string | null | undefined;
2602
+ }[];
2603
+ sourceItemId: string;
2604
+ sourceAnchor: string;
2605
+ revision: number;
2606
+ group: string | null;
2607
+ reportedState: {
2608
+ rawValue: string;
2609
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2610
+ };
2611
+ }[];
2612
+ dependencies: {
2613
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2614
+ prerequisiteTaskId: string;
2615
+ requirement: "accepted_patch" | "merged";
2616
+ dependentTaskId: string;
2617
+ }[];
2618
+ unresolved: {
2619
+ code: string;
2620
+ message: string;
2621
+ taskId: string | null;
2622
+ }[];
2623
+ };
2624
+ pendingRunning: {
2625
+ id: string;
2626
+ title: string;
2627
+ objective: string;
2628
+ acceptanceCriteria: {
2629
+ id: string;
2630
+ text: string;
2631
+ }[];
2632
+ repositoryRefs: {
2633
+ repositoryId: string;
2634
+ baseRef?: string | null | undefined;
2635
+ }[];
2636
+ requiredArtifacts: {
2637
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2638
+ repositoryId?: string | null | undefined;
2639
+ }[];
2640
+ evidenceClaims: {
2641
+ uri: string;
2642
+ label?: string | null | undefined;
2643
+ }[];
2644
+ sourceItemId: string;
2645
+ sourceAnchor: string;
2646
+ revision: number;
2647
+ group: string | null;
2648
+ reportedState: {
2649
+ rawValue: string;
2650
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2651
+ };
2652
+ }[];
2653
+ pendingDependencies: {
2654
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
2655
+ prerequisiteTaskId: string;
2656
+ requirement: "accepted_patch" | "merged";
2657
+ dependentTaskId: string;
2658
+ }[] | null;
2659
+ missingTaskIds: string[];
2660
+ invalidatedAcceptance: string[];
2661
+ }>;
2662
+ export type TrackerManifest = z.infer<typeof TrackerManifestSchema>;
2663
+ export type TrackingTaskSpec = z.infer<typeof TrackingTaskSpecSchema>;
2664
+ export type TrackDocument = z.infer<typeof TrackDocumentSchema>;
2665
+ export type TrackingImportDraft = z.infer<typeof TrackingImportDraftSchema>;
2666
+ export type TrackingReimportDraft = z.infer<typeof TrackingReimportDraftSchema>;
2667
+ export type TrackingAcceptedArtifact = z.infer<typeof AcceptedArtifactSchema>;
2668
+ export type TrackingReadinessContext = z.infer<typeof TrackingReadinessContextSchema>;
2669
+ export declare const TrackingLeadChildProposalSchema: z.ZodObject<{
2670
+ role: z.ZodString;
2671
+ title: z.ZodString;
2672
+ objective: z.ZodString;
2673
+ repositoryRef: z.ZodObject<{
2674
+ repositoryId: z.ZodString;
2675
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2676
+ }, "strict", z.ZodTypeAny, {
2677
+ repositoryId: string;
2678
+ baseRef?: string | null | undefined;
2679
+ }, {
2680
+ repositoryId: string;
2681
+ baseRef?: string | null | undefined;
2682
+ }>;
2683
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
2684
+ id: z.ZodEffects<z.ZodString, string, string>;
2685
+ text: z.ZodString;
2686
+ }, "strict", z.ZodTypeAny, {
2687
+ id: string;
2688
+ text: string;
2689
+ }, {
2690
+ id: string;
2691
+ text: string;
2692
+ }>, "many">;
2693
+ coversParentCriteria: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2694
+ dependsOnRoles: z.ZodArray<z.ZodString, "many">;
2695
+ }, "strict", z.ZodTypeAny, {
2696
+ title: string;
2697
+ objective: string;
2698
+ acceptanceCriteria: {
2699
+ id: string;
2700
+ text: string;
2701
+ }[];
2702
+ role: string;
2703
+ repositoryRef: {
2704
+ repositoryId: string;
2705
+ baseRef?: string | null | undefined;
2706
+ };
2707
+ coversParentCriteria: string[];
2708
+ dependsOnRoles: string[];
2709
+ }, {
2710
+ title: string;
2711
+ objective: string;
2712
+ acceptanceCriteria: {
2713
+ id: string;
2714
+ text: string;
2715
+ }[];
2716
+ role: string;
2717
+ repositoryRef: {
2718
+ repositoryId: string;
2719
+ baseRef?: string | null | undefined;
2720
+ };
2721
+ coversParentCriteria: string[];
2722
+ dependsOnRoles: string[];
2723
+ }>;
2724
+ export declare const TrackingDecompositionProposalSchema: z.ZodEffects<z.ZodObject<{
2725
+ schemaVersion: z.ZodLiteral<1>;
2726
+ parentTaskId: z.ZodString;
2727
+ parentSpecRevision: z.ZodNumber;
2728
+ parentOnlyCriteria: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2729
+ children: z.ZodArray<z.ZodObject<{
2730
+ role: z.ZodString;
2731
+ title: z.ZodString;
2732
+ objective: z.ZodString;
2733
+ repositoryRef: z.ZodObject<{
2734
+ repositoryId: z.ZodString;
2735
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2736
+ }, "strict", z.ZodTypeAny, {
2737
+ repositoryId: string;
2738
+ baseRef?: string | null | undefined;
2739
+ }, {
2740
+ repositoryId: string;
2741
+ baseRef?: string | null | undefined;
2742
+ }>;
2743
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
2744
+ id: z.ZodEffects<z.ZodString, string, string>;
2745
+ text: z.ZodString;
2746
+ }, "strict", z.ZodTypeAny, {
2747
+ id: string;
2748
+ text: string;
2749
+ }, {
2750
+ id: string;
2751
+ text: string;
2752
+ }>, "many">;
2753
+ coversParentCriteria: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
2754
+ dependsOnRoles: z.ZodArray<z.ZodString, "many">;
2755
+ }, "strict", z.ZodTypeAny, {
2756
+ title: string;
2757
+ objective: string;
2758
+ acceptanceCriteria: {
2759
+ id: string;
2760
+ text: string;
2761
+ }[];
2762
+ role: string;
2763
+ repositoryRef: {
2764
+ repositoryId: string;
2765
+ baseRef?: string | null | undefined;
2766
+ };
2767
+ coversParentCriteria: string[];
2768
+ dependsOnRoles: string[];
2769
+ }, {
2770
+ title: string;
2771
+ objective: string;
2772
+ acceptanceCriteria: {
2773
+ id: string;
2774
+ text: string;
2775
+ }[];
2776
+ role: string;
2777
+ repositoryRef: {
2778
+ repositoryId: string;
2779
+ baseRef?: string | null | undefined;
2780
+ };
2781
+ coversParentCriteria: string[];
2782
+ dependsOnRoles: string[];
2783
+ }>, "many">;
2784
+ }, "strict", z.ZodTypeAny, {
2785
+ schemaVersion: 1;
2786
+ parentTaskId: string;
2787
+ parentSpecRevision: number;
2788
+ children: {
2789
+ title: string;
2790
+ objective: string;
2791
+ acceptanceCriteria: {
2792
+ id: string;
2793
+ text: string;
2794
+ }[];
2795
+ role: string;
2796
+ repositoryRef: {
2797
+ repositoryId: string;
2798
+ baseRef?: string | null | undefined;
2799
+ };
2800
+ coversParentCriteria: string[];
2801
+ dependsOnRoles: string[];
2802
+ }[];
2803
+ parentOnlyCriteria: string[];
2804
+ }, {
2805
+ schemaVersion: 1;
2806
+ parentTaskId: string;
2807
+ parentSpecRevision: number;
2808
+ children: {
2809
+ title: string;
2810
+ objective: string;
2811
+ acceptanceCriteria: {
2812
+ id: string;
2813
+ text: string;
2814
+ }[];
2815
+ role: string;
2816
+ repositoryRef: {
2817
+ repositoryId: string;
2818
+ baseRef?: string | null | undefined;
2819
+ };
2820
+ coversParentCriteria: string[];
2821
+ dependsOnRoles: string[];
2822
+ }[];
2823
+ parentOnlyCriteria: string[];
2824
+ }>, {
2825
+ schemaVersion: 1;
2826
+ parentTaskId: string;
2827
+ parentSpecRevision: number;
2828
+ children: {
2829
+ title: string;
2830
+ objective: string;
2831
+ acceptanceCriteria: {
2832
+ id: string;
2833
+ text: string;
2834
+ }[];
2835
+ role: string;
2836
+ repositoryRef: {
2837
+ repositoryId: string;
2838
+ baseRef?: string | null | undefined;
2839
+ };
2840
+ coversParentCriteria: string[];
2841
+ dependsOnRoles: string[];
2842
+ }[];
2843
+ parentOnlyCriteria: string[];
2844
+ }, {
2845
+ schemaVersion: 1;
2846
+ parentTaskId: string;
2847
+ parentSpecRevision: number;
2848
+ children: {
2849
+ title: string;
2850
+ objective: string;
2851
+ acceptanceCriteria: {
2852
+ id: string;
2853
+ text: string;
2854
+ }[];
2855
+ role: string;
2856
+ repositoryRef: {
2857
+ repositoryId: string;
2858
+ baseRef?: string | null | undefined;
2859
+ };
2860
+ coversParentCriteria: string[];
2861
+ dependsOnRoles: string[];
2862
+ }[];
2863
+ parentOnlyCriteria: string[];
2864
+ }>;
2865
+ export declare const TrackingDecompositionDraftSchema: z.ZodObject<{
2866
+ proposedRemovals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2867
+ parentTaskId: z.ZodString;
2868
+ parentSpecRevision: z.ZodNumber;
2869
+ childTaskIds: z.ZodArray<z.ZodString, "many">;
2870
+ proposed: z.ZodEffects<z.ZodObject<{
2871
+ schemaVersion: z.ZodLiteral<2>;
2872
+ id: z.ZodEffects<z.ZodString, string, string>;
2873
+ title: z.ZodString;
2874
+ source: z.ZodObject<{
2875
+ kind: z.ZodEnum<["json", "markdown", "html"]>;
2876
+ locator: z.ZodString;
2877
+ revisionDigest: z.ZodString;
2878
+ parserVersion: z.ZodString;
2879
+ }, "strict", z.ZodTypeAny, {
2880
+ kind: "json" | "markdown" | "html";
2881
+ locator: string;
2882
+ revisionDigest: string;
2883
+ parserVersion: string;
2884
+ }, {
2885
+ kind: "json" | "markdown" | "html";
2886
+ locator: string;
2887
+ revisionDigest: string;
2888
+ parserVersion: string;
2889
+ }>;
2890
+ tasks: z.ZodArray<z.ZodObject<{
2891
+ id: z.ZodString;
2892
+ sourceItemId: z.ZodEffects<z.ZodString, string, string>;
2893
+ sourceAnchor: z.ZodString;
2894
+ revision: z.ZodNumber;
2895
+ title: z.ZodString;
2896
+ objective: z.ZodString;
2897
+ group: z.ZodNullable<z.ZodString>;
2898
+ reportedState: z.ZodEffects<z.ZodObject<{
2899
+ rawValue: z.ZodString;
2900
+ disposition: z.ZodEnum<["completion_claim", "pending", "blocked", "unknown"]>;
2901
+ }, "strict", z.ZodTypeAny, {
2902
+ rawValue: string;
2903
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2904
+ }, {
2905
+ rawValue: string;
2906
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2907
+ }>, {
2908
+ rawValue: string;
2909
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2910
+ }, {
2911
+ rawValue: string;
2912
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2913
+ }>;
2914
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
2915
+ id: z.ZodEffects<z.ZodString, string, string>;
2916
+ text: z.ZodString;
2917
+ }, "strict", z.ZodTypeAny, {
2918
+ id: string;
2919
+ text: string;
2920
+ }, {
2921
+ id: string;
2922
+ text: string;
2923
+ }>, "many">;
2924
+ repositoryRefs: z.ZodArray<z.ZodObject<{
2925
+ repositoryId: z.ZodString;
2926
+ baseRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2927
+ }, "strict", z.ZodTypeAny, {
2928
+ repositoryId: string;
2929
+ baseRef?: string | null | undefined;
2930
+ }, {
2931
+ repositoryId: string;
2932
+ baseRef?: string | null | undefined;
2933
+ }>, "many">;
2934
+ requiredArtifacts: z.ZodArray<z.ZodObject<{
2935
+ kind: z.ZodEnum<["commit", "pull_request", "test_report", "package", "document", "workspace_snapshot"]>;
2936
+ repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2937
+ }, "strict", z.ZodTypeAny, {
2938
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2939
+ repositoryId?: string | null | undefined;
2940
+ }, {
2941
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2942
+ repositoryId?: string | null | undefined;
2943
+ }>, "many">;
2944
+ evidenceClaims: z.ZodArray<z.ZodObject<{
2945
+ uri: z.ZodEffects<z.ZodString, string, string>;
2946
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2947
+ }, "strict", z.ZodTypeAny, {
2948
+ uri: string;
2949
+ label?: string | null | undefined;
2950
+ }, {
2951
+ uri: string;
2952
+ label?: string | null | undefined;
2953
+ }>, "many">;
2954
+ }, "strict", z.ZodTypeAny, {
2955
+ id: string;
2956
+ title: string;
2957
+ objective: string;
2958
+ acceptanceCriteria: {
2959
+ id: string;
2960
+ text: string;
2961
+ }[];
2962
+ repositoryRefs: {
2963
+ repositoryId: string;
2964
+ baseRef?: string | null | undefined;
2965
+ }[];
2966
+ requiredArtifacts: {
2967
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2968
+ repositoryId?: string | null | undefined;
2969
+ }[];
2970
+ evidenceClaims: {
2971
+ uri: string;
2972
+ label?: string | null | undefined;
2973
+ }[];
2974
+ sourceItemId: string;
2975
+ sourceAnchor: string;
2976
+ revision: number;
2977
+ group: string | null;
2978
+ reportedState: {
2979
+ rawValue: string;
2980
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
2981
+ };
2982
+ }, {
2983
+ id: string;
2984
+ title: string;
2985
+ objective: string;
2986
+ acceptanceCriteria: {
2987
+ id: string;
2988
+ text: string;
2989
+ }[];
2990
+ repositoryRefs: {
2991
+ repositoryId: string;
2992
+ baseRef?: string | null | undefined;
2993
+ }[];
2994
+ requiredArtifacts: {
2995
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
2996
+ repositoryId?: string | null | undefined;
2997
+ }[];
2998
+ evidenceClaims: {
2999
+ uri: string;
3000
+ label?: string | null | undefined;
3001
+ }[];
3002
+ sourceItemId: string;
3003
+ sourceAnchor: string;
3004
+ revision: number;
3005
+ group: string | null;
3006
+ reportedState: {
3007
+ rawValue: string;
3008
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
3009
+ };
3010
+ }>, "many">;
3011
+ dependencies: z.ZodArray<z.ZodEffects<z.ZodObject<{
3012
+ prerequisiteTaskId: z.ZodString;
3013
+ dependentTaskId: z.ZodString;
3014
+ requirement: z.ZodEnum<["accepted_patch", "merged"]>;
3015
+ origin: z.ZodEnum<["source", "local_edit", "decomposition", "lead_proposal"]>;
3016
+ }, "strict", z.ZodTypeAny, {
3017
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3018
+ prerequisiteTaskId: string;
3019
+ requirement: "accepted_patch" | "merged";
3020
+ dependentTaskId: string;
3021
+ }, {
3022
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3023
+ prerequisiteTaskId: string;
3024
+ requirement: "accepted_patch" | "merged";
3025
+ dependentTaskId: string;
3026
+ }>, {
3027
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3028
+ prerequisiteTaskId: string;
3029
+ requirement: "accepted_patch" | "merged";
3030
+ dependentTaskId: string;
3031
+ }, {
3032
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3033
+ prerequisiteTaskId: string;
3034
+ requirement: "accepted_patch" | "merged";
3035
+ dependentTaskId: string;
3036
+ }>, "many">;
3037
+ unresolved: z.ZodArray<z.ZodObject<{
3038
+ taskId: z.ZodNullable<z.ZodString>;
3039
+ code: z.ZodString;
3040
+ message: z.ZodString;
3041
+ }, "strict", z.ZodTypeAny, {
3042
+ code: string;
3043
+ message: string;
3044
+ taskId: string | null;
3045
+ }, {
3046
+ code: string;
3047
+ message: string;
3048
+ taskId: string | null;
3049
+ }>, "many">;
3050
+ }, "strict", z.ZodTypeAny, {
3051
+ id: string;
3052
+ title: string;
3053
+ schemaVersion: 2;
3054
+ source: {
3055
+ kind: "json" | "markdown" | "html";
3056
+ locator: string;
3057
+ revisionDigest: string;
3058
+ parserVersion: string;
3059
+ };
3060
+ tasks: {
3061
+ id: string;
3062
+ title: string;
3063
+ objective: string;
3064
+ acceptanceCriteria: {
3065
+ id: string;
3066
+ text: string;
3067
+ }[];
3068
+ repositoryRefs: {
3069
+ repositoryId: string;
3070
+ baseRef?: string | null | undefined;
3071
+ }[];
3072
+ requiredArtifacts: {
3073
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
3074
+ repositoryId?: string | null | undefined;
3075
+ }[];
3076
+ evidenceClaims: {
3077
+ uri: string;
3078
+ label?: string | null | undefined;
3079
+ }[];
3080
+ sourceItemId: string;
3081
+ sourceAnchor: string;
3082
+ revision: number;
3083
+ group: string | null;
3084
+ reportedState: {
3085
+ rawValue: string;
3086
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
3087
+ };
3088
+ }[];
3089
+ dependencies: {
3090
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3091
+ prerequisiteTaskId: string;
3092
+ requirement: "accepted_patch" | "merged";
3093
+ dependentTaskId: string;
3094
+ }[];
3095
+ unresolved: {
3096
+ code: string;
3097
+ message: string;
3098
+ taskId: string | null;
3099
+ }[];
3100
+ }, {
3101
+ id: string;
3102
+ title: string;
3103
+ schemaVersion: 2;
3104
+ source: {
3105
+ kind: "json" | "markdown" | "html";
3106
+ locator: string;
3107
+ revisionDigest: string;
3108
+ parserVersion: string;
3109
+ };
3110
+ tasks: {
3111
+ id: string;
3112
+ title: string;
3113
+ objective: string;
3114
+ acceptanceCriteria: {
3115
+ id: string;
3116
+ text: string;
3117
+ }[];
3118
+ repositoryRefs: {
3119
+ repositoryId: string;
3120
+ baseRef?: string | null | undefined;
3121
+ }[];
3122
+ requiredArtifacts: {
3123
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
3124
+ repositoryId?: string | null | undefined;
3125
+ }[];
3126
+ evidenceClaims: {
3127
+ uri: string;
3128
+ label?: string | null | undefined;
3129
+ }[];
3130
+ sourceItemId: string;
3131
+ sourceAnchor: string;
3132
+ revision: number;
3133
+ group: string | null;
3134
+ reportedState: {
3135
+ rawValue: string;
3136
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
3137
+ };
3138
+ }[];
3139
+ dependencies: {
3140
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3141
+ prerequisiteTaskId: string;
3142
+ requirement: "accepted_patch" | "merged";
3143
+ dependentTaskId: string;
3144
+ }[];
3145
+ unresolved: {
3146
+ code: string;
3147
+ message: string;
3148
+ taskId: string | null;
3149
+ }[];
3150
+ }>, {
3151
+ id: string;
3152
+ title: string;
3153
+ schemaVersion: 2;
3154
+ source: {
3155
+ kind: "json" | "markdown" | "html";
3156
+ locator: string;
3157
+ revisionDigest: string;
3158
+ parserVersion: string;
3159
+ };
3160
+ tasks: {
3161
+ id: string;
3162
+ title: string;
3163
+ objective: string;
3164
+ acceptanceCriteria: {
3165
+ id: string;
3166
+ text: string;
3167
+ }[];
3168
+ repositoryRefs: {
3169
+ repositoryId: string;
3170
+ baseRef?: string | null | undefined;
3171
+ }[];
3172
+ requiredArtifacts: {
3173
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
3174
+ repositoryId?: string | null | undefined;
3175
+ }[];
3176
+ evidenceClaims: {
3177
+ uri: string;
3178
+ label?: string | null | undefined;
3179
+ }[];
3180
+ sourceItemId: string;
3181
+ sourceAnchor: string;
3182
+ revision: number;
3183
+ group: string | null;
3184
+ reportedState: {
3185
+ rawValue: string;
3186
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
3187
+ };
3188
+ }[];
3189
+ dependencies: {
3190
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3191
+ prerequisiteTaskId: string;
3192
+ requirement: "accepted_patch" | "merged";
3193
+ dependentTaskId: string;
3194
+ }[];
3195
+ unresolved: {
3196
+ code: string;
3197
+ message: string;
3198
+ taskId: string | null;
3199
+ }[];
3200
+ }, {
3201
+ id: string;
3202
+ title: string;
3203
+ schemaVersion: 2;
3204
+ source: {
3205
+ kind: "json" | "markdown" | "html";
3206
+ locator: string;
3207
+ revisionDigest: string;
3208
+ parserVersion: string;
3209
+ };
3210
+ tasks: {
3211
+ id: string;
3212
+ title: string;
3213
+ objective: string;
3214
+ acceptanceCriteria: {
3215
+ id: string;
3216
+ text: string;
3217
+ }[];
3218
+ repositoryRefs: {
3219
+ repositoryId: string;
3220
+ baseRef?: string | null | undefined;
3221
+ }[];
3222
+ requiredArtifacts: {
3223
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
3224
+ repositoryId?: string | null | undefined;
3225
+ }[];
3226
+ evidenceClaims: {
3227
+ uri: string;
3228
+ label?: string | null | undefined;
3229
+ }[];
3230
+ sourceItemId: string;
3231
+ sourceAnchor: string;
3232
+ revision: number;
3233
+ group: string | null;
3234
+ reportedState: {
3235
+ rawValue: string;
3236
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
3237
+ };
3238
+ }[];
3239
+ dependencies: {
3240
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3241
+ prerequisiteTaskId: string;
3242
+ requirement: "accepted_patch" | "merged";
3243
+ dependentTaskId: string;
3244
+ }[];
3245
+ unresolved: {
3246
+ code: string;
3247
+ message: string;
3248
+ taskId: string | null;
3249
+ }[];
3250
+ }>;
3251
+ }, "strict", z.ZodTypeAny, {
3252
+ parentTaskId: string;
3253
+ parentSpecRevision: number;
3254
+ proposed: {
3255
+ id: string;
3256
+ title: string;
3257
+ schemaVersion: 2;
3258
+ source: {
3259
+ kind: "json" | "markdown" | "html";
3260
+ locator: string;
3261
+ revisionDigest: string;
3262
+ parserVersion: string;
3263
+ };
3264
+ tasks: {
3265
+ id: string;
3266
+ title: string;
3267
+ objective: string;
3268
+ acceptanceCriteria: {
3269
+ id: string;
3270
+ text: string;
3271
+ }[];
3272
+ repositoryRefs: {
3273
+ repositoryId: string;
3274
+ baseRef?: string | null | undefined;
3275
+ }[];
3276
+ requiredArtifacts: {
3277
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
3278
+ repositoryId?: string | null | undefined;
3279
+ }[];
3280
+ evidenceClaims: {
3281
+ uri: string;
3282
+ label?: string | null | undefined;
3283
+ }[];
3284
+ sourceItemId: string;
3285
+ sourceAnchor: string;
3286
+ revision: number;
3287
+ group: string | null;
3288
+ reportedState: {
3289
+ rawValue: string;
3290
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
3291
+ };
3292
+ }[];
3293
+ dependencies: {
3294
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3295
+ prerequisiteTaskId: string;
3296
+ requirement: "accepted_patch" | "merged";
3297
+ dependentTaskId: string;
3298
+ }[];
3299
+ unresolved: {
3300
+ code: string;
3301
+ message: string;
3302
+ taskId: string | null;
3303
+ }[];
3304
+ };
3305
+ proposedRemovals: string[];
3306
+ childTaskIds: string[];
3307
+ }, {
3308
+ parentTaskId: string;
3309
+ parentSpecRevision: number;
3310
+ proposed: {
3311
+ id: string;
3312
+ title: string;
3313
+ schemaVersion: 2;
3314
+ source: {
3315
+ kind: "json" | "markdown" | "html";
3316
+ locator: string;
3317
+ revisionDigest: string;
3318
+ parserVersion: string;
3319
+ };
3320
+ tasks: {
3321
+ id: string;
3322
+ title: string;
3323
+ objective: string;
3324
+ acceptanceCriteria: {
3325
+ id: string;
3326
+ text: string;
3327
+ }[];
3328
+ repositoryRefs: {
3329
+ repositoryId: string;
3330
+ baseRef?: string | null | undefined;
3331
+ }[];
3332
+ requiredArtifacts: {
3333
+ kind: "workspace_snapshot" | "commit" | "pull_request" | "test_report" | "package" | "document";
3334
+ repositoryId?: string | null | undefined;
3335
+ }[];
3336
+ evidenceClaims: {
3337
+ uri: string;
3338
+ label?: string | null | undefined;
3339
+ }[];
3340
+ sourceItemId: string;
3341
+ sourceAnchor: string;
3342
+ revision: number;
3343
+ group: string | null;
3344
+ reportedState: {
3345
+ rawValue: string;
3346
+ disposition: "unknown" | "pending" | "blocked" | "completion_claim";
3347
+ };
3348
+ }[];
3349
+ dependencies: {
3350
+ origin: "source" | "local_edit" | "decomposition" | "lead_proposal";
3351
+ prerequisiteTaskId: string;
3352
+ requirement: "accepted_patch" | "merged";
3353
+ dependentTaskId: string;
3354
+ }[];
3355
+ unresolved: {
3356
+ code: string;
3357
+ message: string;
3358
+ taskId: string | null;
3359
+ }[];
3360
+ };
3361
+ childTaskIds: string[];
3362
+ proposedRemovals?: string[] | undefined;
3363
+ }>;
3364
+ export type TrackingDecompositionProposal = z.infer<typeof TrackingDecompositionProposalSchema>;