@wildo-ai/saas-specifications 1.1.9 → 1.1.11

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 (928) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/index.js +1 -1
  6. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
  7. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
  8. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
  9. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  10. package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
  11. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  12. package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
  13. package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
  14. package/dist/esm/_core/brand/brand-name-choice.js +144 -24
  15. package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
  16. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
  17. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
  19. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
  20. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
  21. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
  22. package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
  23. package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
  24. package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
  25. package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
  26. package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
  27. package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
  28. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
  29. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
  31. package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
  32. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
  33. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
  35. package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
  36. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
  37. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
  39. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  40. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
  41. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  42. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
  43. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  44. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
  45. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  46. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
  47. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  48. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
  49. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
  51. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  52. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
  53. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  54. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
  55. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  56. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
  57. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
  59. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
  61. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  62. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
  63. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  64. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
  65. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  66. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
  67. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
  68. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
  69. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
  70. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
  71. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
  73. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  74. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
  75. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
  77. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
  78. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
  79. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
  81. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  82. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
  83. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
  84. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
  85. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
  86. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
  87. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
  88. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
  89. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
  90. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
  91. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  92. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
  93. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  94. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
  95. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
  96. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
  97. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
  98. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
  100. package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
  101. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
  102. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
  104. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
  105. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
  106. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  107. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
  108. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
  109. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
  110. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
  112. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  113. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
  114. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  115. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
  116. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  117. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
  118. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
  120. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
  121. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
  122. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
  123. package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
  124. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
  125. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
  126. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
  127. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
  128. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
  129. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
  131. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  132. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
  133. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
  135. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  136. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  137. package/dist/esm/_core/family-aspects.registry.js +2 -0
  138. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  139. package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
  140. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/family-aspects.schemas.js +20 -0
  142. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  143. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
  144. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
  145. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  146. package/dist/esm/_core/index.d.ts +6 -0
  147. package/dist/esm/_core/index.d.ts.map +1 -1
  148. package/dist/esm/_core/index.js +6 -0
  149. package/dist/esm/_core/index.js.map +1 -1
  150. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
  151. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  153. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
  154. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  155. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
  156. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
  158. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  159. package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
  160. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  161. package/dist/esm/_core/market/market-references.schemas.js +13 -1
  162. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  163. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
  164. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
  166. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  167. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  168. package/dist/esm/_core/market/market.family-aspects.js +4 -1
  169. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  170. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
  171. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  172. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
  173. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  174. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
  175. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  176. package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
  177. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  178. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  179. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
  180. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  181. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
  182. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  183. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
  184. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  185. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
  186. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
  188. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  189. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
  190. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  191. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
  192. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
  193. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
  194. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
  195. package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
  196. package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
  197. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
  198. package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
  199. package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
  200. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
  201. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  202. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
  203. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  204. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
  205. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  206. package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
  207. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  208. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
  209. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  210. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
  211. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
  212. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  213. package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
  214. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  215. package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
  216. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/resource-specification.schemas.js +73 -13
  218. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  219. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
  220. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  221. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
  222. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
  223. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
  224. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  225. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
  226. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  227. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
  228. package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
  229. package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
  230. package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
  231. package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
  232. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
  233. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
  234. package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
  235. package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
  236. package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
  237. package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
  238. package/dist/esm/_core/service-method/service-method-validation.js +75 -0
  239. package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
  240. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
  241. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
  242. package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
  243. package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
  244. package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
  245. package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
  246. package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
  247. package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
  248. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
  249. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
  250. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
  251. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
  252. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
  253. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
  254. package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
  255. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
  256. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
  257. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
  258. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
  259. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
  260. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  261. package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
  262. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  263. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
  264. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
  265. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
  266. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
  267. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
  268. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  269. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
  270. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  271. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
  272. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  273. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
  274. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  275. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
  276. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
  277. package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
  278. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
  279. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
  280. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  281. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
  282. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
  283. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
  284. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  285. package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
  286. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  287. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
  288. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  289. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
  290. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  291. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
  292. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  293. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
  294. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  295. package/dist/esm/application-creation.exports.d.ts +7 -0
  296. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  297. package/dist/esm/application-creation.exports.js +7 -0
  298. package/dist/esm/application-creation.exports.js.map +1 -1
  299. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
  300. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
  301. package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
  302. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
  303. package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
  304. package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
  305. package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
  306. package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
  307. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
  308. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  309. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
  310. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  311. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
  312. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  313. package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
  314. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  315. package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
  316. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  317. package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
  318. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  319. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
  320. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  321. package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
  322. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  323. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
  324. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
  325. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
  326. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
  327. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  328. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
  329. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  330. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
  331. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
  332. package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
  333. package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
  334. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
  335. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  336. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
  337. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  338. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
  339. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
  340. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
  341. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
  342. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
  343. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
  344. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
  345. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
  346. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
  347. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  348. package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
  349. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  350. package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
  351. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  352. package/dist/esm/assurance/assurance-program.schemas.js +255 -14
  353. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  354. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
  355. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  356. package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
  357. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  358. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
  359. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
  360. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
  361. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
  362. package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
  363. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  364. package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
  365. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  366. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  367. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
  368. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  369. package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
  370. package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
  371. package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
  372. package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
  373. package/dist/esm/assurance/governed-document-release.d.ts +15 -1
  374. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  375. package/dist/esm/assurance/governed-document-release.js +3 -1
  376. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  377. package/dist/esm/assurance.exports.d.ts +4 -0
  378. package/dist/esm/assurance.exports.d.ts.map +1 -1
  379. package/dist/esm/assurance.exports.js +4 -0
  380. package/dist/esm/assurance.exports.js.map +1 -1
  381. package/dist/esm/companion-exports.d.ts +9 -1
  382. package/dist/esm/companion-exports.d.ts.map +1 -1
  383. package/dist/esm/companion-exports.js.map +1 -1
  384. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
  385. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
  387. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
  390. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
  392. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
  394. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  395. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
  396. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  397. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  398. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  399. package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
  400. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  401. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
  402. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  403. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
  404. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  405. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
  406. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
  408. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  409. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
  410. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
  412. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  413. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
  414. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  415. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
  416. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  417. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
  418. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  419. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
  420. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  421. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
  422. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  423. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
  424. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  425. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
  426. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  427. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
  428. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  429. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  430. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  431. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
  432. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  433. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
  435. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  436. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
  437. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
  438. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  439. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
  440. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  441. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  442. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
  443. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  444. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
  445. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
  447. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  448. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
  449. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  450. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
  451. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  452. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
  453. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
  455. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  456. package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
  457. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  458. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  459. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  460. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
  461. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  462. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
  463. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  464. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
  465. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
  466. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  467. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
  468. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
  470. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
  472. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
  474. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  475. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
  476. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
  477. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
  478. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
  479. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
  480. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
  482. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  483. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
  484. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
  486. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
  487. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
  488. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
  489. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
  490. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
  491. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
  492. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  494. package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
  495. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  496. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/errors/error-messages.specification.js +300 -5
  498. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  499. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
  500. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  501. package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
  502. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  503. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
  505. package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
  506. package/dist/esm/engine/features/index.d.ts +4 -2
  507. package/dist/esm/engine/features/index.d.ts.map +1 -1
  508. package/dist/esm/engine/features/index.js +6 -4
  509. package/dist/esm/engine/features/index.js.map +1 -1
  510. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
  511. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  512. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
  514. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  515. package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
  516. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
  518. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  519. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  520. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
  521. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  522. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
  523. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  524. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
  525. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
  526. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
  527. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
  528. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
  529. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
  530. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
  531. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
  532. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
  533. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
  534. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
  535. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
  536. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
  537. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
  539. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
  540. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
  542. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
  543. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
  544. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
  545. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
  546. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
  547. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
  548. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
  549. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
  550. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
  551. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
  552. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
  554. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  555. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
  556. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
  558. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  559. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
  560. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
  561. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
  562. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
  563. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
  565. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
  566. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
  568. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
  569. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
  570. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
  571. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
  572. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
  573. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
  574. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
  575. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
  576. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
  577. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
  578. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
  579. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
  580. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
  581. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
  582. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
  583. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
  584. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
  585. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
  586. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
  587. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
  588. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
  589. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
  591. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  592. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
  594. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
  595. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
  596. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
  597. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
  598. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
  599. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
  601. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
  602. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
  603. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  604. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
  606. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
  607. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
  609. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
  610. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
  611. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
  612. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
  613. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
  614. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
  615. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
  616. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
  617. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
  618. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
  619. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
  620. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
  622. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  623. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
  624. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  625. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
  626. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
  628. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
  629. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
  630. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
  632. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
  633. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
  634. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
  635. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
  636. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
  637. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
  638. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
  639. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
  641. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  642. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
  644. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  645. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
  646. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
  647. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
  648. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
  649. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
  650. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  651. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
  652. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
  653. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
  654. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  655. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
  657. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
  658. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
  659. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
  660. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  661. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  662. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
  663. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  664. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
  665. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
  666. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
  667. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
  668. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
  669. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
  670. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
  671. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
  672. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
  673. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
  674. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
  675. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
  676. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
  677. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
  678. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
  679. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
  680. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
  681. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
  682. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
  683. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
  684. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
  685. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
  686. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
  687. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
  688. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
  689. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
  690. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
  691. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
  692. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
  693. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
  694. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
  695. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  696. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
  698. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
  699. package/dist/esm/engine/frontend-components/index.d.ts +7 -0
  700. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  701. package/dist/esm/engine/frontend-components/index.js +29 -0
  702. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  703. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
  704. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
  705. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
  707. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
  708. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
  709. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
  710. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
  711. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
  712. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
  713. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
  714. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
  715. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
  716. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
  717. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
  718. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
  720. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  721. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
  722. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
  723. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
  724. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
  725. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  726. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
  727. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
  729. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
  730. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
  731. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
  732. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
  734. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
  735. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
  737. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
  738. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
  739. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
  740. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
  741. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
  742. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  743. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
  744. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
  745. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
  746. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
  747. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
  748. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
  749. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
  750. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
  752. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  753. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
  755. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
  756. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
  757. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  758. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
  759. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  760. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  761. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
  762. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
  763. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
  764. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
  765. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
  766. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
  767. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
  768. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  769. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
  770. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
  771. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
  772. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
  773. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
  774. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
  775. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
  776. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
  777. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
  778. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
  779. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
  781. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
  783. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
  784. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
  785. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
  787. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
  788. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
  789. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
  791. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  792. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
  793. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
  794. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  795. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
  796. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  797. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
  798. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
  800. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
  801. package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
  802. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  803. package/dist/esm/engine/notifications/system-emails/index.js +1 -3
  804. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  805. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
  806. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
  808. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
  809. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
  810. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  811. package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
  812. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  813. package/dist/esm/engine/organizations/resources/index.js +1 -2
  814. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  815. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
  816. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
  818. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  819. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
  820. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
  822. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  823. package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
  824. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
  825. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
  826. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
  827. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
  828. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
  830. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  831. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
  832. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  833. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
  834. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
  836. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  837. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
  838. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
  839. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
  840. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
  841. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/providers/github.provider.specification.js +8 -5
  843. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  844. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
  845. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
  846. package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
  847. package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
  848. package/dist/esm/engine/providers/index.d.ts +2 -0
  849. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  850. package/dist/esm/engine/providers/index.js +5 -1
  851. package/dist/esm/engine/providers/index.js.map +1 -1
  852. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
  853. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
  854. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
  855. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
  856. package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
  857. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  858. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
  860. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  861. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
  862. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
  863. package/dist/esm/engine/roles/index.d.ts +2 -2
  864. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  865. package/dist/esm/engine/roles/index.js +5 -5
  866. package/dist/esm/engine/roles/index.js.map +1 -1
  867. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
  868. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
  869. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
  870. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
  871. package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
  872. package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
  873. package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
  874. package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
  875. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
  876. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  877. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
  878. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  879. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
  880. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  881. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  882. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
  883. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  884. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  885. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  886. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
  887. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  888. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
  889. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  890. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
  891. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  892. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
  893. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  894. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
  895. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  896. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
  897. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  898. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
  899. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  900. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
  901. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  902. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  903. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
  905. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  906. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
  907. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  908. package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
  909. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  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 +17 -15
  912. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  913. package/package.json +8 -8
  914. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
  915. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
  916. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
  917. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
  918. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
  919. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
  920. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
  921. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
  922. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
  923. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
  924. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
  925. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
  926. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
  927. package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
  928. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"non-functional-requirement.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/non-functional-requirement.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAE9F;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,4BA6BX;AA7BD,WAAY,4BAA4B;IACtC,kDAAkD;IAClD,2DAA2B,CAAA;IAC3B,mEAAmE;IACnE,2DAA2B,CAAA;IAC3B,4EAA4E;IAC5E,2DAA2B,CAAA;IAC3B,0DAA0D;IAC1D,6DAA6B,CAAA;IAC7B,kEAAkE;IAClE,qDAAqB,CAAA;IACrB;;;;OAIG;IACH,yDAAyB,CAAA;IACzB,mEAAmE;IACnE,uDAAuB,CAAA;IACvB,iEAAiE;IACjE,+DAA+B,CAAA;IAC/B,8DAA8D;IAC9D,mEAAmC,CAAA;IACnC,uEAAuE;IACvE,+DAA+B,CAAA;IAC/B,kEAAkE;IAClE,2DAA2B,CAAA;IAC3B,oDAAoD;IACpD,+CAAe,CAAA;AACjB,CAAC,EA7BW,4BAA4B,KAA5B,4BAA4B,QA6BvC;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,gEAAgE;IAChE,GAAG,EAAE,iCAAiC;IACtC,8EAA8E;IAC9E,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC;IAC1C,qDAAqD;IACrD,SAAS,EAAE,oBAAoB;IAC/B;;;;OAIG;IACH,MAAM,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACvC,wEAAwE;IACxE,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7D;;;;;OAKG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACjD;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACjD,gDAAgD;IAChD,QAAQ,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAEH,4EAA4E","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { NonFunctionalRequirementRefSchema } from './requirements-references.schemas';\nimport { RequirementsAuthoredMetadataSchema } from './requirements-authored-metadata.schemas';\n\n/**\n * @wildo_source:part:start requirements.non-functional-requirement.config facet:layer:specification facet:family:requirements\n *\n * One **non-functional requirement** (NFR) — a quality the product must\n * exhibit, as opposed to a capability it must provide (that is a\n * `FunctionalRequirementConfig`). A ref-addressable collection entity on\n * `RequirementsSnapshot` (`nfr-<slug>`).\n *\n * `kind` classifies the NFR onto a standard quality axis so downstream\n * surfaces can route it — most importantly, `COMPLIANCE` NFRs are\n * consumed alongside the vision family's compliance CONSTRAINTS by the\n * top-down compliance-posture playbook (U10). At scaffold depth an NFR is\n * a `kind` + a prose `statement` (\"p95 API latency under 200ms\") + an\n * optional prose `metric` and `acceptanceCriteria` — the DEEP\n * quality-attribute taxonomy (per-axis obligation models, measurement\n * wiring, budget allocation, ISO/IEC 25010 sub-characteristics) is a\n * Phase-J2 concern and must NOT be modelled here (breadth before depth).\n */\n\n/**\n * The quality axis a non-functional requirement targets. Fixed\n * vocabulary (enum, per project rule — enums over literal unions),\n * covering the standard NFR / quality-attribute axes at scaffold depth.\n * `COMPLIANCE` is called out as its own member — not folded into\n * `SECURITY` — because it is the seam the compliance-posture playbook\n * (U10) selects on. Deliberately NOT exhaustive of a formal\n * quality-model taxonomy; `OTHER` catches axes the fixed buckets miss.\n */\nexport enum NonFunctionalRequirementKind {\n /** Latency, throughput, response-time budgets. */\n PERFORMANCE = 'performance',\n /** Ability to grow with load / data / tenants without redesign. */\n SCALABILITY = 'scalability',\n /** Correctness under failure — durability, consistency, fault tolerance. */\n RELIABILITY = 'reliability',\n /** Uptime / SLA — the system is reachable when needed. */\n AVAILABILITY = 'availability',\n /** Confidentiality, integrity, authn/authz, threat resistance. */\n SECURITY = 'security',\n /**\n * Legal / regulatory obligations expressed as a product quality\n * (privacy law, health-data rules, assurance commitments, data residency, sector rules). The seam U10\n * reads alongside vision compliance constraints.\n */\n COMPLIANCE = 'compliance',\n /** Ease of use, learnability, task efficiency for the end user. */\n USABILITY = 'usability',\n /** Access for users with disabilities (WCAG, assistive tech). */\n ACCESSIBILITY = 'accessibility',\n /** Ease of change — code quality, modularity, testability. */\n MAINTAINABILITY = 'maintainability',\n /** Ability to understand runtime behaviour — logs, metrics, traces. */\n OBSERVABILITY = 'observability',\n /** Ability to run across environments / platforms / providers. */\n PORTABILITY = 'portability',\n /** Anything the fixed axes above do not capture. */\n OTHER = 'other',\n}\n\nexport const NonFunctionalRequirementConfigSchema = z.object({\n /** Spec identity — kebab-case, `nfr-` prefixed (never `id`). */\n ref: NonFunctionalRequirementRefSchema,\n /** The quality axis this NFR targets — see `NonFunctionalRequirementKind`. */\n kind: z.enum(NonFunctionalRequirementKind),\n /** The required quality, in one or two sentences. */\n statement: NonEmptyStringSchema,\n /**\n * How the quality is measured — free prose at scaffold depth\n * (\"p95 latency\", \"error budget %\"). A typed metric taxonomy is a\n * Phase-J2 concern.\n */\n metric: NonEmptyStringSchema.optional(),\n /** Prose \"done\" statements the delivered quality is checked against. */\n acceptanceCriteria: z.array(NonEmptyStringSchema).default([]),\n /**\n * Optional cross-references to market ICP segments this NFR serves\n * (e.g. an EU-data-residency NFR bound to an EU ICP). Flat opaque\n * strings (the catalog resolves them; the market schemas are not\n * imported here).\n */\n icpRefs: z.array(NonEmptyStringSchema).optional(),\n /**\n * Optional cross-references to market jobs-to-be-done this NFR\n * supports. Flat opaque strings (see `icpRefs`).\n */\n jobRefs: z.array(NonEmptyStringSchema).optional(),\n /** Optional per-entity authoring provenance. */\n authored: RequirementsAuthoredMetadataSchema.optional(),\n});\nexport type NonFunctionalRequirementConfig = z.infer<typeof NonFunctionalRequirementConfigSchema>;\n/** @wildo_source:part:end requirements.non-functional-requirement.config */\n"]}
1
+ {"version":3,"file":"non-functional-requirement.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/non-functional-requirement.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAE9F;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,4BA6BX;AA7BD,WAAY,4BAA4B;IACtC,kDAAkD;IAClD,2DAA2B,CAAA;IAC3B,mEAAmE;IACnE,2DAA2B,CAAA;IAC3B,4EAA4E;IAC5E,2DAA2B,CAAA;IAC3B,0DAA0D;IAC1D,6DAA6B,CAAA;IAC7B,kEAAkE;IAClE,qDAAqB,CAAA;IACrB;;;;OAIG;IACH,yDAAyB,CAAA;IACzB,mEAAmE;IACnE,uDAAuB,CAAA;IACvB,iEAAiE;IACjE,+DAA+B,CAAA;IAC/B,8DAA8D;IAC9D,mEAAmC,CAAA;IACnC,uEAAuE;IACvE,+DAA+B,CAAA;IAC/B,kEAAkE;IAClE,2DAA2B,CAAA;IAC3B,oDAAoD;IACpD,+CAAe,CAAA;AACjB,CAAC,EA7BW,4BAA4B,KAA5B,4BAA4B,QA6BvC;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,gEAAgE;IAChE,GAAG,EAAE,iCAAiC;IACtC,8EAA8E;IAC9E,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC;IAC1C,qDAAqD;IACrD,SAAS,EAAE,oBAAoB;IAC/B;;;;OAIG;IACH,MAAM,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACvC,wEAAwE;IACxE,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7D;;;;;OAKG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACjD;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACjD,mHAAmH;IACnH,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IAClD,gDAAgD;IAChD,QAAQ,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAEH,4EAA4E","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { NonFunctionalRequirementRefSchema } from './requirements-references.schemas';\nimport { RequirementsAuthoredMetadataSchema } from './requirements-authored-metadata.schemas';\n\n/**\n * @wildo_source:part:start requirements.non-functional-requirement.config facet:layer:specification facet:family:requirements\n *\n * One **non-functional requirement** (NFR) — a quality the product must\n * exhibit, as opposed to a capability it must provide (that is a\n * `FunctionalRequirementConfig`). A ref-addressable collection entity on\n * `RequirementsSnapshot` (`nfr-<slug>`).\n *\n * `kind` classifies the NFR onto a standard quality axis so downstream\n * surfaces can route it — most importantly, `COMPLIANCE` NFRs are\n * consumed alongside the vision family's compliance CONSTRAINTS by the\n * top-down compliance-posture playbook (U10). At scaffold depth an NFR is\n * a `kind` + a prose `statement` (\"p95 API latency under 200ms\") + an\n * optional prose `metric` and `acceptanceCriteria` — the DEEP\n * quality-attribute taxonomy (per-axis obligation models, measurement\n * wiring, budget allocation, ISO/IEC 25010 sub-characteristics) is a\n * Phase-J2 concern and must NOT be modelled here (breadth before depth).\n */\n\n/**\n * The quality axis a non-functional requirement targets. Fixed\n * vocabulary (enum, per project rule — enums over literal unions),\n * covering the standard NFR / quality-attribute axes at scaffold depth.\n * `COMPLIANCE` is called out as its own member — not folded into\n * `SECURITY` — because it is the seam the compliance-posture playbook\n * (U10) selects on. Deliberately NOT exhaustive of a formal\n * quality-model taxonomy; `OTHER` catches axes the fixed buckets miss.\n */\nexport enum NonFunctionalRequirementKind {\n /** Latency, throughput, response-time budgets. */\n PERFORMANCE = 'performance',\n /** Ability to grow with load / data / tenants without redesign. */\n SCALABILITY = 'scalability',\n /** Correctness under failure — durability, consistency, fault tolerance. */\n RELIABILITY = 'reliability',\n /** Uptime / SLA — the system is reachable when needed. */\n AVAILABILITY = 'availability',\n /** Confidentiality, integrity, authn/authz, threat resistance. */\n SECURITY = 'security',\n /**\n * Legal / regulatory obligations expressed as a product quality\n * (privacy law, health-data rules, assurance commitments, data residency, sector rules). The seam U10\n * reads alongside vision compliance constraints.\n */\n COMPLIANCE = 'compliance',\n /** Ease of use, learnability, task efficiency for the end user. */\n USABILITY = 'usability',\n /** Access for users with disabilities (WCAG, assistive tech). */\n ACCESSIBILITY = 'accessibility',\n /** Ease of change — code quality, modularity, testability. */\n MAINTAINABILITY = 'maintainability',\n /** Ability to understand runtime behaviour — logs, metrics, traces. */\n OBSERVABILITY = 'observability',\n /** Ability to run across environments / platforms / providers. */\n PORTABILITY = 'portability',\n /** Anything the fixed axes above do not capture. */\n OTHER = 'other',\n}\n\nexport const NonFunctionalRequirementConfigSchema = z.object({\n /** Spec identity — kebab-case, `nfr-` prefixed (never `id`). */\n ref: NonFunctionalRequirementRefSchema,\n /** The quality axis this NFR targets — see `NonFunctionalRequirementKind`. */\n kind: z.enum(NonFunctionalRequirementKind),\n /** The required quality, in one or two sentences. */\n statement: NonEmptyStringSchema,\n /**\n * How the quality is measured — free prose at scaffold depth\n * (\"p95 latency\", \"error budget %\"). A typed metric taxonomy is a\n * Phase-J2 concern.\n */\n metric: NonEmptyStringSchema.optional(),\n /** Prose \"done\" statements the delivered quality is checked against. */\n acceptanceCriteria: z.array(NonEmptyStringSchema).default([]),\n /**\n * Optional cross-references to market ICP segments this NFR serves\n * (e.g. an EU-data-residency NFR bound to an EU ICP). Flat opaque\n * strings (the catalog resolves them; the market schemas are not\n * imported here).\n */\n icpRefs: z.array(NonEmptyStringSchema).optional(),\n /**\n * Optional cross-references to market jobs-to-be-done this NFR\n * supports. Flat opaque strings (see `icpRefs`).\n */\n jobRefs: z.array(NonEmptyStringSchema).optional(),\n /** Optional cross-references to the market pains this quality relieves (#2500), as on a functional requirement. */\n painRefs: z.array(NonEmptyStringSchema).optional(),\n /** Optional per-entity authoring provenance. */\n authored: RequirementsAuthoredMetadataSchema.optional(),\n});\nexport type NonFunctionalRequirementConfig = z.infer<typeof NonFunctionalRequirementConfigSchema>;\n/** @wildo_source:part:end requirements.non-functional-requirement.config */\n"]}
@@ -0,0 +1,41 @@
1
+ import type { MarketSnapshot } from '../market/market-snapshot.schemas';
2
+ import type { RequirementsSnapshot } from './requirements-snapshot.schemas';
3
+ /**
4
+ * The severity from which a market pain OBLIGES the requirements: relieved by a requirement or explicitly left out.
5
+ * Pain edges are weighted 1..10, so the threshold is total over the domain; 7 and above is the upper third, the pains
6
+ * the market itself rates as acute. On every market measured so far (Wonder CRM, Wonder Todos, app-creation-test-005)
7
+ * every pain the targeted customers feel is at or above it, so in practice the requirements answer ALL of them; the
8
+ * threshold matters only once a market records mild pains.
9
+ */
10
+ export declare const HIGH_SEVERITY_PAIN_THRESHOLD = 7;
11
+ /** A pain the targeted customers feel at or above {@link HIGH_SEVERITY_PAIN_THRESHOLD}, and who feels it. */
12
+ export interface HighSeverityMarketPain {
13
+ readonly painRef: string;
14
+ /** The strongest severity any obliging ICP or persona gives it. */
15
+ readonly maxSeverity: number;
16
+ /** The ICP and persona refs that feel it at or above the threshold. */
17
+ readonly feltBy: readonly string[];
18
+ }
19
+ /** The part of the market the derivation reads. */
20
+ export type MarketPainWeights = Partial<Pick<MarketSnapshot, 'icps' | 'personas'>>;
21
+ /** The part of the requirements the derivation reads. */
22
+ export type RequirementsPainAnswers = Partial<Pick<RequirementsSnapshot, 'functional' | 'nonFunctional' | 'excludedMarketPains'>>;
23
+ /**
24
+ * Every pain the TARGETED customers feel at or above the threshold, strongest first.
25
+ *
26
+ * - An ICP obliges when its priority is in {@link TARGETED_ICP_PRIORITIES} (CORE, EXPANSION): the one named set saying
27
+ * which ICPs the product commits to. An EXPLORATORY, DEFERRED or ANTI_TARGET ICP commits it to nothing, and a priority
28
+ * added to the vocabulary tomorrow obliges nothing until it joins that set.
29
+ * - A persona obliges only when it belongs to at least one obliging ICP. A persona of an anti-target ICP usually inherits
30
+ * that ICP's pains, and counting it would bring back exactly the pains the ICP rule left out.
31
+ *
32
+ * DERIVED from the market's own weighted edges each time it is asked, never authored, so a pain re-weighted in the
33
+ * market changes what the requirements owe without anyone editing a list.
34
+ */
35
+ export declare function highSeverityMarketPains(market: MarketPainWeights | undefined): readonly HighSeverityMarketPain[];
36
+ /**
37
+ * The high-severity pains no requirement relieves (`painRefs`) and none excludes (`excludedMarketPains`): what the
38
+ * requirements owe and have not answered. Empty when every one is relieved or deliberately left out.
39
+ */
40
+ export declare function unansweredHighSeverityMarketPains(market: MarketPainWeights | undefined, requirements: RequirementsPainAnswers | undefined): readonly HighSeverityMarketPain[];
41
+ //# sourceMappingURL=requirements-pain-coverage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requirements-pain-coverage.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-pain-coverage.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAE5E;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,IAAI,CAAC;AAE9C,6GAA6G;AAC7G,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,mEAAmE;IACnE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,uEAAuE;IACvE,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC;AAED,mDAAmD;AACnD,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC;AAEnF,yDAAyD;AACzD,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,YAAY,GAAG,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC;AAElI;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,GAAG,SAAS,sBAAsB,EAAE,CAoBhH;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,EAAE,YAAY,EAAE,uBAAuB,GAAG,SAAS,GAAG,SAAS,sBAAsB,EAAE,CAM7K"}
@@ -0,0 +1,63 @@
1
+ /*
2
+ * A CROSS-FAMILY derivation, and the reason it imports from the market family: what the requirements owe is defined by
3
+ * the market's weighted pain edges. The requirements family otherwise keeps market schemas out of its own contracts
4
+ * (refs are resolved by the catalog); this file is the join between the two, not part of either contract.
5
+ */
6
+ import { TARGETED_ICP_PRIORITIES } from '../market/market-icp.schemas.js';
7
+ /**
8
+ * The severity from which a market pain OBLIGES the requirements: relieved by a requirement or explicitly left out.
9
+ * Pain edges are weighted 1..10, so the threshold is total over the domain; 7 and above is the upper third, the pains
10
+ * the market itself rates as acute. On every market measured so far (Wonder CRM, Wonder Todos, app-creation-test-005)
11
+ * every pain the targeted customers feel is at or above it, so in practice the requirements answer ALL of them; the
12
+ * threshold matters only once a market records mild pains.
13
+ */
14
+ export const HIGH_SEVERITY_PAIN_THRESHOLD = 7;
15
+ /**
16
+ * Every pain the TARGETED customers feel at or above the threshold, strongest first.
17
+ *
18
+ * - An ICP obliges when its priority is in {@link TARGETED_ICP_PRIORITIES} (CORE, EXPANSION): the one named set saying
19
+ * which ICPs the product commits to. An EXPLORATORY, DEFERRED or ANTI_TARGET ICP commits it to nothing, and a priority
20
+ * added to the vocabulary tomorrow obliges nothing until it joins that set.
21
+ * - A persona obliges only when it belongs to at least one obliging ICP. A persona of an anti-target ICP usually inherits
22
+ * that ICP's pains, and counting it would bring back exactly the pains the ICP rule left out.
23
+ *
24
+ * DERIVED from the market's own weighted edges each time it is asked, never authored, so a pain re-weighted in the
25
+ * market changes what the requirements owe without anyone editing a list.
26
+ */
27
+ export function highSeverityMarketPains(market) {
28
+ const icps = market?.icps ?? [];
29
+ const obligingIcpRefs = new Set(icps.filter((icp) => TARGETED_ICP_PRIORITIES.has(icp.priority)).map((icp) => icp.ref));
30
+ const byPain = new Map();
31
+ const consider = (holderRef, pains) => {
32
+ for (const edge of pains ?? []) {
33
+ if (edge.severity < HIGH_SEVERITY_PAIN_THRESHOLD)
34
+ continue;
35
+ const entry = byPain.get(edge.painRef) ?? { maxSeverity: 0, feltBy: new Set() };
36
+ entry.maxSeverity = Math.max(entry.maxSeverity, edge.severity);
37
+ entry.feltBy.add(holderRef);
38
+ byPain.set(edge.painRef, entry);
39
+ }
40
+ };
41
+ for (const icp of icps)
42
+ if (obligingIcpRefs.has(icp.ref))
43
+ consider(icp.ref, icp.pains);
44
+ for (const persona of market?.personas ?? []) {
45
+ if (persona.belongsToIcpRefs.some((icpRef) => obligingIcpRefs.has(icpRef)))
46
+ consider(persona.ref, persona.pains);
47
+ }
48
+ return [...byPain.entries()]
49
+ .map(([painRef, entry]) => ({ painRef, maxSeverity: entry.maxSeverity, feltBy: [...entry.feltBy].sort() }))
50
+ .sort((left, right) => right.maxSeverity - left.maxSeverity || left.painRef.localeCompare(right.painRef));
51
+ }
52
+ /**
53
+ * The high-severity pains no requirement relieves (`painRefs`) and none excludes (`excludedMarketPains`): what the
54
+ * requirements owe and have not answered. Empty when every one is relieved or deliberately left out.
55
+ */
56
+ export function unansweredHighSeverityMarketPains(market, requirements) {
57
+ const answered = new Set([
58
+ ...[...(requirements?.functional ?? []), ...(requirements?.nonFunctional ?? [])].flatMap((requirement) => requirement.painRefs ?? []),
59
+ ...(requirements?.excludedMarketPains ?? []).map((excluded) => excluded.painRef),
60
+ ]);
61
+ return highSeverityMarketPains(market).filter((pain) => !answered.has(pain.painRef));
62
+ }
63
+ //# sourceMappingURL=requirements-pain-coverage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requirements-pain-coverage.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-pain-coverage.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * A CROSS-FAMILY derivation, and the reason it imports from the market family: what the requirements owe is defined by\n * the market's weighted pain edges. The requirements family otherwise keeps market schemas out of its own contracts\n * (refs are resolved by the catalog); this file is the join between the two, not part of either contract.\n */\nimport { TARGETED_ICP_PRIORITIES } from '../market/market-icp.schemas';\nimport type { MarketSnapshot } from '../market/market-snapshot.schemas';\nimport type { RequirementsSnapshot } from './requirements-snapshot.schemas';\n\n/**\n * The severity from which a market pain OBLIGES the requirements: relieved by a requirement or explicitly left out.\n * Pain edges are weighted 1..10, so the threshold is total over the domain; 7 and above is the upper third, the pains\n * the market itself rates as acute. On every market measured so far (Wonder CRM, Wonder Todos, app-creation-test-005)\n * every pain the targeted customers feel is at or above it, so in practice the requirements answer ALL of them; the\n * threshold matters only once a market records mild pains.\n */\nexport const HIGH_SEVERITY_PAIN_THRESHOLD = 7;\n\n/** A pain the targeted customers feel at or above {@link HIGH_SEVERITY_PAIN_THRESHOLD}, and who feels it. */\nexport interface HighSeverityMarketPain {\n readonly painRef: string;\n /** The strongest severity any obliging ICP or persona gives it. */\n readonly maxSeverity: number;\n /** The ICP and persona refs that feel it at or above the threshold. */\n readonly feltBy: readonly string[];\n}\n\n/** The part of the market the derivation reads. */\nexport type MarketPainWeights = Partial<Pick<MarketSnapshot, 'icps' | 'personas'>>;\n\n/** The part of the requirements the derivation reads. */\nexport type RequirementsPainAnswers = Partial<Pick<RequirementsSnapshot, 'functional' | 'nonFunctional' | 'excludedMarketPains'>>;\n\n/**\n * Every pain the TARGETED customers feel at or above the threshold, strongest first.\n *\n * - An ICP obliges when its priority is in {@link TARGETED_ICP_PRIORITIES} (CORE, EXPANSION): the one named set saying\n * which ICPs the product commits to. An EXPLORATORY, DEFERRED or ANTI_TARGET ICP commits it to nothing, and a priority\n * added to the vocabulary tomorrow obliges nothing until it joins that set.\n * - A persona obliges only when it belongs to at least one obliging ICP. A persona of an anti-target ICP usually inherits\n * that ICP's pains, and counting it would bring back exactly the pains the ICP rule left out.\n *\n * DERIVED from the market's own weighted edges each time it is asked, never authored, so a pain re-weighted in the\n * market changes what the requirements owe without anyone editing a list.\n */\nexport function highSeverityMarketPains(market: MarketPainWeights | undefined): readonly HighSeverityMarketPain[] {\n const icps = market?.icps ?? [];\n const obligingIcpRefs = new Set(icps.filter((icp) => TARGETED_ICP_PRIORITIES.has(icp.priority)).map((icp) => icp.ref));\n const byPain = new Map<string, { maxSeverity: number; feltBy: Set<string> }>();\n const consider = (holderRef: string, pains: readonly { painRef: string; severity: number }[] | undefined) => {\n for (const edge of pains ?? []) {\n if (edge.severity < HIGH_SEVERITY_PAIN_THRESHOLD) continue;\n const entry = byPain.get(edge.painRef) ?? { maxSeverity: 0, feltBy: new Set<string>() };\n entry.maxSeverity = Math.max(entry.maxSeverity, edge.severity);\n entry.feltBy.add(holderRef);\n byPain.set(edge.painRef, entry);\n }\n };\n for (const icp of icps) if (obligingIcpRefs.has(icp.ref)) consider(icp.ref, icp.pains);\n for (const persona of market?.personas ?? []) {\n if (persona.belongsToIcpRefs.some((icpRef) => obligingIcpRefs.has(icpRef))) consider(persona.ref, persona.pains);\n }\n return [...byPain.entries()]\n .map(([painRef, entry]) => ({ painRef, maxSeverity: entry.maxSeverity, feltBy: [...entry.feltBy].sort() }))\n .sort((left, right) => right.maxSeverity - left.maxSeverity || left.painRef.localeCompare(right.painRef));\n}\n\n/**\n * The high-severity pains no requirement relieves (`painRefs`) and none excludes (`excludedMarketPains`): what the\n * requirements owe and have not answered. Empty when every one is relieved or deliberately left out.\n */\nexport function unansweredHighSeverityMarketPains(market: MarketPainWeights | undefined, requirements: RequirementsPainAnswers | undefined): readonly HighSeverityMarketPain[] {\n const answered = new Set<string>([\n ...[...(requirements?.functional ?? []), ...(requirements?.nonFunctional ?? [])].flatMap((requirement) => requirement.painRefs ?? []),\n ...(requirements?.excludedMarketPains ?? []).map((excluded) => excluded.painRef),\n ]);\n return highSeverityMarketPains(market).filter((pain) => !answered.has(pain.painRef));\n}\n"]}
@@ -20,7 +20,7 @@ import { z } from 'zod';
20
20
  * discrimination is provided by the type aliases below without boxing
21
21
  * at runtime. This holds for BOTH the two intra-family ref shapes
22
22
  * (functional / non-functional) AND the cross-family `icpRefs` /
23
- * `jobRefs` that point into the market family — those are opaque
23
+ * `jobRefs` / `painRefs` that point into the market family — those are opaque
24
24
  * strings here (the catalog, not this family, resolves them, so the
25
25
  * market ICP/Job schemas are deliberately NOT imported — the families
26
26
  * stay decoupled).
@@ -20,7 +20,7 @@ import { z } from 'zod';
20
20
  * discrimination is provided by the type aliases below without boxing
21
21
  * at runtime. This holds for BOTH the two intra-family ref shapes
22
22
  * (functional / non-functional) AND the cross-family `icpRefs` /
23
- * `jobRefs` that point into the market family — those are opaque
23
+ * `jobRefs` / `painRefs` that point into the market family — those are opaque
24
24
  * strings here (the catalog, not this family, resolves them, so the
25
25
  * market ICP/Job schemas are deliberately NOT imported — the families
26
26
  * stay decoupled).
@@ -1 +1 @@
1
- {"version":3,"file":"requirements-references.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,wEAAwE;AACxE,MAAM,CAAC,MAAM,iCAAiC,GAAG,yBAAyB,CAAC;AAE3E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAC7C,iDAAiD,CAAC;AAEpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,MAAM,CAAC;AAE5D,0FAA0F;AAC1F,MAAM,CAAC,MAAM,sCAAsC,GAAG,8BAA8B,CAAC;AAcrF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,MAAM,EAAE;KACR,KAAK,CACJ,kCAAkC,EAClC,kEAAkE,iCAAiC,GAAG,CACvG,CAAC;AAEJ;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC;KAC/C,MAAM,EAAE;KACR,KAAK,CACJ,sCAAsC,EACtC,+CAA+C,qCAAqC,GAAG,CACxF,CAAC;AACJ,iEAAiE","sourcesContent":["import { z } from 'zod';\n\n/**\n * @wildo_source:part:start requirements.references.conventions facet:layer:specification facet:family:requirements\n *\n * Reference primitives for the **requirements specification family**\n * (app-creation meta-workflows, C-4 definition families — the\n * requirements layer the top-down capability-map catalog reads/writes:\n * functional requirements + non-functional requirements, each optionally\n * cross-referencing the market family's ICPs / jobs).\n *\n * The family follows the two reference design rules every specification\n * family in `_core/` obeys:\n *\n * 1. **`ref` is the spec identity.** Every ref-addressable requirements\n * entity self-identifies via a stable string `ref`. The token `id`\n * is reserved for database persistence and does NOT appear anywhere\n * in this family.\n * 2. **Cross-references are flat strings**, never wrapper objects. The\n * field name carries the referenced entity; compile-time\n * discrimination is provided by the type aliases below without boxing\n * at runtime. This holds for BOTH the two intra-family ref shapes\n * (functional / non-functional) AND the cross-family `icpRefs` /\n * `jobRefs` that point into the market family — those are opaque\n * strings here (the catalog, not this family, resolves them, so the\n * market ICP/Job schemas are deliberately NOT imported — the families\n * stay decoupled).\n *\n * Both COLLECTION entities are ref-addressable — functional requirements\n * (`functional-requirement-<slug>`) and non-functional requirements\n * (`nfr-<slug>`). Prefixes are ENFORCED (vision / assertions posture,\n * not the market family's prose-only convention): requirements entities\n * are consumed by the automated top-down catalog and journey tooling, so\n * a mistyped ref is a silent hole in the audit surface rather than a\n * cosmetic slip. The two prefixes are distinct, so a functional ref and\n * a non-functional ref can never collide across the two collections.\n *\n * `NonEmptyStringSchema` (the shared trim+non-empty prose contract),\n * `AuthoredConfidence`, and `ReviewCadence` are IMPORTED DIRECTLY from\n * the market family by each requirements file that needs them — the same\n * reuse edge the vision + assertions families use. They are deliberately\n * NOT re-exported through this file: `export *`-ing a name the market\n * family already exports would make it ambiguous at the package-root\n * barrel and silently drop it (ambiguous `export *` names are excluded).\n * A shared `_core/authored-metadata` / `_core/references` promotion is a\n * `_core` reshape with the full blast-radius checklist across every\n * market consumer and is explicitly deferred; hand-duplicating the\n * vocabularies here would drift.\n */\n\n/** Mandatory kebab-case prefix for every functional-requirement ref. */\nexport const FUNCTIONAL_REQUIREMENT_REF_PREFIX = 'functional-requirement-';\n\n/**\n * THE functional-requirement ref-format contract — single source of\n * truth shared by `FunctionalRequirementRefSchema` (parse-time\n * enforcement) and the snapshot validator's defence-in-depth\n * `INVALID_REF_FORMAT` detector (walk-time, for type-asserted fixtures\n * that bypass parsing). Exported precisely so the two checks can never\n * drift apart.\n */\nexport const FUNCTIONAL_REQUIREMENT_REF_PATTERN =\n /^functional-requirement-[a-z0-9]+(-[a-z0-9]+)*$/;\n\n/**\n * Mandatory kebab-case prefix for every non-functional-requirement ref.\n * The standard industry abbreviation `nfr-` is used (concise and\n * unambiguous) rather than the verbose `non-functional-requirement-`.\n */\nexport const NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX = 'nfr-';\n\n/** THE non-functional-requirement ref-format contract — see the functional note above. */\nexport const NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN = /^nfr-[a-z0-9]+(-[a-z0-9]+)*$/;\n\n/**\n * Spec-level identity of one functional requirement (NEVER `id`).\n * Kebab-case, `functional-requirement-` prefixed.\n */\nexport type FunctionalRequirementRef = string;\n\n/**\n * Spec-level identity of one non-functional requirement (NEVER `id`).\n * Kebab-case, `nfr-` prefixed.\n */\nexport type NonFunctionalRequirementRef = string;\n\n/**\n * Enforced functional-requirement ref contract: kebab-case,\n * `functional-requirement-` prefix, lowercase alphanumeric segments\n * separated by single dashes.\n *\n * Valid: `functional-requirement-invite-teammate`.\n * Invalid: `invite-teammate` (no prefix),\n * `functional-requirement-` (empty slug),\n * `functional-requirement-Invite` (uppercase).\n */\nexport const FunctionalRequirementRefSchema = z\n .string()\n .regex(\n FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n `functional-requirement refs must be kebab-case and start with \"${FUNCTIONAL_REQUIREMENT_REF_PREFIX}\"`,\n );\n\n/**\n * Enforced non-functional-requirement ref contract: kebab-case, `nfr-`\n * prefix, lowercase alphanumeric segments separated by single dashes.\n *\n * Valid: `nfr-p95-under-200ms`.\n * Invalid: `p95-under-200ms` (no prefix), `nfr-` (empty slug),\n * `nfr-P95` (uppercase).\n */\nexport const NonFunctionalRequirementRefSchema = z\n .string()\n .regex(\n NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n `nfr refs must be kebab-case and start with \"${NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX}\"`,\n );\n/** @wildo_source:part:end requirements.references.conventions */\n"]}
1
+ {"version":3,"file":"requirements-references.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,wEAAwE;AACxE,MAAM,CAAC,MAAM,iCAAiC,GAAG,yBAAyB,CAAC;AAE3E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAC7C,iDAAiD,CAAC;AAEpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,MAAM,CAAC;AAE5D,0FAA0F;AAC1F,MAAM,CAAC,MAAM,sCAAsC,GAAG,8BAA8B,CAAC;AAcrF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,MAAM,EAAE;KACR,KAAK,CACJ,kCAAkC,EAClC,kEAAkE,iCAAiC,GAAG,CACvG,CAAC;AAEJ;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC;KAC/C,MAAM,EAAE;KACR,KAAK,CACJ,sCAAsC,EACtC,+CAA+C,qCAAqC,GAAG,CACxF,CAAC;AACJ,iEAAiE","sourcesContent":["import { z } from 'zod';\n\n/**\n * @wildo_source:part:start requirements.references.conventions facet:layer:specification facet:family:requirements\n *\n * Reference primitives for the **requirements specification family**\n * (app-creation meta-workflows, C-4 definition families — the\n * requirements layer the top-down capability-map catalog reads/writes:\n * functional requirements + non-functional requirements, each optionally\n * cross-referencing the market family's ICPs / jobs).\n *\n * The family follows the two reference design rules every specification\n * family in `_core/` obeys:\n *\n * 1. **`ref` is the spec identity.** Every ref-addressable requirements\n * entity self-identifies via a stable string `ref`. The token `id`\n * is reserved for database persistence and does NOT appear anywhere\n * in this family.\n * 2. **Cross-references are flat strings**, never wrapper objects. The\n * field name carries the referenced entity; compile-time\n * discrimination is provided by the type aliases below without boxing\n * at runtime. This holds for BOTH the two intra-family ref shapes\n * (functional / non-functional) AND the cross-family `icpRefs` /\n * `jobRefs` / `painRefs` that point into the market family — those are opaque\n * strings here (the catalog, not this family, resolves them, so the\n * market ICP/Job schemas are deliberately NOT imported — the families\n * stay decoupled).\n *\n * Both COLLECTION entities are ref-addressable — functional requirements\n * (`functional-requirement-<slug>`) and non-functional requirements\n * (`nfr-<slug>`). Prefixes are ENFORCED (vision / assertions posture,\n * not the market family's prose-only convention): requirements entities\n * are consumed by the automated top-down catalog and journey tooling, so\n * a mistyped ref is a silent hole in the audit surface rather than a\n * cosmetic slip. The two prefixes are distinct, so a functional ref and\n * a non-functional ref can never collide across the two collections.\n *\n * `NonEmptyStringSchema` (the shared trim+non-empty prose contract),\n * `AuthoredConfidence`, and `ReviewCadence` are IMPORTED DIRECTLY from\n * the market family by each requirements file that needs them — the same\n * reuse edge the vision + assertions families use. They are deliberately\n * NOT re-exported through this file: `export *`-ing a name the market\n * family already exports would make it ambiguous at the package-root\n * barrel and silently drop it (ambiguous `export *` names are excluded).\n * A shared `_core/authored-metadata` / `_core/references` promotion is a\n * `_core` reshape with the full blast-radius checklist across every\n * market consumer and is explicitly deferred; hand-duplicating the\n * vocabularies here would drift.\n */\n\n/** Mandatory kebab-case prefix for every functional-requirement ref. */\nexport const FUNCTIONAL_REQUIREMENT_REF_PREFIX = 'functional-requirement-';\n\n/**\n * THE functional-requirement ref-format contract — single source of\n * truth shared by `FunctionalRequirementRefSchema` (parse-time\n * enforcement) and the snapshot validator's defence-in-depth\n * `INVALID_REF_FORMAT` detector (walk-time, for type-asserted fixtures\n * that bypass parsing). Exported precisely so the two checks can never\n * drift apart.\n */\nexport const FUNCTIONAL_REQUIREMENT_REF_PATTERN =\n /^functional-requirement-[a-z0-9]+(-[a-z0-9]+)*$/;\n\n/**\n * Mandatory kebab-case prefix for every non-functional-requirement ref.\n * The standard industry abbreviation `nfr-` is used (concise and\n * unambiguous) rather than the verbose `non-functional-requirement-`.\n */\nexport const NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX = 'nfr-';\n\n/** THE non-functional-requirement ref-format contract — see the functional note above. */\nexport const NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN = /^nfr-[a-z0-9]+(-[a-z0-9]+)*$/;\n\n/**\n * Spec-level identity of one functional requirement (NEVER `id`).\n * Kebab-case, `functional-requirement-` prefixed.\n */\nexport type FunctionalRequirementRef = string;\n\n/**\n * Spec-level identity of one non-functional requirement (NEVER `id`).\n * Kebab-case, `nfr-` prefixed.\n */\nexport type NonFunctionalRequirementRef = string;\n\n/**\n * Enforced functional-requirement ref contract: kebab-case,\n * `functional-requirement-` prefix, lowercase alphanumeric segments\n * separated by single dashes.\n *\n * Valid: `functional-requirement-invite-teammate`.\n * Invalid: `invite-teammate` (no prefix),\n * `functional-requirement-` (empty slug),\n * `functional-requirement-Invite` (uppercase).\n */\nexport const FunctionalRequirementRefSchema = z\n .string()\n .regex(\n FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n `functional-requirement refs must be kebab-case and start with \"${FUNCTIONAL_REQUIREMENT_REF_PREFIX}\"`,\n );\n\n/**\n * Enforced non-functional-requirement ref contract: kebab-case, `nfr-`\n * prefix, lowercase alphanumeric segments separated by single dashes.\n *\n * Valid: `nfr-p95-under-200ms`.\n * Invalid: `p95-under-200ms` (no prefix), `nfr-` (empty slug),\n * `nfr-P95` (uppercase).\n */\nexport const NonFunctionalRequirementRefSchema = z\n .string()\n .regex(\n NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n `nfr refs must be kebab-case and start with \"${NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX}\"`,\n );\n/** @wildo_source:part:end requirements.references.conventions */\n"]}
@@ -14,6 +14,8 @@ export declare const FunctionalRequirementGenerationSchema: z.ZodObject<{
14
14
  acceptanceCriteria: z.ZodArray<z.ZodString>;
15
15
  icpRefs: z.ZodArray<z.ZodString>;
16
16
  jobRefs: z.ZodArray<z.ZodString>;
17
+ /** The market pains this requirement relieves (#2500). */
18
+ painRefs: z.ZodArray<z.ZodString>;
17
19
  }, z.core.$strict>;
18
20
  export type FunctionalRequirementGeneration = z.infer<typeof FunctionalRequirementGenerationSchema>;
19
21
  /** Strict provider-facing non-functional requirement. */
@@ -25,6 +27,7 @@ export declare const NonFunctionalRequirementGenerationSchema: z.ZodObject<{
25
27
  acceptanceCriteria: z.ZodArray<z.ZodString>;
26
28
  icpRefs: z.ZodArray<z.ZodString>;
27
29
  jobRefs: z.ZodArray<z.ZodString>;
30
+ painRefs: z.ZodArray<z.ZodString>;
28
31
  }, z.core.$strict>;
29
32
  export type NonFunctionalRequirementGeneration = z.infer<typeof NonFunctionalRequirementGenerationSchema>;
30
33
  /**
@@ -40,6 +43,8 @@ export declare const RequirementsSnapshotGenerationSchema: z.ZodObject<{
40
43
  acceptanceCriteria: z.ZodArray<z.ZodString>;
41
44
  icpRefs: z.ZodArray<z.ZodString>;
42
45
  jobRefs: z.ZodArray<z.ZodString>;
46
+ /** The market pains this requirement relieves (#2500). */
47
+ painRefs: z.ZodArray<z.ZodString>;
43
48
  }, z.core.$strict>>;
44
49
  nonFunctional: z.ZodArray<z.ZodObject<{
45
50
  slug: z.ZodString;
@@ -49,6 +54,17 @@ export declare const RequirementsSnapshotGenerationSchema: z.ZodObject<{
49
54
  acceptanceCriteria: z.ZodArray<z.ZodString>;
50
55
  icpRefs: z.ZodArray<z.ZodString>;
51
56
  jobRefs: z.ZodArray<z.ZodString>;
57
+ painRefs: z.ZodArray<z.ZodString>;
58
+ }, z.core.$strict>>;
59
+ /** Every stated fact the requirements deliberately leave out, with why (#2499). Empty when every one is carried. */
60
+ excludedStatedFacts: z.ZodArray<z.ZodObject<{
61
+ statedFact: z.ZodString;
62
+ reason: z.ZodString;
63
+ }, z.core.$strict>>;
64
+ /** Every high-severity market pain no requirement relieves, with why (#2500). Empty when every one is relieved. */
65
+ excludedMarketPains: z.ZodArray<z.ZodObject<{
66
+ painRef: z.ZodString;
67
+ reason: z.ZodString;
52
68
  }, z.core.$strict>>;
53
69
  }, z.core.$strict>;
54
70
  export type RequirementsSnapshotGeneration = z.infer<typeof RequirementsSnapshotGenerationSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"requirements-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAMpF,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,iCAAiC,CAAC;AAKzC;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC;;;;;;;kBAOhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,yDAAyD;AACzD,eAAO,MAAM,wCAAwC;;;;;;;;kBAQnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G;;;;GAIG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;kBAiB/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,6EAA6E;AAC7E,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,OAAO,GAAG,oBAAoB,CAsBxF"}
1
+ {"version":3,"file":"requirements-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAMpF,OAAO,EAKL,KAAK,oBAAoB,EAC1B,MAAM,iCAAiC,CAAC;AAKzC;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC;;;;;;;IAOhD,0DAA0D;;kBAE1D,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,yDAAyD;AACzD,eAAO,MAAM,wCAAwC;;;;;;;;;kBASnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G;;;;GAIG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;QAvB/C,0DAA0D;;;;;;;;;;;;;IA0B1D,oHAAoH;;;;;IAEpH,mHAAmH;;;;;kBAgBnH,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,6EAA6E;AAC7E,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,OAAO,GAAG,oBAAoB,CA0BxF"}
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { NonFunctionalRequirementKind } from './non-functional-requirement.schemas.js';
3
3
  import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
4
4
  import { FUNCTIONAL_REQUIREMENT_REF_PREFIX, NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX, } from './requirements-references.schemas.js';
5
- import { RequirementsSnapshotSchema, RequirementsSnapshotVersion, } from './requirements-snapshot.schemas.js';
5
+ import { RequirementsExcludedMarketPainSchema, RequirementsExcludedStatedFactSchema, RequirementsSnapshotSchema, RequirementsSnapshotVersion, } from './requirements-snapshot.schemas.js';
6
6
  const NonEmptyStringSchema = z.string().trim().min(1);
7
7
  const RequirementSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
8
8
  /**
@@ -18,6 +18,8 @@ export const FunctionalRequirementGenerationSchema = z.strictObject({
18
18
  acceptanceCriteria: z.array(NonEmptyStringSchema),
19
19
  icpRefs: z.array(NonEmptyStringSchema),
20
20
  jobRefs: z.array(NonEmptyStringSchema),
21
+ /** The market pains this requirement relieves (#2500). */
22
+ painRefs: z.array(NonEmptyStringSchema),
21
23
  });
22
24
  /** Strict provider-facing non-functional requirement. */
23
25
  export const NonFunctionalRequirementGenerationSchema = z.strictObject({
@@ -28,6 +30,7 @@ export const NonFunctionalRequirementGenerationSchema = z.strictObject({
28
30
  acceptanceCriteria: z.array(NonEmptyStringSchema),
29
31
  icpRefs: z.array(NonEmptyStringSchema),
30
32
  jobRefs: z.array(NonEmptyStringSchema),
33
+ painRefs: z.array(NonEmptyStringSchema),
31
34
  });
32
35
  /**
33
36
  * One complete provider response for the requirements family. A model cannot
@@ -37,6 +40,10 @@ export const NonFunctionalRequirementGenerationSchema = z.strictObject({
37
40
  export const RequirementsSnapshotGenerationSchema = z.strictObject({
38
41
  functional: z.array(FunctionalRequirementGenerationSchema).min(1),
39
42
  nonFunctional: z.array(NonFunctionalRequirementGenerationSchema),
43
+ /** Every stated fact the requirements deliberately leave out, with why (#2499). Empty when every one is carried. */
44
+ excludedStatedFacts: z.array(RequirementsExcludedStatedFactSchema),
45
+ /** Every high-severity market pain no requirement relieves, with why (#2500). Empty when every one is relieved. */
46
+ excludedMarketPains: z.array(RequirementsExcludedMarketPainSchema),
40
47
  }).superRefine((generated, context) => {
41
48
  // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately
42
49
  // not injective: `login` and `functional-requirement-login` are two distinct slugs that both become
@@ -63,6 +70,7 @@ export function parseRequirementsSnapshotGeneration(input) {
63
70
  acceptanceCriteria: requirement.acceptanceCriteria,
64
71
  ...(requirement.icpRefs.length === 0 ? {} : { icpRefs: requirement.icpRefs }),
65
72
  ...(requirement.jobRefs.length === 0 ? {} : { jobRefs: requirement.jobRefs }),
73
+ ...(requirement.painRefs.length === 0 ? {} : { painRefs: requirement.painRefs }),
66
74
  })),
67
75
  nonFunctional: generated.nonFunctional.map(requirement => ({
68
76
  ref: applyFamilyRefPrefix(requirement.slug, NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX),
@@ -72,7 +80,10 @@ export function parseRequirementsSnapshotGeneration(input) {
72
80
  acceptanceCriteria: requirement.acceptanceCriteria,
73
81
  ...(requirement.icpRefs.length === 0 ? {} : { icpRefs: requirement.icpRefs }),
74
82
  ...(requirement.jobRefs.length === 0 ? {} : { jobRefs: requirement.jobRefs }),
83
+ ...(requirement.painRefs.length === 0 ? {} : { painRefs: requirement.painRefs }),
75
84
  })),
85
+ excludedStatedFacts: generated.excludedStatedFacts,
86
+ excludedMarketPains: generated.excludedMarketPains,
76
87
  });
77
88
  }
78
89
  function firstDuplicate(values) {
@@ -1 +1 @@
1
- {"version":3,"file":"requirements-snapshot-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-generation.schemas.ts"],"names":[],"mappings":"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","sourcesContent":["import { z } from 'zod';\n\nimport { NonFunctionalRequirementKind } from './non-functional-requirement.schemas';\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n FUNCTIONAL_REQUIREMENT_REF_PREFIX,\n NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX,\n} from './requirements-references.schemas';\nimport {\n RequirementsSnapshotSchema,\n RequirementsSnapshotVersion,\n type RequirementsSnapshot,\n} from './requirements-snapshot.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\nconst RequirementSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * Strict provider-facing functional requirement. The provider supplies a\n * stable semantic slug, while the trusted runner stamps the canonical family\n * prefix and snapshot version. Authoring timestamps/provenance are never model\n * output.\n */\nexport const FunctionalRequirementGenerationSchema = z.strictObject({\n slug: RequirementSlugSchema,\n statement: NonEmptyStringSchema,\n rationale: NonEmptyStringSchema.nullable(),\n acceptanceCriteria: z.array(NonEmptyStringSchema),\n icpRefs: z.array(NonEmptyStringSchema),\n jobRefs: z.array(NonEmptyStringSchema),\n});\nexport type FunctionalRequirementGeneration = z.infer<typeof FunctionalRequirementGenerationSchema>;\n\n/** Strict provider-facing non-functional requirement. */\nexport const NonFunctionalRequirementGenerationSchema = z.strictObject({\n slug: RequirementSlugSchema,\n kind: z.enum(NonFunctionalRequirementKind),\n statement: NonEmptyStringSchema,\n metric: NonEmptyStringSchema.nullable(),\n acceptanceCriteria: z.array(NonEmptyStringSchema),\n icpRefs: z.array(NonEmptyStringSchema),\n jobRefs: z.array(NonEmptyStringSchema),\n});\nexport type NonFunctionalRequirementGeneration = z.infer<typeof NonFunctionalRequirementGenerationSchema>;\n\n/**\n * One complete provider response for the requirements family. A model cannot\n * choose the exceptional empty-functional posture: that posture requires a\n * separately settled Authority Decision at the readiness boundary.\n */\nexport const RequirementsSnapshotGenerationSchema = z.strictObject({\n functional: z.array(FunctionalRequirementGenerationSchema).min(1),\n nonFunctional: z.array(NonFunctionalRequirementGenerationSchema),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `login` and `functional-requirement-login` are two distinct slugs that both become\n // `functional-requirement-login`. Checking the slug would let that pair through and produce two\n // requirements sharing one ref, which makes every roadmap and build-plan edge naming it ambiguous.\n const duplicateFunctionalRef = firstDuplicate(generated.functional.map(requirement => applyFamilyRefPrefix(requirement.slug, FUNCTIONAL_REQUIREMENT_REF_PREFIX)));\n if (duplicateFunctionalRef !== null) {\n context.addIssue({ code: 'custom', message: `two functional requirement slugs normalize to the same ref \"${duplicateFunctionalRef}\"`, path: ['functional'] });\n }\n\n const duplicateNonFunctionalRef = firstDuplicate(generated.nonFunctional.map(requirement => applyFamilyRefPrefix(requirement.slug, NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX)));\n if (duplicateNonFunctionalRef !== null) {\n context.addIssue({ code: 'custom', message: `two non-functional requirement slugs normalize to the same ref \"${duplicateNonFunctionalRef}\"`, path: ['nonFunctional'] });\n }\n});\nexport type RequirementsSnapshotGeneration = z.infer<typeof RequirementsSnapshotGenerationSchema>;\n\n/** Normalize strict provider output into the permissive persisted family. */\nexport function parseRequirementsSnapshotGeneration(input: unknown): RequirementsSnapshot {\n const generated = RequirementsSnapshotGenerationSchema.parse(input);\n return RequirementsSnapshotSchema.parse({\n version: RequirementsSnapshotVersion.V1,\n functional: generated.functional.map(requirement => ({\n ref: applyFamilyRefPrefix(requirement.slug, FUNCTIONAL_REQUIREMENT_REF_PREFIX),\n statement: requirement.statement,\n ...(requirement.rationale === null ? {} : { rationale: requirement.rationale }),\n acceptanceCriteria: requirement.acceptanceCriteria,\n ...(requirement.icpRefs.length === 0 ? {} : { icpRefs: requirement.icpRefs }),\n ...(requirement.jobRefs.length === 0 ? {} : { jobRefs: requirement.jobRefs }),\n })),\n nonFunctional: generated.nonFunctional.map(requirement => ({\n ref: applyFamilyRefPrefix(requirement.slug, NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX),\n kind: requirement.kind,\n statement: requirement.statement,\n ...(requirement.metric === null ? {} : { metric: requirement.metric }),\n acceptanceCriteria: requirement.acceptanceCriteria,\n ...(requirement.icpRefs.length === 0 ? {} : { icpRefs: requirement.icpRefs }),\n ...(requirement.jobRefs.length === 0 ? {} : { jobRefs: requirement.jobRefs }),\n })),\n });\n}\n\nfunction firstDuplicate(values: readonly string[]): string | null {\n const seen = new Set<string>();\n for (const value of values) {\n if (seen.has(value)) return value;\n seen.add(value);\n }\n return null;\n}\n"]}
1
+ {"version":3,"file":"requirements-snapshot-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,iCAAiC,EACjC,qCAAqC,GACtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,oCAAoC,EACpC,oCAAoC,EACpC,0BAA0B,EAC1B,2BAA2B,GAE5B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACtD,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAE7E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,YAAY,CAAC;IAClE,IAAI,EAAE,qBAAqB;IAC3B,SAAS,EAAE,oBAAoB;IAC/B,SAAS,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC1C,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;IACtC,0DAA0D;IAC1D,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CACxC,CAAC,CAAC;AAGH,yDAAyD;AACzD,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,CAAC,YAAY,CAAC;IACrE,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC;IAC1C,SAAS,EAAE,oBAAoB;IAC/B,MAAM,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACvC,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;IACtC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CACxC,CAAC,CAAC;AAGH;;;;GAIG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACjE,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,wCAAwC,CAAC;IAChE,oHAAoH;IACpH,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC;IAClE,mHAAmH;IACnH,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC;CACnE,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE;IACpC,sGAAsG;IACtG,oGAAoG;IACpG,gGAAgG;IAChG,mGAAmG;IACnG,MAAM,sBAAsB,GAAG,cAAc,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,oBAAoB,CAAC,WAAW,CAAC,IAAI,EAAE,iCAAiC,CAAC,CAAC,CAAC,CAAC;IAClK,IAAI,sBAAsB,KAAK,IAAI,EAAE,CAAC;QACpC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,+DAA+D,sBAAsB,GAAG,EAAE,IAAI,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAChK,CAAC;IAED,MAAM,yBAAyB,GAAG,cAAc,CAAC,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,oBAAoB,CAAC,WAAW,CAAC,IAAI,EAAE,qCAAqC,CAAC,CAAC,CAAC,CAAC;IAC5K,IAAI,yBAAyB,KAAK,IAAI,EAAE,CAAC;QACvC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,mEAAmE,yBAAyB,GAAG,EAAE,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAC1K,CAAC;AACH,CAAC,CAAC,CAAC;AAGH,6EAA6E;AAC7E,MAAM,UAAU,mCAAmC,CAAC,KAAc;IAChE,MAAM,SAAS,GAAG,oCAAoC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACpE,OAAO,0BAA0B,CAAC,KAAK,CAAC;QACtC,OAAO,EAAE,2BAA2B,CAAC,EAAE;QACvC,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;YACnD,GAAG,EAAE,oBAAoB,CAAC,WAAW,CAAC,IAAI,EAAE,iCAAiC,CAAC;YAC9E,SAAS,EAAE,WAAW,CAAC,SAAS;YAChC,GAAG,CAAC,WAAW,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC;YAC/E,kBAAkB,EAAE,WAAW,CAAC,kBAAkB;YAClD,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;YAC7E,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;YAC7E,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC;SACjF,CAAC,CAAC;QACH,aAAa,EAAE,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;YACzD,GAAG,EAAE,oBAAoB,CAAC,WAAW,CAAC,IAAI,EAAE,qCAAqC,CAAC;YAClF,IAAI,EAAE,WAAW,CAAC,IAAI;YACtB,SAAS,EAAE,WAAW,CAAC,SAAS;YAChC,GAAG,CAAC,WAAW,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;YACtE,kBAAkB,EAAE,WAAW,CAAC,kBAAkB;YAClD,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;YAC7E,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;YAC7E,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC;SACjF,CAAC,CAAC;QACH,mBAAmB,EAAE,SAAS,CAAC,mBAAmB;QAClD,mBAAmB,EAAE,SAAS,CAAC,mBAAmB;KACnD,CAAC,CAAC;AACL,CAAC;AAED,SAAS,cAAc,CAAC,MAAyB;IAC/C,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QAClC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { NonFunctionalRequirementKind } from './non-functional-requirement.schemas';\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n FUNCTIONAL_REQUIREMENT_REF_PREFIX,\n NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX,\n} from './requirements-references.schemas';\nimport {\n RequirementsExcludedMarketPainSchema,\n RequirementsExcludedStatedFactSchema,\n RequirementsSnapshotSchema,\n RequirementsSnapshotVersion,\n type RequirementsSnapshot,\n} from './requirements-snapshot.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\nconst RequirementSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * Strict provider-facing functional requirement. The provider supplies a\n * stable semantic slug, while the trusted runner stamps the canonical family\n * prefix and snapshot version. Authoring timestamps/provenance are never model\n * output.\n */\nexport const FunctionalRequirementGenerationSchema = z.strictObject({\n slug: RequirementSlugSchema,\n statement: NonEmptyStringSchema,\n rationale: NonEmptyStringSchema.nullable(),\n acceptanceCriteria: z.array(NonEmptyStringSchema),\n icpRefs: z.array(NonEmptyStringSchema),\n jobRefs: z.array(NonEmptyStringSchema),\n /** The market pains this requirement relieves (#2500). */\n painRefs: z.array(NonEmptyStringSchema),\n});\nexport type FunctionalRequirementGeneration = z.infer<typeof FunctionalRequirementGenerationSchema>;\n\n/** Strict provider-facing non-functional requirement. */\nexport const NonFunctionalRequirementGenerationSchema = z.strictObject({\n slug: RequirementSlugSchema,\n kind: z.enum(NonFunctionalRequirementKind),\n statement: NonEmptyStringSchema,\n metric: NonEmptyStringSchema.nullable(),\n acceptanceCriteria: z.array(NonEmptyStringSchema),\n icpRefs: z.array(NonEmptyStringSchema),\n jobRefs: z.array(NonEmptyStringSchema),\n painRefs: z.array(NonEmptyStringSchema),\n});\nexport type NonFunctionalRequirementGeneration = z.infer<typeof NonFunctionalRequirementGenerationSchema>;\n\n/**\n * One complete provider response for the requirements family. A model cannot\n * choose the exceptional empty-functional posture: that posture requires a\n * separately settled Authority Decision at the readiness boundary.\n */\nexport const RequirementsSnapshotGenerationSchema = z.strictObject({\n functional: z.array(FunctionalRequirementGenerationSchema).min(1),\n nonFunctional: z.array(NonFunctionalRequirementGenerationSchema),\n /** Every stated fact the requirements deliberately leave out, with why (#2499). Empty when every one is carried. */\n excludedStatedFacts: z.array(RequirementsExcludedStatedFactSchema),\n /** Every high-severity market pain no requirement relieves, with why (#2500). Empty when every one is relieved. */\n excludedMarketPains: z.array(RequirementsExcludedMarketPainSchema),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `login` and `functional-requirement-login` are two distinct slugs that both become\n // `functional-requirement-login`. Checking the slug would let that pair through and produce two\n // requirements sharing one ref, which makes every roadmap and build-plan edge naming it ambiguous.\n const duplicateFunctionalRef = firstDuplicate(generated.functional.map(requirement => applyFamilyRefPrefix(requirement.slug, FUNCTIONAL_REQUIREMENT_REF_PREFIX)));\n if (duplicateFunctionalRef !== null) {\n context.addIssue({ code: 'custom', message: `two functional requirement slugs normalize to the same ref \"${duplicateFunctionalRef}\"`, path: ['functional'] });\n }\n\n const duplicateNonFunctionalRef = firstDuplicate(generated.nonFunctional.map(requirement => applyFamilyRefPrefix(requirement.slug, NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX)));\n if (duplicateNonFunctionalRef !== null) {\n context.addIssue({ code: 'custom', message: `two non-functional requirement slugs normalize to the same ref \"${duplicateNonFunctionalRef}\"`, path: ['nonFunctional'] });\n }\n});\nexport type RequirementsSnapshotGeneration = z.infer<typeof RequirementsSnapshotGenerationSchema>;\n\n/** Normalize strict provider output into the permissive persisted family. */\nexport function parseRequirementsSnapshotGeneration(input: unknown): RequirementsSnapshot {\n const generated = RequirementsSnapshotGenerationSchema.parse(input);\n return RequirementsSnapshotSchema.parse({\n version: RequirementsSnapshotVersion.V1,\n functional: generated.functional.map(requirement => ({\n ref: applyFamilyRefPrefix(requirement.slug, FUNCTIONAL_REQUIREMENT_REF_PREFIX),\n statement: requirement.statement,\n ...(requirement.rationale === null ? {} : { rationale: requirement.rationale }),\n acceptanceCriteria: requirement.acceptanceCriteria,\n ...(requirement.icpRefs.length === 0 ? {} : { icpRefs: requirement.icpRefs }),\n ...(requirement.jobRefs.length === 0 ? {} : { jobRefs: requirement.jobRefs }),\n ...(requirement.painRefs.length === 0 ? {} : { painRefs: requirement.painRefs }),\n })),\n nonFunctional: generated.nonFunctional.map(requirement => ({\n ref: applyFamilyRefPrefix(requirement.slug, NON_FUNCTIONAL_REQUIREMENT_REF_PREFIX),\n kind: requirement.kind,\n statement: requirement.statement,\n ...(requirement.metric === null ? {} : { metric: requirement.metric }),\n acceptanceCriteria: requirement.acceptanceCriteria,\n ...(requirement.icpRefs.length === 0 ? {} : { icpRefs: requirement.icpRefs }),\n ...(requirement.jobRefs.length === 0 ? {} : { jobRefs: requirement.jobRefs }),\n ...(requirement.painRefs.length === 0 ? {} : { painRefs: requirement.painRefs }),\n })),\n excludedStatedFacts: generated.excludedStatedFacts,\n excludedMarketPains: generated.excludedMarketPains,\n });\n}\n\nfunction firstDuplicate(values: readonly string[]): string | null {\n const seen = new Set<string>();\n for (const value of values) {\n if (seen.has(value)) return value;\n seen.add(value);\n }\n return null;\n}\n"]}
@@ -21,11 +21,12 @@ import type { RequirementsSnapshot } from './requirements-snapshot.schemas';
21
21
  * |-------------------------------|----------|--------------------------------------------------------------------------------|
22
22
  * | `INVALID_REF_FORMAT` | ERROR | A functional / non-functional ref fails its shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |
23
23
  * | `DUPLICATE_REF` | ERROR | Two functional (or two non-functional) requirements share a ref — the collection silently loses one entity to last-wins indexing. |
24
- * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |
24
+ * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`, or `painRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |
25
25
  * | `NO_FUNCTIONAL_REQUIREMENTS` | WARN | `functional` empty — the requirements brief states no capability the product must provide. |
26
26
  * | `STALE_AUTHORED` | WARN | Any entity's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |
27
27
  * | `UNKNOWN_ICP_REF` | ERROR | An `icpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |
28
28
  * | `UNKNOWN_JOB_REF` | ERROR | A `jobRefs` entry does not resolve in `options.availableJobRefs`. SKIPPED (fail-soft) when no set is passed. |
29
+ * | `UNKNOWN_PAIN_REF` | ERROR | A `painRefs` entry or an excluded pain does not resolve in `options.availablePainRefs` (#2500). SKIPPED (fail-soft) when no set is passed. |
29
30
  *
30
31
  * Severity is a TS enum (project rule — enums over literal unions). The
31
32
  * validator never mutates the snapshot. Issue ordering is detector-order
@@ -69,7 +70,12 @@ export declare enum RequirementsSnapshotIssueKind {
69
70
  * A `jobRefs` entry does not resolve against the supplied job-ref set.
70
71
  * ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.
71
72
  */
72
- UNKNOWN_JOB_REF = "unknown_job_ref"
73
+ UNKNOWN_JOB_REF = "unknown_job_ref",
74
+ /**
75
+ * A `painRefs` entry, or an `excludedMarketPains[].painRef`, does not resolve against the supplied pain-ref set
76
+ * (#2500). ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.
77
+ */
78
+ UNKNOWN_PAIN_REF = "unknown_pain_ref"
73
79
  }
74
80
  export declare enum RequirementsSnapshotIssueSeverity {
75
81
  ERROR = "error",
@@ -117,6 +123,11 @@ export interface ValidateRequirementsSnapshotOptions {
117
123
  * `availableIcpRefs`, reported as `UNKNOWN_JOB_REF`.
118
124
  */
119
125
  availableJobRefs?: ReadonlySet<string>;
126
+ /**
127
+ * Resolvable market pain refs (#2500). Same skip-when-omitted semantics as `availableIcpRefs`, reported as
128
+ * `UNKNOWN_PAIN_REF`, for a requirement's `painRefs` and for an excluded pain.
129
+ */
130
+ availablePainRefs?: ReadonlySet<string>;
120
131
  }
121
132
  export declare function validateRequirementsSnapshot(snapshot: RequirementsSnapshot, options?: ValidateRequirementsSnapshotOptions): RequirementsSnapshotValidationResult;
122
133
  /** @wildo_source:part:end requirements.snapshot.validation */
@@ -1 +1 @@
1
- {"version":3,"file":"requirements-snapshot-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-validation.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,oBAAY,6BAA6B;IACvC;;;;;OAKG;IACH,kBAAkB,uBAAuB;IACzC;;;;OAIG;IACH,aAAa,kBAAkB;IAC/B;;;;;;;OAOG;IACH,mBAAmB,wBAAwB;IAC3C,2EAA2E;IAC3E,0BAA0B,+BAA+B;IACzD,4EAA4E;IAC5E,cAAc,mBAAmB;IACjC;;;;OAIG;IACH,eAAe,oBAAoB;IACnC;;;OAGG;IACH,eAAe,oBAAoB;CACpC;AAED,oBAAY,iCAAiC;IAC3C,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,6BAA6B,CAAC;IACpC,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,iCAAiC,CAAC;CAC7C;AAED,MAAM,WAAW,oCAAoC;IACnD,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,yBAAyB,EAAE,CAAC;CACrC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,mCAAmC;IAClD,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACxC;AAeD,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,oBAAoB,EAC9B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,oCAAoC,CActC;AAwLD,8DAA8D"}
1
+ {"version":3,"file":"requirements-snapshot-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-validation.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,oBAAY,6BAA6B;IACvC;;;;;OAKG;IACH,kBAAkB,uBAAuB;IACzC;;;;OAIG;IACH,aAAa,kBAAkB;IAC/B;;;;;;;OAOG;IACH,mBAAmB,wBAAwB;IAC3C,2EAA2E;IAC3E,0BAA0B,+BAA+B;IACzD,4EAA4E;IAC5E,cAAc,mBAAmB;IACjC;;;;OAIG;IACH,eAAe,oBAAoB;IACnC;;;OAGG;IACH,eAAe,oBAAoB;IACnC;;;OAGG;IACH,gBAAgB,qBAAqB;CACtC;AAED,oBAAY,iCAAiC;IAC3C,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,6BAA6B,CAAC;IACpC,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,iCAAiC,CAAC;CAC7C;AAED,MAAM,WAAW,oCAAoC;IACnD,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,yBAAyB,EAAE,CAAC;CACrC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,mCAAmC;IAClD,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACzC;AAeD,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,oBAAoB,EAC9B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,oCAAoC,CActC;AA+MD,8DAA8D"}
@@ -22,11 +22,12 @@ import { FUNCTIONAL_REQUIREMENT_REF_PATTERN, NON_FUNCTIONAL_REQUIREMENT_REF_PATT
22
22
  * |-------------------------------|----------|--------------------------------------------------------------------------------|
23
23
  * | `INVALID_REF_FORMAT` | ERROR | A functional / non-functional ref fails its shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |
24
24
  * | `DUPLICATE_REF` | ERROR | Two functional (or two non-functional) requirements share a ref — the collection silently loses one entity to last-wins indexing. |
25
- * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |
25
+ * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`, or `painRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |
26
26
  * | `NO_FUNCTIONAL_REQUIREMENTS` | WARN | `functional` empty — the requirements brief states no capability the product must provide. |
27
27
  * | `STALE_AUTHORED` | WARN | Any entity's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |
28
28
  * | `UNKNOWN_ICP_REF` | ERROR | An `icpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |
29
29
  * | `UNKNOWN_JOB_REF` | ERROR | A `jobRefs` entry does not resolve in `options.availableJobRefs`. SKIPPED (fail-soft) when no set is passed. |
30
+ * | `UNKNOWN_PAIN_REF` | ERROR | A `painRefs` entry or an excluded pain does not resolve in `options.availablePainRefs` (#2500). SKIPPED (fail-soft) when no set is passed. |
30
31
  *
31
32
  * Severity is a TS enum (project rule — enums over literal unions). The
32
33
  * validator never mutates the snapshot. Issue ordering is detector-order
@@ -72,6 +73,11 @@ export var RequirementsSnapshotIssueKind;
72
73
  * ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.
73
74
  */
74
75
  RequirementsSnapshotIssueKind["UNKNOWN_JOB_REF"] = "unknown_job_ref";
76
+ /**
77
+ * A `painRefs` entry, or an `excludedMarketPains[].painRef`, does not resolve against the supplied pain-ref set
78
+ * (#2500). ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.
79
+ */
80
+ RequirementsSnapshotIssueKind["UNKNOWN_PAIN_REF"] = "unknown_pain_ref";
75
81
  })(RequirementsSnapshotIssueKind || (RequirementsSnapshotIssueKind = {}));
76
82
  export var RequirementsSnapshotIssueSeverity;
77
83
  (function (RequirementsSnapshotIssueSeverity) {
@@ -166,6 +172,7 @@ function detectDuplicateCrossRefs(snapshot, issues) {
166
172
  const checkEntity = (entry, collection, index) => {
167
173
  checkList(entry.icpRefs, entry, `${collection}[${index}].icpRefs`);
168
174
  checkList(entry.jobRefs, entry, `${collection}[${index}].jobRefs`);
175
+ checkList(entry.painRefs, entry, `${collection}[${index}].painRefs`);
169
176
  };
170
177
  snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));
171
178
  snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));
@@ -229,9 +236,33 @@ function detectUnknownCrossRefs(snapshot, options, issues) {
229
236
  });
230
237
  });
231
238
  }
239
+ if (options?.availablePainRefs !== undefined) {
240
+ entry.painRefs?.forEach((painRef, refIndex) => {
241
+ if (options.availablePainRefs.has(painRef))
242
+ return;
243
+ issues.push({
244
+ kind: RequirementsSnapshotIssueKind.UNKNOWN_PAIN_REF,
245
+ path: `${collection}[${index}].painRefs[${refIndex}]`,
246
+ message: `Pain ref "${painRef}" on requirement "${entry.ref}" does not resolve in the supplied pain-ref set.`,
247
+ severity: RequirementsSnapshotIssueSeverity.ERROR,
248
+ });
249
+ });
250
+ }
232
251
  };
233
252
  snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));
234
253
  snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));
254
+ if (options?.availablePainRefs !== undefined) {
255
+ (snapshot.excludedMarketPains ?? []).forEach((excluded, index) => {
256
+ if (options.availablePainRefs.has(excluded.painRef))
257
+ return;
258
+ issues.push({
259
+ kind: RequirementsSnapshotIssueKind.UNKNOWN_PAIN_REF,
260
+ path: `excludedMarketPains[${index}].painRef`,
261
+ message: `Excluded pain "${excluded.painRef}" does not resolve in the supplied pain-ref set.`,
262
+ severity: RequirementsSnapshotIssueSeverity.ERROR,
263
+ });
264
+ });
265
+ }
235
266
  }
236
267
  /** @wildo_source:part:end requirements.snapshot.validation */
237
268
  //# sourceMappingURL=requirements-snapshot-validation.js.map