@specforge/canary-cli 0.1.11 → 0.1.13

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 (239) hide show
  1. package/dist/tools/index.d.ts.map +1 -1
  2. package/dist/tools/index.js +16 -15
  3. package/dist/tools/index.js.map +1 -1
  4. package/node_modules/@specforge/session-types/CHANGELOG.md +56 -0
  5. package/node_modules/@specforge/session-types/README.md +18 -0
  6. package/node_modules/@specforge/session-types/dist/index.d.ts +47 -0
  7. package/node_modules/@specforge/session-types/dist/index.d.ts.map +1 -0
  8. package/node_modules/@specforge/session-types/dist/index.js +47 -0
  9. package/node_modules/@specforge/session-types/dist/index.js.map +1 -0
  10. package/node_modules/@specforge/session-types/dist/runtime/aggregator-input.d.ts +46 -0
  11. package/node_modules/@specforge/session-types/dist/runtime/aggregator-input.d.ts.map +1 -0
  12. package/node_modules/@specforge/session-types/dist/runtime/aggregator-input.js +41 -0
  13. package/node_modules/@specforge/session-types/dist/runtime/aggregator-input.js.map +1 -0
  14. package/node_modules/@specforge/session-types/dist/runtime/discovery.d.ts +9 -0
  15. package/node_modules/@specforge/session-types/dist/runtime/discovery.d.ts.map +1 -0
  16. package/node_modules/@specforge/session-types/dist/runtime/discovery.js +2 -0
  17. package/node_modules/@specforge/session-types/dist/runtime/discovery.js.map +1 -0
  18. package/node_modules/@specforge/session-types/dist/runtime/enums.d.ts +51 -0
  19. package/node_modules/@specforge/session-types/dist/runtime/enums.d.ts.map +1 -0
  20. package/node_modules/@specforge/session-types/dist/runtime/enums.js +162 -0
  21. package/node_modules/@specforge/session-types/dist/runtime/enums.js.map +1 -0
  22. package/node_modules/@specforge/session-types/dist/runtime/implementation-config.d.ts +177 -0
  23. package/node_modules/@specforge/session-types/dist/runtime/implementation-config.d.ts.map +1 -0
  24. package/node_modules/@specforge/session-types/dist/runtime/implementation-config.js +90 -0
  25. package/node_modules/@specforge/session-types/dist/runtime/implementation-config.js.map +1 -0
  26. package/node_modules/@specforge/session-types/dist/runtime/implementation-record-event.d.ts +8 -0
  27. package/node_modules/@specforge/session-types/dist/runtime/implementation-record-event.d.ts.map +1 -0
  28. package/node_modules/@specforge/session-types/dist/runtime/implementation-record-event.js +2 -0
  29. package/node_modules/@specforge/session-types/dist/runtime/implementation-record-event.js.map +1 -0
  30. package/node_modules/@specforge/session-types/dist/runtime/implementation-session-aggregate.d.ts +433 -0
  31. package/node_modules/@specforge/session-types/dist/runtime/implementation-session-aggregate.d.ts.map +1 -0
  32. package/node_modules/@specforge/session-types/dist/runtime/implementation-session-aggregate.js +128 -0
  33. package/node_modules/@specforge/session-types/dist/runtime/implementation-session-aggregate.js.map +1 -0
  34. package/node_modules/@specforge/session-types/dist/runtime/implementation-session.d.ts +8 -0
  35. package/node_modules/@specforge/session-types/dist/runtime/implementation-session.d.ts.map +1 -0
  36. package/node_modules/@specforge/session-types/dist/runtime/implementation-session.js +2 -0
  37. package/node_modules/@specforge/session-types/dist/runtime/implementation-session.js.map +1 -0
  38. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-contract.d.ts +301 -0
  39. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-contract.d.ts.map +1 -0
  40. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-contract.js +2 -0
  41. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-contract.js.map +1 -0
  42. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-planning-guidance.d.ts +128 -0
  43. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-planning-guidance.d.ts.map +1 -0
  44. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-planning-guidance.js +30 -0
  45. package/node_modules/@specforge/session-types/dist/runtime/lifecycle-planning-guidance.js.map +1 -0
  46. package/node_modules/@specforge/session-types/dist/runtime/parsed-git-evidence.d.ts +4 -0
  47. package/node_modules/@specforge/session-types/dist/runtime/parsed-git-evidence.d.ts.map +1 -0
  48. package/node_modules/@specforge/session-types/dist/runtime/parsed-git-evidence.js +2 -0
  49. package/node_modules/@specforge/session-types/dist/runtime/parsed-git-evidence.js.map +1 -0
  50. package/node_modules/@specforge/session-types/dist/runtime/planning-config.d.ts +82 -0
  51. package/node_modules/@specforge/session-types/dist/runtime/planning-config.d.ts.map +1 -0
  52. package/node_modules/@specforge/session-types/dist/runtime/planning-config.js +61 -0
  53. package/node_modules/@specforge/session-types/dist/runtime/planning-config.js.map +1 -0
  54. package/node_modules/@specforge/session-types/dist/runtime/planning-entity-score-datapoint.d.ts +34 -0
  55. package/node_modules/@specforge/session-types/dist/runtime/planning-entity-score-datapoint.d.ts.map +1 -0
  56. package/node_modules/@specforge/session-types/dist/runtime/planning-entity-score-datapoint.js +14 -0
  57. package/node_modules/@specforge/session-types/dist/runtime/planning-entity-score-datapoint.js.map +1 -0
  58. package/node_modules/@specforge/session-types/dist/runtime/planning-operations.d.ts +6 -0
  59. package/node_modules/@specforge/session-types/dist/runtime/planning-operations.d.ts.map +1 -0
  60. package/node_modules/@specforge/session-types/dist/runtime/planning-operations.js +32 -0
  61. package/node_modules/@specforge/session-types/dist/runtime/planning-operations.js.map +1 -0
  62. package/node_modules/@specforge/session-types/dist/runtime/planning-phase-transition.d.ts +34 -0
  63. package/node_modules/@specforge/session-types/dist/runtime/planning-phase-transition.d.ts.map +1 -0
  64. package/node_modules/@specforge/session-types/dist/runtime/planning-phase-transition.js +22 -0
  65. package/node_modules/@specforge/session-types/dist/runtime/planning-phase-transition.js.map +1 -0
  66. package/node_modules/@specforge/session-types/dist/runtime/planning-session-action.d.ts +73 -0
  67. package/node_modules/@specforge/session-types/dist/runtime/planning-session-action.d.ts.map +1 -0
  68. package/node_modules/@specforge/session-types/dist/runtime/planning-session-action.js +56 -0
  69. package/node_modules/@specforge/session-types/dist/runtime/planning-session-action.js.map +1 -0
  70. package/node_modules/@specforge/session-types/dist/runtime/planning-session-aggregate.d.ts +239 -0
  71. package/node_modules/@specforge/session-types/dist/runtime/planning-session-aggregate.d.ts.map +1 -0
  72. package/node_modules/@specforge/session-types/dist/runtime/planning-session-aggregate.js +88 -0
  73. package/node_modules/@specforge/session-types/dist/runtime/planning-session-aggregate.js.map +1 -0
  74. package/node_modules/@specforge/session-types/dist/runtime/planning-session.d.ts +574 -0
  75. package/node_modules/@specforge/session-types/dist/runtime/planning-session.d.ts.map +1 -0
  76. package/node_modules/@specforge/session-types/dist/runtime/planning-session.js +40 -0
  77. package/node_modules/@specforge/session-types/dist/runtime/planning-session.js.map +1 -0
  78. package/node_modules/@specforge/session-types/dist/runtime/process-guidance.d.ts +221 -0
  79. package/node_modules/@specforge/session-types/dist/runtime/process-guidance.d.ts.map +1 -0
  80. package/node_modules/@specforge/session-types/dist/runtime/process-guidance.js +41 -0
  81. package/node_modules/@specforge/session-types/dist/runtime/process-guidance.js.map +1 -0
  82. package/node_modules/@specforge/session-types/dist/runtime/work-session-acceptance-check.d.ts +4 -0
  83. package/node_modules/@specforge/session-types/dist/runtime/work-session-acceptance-check.d.ts.map +1 -0
  84. package/node_modules/@specforge/session-types/dist/runtime/work-session-acceptance-check.js +2 -0
  85. package/node_modules/@specforge/session-types/dist/runtime/work-session-acceptance-check.js.map +1 -0
  86. package/node_modules/@specforge/session-types/dist/runtime/work-session-action.d.ts +9 -0
  87. package/node_modules/@specforge/session-types/dist/runtime/work-session-action.d.ts.map +1 -0
  88. package/node_modules/@specforge/session-types/dist/runtime/work-session-action.js +2 -0
  89. package/node_modules/@specforge/session-types/dist/runtime/work-session-action.js.map +1 -0
  90. package/node_modules/@specforge/session-types/dist/runtime/work-session-file-change.d.ts +4 -0
  91. package/node_modules/@specforge/session-types/dist/runtime/work-session-file-change.d.ts.map +1 -0
  92. package/node_modules/@specforge/session-types/dist/runtime/work-session-file-change.js +2 -0
  93. package/node_modules/@specforge/session-types/dist/runtime/work-session-file-change.js.map +1 -0
  94. package/node_modules/@specforge/session-types/dist/runtime/work-session-impl-step-completion.d.ts +4 -0
  95. package/node_modules/@specforge/session-types/dist/runtime/work-session-impl-step-completion.d.ts.map +1 -0
  96. package/node_modules/@specforge/session-types/dist/runtime/work-session-impl-step-completion.js +2 -0
  97. package/node_modules/@specforge/session-types/dist/runtime/work-session-impl-step-completion.js.map +1 -0
  98. package/node_modules/@specforge/session-types/dist/runtime/work-session-resolution.d.ts +4 -0
  99. package/node_modules/@specforge/session-types/dist/runtime/work-session-resolution.d.ts.map +1 -0
  100. package/node_modules/@specforge/session-types/dist/runtime/work-session-resolution.js +2 -0
  101. package/node_modules/@specforge/session-types/dist/runtime/work-session-resolution.js.map +1 -0
  102. package/node_modules/@specforge/session-types/dist/runtime/work-session-test-result.d.ts +4 -0
  103. package/node_modules/@specforge/session-types/dist/runtime/work-session-test-result.d.ts.map +1 -0
  104. package/node_modules/@specforge/session-types/dist/runtime/work-session-test-result.js +2 -0
  105. package/node_modules/@specforge/session-types/dist/runtime/work-session-test-result.js.map +1 -0
  106. package/node_modules/@specforge/session-types/dist/runtime/work-session.d.ts +4 -0
  107. package/node_modules/@specforge/session-types/dist/runtime/work-session.d.ts.map +1 -0
  108. package/node_modules/@specforge/session-types/dist/runtime/work-session.js +2 -0
  109. package/node_modules/@specforge/session-types/dist/runtime/work-session.js.map +1 -0
  110. package/node_modules/@specforge/session-types/dist/runtime/working-context.d.ts +43 -0
  111. package/node_modules/@specforge/session-types/dist/runtime/working-context.d.ts.map +1 -0
  112. package/node_modules/@specforge/session-types/dist/runtime/working-context.js +2 -0
  113. package/node_modules/@specforge/session-types/dist/runtime/working-context.js.map +1 -0
  114. package/node_modules/@specforge/session-types/dist/runtime/write-plan.d.ts +146 -0
  115. package/node_modules/@specforge/session-types/dist/runtime/write-plan.d.ts.map +1 -0
  116. package/node_modules/@specforge/session-types/dist/runtime/write-plan.js +2 -0
  117. package/node_modules/@specforge/session-types/dist/runtime/write-plan.js.map +1 -0
  118. package/node_modules/@specforge/session-types/dist/schema/discovery.d.ts +76 -0
  119. package/node_modules/@specforge/session-types/dist/schema/discovery.d.ts.map +1 -0
  120. package/node_modules/@specforge/session-types/dist/schema/discovery.js +42 -0
  121. package/node_modules/@specforge/session-types/dist/schema/discovery.js.map +1 -0
  122. package/node_modules/@specforge/session-types/dist/schema/implementation-record-event.d.ts +48 -0
  123. package/node_modules/@specforge/session-types/dist/schema/implementation-record-event.d.ts.map +1 -0
  124. package/node_modules/@specforge/session-types/dist/schema/implementation-record-event.js +28 -0
  125. package/node_modules/@specforge/session-types/dist/schema/implementation-record-event.js.map +1 -0
  126. package/node_modules/@specforge/session-types/dist/schema/implementation-session.d.ts +37 -0
  127. package/node_modules/@specforge/session-types/dist/schema/implementation-session.d.ts.map +1 -0
  128. package/node_modules/@specforge/session-types/dist/schema/implementation-session.js +24 -0
  129. package/node_modules/@specforge/session-types/dist/schema/implementation-session.js.map +1 -0
  130. package/node_modules/@specforge/session-types/dist/schema/index.d.ts +12 -0
  131. package/node_modules/@specforge/session-types/dist/schema/index.d.ts.map +1 -0
  132. package/node_modules/@specforge/session-types/dist/schema/index.js +12 -0
  133. package/node_modules/@specforge/session-types/dist/schema/index.js.map +1 -0
  134. package/node_modules/@specforge/session-types/dist/schema/parsed-git-evidence.d.ts +74 -0
  135. package/node_modules/@specforge/session-types/dist/schema/parsed-git-evidence.d.ts.map +1 -0
  136. package/node_modules/@specforge/session-types/dist/schema/parsed-git-evidence.js +31 -0
  137. package/node_modules/@specforge/session-types/dist/schema/parsed-git-evidence.js.map +1 -0
  138. package/node_modules/@specforge/session-types/dist/schema/work-session-acceptance-check.d.ts +27 -0
  139. package/node_modules/@specforge/session-types/dist/schema/work-session-acceptance-check.d.ts.map +1 -0
  140. package/node_modules/@specforge/session-types/dist/schema/work-session-acceptance-check.js +11 -0
  141. package/node_modules/@specforge/session-types/dist/schema/work-session-acceptance-check.js.map +1 -0
  142. package/node_modules/@specforge/session-types/dist/schema/work-session-action.d.ts +91 -0
  143. package/node_modules/@specforge/session-types/dist/schema/work-session-action.d.ts.map +1 -0
  144. package/node_modules/@specforge/session-types/dist/schema/work-session-action.js +71 -0
  145. package/node_modules/@specforge/session-types/dist/schema/work-session-action.js.map +1 -0
  146. package/node_modules/@specforge/session-types/dist/schema/work-session-file-change.d.ts +42 -0
  147. package/node_modules/@specforge/session-types/dist/schema/work-session-file-change.d.ts.map +1 -0
  148. package/node_modules/@specforge/session-types/dist/schema/work-session-file-change.js +25 -0
  149. package/node_modules/@specforge/session-types/dist/schema/work-session-file-change.js.map +1 -0
  150. package/node_modules/@specforge/session-types/dist/schema/work-session-impl-step-completion.d.ts +27 -0
  151. package/node_modules/@specforge/session-types/dist/schema/work-session-impl-step-completion.d.ts.map +1 -0
  152. package/node_modules/@specforge/session-types/dist/schema/work-session-impl-step-completion.js +11 -0
  153. package/node_modules/@specforge/session-types/dist/schema/work-session-impl-step-completion.js.map +1 -0
  154. package/node_modules/@specforge/session-types/dist/schema/work-session-resolution.d.ts +42 -0
  155. package/node_modules/@specforge/session-types/dist/schema/work-session-resolution.d.ts.map +1 -0
  156. package/node_modules/@specforge/session-types/dist/schema/work-session-resolution.js +28 -0
  157. package/node_modules/@specforge/session-types/dist/schema/work-session-resolution.js.map +1 -0
  158. package/node_modules/@specforge/session-types/dist/schema/work-session-test-result.d.ts +72 -0
  159. package/node_modules/@specforge/session-types/dist/schema/work-session-test-result.d.ts.map +1 -0
  160. package/node_modules/@specforge/session-types/dist/schema/work-session-test-result.js +32 -0
  161. package/node_modules/@specforge/session-types/dist/schema/work-session-test-result.js.map +1 -0
  162. package/node_modules/@specforge/session-types/dist/schema/work-session.d.ts +174 -0
  163. package/node_modules/@specforge/session-types/dist/schema/work-session.d.ts.map +1 -0
  164. package/node_modules/@specforge/session-types/dist/schema/work-session.js +63 -0
  165. package/node_modules/@specforge/session-types/dist/schema/work-session.js.map +1 -0
  166. package/node_modules/@specforge/session-types/dist/stores/config-store-interface.d.ts +17 -0
  167. package/node_modules/@specforge/session-types/dist/stores/config-store-interface.d.ts.map +1 -0
  168. package/node_modules/@specforge/session-types/dist/stores/config-store-interface.js +2 -0
  169. package/node_modules/@specforge/session-types/dist/stores/config-store-interface.js.map +1 -0
  170. package/node_modules/@specforge/session-types/dist/stores/discovery-store.d.ts +31 -0
  171. package/node_modules/@specforge/session-types/dist/stores/discovery-store.d.ts.map +1 -0
  172. package/node_modules/@specforge/session-types/dist/stores/discovery-store.js +2 -0
  173. package/node_modules/@specforge/session-types/dist/stores/discovery-store.js.map +1 -0
  174. package/node_modules/@specforge/session-types/dist/stores/implementation-record-event-store.d.ts +19 -0
  175. package/node_modules/@specforge/session-types/dist/stores/implementation-record-event-store.d.ts.map +1 -0
  176. package/node_modules/@specforge/session-types/dist/stores/implementation-record-event-store.js +2 -0
  177. package/node_modules/@specforge/session-types/dist/stores/implementation-record-event-store.js.map +1 -0
  178. package/node_modules/@specforge/session-types/dist/stores/implementation-session-aggregate-store.d.ts +16 -0
  179. package/node_modules/@specforge/session-types/dist/stores/implementation-session-aggregate-store.d.ts.map +1 -0
  180. package/node_modules/@specforge/session-types/dist/stores/implementation-session-aggregate-store.js +2 -0
  181. package/node_modules/@specforge/session-types/dist/stores/implementation-session-aggregate-store.js.map +1 -0
  182. package/node_modules/@specforge/session-types/dist/stores/implementation-session-store.d.ts +28 -0
  183. package/node_modules/@specforge/session-types/dist/stores/implementation-session-store.d.ts.map +1 -0
  184. package/node_modules/@specforge/session-types/dist/stores/implementation-session-store.js +2 -0
  185. package/node_modules/@specforge/session-types/dist/stores/implementation-session-store.js.map +1 -0
  186. package/node_modules/@specforge/session-types/dist/stores/planning-entity-score-datapoint-store.d.ts +12 -0
  187. package/node_modules/@specforge/session-types/dist/stores/planning-entity-score-datapoint-store.d.ts.map +1 -0
  188. package/node_modules/@specforge/session-types/dist/stores/planning-entity-score-datapoint-store.js +2 -0
  189. package/node_modules/@specforge/session-types/dist/stores/planning-entity-score-datapoint-store.js.map +1 -0
  190. package/node_modules/@specforge/session-types/dist/stores/planning-phase-transition-store.d.ts +10 -0
  191. package/node_modules/@specforge/session-types/dist/stores/planning-phase-transition-store.d.ts.map +1 -0
  192. package/node_modules/@specforge/session-types/dist/stores/planning-phase-transition-store.js +2 -0
  193. package/node_modules/@specforge/session-types/dist/stores/planning-phase-transition-store.js.map +1 -0
  194. package/node_modules/@specforge/session-types/dist/stores/planning-session-action-store.d.ts +13 -0
  195. package/node_modules/@specforge/session-types/dist/stores/planning-session-action-store.d.ts.map +1 -0
  196. package/node_modules/@specforge/session-types/dist/stores/planning-session-action-store.js +2 -0
  197. package/node_modules/@specforge/session-types/dist/stores/planning-session-action-store.js.map +1 -0
  198. package/node_modules/@specforge/session-types/dist/stores/planning-session-aggregate-store.d.ts +10 -0
  199. package/node_modules/@specforge/session-types/dist/stores/planning-session-aggregate-store.d.ts.map +1 -0
  200. package/node_modules/@specforge/session-types/dist/stores/planning-session-aggregate-store.js +2 -0
  201. package/node_modules/@specforge/session-types/dist/stores/planning-session-aggregate-store.js.map +1 -0
  202. package/node_modules/@specforge/session-types/dist/stores/planning-session-store.d.ts +20 -0
  203. package/node_modules/@specforge/session-types/dist/stores/planning-session-store.d.ts.map +1 -0
  204. package/node_modules/@specforge/session-types/dist/stores/planning-session-store.js +2 -0
  205. package/node_modules/@specforge/session-types/dist/stores/planning-session-store.js.map +1 -0
  206. package/node_modules/@specforge/session-types/dist/stores/work-session-acceptance-check-store.d.ts +15 -0
  207. package/node_modules/@specforge/session-types/dist/stores/work-session-acceptance-check-store.d.ts.map +1 -0
  208. package/node_modules/@specforge/session-types/dist/stores/work-session-acceptance-check-store.js +2 -0
  209. package/node_modules/@specforge/session-types/dist/stores/work-session-acceptance-check-store.js.map +1 -0
  210. package/node_modules/@specforge/session-types/dist/stores/work-session-action-store.d.ts +29 -0
  211. package/node_modules/@specforge/session-types/dist/stores/work-session-action-store.d.ts.map +1 -0
  212. package/node_modules/@specforge/session-types/dist/stores/work-session-action-store.js +2 -0
  213. package/node_modules/@specforge/session-types/dist/stores/work-session-action-store.js.map +1 -0
  214. package/node_modules/@specforge/session-types/dist/stores/work-session-file-change-store.d.ts +9 -0
  215. package/node_modules/@specforge/session-types/dist/stores/work-session-file-change-store.d.ts.map +1 -0
  216. package/node_modules/@specforge/session-types/dist/stores/work-session-file-change-store.js +2 -0
  217. package/node_modules/@specforge/session-types/dist/stores/work-session-file-change-store.js.map +1 -0
  218. package/node_modules/@specforge/session-types/dist/stores/work-session-impl-step-completion-store.d.ts +9 -0
  219. package/node_modules/@specforge/session-types/dist/stores/work-session-impl-step-completion-store.d.ts.map +1 -0
  220. package/node_modules/@specforge/session-types/dist/stores/work-session-impl-step-completion-store.js +2 -0
  221. package/node_modules/@specforge/session-types/dist/stores/work-session-impl-step-completion-store.js.map +1 -0
  222. package/node_modules/@specforge/session-types/dist/stores/work-session-resolution-store.d.ts +10 -0
  223. package/node_modules/@specforge/session-types/dist/stores/work-session-resolution-store.d.ts.map +1 -0
  224. package/node_modules/@specforge/session-types/dist/stores/work-session-resolution-store.js +2 -0
  225. package/node_modules/@specforge/session-types/dist/stores/work-session-resolution-store.js.map +1 -0
  226. package/node_modules/@specforge/session-types/dist/stores/work-session-store.d.ts +14 -0
  227. package/node_modules/@specforge/session-types/dist/stores/work-session-store.d.ts.map +1 -0
  228. package/node_modules/@specforge/session-types/dist/stores/work-session-store.js +2 -0
  229. package/node_modules/@specforge/session-types/dist/stores/work-session-store.js.map +1 -0
  230. package/node_modules/@specforge/session-types/dist/stores/work-session-test-result-store.d.ts +8 -0
  231. package/node_modules/@specforge/session-types/dist/stores/work-session-test-result-store.d.ts.map +1 -0
  232. package/node_modules/@specforge/session-types/dist/stores/work-session-test-result-store.js +2 -0
  233. package/node_modules/@specforge/session-types/dist/stores/work-session-test-result-store.js.map +1 -0
  234. package/node_modules/@specforge/session-types/dist/stores/working-context-store.d.ts +27 -0
  235. package/node_modules/@specforge/session-types/dist/stores/working-context-store.d.ts.map +1 -0
  236. package/node_modules/@specforge/session-types/dist/stores/working-context-store.js +2 -0
  237. package/node_modules/@specforge/session-types/dist/stores/working-context-store.js.map +1 -0
  238. package/node_modules/@specforge/session-types/package.json +43 -0
  239. package/package.json +6 -5
@@ -0,0 +1,146 @@
1
+ import type { PlanningSession } from './planning-session.js';
2
+ import type { PlanningSessionAction } from './planning-session-action.js';
3
+ import type { PlanningPhaseTransition } from './planning-phase-transition.js';
4
+ import type { PlanningEntityScoreDatapoint } from './planning-entity-score-datapoint.js';
5
+ import type { PlanningSessionAggregate } from './planning-session-aggregate.js';
6
+ import type { ImplementationSessionAggregate } from './implementation-session-aggregate.js';
7
+ import type { DatapointTrigger } from './enums.js';
8
+ /**
9
+ * WritePlan contract (relocated from `@specforge/lifecycle` in M7.4d).
10
+ *
11
+ * Lives in `@specforge/session-types` so both producer (`@specforge/lifecycle`)
12
+ * and consumer (`@specforge/resolvers` executor / notifier) depend on a shared
13
+ * type package instead of on each other — see monorepo-topology §2.1d. The
14
+ * lifecycle factory builds these; the resolver executor commits them.
15
+ */
16
+ export type WritePlanItemKind = 'specMutation' | 'entityDelete' | 'relatedPut' | 'relatedDelete' | 'relatedReplace' | 'sessionUpdate' | 'sessionCreate' | 'actionAppend' | 'recordTransition' | 'entityScoreUpdate' | 'scoreDatapointAppend' | 'planningAggregateUpsert' | 'planningAggregateReconcile' | 'planningDatapointPut' | 'implementationAggregateUpsert';
17
+ export type WritePlanItem = {
18
+ kind: 'specMutation';
19
+ entityType: 'spec' | 'epic' | 'ticket' | 'blueprint';
20
+ entityId: string;
21
+ fields: Record<string, unknown>;
22
+ conditionExpression?: string;
23
+ expressionAttributeNames?: Record<string, string>;
24
+ expressionAttributeValues?: Record<string, unknown>;
25
+ } | {
26
+ kind: 'entityDelete';
27
+ entityType: 'spec' | 'epic' | 'ticket' | 'blueprint';
28
+ entityId: string;
29
+ } | {
30
+ kind: 'relatedPut';
31
+ table: string;
32
+ item: Record<string, unknown>;
33
+ conditionExpression?: string;
34
+ expressionAttributeNames?: Record<string, string>;
35
+ expressionAttributeValues?: Record<string, unknown>;
36
+ } | {
37
+ kind: 'relatedDelete';
38
+ table: string;
39
+ key: Record<string, string>;
40
+ } | {
41
+ kind: 'relatedReplace';
42
+ table: string;
43
+ parentField: string;
44
+ parentId: string;
45
+ items: Record<string, unknown>[];
46
+ } | {
47
+ kind: 'sessionUpdate';
48
+ sessionId: string;
49
+ fields: Partial<PlanningSession>;
50
+ conditionExpression?: string;
51
+ expressionAttributeValues?: Record<string, unknown>;
52
+ increments?: Record<string, number>;
53
+ } | {
54
+ kind: 'sessionCreate';
55
+ session: Omit<PlanningSession, 'id'> & {
56
+ id: string;
57
+ };
58
+ } | {
59
+ kind: 'actionAppend';
60
+ action: PlanningSessionAction;
61
+ } | {
62
+ kind: 'recordTransition';
63
+ transition: PlanningPhaseTransition;
64
+ } | {
65
+ kind: 'entityScoreUpdate';
66
+ entityType: 'spec' | 'epic' | 'ticket';
67
+ entityId: string;
68
+ score: number;
69
+ } | {
70
+ kind: 'scoreDatapointAppend';
71
+ entityType: 'spec' | 'epic' | 'ticket';
72
+ entityId: string;
73
+ score: number;
74
+ trigger: DatapointTrigger;
75
+ triggerActionId: string;
76
+ } | {
77
+ kind: 'planningAggregateUpsert';
78
+ aggregate: PlanningSessionAggregate;
79
+ } | {
80
+ kind: 'planningAggregateReconcile';
81
+ aggregate: PlanningSessionAggregate;
82
+ } | {
83
+ kind: 'planningDatapointPut';
84
+ datapoint: PlanningEntityScoreDatapoint;
85
+ } | {
86
+ kind: 'implementationAggregateUpsert';
87
+ aggregate: ImplementationSessionAggregate;
88
+ };
89
+ export type ModelChange = {
90
+ model: 'PlanningSession';
91
+ op: 'create' | 'update';
92
+ id: string;
93
+ data: Partial<PlanningSession>;
94
+ } | {
95
+ model: 'PlanningSessionAction';
96
+ op: 'create';
97
+ data: PlanningSessionAction;
98
+ } | {
99
+ model: 'PlanningPhaseTransition';
100
+ op: 'create';
101
+ data: PlanningPhaseTransition;
102
+ } | {
103
+ model: 'PlanningEntityScoreDatapoint';
104
+ op: 'create';
105
+ data: PlanningEntityScoreDatapoint;
106
+ } | {
107
+ model: 'Specification';
108
+ op: 'update';
109
+ id: string;
110
+ data: Record<string, unknown>;
111
+ } | {
112
+ model: 'Epic';
113
+ op: 'update';
114
+ id: string;
115
+ data: Record<string, unknown>;
116
+ } | {
117
+ model: 'Ticket';
118
+ op: 'update';
119
+ id: string;
120
+ data: Record<string, unknown>;
121
+ } | {
122
+ model: 'PlanningSessionAggregate';
123
+ op: 'upsert';
124
+ planningSessionId: string;
125
+ data: Partial<PlanningSessionAggregate>;
126
+ } | {
127
+ model: 'ImplementationSessionAggregate';
128
+ op: 'upsert';
129
+ implementationSessionId: string;
130
+ data: Partial<ImplementationSessionAggregate>;
131
+ } | {
132
+ model: 'SpecificationBlueprint';
133
+ op: 'update' | 'delete';
134
+ id: string;
135
+ data?: Record<string, unknown>;
136
+ } | {
137
+ model: string;
138
+ op: 'delete';
139
+ id: string;
140
+ };
141
+ export interface WritePlan {
142
+ transactions: WritePlanItem[][];
143
+ description: string;
144
+ changes: ModelChange[];
145
+ }
146
+ //# sourceMappingURL=write-plan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write-plan.d.ts","sourceRoot":"","sources":["../../src/runtime/write-plan.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=write-plan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write-plan.js","sourceRoot":"","sources":["../../src/runtime/write-plan.ts"],"names":[],"mappings":""}
@@ -0,0 +1,76 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Discovery — the top-level work-surface entity (NOT a WorkSession child) the agent
4
+ * files via `create_discovery` (M16.3): work it found that is out of the current
5
+ * ticket's scope (a new ticket / epic) and may BLOCK the current ticket. Mirrors the
6
+ * live Amplify `Discovery` model (`resource.ts:629`). M19.1 owns the read store
7
+ * (read-only — the `create_discovery` / `update_discovery` / `set_discovery_resolved`
8
+ * mutations are AWS actions that flow through the WritePlan, M16.3 / M19.5).
9
+ *
10
+ * `blocking=true` makes the discovery BE the block: M16 writes `Ticket.status='blocked'`
11
+ * + `WorkSession.blockReason` as a side-effect and fires `ticket_blocked`; the human
12
+ * resolves it via a `WorkSessionResolution` (mode B — pick a `proposedOption` or write
13
+ * free `direction`).
14
+ */
15
+ export declare const DiscoverySchema: z.ZodObject<{
16
+ id: z.ZodString;
17
+ ticketId: z.ZodString;
18
+ workSessionId: z.ZodOptional<z.ZodString>;
19
+ specificationId: z.ZodString;
20
+ projectId: z.ZodString;
21
+ type: z.ZodEnum<["ticket", "epic"]>;
22
+ description: z.ZodString;
23
+ status: z.ZodEnum<["pending", "created", "dismissed"]>;
24
+ blocking: z.ZodBoolean;
25
+ proposedOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
26
+ id: z.ZodString;
27
+ summary: z.ZodString;
28
+ }, "strip", z.ZodTypeAny, {
29
+ summary: string;
30
+ id: string;
31
+ }, {
32
+ summary: string;
33
+ id: string;
34
+ }>, "many">>;
35
+ createdItemId: z.ZodOptional<z.ZodString>;
36
+ createdAt: z.ZodOptional<z.ZodString>;
37
+ resolvedAt: z.ZodOptional<z.ZodString>;
38
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ status: "created" | "pending" | "dismissed";
41
+ type: "ticket" | "epic";
42
+ description: string;
43
+ id: string;
44
+ specificationId: string;
45
+ projectId: string;
46
+ ticketId: string;
47
+ blocking: boolean;
48
+ metadata?: Record<string, unknown> | undefined;
49
+ workSessionId?: string | undefined;
50
+ createdAt?: string | undefined;
51
+ proposedOptions?: {
52
+ summary: string;
53
+ id: string;
54
+ }[] | undefined;
55
+ createdItemId?: string | undefined;
56
+ resolvedAt?: string | undefined;
57
+ }, {
58
+ status: "created" | "pending" | "dismissed";
59
+ type: "ticket" | "epic";
60
+ description: string;
61
+ id: string;
62
+ specificationId: string;
63
+ projectId: string;
64
+ ticketId: string;
65
+ blocking: boolean;
66
+ metadata?: Record<string, unknown> | undefined;
67
+ workSessionId?: string | undefined;
68
+ createdAt?: string | undefined;
69
+ proposedOptions?: {
70
+ summary: string;
71
+ id: string;
72
+ }[] | undefined;
73
+ createdItemId?: string | undefined;
74
+ resolvedAt?: string | undefined;
75
+ }>;
76
+ //# sourceMappingURL=discovery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/schema/discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B1B,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ import { DISCOVERY_TYPES, DISCOVERY_STATUSES } from '../runtime/enums.js';
3
+ /**
4
+ * Discovery — the top-level work-surface entity (NOT a WorkSession child) the agent
5
+ * files via `create_discovery` (M16.3): work it found that is out of the current
6
+ * ticket's scope (a new ticket / epic) and may BLOCK the current ticket. Mirrors the
7
+ * live Amplify `Discovery` model (`resource.ts:629`). M19.1 owns the read store
8
+ * (read-only — the `create_discovery` / `update_discovery` / `set_discovery_resolved`
9
+ * mutations are AWS actions that flow through the WritePlan, M16.3 / M19.5).
10
+ *
11
+ * `blocking=true` makes the discovery BE the block: M16 writes `Ticket.status='blocked'`
12
+ * + `WorkSession.blockReason` as a side-effect and fires `ticket_blocked`; the human
13
+ * resolves it via a `WorkSessionResolution` (mode B — pick a `proposedOption` or write
14
+ * free `direction`).
15
+ */
16
+ export const DiscoverySchema = z.object({
17
+ id: z.string(),
18
+ ticketId: z.string(),
19
+ // FK to the WorkSession that surfaced this discovery (M15.5 — work-audit link).
20
+ // Optional: legacy / non-session-scoped discoveries predate the link.
21
+ workSessionId: z.string().optional(),
22
+ specificationId: z.string(),
23
+ projectId: z.string(),
24
+ type: z.enum(DISCOVERY_TYPES),
25
+ description: z.string(),
26
+ status: z.enum(DISCOVERY_STATUSES),
27
+ // The agent's `blocking` flag (M15.8). Required-by-intent (Amplify booleans are
28
+ // nullable at the type level); the read store defaults a missing value to `false`.
29
+ blocking: z.boolean(),
30
+ // ≤3 agent-proposed candidate resolutions `{ id, summary }[]` (M15.8). The human
31
+ // resolves by picking one (`WorkSessionResolution.selectedOptionId`) or writing free
32
+ // `direction`. The ≤3 cap is validated by the lifecycle (M16), not re-enforced here.
33
+ proposedOptions: z
34
+ .array(z.object({ id: z.string(), summary: z.string() }))
35
+ .optional(),
36
+ // ID of the ticket/epic created when the agent acts on the discovery.
37
+ createdItemId: z.string().optional(),
38
+ createdAt: z.string().datetime().optional(),
39
+ resolvedAt: z.string().datetime().optional(),
40
+ metadata: z.record(z.unknown()).optional(),
41
+ });
42
+ //# sourceMappingURL=discovery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discovery.js","sourceRoot":"","sources":["../../src/schema/discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE1E;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,gFAAgF;IAChF,sEAAsE;IACtE,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IAErB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;IAC7B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;IAElC,gFAAgF;IAChF,mFAAmF;IACnF,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IAErB,iFAAiF;IACjF,qFAAqF;IACrF,qFAAqF;IACrF,eAAe,EAAE,CAAC;SACf,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;SACxD,QAAQ,EAAE;IAEb,sEAAsE;IACtE,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAE5C,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * ImplementationRecordEvent — the work-lifecycle transition/event row (M15.4),
4
+ * the work analogue of `PlanningPhaseTransition`. Fired by the lifecycle (e.g.
5
+ * `session_started`, `step_completed`, `discovery_reported`, `ticket_blocked`) and
6
+ * read by M20 (`ImplementationSessionAggregate` projector) + M21 (notifications).
7
+ * Mirrors the live Amplify `ImplementationRecordEvent` model (`resource.ts:1522`).
8
+ *
9
+ * The lifecycle's WRITE shape is `ImplementationRecordEventRow`
10
+ * (`@specforge/lifecycle` `work/atomic-write`) — it always sets `ticketId` /
11
+ * `workSessionId`; this READ type keeps them optional to match the DDB columns
12
+ * (`a.id()`, not required) and pre-link rows.
13
+ */
14
+ export declare const ImplementationRecordEventSchema: z.ZodObject<{
15
+ id: z.ZodString;
16
+ implementationSessionId: z.ZodString;
17
+ specificationId: z.ZodString;
18
+ projectId: z.ZodString;
19
+ ticketId: z.ZodOptional<z.ZodString>;
20
+ workSessionId: z.ZodOptional<z.ZodString>;
21
+ eventType: z.ZodString;
22
+ timestamp: z.ZodString;
23
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
24
+ createdAt: z.ZodOptional<z.ZodString>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ id: string;
27
+ specificationId: string;
28
+ projectId: string;
29
+ implementationSessionId: string;
30
+ eventType: string;
31
+ timestamp: string;
32
+ workSessionId?: string | undefined;
33
+ ticketId?: string | undefined;
34
+ createdAt?: string | undefined;
35
+ data?: Record<string, unknown> | undefined;
36
+ }, {
37
+ id: string;
38
+ specificationId: string;
39
+ projectId: string;
40
+ implementationSessionId: string;
41
+ eventType: string;
42
+ timestamp: string;
43
+ workSessionId?: string | undefined;
44
+ ticketId?: string | undefined;
45
+ createdAt?: string | undefined;
46
+ data?: Record<string, unknown> | undefined;
47
+ }>;
48
+ //# sourceMappingURL=implementation-record-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implementation-record-event.d.ts","sourceRoot":"","sources":["../../src/schema/implementation-record-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa1C,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * ImplementationRecordEvent — the work-lifecycle transition/event row (M15.4),
4
+ * the work analogue of `PlanningPhaseTransition`. Fired by the lifecycle (e.g.
5
+ * `session_started`, `step_completed`, `discovery_reported`, `ticket_blocked`) and
6
+ * read by M20 (`ImplementationSessionAggregate` projector) + M21 (notifications).
7
+ * Mirrors the live Amplify `ImplementationRecordEvent` model (`resource.ts:1522`).
8
+ *
9
+ * The lifecycle's WRITE shape is `ImplementationRecordEventRow`
10
+ * (`@specforge/lifecycle` `work/atomic-write`) — it always sets `ticketId` /
11
+ * `workSessionId`; this READ type keeps them optional to match the DDB columns
12
+ * (`a.id()`, not required) and pre-link rows.
13
+ */
14
+ export const ImplementationRecordEventSchema = z.object({
15
+ id: z.string(),
16
+ // M15.4: recordId→implementationSessionId — it IS the FK to ImplementationSession.
17
+ implementationSessionId: z.string(),
18
+ specificationId: z.string(),
19
+ projectId: z.string(),
20
+ ticketId: z.string().optional(),
21
+ workSessionId: z.string().optional(),
22
+ eventType: z.string(),
23
+ timestamp: z.string().datetime(),
24
+ // Event-specific payload (validated by Zod before write; read passes it through).
25
+ data: z.record(z.unknown()).optional(),
26
+ createdAt: z.string().datetime().optional(),
27
+ });
28
+ //# sourceMappingURL=implementation-record-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implementation-record-event.js","sourceRoot":"","sources":["../../src/schema/implementation-record-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,mFAAmF;IACnF,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,kFAAkF;IAClF,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * ImplementationSession — the PARENT work-lifecycle session (mirror of the
4
+ * planning PlanningSession, for the work chain).
5
+ *
6
+ * Cardinality / invariants encoded by the work types:
7
+ * - 1 ImplementationSession ⇄ N WorkSessions (FK `WorkSession.implementationSessionId`).
8
+ * - Exactly ONE *active* ImplementationSession per specification (enforced at
9
+ * SWS create time via a DDB conditional write — M15/M16).
10
+ * - Exactly ONE *active* WorkSession per ticket (see WorkSessionSchema).
11
+ *
12
+ * Net-new runtime type in session-types (M14.2): it existed only in the Amplify
13
+ * schema before. Broader field alignment + GSIs / conditional-write keys are M15.
14
+ */
15
+ export declare const ImplementationSessionSchema: z.ZodObject<{
16
+ id: z.ZodString;
17
+ specificationId: z.ZodString;
18
+ projectId: z.ZodString;
19
+ status: z.ZodEnum<["active", "completed", "aborted"]>;
20
+ startedAt: z.ZodString;
21
+ endedAt: z.ZodOptional<z.ZodString>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ status: "active" | "completed" | "aborted";
24
+ id: string;
25
+ specificationId: string;
26
+ projectId: string;
27
+ startedAt: string;
28
+ endedAt?: string | undefined;
29
+ }, {
30
+ status: "active" | "completed" | "aborted";
31
+ id: string;
32
+ specificationId: string;
33
+ projectId: string;
34
+ startedAt: string;
35
+ endedAt?: string | undefined;
36
+ }>;
37
+ //# sourceMappingURL=implementation-session.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implementation-session.d.ts","sourceRoot":"","sources":["../../src/schema/implementation-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAOtC,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ import { IMPLEMENTATION_SESSION_STATUSES } from '../runtime/enums.js';
3
+ /**
4
+ * ImplementationSession — the PARENT work-lifecycle session (mirror of the
5
+ * planning PlanningSession, for the work chain).
6
+ *
7
+ * Cardinality / invariants encoded by the work types:
8
+ * - 1 ImplementationSession ⇄ N WorkSessions (FK `WorkSession.implementationSessionId`).
9
+ * - Exactly ONE *active* ImplementationSession per specification (enforced at
10
+ * SWS create time via a DDB conditional write — M15/M16).
11
+ * - Exactly ONE *active* WorkSession per ticket (see WorkSessionSchema).
12
+ *
13
+ * Net-new runtime type in session-types (M14.2): it existed only in the Amplify
14
+ * schema before. Broader field alignment + GSIs / conditional-write keys are M15.
15
+ */
16
+ export const ImplementationSessionSchema = z.object({
17
+ id: z.string(),
18
+ specificationId: z.string(),
19
+ projectId: z.string(),
20
+ status: z.enum(IMPLEMENTATION_SESSION_STATUSES),
21
+ startedAt: z.string().datetime(),
22
+ endedAt: z.string().datetime().optional(),
23
+ });
24
+ //# sourceMappingURL=implementation-session.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implementation-session.js","sourceRoot":"","sources":["../../src/schema/implementation-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAEtE;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,+BAA+B,CAAC;IAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ export { ImplementationSessionSchema } from './implementation-session.js';
2
+ export { WorkSessionSchema } from './work-session.js';
3
+ export { WorkSessionAcceptanceCheckSchema } from './work-session-acceptance-check.js';
4
+ export { WorkSessionImplStepCompletionSchema } from './work-session-impl-step-completion.js';
5
+ export { WorkSessionFileChangeSchema } from './work-session-file-change.js';
6
+ export { WorkSessionTestResultSchema } from './work-session-test-result.js';
7
+ export { WorkSessionResolutionSchema } from './work-session-resolution.js';
8
+ export { WorkSessionActionSchema } from './work-session-action.js';
9
+ export { DiscoverySchema } from './discovery.js';
10
+ export { ImplementationRecordEventSchema } from './implementation-record-event.js';
11
+ export { ParsedGitEvidenceSchema } from './parsed-git-evidence.js';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,12 @@
1
+ export { ImplementationSessionSchema } from './implementation-session.js';
2
+ export { WorkSessionSchema } from './work-session.js';
3
+ export { WorkSessionAcceptanceCheckSchema } from './work-session-acceptance-check.js';
4
+ export { WorkSessionImplStepCompletionSchema } from './work-session-impl-step-completion.js';
5
+ export { WorkSessionFileChangeSchema } from './work-session-file-change.js';
6
+ export { WorkSessionTestResultSchema } from './work-session-test-result.js';
7
+ export { WorkSessionResolutionSchema } from './work-session-resolution.js';
8
+ export { WorkSessionActionSchema } from './work-session-action.js';
9
+ export { DiscoverySchema } from './discovery.js';
10
+ export { ImplementationRecordEventSchema } from './implementation-record-event.js';
11
+ export { ParsedGitEvidenceSchema } from './parsed-git-evidence.js';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,74 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * ParsedGitEvidence — parsed git status/diff captured for a WorkSession.
4
+ *
5
+ * Per-WorkSession (NOT per-file) evidence the assay reads for coherence scoring
6
+ * (AWS/CWS). Net-new type in M14.2 — a minimal placeholder, refined in M17 where
7
+ * the assay consumes it. The DDB column already exists live (`resource.ts`
8
+ * `gitEvidence: a.json()`), so M15 only confirms it (no schema change).
9
+ */
10
+ export declare const ParsedGitEvidenceSchema: z.ZodObject<{
11
+ branch: z.ZodOptional<z.ZodString>;
12
+ commitSha: z.ZodOptional<z.ZodString>;
13
+ /** Raw `git status --porcelain` output. */
14
+ status: z.ZodOptional<z.ZodString>;
15
+ /** Raw `git diff` output. */
16
+ diff: z.ZodOptional<z.ZodString>;
17
+ /** Per-file change summary parsed from status/diff. */
18
+ files: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
+ path: z.ZodString;
20
+ changeType: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ path: string;
23
+ changeType: string;
24
+ }, {
25
+ path: string;
26
+ changeType: string;
27
+ }>, "many">>;
28
+ /** Aggregate line counts across the diff. */
29
+ insertions: z.ZodOptional<z.ZodNumber>;
30
+ deletions: z.ZodOptional<z.ZodNumber>;
31
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32
+ branch: z.ZodOptional<z.ZodString>;
33
+ commitSha: z.ZodOptional<z.ZodString>;
34
+ /** Raw `git status --porcelain` output. */
35
+ status: z.ZodOptional<z.ZodString>;
36
+ /** Raw `git diff` output. */
37
+ diff: z.ZodOptional<z.ZodString>;
38
+ /** Per-file change summary parsed from status/diff. */
39
+ files: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
+ path: z.ZodString;
41
+ changeType: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ path: string;
44
+ changeType: string;
45
+ }, {
46
+ path: string;
47
+ changeType: string;
48
+ }>, "many">>;
49
+ /** Aggregate line counts across the diff. */
50
+ insertions: z.ZodOptional<z.ZodNumber>;
51
+ deletions: z.ZodOptional<z.ZodNumber>;
52
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
53
+ branch: z.ZodOptional<z.ZodString>;
54
+ commitSha: z.ZodOptional<z.ZodString>;
55
+ /** Raw `git status --porcelain` output. */
56
+ status: z.ZodOptional<z.ZodString>;
57
+ /** Raw `git diff` output. */
58
+ diff: z.ZodOptional<z.ZodString>;
59
+ /** Per-file change summary parsed from status/diff. */
60
+ files: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
+ path: z.ZodString;
62
+ changeType: z.ZodString;
63
+ }, "strip", z.ZodTypeAny, {
64
+ path: string;
65
+ changeType: string;
66
+ }, {
67
+ path: string;
68
+ changeType: string;
69
+ }>, "many">>;
70
+ /** Aggregate line counts across the diff. */
71
+ insertions: z.ZodOptional<z.ZodNumber>;
72
+ deletions: z.ZodOptional<z.ZodNumber>;
73
+ }, z.ZodTypeAny, "passthrough">>;
74
+ //# sourceMappingURL=parsed-git-evidence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsed-git-evidence.d.ts","sourceRoot":"","sources":["../../src/schema/parsed-git-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;IAIhC,2CAA2C;;IAE3C,6BAA6B;;IAE7B,uDAAuD;;;;;;;;;;;IASvD,6CAA6C;;;;;;IAb7C,2CAA2C;;IAE3C,6BAA6B;;IAE7B,uDAAuD;;;;;;;;;;;IASvD,6CAA6C;;;;;;IAb7C,2CAA2C;;IAE3C,6BAA6B;;IAE7B,uDAAuD;;;;;;;;;;;IASvD,6CAA6C;;;gCAKjC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * ParsedGitEvidence — parsed git status/diff captured for a WorkSession.
4
+ *
5
+ * Per-WorkSession (NOT per-file) evidence the assay reads for coherence scoring
6
+ * (AWS/CWS). Net-new type in M14.2 — a minimal placeholder, refined in M17 where
7
+ * the assay consumes it. The DDB column already exists live (`resource.ts`
8
+ * `gitEvidence: a.json()`), so M15 only confirms it (no schema change).
9
+ */
10
+ export const ParsedGitEvidenceSchema = z
11
+ .object({
12
+ branch: z.string().optional(),
13
+ commitSha: z.string().optional(),
14
+ /** Raw `git status --porcelain` output. */
15
+ status: z.string().optional(),
16
+ /** Raw `git diff` output. */
17
+ diff: z.string().optional(),
18
+ /** Per-file change summary parsed from status/diff. */
19
+ files: z
20
+ .array(z.object({
21
+ path: z.string(),
22
+ changeType: z.string(),
23
+ }))
24
+ .optional(),
25
+ /** Aggregate line counts across the diff. */
26
+ insertions: z.number().int().nonnegative().optional(),
27
+ deletions: z.number().int().nonnegative().optional(),
28
+ })
29
+ // Placeholder shape — stays permissive until M17 refines the assay contract.
30
+ .passthrough();
31
+ //# sourceMappingURL=parsed-git-evidence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsed-git-evidence.js","sourceRoot":"","sources":["../../src/schema/parsed-git-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,2CAA2C;IAC3C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,6BAA6B;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,uDAAuD;IACvD,KAAK,EAAE,CAAC;SACL,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;KACvB,CAAC,CACH;SACA,QAAQ,EAAE;IACb,6CAA6C;IAC7C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CACrD,CAAC;IACF,6EAA6E;KAC5E,WAAW,EAAE,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ export declare const WorkSessionAcceptanceCheckSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ workSessionId: z.ZodString;
5
+ criterionId: z.ZodString;
6
+ ticketId: z.ZodString;
7
+ projectId: z.ZodString;
8
+ checked: z.ZodBoolean;
9
+ checkedAt: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ id: string;
12
+ projectId: string;
13
+ workSessionId: string;
14
+ ticketId: string;
15
+ criterionId: string;
16
+ checked: boolean;
17
+ checkedAt?: string | undefined;
18
+ }, {
19
+ id: string;
20
+ projectId: string;
21
+ workSessionId: string;
22
+ ticketId: string;
23
+ criterionId: string;
24
+ checked: boolean;
25
+ checkedAt?: string | undefined;
26
+ }>;
27
+ //# sourceMappingURL=work-session-acceptance-check.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-session-acceptance-check.d.ts","sourceRoot":"","sources":["../../src/schema/work-session-acceptance-check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;EAQ3C,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export const WorkSessionAcceptanceCheckSchema = z.object({
3
+ id: z.string(),
4
+ workSessionId: z.string(),
5
+ criterionId: z.string(),
6
+ ticketId: z.string(),
7
+ projectId: z.string(),
8
+ checked: z.boolean(),
9
+ checkedAt: z.string().datetime().optional(),
10
+ });
11
+ //# sourceMappingURL=work-session-acceptance-check.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"work-session-acceptance-check.js","sourceRoot":"","sources":["../../src/schema/work-session-acceptance-check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC"}