@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
@@ -19,6 +19,10 @@ interface PublicCodeSymbolRef {
19
19
  interface CompositeViewDefinitionSpecRef {
20
20
  translationRef: string;
21
21
  sectionRefs?: string[];
22
+ /** The view's own declared label refs (`labels` on the authored definition). */
23
+ labels?: ReadonlyArray<{
24
+ ref: string;
25
+ }>;
22
26
  }
23
27
  /**
24
28
  * @wildo_source:part:start saas.specifications.composite-view-specification facet:layer:specification facet:family:views
@@ -50,6 +54,16 @@ export interface CompositeViewSpecificationConfig {
50
54
  textSlots?: TranslationSlotSpecificationMap;
51
55
  /** Meaning of each declared section inside the composite. */
52
56
  sections?: Record<string, StructuralTranslationSlotSpecification>;
57
+ /**
58
+ * Meaning of each label the view DECLARES for its own text (`labels` on the authored definition) —
59
+ * the captions, KPI names and failure sentences its component renders beyond the title,
60
+ * description and section headings.
61
+ *
62
+ * Keyed by the declared label ref. Without it the generator words a label from its bare ref, and
63
+ * a ref is an identifier, not a meaning: `stat_in_flight` was generated as "In progress" — the
64
+ * words of one status — for a tile that counts two. Validated like `sections`, both directions.
65
+ */
66
+ labels?: TranslationSlotSpecificationMap;
53
67
  /** Additional domain constraints that matter beyond raw runtime structure. */
54
68
  businessConstraints?: string[];
55
69
  /** Import-oriented coding/transposition metadata. */
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/composite-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EACV,sCAAsC,EACtC,+BAA+B,EAChC,MAAM,0CAA0C,CAAC;AAElD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAI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;AAED,wBAAgB,kCAAkC,CAChD,GAAG,cAAc,EAAE,gCAAgC,EAAE,GACpD,0BAA0B,CAa5B"}
1
+ {"version":3,"file":"composite-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/composite-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EACV,sCAAsC,EACtC,+BAA+B,EAChC,MAAM,0CAA0C,CAAC;AAElD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,8BAA8B;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,gFAAgF;IAChF,MAAM,CAAC,EAAE,aAAa,CAAC;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACrD,uDAAuD;IACvD,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,qFAAqF;IACrF,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,gCAAgC;IAC/C,sEAAsE;IACtE,cAAc,EAAE,MAAM,CAAC;IACvB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,sCAAsC,CAAC,CAAC;IAClE;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,+BAA+B,CAAC;IACzC,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,qDAAqD;IACrD,YAAY,CAAC,EAAE,sCAAsC,CAAC;CACvD;AAED,gFAAgF;AAChF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC;AAC1F,8EAA8E;AAE9E,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,gCAAgC,EAAE,gBAAgB,CAAC,CAAC;AAEvG,wBAAgB,wCAAwC,CACtD,cAAc,EAAE,8BAA8B,EAC9C,oBAAoB,EAAE,MAAM,+BAA+B,GAC1D,gCAAgC,CASlC;AAED,wBAAgB,kCAAkC,CAChD,GAAG,cAAc,EAAE,gCAAgC,EAAE,GACpD,0BAA0B,CAa5B"}
@@ -32,6 +32,19 @@ function validateCompositeViewSpecification(viewDefinition, specification) {
32
32
  throw new Error(`compositeViewSpecificationFromDefinition(): composite "${viewDefinition.translationRef}" declares section "${sectionRef}" in the authored view definition but the semantic specification does not document it.`);
33
33
  }
34
34
  }
35
+ const documentedLabelRefs = Object.keys(specification.labels ?? {});
36
+ const declaredLabelRefs = new Set((viewDefinition.labels ?? []).map((label) => label.ref));
37
+ for (const labelRef of documentedLabelRefs) {
38
+ if (!declaredLabelRefs.has(labelRef)) {
39
+ throw new Error(`compositeViewSpecificationFromDefinition(): composite "${viewDefinition.translationRef}" documents label "${labelRef}" but the authored view definition does not declare it, so nothing would ever read it.`);
40
+ }
41
+ }
42
+ for (const labelRef of declaredLabelRefs) {
43
+ if (!documentedLabelRefs.includes(labelRef)) {
44
+ throw new Error(`compositeViewSpecificationFromDefinition(): composite "${viewDefinition.translationRef}" declares label "${labelRef}" but the semantic specification does not document it, so its words would be generated from the bare ref.`);
45
+ }
46
+ }
47
+ validateRequiredTextSlots(`composite "${viewDefinition.translationRef}" labels`, specification.labels, [...declaredLabelRefs]);
35
48
  for (const [sectionRef, sectionSpecification] of Object.entries(specification.sections ?? {})) {
36
49
  validateRequiredTextSlots(`composite "${viewDefinition.translationRef}" section "${sectionRef}"`, sectionSpecification.textSlots, COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS);
37
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/composite-view-specification.schemas.ts"],"names":[],"mappings":"AAuEA,MAAM,UAAU,wCAAwC,CACtD,cAA8C,EAC9C,oBAA2D;IAE3D,MAAM,aAAa,GAAqC;QACtD,cAAc,EAAE,cAAc,CAAC,cAAc;QAC7C,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,kCAAkC,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;IAElE,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,GAAG,cAAkD;IAErD,MAAM,MAAM,GAA+B,EAAE,CAAC;IAE9C,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;YACzC,MAAM,IAAI,KAAK,CACb,6EAA6E,aAAa,CAAC,cAAc,IAAI,CAC9G,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,aAAa,CAAC;IACvD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,kCAAkC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AACpE,MAAM,qCAAqC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAEvE,SAAS,kCAAkC,CACzC,cAA8C,EAC9C,aAA+C;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AC;QAC5C,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,+CAA+C,OAAO,6BAA6B,WAAW,+DAA+D,CAC9J,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type {\n StructuralTranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n /**\n * PUBLIC SUBPATH only — a subpath the owning package declares in\n * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module\n * that has no public door, author `filePathHint` instead (issue #150).\n */\n importPath?: string;\n /**\n * MODULE LOCATION inside the owning package — a navigation aid, never concatenated\n * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the\n * canonical contract this narrows.\n */\n filePathHint?: string;\n}\n\ninterface CompositeViewDefinitionSpecRef {\n translationRef: string;\n sectionRefs?: string[];\n}\n\n/**\n * @wildo_source:part:start saas.specifications.composite-view-specification facet:layer:specification facet:family:views\n *\n * Composite view semantic overlay: `codeHandling`, section/translation slots, and keyed `CompositeViewSpecification` map.\n */\nexport interface CompositeViewSpecificationCodeHandling {\n /** Module/application owner that authored the view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public symbol exposing the authored composite view component. */\n viewComponentSymbol?: PublicCodeSymbolRef;\n /** Public declarations where the composite view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\nexport interface CompositeViewSpecificationConfig {\n /** Stable runtime translation identity for this composite surface. */\n translationRef: string;\n /** Why this composite surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this composite plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this composite surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the composite-view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Meaning of each declared section inside the composite. */\n sections?: Record<string, StructuralTranslationSlotSpecification>;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: CompositeViewSpecificationCodeHandling;\n}\n\n/** Keyed by the stable runtime translation identity (for example `app.foo`). */\nexport type CompositeViewSpecification = Record<string, CompositeViewSpecificationConfig>;\n/** @wildo_source:part:end saas.specifications.composite-view-specification */\n\nexport type CompositeViewSpecificationDraft = Omit<CompositeViewSpecificationConfig, 'translationRef'>;\n\nexport function compositeViewSpecificationFromDefinition(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specificationFactory: () => CompositeViewSpecificationDraft,\n): CompositeViewSpecificationConfig {\n const specification: CompositeViewSpecificationConfig = {\n translationRef: viewDefinition.translationRef,\n ...specificationFactory(),\n };\n\n validateCompositeViewSpecification(viewDefinition, specification);\n\n return specification;\n}\n\nexport function buildCompositeViewSpecificationMap(\n ...specifications: CompositeViewSpecificationConfig[]\n): CompositeViewSpecification {\n const result: CompositeViewSpecification = {};\n\n for (const specification of specifications) {\n if (result[specification.translationRef]) {\n throw new Error(\n `buildCompositeViewSpecificationMap(): duplicate composite translationRef \"${specification.translationRef}\".`,\n );\n }\n result[specification.translationRef] = specification;\n }\n\n return result;\n}\n\nconst COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\nconst COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateCompositeViewSpecification(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specification: CompositeViewSpecificationConfig,\n): void {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\"`,\n specification.textSlots,\n COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS,\n );\n const documentedSectionRefs = Object.keys(specification.sections ?? {});\n const declaredSectionRefs = new Set(viewDefinition.sectionRefs ?? []);\n\n for (const sectionRef of documentedSectionRefs) {\n if (!declaredSectionRefs.has(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" documents section \"${sectionRef}\" but the authored view definition does not declare it.`,\n );\n }\n }\n\n for (const sectionRef of declaredSectionRefs) {\n if (!documentedSectionRefs.includes(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" declares section \"${sectionRef}\" in the authored view definition but the semantic specification does not document it.`,\n );\n }\n }\n\n for (const [sectionRef, sectionSpecification] of Object.entries(specification.sections ?? {})) {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\" section \"${sectionRef}\"`,\n sectionSpecification.textSlots,\n COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS,\n );\n }\n}\n\nfunction validateRequiredTextSlots(\n subject: string,\n documentedTextSlots: TranslationSlotSpecificationMap | undefined,\n requiredTextSlots: string[],\n): void {\n const knownTextSlots = new Set(Object.keys(documentedTextSlots ?? {}));\n for (const textSlotKey of requiredTextSlots) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): ${subject} must document text slot \"${textSlotKey}\" so the generated labelling keys stay semantically grounded.`,\n );\n }\n }\n}\n"]}
1
+ {"version":3,"file":"composite-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/composite-view-specification.schemas.ts"],"names":[],"mappings":"AAmFA,MAAM,UAAU,wCAAwC,CACtD,cAA8C,EAC9C,oBAA2D;IAE3D,MAAM,aAAa,GAAqC;QACtD,cAAc,EAAE,cAAc,CAAC,cAAc;QAC7C,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,kCAAkC,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;IAElE,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,GAAG,cAAkD;IAErD,MAAM,MAAM,GAA+B,EAAE,CAAC;IAE9C,KAA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CAAC,mBAAmB,IAAI,EAAE,CAAC,CAAC,CAAC;IACvE,KAAK,MAAM,WAAW,IAAI,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,+CAA+C,OAAO,6BAA6B,WAAW,+DAA+D,CAC9J,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type {\n StructuralTranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n /**\n * PUBLIC SUBPATH only — a subpath the owning package declares in\n * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module\n * that has no public door, author `filePathHint` instead (issue #150).\n */\n importPath?: string;\n /**\n * MODULE LOCATION inside the owning package — a navigation aid, never concatenated\n * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the\n * canonical contract this narrows.\n */\n filePathHint?: string;\n}\n\ninterface CompositeViewDefinitionSpecRef {\n translationRef: string;\n sectionRefs?: string[];\n /** The view's own declared label refs (`labels` on the authored definition). */\n labels?: ReadonlyArray<{ ref: string }>;\n}\n\n/**\n * @wildo_source:part:start saas.specifications.composite-view-specification facet:layer:specification facet:family:views\n *\n * Composite view semantic overlay: `codeHandling`, section/translation slots, and keyed `CompositeViewSpecification` map.\n */\nexport interface CompositeViewSpecificationCodeHandling {\n /** Module/application owner that authored the view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public symbol exposing the authored composite view component. */\n viewComponentSymbol?: PublicCodeSymbolRef;\n /** Public declarations where the composite view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\nexport interface CompositeViewSpecificationConfig {\n /** Stable runtime translation identity for this composite surface. */\n translationRef: string;\n /** Why this composite surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this composite plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this composite surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the composite-view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Meaning of each declared section inside the composite. */\n sections?: Record<string, StructuralTranslationSlotSpecification>;\n /**\n * Meaning of each label the view DECLARES for its own text (`labels` on the authored definition) —\n * the captions, KPI names and failure sentences its component renders beyond the title,\n * description and section headings.\n *\n * Keyed by the declared label ref. Without it the generator words a label from its bare ref, and\n * a ref is an identifier, not a meaning: `stat_in_flight` was generated as \"In progress\" — the\n * words of one status — for a tile that counts two. Validated like `sections`, both directions.\n */\n labels?: TranslationSlotSpecificationMap;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: CompositeViewSpecificationCodeHandling;\n}\n\n/** Keyed by the stable runtime translation identity (for example `app.foo`). */\nexport type CompositeViewSpecification = Record<string, CompositeViewSpecificationConfig>;\n/** @wildo_source:part:end saas.specifications.composite-view-specification */\n\nexport type CompositeViewSpecificationDraft = Omit<CompositeViewSpecificationConfig, 'translationRef'>;\n\nexport function compositeViewSpecificationFromDefinition(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specificationFactory: () => CompositeViewSpecificationDraft,\n): CompositeViewSpecificationConfig {\n const specification: CompositeViewSpecificationConfig = {\n translationRef: viewDefinition.translationRef,\n ...specificationFactory(),\n };\n\n validateCompositeViewSpecification(viewDefinition, specification);\n\n return specification;\n}\n\nexport function buildCompositeViewSpecificationMap(\n ...specifications: CompositeViewSpecificationConfig[]\n): CompositeViewSpecification {\n const result: CompositeViewSpecification = {};\n\n for (const specification of specifications) {\n if (result[specification.translationRef]) {\n throw new Error(\n `buildCompositeViewSpecificationMap(): duplicate composite translationRef \"${specification.translationRef}\".`,\n );\n }\n result[specification.translationRef] = specification;\n }\n\n return result;\n}\n\nconst COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\nconst COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateCompositeViewSpecification(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specification: CompositeViewSpecificationConfig,\n): void {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\"`,\n specification.textSlots,\n COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS,\n );\n const documentedSectionRefs = Object.keys(specification.sections ?? {});\n const declaredSectionRefs = new Set(viewDefinition.sectionRefs ?? []);\n\n for (const sectionRef of documentedSectionRefs) {\n if (!declaredSectionRefs.has(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" documents section \"${sectionRef}\" but the authored view definition does not declare it.`,\n );\n }\n }\n\n for (const sectionRef of declaredSectionRefs) {\n if (!documentedSectionRefs.includes(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" declares section \"${sectionRef}\" in the authored view definition but the semantic specification does not document it.`,\n );\n }\n }\n\n const documentedLabelRefs = Object.keys(specification.labels ?? {});\n const declaredLabelRefs = new Set((viewDefinition.labels ?? []).map((label) => label.ref));\n for (const labelRef of documentedLabelRefs) {\n if (!declaredLabelRefs.has(labelRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" documents label \"${labelRef}\" but the authored view definition does not declare it, so nothing would ever read it.`,\n );\n }\n }\n for (const labelRef of declaredLabelRefs) {\n if (!documentedLabelRefs.includes(labelRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" declares label \"${labelRef}\" but the semantic specification does not document it, so its words would be generated from the bare ref.`,\n );\n }\n }\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\" labels`,\n specification.labels,\n [...declaredLabelRefs],\n );\n\n for (const [sectionRef, sectionSpecification] of Object.entries(specification.sections ?? {})) {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\" section \"${sectionRef}\"`,\n sectionSpecification.textSlots,\n COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS,\n );\n }\n}\n\nfunction validateRequiredTextSlots(\n subject: string,\n documentedTextSlots: TranslationSlotSpecificationMap | undefined,\n requiredTextSlots: string[],\n): void {\n const knownTextSlots = new Set(Object.keys(documentedTextSlots ?? {}));\n for (const textSlotKey of requiredTextSlots) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): ${subject} must document text slot \"${textSlotKey}\" so the generated labelling keys stay semantically grounded.`,\n );\n }\n }\n}\n"]}
@@ -16,10 +16,12 @@
16
16
  * {@link assertOptionalRequiredFeaturesSpecification}).
17
17
  * - `RequiredFeaturesSpecification.limitChecks[].featureRef`
18
18
  * (same three consumers).
19
- * - `OnboardingViewSpecificationConfig.trigger.conditions.roleRefs`.
20
- * - `GuidanceFlowSpecificationConfig.trigger.conditions.roleRefs`.
21
19
  * - `GuidanceFlowSpecificationConfig.audience.roleRefs`.
22
20
  *
21
+ * The two `trigger.conditions.roleRefs` entries that stood here — one per specification surface —
22
+ * went with that block in #1369: it was validated on both surfaces and read by nothing at runtime,
23
+ * so `audience.roleRefs` is now the only role gate there is.
24
+ *
23
25
  * The guidance-flow `excludeIfCompletedFlowRefs` cross-check lives
24
26
  * inside `guidance-flow-specification.schemas.ts` itself
25
27
  * ({@link assertGuidanceFlowRefsResolveToRegistry}) so the
@@ -120,8 +122,8 @@ export declare function assertFeatureRefResolvesToRegistry(errorPrefix: string,
120
122
  /**
121
123
  * Resolve every entry of `roleRefs` against the registered
122
124
  * `RoleSpecification` map. Fail-soft when no role spec has been
123
- * registered (engine bootstrap auto-populates the registry with the
124
- * 12 core roles, so this branch only matters in test isolation or
125
+ * registered (engine bootstrap auto-populates the registry with every
126
+ * core role, so this branch only matters in test isolation or
125
127
  * when a consumer imports the validator without the engine barrel).
126
128
  *
127
129
  * Throws on the first unresolved ref so authoring bugs fail closed at
@@ -1 +1 @@
1
- {"version":3,"file":"cross-registry-assertions.d.ts","sourceRoot":"","sources":["../../../../src/_core/cross-registry-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AAgBH;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,WAAW,CAAC;AAE5D;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,GAC9C,MAAM,CASR;AAED;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EAC1C,IAAI,GAAE,iBAAiC,GACtC,IAAI,CAsBN;AAED;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,IAAI,GAAE,iBAAiC,GACtC,IAAI,CAoBN;AAED;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACtC,IAAI,CAmBN"}
1
+ {"version":3,"file":"cross-registry-assertions.d.ts","sourceRoot":"","sources":["../../../../src/_core/cross-registry-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AAgBH;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,WAAW,CAAC;AAE5D;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,GAC9C,MAAM,CASR;AAED;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EAC1C,IAAI,GAAE,iBAAiC,GACtC,IAAI,CAsBN;AAED;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,IAAI,GAAE,iBAAiC,GACtC,IAAI,CAoBN;AAED;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACtC,IAAI,CAmBN"}
@@ -16,10 +16,12 @@
16
16
  * {@link assertOptionalRequiredFeaturesSpecification}).
17
17
  * - `RequiredFeaturesSpecification.limitChecks[].featureRef`
18
18
  * (same three consumers).
19
- * - `OnboardingViewSpecificationConfig.trigger.conditions.roleRefs`.
20
- * - `GuidanceFlowSpecificationConfig.trigger.conditions.roleRefs`.
21
19
  * - `GuidanceFlowSpecificationConfig.audience.roleRefs`.
22
20
  *
21
+ * The two `trigger.conditions.roleRefs` entries that stood here — one per specification surface —
22
+ * went with that block in #1369: it was validated on both surfaces and read by nothing at runtime,
23
+ * so `audience.roleRefs` is now the only role gate there is.
24
+ *
23
25
  * The guidance-flow `excludeIfCompletedFlowRefs` cross-check lives
24
26
  * inside `guidance-flow-specification.schemas.ts` itself
25
27
  * ({@link assertGuidanceFlowRefsResolveToRegistry}) so the
@@ -146,8 +148,8 @@ export function assertFeatureRefResolvesToRegistry(errorPrefix, fullPath, featur
146
148
  /**
147
149
  * Resolve every entry of `roleRefs` against the registered
148
150
  * `RoleSpecification` map. Fail-soft when no role spec has been
149
- * registered (engine bootstrap auto-populates the registry with the
150
- * 12 core roles, so this branch only matters in test isolation or
151
+ * registered (engine bootstrap auto-populates the registry with every
152
+ * core role, so this branch only matters in test isolation or
151
153
  * when a consumer imports the validator without the engine barrel).
152
154
  *
153
155
  * Throws on the first unresolved ref so authoring bugs fail closed at
@@ -163,7 +165,7 @@ export function assertRoleRefsResolveToRegistry(errorPrefix, fullPath, roleRefs)
163
165
  for (const [index, ref] of roleRefs.entries()) {
164
166
  const biScopedKey = normaliseRefToBiScopedKey(ref, appLevelRoleSpecificationKeyFor);
165
167
  if (!lookupRoleSpecification(biScopedKey)) {
166
- throw new Error(`${errorPrefix} ${fullPath}[${index}] references role "${ref}" but no RoleSpecification is registered for "${biScopedKey}". Register the missing overlay (engine bootstrap covers the 12 core roles; app-level roles must be wired through registerRoleSpecifications(appLevelRoleSpecifications)) or remove the dangling ref.`);
168
+ throw new Error(`${errorPrefix} ${fullPath}[${index}] references role "${ref}" but no RoleSpecification is registered for "${biScopedKey}". Register the missing overlay (engine bootstrap covers every core role; app-level roles must be wired through registerRoleSpecifications(appLevelRoleSpecifications)) or remove the dangling ref.`);
167
169
  }
168
170
  }
169
171
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cross-registry-assertions.js","sourceRoot":"","sources":["../../../../src/_core/cross-registry-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AAEH,OAAO,EACL,sBAAsB,EACtB,kCAAkC,EAClC,+BAA+B,GAChC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,kCAAkC,EAClC,0BAA0B,GAC3B,MAAM,iCAAiC,C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C9B,OAA0B,aAAa;IAEvC,IAAI,CAAC,UAAU,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC;QACtC,OAAO;IACT,CAAC;IACD,IAAI,IAAI,KAAK,WAAW,EAAE,CAAC;QACzB,OAAO;IACT,CAAC;IACD,IAAI,CAAC,kCAAkC,EAAE,EAAE,CAAC;QAC1C,OAAO;IACT,CAAC;IAED,MAAM,WAAW,GAAG,yBAAyB,CAC3C,UAAU,EACV,kCAAkC,CACnC,CAAC;IACF,IAAI,CAAC,0BAA0B,CAAC,WAAW,CAAC,EAAE,CAAC;QAC7C,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,wBAAwB,UAAU,oDAAoD,WAAW,+OAA+O,CAC3W,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,+BAA+B,CAC7C,WAAmB,EACnB,QAAgB,EAChB,QAAuC;IAEvC,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvC,OAAO;IACT,CAAC;IACD,IAAI,CAAC,+BAA+B,EAAE,EAAE,CAAC;QACvC,OAAO;IACT,CAAC;IAED,KAAK,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC;QAC9C,MAAM,WAAW,GAAG,yBAAyB,CAC3C,GAAG,EACH,+BAA+B,CAChC,CAAC;QACF,IAAI,CAAC,uBAAuB,CAAC,WAAW,CAAC,EAAE,CAAC;YAC1C,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,IAAI,KAAK,sBAAsB,GAAG,iDAAiD,WAAW,uMAAuM,CAChU,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["/**\n * Cross-registry resolution helpers for the Step 5 Phase 8 retrofit\n * (feature + role families).\n *\n * # Why this module exists\n *\n * The Step 5 mega-step (`non-view-specification-coverage-step5-mfpr`)\n * built four definition-backed spec families (feature / milestone /\n * product / role) plus their per-family cross-registries. Phase 8\n * wires the deferred string-typed ref slots from Step 4 into those\n * registries:\n *\n * - `RequiredFeaturesSpecification.featureRefs` (onboarding flow-\n * level gating + guidance audience gating + resource M2M\n * deliveries — consolidated through\n * {@link assertOptionalRequiredFeaturesSpecification}).\n * - `RequiredFeaturesSpecification.limitChecks[].featureRef`\n * (same three consumers).\n * - `OnboardingViewSpecificationConfig.trigger.conditions.roleRefs`.\n * - `GuidanceFlowSpecificationConfig.trigger.conditions.roleRefs`.\n * - `GuidanceFlowSpecificationConfig.audience.roleRefs`.\n *\n * The guidance-flow `excludeIfCompletedFlowRefs` cross-check lives\n * inside `guidance-flow-specification.schemas.ts` itself\n * ({@link assertGuidanceFlowRefsResolveToRegistry}) so the\n * dependency direction stays acyclic — the guidance-flow module\n * already imports `required-features-specification.schemas`, so\n * pulling its assertion helper into this shared file would create a\n * three-node cycle (required-features → cross-registry → guidance-\n * flow → required-features) that we sidestep by co-locating the\n * guidance-flow helper with its registry.\n *\n * Q5-3 keeps the spec-layer typing as `string[]` (no compile-time\n * `Ref` wrapper) and layers cross-registry resolution as a separate\n * fail-soft / fail-closed validator. Authoring sites stay untouched\n * — only the validator's behaviour changes once the registries are\n * populated.\n *\n * # Fail-soft vs fail-closed\n *\n * Each helper exposes the same two-mode contract:\n *\n * - **Fail-soft (always)**: structural checks run; cross-registry\n * lookup is skipped entirely. Used for the M2M `requiredFeatures`\n * call site because the M2M dispatcher is documented to honour\n * any application-defined gate beyond the engine baseline (see\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc) —\n * forcing every M2M-authored ref to round-trip through the spec\n * registry would silently re-define the runtime contract.\n *\n * - **Fail-closed when registry populated, fail-soft when empty**:\n * the default behaviour for every other consumer. When at least\n * one spec is registered (engine bootstrap auto-populates feature\n * + role registries on import), every authored ref must resolve\n * to a registered entry; missing refs throw at validator time.\n * When the registry is empty (early boot, test isolation, app\n * that hasn't called `register*Specifications` yet), the lookup\n * is skipped — consumers get the same behaviour they had before\n * Phase 8 landed, so registry adoption stays opt-in per app.\n *\n * # Bare-ref convention\n *\n * The retrofit slots all carry **bare runtime identifiers**\n * (`'AI_ASSISTANT'`, `'org-owner'`) rather than fully-qualified\n * bi-scoped keys. The lookup helpers therefore normalise via the\n * family-specific app-level key builder\n * (`appLevelFeatureSpecificationKeyFor` /\n * `appLevelRoleSpecificationKeyFor`). Resource-scoped specs are\n * reachable too — apps that wish to reference a resource-scoped\n * feature/role from an audience or trigger condition would need to\n * author the ref as the bi-scoped key directly\n * (`'resources.todos.MY_FEATURE'`); the helper accepts pre-qualified\n * keys verbatim and only falls back to the app-level normalisation\n * when the ref does not already start with one of the bi-scoped\n * prefixes.\n */\n\nimport {\n BI_SCOPED_KEY_PREFIXES,\n appLevelFeatureSpecificationKeyFor,\n appLevelRoleSpecificationKeyFor,\n} from './definition-specification.schemas';\nimport {\n hasRegisteredFeatureSpecifications,\n lookupFeatureSpecification,\n} from './feature-specification.schemas';\nimport {\n hasRegisteredRoleSpecifications,\n lookupRoleSpecification,\n} from './role-specification.schemas';\n\n/**\n * Cross-registry mode selector. Default-applied per consumer:\n *\n * - `'fail-closed'` — every other consumer (onboarding/guidance\n * `requiredFeatures`, onboarding/guidance trigger `roleRefs`,\n * guidance audience `roleRefs` + `excludeIfCompletedFlowRefs`).\n * - `'fail-soft'` — M2M `requiredFeatures` (preserves the runtime\n * gate contract; structural checks still run).\n *\n * The mode only governs the cross-registry lookup branch. Empty-\n * registry pass-through applies regardless of mode (so apps that\n * never register any spec stay un-broken).\n */\nexport type CrossRegistryMode = 'fail-closed' | 'fail-soft';\n\n/**\n * Normalise a bare ref to its bi-scoped registry key. If the caller\n * already passed a pre-qualified key (`app.<ref>` or\n * `resources.<type>.<ref>`), it's returned verbatim — supporting\n * resource-scoped lookups without forcing every consumer to\n * re-implement the prefix detection.\n *\n * Exported so the guidance-flow registry assertion (which lives in\n * `guidance-flow-specification.schemas.ts` to avoid a module cycle —\n * see this file's top-level JSDoc) can share the same normalisation\n * logic without redeclaring it.\n */\nexport function normaliseRefToBiScopedKey(\n ref: string,\n appLevelKeyBuilder: (bareRef: string) => string,\n): string {\n const trimmed = ref.trim();\n if (\n trimmed.startsWith(`${BI_SCOPED_KEY_PREFIXES.APP_LEVEL}.`)\n || trimmed.startsWith(`${BI_SCOPED_KEY_PREFIXES.RESOURCE_LEVEL}.`)\n ) {\n return trimmed;\n }\n return appLevelKeyBuilder(trimmed);\n}\n\n/**\n * Resolve every entry of `featureRefs` against the registered\n * `FeatureSpecification` map. Skips when `mode === 'fail-soft'` (M2M\n * contract) or when no feature spec has been registered yet.\n *\n * Throws on the first unresolved ref so authoring bugs fail closed at\n * module load.\n */\nexport function assertFeatureRefsResolveToRegistry(\n errorPrefix: string,\n fullPath: string,\n featureRefs: readonly string[] | undefined,\n mode: CrossRegistryMode = 'fail-closed',\n): void {\n if (!featureRefs || featureRefs.length === 0) {\n return;\n }\n if (mode === 'fail-soft') {\n return;\n }\n if (!hasRegisteredFeatureSpecifications()) {\n return;\n }\n\n for (const [index, ref] of featureRefs.entries()) {\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelFeatureSpecificationKeyFor,\n );\n if (!lookupFeatureSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] references feature \"${ref}\" but no FeatureSpecification is registered for \"${biScopedKey}\". Register the missing overlay (engine bootstrap covers CoreFeature and CORE_FEATURE_DEFINITIONS entries; app-level features must be wired through registerFeatureSpecifications(appLevelFeatureSpecifications)) or remove the dangling ref.`,\n );\n }\n }\n}\n\n/**\n * Same contract as {@link assertFeatureRefsResolveToRegistry} but for\n * a single ref (`limitChecks[].featureRef`). Kept as a separate\n * helper so the error prefix can name the parent index without the\n * caller building a synthetic single-element array.\n */\nexport function assertFeatureRefResolvesToRegistry(\n errorPrefix: string,\n fullPath: string,\n featureRef: string | undefined,\n mode: CrossRegistryMode = 'fail-closed',\n): void {\n if (!featureRef || !featureRef.trim()) {\n return;\n }\n if (mode === 'fail-soft') {\n return;\n }\n if (!hasRegisteredFeatureSpecifications()) {\n return;\n }\n\n const biScopedKey = normaliseRefToBiScopedKey(\n featureRef,\n appLevelFeatureSpecificationKeyFor,\n );\n if (!lookupFeatureSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath} references feature \"${featureRef}\" but no FeatureSpecification is registered for \"${biScopedKey}\". Register the missing overlay (engine bootstrap covers CoreFeature and CORE_FEATURE_DEFINITIONS entries; app-level features must be wired through registerFeatureSpecifications(appLevelFeatureSpecifications)) or remove the dangling ref.`,\n );\n }\n}\n\n/**\n * Resolve every entry of `roleRefs` against the registered\n * `RoleSpecification` map. Fail-soft when no role spec has been\n * registered (engine bootstrap auto-populates the registry with the\n * 12 core roles, so this branch only matters in test isolation or\n * when a consumer imports the validator without the engine barrel).\n *\n * Throws on the first unresolved ref so authoring bugs fail closed at\n * module load.\n */\nexport function assertRoleRefsResolveToRegistry(\n errorPrefix: string,\n fullPath: string,\n roleRefs: readonly string[] | undefined,\n): void {\n if (!roleRefs || roleRefs.length === 0) {\n return;\n }\n if (!hasRegisteredRoleSpecifications()) {\n return;\n }\n\n for (const [index, ref] of roleRefs.entries()) {\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelRoleSpecificationKeyFor,\n );\n if (!lookupRoleSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] references role \"${ref}\" but no RoleSpecification is registered for \"${biScopedKey}\". Register the missing overlay (engine bootstrap covers the 12 core roles; app-level roles must be wired through registerRoleSpecifications(appLevelRoleSpecifications)) or remove the dangling ref.`,\n );\n }\n }\n}\n\n\n"]}
1
+ {"version":3,"file":"cross-registry-assertions.js","sourceRoot":"","sources":["../../../../src/_core/cross-registry-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AW,qMAAqM,CAC9T,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["/**\n * Cross-registry resolution helpers for the Step 5 Phase 8 retrofit\n * (feature + role families).\n *\n * # Why this module exists\n *\n * The Step 5 mega-step (`non-view-specification-coverage-step5-mfpr`)\n * built four definition-backed spec families (feature / milestone /\n * product / role) plus their per-family cross-registries. Phase 8\n * wires the deferred string-typed ref slots from Step 4 into those\n * registries:\n *\n * - `RequiredFeaturesSpecification.featureRefs` (onboarding flow-\n * level gating + guidance audience gating + resource M2M\n * deliveries — consolidated through\n * {@link assertOptionalRequiredFeaturesSpecification}).\n * - `RequiredFeaturesSpecification.limitChecks[].featureRef`\n * (same three consumers).\n * - `GuidanceFlowSpecificationConfig.audience.roleRefs`.\n *\n * The two `trigger.conditions.roleRefs` entries that stood here — one per specification surface —\n * went with that block in #1369: it was validated on both surfaces and read by nothing at runtime,\n * so `audience.roleRefs` is now the only role gate there is.\n *\n * The guidance-flow `excludeIfCompletedFlowRefs` cross-check lives\n * inside `guidance-flow-specification.schemas.ts` itself\n * ({@link assertGuidanceFlowRefsResolveToRegistry}) so the\n * dependency direction stays acyclic — the guidance-flow module\n * already imports `required-features-specification.schemas`, so\n * pulling its assertion helper into this shared file would create a\n * three-node cycle (required-features → cross-registry → guidance-\n * flow → required-features) that we sidestep by co-locating the\n * guidance-flow helper with its registry.\n *\n * Q5-3 keeps the spec-layer typing as `string[]` (no compile-time\n * `Ref` wrapper) and layers cross-registry resolution as a separate\n * fail-soft / fail-closed validator. Authoring sites stay untouched\n * — only the validator's behaviour changes once the registries are\n * populated.\n *\n * # Fail-soft vs fail-closed\n *\n * Each helper exposes the same two-mode contract:\n *\n * - **Fail-soft (always)**: structural checks run; cross-registry\n * lookup is skipped entirely. Used for the M2M `requiredFeatures`\n * call site because the M2M dispatcher is documented to honour\n * any application-defined gate beyond the engine baseline (see\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc) —\n * forcing every M2M-authored ref to round-trip through the spec\n * registry would silently re-define the runtime contract.\n *\n * - **Fail-closed when registry populated, fail-soft when empty**:\n * the default behaviour for every other consumer. When at least\n * one spec is registered (engine bootstrap auto-populates feature\n * + role registries on import), every authored ref must resolve\n * to a registered entry; missing refs throw at validator time.\n * When the registry is empty (early boot, test isolation, app\n * that hasn't called `register*Specifications` yet), the lookup\n * is skipped — consumers get the same behaviour they had before\n * Phase 8 landed, so registry adoption stays opt-in per app.\n *\n * # Bare-ref convention\n *\n * The retrofit slots all carry **bare runtime identifiers**\n * (`'AI_ASSISTANT'`, `'org-owner'`) rather than fully-qualified\n * bi-scoped keys. The lookup helpers therefore normalise via the\n * family-specific app-level key builder\n * (`appLevelFeatureSpecificationKeyFor` /\n * `appLevelRoleSpecificationKeyFor`). Resource-scoped specs are\n * reachable too — apps that wish to reference a resource-scoped\n * feature/role from an audience or trigger condition would need to\n * author the ref as the bi-scoped key directly\n * (`'resources.todos.MY_FEATURE'`); the helper accepts pre-qualified\n * keys verbatim and only falls back to the app-level normalisation\n * when the ref does not already start with one of the bi-scoped\n * prefixes.\n */\n\nimport {\n BI_SCOPED_KEY_PREFIXES,\n appLevelFeatureSpecificationKeyFor,\n appLevelRoleSpecificationKeyFor,\n} from './definition-specification.schemas';\nimport {\n hasRegisteredFeatureSpecifications,\n lookupFeatureSpecification,\n} from './feature-specification.schemas';\nimport {\n hasRegisteredRoleSpecifications,\n lookupRoleSpecification,\n} from './role-specification.schemas';\n\n/**\n * Cross-registry mode selector. Default-applied per consumer:\n *\n * - `'fail-closed'` — every other consumer (onboarding/guidance\n * `requiredFeatures`, onboarding/guidance trigger `roleRefs`,\n * guidance audience `roleRefs` + `excludeIfCompletedFlowRefs`).\n * - `'fail-soft'` — M2M `requiredFeatures` (preserves the runtime\n * gate contract; structural checks still run).\n *\n * The mode only governs the cross-registry lookup branch. Empty-\n * registry pass-through applies regardless of mode (so apps that\n * never register any spec stay un-broken).\n */\nexport type CrossRegistryMode = 'fail-closed' | 'fail-soft';\n\n/**\n * Normalise a bare ref to its bi-scoped registry key. If the caller\n * already passed a pre-qualified key (`app.<ref>` or\n * `resources.<type>.<ref>`), it's returned verbatim — supporting\n * resource-scoped lookups without forcing every consumer to\n * re-implement the prefix detection.\n *\n * Exported so the guidance-flow registry assertion (which lives in\n * `guidance-flow-specification.schemas.ts` to avoid a module cycle —\n * see this file's top-level JSDoc) can share the same normalisation\n * logic without redeclaring it.\n */\nexport function normaliseRefToBiScopedKey(\n ref: string,\n appLevelKeyBuilder: (bareRef: string) => string,\n): string {\n const trimmed = ref.trim();\n if (\n trimmed.startsWith(`${BI_SCOPED_KEY_PREFIXES.APP_LEVEL}.`)\n || trimmed.startsWith(`${BI_SCOPED_KEY_PREFIXES.RESOURCE_LEVEL}.`)\n ) {\n return trimmed;\n }\n return appLevelKeyBuilder(trimmed);\n}\n\n/**\n * Resolve every entry of `featureRefs` against the registered\n * `FeatureSpecification` map. Skips when `mode === 'fail-soft'` (M2M\n * contract) or when no feature spec has been registered yet.\n *\n * Throws on the first unresolved ref so authoring bugs fail closed at\n * module load.\n */\nexport function assertFeatureRefsResolveToRegistry(\n errorPrefix: string,\n fullPath: string,\n featureRefs: readonly string[] | undefined,\n mode: CrossRegistryMode = 'fail-closed',\n): void {\n if (!featureRefs || featureRefs.length === 0) {\n return;\n }\n if (mode === 'fail-soft') {\n return;\n }\n if (!hasRegisteredFeatureSpecifications()) {\n return;\n }\n\n for (const [index, ref] of featureRefs.entries()) {\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelFeatureSpecificationKeyFor,\n );\n if (!lookupFeatureSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] references feature \"${ref}\" but no FeatureSpecification is registered for \"${biScopedKey}\". Register the missing overlay (engine bootstrap covers CoreFeature and CORE_FEATURE_DEFINITIONS entries; app-level features must be wired through registerFeatureSpecifications(appLevelFeatureSpecifications)) or remove the dangling ref.`,\n );\n }\n }\n}\n\n/**\n * Same contract as {@link assertFeatureRefsResolveToRegistry} but for\n * a single ref (`limitChecks[].featureRef`). Kept as a separate\n * helper so the error prefix can name the parent index without the\n * caller building a synthetic single-element array.\n */\nexport function assertFeatureRefResolvesToRegistry(\n errorPrefix: string,\n fullPath: string,\n featureRef: string | undefined,\n mode: CrossRegistryMode = 'fail-closed',\n): void {\n if (!featureRef || !featureRef.trim()) {\n return;\n }\n if (mode === 'fail-soft') {\n return;\n }\n if (!hasRegisteredFeatureSpecifications()) {\n return;\n }\n\n const biScopedKey = normaliseRefToBiScopedKey(\n featureRef,\n appLevelFeatureSpecificationKeyFor,\n );\n if (!lookupFeatureSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath} references feature \"${featureRef}\" but no FeatureSpecification is registered for \"${biScopedKey}\". Register the missing overlay (engine bootstrap covers CoreFeature and CORE_FEATURE_DEFINITIONS entries; app-level features must be wired through registerFeatureSpecifications(appLevelFeatureSpecifications)) or remove the dangling ref.`,\n );\n }\n}\n\n/**\n * Resolve every entry of `roleRefs` against the registered\n * `RoleSpecification` map. Fail-soft when no role spec has been\n * registered (engine bootstrap auto-populates the registry with every\n * core role, so this branch only matters in test isolation or\n * when a consumer imports the validator without the engine barrel).\n *\n * Throws on the first unresolved ref so authoring bugs fail closed at\n * module load.\n */\nexport function assertRoleRefsResolveToRegistry(\n errorPrefix: string,\n fullPath: string,\n roleRefs: readonly string[] | undefined,\n): void {\n if (!roleRefs || roleRefs.length === 0) {\n return;\n }\n if (!hasRegisteredRoleSpecifications()) {\n return;\n }\n\n for (const [index, ref] of roleRefs.entries()) {\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n appLevelRoleSpecificationKeyFor,\n );\n if (!lookupRoleSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] references role \"${ref}\" but no RoleSpecification is registered for \"${biScopedKey}\". Register the missing overlay (engine bootstrap covers every core role; app-level roles must be wired through registerRoleSpecifications(appLevelRoleSpecifications)) or remove the dangling ref.`,\n );\n }\n }\n}\n\n\n"]}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import '@wildo-ai/zod-decorators';
2
3
  /** Portable semantic schema claimed by a staged domain-plan candidate. */
3
4
  export declare const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = "wildo:domain-plan-output-set:v1";
4
5
  /** Closed conceptual cardinality carried by a planning relationship draft. */
@@ -25,8 +26,8 @@ export declare const DomainRelationshipDraftSchema: z.ZodObject<{
25
26
  relationshipRef: z.ZodString;
26
27
  sourceResourceRef: z.ZodString;
27
28
  targetResourceRef: z.ZodString;
28
- cardinalityIntent: z.ZodOptional<z.ZodEnum<typeof DomainRelationshipCardinalityIntent>>;
29
- ownershipIntent: z.ZodOptional<z.ZodEnum<typeof DomainRelationshipOwnershipIntent>>;
29
+ cardinalityIntent: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DomainRelationshipCardinalityIntent>>>;
30
+ ownershipIntent: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DomainRelationshipOwnershipIntent>>>;
30
31
  rationale: z.ZodOptional<z.ZodString>;
31
32
  }, z.core.$strip>;
32
33
  export type DomainRelationshipDraft = z.infer<typeof DomainRelationshipDraftSchema>;
@@ -88,8 +89,8 @@ export declare const DomainPlanOutputSetSchema: z.ZodObject<{
88
89
  relationshipRef: z.ZodString;
89
90
  sourceResourceRef: z.ZodString;
90
91
  targetResourceRef: z.ZodString;
91
- cardinalityIntent: z.ZodOptional<z.ZodEnum<typeof DomainRelationshipCardinalityIntent>>;
92
- ownershipIntent: z.ZodOptional<z.ZodEnum<typeof DomainRelationshipOwnershipIntent>>;
92
+ cardinalityIntent: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DomainRelationshipCardinalityIntent>>>;
93
+ ownershipIntent: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DomainRelationshipOwnershipIntent>>>;
93
94
  rationale: z.ZodOptional<z.ZodString>;
94
95
  }, z.core.$strip>>;
95
96
  tenancy: z.ZodOptional<z.ZodEnum<typeof DomainPlanTenancyModel>>;
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan-output-set.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,0EAA0E;AAC1E,eAAO,MAAM,iCAAiC,oCAAoC,CAAC;AAEnF,8EAA8E;AAC9E,oBAAY,mCAAmC;IAC7C,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;CAC9B;AAED;;;GAGG;AACH,oBAAY,iCAAiC;IAC3C,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;CAClD;AAED;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;iBAOxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,sBAAsB;IAChC;;;OAGG;IACH,aAAa,kBAAkB;IAC/B,mFAAmF;IACnF,KAAK,UAAU;CAChB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;iBAiBpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"domain-plan-output-set.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAMlC,0EAA0E;AAC1E,eAAO,MAAM,iCAAiC,oCAAoC,CAAC;AAEnF,8EAA8E;AAC9E,oBAAY,mCAAmC;IAC7C,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;CAC9B;AAED;;;GAGG;AACH,oBAAY,iCAAiC;IAC3C,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;CAClD;AAED;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;iBAOxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,sBAAsB;IAChC;;;OAGG;IACH,aAAa,kBAAkB;IAC/B,mFAAmF;IACnF,KAAK,UAAU;CAChB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;iBAiBpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -1,4 +1,7 @@
1
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';
2
5
  import { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas.js';
3
6
  const NonEmptyStringSchema = z.string().trim().min(1);
4
7
  /** Portable semantic schema claimed by a staged domain-plan candidate. */
@@ -29,8 +32,8 @@ export const DomainRelationshipDraftSchema = z.object({
29
32
  relationshipRef: NonEmptyStringSchema,
30
33
  sourceResourceRef: NonEmptyStringSchema,
31
34
  targetResourceRef: NonEmptyStringSchema,
32
- cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).optional(),
33
- ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).optional(),
35
+ cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).systemEnum('DomainRelationshipCardinalityIntent').optional(),
36
+ ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).systemEnum('DomainRelationshipOwnershipIntent').optional(),
34
37
  rationale: NonEmptyStringSchema.optional(),
35
38
  });
36
39
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan-output-set.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,iCAAiC,GAAG,iCAAiC,CAAC;AAEnF,8EAA8E;AAC9E,MAAM,CAAN,IAAY,mCAIX;AAJD,WAAY,mCAAmC;IAC7C,gEAAyB,CAAA;IACzB,kEAA2B,CAAA;IAC3B,oEAA6B,CAAA;AAC/B,CAAC,EAJW,mCAAmC,KAAnC,mCAAmC,QAI9C;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,sFAAiD,CAAA;IACjD,sFAAiD,CAAA;AACnD,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,eAAe,EAAE,oBAAoB;IACrC,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,CAAC,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC,QAAQ,EAAE;IACzE,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC,QAAQ,EAAE;IACrE,SAAS,EAAE,oBAAoB,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAGH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAN,IAAY,sBAQX;AARD,WAAY,sBAAsB;IAChC;;;OAGG;IACH,yDAA+B,CAAA;IAC/B,mFAAmF;IACnF,yCAAe,CAAA;AACjB,CAAC,EARW,sBAAsB,KAAtB,sBAAsB,QAQjC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B;;;;;;OAMG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,qGAAqG;IACrG,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;IACrD;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** Portable semantic schema claimed by a staged domain-plan candidate. */\nexport const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = 'wildo:domain-plan-output-set:v1';\n\n/** Closed conceptual cardinality carried by a planning relationship draft. */\nexport enum DomainRelationshipCardinalityIntent {\n ONE_TO_ONE = 'one-to-one',\n ONE_TO_MANY = 'one-to-many',\n MANY_TO_MANY = 'many-to-many',\n}\n\n/**\n * Conceptual ownership direction only. This does not choose a physical foreign\n * key, junction table, discriminator, or persistence implementation.\n */\nexport enum DomainRelationshipOwnershipIntent {\n SOURCE_HOLDS_REFERENCE = 'source-holds-reference',\n TARGET_HOLDS_REFERENCE = 'target-holds-reference',\n}\n\n/**\n * Persistable relationship intent. Cardinality and ownership remain optional\n * here so an imperfect draft can be staged and diagnosed without being\n * mistaken for an accepted plan. The strict generation contract and the\n * deterministic validator require them before technical success.\n */\nexport const DomainRelationshipDraftSchema = z.object({\n relationshipRef: NonEmptyStringSchema,\n sourceResourceRef: NonEmptyStringSchema,\n targetResourceRef: NonEmptyStringSchema,\n cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).optional(),\n ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).optional(),\n rationale: NonEmptyStringSchema.optional(),\n});\nexport type DomainRelationshipDraft = z.infer<typeof DomainRelationshipDraftSchema>;\n\n/**\n * How the application partitions its data — the ONE decision that shapes the whole model and\n * that no derivation can make.\n *\n * ## Why it lives on the domain plan\n *\n * It was asked by `bottom_up.foundation`, which runs AFTER the domain plan exists, and the comment\n * there described the plan as deliberately scope-free. That is true of the plan's FIELDS and false\n * of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked — a `workspace` module\n * owning a `workspace` resource, a `team-membership` module owning `workspace-member`, and `deal`\n * referencing `workspace-member` for owner assignment. The creator was then asked \"organizations or\n * users?\" afterwards, and answering `users` would have left two modules and a relationship that\n * nothing reconciles.\n *\n * So the question moves to where the decision is first USED, and the answer is carried in the\n * committed artifact rather than in a run's transient elicitation answers — it is a product\n * decision, and `.claude/rules/one-source-of-truth.md` puts those in git.\n *\n * ## Optional on this schema, required on the generation contract\n *\n * Optional so plans authored before the field still parse (wonder-crm and wonder-todos both do).\n * Required where a model answers, because a derivation that does not state its tenancy has made the\n * decision silently — which is the defect this field exists to end.\n */\nexport enum DomainPlanTenancyModel {\n /**\n * Users collaborate inside shared workspaces or teams. Enables the ORGANIZATIONS engine\n * capability and composes every resource organization-scoped.\n */\n ORGANIZATIONS = 'organizations',\n /** Every user's data is their own. User-scoped resources, no capability change. */\n USERS = 'users',\n}\n\n/**\n * THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.\n *\n * There is deliberately no separate `relationship-drafts` family any more (collapsed 2026-08-24).\n * The split was staging-era ceremony — the two were \"staged together under one output-set digest\",\n * i.e. never independently meaningful — and the validator crosses them (a relationship names module\n * resources), so landing them as two files would re-create the join this schema exists to avoid.\n * One family, one file, one committed value.\n */\nexport const DomainPlanOutputSetSchema = z.object({\n schemaVersion: z.literal(1),\n /**\n * At least one module, at the SCHEMA. The third instance of the vacuity class (after requirements and\n * build-plan): the first live parallel-portfolio run landed `modules: [], relationships: []` — valid\n * under the old `.default([])` shape — over the application's authored plan. A domain plan that plans\n * nothing is a refusal, never an artifact. (The strict generation schema always had `min(1)`; like\n * build-plan's, it has no caller in the playbook lane — the family schema is the effective gate.)\n */\n modules: z.array(ModuleBusinessSemanticsSchema).min(1),\n /** May be legitimately empty (a single-module app) — but must be AUTHORED empty, never defaulted. */\n relationships: z.array(DomainRelationshipDraftSchema),\n /**\n * How the application partitions its data. See {@link DomainPlanTenancyModel} for why it lives\n * here and why it is optional on this schema while required on the generation contract.\n */\n tenancy: z.enum(DomainPlanTenancyModel).optional(),\n});\nexport type DomainPlanOutputSet = z.infer<typeof DomainPlanOutputSetSchema>;\n"]}
1
+ {"version":3,"file":"domain-plan-output-set.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,iCAAiC,GAAG,iCAAiC,CAAC;AAEnF,8EAA8E;AAC9E,MAAM,CAAN,IAAY,mCAIX;AAJD,WAAY,mCAAmC;IAC7C,gEAAyB,CAAA;IACzB,kEAA2B,CAAA;IAC3B,oEAA6B,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AAsB,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** Portable semantic schema claimed by a staged domain-plan candidate. */\nexport const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = 'wildo:domain-plan-output-set:v1';\n\n/** Closed conceptual cardinality carried by a planning relationship draft. */\nexport enum DomainRelationshipCardinalityIntent {\n ONE_TO_ONE = 'one-to-one',\n ONE_TO_MANY = 'one-to-many',\n MANY_TO_MANY = 'many-to-many',\n}\n\n/**\n * Conceptual ownership direction only. This does not choose a physical foreign\n * key, junction table, discriminator, or persistence implementation.\n */\nexport enum DomainRelationshipOwnershipIntent {\n SOURCE_HOLDS_REFERENCE = 'source-holds-reference',\n TARGET_HOLDS_REFERENCE = 'target-holds-reference',\n}\n\n/**\n * Persistable relationship intent. Cardinality and ownership remain optional\n * here so an imperfect draft can be staged and diagnosed without being\n * mistaken for an accepted plan. The strict generation contract and the\n * deterministic validator require them before technical success.\n */\nexport const DomainRelationshipDraftSchema = z.object({\n relationshipRef: NonEmptyStringSchema,\n sourceResourceRef: NonEmptyStringSchema,\n targetResourceRef: NonEmptyStringSchema,\n cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).systemEnum('DomainRelationshipCardinalityIntent').optional(),\n ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).systemEnum('DomainRelationshipOwnershipIntent').optional(),\n rationale: NonEmptyStringSchema.optional(),\n});\nexport type DomainRelationshipDraft = z.infer<typeof DomainRelationshipDraftSchema>;\n\n/**\n * How the application partitions its data — the ONE decision that shapes the whole model and\n * that no derivation can make.\n *\n * ## Why it lives on the domain plan\n *\n * It was asked by `bottom_up.foundation`, which runs AFTER the domain plan exists, and the comment\n * there described the plan as deliberately scope-free. That is true of the plan's FIELDS and false\n * of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked — a `workspace` module\n * owning a `workspace` resource, a `team-membership` module owning `workspace-member`, and `deal`\n * referencing `workspace-member` for owner assignment. The creator was then asked \"organizations or\n * users?\" afterwards, and answering `users` would have left two modules and a relationship that\n * nothing reconciles.\n *\n * So the question moves to where the decision is first USED, and the answer is carried in the\n * committed artifact rather than in a run's transient elicitation answers — it is a product\n * decision, and `.claude/rules/one-source-of-truth.md` puts those in git.\n *\n * ## Optional on this schema, required on the generation contract\n *\n * Optional so plans authored before the field still parse (wonder-crm and wonder-todos both do).\n * Required where a model answers, because a derivation that does not state its tenancy has made the\n * decision silently — which is the defect this field exists to end.\n */\nexport enum DomainPlanTenancyModel {\n /**\n * Users collaborate inside shared workspaces or teams. Enables the ORGANIZATIONS engine\n * capability and composes every resource organization-scoped.\n */\n ORGANIZATIONS = 'organizations',\n /** Every user's data is their own. User-scoped resources, no capability change. */\n USERS = 'users',\n}\n\n/**\n * THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.\n *\n * There is deliberately no separate `relationship-drafts` family any more (collapsed 2026-08-24).\n * The split was staging-era ceremony — the two were \"staged together under one output-set digest\",\n * i.e. never independently meaningful — and the validator crosses them (a relationship names module\n * resources), so landing them as two files would re-create the join this schema exists to avoid.\n * One family, one file, one committed value.\n */\nexport const DomainPlanOutputSetSchema = z.object({\n schemaVersion: z.literal(1),\n /**\n * At least one module, at the SCHEMA. The third instance of the vacuity class (after requirements and\n * build-plan): the first live parallel-portfolio run landed `modules: [], relationships: []` — valid\n * under the old `.default([])` shape — over the application's authored plan. A domain plan that plans\n * nothing is a refusal, never an artifact. (The strict generation schema always had `min(1)`; like\n * build-plan's, it has no caller in the playbook lane — the family schema is the effective gate.)\n */\n modules: z.array(ModuleBusinessSemanticsSchema).min(1),\n /** May be legitimately empty (a single-module app) — but must be AUTHORED empty, never defaulted. */\n relationships: z.array(DomainRelationshipDraftSchema),\n /**\n * How the application partitions its data. See {@link DomainPlanTenancyModel} for why it lives\n * here and why it is optional on this schema while required on the generation contract.\n */\n tenancy: z.enum(DomainPlanTenancyModel).optional(),\n});\nexport type DomainPlanOutputSet = z.infer<typeof DomainPlanOutputSetSchema>;\n"]}
@@ -1,3 +1,33 @@
1
+ import { z } from 'zod';
1
2
  import type { FamilyAspectsDeclaration } from '../family-aspects.schemas';
3
+ /** Whether a module holds a resource at its semantic centre, or in support of it. */
4
+ export declare enum DomainPlanResourceRole {
5
+ MAIN = "main",
6
+ SUPPORTING = "supporting"
7
+ }
8
+ /**
9
+ * ONE DOMAIN-PLAN RESOURCE, as the aspect registry projects it (#1482).
10
+ *
11
+ * A derived row, and the only one in the registry — see `deriveItems` on the declaration below for
12
+ * why deriving beat reshaping the family. It carries nothing the committed file does not: the
13
+ * resource NAME as authored, the module that lists it, and which of the module's two lists it came
14
+ * from. `resourceRef` is the authored string itself, so a referrer resolves against exactly what it
15
+ * was written with.
16
+ */
17
+ export declare const DomainPlanResourceProjectionSchema: z.ZodObject<{
18
+ resourceRef: z.ZodString;
19
+ moduleRef: z.ZodString;
20
+ role: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DomainPlanResourceRole>>;
21
+ }, z.core.$strip>;
22
+ export type DomainPlanResourceProjection = z.infer<typeof DomainPlanResourceProjectionSchema>;
23
+ /**
24
+ * Flatten every module's two resource lists into addressable rows.
25
+ *
26
+ * FIRST WINS on a repeat: a resource named by two modules, or in both of one module's lists, is ONE
27
+ * resource of the application, and emitting it twice would give the same name two identities and
28
+ * make a referrer's link ambiguous. The first module that lists it is the one the row reports, which
29
+ * is deterministic given a committed file.
30
+ */
31
+ export declare function projectDomainPlanResources(member: unknown): readonly DomainPlanResourceProjection[];
2
32
  export declare const DOMAIN_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration;
3
33
  //# sourceMappingURL=domain-plan.family-aspects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAK1E,eAAO,MAAM,0BAA0B,EAAE,wBA4BxC,CAAC"}
1
+ {"version":3,"file":"domain-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAK1E,qFAAqF;AACrF,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,kCAAkC;;;;iBAI7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,4BAA4B,EAAE,CAmBnG;AAED,eAAO,MAAM,0BAA0B,EAAE,wBAiExC,CAAC"}
@@ -1,7 +1,61 @@
1
- import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas.js';
1
+ import { z } from 'zod';
2
+ import { ApplicationSpecificationFamilySemanticSchemaRef } from "../application-specification-family-identity.schemas.js";
2
3
  import { FamilyAspectKind } from '../family-aspects.schemas.js';
3
4
  import { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas.js';
4
5
  import { DomainRelationshipDraftSchema } from './domain-plan-output-set.schemas.js';
6
+ /** Whether a module holds a resource at its semantic centre, or in support of it. */
7
+ export var DomainPlanResourceRole;
8
+ (function (DomainPlanResourceRole) {
9
+ DomainPlanResourceRole["MAIN"] = "main";
10
+ DomainPlanResourceRole["SUPPORTING"] = "supporting";
11
+ })(DomainPlanResourceRole || (DomainPlanResourceRole = {}));
12
+ /**
13
+ * ONE DOMAIN-PLAN RESOURCE, as the aspect registry projects it (#1482).
14
+ *
15
+ * A derived row, and the only one in the registry — see `deriveItems` on the declaration below for
16
+ * why deriving beat reshaping the family. It carries nothing the committed file does not: the
17
+ * resource NAME as authored, the module that lists it, and which of the module's two lists it came
18
+ * from. `resourceRef` is the authored string itself, so a referrer resolves against exactly what it
19
+ * was written with.
20
+ */
21
+ export const DomainPlanResourceProjectionSchema = z.object({
22
+ resourceRef: z.string().trim().min(1),
23
+ moduleRef: z.string().trim().min(1),
24
+ role: z.enum(DomainPlanResourceRole).systemEnum('DomainPlanResourceRole'),
25
+ });
26
+ /**
27
+ * Flatten every module's two resource lists into addressable rows.
28
+ *
29
+ * FIRST WINS on a repeat: a resource named by two modules, or in both of one module's lists, is ONE
30
+ * resource of the application, and emitting it twice would give the same name two identities and
31
+ * make a referrer's link ambiguous. The first module that lists it is the one the row reports, which
32
+ * is deterministic given a committed file.
33
+ */
34
+ export function projectDomainPlanResources(member) {
35
+ if (!Array.isArray(member))
36
+ return [];
37
+ const byRef = new Map();
38
+ for (const entry of member) {
39
+ const moduleItem = entry;
40
+ const moduleRef = typeof moduleItem?.relatedModuleId === 'string' ? moduleItem.relatedModuleId : '';
41
+ if (moduleRef.length === 0)
42
+ continue;
43
+ for (const [role, resources] of [
44
+ [DomainPlanResourceRole.MAIN, moduleItem?.mainResources],
45
+ [DomainPlanResourceRole.SUPPORTING, moduleItem?.supportingResources],
46
+ ]) {
47
+ if (!Array.isArray(resources))
48
+ continue;
49
+ for (const resourceRef of resources) {
50
+ if (typeof resourceRef !== 'string' || resourceRef.trim().length === 0)
51
+ continue;
52
+ if (!byRef.has(resourceRef))
53
+ byRef.set(resourceRef, { resourceRef, moduleRef, role });
54
+ }
55
+ }
56
+ }
57
+ return [...byRef.values()];
58
+ }
5
59
  export const DOMAIN_PLAN_FAMILY_ASPECTS = {
6
60
  schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.DOMAIN_PLAN_OUTPUT_SET,
7
61
  aspects: [
@@ -13,6 +67,44 @@ export const DOMAIN_PLAN_FAMILY_ASPECTS = {
13
67
  businessKey: 'relatedModuleId',
14
68
  headlineField: 'relatedModuleId',
15
69
  edges: [],
70
+ nonEdgeRefFields: {
71
+ /*
72
+ * A module's own resource lists are plain strings, and the aspect that makes them
73
+ * addressable is `domain-plan.resource` below — derived from this same member. Declared here
74
+ * rather than left silent because the drift pin would otherwise have nothing to say about
75
+ * fields that ARE references, just not from this row.
76
+ */
77
+ mainResources: 'resource NAMES at the module’s semantic centre — addressable as `domain-plan.resource`, derived from this same member',
78
+ supportingResources: 'resource NAMES supporting the module — addressable as `domain-plan.resource`, derived from this same member',
79
+ },
80
+ },
81
+ {
82
+ /**
83
+ * THE UNIT EVERY OTHER FAMILY POINTS AT (#1482).
84
+ *
85
+ * A build task's `target.resourceRef` resolved 24 of 24 on Wonder CRM — against these
86
+ * strings — and had to be declared a non-edge because they had no identity. Same for
87
+ * `produces.resourceRef` and a placement decision's `subject.resourceRef`. The single
88
+ * most-travelled link in the build lane was the one RELATED could not follow.
89
+ */
90
+ key: 'domain-plan.resource',
91
+ // The SAME member as the module aspect, read through a projection rather than as itself.
92
+ snapshotPath: 'modules',
93
+ kind: FamilyAspectKind.COLLECTION,
94
+ deriveItems: projectDomainPlanResources,
95
+ itemSchema: DomainPlanResourceProjectionSchema,
96
+ businessKey: 'resourceRef',
97
+ /*
98
+ * The resource NAME, and deliberately not a sentence: a domain plan states a module's purpose
99
+ * and never a resource's, so there is no prose to head on. The name is what every referrer
100
+ * writes and what a reader calls it, which is what a map line is for.
101
+ */
102
+ headlineField: 'resourceRef',
103
+ edges: [
104
+ // Back to the module that lists it — the one edge a projected row can carry, and the one
105
+ // that makes RELATED from a build task reach the module as well as the resource.
106
+ { field: 'moduleRef', targetAspects: ['domain-plan.module'] },
107
+ ],
16
108
  },
17
109
  {
18
110
  key: 'domain-plan.relationship',
@@ -21,11 +113,12 @@ export const DOMAIN_PLAN_FAMILY_ASPECTS = {
21
113
  itemSchema: DomainRelationshipDraftSchema,
22
114
  businessKey: 'relationshipRef',
23
115
  headlineField: 'relationshipRef',
24
- edges: [],
25
- nonEdgeRefFields: {
26
- sourceResourceRef: "an APPLICATION domain resource — the workbench's domain-model introspection surface, not a family aspect",
27
- targetResourceRef: "an APPLICATION domain resource — same surface as sourceResourceRef",
28
- },
116
+ edges: [
117
+ // The two resources a relationship draft joins, addressable since #1482. They were stated
118
+ // non-edges for exactly one reason — there was no aspect to point at — and that reason is gone.
119
+ { field: 'sourceResourceRef', targetAspects: ['domain-plan.resource'] },
120
+ { field: 'targetResourceRef', targetAspects: ['domain-plan.resource'] },
121
+ ],
29
122
  },
30
123
  ],
31
124
  };
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,mGAAmG,CAAC;AAEpK,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,MAAM,CAAC,MAAM,0BAA0B,GAA6B;IAClE,SAAS,EAAE,+CAA+C,CAAC,sBAAsB;IACjF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,oBAAoB;YACzB,YAAY,EAAE,SAAS;YACvB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,6BAA6B;YACzC,WAAW,EAAE,iBAAiB;YAC9B,aAAa,EAAE,iBAAiB;YAChC,KAAK,EAAE,EAAE;SACV;QACD;YACE,GAAG,EAAE,0BAA0B;YAC/B,YAAY,EAAE,eAAe;YAC7B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,6BAA6B;YACzC,WAAW,EAAE,iBAAiB;YAC9B,aAAa,EAAE,iBAAiB;YAChC,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,iBAAiB,EACf,0GAA0G;gBAC5G,iBAAiB,EACf,oEAAoE;aACvE;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\nimport { DomainRelationshipDraftSchema } from './domain-plan-output-set.schemas';\n\nexport const DOMAIN_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.DOMAIN_PLAN_OUTPUT_SET,\n aspects: [\n {\n key: 'domain-plan.module',\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ModuleBusinessSemanticsSchema,\n businessKey: 'relatedModuleId',\n headlineField: 'relatedModuleId',\n edges: [],\n },\n {\n key: 'domain-plan.relationship',\n snapshotPath: 'relationships',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: DomainRelationshipDraftSchema,\n businessKey: 'relationshipRef',\n headlineField: 'relationshipRef',\n edges: [],\n nonEdgeRefFields: {\n sourceResourceRef:\n \"an APPLICATION domain resource — the workbench's domain-model introspection surface, not a family aspect\",\n targetResourceRef:\n \"an APPLICATION domain resource — same surface as sourceResourceRef\",\n },\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"domain-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE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;YAC1B;;;;eAIG;YACH,aAAa,EAAE,aAAa;YAC5B,KAAK,EAAE;gBACL,yFAAyF;gBACzF,iFAAiF;gBACjF,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,oBAAoB,CAAC,EAAE;aAC9D;SACF;QACD;YACE,GAAG,EAAE,0BAA0B;YAC/B,YAAY,EAAE,eAAe;YAC7B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,6BAA6B;YACzC,WAAW,EAAE,iBAAiB;YAC9B,aAAa,EAAE,iBAAiB;YAChC,KAAK,EAAE;gBACL,0FAA0F;gBAC1F,gGAAgG;gBAChG,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACvE,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { ModuleBusinessSemanticsSchema, type ModuleBusinessSemantics } from '../business-semantics.specifications.schemas';\nimport { DomainRelationshipDraftSchema } from './domain-plan-output-set.schemas';\n\n/** Whether a module holds a resource at its semantic centre, or in support of it. */\nexport enum DomainPlanResourceRole {\n MAIN = 'main',\n SUPPORTING = 'supporting',\n}\n\n/**\n * ONE DOMAIN-PLAN RESOURCE, as the aspect registry projects it (#1482).\n *\n * A derived row, and the only one in the registry — see `deriveItems` on the declaration below for\n * why deriving beat reshaping the family. It carries nothing the committed file does not: the\n * resource NAME as authored, the module that lists it, and which of the module's two lists it came\n * from. `resourceRef` is the authored string itself, so a referrer resolves against exactly what it\n * was written with.\n */\nexport const DomainPlanResourceProjectionSchema = z.object({\n resourceRef: z.string().trim().min(1),\n moduleRef: z.string().trim().min(1),\n role: z.enum(DomainPlanResourceRole).systemEnum('DomainPlanResourceRole'),\n});\nexport type DomainPlanResourceProjection = z.infer<typeof DomainPlanResourceProjectionSchema>;\n\n/**\n * Flatten every module's two resource lists into addressable rows.\n *\n * FIRST WINS on a repeat: a resource named by two modules, or in both of one module's lists, is ONE\n * resource of the application, and emitting it twice would give the same name two identities and\n * make a referrer's link ambiguous. The first module that lists it is the one the row reports, which\n * is deterministic given a committed file.\n */\nexport function projectDomainPlanResources(member: unknown): readonly DomainPlanResourceProjection[] {\n if (!Array.isArray(member)) return [];\n const byRef = new Map<string, DomainPlanResourceProjection>();\n for (const entry of member) {\n const moduleItem = entry as Partial<ModuleBusinessSemantics> | null;\n const moduleRef = typeof moduleItem?.relatedModuleId === 'string' ? moduleItem.relatedModuleId : '';\n if (moduleRef.length === 0) continue;\n for (const [role, resources] of [\n [DomainPlanResourceRole.MAIN, moduleItem?.mainResources],\n [DomainPlanResourceRole.SUPPORTING, moduleItem?.supportingResources],\n ] as const) {\n if (!Array.isArray(resources)) continue;\n for (const resourceRef of resources) {\n if (typeof resourceRef !== 'string' || resourceRef.trim().length === 0) continue;\n if (!byRef.has(resourceRef)) byRef.set(resourceRef, { resourceRef, moduleRef, role });\n }\n }\n }\n return [...byRef.values()];\n}\n\nexport const DOMAIN_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.DOMAIN_PLAN_OUTPUT_SET,\n aspects: [\n {\n key: 'domain-plan.module',\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ModuleBusinessSemanticsSchema,\n businessKey: 'relatedModuleId',\n headlineField: 'relatedModuleId',\n edges: [],\n nonEdgeRefFields: {\n /*\n * A module's own resource lists are plain strings, and the aspect that makes them\n * addressable is `domain-plan.resource` below — derived from this same member. Declared here\n * rather than left silent because the drift pin would otherwise have nothing to say about\n * fields that ARE references, just not from this row.\n */\n mainResources: 'resource NAMES at the module’s semantic centre — addressable as `domain-plan.resource`, derived from this same member',\n supportingResources: 'resource NAMES supporting the module — addressable as `domain-plan.resource`, derived from this same member',\n },\n },\n {\n /**\n * THE UNIT EVERY OTHER FAMILY POINTS AT (#1482).\n *\n * A build task's `target.resourceRef` resolved 24 of 24 on Wonder CRM — against these\n * strings — and had to be declared a non-edge because they had no identity. Same for\n * `produces.resourceRef` and a placement decision's `subject.resourceRef`. The single\n * most-travelled link in the build lane was the one RELATED could not follow.\n */\n key: 'domain-plan.resource',\n // The SAME member as the module aspect, read through a projection rather than as itself.\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n deriveItems: projectDomainPlanResources,\n itemSchema: DomainPlanResourceProjectionSchema,\n businessKey: 'resourceRef',\n /*\n * The resource NAME, and deliberately not a sentence: a domain plan states a module's purpose\n * and never a resource's, so there is no prose to head on. The name is what every referrer\n * writes and what a reader calls it, which is what a map line is for.\n */\n headlineField: 'resourceRef',\n edges: [\n // Back to the module that lists it — the one edge a projected row can carry, and the one\n // that makes RELATED from a build task reach the module as well as the resource.\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n ],\n },\n {\n key: 'domain-plan.relationship',\n snapshotPath: 'relationships',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: DomainRelationshipDraftSchema,\n businessKey: 'relationshipRef',\n headlineField: 'relationshipRef',\n edges: [\n // The two resources a relationship draft joins, addressable since #1482. They were stated\n // non-edges for exactly one reason — there was no aspect to point at — and that reason is gone.\n { field: 'sourceResourceRef', targetAspects: ['domain-plan.resource'] },\n { field: 'targetResourceRef', targetAspects: ['domain-plan.resource'] },\n ],\n },\n ],\n};\n"]}
@@ -0,0 +1,58 @@
1
+ import { z } from 'zod';
2
+ import { FrontendConfigSurface } from '../build-plan/build-plan-task-graph.schemas';
3
+ import { ExperienceViewKind, type ExperiencePlan } from './experience-plan.schemas';
4
+ /**
5
+ * Strict provider-facing view. The provider supplies a stable semantic slug; the trusted runtime
6
+ * stamps the canonical view-ref prefix and the payload version.
7
+ *
8
+ * No path, component file name or import is representable here — by construction. The plan decides
9
+ * WHICH surfaces exist and what they reuse; the coding agent that writes
10
+ * `<Resource>CompositeView.tsx` decides how, guided by the skill the view's KIND names.
11
+ */
12
+ export declare const ExperienceViewGenerationSchema: z.ZodObject<{
13
+ slug: z.ZodString;
14
+ kind: z.ZodEnum<typeof ExperienceViewKind>;
15
+ moduleRef: z.ZodString;
16
+ resourceRef: z.ZodOptional<z.ZodString>;
17
+ purpose: z.ZodString;
18
+ reusesComponentRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
19
+ servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
20
+ }, z.core.$strict>;
21
+ export type ExperienceViewGeneration = z.infer<typeof ExperienceViewGenerationSchema>;
22
+ /** One complete provider response for the experience-plan family. */
23
+ export declare const ExperiencePlanGenerationSchema: z.ZodObject<{
24
+ views: z.ZodDefault<z.ZodArray<z.ZodObject<{
25
+ slug: z.ZodString;
26
+ kind: z.ZodEnum<typeof ExperienceViewKind>;
27
+ moduleRef: z.ZodString;
28
+ resourceRef: z.ZodOptional<z.ZodString>;
29
+ purpose: z.ZodString;
30
+ reusesComponentRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
31
+ servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
32
+ }, z.core.$strict>>>;
33
+ configurations: z.ZodArray<z.ZodObject<{
34
+ surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof FrontendConfigSurface>>;
35
+ declarationRefs: z.ZodArray<z.ZodString>;
36
+ rationale: z.ZodString;
37
+ }, z.core.$strict>>;
38
+ milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
39
+ milestoneRef: z.ZodString;
40
+ moduleRef: z.ZodString;
41
+ triggerResourceRef: z.ZodString;
42
+ purpose: z.ZodString;
43
+ servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
44
+ }, z.core.$strict>>>;
45
+ guidance: z.ZodDefault<z.ZodArray<z.ZodObject<{
46
+ guidanceRef: z.ZodString;
47
+ kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").ApplicationGuidanceKind>>;
48
+ moduleRef: z.ZodString;
49
+ hostViewRef: z.ZodOptional<z.ZodString>;
50
+ purpose: z.ZodString;
51
+ gatedByMilestoneRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
52
+ servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
53
+ }, z.core.$strict>>>;
54
+ }, z.core.$strict>;
55
+ export type ExperiencePlanGeneration = z.infer<typeof ExperiencePlanGenerationSchema>;
56
+ /** Normalize strict provider output into the persisted family (stamping refs and version). */
57
+ export declare function parseExperiencePlanGeneration(input: unknown): ExperiencePlan;
58
+ //# sourceMappingURL=experience-plan-generation.schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experience-plan-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAOL,kBAAkB,EAClB,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAKnC;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;kBAQzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,qEAAqE;AACrE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyBzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,8FAA8F;AAC9F,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAiB5E"}