@wildo-ai/saas-specifications 1.1.3 → 1.1.5

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 (950) hide show
  1. package/dist/assurance/external-framework-mapping.json +1228 -0
  2. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
  3. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
  4. package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
  5. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
  6. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
  7. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
  8. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
  9. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
  10. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
  11. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
  12. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
  13. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
  14. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
  15. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
  16. package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
  17. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
  18. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
  19. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  20. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
  21. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
  22. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
  23. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
  24. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  25. package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
  26. package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
  27. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
  28. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
  30. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  31. package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
  32. package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
  33. package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
  34. package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
  35. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
  36. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  37. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
  38. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
  39. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
  40. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
  41. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  42. package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
  43. package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
  44. package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
  45. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  46. package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
  47. package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
  48. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
  49. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
  51. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  52. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
  53. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  54. package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
  55. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
  56. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
  57. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
  59. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  60. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
  61. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  62. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
  63. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  64. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
  65. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  66. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
  67. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  68. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  69. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
  70. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  71. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
  72. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  73. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
  74. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
  75. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
  76. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
  77. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
  78. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
  79. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
  81. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  82. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
  83. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  84. package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
  85. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  86. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
  87. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
  88. package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
  89. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
  90. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
  91. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
  92. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
  93. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
  94. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
  95. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
  96. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
  97. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
  98. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
  99. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  100. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
  101. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  102. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
  103. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
  104. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
  105. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
  106. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
  107. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
  109. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  110. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
  111. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  112. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
  113. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
  114. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
  115. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
  116. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
  117. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
  118. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
  120. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  121. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
  122. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
  123. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
  124. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  125. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
  126. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  127. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
  128. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  129. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
  130. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  131. package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
  132. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  133. package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
  134. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  135. package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
  136. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  137. package/dist/esm/_core/cross-registry-assertions.js +7 -5
  138. package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
  139. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
  140. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
  142. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  143. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
  144. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  145. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
  146. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  147. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
  148. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
  149. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
  150. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
  151. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
  152. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
  153. package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
  154. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
  155. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
  156. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
  157. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
  158. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
  159. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
  160. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
  161. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
  162. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
  163. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
  164. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
  166. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
  167. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
  168. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  169. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
  170. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  171. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
  172. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
  173. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
  174. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
  175. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
  176. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
  178. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  179. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  180. package/dist/esm/_core/family-aspects.registry.js +22 -1
  181. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  182. package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
  183. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  184. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  185. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +27 -27
  186. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
  187. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
  188. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  189. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  190. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
  191. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  192. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
  193. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
  195. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  196. package/dist/esm/_core/index.d.ts +16 -0
  197. package/dist/esm/_core/index.d.ts.map +1 -1
  198. package/dist/esm/_core/index.js +16 -0
  199. package/dist/esm/_core/index.js.map +1 -1
  200. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
  201. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
  202. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
  203. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
  204. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
  205. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
  206. package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
  207. package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
  208. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
  209. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
  210. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
  211. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
  212. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
  213. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
  214. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
  215. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
  216. package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
  217. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  218. package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
  219. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  220. package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
  221. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  222. package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
  223. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  224. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
  225. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  226. package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
  227. package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
  228. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
  229. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  230. package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
  231. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  232. package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
  233. package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
  234. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  235. package/dist/esm/_core/market/market-channel.schemas.js +6 -3
  236. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  237. package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
  238. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  239. package/dist/esm/_core/market/market-gain.schemas.js +4 -1
  240. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  241. package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
  242. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  243. package/dist/esm/_core/market/market-icp.schemas.js +12 -9
  244. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  245. package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
  246. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  247. package/dist/esm/_core/market/market-job.schemas.js +4 -1
  248. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  249. package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
  250. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  251. package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
  252. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  253. package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
  254. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  255. package/dist/esm/_core/market/market-objection.schemas.js +4 -1
  256. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  257. package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
  258. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  259. package/dist/esm/_core/market/market-pain.schemas.js +4 -1
  260. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  261. package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
  262. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  263. package/dist/esm/_core/market/market-persona.schemas.js +5 -2
  264. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  265. package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
  266. package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
  267. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  268. package/dist/esm/_core/market/market-proof.schemas.js +4 -1
  269. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  270. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
  271. package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
  272. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
  273. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  274. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
  275. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  276. package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
  277. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  278. package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
  279. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  280. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  281. package/dist/esm/_core/market/market.family-aspects.js +25 -1
  282. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  283. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
  284. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  285. package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
  286. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  287. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
  288. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
  289. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  290. package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
  291. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  292. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  293. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
  294. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  295. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +78 -47
  296. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  297. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
  298. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  299. package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
  300. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  301. package/dist/esm/_core/provider-specification.schemas.js +0 -20
  302. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  303. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
  304. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
  305. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
  306. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  307. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
  308. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
  309. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
  310. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  311. package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
  312. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  313. package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
  314. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  315. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  316. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
  317. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  318. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
  319. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
  320. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
  321. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
  322. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  323. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
  324. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  325. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
  326. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
  327. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
  328. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  329. package/dist/esm/_core/utils/extract-field-specs.js +4 -2
  330. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  331. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
  332. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  333. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
  334. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
  335. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
  336. package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
  337. package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
  338. package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
  339. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
  340. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
  341. package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
  342. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
  343. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
  344. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
  345. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
  346. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
  347. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
  348. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
  349. package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
  350. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
  351. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
  352. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
  353. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
  354. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
  355. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
  356. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
  357. package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
  358. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
  359. package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
  360. package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
  361. package/dist/esm/_core/zod-core-nameability.js +1 -0
  362. package/dist/esm/_core/zod-core-nameability.js.map +1 -0
  363. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
  364. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
  365. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
  366. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
  367. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
  368. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  369. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
  370. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  371. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
  372. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  373. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
  374. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  375. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
  376. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
  377. package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
  378. package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
  379. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  380. package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
  381. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
  382. package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
  383. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
  384. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
  385. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  386. package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
  387. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  388. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
  389. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  390. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
  391. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  392. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
  393. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  394. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
  395. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  396. package/dist/esm/application-creation.exports.d.ts +73 -8
  397. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  398. package/dist/esm/application-creation.exports.js +103 -8
  399. package/dist/esm/application-creation.exports.js.map +1 -1
  400. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
  401. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
  402. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
  403. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
  404. package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
  405. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  406. package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
  407. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  408. package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
  409. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
  410. package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
  411. package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
  412. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
  413. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
  414. package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
  415. package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
  416. package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
  417. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
  418. package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
  419. package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
  420. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
  421. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
  422. package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
  423. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
  424. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
  425. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  426. package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
  427. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  428. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
  429. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  430. package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
  431. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  432. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
  433. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  434. package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
  435. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  436. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  437. package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
  438. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  439. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
  440. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  441. package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
  442. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  443. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
  444. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
  445. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
  446. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
  447. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
  448. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  449. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
  450. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  451. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
  452. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  453. package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
  454. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  455. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
  456. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  457. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
  458. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  459. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
  460. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  461. package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
  462. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  463. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
  464. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  465. package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
  466. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  467. package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
  468. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  469. package/dist/esm/assurance/assurance-program.schemas.js +460 -68
  470. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  471. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  472. package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
  473. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  474. package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
  475. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  476. package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
  477. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  478. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  479. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +205 -3
  480. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  481. package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
  482. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
  483. package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
  484. package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
  485. package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
  486. package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
  487. package/dist/esm/assurance/governed-document-release.d.ts +211 -0
  488. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
  489. package/dist/esm/assurance/governed-document-release.js +314 -0
  490. package/dist/esm/assurance/governed-document-release.js.map +1 -0
  491. package/dist/esm/assurance.exports.d.ts +5 -0
  492. package/dist/esm/assurance.exports.d.ts.map +1 -1
  493. package/dist/esm/assurance.exports.js +5 -0
  494. package/dist/esm/assurance.exports.js.map +1 -1
  495. package/dist/esm/companion-exports.d.ts +135 -11
  496. package/dist/esm/companion-exports.d.ts.map +1 -1
  497. package/dist/esm/companion-exports.js.map +1 -1
  498. package/dist/esm/engine/_bootstrap.d.ts +1 -1
  499. package/dist/esm/engine/_bootstrap.js +1 -1
  500. package/dist/esm/engine/_bootstrap.js.map +1 -1
  501. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
  502. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  503. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  504. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
  505. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
  507. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  508. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
  509. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
  510. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  511. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  512. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
  514. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
  515. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
  516. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
  517. package/dist/esm/engine/auth/resources/index.d.ts +2 -0
  518. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  519. package/dist/esm/engine/auth/resources/index.js +2 -0
  520. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  521. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
  522. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  523. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
  524. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  525. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
  526. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
  527. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
  528. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
  529. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
  530. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  531. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
  532. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  533. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  534. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
  535. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  536. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
  537. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
  539. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
  540. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
  541. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
  543. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  544. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
  545. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  546. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +14 -27
  547. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  548. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +8 -2
  549. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  550. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
  551. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  552. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
  553. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  554. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
  555. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  556. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
  558. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  559. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
  560. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
  561. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
  562. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
  563. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
  564. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
  565. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
  566. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
  567. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
  568. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
  569. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
  570. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
  571. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
  572. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
  573. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
  574. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
  575. package/dist/esm/engine/billing/resources/index.d.ts +4 -0
  576. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  577. package/dist/esm/engine/billing/resources/index.js +4 -0
  578. package/dist/esm/engine/billing/resources/index.js.map +1 -1
  579. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
  580. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
  581. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  582. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  583. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  584. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
  585. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  586. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
  587. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
  588. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
  589. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
  590. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
  591. package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
  592. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  593. package/dist/esm/engine/compliance/resources/index.js +2 -0
  594. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  595. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
  596. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
  597. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
  598. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
  599. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  600. package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
  601. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  602. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  603. package/dist/esm/engine/errors/error-messages.specification.js +123 -19
  604. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  605. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  606. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
  607. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  608. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
  610. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  612. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
  614. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  615. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  616. package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
  617. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  618. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
  619. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  620. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
  621. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  622. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  623. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
  624. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
  625. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
  626. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
  627. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
  628. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
  629. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
  631. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
  632. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
  634. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
  635. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
  636. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
  637. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
  638. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
  639. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
  640. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
  641. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
  642. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
  643. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
  644. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
  645. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
  647. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  648. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
  649. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
  650. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
  651. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
  652. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
  653. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
  654. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
  655. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
  656. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
  657. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
  658. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
  659. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
  660. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
  662. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  663. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
  664. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  665. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
  667. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
  668. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
  669. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
  670. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
  671. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
  672. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
  673. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
  674. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
  675. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
  676. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
  677. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  678. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
  680. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
  681. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
  682. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
  683. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
  684. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
  685. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
  686. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
  687. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
  688. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
  689. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  690. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  691. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
  692. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
  693. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
  694. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
  695. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
  697. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
  698. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
  699. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
  700. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
  701. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
  702. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
  703. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
  704. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
  705. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
  706. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
  708. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
  709. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
  710. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
  711. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
  712. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
  713. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
  714. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
  715. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
  716. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
  717. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
  718. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
  719. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
  720. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
  721. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
  723. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
  724. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  725. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  726. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
  727. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
  728. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
  729. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
  730. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
  731. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
  732. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
  733. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
  734. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
  735. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
  736. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
  737. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
  738. package/dist/esm/engine/frontend-components/index.d.ts +12 -0
  739. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  740. package/dist/esm/engine/frontend-components/index.js +40 -0
  741. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  742. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
  743. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  744. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
  745. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
  746. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
  747. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
  748. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
  749. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
  751. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
  752. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  753. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
  754. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
  755. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  756. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
  757. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
  758. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
  759. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
  760. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
  762. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
  763. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
  764. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
  765. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  766. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
  767. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  768. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
  769. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  770. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
  771. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
  772. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
  773. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
  774. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  775. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
  776. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  777. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
  778. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  779. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
  780. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  781. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
  782. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
  784. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  785. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
  786. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
  787. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
  788. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
  789. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
  790. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  791. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  792. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
  793. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  794. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
  795. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  796. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  797. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  798. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  799. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
  800. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  801. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
  802. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  803. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
  804. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
  806. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  807. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  808. package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
  809. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  810. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  811. package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
  812. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  813. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  814. package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
  815. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  816. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/providers/github.provider.specification.js +12 -1
  818. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  819. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  820. package/dist/esm/engine/providers/google.provider.specification.js +12 -1
  821. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  822. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
  824. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  825. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
  827. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  828. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
  830. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  831. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  832. package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
  833. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  834. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
  836. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  837. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  838. package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
  839. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  840. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  841. package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
  842. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  843. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
  845. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  846. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
  848. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  849. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
  850. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
  851. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
  852. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
  853. package/dist/esm/engine/roles/index.d.ts +4 -3
  854. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  855. package/dist/esm/engine/roles/index.js +6 -4
  856. package/dist/esm/engine/roles/index.js.map +1 -1
  857. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
  858. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  860. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  861. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
  862. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  863. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
  864. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  865. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
  866. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  867. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
  868. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  869. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
  870. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
  871. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  872. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  873. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
  874. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  875. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  876. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
  877. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  878. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  879. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  880. package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
  881. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  882. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
  883. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  884. package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
  885. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  886. package/dist/esm/index.d.ts +39 -0
  887. package/dist/esm/index.d.ts.map +1 -1
  888. package/dist/esm/index.js +39 -0
  889. package/dist/esm/index.js.map +1 -1
  890. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
  891. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
  892. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
  893. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
  894. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
  895. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
  896. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
  897. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
  898. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
  899. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
  900. package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
  901. package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
  902. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
  903. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
  904. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
  905. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
  906. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
  907. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
  908. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
  909. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
  910. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  911. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
  912. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  913. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
  914. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
  915. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
  916. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
  917. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
  918. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
  919. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
  920. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
  921. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
  922. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
  923. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
  924. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
  925. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
  926. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  927. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
  928. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  929. package/dist/esm/technical-documentation.exports.d.ts +4 -0
  930. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  931. package/dist/esm/technical-documentation.exports.js +24 -0
  932. package/dist/esm/technical-documentation.exports.js.map +1 -1
  933. package/dist/tsconfig.build.tsbuildinfo +1 -1
  934. package/package.json +8 -13
  935. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
  936. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
  937. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
  938. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
  939. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
  940. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
  941. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
  942. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
  943. package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
  944. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
  945. package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
  946. package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
  947. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
  948. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
  949. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
  950. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
@@ -92,6 +92,51 @@ export const ProviderBusinessSemanticsSchema = z.object({
92
92
  /** Effects that are visible to customers/end users or business operators. */
93
93
  customerVisibleEffects: z.array(NonEmptyStringSchema).default([]),
94
94
  });
95
+ /**
96
+ * Semantic delta for one declared SYSTEM OF RECORD instance.
97
+ *
98
+ * A system of record is a deployment the OPERATOR runs and the application reads with its own
99
+ * service identity — the company's own Odoo, ERP, ledger or warehouse. It is not a provider: a
100
+ * provider is a vendor a CUSTOMER may connect their own account to, and the two share no runtime
101
+ * object, stored row, route, secret name or audit subject (#1049 D10). The two schemas sit beside
102
+ * each other here on purpose, so that distinction is visible in the one place a reader compares
103
+ * them.
104
+ *
105
+ * What belongs here is what the DECLARATION cannot say. The instance's vendor, dialect, credential
106
+ * kind, address slots and the resources that bind it are all structural and are read from
107
+ * `wildo.saas.config.ts` and the resource configurations; restating any of them here would be a
108
+ * second copy that drifts. What no structure carries is WHY the application reads someone else's
109
+ * deployment at all, who inside the operator's business maintains the data, and what the operator
110
+ * therefore must never edit in this application.
111
+ */
112
+ export const SystemOfRecordBusinessSemanticsSchema = z.object({
113
+ /**
114
+ * The declared instance NAME — the key under `systemsOfRecord` in `wildo.saas.config.ts`, and the
115
+ * value a resource's `httpApiBinding.system` names. Two instances of one vendor (`odoo-fr`,
116
+ * `odoo-de`) are two entries here, because they are two deployments with two sets of contents and
117
+ * two business owners, even though they speak the same dialect.
118
+ */
119
+ systemName: NonEmptyStringSchema,
120
+ /** Why the application reads this deployment rather than holding the data itself. */
121
+ purpose: NonEmptyStringSchema,
122
+ /** Business capability the application gains by reading it. */
123
+ businessCapability: NonEmptyStringSchema,
124
+ /**
125
+ * What this system — not the application — is the authority for. The sentence an operator should
126
+ * be able to read and recognise as the reason a field is not editable here.
127
+ */
128
+ authoritativeFor: NonEmptyStringSchema,
129
+ /**
130
+ * Who inside the operator's business maintains the data in that system (finance, HR, the
131
+ * warehouse team). This is the party a wrong value is reported to, and it is knowable to nobody
132
+ * but the operator — no declaration carries it.
133
+ */
134
+ maintainedBy: NonEmptyStringSchema.optional(),
135
+ /** Non-obvious constraints an AI builder should keep in mind when binding a resource to it. */
136
+ constraints: z.array(NonEmptyStringSchema).default([]),
137
+ /** Effects visible to customers, end users or business operators. */
138
+ customerVisibleEffects: z.array(NonEmptyStringSchema).default([]),
139
+ });
95
140
  /**
96
141
  * Semantic delta for a frontend component or frontend-facing authored surface.
97
142
  *
@@ -139,8 +184,14 @@ export const BusinessSemanticsSnapshotSchema = z.object({
139
184
  source: BusinessSemanticsSourceSchema,
140
185
  /** Module-level semantic deltas. */
141
186
  modules: z.array(ModuleBusinessSemanticsSchema).default([]),
142
- /** Provider-level semantic deltas. */
187
+ /** Provider-level semantic deltas — vendors a CUSTOMER connects their own account to. */
143
188
  providers: z.array(ProviderBusinessSemanticsSchema).default([]),
189
+ /**
190
+ * System-of-record semantic deltas — deployments the OPERATOR runs and this application reads
191
+ * with its own service identity. Separate from `providers` because they are separate things
192
+ * (#1049 D10), and an instance has no provider module to hang a provider specification family on.
193
+ */
194
+ systemsOfRecord: z.array(SystemOfRecordBusinessSemanticsSchema).default([]),
144
195
  /** Frontend-component-level semantic deltas. */
145
196
  frontendComponents: z.array(FrontendComponentBusinessSemanticsSchema).default([]),
146
197
  });
@@ -1 +1 @@
1
- {"version":3,"file":"business-semantics.specifications.schemas.js","sourceRoot":"","sources":["../../../../src/_core/business-semantics.specifications.schemas.ts"],"names":[],"mappings":"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","sourcesContent":["import { z } from 'zod';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Versioning for the specification payload format itself.\n *\n * This is not the application version or the package version. It only describes\n * the shape/meaning of the specification snapshot contract so consumers can\n * evolve the format in explicit steps later.\n */\nexport enum BusinessSemanticsVersion {\n V1 = 'v1',\n}\n\n/**\n * Declares which high-level distribution lane produced the specification payload.\n *\n * The same conceptual model can come from two different sources:\n * - application-authored specification sidecars, near the app code\n * - framework knowledge artifacts, published by the framework itself\n *\n * Keeping the lane explicit matters because loading, trust boundaries, and\n * update workflows are not identical between those two sources.\n */\nexport enum BusinessSemanticsLane {\n APPLICATION = 'application',\n FRAMEWORK_KNOWLEDGE = 'framework-knowledge',\n}\n\n\n/**\n * Minimal provenance attached to a specification snapshot.\n *\n * Intentionally small. The specification layer should expose where the\n * payload comes from at a package/lane level, but should not drag low-value\n * extraction noise such as file paths or line ranges into the payload.\n */\nexport const BusinessSemanticsSourceSchema = z.object({\n /** Package that authored or emitted this specification payload. */\n packageName: NonEmptyStringSchema,\n /** High-level publication/loading lane for the payload. */\n lane: z.enum(BusinessSemanticsLane),\n});\nexport type BusinessSemanticsSource = z.infer<typeof BusinessSemanticsSourceSchema>;\n\n/**\n * Semantic delta for one module.\n *\n * A module entry answers the macro questions:\n * - why does this module exist?\n * - what capability does it provide?\n * - which resources are core vs supporting?\n *\n * It should not restate raw registry/config data unless that relationship adds\n * business meaning.\n */\nexport const ModuleBusinessSemanticsSchema = z.object({\n /** Module id used by the shared module registry. Named `relatedModuleId` to\n * avoid confusion with the runtime `SharedSaaSModule.moduleId`. */\n relatedModuleId: NonEmptyStringSchema,\n /** Plain-language explanation of why the module exists. */\n purpose: NonEmptyStringSchema,\n /** Business capability delivered by this module. */\n businessCapability: NonEmptyStringSchema,\n /** Optional larger business domain or bounded-context label. */\n businessDomain: NonEmptyStringSchema.optional(),\n /** Human/business actors primarily interacting with this module. */\n primaryActors: z.array(NonEmptyStringSchema).default([]),\n /** Resource types that form the semantic center of the module. */\n mainResources: z.array(NonEmptyStringSchema).default([]),\n /** Resource types that support the module without being its main center. */\n supportingResources: z.array(NonEmptyStringSchema).default([]),\n /** Named integration surfaces this module meaningfully participates in. */\n integrationSurfaces: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ModuleBusinessSemantics = z.infer<typeof ModuleBusinessSemanticsSchema>;\n\n/**\n * Semantic delta for an external/provider capability.\n *\n * Provider semantics are about business usage posture, not provider config\n * shape. This is where we say when a provider is valuable, when it should be\n * avoided, and what external/customer-facing effects matter.\n */\nexport const ProviderBusinessSemanticsSchema = z.object({\n /** Stable provider identifier used by the platform/application. */\n providerId: NonEmptyStringSchema,\n /** Why this provider is integrated at all. */\n purpose: NonEmptyStringSchema,\n /** Business capability unlocked by the provider. */\n businessCapability: NonEmptyStringSchema,\n /** Situations where the provider is a good choice. */\n usageWhen: NonEmptyStringSchema.optional(),\n /** Situations where another provider/path should be preferred. */\n avoidWhen: NonEmptyStringSchema.optional(),\n /** Non-obvious constraints an AI builder should keep in mind. */\n constraints: z.array(NonEmptyStringSchema).default([]),\n /** Effects that are visible to customers/end users or business operators. */\n customerVisibleEffects: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ProviderBusinessSemantics = z.infer<typeof ProviderBusinessSemanticsSchema>;\n\n/**\n * Semantic delta for a frontend component or frontend-facing authored surface.\n *\n * This is not a visual token/config model. It explains the role a component\n * plays in authoring and UX so the AI can choose the right component for the\n * right reason.\n */\nexport const FrontendComponentBusinessSemanticsSchema = z.object({\n /** Stable component identifier in the companion-facing vocabulary. */\n componentId: NonEmptyStringSchema,\n /** Why the component exists from a product/authoring point of view. */\n purpose: NonEmptyStringSchema,\n /** UI/interaction role the component plays. */\n uiRole: NonEmptyStringSchema,\n /** Situations where the component is the recommended choice. */\n useWhen: NonEmptyStringSchema.optional(),\n /** Situations where another component/pattern should be preferred. */\n avoidWhen: NonEmptyStringSchema.optional(),\n /** Translation/i18n role carried by the component if relevant. */\n translationRole: NonEmptyStringSchema.optional(),\n /** Additional authoring guidance for AI/app developers. */\n authoringNotes: z.array(NonEmptyStringSchema).default([]),\n /** Notes about how this component composes with surrounding surfaces. */\n compositionNotes: z.array(NonEmptyStringSchema).default([]),\n});\nexport type FrontendComponentBusinessSemantics = z.infer<typeof FrontendComponentBusinessSemanticsSchema>;\n\n/**\n * Business semantics specification snapshot.\n *\n * This stays JSON-safe and deliberately small: it carries semantic delta only,\n * while structural truth remains in schema/config/runtime contracts.\n *\n * The snapshot is the assembled payload exchanged with consumers (companion,\n * API doc generators, marketing tools, quality testing, etc.).\n * It is intentionally grouped by semantic owner family instead of forcing every\n * concept into one giant generic descriptor object.\n *\n * Resource-level semantic authoring no longer lives here. Resource semantics\n * now belong to dedicated resource-specification registries/factories, which\n * the companion consumes separately from this business-semantics snapshot lane.\n */\nexport const BusinessSemanticsSnapshotSchema = z.object({\n /** Format version for the snapshot contract. */\n version: z.enum(BusinessSemanticsVersion).default(BusinessSemanticsVersion.V1),\n /** Minimal provenance about where the payload came from. */\n source: BusinessSemanticsSourceSchema,\n /** Module-level semantic deltas. */\n modules: z.array(ModuleBusinessSemanticsSchema).default([]),\n /** Provider-level semantic deltas. */\n providers: z.array(ProviderBusinessSemanticsSchema).default([]),\n /** Frontend-component-level semantic deltas. */\n frontendComponents: z.array(FrontendComponentBusinessSemanticsSchema).default([]),\n});\nexport type BusinessSemanticsSnapshot = z.infer<typeof BusinessSemanticsSnapshotSchema>;\n"]}
1
+ {"version":3,"file":"business-semantics.specifications.schemas.js","sourceRoot":"","sources":["../../../../src/_core/business-semantics.specifications.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAClC,qCAAS,CAAA;AACX,CAAC,EAFW,wBAAwB,KAAxB,wBAAwB,QAEnC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,oDAA2B,CAAA;IAC3B,oEAA2C,CAAA;AAC7C,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC;AAGD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,mEAAmE;IACnE,WAAW,EAAE,oBAAoB;IACjC,2DAA2D;IAC3D,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;CACpC,CAAC,CAAC;AAGH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD;wEACoE;IACpE,eAAe,EAAE,oBAAoB;IACrC,2DAA2D;IAC3D,OAAO,EAAE,oBAAoB;IAC7B,oDAAoD;IACpD,kBAAkB,EAAE,oBAAoB;IACxC,gEAAgE;IAChE,cAAc,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC/C,oEAAoE;IACpE,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACxD,kEAAkE;IAClE,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACxD,4EAA4E;IAC5E,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9D,2EAA2E;IAC3E,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC/D,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,mEAAmE;IACnE,UAAU,EAAE,oBAAoB;IAChC,8CAA8C;IAC9C,OAAO,EAAE,oBAAoB;IAC7B,oDAAoD;IACpD,kBAAkB,EAAE,oBAAoB;IACxC,sDAAsD;IACtD,SAAS,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC1C,kEAAkE;IAClE,SAAS,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC1C,iEAAiE;IACjE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACtD,6EAA6E;IAC7E,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAClE,CAAC,CAAC;AAGH;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5D;;;;;OAKG;IACH,UAAU,EAAE,oBAAoB;IAChC,qFAAqF;IACrF,OAAO,EAAE,oBAAoB;IAC7B,+DAA+D;IAC/D,kBAAkB,EAAE,oBAAoB;IACxC;;;OAGG;IACH,gBAAgB,EAAE,oBAAoB;IACtC;;;;OAIG;IACH,YAAY,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC7C,+FAA+F;IAC/F,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACtD,qEAAqE;IACrE,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAClE,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/D,sEAAsE;IACtE,WAAW,EAAE,oBAAoB;IACjC,uEAAuE;IACvE,OAAO,EAAE,oBAAoB;IAC7B,+CAA+C;IAC/C,MAAM,EAAE,oBAAoB;IAC5B,gEAAgE;IAChE,OAAO,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACxC,sEAAsE;IACtE,SAAS,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC1C,kEAAkE;IAClE,eAAe,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAChD,2DAA2D;IAC3D,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACzD,yEAAyE;IACzE,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC5D,CAAC,CAAC;AAGH;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,gDAAgD;IAChD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC,EAAE,CAAC;IAC9E,4DAA4D;IAC5D,MAAM,EAAE,6BAA6B;IACrC,oCAAoC;IACpC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC3D,yFAAyF;IACzF,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC/D;;;;OAIG;IACH,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC3E,gDAAgD;IAChD,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAClF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Versioning for the specification payload format itself.\n *\n * This is not the application version or the package version. It only describes\n * the shape/meaning of the specification snapshot contract so consumers can\n * evolve the format in explicit steps later.\n */\nexport enum BusinessSemanticsVersion {\n V1 = 'v1',\n}\n\n/**\n * Declares which high-level distribution lane produced the specification payload.\n *\n * The same conceptual model can come from two different sources:\n * - application-authored specification sidecars, near the app code\n * - framework knowledge artifacts, published by the framework itself\n *\n * Keeping the lane explicit matters because loading, trust boundaries, and\n * update workflows are not identical between those two sources.\n */\nexport enum BusinessSemanticsLane {\n APPLICATION = 'application',\n FRAMEWORK_KNOWLEDGE = 'framework-knowledge',\n}\n\n\n/**\n * Minimal provenance attached to a specification snapshot.\n *\n * Intentionally small. The specification layer should expose where the\n * payload comes from at a package/lane level, but should not drag low-value\n * extraction noise such as file paths or line ranges into the payload.\n */\nexport const BusinessSemanticsSourceSchema = z.object({\n /** Package that authored or emitted this specification payload. */\n packageName: NonEmptyStringSchema,\n /** High-level publication/loading lane for the payload. */\n lane: z.enum(BusinessSemanticsLane),\n});\nexport type BusinessSemanticsSource = z.infer<typeof BusinessSemanticsSourceSchema>;\n\n/**\n * Semantic delta for one module.\n *\n * A module entry answers the macro questions:\n * - why does this module exist?\n * - what capability does it provide?\n * - which resources are core vs supporting?\n *\n * It should not restate raw registry/config data unless that relationship adds\n * business meaning.\n */\nexport const ModuleBusinessSemanticsSchema = z.object({\n /** Module id used by the shared module registry. Named `relatedModuleId` to\n * avoid confusion with the runtime `SharedSaaSModule.moduleId`. */\n relatedModuleId: NonEmptyStringSchema,\n /** Plain-language explanation of why the module exists. */\n purpose: NonEmptyStringSchema,\n /** Business capability delivered by this module. */\n businessCapability: NonEmptyStringSchema,\n /** Optional larger business domain or bounded-context label. */\n businessDomain: NonEmptyStringSchema.optional(),\n /** Human/business actors primarily interacting with this module. */\n primaryActors: z.array(NonEmptyStringSchema).default([]),\n /** Resource types that form the semantic center of the module. */\n mainResources: z.array(NonEmptyStringSchema).default([]),\n /** Resource types that support the module without being its main center. */\n supportingResources: z.array(NonEmptyStringSchema).default([]),\n /** Named integration surfaces this module meaningfully participates in. */\n integrationSurfaces: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ModuleBusinessSemantics = z.infer<typeof ModuleBusinessSemanticsSchema>;\n\n/**\n * Semantic delta for an external/provider capability.\n *\n * Provider semantics are about business usage posture, not provider config\n * shape. This is where we say when a provider is valuable, when it should be\n * avoided, and what external/customer-facing effects matter.\n */\nexport const ProviderBusinessSemanticsSchema = z.object({\n /** Stable provider identifier used by the platform/application. */\n providerId: NonEmptyStringSchema,\n /** Why this provider is integrated at all. */\n purpose: NonEmptyStringSchema,\n /** Business capability unlocked by the provider. */\n businessCapability: NonEmptyStringSchema,\n /** Situations where the provider is a good choice. */\n usageWhen: NonEmptyStringSchema.optional(),\n /** Situations where another provider/path should be preferred. */\n avoidWhen: NonEmptyStringSchema.optional(),\n /** Non-obvious constraints an AI builder should keep in mind. */\n constraints: z.array(NonEmptyStringSchema).default([]),\n /** Effects that are visible to customers/end users or business operators. */\n customerVisibleEffects: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ProviderBusinessSemantics = z.infer<typeof ProviderBusinessSemanticsSchema>;\n\n/**\n * Semantic delta for one declared SYSTEM OF RECORD instance.\n *\n * A system of record is a deployment the OPERATOR runs and the application reads with its own\n * service identity — the company's own Odoo, ERP, ledger or warehouse. It is not a provider: a\n * provider is a vendor a CUSTOMER may connect their own account to, and the two share no runtime\n * object, stored row, route, secret name or audit subject (#1049 D10). The two schemas sit beside\n * each other here on purpose, so that distinction is visible in the one place a reader compares\n * them.\n *\n * What belongs here is what the DECLARATION cannot say. The instance's vendor, dialect, credential\n * kind, address slots and the resources that bind it are all structural and are read from\n * `wildo.saas.config.ts` and the resource configurations; restating any of them here would be a\n * second copy that drifts. What no structure carries is WHY the application reads someone else's\n * deployment at all, who inside the operator's business maintains the data, and what the operator\n * therefore must never edit in this application.\n */\nexport const SystemOfRecordBusinessSemanticsSchema = z.object({\n /**\n * The declared instance NAME — the key under `systemsOfRecord` in `wildo.saas.config.ts`, and the\n * value a resource's `httpApiBinding.system` names. Two instances of one vendor (`odoo-fr`,\n * `odoo-de`) are two entries here, because they are two deployments with two sets of contents and\n * two business owners, even though they speak the same dialect.\n */\n systemName: NonEmptyStringSchema,\n /** Why the application reads this deployment rather than holding the data itself. */\n purpose: NonEmptyStringSchema,\n /** Business capability the application gains by reading it. */\n businessCapability: NonEmptyStringSchema,\n /**\n * What this system — not the application — is the authority for. The sentence an operator should\n * be able to read and recognise as the reason a field is not editable here.\n */\n authoritativeFor: NonEmptyStringSchema,\n /**\n * Who inside the operator's business maintains the data in that system (finance, HR, the\n * warehouse team). This is the party a wrong value is reported to, and it is knowable to nobody\n * but the operator — no declaration carries it.\n */\n maintainedBy: NonEmptyStringSchema.optional(),\n /** Non-obvious constraints an AI builder should keep in mind when binding a resource to it. */\n constraints: z.array(NonEmptyStringSchema).default([]),\n /** Effects visible to customers, end users or business operators. */\n customerVisibleEffects: z.array(NonEmptyStringSchema).default([]),\n});\nexport type SystemOfRecordBusinessSemantics = z.infer<typeof SystemOfRecordBusinessSemanticsSchema>;\n\n/**\n * Semantic delta for a frontend component or frontend-facing authored surface.\n *\n * This is not a visual token/config model. It explains the role a component\n * plays in authoring and UX so the AI can choose the right component for the\n * right reason.\n */\nexport const FrontendComponentBusinessSemanticsSchema = z.object({\n /** Stable component identifier in the companion-facing vocabulary. */\n componentId: NonEmptyStringSchema,\n /** Why the component exists from a product/authoring point of view. */\n purpose: NonEmptyStringSchema,\n /** UI/interaction role the component plays. */\n uiRole: NonEmptyStringSchema,\n /** Situations where the component is the recommended choice. */\n useWhen: NonEmptyStringSchema.optional(),\n /** Situations where another component/pattern should be preferred. */\n avoidWhen: NonEmptyStringSchema.optional(),\n /** Translation/i18n role carried by the component if relevant. */\n translationRole: NonEmptyStringSchema.optional(),\n /** Additional authoring guidance for AI/app developers. */\n authoringNotes: z.array(NonEmptyStringSchema).default([]),\n /** Notes about how this component composes with surrounding surfaces. */\n compositionNotes: z.array(NonEmptyStringSchema).default([]),\n});\nexport type FrontendComponentBusinessSemantics = z.infer<typeof FrontendComponentBusinessSemanticsSchema>;\n\n/**\n * Business semantics specification snapshot.\n *\n * This stays JSON-safe and deliberately small: it carries semantic delta only,\n * while structural truth remains in schema/config/runtime contracts.\n *\n * The snapshot is the assembled payload exchanged with consumers (companion,\n * API doc generators, marketing tools, quality testing, etc.).\n * It is intentionally grouped by semantic owner family instead of forcing every\n * concept into one giant generic descriptor object.\n *\n * Resource-level semantic authoring no longer lives here. Resource semantics\n * now belong to dedicated resource-specification registries/factories, which\n * the companion consumes separately from this business-semantics snapshot lane.\n */\nexport const BusinessSemanticsSnapshotSchema = z.object({\n /** Format version for the snapshot contract. */\n version: z.enum(BusinessSemanticsVersion).default(BusinessSemanticsVersion.V1),\n /** Minimal provenance about where the payload came from. */\n source: BusinessSemanticsSourceSchema,\n /** Module-level semantic deltas. */\n modules: z.array(ModuleBusinessSemanticsSchema).default([]),\n /** Provider-level semantic deltas — vendors a CUSTOMER connects their own account to. */\n providers: z.array(ProviderBusinessSemanticsSchema).default([]),\n /**\n * System-of-record semantic deltas — deployments the OPERATOR runs and this application reads\n * with its own service identity. Separate from `providers` because they are separate things\n * (#1049 D10), and an instance has no provider module to hang a provider specification family on.\n */\n systemsOfRecord: z.array(SystemOfRecordBusinessSemanticsSchema).default([]),\n /** Frontend-component-level semantic deltas. */\n frontendComponents: z.array(FrontendComponentBusinessSemanticsSchema).default([]),\n});\nexport type BusinessSemanticsSnapshot = z.infer<typeof BusinessSemanticsSnapshotSchema>;\n"]}
@@ -0,0 +1,22 @@
1
+ import { CompositionScenarioRef, type CapabilityComposition } from './capability-composition.schemas';
2
+ /** Deterministic finding over a capability composition; coherence beyond structural validity. */
3
+ export declare enum CapabilityCompositionFindingCode {
4
+ /** A scenario the framework ships that the composition never decided about — the record is not total. */
5
+ SCENARIO_NOT_DECIDED = "SCENARIO_NOT_DECIDED",
6
+ /** One scenario decided twice; the two decisions could contradict each other. */
7
+ DUPLICATE_SCENARIO_DECISION = "DUPLICATE_SCENARIO_DECISION",
8
+ /** A disposition whose basis says something else — OWNED without an owner, DECLINED on a basis that implies need. */
9
+ DISPOSITION_BASIS_MISMATCH = "DISPOSITION_BASIS_MISMATCH"
10
+ }
11
+ export interface CapabilityCompositionFinding {
12
+ readonly code: CapabilityCompositionFindingCode;
13
+ readonly scenarioRef: CompositionScenarioRef | null;
14
+ readonly message: string;
15
+ }
16
+ /**
17
+ * Every finding over a composition. Total over {@link CompositionScenarioRef}: a scenario the framework
18
+ * ships and the record never decided about is reported by name, which is what makes the record a
19
+ * measurement rather than a list.
20
+ */
21
+ export declare function validateCapabilityComposition(composition: CapabilityComposition): readonly CapabilityCompositionFinding[];
22
+ //# sourceMappingURL=capability-composition-validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capability-composition-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,sBAAsB,EACtB,KAAK,qBAAqB,EAC3B,MAAM,kCAAkC,CAAC;AAE1C,iGAAiG;AACjG,oBAAY,gCAAgC;IAC1C,yGAAyG;IACzG,oBAAoB,yBAAyB;IAC7C,iFAAiF;IACjF,2BAA2B,gCAAgC;IAC3D,qHAAqH;IACrH,0BAA0B,+BAA+B;CAC1D;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,IAAI,EAAE,gCAAgC,CAAC;IAChD,QAAQ,CAAC,WAAW,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACpD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAiBD;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,qBAAqB,GAAG,SAAS,4BAA4B,EAAE,CAyDzH"}
@@ -0,0 +1,89 @@
1
+ import { CompositionBasis, CompositionDisposition, CompositionScenarioRef, } from './capability-composition.schemas.js';
2
+ /** Deterministic finding over a capability composition; coherence beyond structural validity. */
3
+ export var CapabilityCompositionFindingCode;
4
+ (function (CapabilityCompositionFindingCode) {
5
+ /** A scenario the framework ships that the composition never decided about — the record is not total. */
6
+ CapabilityCompositionFindingCode["SCENARIO_NOT_DECIDED"] = "SCENARIO_NOT_DECIDED";
7
+ /** One scenario decided twice; the two decisions could contradict each other. */
8
+ CapabilityCompositionFindingCode["DUPLICATE_SCENARIO_DECISION"] = "DUPLICATE_SCENARIO_DECISION";
9
+ /** A disposition whose basis says something else — OWNED without an owner, DECLINED on a basis that implies need. */
10
+ CapabilityCompositionFindingCode["DISPOSITION_BASIS_MISMATCH"] = "DISPOSITION_BASIS_MISMATCH";
11
+ })(CapabilityCompositionFindingCode || (CapabilityCompositionFindingCode = {}));
12
+ /** The bases that mean "another step owns it" — the only ones an OWNED_BY_ANOTHER_STEP decision may carry. */
13
+ const OWNERSHIP_BASES = new Set([
14
+ CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES,
15
+ CompositionBasis.BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS,
16
+ CompositionBasis.PROVIDER_DECISION_OWNS_PROVIDERS,
17
+ CompositionBasis.DEPLOYMENT_OWNS_ENVIRONMENTS,
18
+ CompositionBasis.INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS,
19
+ ]);
20
+ /** The bases that mean "declined" — the only ones a DECLINED decision may carry. */
21
+ const DECLINE_BASES = new Set([
22
+ CompositionBasis.NO_DECLARATION_IMPLIES_IT,
23
+ CompositionBasis.NO_DECLARATION_DECIDES_IT,
24
+ ]);
25
+ /**
26
+ * Every finding over a composition. Total over {@link CompositionScenarioRef}: a scenario the framework
27
+ * ships and the record never decided about is reported by name, which is what makes the record a
28
+ * measurement rather than a list.
29
+ */
30
+ export function validateCapabilityComposition(composition) {
31
+ const findings = [];
32
+ const seen = new Set();
33
+ for (const decision of composition.scenarioDecisions) {
34
+ if (seen.has(decision.scenarioRef)) {
35
+ findings.push({
36
+ code: CapabilityCompositionFindingCode.DUPLICATE_SCENARIO_DECISION,
37
+ scenarioRef: decision.scenarioRef,
38
+ message: `${decision.scenarioRef} is decided more than once.`,
39
+ });
40
+ }
41
+ seen.add(decision.scenarioRef);
42
+ const ownershipBasis = OWNERSHIP_BASES.has(decision.basis);
43
+ const declineBasis = DECLINE_BASES.has(decision.basis);
44
+ switch (decision.disposition) {
45
+ case CompositionDisposition.OWNED_BY_ANOTHER_STEP:
46
+ if (!ownershipBasis || decision.ownedBy === undefined) {
47
+ findings.push({
48
+ code: CapabilityCompositionFindingCode.DISPOSITION_BASIS_MISMATCH,
49
+ scenarioRef: decision.scenarioRef,
50
+ message: `${decision.scenarioRef} is OWNED_BY_ANOTHER_STEP but ${ownershipBasis ? 'names no owner' : `carries basis ${decision.basis}, which names no owner`}.`,
51
+ });
52
+ }
53
+ break;
54
+ case CompositionDisposition.DECLINED:
55
+ if (!declineBasis || (decision.basis === CompositionBasis.NO_DECLARATION_DECIDES_IT && decision.missingDeclaration === undefined)) {
56
+ findings.push({
57
+ code: CapabilityCompositionFindingCode.DISPOSITION_BASIS_MISMATCH,
58
+ scenarioRef: decision.scenarioRef,
59
+ message: `${decision.scenarioRef} is DECLINED but ${declineBasis ? 'names no missing declaration' : `carries basis ${decision.basis}, which implies a need`}.`,
60
+ });
61
+ }
62
+ break;
63
+ case CompositionDisposition.NEEDED:
64
+ if (ownershipBasis || declineBasis) {
65
+ findings.push({
66
+ code: CapabilityCompositionFindingCode.DISPOSITION_BASIS_MISMATCH,
67
+ scenarioRef: decision.scenarioRef,
68
+ message: `${decision.scenarioRef} is NEEDED on basis ${decision.basis}, which does not name a declaration implying it.`,
69
+ });
70
+ }
71
+ break;
72
+ default: {
73
+ const unhandled = decision.disposition;
74
+ throw new Error(`Unhandled composition disposition ${String(unhandled)}.`);
75
+ }
76
+ }
77
+ }
78
+ for (const scenarioRef of Object.values(CompositionScenarioRef)) {
79
+ if (seen.has(scenarioRef))
80
+ continue;
81
+ findings.push({
82
+ code: CapabilityCompositionFindingCode.SCENARIO_NOT_DECIDED,
83
+ scenarioRef,
84
+ message: `${scenarioRef} is a scenario the framework ships and this composition never decided about it.`,
85
+ });
86
+ }
87
+ return findings;
88
+ }
89
+ //# sourceMappingURL=capability-composition-validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capability-composition-validation.js","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition-validation.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n CompositionBasis,\n CompositionDisposition,\n CompositionScenarioRef,\n type CapabilityComposition,\n} from './capability-composition.schemas';\n\n/** Deterministic finding over a capability composition; coherence beyond structural validity. */\nexport enum CapabilityCompositionFindingCode {\n /** A scenario the framework ships that the composition never decided about — the record is not total. */\n SCENARIO_NOT_DECIDED = 'SCENARIO_NOT_DECIDED',\n /** One scenario decided twice; the two decisions could contradict each other. */\n DUPLICATE_SCENARIO_DECISION = 'DUPLICATE_SCENARIO_DECISION',\n /** A disposition whose basis says something else — OWNED without an owner, DECLINED on a basis that implies need. */\n DISPOSITION_BASIS_MISMATCH = 'DISPOSITION_BASIS_MISMATCH',\n}\n\nexport interface CapabilityCompositionFinding {\n readonly code: CapabilityCompositionFindingCode;\n readonly scenarioRef: CompositionScenarioRef | null;\n readonly message: string;\n}\n\n/** The bases that mean \"another step owns it\" — the only ones an OWNED_BY_ANOTHER_STEP decision may carry. */\nconst OWNERSHIP_BASES: ReadonlySet<CompositionBasis> = new Set([\n CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES,\n CompositionBasis.BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS,\n CompositionBasis.PROVIDER_DECISION_OWNS_PROVIDERS,\n CompositionBasis.DEPLOYMENT_OWNS_ENVIRONMENTS,\n CompositionBasis.INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS,\n]);\n\n/** The bases that mean \"declined\" — the only ones a DECLINED decision may carry. */\nconst DECLINE_BASES: ReadonlySet<CompositionBasis> = new Set([\n CompositionBasis.NO_DECLARATION_IMPLIES_IT,\n CompositionBasis.NO_DECLARATION_DECIDES_IT,\n]);\n\n/**\n * Every finding over a composition. Total over {@link CompositionScenarioRef}: a scenario the framework\n * ships and the record never decided about is reported by name, which is what makes the record a\n * measurement rather than a list.\n */\nexport function validateCapabilityComposition(composition: CapabilityComposition): readonly CapabilityCompositionFinding[] {\n const findings: CapabilityCompositionFinding[] = [];\n const seen = new Set<CompositionScenarioRef>();\n for (const decision of composition.scenarioDecisions) {\n if (seen.has(decision.scenarioRef)) {\n findings.push({\n code: CapabilityCompositionFindingCode.DUPLICATE_SCENARIO_DECISION,\n scenarioRef: decision.scenarioRef,\n message: `${decision.scenarioRef} is decided more than once.`,\n });\n }\n seen.add(decision.scenarioRef);\n const ownershipBasis = OWNERSHIP_BASES.has(decision.basis);\n const declineBasis = DECLINE_BASES.has(decision.basis);\n switch (decision.disposition) {\n case CompositionDisposition.OWNED_BY_ANOTHER_STEP:\n if (!ownershipBasis || decision.ownedBy === undefined) {\n findings.push({\n code: CapabilityCompositionFindingCode.DISPOSITION_BASIS_MISMATCH,\n scenarioRef: decision.scenarioRef,\n message: `${decision.scenarioRef} is OWNED_BY_ANOTHER_STEP but ${ownershipBasis ? 'names no owner' : `carries basis ${decision.basis}, which names no owner`}.`,\n });\n }\n break;\n case CompositionDisposition.DECLINED:\n if (!declineBasis || (decision.basis === CompositionBasis.NO_DECLARATION_DECIDES_IT && decision.missingDeclaration === undefined)) {\n findings.push({\n code: CapabilityCompositionFindingCode.DISPOSITION_BASIS_MISMATCH,\n scenarioRef: decision.scenarioRef,\n message: `${decision.scenarioRef} is DECLINED but ${declineBasis ? 'names no missing declaration' : `carries basis ${decision.basis}, which implies a need`}.`,\n });\n }\n break;\n case CompositionDisposition.NEEDED:\n if (ownershipBasis || declineBasis) {\n findings.push({\n code: CapabilityCompositionFindingCode.DISPOSITION_BASIS_MISMATCH,\n scenarioRef: decision.scenarioRef,\n message: `${decision.scenarioRef} is NEEDED on basis ${decision.basis}, which does not name a declaration implying it.`,\n });\n }\n break;\n default: {\n const unhandled: never = decision.disposition;\n throw new Error(`Unhandled composition disposition ${String(unhandled)}.`);\n }\n }\n }\n for (const scenarioRef of Object.values(CompositionScenarioRef)) {\n if (seen.has(scenarioRef)) continue;\n findings.push({\n code: CapabilityCompositionFindingCode.SCENARIO_NOT_DECIDED,\n scenarioRef,\n message: `${scenarioRef} is a scenario the framework ships and this composition never decided about it.`,\n });\n }\n return findings;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { FamilyAspectsDeclaration } from '../family-aspects.schemas';
2
+ export declare const CAPABILITY_COMPOSITION_FAMILY_ASPECTS: FamilyAspectsDeclaration;
3
+ //# sourceMappingURL=capability-composition.family-aspects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capability-composition.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,qCAAqC,EAAE,wBAqBnD,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas.js';
2
+ import { FamilyAspectKind } from '../family-aspects.schemas.js';
3
+ import { CompositionDecisionSchema } from './capability-composition.schemas.js';
4
+ export const CAPABILITY_COMPOSITION_FAMILY_ASPECTS = {
5
+ schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.CAPABILITY_COMPOSITION,
6
+ aspects: [
7
+ {
8
+ key: 'capability-composition.decision',
9
+ snapshotPath: 'scenarioDecisions',
10
+ kind: FamilyAspectKind.COLLECTION,
11
+ itemSchema: CompositionDecisionSchema,
12
+ businessKey: 'scenarioRef',
13
+ headlineField: 'detail',
14
+ /*
15
+ * No edges: a decision names a SCENARIO (a framework template, not a decided element) and its
16
+ * basis names a family in prose. The families it was derived from are declared on the producing
17
+ * playbook's `inputs`, which is where derived-staleness reads them (#1491).
18
+ */
19
+ edges: [],
20
+ nonEdgeRefFields: {
21
+ ownedBy: 'the step that applies the scenario — a playbook or executor, not a decided element',
22
+ },
23
+ },
24
+ ],
25
+ };
26
+ //# sourceMappingURL=capability-composition.family-aspects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capability-composition.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,MAAM,CAAC,MAAM,qCAAqC,GAA6B;IAC7E,SAAS,EAAE,+CAA+C,CAAC,sBAAsB;IACjF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,iCAAiC;YACtC,YAAY,EAAE,mBAAmB;YACjC,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,yBAAyB;YACrC,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,QAAQ;YACvB;;;;eAIG;YACH,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,OAAO,EAAE,oFAAoF;aAC9F;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { CompositionDecisionSchema } from './capability-composition.schemas';\n\nexport const CAPABILITY_COMPOSITION_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.CAPABILITY_COMPOSITION,\n aspects: [\n {\n key: 'capability-composition.decision',\n snapshotPath: 'scenarioDecisions',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: CompositionDecisionSchema,\n businessKey: 'scenarioRef',\n headlineField: 'detail',\n /*\n * No edges: a decision names a SCENARIO (a framework template, not a decided element) and its\n * basis names a family in prose. The families it was derived from are declared on the producing\n * playbook's `inputs`, which is where derived-staleness reads them (#1491).\n */\n edges: [],\n nonEdgeRefFields: {\n ownedBy: 'the step that applies the scenario — a playbook or executor, not a decided element',\n },\n },\n ],\n};\n"]}
@@ -0,0 +1,141 @@
1
+ import { z } from 'zod';
2
+ import '@wildo-ai/zod-decorators';
3
+ /**
4
+ * @wildo_source:part:start capability-composition.config facet:layer:specification facet:family:capability-composition
5
+ *
6
+ * WHICH composition scenarios this application needs — the typed declaration the foundation
7
+ * executor applies (#1491).
8
+ *
9
+ * ## Why a family, and why it is DERIVED
10
+ *
11
+ * `templates/saas/scenarios/` ships fourteen composition scenarios and the journey applied two of
12
+ * them (`add-module`, `add-resource`), both read off the domain plan. Nothing decided whether an
13
+ * application has a website, a documentation portal, a worker, a minion, a second locale or
14
+ * another environment, so twelve scenarios were reachable only by a human typing `wildo compose`.
15
+ *
16
+ * This family is that decision, recorded — and it is DERIVED, never asked. Every disposition below
17
+ * names the declaration it was read from (a market channel, a brand brief, a pricing plan, an ICP
18
+ * archetype) or names the typed declaration that would decide it and does not exist yet. A question
19
+ * to the creator is not among the bases, by construction: `derive-before-you-ask.md` asks what
20
+ * already decides a value, and for every scenario here something does — or nothing does, and the
21
+ * honest record is DECLINED with the missing declaration named, not a form field.
22
+ *
23
+ * TOTAL over {@link CompositionScenarioRef}: a composition holds exactly one decision per scenario,
24
+ * so a scenario added to the framework tomorrow is reported as undecided by every existing
25
+ * application rather than silently omitted (the `undeclaredRetentionClasses` pattern).
26
+ */
27
+ export declare enum CapabilityCompositionVersion {
28
+ V1 = "v1"
29
+ }
30
+ /**
31
+ * The composition scenarios the framework ships — one member per folder under
32
+ * `templates/saas/scenarios/`, in the value the `wildo compose <ref>` command takes.
33
+ *
34
+ * Closed on purpose: a scenario ref is the address of a template the composition engine loads, and a
35
+ * ref this vocabulary does not name is one no application can be composed with.
36
+ */
37
+ export declare enum CompositionScenarioRef {
38
+ ADD_MODULE = "add-module",
39
+ ADD_RESOURCE = "add-resource",
40
+ ADD_CUSTOM_OPERATION = "add-custom-operation",
41
+ ADD_WEBSITE = "add-website",
42
+ ADD_WEBSITE_SECTION = "add-website-section",
43
+ ADD_MARKETING_PAGE = "add-marketing-page",
44
+ ADD_TECHNICAL_DOC = "add-technical-doc",
45
+ ADD_MINION = "add-minion",
46
+ ADD_WORKER_NODE = "add-worker-node",
47
+ ADD_WORKER_RUST = "add-worker-rust",
48
+ ADD_PROVIDER = "add-provider",
49
+ ADD_FILE_PICKER_PROVIDER = "add-file-picker-provider",
50
+ ADD_ENVIRONMENT = "add-environment",
51
+ ADD_LOCALE = "add-locale"
52
+ }
53
+ /**
54
+ * What the composition says about one scenario.
55
+ *
56
+ * Three members, and the third is the one that keeps the record honest: several scenarios are
57
+ * applied by a DIFFERENT step (the domain composition applies `add-module`, a build task applies
58
+ * `add-website-section`, the provider decision applies `add-provider`). Recording them as DECLINED
59
+ * would read as "this application has no modules"; omitting them would break totality. So the
60
+ * record says who owns them instead.
61
+ */
62
+ export declare enum CompositionDisposition {
63
+ /** The application needs it; the foundation executor applies it. */
64
+ NEEDED = "NEEDED",
65
+ /** Nothing the application declares implies it, or no declaration exists that could — see the basis. */
66
+ DECLINED = "DECLINED",
67
+ /** Another step applies this scenario, named in `ownedBy`; this record only says so. */
68
+ OWNED_BY_ANOTHER_STEP = "OWNED_BY_ANOTHER_STEP"
69
+ }
70
+ /**
71
+ * WHAT decided a disposition — a closed vocabulary, because a composition decision is a statement
72
+ * about the product and a free-text reason cannot be checked. Every member names a DERIVATION from
73
+ * a declaration the application already carries, or names the absence of one.
74
+ */
75
+ export declare enum CompositionBasis {
76
+ /** The market snapshot declares an inbound web channel (organic or paid search, content, owned or paid social) — traffic that lands on a website. */
77
+ MARKET_DECLARES_INBOUND_WEB_CHANNEL = "MARKET_DECLARES_INBOUND_WEB_CHANNEL",
78
+ /** A brand brief has landed: the product has a public identity to present. */
79
+ BRAND_BRIEF_LANDED = "BRAND_BRIEF_LANDED",
80
+ /** The business model declares pricing plans, which a public pricing page presents. */
81
+ BUSINESS_MODEL_DECLARES_PRICING_PLANS = "BUSINESS_MODEL_DECLARES_PRICING_PLANS",
82
+ /** The market snapshot targets legal entities (a CORE or EXPANSION ICP of archetype LEGAL_ENTITY): an organisation's buyers expect administrator and integration documentation. */
83
+ MARKET_TARGETS_LEGAL_ENTITIES = "MARKET_TARGETS_LEGAL_ENTITIES",
84
+ /** The requirements declare a PORTABILITY non-functional requirement: data leaves through documented interfaces. */
85
+ REQUIREMENTS_DECLARE_PORTABILITY = "REQUIREMENTS_DECLARE_PORTABILITY",
86
+ /** The domain plan owns modules and resources; the foundation's domain composition applies them. */
87
+ DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES = "DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES",
88
+ /** A per-artifact scenario (an operation, a page, a section) is applied by the build task that produces the artifact. */
89
+ BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS = "BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS",
90
+ /** Which provider serves a capability is the foundation's provider decision, not a composition question. */
91
+ PROVIDER_DECISION_OWNS_PROVIDERS = "PROVIDER_DECISION_OWNS_PROVIDERS",
92
+ /** A deployment environment is an operator's act, taken when the application is deployed. */
93
+ DEPLOYMENT_OWNS_ENVIRONMENTS = "DEPLOYMENT_OWNS_ENVIRONMENTS",
94
+ /**
95
+ * The integration plan owns the workers and minions; the foundation composes one scenario per
96
+ * surface it declares (#1495). The application-level twin of
97
+ * {@link CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES}.
98
+ */
99
+ INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS = "INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS",
100
+ /** The declarations that could imply it are present and do not — measured, not assumed. */
101
+ NO_DECLARATION_IMPLIES_IT = "NO_DECLARATION_IMPLIES_IT",
102
+ /** No typed declaration exists yet that could decide it; `missingDeclaration` names the one that would. */
103
+ NO_DECLARATION_DECIDES_IT = "NO_DECLARATION_DECIDES_IT"
104
+ }
105
+ /** One scenario's decision, with the declaration it was read from. */
106
+ export declare const CompositionDecisionSchema: z.ZodObject<{
107
+ scenarioRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof CompositionScenarioRef>>;
108
+ disposition: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof CompositionDisposition>>;
109
+ basis: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof CompositionBasis>>;
110
+ /** The derivation in one sentence — which entries decided it, so a reader can check the claim against the family it names. */
111
+ detail: z.ZodString;
112
+ /** For OWNED_BY_ANOTHER_STEP: the step that applies it. */
113
+ ownedBy: z.ZodOptional<z.ZodString>;
114
+ /** For NO_DECLARATION_DECIDES_IT: the typed declaration that would decide it, so the gap is a named field rather than a question. */
115
+ missingDeclaration: z.ZodOptional<z.ZodString>;
116
+ }, z.core.$strict>;
117
+ export type CompositionDecision = z.infer<typeof CompositionDecisionSchema>;
118
+ /**
119
+ * THE capability-composition payload — one decision per scenario the framework ships.
120
+ *
121
+ * **Artifact-family id: `capability-composition`.** Produced by `bottom_up.capability-composition`
122
+ * (a runner-owned derivation, never a model), consumed by `bottom_up.foundation`, which applies the
123
+ * NEEDED scenarios and records each applied and each declined one with its basis.
124
+ */
125
+ export declare const CapabilityCompositionSchema: z.ZodObject<{
126
+ version: z.ZodDefault<z.ZodEnum<typeof CapabilityCompositionVersion>>;
127
+ scenarioDecisions: z.ZodArray<z.ZodObject<{
128
+ scenarioRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof CompositionScenarioRef>>;
129
+ disposition: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof CompositionDisposition>>;
130
+ basis: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof CompositionBasis>>;
131
+ /** The derivation in one sentence — which entries decided it, so a reader can check the claim against the family it names. */
132
+ detail: z.ZodString;
133
+ /** For OWNED_BY_ANOTHER_STEP: the step that applies it. */
134
+ ownedBy: z.ZodOptional<z.ZodString>;
135
+ /** For NO_DECLARATION_DECIDES_IT: the typed declaration that would decide it, so the gap is a named field rather than a question. */
136
+ missingDeclaration: z.ZodOptional<z.ZodString>;
137
+ }, z.core.$strict>>;
138
+ }, z.core.$strip>;
139
+ export type CapabilityComposition = z.infer<typeof CapabilityCompositionSchema>;
140
+ /** @wildo_source:part:end capability-composition.config */
141
+ //# sourceMappingURL=capability-composition.schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capability-composition.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,4BAA4B;IACtC,EAAE,OAAO;CACV;AAED;;;;;;GAMG;AACH,oBAAY,sBAAsB;IAChC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,oBAAoB,yBAAyB;IAC7C,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;IAC3C,kBAAkB,uBAAuB;IACzC,iBAAiB,sBAAsB;IACvC,UAAU,eAAe;IACzB,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,wBAAwB,6BAA6B;IACrD,eAAe,oBAAoB;IACnC,UAAU,eAAe;CAC1B;AAED;;;;;;;;GAQG;AACH,oBAAY,sBAAsB;IAChC,oEAAoE;IACpE,MAAM,WAAW;IACjB,wGAAwG;IACxG,QAAQ,aAAa;IACrB,wFAAwF;IACxF,qBAAqB,0BAA0B;CAChD;AAED;;;;GAIG;AACH,oBAAY,gBAAgB;IAC1B,qJAAqJ;IACrJ,mCAAmC,wCAAwC;IAC3E,8EAA8E;IAC9E,kBAAkB,uBAAuB;IACzC,uFAAuF;IACvF,qCAAqC,0CAA0C;IAC/E,mLAAmL;IACnL,6BAA6B,kCAAkC;IAC/D,oHAAoH;IACpH,gCAAgC,qCAAqC;IACrE,oGAAoG;IACpG,sCAAsC,2CAA2C;IACjF,yHAAyH;IACzH,sCAAsC,2CAA2C;IACjF,4GAA4G;IAC5G,gCAAgC,qCAAqC;IACrE,6FAA6F;IAC7F,4BAA4B,iCAAiC;IAC7D;;;;OAIG;IACH,yCAAyC,8CAA8C;IACvF,2FAA2F;IAC3F,yBAAyB,8BAA8B;IACvD,2GAA2G;IAC3G,yBAAyB,8BAA8B;CACxD;AAID,sEAAsE;AACtE,eAAO,MAAM,yBAAyB;;;;IAIpC,8HAA8H;;IAE9H,2DAA2D;;IAE3D,qIAAqI;;kBAErI,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B;;;;;;QAhBtC,8HAA8H;;QAE9H,2DAA2D;;QAE3D,qIAAqI;;;iBA0BrI,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,2DAA2D"}
@@ -0,0 +1,147 @@
1
+ import { z } from 'zod';
2
+ // Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —
3
+ // never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
4
+ import '@wildo-ai/zod-decorators';
5
+ /**
6
+ * @wildo_source:part:start capability-composition.config facet:layer:specification facet:family:capability-composition
7
+ *
8
+ * WHICH composition scenarios this application needs — the typed declaration the foundation
9
+ * executor applies (#1491).
10
+ *
11
+ * ## Why a family, and why it is DERIVED
12
+ *
13
+ * `templates/saas/scenarios/` ships fourteen composition scenarios and the journey applied two of
14
+ * them (`add-module`, `add-resource`), both read off the domain plan. Nothing decided whether an
15
+ * application has a website, a documentation portal, a worker, a minion, a second locale or
16
+ * another environment, so twelve scenarios were reachable only by a human typing `wildo compose`.
17
+ *
18
+ * This family is that decision, recorded — and it is DERIVED, never asked. Every disposition below
19
+ * names the declaration it was read from (a market channel, a brand brief, a pricing plan, an ICP
20
+ * archetype) or names the typed declaration that would decide it and does not exist yet. A question
21
+ * to the creator is not among the bases, by construction: `derive-before-you-ask.md` asks what
22
+ * already decides a value, and for every scenario here something does — or nothing does, and the
23
+ * honest record is DECLINED with the missing declaration named, not a form field.
24
+ *
25
+ * TOTAL over {@link CompositionScenarioRef}: a composition holds exactly one decision per scenario,
26
+ * so a scenario added to the framework tomorrow is reported as undecided by every existing
27
+ * application rather than silently omitted (the `undeclaredRetentionClasses` pattern).
28
+ */
29
+ export var CapabilityCompositionVersion;
30
+ (function (CapabilityCompositionVersion) {
31
+ CapabilityCompositionVersion["V1"] = "v1";
32
+ })(CapabilityCompositionVersion || (CapabilityCompositionVersion = {}));
33
+ /**
34
+ * The composition scenarios the framework ships — one member per folder under
35
+ * `templates/saas/scenarios/`, in the value the `wildo compose <ref>` command takes.
36
+ *
37
+ * Closed on purpose: a scenario ref is the address of a template the composition engine loads, and a
38
+ * ref this vocabulary does not name is one no application can be composed with.
39
+ */
40
+ export var CompositionScenarioRef;
41
+ (function (CompositionScenarioRef) {
42
+ CompositionScenarioRef["ADD_MODULE"] = "add-module";
43
+ CompositionScenarioRef["ADD_RESOURCE"] = "add-resource";
44
+ CompositionScenarioRef["ADD_CUSTOM_OPERATION"] = "add-custom-operation";
45
+ CompositionScenarioRef["ADD_WEBSITE"] = "add-website";
46
+ CompositionScenarioRef["ADD_WEBSITE_SECTION"] = "add-website-section";
47
+ CompositionScenarioRef["ADD_MARKETING_PAGE"] = "add-marketing-page";
48
+ CompositionScenarioRef["ADD_TECHNICAL_DOC"] = "add-technical-doc";
49
+ CompositionScenarioRef["ADD_MINION"] = "add-minion";
50
+ CompositionScenarioRef["ADD_WORKER_NODE"] = "add-worker-node";
51
+ CompositionScenarioRef["ADD_WORKER_RUST"] = "add-worker-rust";
52
+ CompositionScenarioRef["ADD_PROVIDER"] = "add-provider";
53
+ CompositionScenarioRef["ADD_FILE_PICKER_PROVIDER"] = "add-file-picker-provider";
54
+ CompositionScenarioRef["ADD_ENVIRONMENT"] = "add-environment";
55
+ CompositionScenarioRef["ADD_LOCALE"] = "add-locale";
56
+ })(CompositionScenarioRef || (CompositionScenarioRef = {}));
57
+ /**
58
+ * What the composition says about one scenario.
59
+ *
60
+ * Three members, and the third is the one that keeps the record honest: several scenarios are
61
+ * applied by a DIFFERENT step (the domain composition applies `add-module`, a build task applies
62
+ * `add-website-section`, the provider decision applies `add-provider`). Recording them as DECLINED
63
+ * would read as "this application has no modules"; omitting them would break totality. So the
64
+ * record says who owns them instead.
65
+ */
66
+ export var CompositionDisposition;
67
+ (function (CompositionDisposition) {
68
+ /** The application needs it; the foundation executor applies it. */
69
+ CompositionDisposition["NEEDED"] = "NEEDED";
70
+ /** Nothing the application declares implies it, or no declaration exists that could — see the basis. */
71
+ CompositionDisposition["DECLINED"] = "DECLINED";
72
+ /** Another step applies this scenario, named in `ownedBy`; this record only says so. */
73
+ CompositionDisposition["OWNED_BY_ANOTHER_STEP"] = "OWNED_BY_ANOTHER_STEP";
74
+ })(CompositionDisposition || (CompositionDisposition = {}));
75
+ /**
76
+ * WHAT decided a disposition — a closed vocabulary, because a composition decision is a statement
77
+ * about the product and a free-text reason cannot be checked. Every member names a DERIVATION from
78
+ * a declaration the application already carries, or names the absence of one.
79
+ */
80
+ export var CompositionBasis;
81
+ (function (CompositionBasis) {
82
+ /** The market snapshot declares an inbound web channel (organic or paid search, content, owned or paid social) — traffic that lands on a website. */
83
+ CompositionBasis["MARKET_DECLARES_INBOUND_WEB_CHANNEL"] = "MARKET_DECLARES_INBOUND_WEB_CHANNEL";
84
+ /** A brand brief has landed: the product has a public identity to present. */
85
+ CompositionBasis["BRAND_BRIEF_LANDED"] = "BRAND_BRIEF_LANDED";
86
+ /** The business model declares pricing plans, which a public pricing page presents. */
87
+ CompositionBasis["BUSINESS_MODEL_DECLARES_PRICING_PLANS"] = "BUSINESS_MODEL_DECLARES_PRICING_PLANS";
88
+ /** The market snapshot targets legal entities (a CORE or EXPANSION ICP of archetype LEGAL_ENTITY): an organisation's buyers expect administrator and integration documentation. */
89
+ CompositionBasis["MARKET_TARGETS_LEGAL_ENTITIES"] = "MARKET_TARGETS_LEGAL_ENTITIES";
90
+ /** The requirements declare a PORTABILITY non-functional requirement: data leaves through documented interfaces. */
91
+ CompositionBasis["REQUIREMENTS_DECLARE_PORTABILITY"] = "REQUIREMENTS_DECLARE_PORTABILITY";
92
+ /** The domain plan owns modules and resources; the foundation's domain composition applies them. */
93
+ CompositionBasis["DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES"] = "DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES";
94
+ /** A per-artifact scenario (an operation, a page, a section) is applied by the build task that produces the artifact. */
95
+ CompositionBasis["BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS"] = "BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS";
96
+ /** Which provider serves a capability is the foundation's provider decision, not a composition question. */
97
+ CompositionBasis["PROVIDER_DECISION_OWNS_PROVIDERS"] = "PROVIDER_DECISION_OWNS_PROVIDERS";
98
+ /** A deployment environment is an operator's act, taken when the application is deployed. */
99
+ CompositionBasis["DEPLOYMENT_OWNS_ENVIRONMENTS"] = "DEPLOYMENT_OWNS_ENVIRONMENTS";
100
+ /**
101
+ * The integration plan owns the workers and minions; the foundation composes one scenario per
102
+ * surface it declares (#1495). The application-level twin of
103
+ * {@link CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES}.
104
+ */
105
+ CompositionBasis["INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS"] = "INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS";
106
+ /** The declarations that could imply it are present and do not — measured, not assumed. */
107
+ CompositionBasis["NO_DECLARATION_IMPLIES_IT"] = "NO_DECLARATION_IMPLIES_IT";
108
+ /** No typed declaration exists yet that could decide it; `missingDeclaration` names the one that would. */
109
+ CompositionBasis["NO_DECLARATION_DECIDES_IT"] = "NO_DECLARATION_DECIDES_IT";
110
+ })(CompositionBasis || (CompositionBasis = {}));
111
+ const NonEmptyStringSchema = z.string().trim().min(1);
112
+ /** One scenario's decision, with the declaration it was read from. */
113
+ export const CompositionDecisionSchema = z.strictObject({
114
+ scenarioRef: z.enum(CompositionScenarioRef).systemEnum('CompositionScenarioRef'),
115
+ disposition: z.enum(CompositionDisposition).systemEnum('CompositionDisposition'),
116
+ basis: z.enum(CompositionBasis).systemEnum('CompositionBasis'),
117
+ /** The derivation in one sentence — which entries decided it, so a reader can check the claim against the family it names. */
118
+ detail: NonEmptyStringSchema,
119
+ /** For OWNED_BY_ANOTHER_STEP: the step that applies it. */
120
+ ownedBy: NonEmptyStringSchema.optional(),
121
+ /** For NO_DECLARATION_DECIDES_IT: the typed declaration that would decide it, so the gap is a named field rather than a question. */
122
+ missingDeclaration: NonEmptyStringSchema.optional(),
123
+ });
124
+ /**
125
+ * THE capability-composition payload — one decision per scenario the framework ships.
126
+ *
127
+ * **Artifact-family id: `capability-composition`.** Produced by `bottom_up.capability-composition`
128
+ * (a runner-owned derivation, never a model), consumed by `bottom_up.foundation`, which applies the
129
+ * NEEDED scenarios and records each applied and each declined one with its basis.
130
+ */
131
+ export const CapabilityCompositionSchema = z.object({
132
+ version: z.enum(CapabilityCompositionVersion).default(CapabilityCompositionVersion.V1),
133
+ /*
134
+ * `scenarioDecisions`, not `decisions`, and the reason is not style.
135
+ *
136
+ * The workbench's field words are ONE namespace keyed by the COLLECTION name — `tasks.objective`,
137
+ * `decisions.disposition` — shared across every family, because a field name declared by five
138
+ * aspects means the same thing in all five. The placement plan already owns `decisions`, and its
139
+ * `disposition` is `PLACED | DECLINED` while this one's is `NEEDED | DECLINED |
140
+ * OWNED_BY_ANOTHER_STEP`. Two different vocabularies under one key is exactly the merge this
141
+ * repository calls a trick, and the collision would have been silent: one family's words would
142
+ * simply have won.
143
+ */
144
+ scenarioDecisions: z.array(CompositionDecisionSchema).min(1),
145
+ });
146
+ /** @wildo_source:part:end capability-composition.config */
147
+ //# sourceMappingURL=capability-composition.schemas.js.map