@wildo-ai/saas-specifications 1.1.10 → 1.1.12

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 (1329) 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-validation.d.ts +5 -0
  7. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -1
  8. package/dist/esm/_core/application-maturity/application-maturity-validation.js +13 -0
  9. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
  10. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -1
  11. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +5 -0
  12. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -1
  13. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +34 -40
  14. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -1
  15. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +26 -2
  16. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
  17. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +20 -0
  18. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  19. package/dist/esm/_core/application-specification-family-identity.schemas.js +20 -0
  20. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  21. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +1 -1
  22. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
  23. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +4 -4
  24. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -4
  25. package/dist/esm/_core/brand/brand-audience.schemas.d.ts +2 -2
  26. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +2 -2
  27. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +8 -4
  28. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/brand/brand-generation.schemas.js +11 -1
  30. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  31. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +4 -4
  32. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +25 -22
  33. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +6 -4
  35. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
  36. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +25 -1
  37. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
  38. package/dist/esm/_core/brand/brand-name-screening-validation.js +77 -1
  39. package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
  40. package/dist/esm/_core/brand/brand-name-screening-view.d.ts +34 -32
  41. package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
  42. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +67 -35
  43. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
  44. package/dist/esm/_core/brand/brand-name-screening.schemas.js +65 -8
  45. package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
  46. package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
  47. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +14 -14
  48. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +27 -9
  49. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
  51. package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
  52. package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts +52 -0
  53. package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts.map +1 -0
  54. package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js +325 -0
  55. package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js.map +1 -0
  56. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +225 -108
  57. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +39 -2
  59. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  60. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +112 -8
  61. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  62. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +249 -12
  63. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  64. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +506 -344
  65. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  66. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +425 -13
  67. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  68. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  69. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +11 -4
  70. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  71. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +2 -2
  72. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +5 -21
  73. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +16 -6
  75. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  76. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +12 -5
  77. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  78. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +32 -9
  79. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  80. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +30 -5
  81. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  82. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js +28 -2
  83. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
  84. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +6 -5
  85. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  86. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +19 -9
  87. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  88. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +12 -33
  89. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  90. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
  91. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  92. package/dist/esm/_core/chart-view-specification.schemas.d.ts +19 -3
  93. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  94. package/dist/esm/_core/chart-view-specification.schemas.js +7 -3
  95. package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
  96. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
  97. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
  98. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
  99. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
  100. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +0 -298
  101. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +1 -6
  103. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -1
  104. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +3 -619
  105. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  106. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +14 -2
  107. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  108. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +1 -1
  109. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +60 -7
  110. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +137 -12
  112. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  113. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts +0 -32
  114. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  115. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +2 -2
  116. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  117. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +50 -12
  118. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +166 -13
  120. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
  121. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +35 -148
  122. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
  124. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  125. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
  126. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
  127. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
  128. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
  129. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
  130. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
  132. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
  133. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +2 -24
  134. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  135. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +18 -2
  136. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  137. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +4 -0
  138. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -1
  139. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +6 -0
  140. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -1
  141. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
  142. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
  144. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
  145. package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts +26 -0
  146. package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts.map +1 -0
  147. package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js +44 -0
  148. package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js.map +1 -0
  149. package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts +34 -0
  150. package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts.map +1 -0
  151. package/dist/esm/_core/compliance-posture/compliance-posture-validation.js +47 -0
  152. package/dist/esm/_core/compliance-posture/compliance-posture-validation.js.map +1 -0
  153. package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts +4 -0
  154. package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts.map +1 -0
  155. package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js +19 -0
  156. package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js.map +1 -0
  157. package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts +88 -0
  158. package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts.map +1 -0
  159. package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js +78 -0
  160. package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js.map +1 -0
  161. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/composite-view-specification.schemas.js +2 -2
  163. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  164. package/dist/esm/_core/data-seed-specification.schemas.d.ts +2 -0
  165. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  166. package/dist/esm/_core/data-seed-specification.schemas.js +10 -1
  167. package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
  168. package/dist/esm/_core/definition-specification-validators.d.ts +2 -3
  169. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  170. package/dist/esm/_core/definition-specification-validators.js +2 -3
  171. package/dist/esm/_core/definition-specification-validators.js.map +1 -1
  172. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +44 -19
  173. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  174. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +75 -2
  175. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
  176. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +93 -1
  177. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  178. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +369 -2
  179. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
  180. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +412 -5
  181. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  182. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +429 -0
  183. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  184. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +18 -1
  185. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  186. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +88 -2
  187. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  188. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  189. package/dist/esm/_core/execution-view-specification.schemas.js +2 -2
  190. package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
  191. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +20 -9
  192. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
  193. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +3 -0
  194. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
  195. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +25 -1
  196. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
  197. package/dist/esm/_core/experience-plan/experience-plan-validation.js +57 -0
  198. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
  199. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
  200. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +23 -4
  201. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
  202. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +96 -131
  203. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  204. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +144 -1
  205. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  206. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +2 -2
  207. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +15 -8
  208. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  209. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
  210. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  211. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  212. package/dist/esm/_core/family-aspects.registry.js +4 -0
  213. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  214. package/dist/esm/_core/family-aspects.schemas.d.ts +12 -1
  215. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  216. package/dist/esm/_core/family-aspects.schemas.js +11 -0
  217. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  218. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +37 -53
  219. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  220. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
  221. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +0 -14
  222. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  223. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
  224. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  225. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  226. package/dist/esm/_core/feature-specification.schemas.js +5 -4
  227. package/dist/esm/_core/feature-specification.schemas.js.map +1 -1
  228. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  229. package/dist/esm/_core/flows-actors-view-specification.schemas.js +2 -2
  230. package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
  231. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  232. package/dist/esm/_core/full-custom-view-specification.schemas.js +2 -2
  233. package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
  234. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +1 -3
  235. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  236. package/dist/esm/_core/guidance-flow-specification.schemas.js +10 -12
  237. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  238. package/dist/esm/_core/index.d.ts +12 -0
  239. package/dist/esm/_core/index.d.ts.map +1 -1
  240. package/dist/esm/_core/index.js +12 -0
  241. package/dist/esm/_core/index.js.map +1 -1
  242. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +8 -4
  243. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  244. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  245. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
  246. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  247. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +19 -51
  248. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  249. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +29 -10
  250. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  251. package/dist/esm/_core/market/feature-benefit.schemas.d.ts +5 -5
  252. package/dist/esm/_core/market/market-alternative.schemas.d.ts +3 -3
  253. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +2 -2
  254. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +4 -4
  255. package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
  256. package/dist/esm/_core/market/market-channel.schemas.d.ts +5 -5
  257. package/dist/esm/_core/market/market-gain.schemas.d.ts +3 -3
  258. package/dist/esm/_core/market/market-icp.schemas.d.ts +11 -11
  259. package/dist/esm/_core/market/market-job.schemas.d.ts +3 -3
  260. package/dist/esm/_core/market/market-message-template.schemas.d.ts +4 -4
  261. package/dist/esm/_core/market/market-objection.schemas.d.ts +3 -3
  262. package/dist/esm/_core/market/market-pain.schemas.d.ts +3 -3
  263. package/dist/esm/_core/market/market-persona.schemas.d.ts +4 -4
  264. package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
  265. package/dist/esm/_core/market/market-proof.schemas.d.ts +3 -3
  266. package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
  267. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  268. package/dist/esm/_core/market/market-references.schemas.js +13 -1
  269. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  270. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +80 -106
  271. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  272. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
  273. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  274. package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
  275. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +3 -3
  276. package/dist/esm/_core/market/market-trigger.schemas.d.ts +3 -3
  277. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  278. package/dist/esm/_core/milestone-specification.schemas.js +5 -4
  279. package/dist/esm/_core/milestone-specification.schemas.js.map +1 -1
  280. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +0 -2
  281. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  282. package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -8
  283. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  284. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +32 -27
  285. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  286. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +3 -3
  287. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  288. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -2
  289. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  290. package/dist/esm/_core/placement-plan/placement-plan-validation.js +42 -9
  291. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  292. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  293. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +16 -4
  294. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  295. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +84 -90
  296. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  297. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +90 -13
  298. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  299. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  300. package/dist/esm/_core/product-specification.schemas.js +5 -4
  301. package/dist/esm/_core/product-specification.schemas.js.map +1 -1
  302. package/dist/esm/_core/required-features-specification.schemas.d.ts +1 -5
  303. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  304. package/dist/esm/_core/required-features-specification.schemas.js +1 -5
  305. package/dist/esm/_core/required-features-specification.schemas.js.map +1 -1
  306. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
  307. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +6 -6
  308. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +4 -4
  309. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
  310. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +2 -2
  311. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +0 -4
  312. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  313. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +6 -15
  314. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  315. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +2 -3
  316. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
  317. package/dist/esm/_core/resource-specification.schemas.d.ts +76 -18
  318. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  319. package/dist/esm/_core/resource-specification.schemas.js +168 -60
  320. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  321. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +2 -2
  322. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +3 -18
  323. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  324. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
  325. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
  326. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
  327. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  328. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
  329. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  330. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +3 -3
  331. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  332. package/dist/esm/_core/role-specification.schemas.js +5 -4
  333. package/dist/esm/_core/role-specification.schemas.js.map +1 -1
  334. package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
  335. package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
  336. package/dist/esm/_core/service-method/service-method-derivation.js +415 -0
  337. package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
  338. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +87 -0
  339. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
  340. package/dist/esm/_core/service-method/service-method-generation.schemas.js +30 -0
  341. package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
  342. package/dist/esm/_core/service-method/service-method-validation.d.ts +45 -0
  343. package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
  344. package/dist/esm/_core/service-method/service-method-validation.js +102 -0
  345. package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
  346. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
  347. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
  348. package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
  349. package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
  350. package/dist/esm/_core/service-method/service-method.schemas.d.ts +356 -0
  351. package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
  352. package/dist/esm/_core/service-method/service-method.schemas.js +416 -0
  353. package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
  354. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  355. package/dist/esm/_core/sidebar-section-specification.schemas.js +2 -2
  356. package/dist/esm/_core/sidebar-section-specification.schemas.js.map +1 -1
  357. package/dist/esm/_core/specification-definition-faults.d.ts +160 -0
  358. package/dist/esm/_core/specification-definition-faults.d.ts.map +1 -0
  359. package/dist/esm/_core/specification-definition-faults.js +283 -0
  360. package/dist/esm/_core/specification-definition-faults.js.map +1 -0
  361. package/dist/esm/_core/specification-module-faults.d.ts +271 -0
  362. package/dist/esm/_core/specification-module-faults.d.ts.map +1 -0
  363. package/dist/esm/_core/specification-module-faults.js +655 -0
  364. package/dist/esm/_core/specification-module-faults.js.map +1 -0
  365. package/dist/esm/_core/translation-glossary.schemas.d.ts +79 -0
  366. package/dist/esm/_core/translation-glossary.schemas.d.ts.map +1 -0
  367. package/dist/esm/_core/translation-glossary.schemas.js +98 -0
  368. package/dist/esm/_core/translation-glossary.schemas.js.map +1 -0
  369. package/dist/esm/_core/utils/extract-field-specs.d.ts +25 -0
  370. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  371. package/dist/esm/_core/utils/extract-field-specs.js +6 -1
  372. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  373. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +2 -2
  374. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +6 -4
  375. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  376. package/dist/esm/_core/vision/vision-constraint.schemas.js +4 -2
  377. package/dist/esm/_core/vision/vision-constraint.schemas.js.map +1 -1
  378. package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
  379. package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
  380. package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
  381. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts +15 -9
  382. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  383. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +30 -20
  384. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  385. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
  386. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
  387. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +31 -7
  388. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
  389. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
  390. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
  391. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +24 -4
  392. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
  393. package/dist/esm/_core/website-plan/website-plan-validation.js +84 -7
  394. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
  395. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
  396. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +2 -1
  397. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
  398. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +424 -120
  399. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  400. package/dist/esm/_core/website-plan/website-plan.schemas.js +687 -32
  401. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  402. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +90 -0
  403. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
  404. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +104 -0
  405. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
  406. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +110 -127
  407. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  408. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +122 -16
  409. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  410. package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts +22 -0
  411. package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts.map +1 -0
  412. package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js +23 -0
  413. package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js.map +1 -0
  414. package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts +50 -0
  415. package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts.map +1 -0
  416. package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js +33 -0
  417. package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js.map +1 -0
  418. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +57 -41
  419. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  420. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
  421. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  422. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -11
  423. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  424. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +206 -10
  425. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
  426. package/dist/esm/application-creation/application-line.application-creation.schemas.js +226 -9
  427. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
  428. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
  429. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  430. package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
  431. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  432. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +42 -41
  433. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  434. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +79 -23
  435. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  436. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -2
  437. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  438. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
  439. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  440. package/dist/esm/application-creation.exports.d.ts +13 -0
  441. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  442. package/dist/esm/application-creation.exports.js +15 -0
  443. package/dist/esm/application-creation.exports.js.map +1 -1
  444. package/dist/esm/assurance/application-document-publication.schemas.d.ts +0 -12
  445. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  446. package/dist/esm/assurance/application-document-release-set.schemas.d.ts +1 -9
  447. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -1
  448. package/dist/esm/assurance/application-risk-register.schemas.d.ts +10 -73
  449. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -1
  450. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +34 -0
  451. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
  452. package/dist/esm/assurance/application-risk-signals.derivations.js +45 -1
  453. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
  454. package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
  455. package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
  456. package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
  457. package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
  458. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +632 -19
  459. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  460. package/dist/esm/assurance/assurance-authority-basis.definitions.js +3000 -1063
  461. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  462. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +27 -22
  463. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  464. package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
  465. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  466. package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
  467. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  468. package/dist/esm/assurance/assurance-document-system.definitions.js +168 -29
  469. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  470. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +34 -112
  471. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  472. package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
  473. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  474. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +121 -114
  475. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
  476. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +142 -7
  477. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
  478. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  479. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1746 -116
  480. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  481. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +0 -11
  482. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  483. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
  484. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
  485. package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
  486. package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
  487. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
  488. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  489. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +354 -5
  490. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  491. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
  492. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
  493. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
  494. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
  495. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +422 -0
  496. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
  497. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +886 -0
  498. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
  499. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +61 -182
  500. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  501. package/dist/esm/assurance/assurance-program-generation.schemas.js +180 -22
  502. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  503. package/dist/esm/assurance/assurance-program-obligation-standing.d.ts +107 -0
  504. package/dist/esm/assurance/assurance-program-obligation-standing.d.ts.map +1 -0
  505. package/dist/esm/assurance/assurance-program-obligation-standing.js +153 -0
  506. package/dist/esm/assurance/assurance-program-obligation-standing.js.map +1 -0
  507. package/dist/esm/assurance/assurance-program.schemas.d.ts +373 -1165
  508. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  509. package/dist/esm/assurance/assurance-program.schemas.js +267 -18
  510. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  511. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
  512. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  513. package/dist/esm/assurance/assurance-source-registry.definitions.js +277 -23
  514. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  515. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
  516. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
  517. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +246 -0
  518. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
  519. package/dist/esm/assurance/assurance-sources.schemas.d.ts +84 -24
  520. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  521. package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
  522. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  523. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  524. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +372 -17
  525. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  526. package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
  527. package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
  528. package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
  529. package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
  530. package/dist/esm/assurance/governed-document-release.d.ts +15 -1
  531. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  532. package/dist/esm/assurance/governed-document-release.js +10 -4
  533. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  534. package/dist/esm/assurance.exports.d.ts +5 -0
  535. package/dist/esm/assurance.exports.d.ts.map +1 -1
  536. package/dist/esm/assurance.exports.js +5 -0
  537. package/dist/esm/assurance.exports.js.map +1 -1
  538. package/dist/esm/companion-exports.d.ts +39 -3
  539. package/dist/esm/companion-exports.d.ts.map +1 -1
  540. package/dist/esm/companion-exports.js +61 -0
  541. package/dist/esm/companion-exports.js.map +1 -1
  542. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +16 -16
  543. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  544. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +37 -11
  545. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  546. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +3 -3
  547. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  548. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +10 -13
  549. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  550. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +19 -19
  551. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  552. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +64 -12
  553. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  554. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +4 -4
  555. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
  556. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  557. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +7 -6
  558. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  559. package/dist/esm/engine/applications/resources/applications.resource.specification.js +7 -7
  560. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  561. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +20 -12
  562. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  563. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +51 -14
  564. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  565. package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts +26 -0
  566. package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts.map +1 -0
  567. package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js +112 -0
  568. package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js.map +1 -0
  569. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +4 -4
  570. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  571. package/dist/esm/engine/auth/resources/index.d.ts +0 -2
  572. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  573. package/dist/esm/engine/auth/resources/index.js +0 -2
  574. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  575. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +13 -12
  576. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  577. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
  578. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  579. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +16 -16
  580. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +44 -17
  582. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  583. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +20 -20
  584. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +48 -9
  586. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  587. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +25 -21
  588. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +44 -12
  590. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  591. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +20 -14
  592. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +73 -20
  594. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  595. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +22 -22
  596. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +15 -14
  598. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  599. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +9 -8
  600. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +20 -16
  602. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  603. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +40 -40
  604. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +135 -16
  606. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  607. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +108 -108
  608. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +80 -20
  610. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts +17 -0
  612. package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts.map +1 -0
  613. package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js +85 -0
  614. package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js.map +1 -0
  615. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +21 -19
  616. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  617. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +14 -10
  618. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  619. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +14 -12
  620. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -2
  622. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  623. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +20 -20
  624. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +1 -1
  625. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  626. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +22 -20
  627. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  628. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +9 -8
  629. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  630. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +8 -8
  631. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  632. package/dist/esm/engine/billing/resources/prices.resource.specification.js +11 -10
  633. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  634. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +16 -16
  635. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  636. package/dist/esm/engine/billing/resources/products.resource.specification.js +11 -10
  637. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  638. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts +11 -11
  639. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +31 -29
  641. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  642. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +22 -21
  643. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -6
  645. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  646. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +48 -48
  647. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  648. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +112 -26
  649. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  650. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +30 -26
  651. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +5 -2
  653. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  654. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +37 -25
  655. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +50 -12
  657. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  658. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +78 -0
  659. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
  660. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +213 -0
  661. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
  662. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +33 -23
  663. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  664. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +61 -21
  665. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  666. package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts +39 -0
  667. package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts.map +1 -0
  668. package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js +533 -0
  669. package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js.map +1 -0
  670. package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
  671. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  672. package/dist/esm/engine/compliance/resources/index.js +2 -0
  673. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  674. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +21 -16
  675. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
  676. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +17 -6
  677. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
  678. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
  679. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
  680. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
  681. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
  682. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +13 -11
  683. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -1
  684. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +9 -1
  685. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
  686. package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts +27 -0
  687. package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -0
  688. package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-dlq.resource.specification.js +24 -19
  689. package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.js.map +1 -0
  690. package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
  691. package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.js +1 -1
  692. package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
  693. package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.d.ts +18 -18
  694. package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.d.ts.map +1 -0
  695. package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.js +2 -2
  696. package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.js.map +1 -0
  697. package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts +45 -0
  698. package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map +1 -0
  699. package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js +224 -0
  700. package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map +1 -0
  701. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +1 -1
  702. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -1
  703. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +3 -2
  704. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -1
  705. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  706. package/dist/esm/engine/engine-resource-specifications.registry.js +82 -20
  707. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  708. package/dist/esm/engine/engine-resource-sub-domain.d.ts +7 -3
  709. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  710. package/dist/esm/engine/engine-resource-sub-domain.js +8 -4
  711. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  712. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  713. package/dist/esm/engine/errors/error-messages.specification.js +359 -5
  714. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  715. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
  716. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  717. package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
  718. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  719. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  720. package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
  721. package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
  722. package/dist/esm/engine/features/index.d.ts +4 -2
  723. package/dist/esm/engine/features/index.d.ts.map +1 -1
  724. package/dist/esm/engine/features/index.js +6 -4
  725. package/dist/esm/engine/features/index.js.map +1 -1
  726. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js +1 -1
  727. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js.map +1 -1
  728. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +7 -7
  729. package/dist/esm/engine/features/resources/application-features.resource.specification.js +8 -8
  730. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  731. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +7 -7
  732. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +37 -18
  734. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  735. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +7 -7
  736. package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -4
  737. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  738. package/dist/esm/engine/files/resources/files.resource.specification.d.ts +27 -24
  739. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  740. package/dist/esm/engine/files/resources/files.resource.specification.js +30 -8
  741. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  742. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +30 -30
  743. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  744. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +32 -4
  745. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  746. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +18 -18
  747. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +7 -7
  748. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  749. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
  750. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
  751. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
  752. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
  753. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
  754. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
  755. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
  756. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
  757. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
  758. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
  759. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
  760. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
  761. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
  762. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
  763. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
  764. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
  765. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
  766. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
  767. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
  768. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
  769. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
  770. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +97 -0
  771. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
  772. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
  773. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
  774. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
  775. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
  776. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +229 -178
  777. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  778. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +126 -22
  779. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +60 -54
  781. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +23 -8
  783. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  784. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
  785. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
  786. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
  787. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
  788. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
  789. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
  790. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
  791. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
  792. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
  793. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
  794. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
  795. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
  796. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
  797. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
  798. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
  799. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
  800. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +240 -0
  801. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
  802. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
  803. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
  804. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
  805. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
  806. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
  807. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
  808. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
  809. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
  810. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
  811. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
  812. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
  813. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
  814. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
  816. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  817. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +9 -3
  819. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
  820. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
  821. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
  822. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
  823. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
  824. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  825. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
  826. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
  827. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
  828. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  829. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  830. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
  831. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
  832. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  833. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
  834. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
  835. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
  836. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
  837. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
  838. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
  839. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
  840. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
  841. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
  842. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
  843. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
  844. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
  845. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  846. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +7 -5
  847. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  848. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +1 -1
  849. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -1
  850. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
  851. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  852. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
  853. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
  854. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
  855. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
  856. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
  857. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
  858. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
  859. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
  860. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
  861. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
  862. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -1
  863. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +3 -2
  864. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -1
  865. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js +1 -1
  866. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js.map +1 -1
  867. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js +1 -1
  868. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js.map +1 -1
  869. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js +1 -1
  870. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js.map +1 -1
  871. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  872. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
  873. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  874. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +3 -3
  875. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  876. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  877. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
  878. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  879. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
  880. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
  881. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
  882. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
  883. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
  884. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  885. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
  886. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
  887. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
  888. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  889. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  890. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
  891. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
  892. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
  893. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
  894. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  895. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  896. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
  897. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  898. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
  899. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
  900. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
  901. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
  902. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
  903. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
  904. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
  905. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
  906. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
  907. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
  908. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
  909. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
  910. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  911. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js +1 -0
  912. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js.map +1 -1
  913. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  914. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js +3 -0
  915. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js.map +1 -1
  916. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
  917. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
  918. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  919. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +4 -1
  920. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
  921. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  922. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +4 -1
  923. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
  924. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  925. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +4 -1
  926. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
  927. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  928. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +4 -1
  929. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
  930. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  931. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js +3 -0
  932. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js.map +1 -1
  933. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +4 -1
  935. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
  936. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js +3 -0
  938. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js.map +1 -1
  939. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js +1 -0
  941. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js.map +1 -1
  942. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
  943. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
  944. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  945. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js +1 -0
  946. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js.map +1 -1
  947. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  948. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js +1 -0
  949. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js.map +1 -1
  950. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
  951. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
  952. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
  953. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
  954. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  955. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js +3 -0
  956. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js.map +1 -1
  957. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  958. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js +3 -0
  959. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js.map +1 -1
  960. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js +3 -0
  962. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js.map +1 -1
  963. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js +3 -0
  965. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js.map +1 -1
  966. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
  967. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  968. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js +1 -1
  969. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js.map +1 -1
  970. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  971. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
  972. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
  973. package/dist/esm/engine/frontend-components/index.d.ts +6 -0
  974. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  975. package/dist/esm/engine/frontend-components/index.js +26 -0
  976. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  977. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
  978. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
  979. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  980. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
  981. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
  982. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
  983. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
  984. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  985. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +12 -0
  986. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
  987. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js +1 -1
  988. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js.map +1 -1
  989. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
  990. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
  991. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  992. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +7 -3
  993. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
  994. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js +1 -1
  995. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js.map +1 -1
  996. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  997. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js +1 -0
  998. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js.map +1 -1
  999. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
  1000. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
  1001. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
  1002. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
  1003. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  1004. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +5 -3
  1005. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  1006. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +16 -14
  1007. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  1008. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
  1009. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  1010. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +18 -16
  1011. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  1012. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +20 -18
  1013. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  1014. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
  1015. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
  1016. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
  1017. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
  1018. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  1019. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
  1020. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  1021. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
  1022. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
  1023. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
  1024. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
  1025. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
  1026. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
  1027. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
  1028. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
  1029. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
  1030. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
  1031. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  1032. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
  1033. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
  1034. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
  1035. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
  1036. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
  1037. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
  1038. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
  1039. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  1040. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
  1041. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  1042. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
  1043. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
  1044. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
  1045. package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts +10 -0
  1046. package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts.map +1 -0
  1047. package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js +155 -0
  1048. package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js.map +1 -0
  1049. package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts +9 -0
  1050. package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts.map +1 -0
  1051. package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js +155 -0
  1052. package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js.map +1 -0
  1053. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +37 -19
  1054. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  1055. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +14 -14
  1056. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  1057. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  1058. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
  1059. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
  1060. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
  1061. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
  1062. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +15 -15
  1063. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
  1064. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +45 -16
  1065. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  1066. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
  1067. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
  1068. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
  1069. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
  1070. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
  1071. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
  1072. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +183 -0
  1073. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
  1074. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +52 -50
  1075. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -1
  1076. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +18 -10
  1077. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
  1078. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +86 -53
  1079. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
  1080. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +78 -17
  1081. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
  1082. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +85 -83
  1083. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
  1084. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +59 -55
  1085. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
  1086. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +30 -26
  1087. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  1088. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +38 -20
  1089. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  1090. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +12 -14
  1091. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  1092. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +0 -2
  1093. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  1094. package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts +56 -0
  1095. package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts.map +1 -0
  1096. package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js +277 -0
  1097. package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js.map +1 -0
  1098. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +20 -16
  1099. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  1100. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +13 -8
  1101. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  1102. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
  1103. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
  1104. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
  1105. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
  1106. package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
  1107. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  1108. package/dist/esm/engine/notifications/system-emails/index.js +1 -3
  1109. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  1110. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
  1111. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  1112. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
  1113. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
  1114. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
  1115. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  1116. package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
  1117. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  1118. package/dist/esm/engine/organizations/resources/index.js +1 -2
  1119. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  1120. package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts +33 -0
  1121. package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts.map +1 -0
  1122. package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js +195 -0
  1123. package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js.map +1 -0
  1124. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +19 -18
  1125. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  1126. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +129 -64
  1127. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  1128. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts +7 -7
  1129. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  1130. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -1
  1131. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  1132. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts +13 -13
  1133. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +12 -11
  1134. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  1135. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
  1136. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  1137. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts +128 -0
  1138. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
  1139. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +653 -0
  1140. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
  1141. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +9 -9
  1142. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  1143. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +15 -17
  1144. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  1145. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +14 -14
  1146. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  1147. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +5 -5
  1148. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  1149. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +18 -13
  1150. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  1151. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +111 -43
  1152. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  1153. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
  1154. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
  1155. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
  1156. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
  1157. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  1158. package/dist/esm/engine/providers/anthropic.provider.specification.js +18 -3
  1159. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  1160. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  1161. package/dist/esm/engine/providers/apple.provider.specification.js +6 -2
  1162. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  1163. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  1164. package/dist/esm/engine/providers/github.provider.specification.js +18 -7
  1165. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  1166. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
  1167. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
  1168. package/dist/esm/engine/providers/google-drive.provider.specification.js +48 -0
  1169. package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
  1170. package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -1
  1171. package/dist/esm/engine/providers/google-places.provider.specification.js +5 -2
  1172. package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -1
  1173. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  1174. package/dist/esm/engine/providers/google.provider.specification.js +8 -2
  1175. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  1176. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  1177. package/dist/esm/engine/providers/grok.provider.specification.js +14 -3
  1178. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  1179. package/dist/esm/engine/providers/index.d.ts +2 -0
  1180. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  1181. package/dist/esm/engine/providers/index.js +5 -1
  1182. package/dist/esm/engine/providers/index.js.map +1 -1
  1183. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
  1184. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
  1185. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +55 -0
  1186. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
  1187. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  1188. package/dist/esm/engine/providers/microsoft.provider.specification.js +26 -3
  1189. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  1190. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  1191. package/dist/esm/engine/providers/mistral.provider.specification.js +20 -5
  1192. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  1193. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  1194. package/dist/esm/engine/providers/openai.provider.specification.js +30 -3
  1195. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  1196. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  1197. package/dist/esm/engine/providers/perplexity.provider.specification.js +13 -2
  1198. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  1199. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -1
  1200. package/dist/esm/engine/providers/recaptcha.provider.specification.js +8 -3
  1201. package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -1
  1202. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  1203. package/dist/esm/engine/providers/resend.provider.specification.js +27 -10
  1204. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  1205. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  1206. package/dist/esm/engine/providers/stripe.provider.specification.js +19 -3
  1207. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  1208. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  1209. package/dist/esm/engine/providers/twilio.provider.specification.js +21 -6
  1210. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  1211. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
  1212. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
  1213. package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts +2 -0
  1214. package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts.map +1 -0
  1215. package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js +21 -0
  1216. package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js.map +1 -0
  1217. package/dist/esm/engine/roles/index.d.ts +8 -7
  1218. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  1219. package/dist/esm/engine/roles/index.js +13 -10
  1220. package/dist/esm/engine/roles/index.js.map +1 -1
  1221. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
  1222. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
  1223. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
  1224. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
  1225. package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
  1226. package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
  1227. package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
  1228. package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
  1229. package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts +2 -0
  1230. package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts.map +1 -0
  1231. package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js +21 -0
  1232. package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js.map +1 -0
  1233. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +13 -12
  1234. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  1235. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
  1236. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  1237. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +12 -12
  1238. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  1239. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +4 -3
  1240. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  1241. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -3
  1242. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
  1243. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +15 -15
  1244. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
  1245. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  1246. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +17 -17
  1247. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  1248. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
  1249. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  1250. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -0
  1251. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  1252. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +4 -0
  1253. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  1254. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +25 -20
  1255. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  1256. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +8 -8
  1257. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  1258. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +8 -8
  1259. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +3 -3
  1260. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  1261. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +25 -20
  1262. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  1263. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +7 -2
  1264. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  1265. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +8 -8
  1266. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +2 -2
  1267. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  1268. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +11 -9
  1269. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  1270. package/dist/esm/engine/users/resources/user-self.resource.specification.js +46 -7
  1271. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  1272. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts +3 -0
  1273. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  1274. package/dist/esm/engine/users/resources/users-api-reference.examples.js +3 -0
  1275. package/dist/esm/engine/users/resources/users-api-reference.examples.js.map +1 -1
  1276. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +12 -10
  1277. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  1278. package/dist/esm/engine/users/resources/users.resource.specification.js +26 -15
  1279. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  1280. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +63 -29
  1281. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -1
  1282. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +75 -11
  1283. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -1
  1284. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +2 -2
  1285. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +2 -30
  1286. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -1
  1287. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +2 -2
  1288. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -1
  1289. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  1290. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +51 -24
  1291. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  1292. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts +0 -31
  1293. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  1294. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts +0 -11
  1295. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  1296. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts +0 -20
  1297. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  1298. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts +0 -3
  1299. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  1300. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts +0 -24
  1301. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  1302. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +0 -12
  1303. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  1304. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1305. package/package.json +11 -11
  1306. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts +0 -35
  1307. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +0 -1
  1308. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +0 -1
  1309. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +0 -1
  1310. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +0 -1
  1311. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +0 -1
  1312. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +0 -1
  1313. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
  1314. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
  1315. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
  1316. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
  1317. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
  1318. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
  1319. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
  1320. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
  1321. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +0 -106
  1322. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
  1323. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
  1324. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
  1325. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
  1326. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
  1327. package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
  1328. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
  1329. /package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"placement-plan.schemas.js","sourceRoot":"","sources":["../../../../src/_core/placement-plan/placement-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;AACX,CAAC,EAFW,oBAAoB,KAApB,oBAAoB,QAE/B;AAED,4HAA4H;AAC5H,MAAM,CAAC,MAAM,6BAA6B,GAAG,YAAY,CAAC;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,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;QAEvC,IAAI,QAAQ,CAAC,WAAW,KAAK,oBAAoB,CAAC,MAAM;YAAE,OAAO;QACjE,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC;QACjC,IAAI,CAAC,CAAC,UAAU,IAAI,OAAO,CAAC;YAAE,OAAO;QACrC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,OAAO,KAAK,OAAO,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC;YAC9D,OAAO,CAAC,QAAQ,CAAC;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,cAAc,QAAQ,CAAC,WAAW,kBAAkB,OAAO,CAAC,QAAQ,mDAAmD,OAAO,CAAC,OAAO,EAAE;gBACjJ,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,CAAC;aAClD,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,mDAAmD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\n/**\n * @wildo_source:part:start placement-plan.config facet:layer:specification facet:family:placement-plan\n *\n * Versioning for the placement-plan payload format itself. `V1` — initial\n * shape (declared groups + one decision per subject). The shape grows\n * additively across versions; `version` is the explicit marker for consumers\n * that branch on era.\n */\nexport enum PlacementPlanVersion {\n V1 = 'v1',\n}\n\n/** Stable prefix every placement decision ref carries; the trusted runtime stamps it, a provider supplies only the slug. */\nexport const PLACEMENT_DECISION_REF_PREFIX = 'placement-';\n\n/**\n * WHICH shell surface a subject is placed on — a closed vocabulary, because\n * each member names a different authoring file with a different vocabulary,\n * and the dispatching coding agent derives which skill and which file from it.\n *\n * Deliberately NOT merged into one \"navigation surface\" bucket: a settings\n * placement names a rail CATEGORY, a sidebar placement names a sidebar\n * SECTION, and the two are different concepts that happen to both be groups.\n */\nexport enum PlacementSurface {\n /** The settings hub rail (`frontend/src/config/settings-hub.config.ts`). Grouped by category. */\n SETTINGS_HUB = 'SETTINGS_HUB',\n /** The application sidebar (`appShellConfig[SIDEBAR].contentSections`). Grouped by section. */\n SIDEBAR = 'SIDEBAR',\n /** The user dropdown's settings entries. Flat — no groups. */\n USER_MENU = 'USER_MENU',\n /** The command palette (Cmd+K). Flat — its `category` is a search facet, not a placement group. */\n COMMAND_MENU = 'COMMAND_MENU',\n}\n\n/** The surfaces whose placements MUST name a declared group. The other members are flat by construction. */\nexport const GROUPED_PLACEMENT_SURFACES: readonly PlacementSurface[] = [\n PlacementSurface.SETTINGS_HUB,\n PlacementSurface.SIDEBAR,\n];\n\n/** WHAT is being placed. */\nexport enum PlacementSubjectKind {\n /**\n * An engine-owned settings destination, named by its `SettingsDestination.ref`.\n *\n * `_core` deliberately does not import a catalog, so ref EXISTENCE is checked by the caller that\n * holds one — see `validatePlacementPlan`'s `knownSubjects`. The app-creation semantic authority\n * supplies `ENGINE_SETTINGS_DESTINATION_REFS` from `@wildo-ai/saas-models`, so an unknown ref is\n * a hard floor there. What each ref MEANS (its render target, its role and capability gating)\n * stays in `@wildo-ai/saas-frontend-lib`, which is why the ref vocabulary was moved out of it on\n * 2026-09-09: a backend-side caller could not reach it, and the floor had no holder.\n *\n * (Two earlier drafts of this note were wrong in ways worth not repeating: the parameter was\n * called `knownSubjectRefs`, a name that never existed and made the pointer ungreppable; and\n * \"no caller supplies one yet\" outlived the wiring that made one.)\n */\n ENGINE_SETTINGS_DESTINATION = 'ENGINE_SETTINGS_DESTINATION',\n /** A resource operation surface the application owns (its LIST, its READ, a custom verb). */\n RESOURCE_OPERATION = 'RESOURCE_OPERATION',\n /** An application-scoped view (composite, chart, execution, full-custom). */\n APP_VIEW = 'APP_VIEW',\n}\n\n/**\n * Which subject kinds each surface can actually CARRY — a property of the shell's vocabulary, stated\n * once, total over {@link PlacementSurface}.\n *\n * The sidebar and the command palette hold LAUNCHERS, and a launcher can open a resource operation, an\n * application view or a settings section. The settings rail and the user dropdown hold SETTINGS\n * DESTINATIONS: the engine's, and the application's own, whose target is a resource operation, a\n * framework panel or a registered component. No settings target renders an application view, so an\n * APP_VIEW placed there is a decision no configuration can realise.\n *\n * Why it is written down rather than left to the coding task: the plan IS that task's specification. A\n * placement no configuration can express produces a task that can never land, however well the agent\n * works, and the first thing to notice would be the landing check after a full coding run. Refused at\n * the plan instead (`validatePlacementPlan`'s `SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE`), the deciding panel\n * is told while it can still put the subject where a subject of that kind can go.\n *\n * A RESOURCE_OPERATION on the settings rail is realised by the application declaring its own\n * destination (`SettingsHubConfig.destinations`) whose target is that operation, then placing it. On\n * the user dropdown it is the same destination, listed in `settingsEntries`.\n *\n * Not offered: a settings target that renders an application view inside the rail's panel. Each view\n * content type would need its own in-panel renderer, and a view already reaches people through the\n * sidebar or the palette. Content that genuinely belongs in settings can be a registered component the\n * application declares as its own destination.\n */\nexport const PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS: Readonly<Record<PlacementSurface, readonly PlacementSubjectKind[]>> = {\n [PlacementSurface.SETTINGS_HUB]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.USER_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.SIDEBAR]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n [PlacementSurface.COMMAND_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n};\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * The surfaces where a placement may be shown to some roles only: the LAUNCHER surfaces, whose entries carry\n * `runtimeAvailability.visibleToRoles` in the application's configuration. The settings rail and the user dropdown hold\n * settings destinations, which carry their own role gating, so an audience declared there is a decision no\n * configuration realises.\n */\nexport const PLACEMENT_AUDIENCE_SURFACES: readonly PlacementSurface[] = [\n PlacementSurface.SIDEBAR,\n PlacementSurface.COMMAND_MENU,\n];\n\n/**\n * Who a sidebar section or an entry is shown to: the application's role keys (an office-only \"Invoices\" section a\n * field technician does not see). Absent means everyone, so an empty list is refused: one spelling per state.\n * Navigation, not authorization: the target operation's own roles are what the backend enforces.\n */\nconst PlacementAudienceRolesSchema = z.array(z.string().trim().min(1)).min(1);\n\n/**\n * A placement group's OWN key (`groupRef` on the group) — the same slug grammar as the other refs,\n * declared apart from the fields that POINT at a group (an address's `groupRef`).\n */\nconst PlacementGroupKeySchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\nexport const PlacementSubjectSchema = z.discriminatedUnion('kind', [\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION).systemEnum('PlacementSubjectKind'),\n destinationRef: SlugSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.RESOURCE_OPERATION).systemEnum('PlacementSubjectKind'),\n moduleRef: SlugSchema,\n resourceRef: SlugSchema,\n /** The operation this placement surfaces (`list`, `read`, a custom verb ref). */\n operation: NonEmptyStringSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.APP_VIEW).systemEnum('PlacementSubjectKind'),\n viewRef: SlugSchema,\n }),\n]);\nexport type PlacementSubject = z.infer<typeof PlacementSubjectSchema>;\n\n/**\n * A container the plan decides should exist on a grouped surface — a settings\n * rail category, or a sidebar section.\n *\n * `purpose` is prose, and it is load-bearing rather than decorative: it is what\n * grounds the generated `settings_hub.categories.<ref>.label` /\n * `sidebar_sections.<ref>.title` labels in authored intent instead of letting a\n * model invent filler from the ref alone. The plan does NOT author the label\n * string — that is the labelling pipeline's job.\n */\nexport const PlacementGroupSchema = z.strictObject({\n groupRef: PlacementGroupKeySchema,\n /** Which grouped surface this group belongs to. */\n surface: z.enum(PlacementSurface).systemEnum('PlacementSurface'),\n /** Why this group exists / what it gathers, from a product perspective. */\n purpose: NonEmptyStringSchema,\n /** Sort order among groups on its surface (lower = higher). */\n order: z.number().int().min(0),\n /**\n * The roles this group is shown to, when it is for one audience only (see `PlacementAudienceRolesSchema`). Only on a\n * SIDEBAR group, where it becomes the section's `runtimeAvailability.visibleToRoles`; refused on a settings category.\n */\n visibleToRoles: PlacementAudienceRolesSchema.optional(),\n});\nexport type PlacementGroup = z.infer<typeof PlacementGroupSchema>;\n\n/**\n * WHERE a placed subject sits. Discriminated on surface because the address\n * vocabularies genuinely differ: the grouped surfaces name a group, the flat\n * ones do not have one to name.\n */\nexport const PlacementAddressSchema = z.discriminatedUnion('surface', [\n z.strictObject({\n surface: z.literal(PlacementSurface.SETTINGS_HUB).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the settings rail category. */\n groupRef: SlugSchema,\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.SIDEBAR).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the sidebar section. */\n groupRef: SlugSchema,\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.USER_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.COMMAND_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n]);\nexport type PlacementAddress = z.infer<typeof PlacementAddressSchema>;\n\n/**\n * Whether a considered subject was placed or deliberately left unplaced.\n *\n * `DECLINED` is a first-class outcome, not an absence. A subject that is simply\n * missing from the plan is a COVERAGE GAP (the decision was never taken); a\n * subject recorded as `DECLINED` is a decision, with a reason a reader can\n * disagree with. Collapsing the two would make \"we thought about it and said no\"\n * indistinguishable from \"nobody looked\".\n */\nexport enum PlacementDisposition {\n PLACED = 'PLACED',\n DECLINED = 'DECLINED',\n}\n\n/**\n * WHOSE judgement a decision currently represents.\n *\n * The placement plan is produced by an expert-panel deliberation, and every decision carries a\n * `rationale` written by that panel. Nothing stopped a later edit — a re-run, or a human changing\n * the landed file — from leaving that rationale in place while changing what it explains, so the\n * artifact went on asserting panel reasoning for a decision the panel never took.\n *\n * This is the field that makes the difference legible. It is REQUIRED and has NO DEFAULT, which is\n * the whole point: a defaulted `DELIBERATED` would mean silence claims the panel, and silence is\n * exactly what a hand-edit produces.\n *\n * ⚠️ TRUSTED, like `decisionRef`. `PlacementDecisionGenerationSchema` cannot express it, so a\n * provider cannot declare its own output a human revision; `parsePlacementPlanGeneration` stamps\n * `DELIBERATED` because a panel run is by definition the panel's judgement.\n *\n * ⚠️ This is not an audit trail and must not grow into one. Git already records WHO changed a\n * decision, WHEN, and with what commit message, mergeably and across branches — git is the\n * accepted state, and a second ledger beside it cannot merge. What git cannot tell a reader who is looking at the\n * FILE — the config, in an editor, asking \"why is Billing under Account?\" — is that this particular\n * line is no longer what the panel decided. That is the one fact this carries.\n */\nexport enum PlacementDecisionOrigin {\n /** The expert panel decided it, and nobody has changed it since. */\n DELIBERATED = 'DELIBERATED',\n /** A human changed it after the panel decided otherwise. {@link PlacementSupersededDecisionSchema} says what the panel had said. */\n REVISED = 'REVISED',\n}\n\n/**\n * What a revision replaced — the panel's own reasoning, kept beside the human's.\n *\n * Only the RATIONALE, deliberately. The decision schema's own note already says the reasoning is\n * \"the artifact's most perishable and most valuable part\", and it is the half a reader cannot\n * reconstruct: the prior address is visible in `git diff`, the prior argument is not, because a\n * diff shows the words that changed and never the case they were making.\n *\n * Keeping more — the old address, a timestamp, an author — would grow a shadow decision beside the\n * real one, and every one of those is something git already holds, in a form that merges.\n */\nexport const PlacementSupersededDecisionSchema = z.strictObject({\n /** The rationale the panel gave for the decision this one replaced. */\n rationale: NonEmptyStringSchema,\n});\nexport type PlacementSupersededDecision = z.infer<typeof PlacementSupersededDecisionSchema>;\n\n/**\n * One placement decision.\n *\n * `rationale` is REQUIRED on both arms. It is what lets a creator ask \"why is\n * Billing under Organization?\" and get an answer without re-running the panel\n * that decided it — the plan is produced by an expert-panel deliberation, so\n * the reasoning is the artifact's most perishable and most valuable part.\n *\n * A subject may legitimately be placed on SEVERAL surfaces (billing sits in the\n * settings rail AND answers to the command palette), so one decision per\n * (subject, surface) — never one per subject.\n */\nexport const PlacementDecisionSchema = z.discriminatedUnion('disposition', [\n z.strictObject({\n /** `placement-<slug>`, stamped by the trusted runtime. */\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.PLACED).systemEnum('PlacementDisposition'),\n /** Whose judgement this is. Required, never defaulted — see {@link PlacementDecisionOrigin}. */\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n address: PlacementAddressSchema,\n /** Why this subject belongs at this address. One or two sentences, product-level. */\n rationale: NonEmptyStringSchema,\n /**\n * The roles this entry is shown to, when it is for one audience only. Only on a launcher surface\n * (`PLACEMENT_AUDIENCE_SURFACES`), where it becomes the entry's `runtimeAvailability.visibleToRoles`.\n */\n visibleToRoles: PlacementAudienceRolesSchema.optional(),\n /** Required exactly when `origin` is REVISED — enforced below, on the decision itself. */\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n z.strictObject({\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.DECLINED).systemEnum('PlacementDisposition'),\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n /** Why this subject is deliberately NOT surfaced anywhere. */\n rationale: NonEmptyStringSchema,\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n]).superRefine((decision, context) => {\n /*\n * The pairing, enforced on the DECISION rather than on the plan.\n *\n * `PlacementDecisionSchema` is exported and parsed on its own, so a check that lived only in the\n * plan's `superRefine` would hold for a whole plan and not for a decision — one of the two call\n * sites of an invariant — the shape where a guard is applied at one call site and silently\n * missing at another. Here it cannot be bypassed by parsing at a different granularity.\n *\n * Both directions, and the second matters as much as the first. A REVISED decision with no\n * `supersedes` is the defect this whole field was added for, wearing the new vocabulary: it says\n * \"a human changed this\" and still cannot say what was changed. A DELIBERATED decision that\n * CARRIES a `supersedes` is a plan claiming the panel overruled itself — no run produces that, so\n * it can only come from an edit that changed one half and forgot the other.\n */\n if (decision.origin === PlacementDecisionOrigin.REVISED && decision.supersedes === undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is REVISED but records no superseded rationale — a revision must say what the panel had decided, or the artifact loses the argument it replaced`,\n path: ['supersedes'],\n });\n }\n if (decision.disposition === PlacementDisposition.PLACED && decision.visibleToRoles !== undefined\n && !PLACEMENT_AUDIENCE_SURFACES.includes(decision.address.surface)) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" restricts its audience on ${decision.address.surface}, where entries are settings destinations with their own role gating — declare visibleToRoles only on a launcher surface (${PLACEMENT_AUDIENCE_SURFACES.join(', ')})`,\n path: ['visibleToRoles'],\n });\n }\n if (decision.origin === PlacementDecisionOrigin.DELIBERATED && decision.supersedes !== undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is DELIBERATED and records a superseded rationale — a panel decision supersedes nothing; set origin to REVISED, or drop the supersedes block`,\n path: ['supersedes'],\n });\n }\n});\nexport type PlacementDecision = z.infer<typeof PlacementDecisionSchema>;\n\n/**\n * THE placement payload — a **single aggregate per application**: which shell\n * surface every destination, resource operation and app view sits on, and why.\n *\n * **Artifact-family id: `placement-plan`.** This schema is the shape of the\n * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===\n * 'placement-plan'` (the `family` vocabulary stays an open string owned by the\n * selector surface; this note is the single place tying the SHAPE to the NAME).\n * Produced by the `bottom_up.placement-plan` playbook — an expert-panel\n * deliberation, not a creator elicitation — and consumed by `build-decompose`,\n * which turns it into the coding tasks that author the real config files.\n *\n * Invariants enforced HERE: unique decision refs; at least one decision; every\n * placement on a grouped surface names a group declared in this plan, of the\n * SAME surface; no two groups share a ref on one surface. Coherence beyond\n * structure — duplicate placements, empty groups, order collisions, coverage\n * against the engine catalog — is `validatePlacementPlan`'s job.\n */\nexport const PlacementPlanSchema = z.object({\n version: z.enum(PlacementPlanVersion).default(PlacementPlanVersion.V1),\n /**\n * The groups the plan decides should exist. May be empty only when no\n * grouped-surface placement is made — enforced below rather than by a\n * `min(1)`, because a plan that places nothing but command-menu entries is\n * legitimate and needs no group.\n */\n groups: z.array(PlacementGroupSchema).default([]),\n /**\n * At least one decision, at the SCHEMA. A plan that decided nothing is a\n * refusal (\"there was nothing to place\"), never an artifact — and an empty\n * artifact that LANDS overwrites a real one, which is exactly how a completed\n * 3-task build plan was destroyed by a vacuous one on 2026-08-24.\n */\n decisions: z.array(PlacementDecisionSchema).min(1),\n}).superRefine((plan, context) => {\n const groupKeys = new Set<string>();\n plan.groups.forEach((group, index) => {\n if (group.visibleToRoles !== undefined && !PLACEMENT_AUDIENCE_SURFACES.includes(group.surface)) {\n context.addIssue({\n code: 'custom',\n message: `placement group \"${group.groupRef}\" restricts its audience on ${group.surface}, whose categories carry no audience — declare visibleToRoles only on a SIDEBAR section`,\n path: ['groups', index, 'visibleToRoles'],\n });\n }\n const key = `${group.surface}::${group.groupRef}`;\n if (groupKeys.has(key)) {\n context.addIssue({ code: 'custom', message: `duplicate placement group \"${group.groupRef}\" on surface ${group.surface}`, path: ['groups', index, 'groupRef'] });\n }\n groupKeys.add(key);\n });\n\n const decisionRefs = new Set<string>();\n plan.decisions.forEach((decision, index) => {\n if (decisionRefs.has(decision.decisionRef)) {\n context.addIssue({ code: 'custom', message: `duplicate placement decision ref \"${decision.decisionRef}\"`, path: ['decisions', index, 'decisionRef'] });\n }\n decisionRefs.add(decision.decisionRef);\n\n if (decision.disposition !== PlacementDisposition.PLACED) return;\n const address = decision.address;\n if (!('groupRef' in address)) return;\n if (!groupKeys.has(`${address.surface}::${address.groupRef}`)) {\n context.addIssue({\n code: 'custom',\n message: `placement \"${decision.decisionRef}\" names group \"${address.groupRef}\", which this plan does not declare for surface ${address.surface}`,\n path: ['decisions', index, 'address', 'groupRef'],\n });\n }\n });\n});\nexport type PlacementPlan = z.infer<typeof PlacementPlanSchema>;\n/** @wildo_source:part:end placement-plan.config */\n"]}
1
+ {"version":3,"file":"placement-plan.schemas.js","sourceRoot":"","sources":["../../../../src/_core/placement-plan/placement-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;AACX,CAAC,EAFW,oBAAoB,KAApB,oBAAoB,QAE/B;AAED,4HAA4H;AAC5H,MAAM,CAAC,MAAM,6BAA6B,GAAG,YAAY,CAAC;AAE1D;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,iGAAiG;IACjG,iDAA6B,CAAA;IAC7B,+FAA+F;IAC/F,uCAAmB,CAAA;IACnB,8DAA8D;IAC9D,2CAAuB,CAAA;IACvB,mGAAmG;IACnG,iDAA6B,CAAA;AAC/B,CAAC,EATW,gBAAgB,KAAhB,gBAAgB,QAS3B;AAED,4GAA4G;AAC5G,MAAM,CAAC,MAAM,0BAA0B,GAAgC;IACrE,gBAAgB,CAAC,YAAY;IAC7B,gBAAgB,CAAC,OAAO;C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yBAAyB,OAAO,CAAC,WAAW,uDAAuD,OAAO,CAAC,QAAQ,GAAG;gBACjK,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC;aACrD,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,mDAAmD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\n/**\n * @wildo_source:part:start placement-plan.config facet:layer:specification facet:family:placement-plan\n *\n * Versioning for the placement-plan payload format itself. `V1` — initial\n * shape (declared groups + one decision per subject). The shape grows\n * additively across versions; `version` is the explicit marker for consumers\n * that branch on era.\n */\nexport enum PlacementPlanVersion {\n V1 = 'v1',\n}\n\n/** Stable prefix every placement decision ref carries; the trusted runtime stamps it, a provider supplies only the slug. */\nexport const PLACEMENT_DECISION_REF_PREFIX = 'placement-';\n\n/**\n * WHICH shell surface a subject is placed on — a closed vocabulary, because\n * each member names a different authoring file with a different vocabulary,\n * and the dispatching coding agent derives which skill and which file from it.\n *\n * Deliberately NOT merged into one \"navigation surface\" bucket: a settings\n * placement names a rail CATEGORY, a sidebar placement names a sidebar\n * SECTION, and the two are different concepts that happen to both be groups.\n */\nexport enum PlacementSurface {\n /** The settings hub rail (`frontend/src/config/settings-hub.config.ts`). Grouped by category. */\n SETTINGS_HUB = 'SETTINGS_HUB',\n /** The application sidebar (`appShellConfig[SIDEBAR].contentSections`). Grouped by section. */\n SIDEBAR = 'SIDEBAR',\n /** The user dropdown's settings entries. Flat — no groups. */\n USER_MENU = 'USER_MENU',\n /** The command palette (Cmd+K). Flat — its `category` is a search facet, not a placement group. */\n COMMAND_MENU = 'COMMAND_MENU',\n}\n\n/** The surfaces whose placements MUST name a declared group. The other members are flat by construction. */\nexport const GROUPED_PLACEMENT_SURFACES: readonly PlacementSurface[] = [\n PlacementSurface.SETTINGS_HUB,\n PlacementSurface.SIDEBAR,\n];\n\n/** WHAT is being placed. */\nexport enum PlacementSubjectKind {\n /**\n * An engine-owned settings destination, named by its `SettingsDestination.ref`.\n *\n * `_core` deliberately does not import a catalog, so ref EXISTENCE is checked by the caller that\n * holds one — see `validatePlacementPlan`'s `knownSubjects`. The app-creation semantic authority\n * supplies `ENGINE_SETTINGS_DESTINATION_REFS` from `@wildo-ai/saas-models`, so an unknown ref is\n * a hard floor there. What each ref MEANS (its render target, its role and capability gating)\n * stays in `@wildo-ai/saas-frontend-lib`, which is why the ref vocabulary was moved out of it on\n * 2026-09-09: a backend-side caller could not reach it, and the floor had no holder.\n *\n * (Two earlier drafts of this note were wrong in ways worth not repeating: the parameter was\n * called `knownSubjectRefs`, a name that never existed and made the pointer ungreppable; and\n * \"no caller supplies one yet\" outlived the wiring that made one.)\n */\n ENGINE_SETTINGS_DESTINATION = 'ENGINE_SETTINGS_DESTINATION',\n /** A resource operation surface the application owns (its LIST, its READ, a custom verb). */\n RESOURCE_OPERATION = 'RESOURCE_OPERATION',\n /** An application-scoped view (composite, chart, execution, full-custom). */\n APP_VIEW = 'APP_VIEW',\n}\n\n/**\n * Which subject kinds each surface can actually CARRY — a property of the shell's vocabulary, stated\n * once, total over {@link PlacementSurface}.\n *\n * The sidebar and the command palette hold LAUNCHERS, and a launcher can open a resource operation, an\n * application view or a settings section. The settings rail and the user dropdown hold SETTINGS\n * DESTINATIONS: the engine's, and the application's own, whose target is a resource operation, a\n * framework panel or a registered component. No settings target renders an application view, so an\n * APP_VIEW placed there is a decision no configuration can realise.\n *\n * Why it is written down rather than left to the coding task: the plan IS that task's specification. A\n * placement no configuration can express produces a task that can never land, however well the agent\n * works, and the first thing to notice would be the landing check after a full coding run. Refused at\n * the plan instead (`validatePlacementPlan`'s `SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE`), the deciding panel\n * is told while it can still put the subject where a subject of that kind can go.\n *\n * A RESOURCE_OPERATION on the settings rail is realised by the application declaring its own\n * destination (`SettingsHubConfig.destinations`) whose target is that operation, then placing it. On\n * the user dropdown it is the same destination, listed in `settingsEntries`.\n *\n * Not offered: a settings target that renders an application view inside the rail's panel. Each view\n * content type would need its own in-panel renderer, and a view already reaches people through the\n * sidebar or the palette. Content that genuinely belongs in settings can be a registered component the\n * application declares as its own destination.\n */\nexport const PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS: Readonly<Record<PlacementSurface, readonly PlacementSubjectKind[]>> = {\n [PlacementSurface.SETTINGS_HUB]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.USER_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.SIDEBAR]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n [PlacementSurface.COMMAND_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n};\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * The surfaces where a placement may be shown to some roles only: the LAUNCHER surfaces, whose entries carry\n * `runtimeAvailability.requiredRoles` in the application's configuration. The settings rail and the user dropdown hold\n * settings destinations, which carry their own role gating, so an audience declared there is a decision no\n * configuration realises.\n */\nexport const PLACEMENT_AUDIENCE_SURFACES: readonly PlacementSurface[] = [\n PlacementSurface.SIDEBAR,\n PlacementSurface.COMMAND_MENU,\n];\n\n/**\n * Who a sidebar section or an entry is shown to: the application's role keys (an office-only \"Invoices\" section a\n * field technician does not see). Absent means everyone, so an empty list is refused: one spelling per state.\n * Navigation, not authorization: the target operation's own roles are what the backend enforces.\n */\nconst PlacementAudienceRolesSchema = z.array(z.string().trim().min(1)).min(1);\n\n/**\n * A placement group's OWN key (`groupRef` on the group) — the same slug grammar as the other refs,\n * declared apart from the fields that POINT at a group (an address's `groupRef`).\n */\nconst PlacementGroupKeySchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\nexport const PlacementSubjectSchema = z.discriminatedUnion('kind', [\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION).systemEnum('PlacementSubjectKind'),\n destinationRef: SlugSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.RESOURCE_OPERATION).systemEnum('PlacementSubjectKind'),\n moduleRef: SlugSchema,\n resourceRef: SlugSchema,\n /** The operation this placement surfaces (`list`, `read`, a custom verb ref). */\n operation: NonEmptyStringSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.APP_VIEW).systemEnum('PlacementSubjectKind'),\n viewRef: SlugSchema,\n }),\n]);\nexport type PlacementSubject = z.infer<typeof PlacementSubjectSchema>;\n\n/**\n * The IDENTITY of a view, as a placement decision, an experience-plan view and a built shell entry are compared by\n * (#1538, #3066). The three spell one view differently: the experience plan names it `view-supplier-directory`, a\n * placement decision `supplier-directory`, the built tree `supplierDirectory` or `supplier-directory-view`. So a\n * `view-` prefix and a `-view` suffix are dropped, the rest lower-cased with every non-alphanumeric character removed.\n *\n * ONE function, because two comparisons that normalised differently already disagreed: the coherence report stripped\n * only the prefix while the companion's shell probe also dropped the suffix, so a pair the shell accepted could still\n * be told to revise its placement plan (#3066 deep review #2, N6). Everything that asks \"is this the same view?\"\n * between those three spellings asks here.\n */\nexport function placementViewIdentity(viewRef: string): string {\n return viewRef\n .replace(/^view-/iu, '')\n .replace(/-view$/iu, '')\n .toLowerCase()\n .replace(/[^a-z0-9]/gu, '');\n}\n\n/**\n * A container the plan decides should exist on a grouped surface — a settings\n * rail category, or a sidebar section.\n *\n * `purpose` is prose, and it is load-bearing rather than decorative: it is what\n * grounds the generated `settings_hub.categories.<ref>.label` /\n * `sidebar_sections.<ref>.title` labels in authored intent instead of letting a\n * model invent filler from the ref alone. The plan does NOT author the label\n * string — that is the labelling pipeline's job.\n */\n/**\n * A SUB-CATEGORY of a settings rail category (#2481): a heading inside the category that gathers some of its sections.\n * It lands as an entry of the category's `groups` in `settings-hub.config.ts`, which is why it is declared INSIDE its\n * category here rather than beside it: its ref is scoped to that category (two categories may each have `people`), and\n * a structure that cannot name two parents cannot nest twice.\n */\nexport const PlacementSubGroupSchema = z.strictObject({\n groupRef: PlacementGroupKeySchema,\n /** What the sub-category gathers, from a product perspective; it grounds the generated heading. */\n purpose: NonEmptyStringSchema,\n /** Sort order among its category's sub-categories (lower = higher). */\n order: z.number().int().min(0),\n});\nexport type PlacementSubGroup = z.infer<typeof PlacementSubGroupSchema>;\n\nexport const PlacementGroupSchema = z.strictObject({\n groupRef: PlacementGroupKeySchema,\n /** Which grouped surface this group belongs to. */\n surface: z.enum(PlacementSurface).systemEnum('PlacementSurface'),\n /** Why this group exists / what it gathers, from a product perspective. */\n purpose: NonEmptyStringSchema,\n /** Sort order among groups on its surface (lower = higher). */\n order: z.number().int().min(0),\n /**\n * The category's sub-categories (#2481). SETTINGS_HUB only: a sidebar section does not nest. Absent or empty, the\n * category's sections sit in one flat list.\n */\n subGroups: z.array(PlacementSubGroupSchema).optional(),\n /**\n * The roles this group is shown to, when it is for one audience only (see `PlacementAudienceRolesSchema`). Only on a\n * SIDEBAR group, where it becomes the section's `runtimeAvailability.requiredRoles`; refused on a settings category.\n */\n requiredRoles: PlacementAudienceRolesSchema.optional(),\n});\nexport type PlacementGroup = z.infer<typeof PlacementGroupSchema>;\n\n/**\n * The identity of a declared group within a plan: a category or sidebar section by surface and ref, a sub-category by\n * surface, category and ref. One function so the plan's refinement and `validatePlacementPlan` cannot key them apart.\n */\nexport function placementGroupIdentity(surface: PlacementSurface, groupRef: string, categoryRef?: string): string {\n return categoryRef === undefined ? `${surface}::${groupRef}` : `${surface}::${categoryRef}/${groupRef}`;\n}\n\n/**\n * WHERE a placed subject sits. Discriminated on surface because the address\n * vocabularies genuinely differ: the grouped surfaces name a group, the flat\n * ones do not have one to name.\n */\nexport const PlacementAddressSchema = z.discriminatedUnion('surface', [\n z.strictObject({\n surface: z.literal(PlacementSurface.SETTINGS_HUB).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the settings rail category. */\n groupRef: SlugSchema,\n /**\n * The sub-category of that category the section sits under (#2481): one of the category's `subGroups`. Absent, the\n * section sits directly in its category, above the sub-categories.\n */\n subGroupRef: SlugSchema.optional(),\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.SIDEBAR).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the sidebar section. */\n groupRef: SlugSchema,\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.USER_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.COMMAND_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n]);\nexport type PlacementAddress = z.infer<typeof PlacementAddressSchema>;\n\n/**\n * Whether a considered subject was placed or deliberately left unplaced.\n *\n * `DECLINED` is a first-class outcome, not an absence. A subject that is simply\n * missing from the plan is a COVERAGE GAP (the decision was never taken); a\n * subject recorded as `DECLINED` is a decision, with a reason a reader can\n * disagree with. Collapsing the two would make \"we thought about it and said no\"\n * indistinguishable from \"nobody looked\".\n */\nexport enum PlacementDisposition {\n PLACED = 'PLACED',\n DECLINED = 'DECLINED',\n}\n\n/**\n * WHOSE judgement a decision currently represents.\n *\n * The placement plan is produced by an expert-panel deliberation, and every decision carries a\n * `rationale` written by that panel. Nothing stopped a later edit — a re-run, or a human changing\n * the landed file — from leaving that rationale in place while changing what it explains, so the\n * artifact went on asserting panel reasoning for a decision the panel never took.\n *\n * This is the field that makes the difference legible. It is REQUIRED and has NO DEFAULT, which is\n * the whole point: a defaulted `DELIBERATED` would mean silence claims the panel, and silence is\n * exactly what a hand-edit produces.\n *\n * ⚠️ TRUSTED, like `decisionRef`. `PlacementDecisionGenerationSchema` cannot express it, so a\n * provider cannot declare its own output a human revision; `parsePlacementPlanGeneration` stamps\n * `DELIBERATED` because a panel run is by definition the panel's judgement.\n *\n * ⚠️ This is not an audit trail and must not grow into one. Git already records WHO changed a\n * decision, WHEN, and with what commit message, mergeably and across branches — git is the\n * accepted state, and a second ledger beside it cannot merge. What git cannot tell a reader who is looking at the\n * FILE — the config, in an editor, asking \"why is Billing under Account?\" — is that this particular\n * line is no longer what the panel decided. That is the one fact this carries.\n */\nexport enum PlacementDecisionOrigin {\n /** The expert panel decided it, and nobody has changed it since. */\n DELIBERATED = 'DELIBERATED',\n /** A human changed it after the panel decided otherwise. {@link PlacementSupersededDecisionSchema} says what the panel had said. */\n REVISED = 'REVISED',\n}\n\n/**\n * What a revision replaced — the panel's own reasoning, kept beside the human's.\n *\n * Only the RATIONALE, deliberately. The decision schema's own note already says the reasoning is\n * \"the artifact's most perishable and most valuable part\", and it is the half a reader cannot\n * reconstruct: the prior address is visible in `git diff`, the prior argument is not, because a\n * diff shows the words that changed and never the case they were making.\n *\n * Keeping more — the old address, a timestamp, an author — would grow a shadow decision beside the\n * real one, and every one of those is something git already holds, in a form that merges.\n */\nexport const PlacementSupersededDecisionSchema = z.strictObject({\n /** The rationale the panel gave for the decision this one replaced. */\n rationale: NonEmptyStringSchema,\n});\nexport type PlacementSupersededDecision = z.infer<typeof PlacementSupersededDecisionSchema>;\n\n/**\n * One placement decision.\n *\n * `rationale` is REQUIRED on both arms. It is what lets a creator ask \"why is\n * Billing under Organization?\" and get an answer without re-running the panel\n * that decided it — the plan is produced by an expert-panel deliberation, so\n * the reasoning is the artifact's most perishable and most valuable part.\n *\n * A subject may legitimately be placed on SEVERAL surfaces (billing sits in the\n * settings rail AND answers to the command palette), so one decision per\n * (subject, surface) — never one per subject.\n */\nexport const PlacementDecisionSchema = z.discriminatedUnion('disposition', [\n z.strictObject({\n /** `placement-<slug>`, stamped by the trusted runtime. */\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.PLACED).systemEnum('PlacementDisposition'),\n /** Whose judgement this is. Required, never defaulted — see {@link PlacementDecisionOrigin}. */\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n address: PlacementAddressSchema,\n /** Why this subject belongs at this address. One or two sentences, product-level. */\n rationale: NonEmptyStringSchema,\n /**\n * The roles this entry is shown to, when it is for one audience only. Only on a launcher surface\n * (`PLACEMENT_AUDIENCE_SURFACES`), where it becomes the entry's `runtimeAvailability.requiredRoles`.\n */\n requiredRoles: PlacementAudienceRolesSchema.optional(),\n /** Required exactly when `origin` is REVISED — enforced below, on the decision itself. */\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n z.strictObject({\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.DECLINED).systemEnum('PlacementDisposition'),\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n /** Why this subject is deliberately NOT surfaced anywhere. */\n rationale: NonEmptyStringSchema,\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n]).superRefine((decision, context) => {\n /*\n * The pairing, enforced on the DECISION rather than on the plan.\n *\n * `PlacementDecisionSchema` is exported and parsed on its own, so a check that lived only in the\n * plan's `superRefine` would hold for a whole plan and not for a decision — one of the two call\n * sites of an invariant — the shape where a guard is applied at one call site and silently\n * missing at another. Here it cannot be bypassed by parsing at a different granularity.\n *\n * Both directions, and the second matters as much as the first. A REVISED decision with no\n * `supersedes` is the defect this whole field was added for, wearing the new vocabulary: it says\n * \"a human changed this\" and still cannot say what was changed. A DELIBERATED decision that\n * CARRIES a `supersedes` is a plan claiming the panel overruled itself — no run produces that, so\n * it can only come from an edit that changed one half and forgot the other.\n */\n if (decision.origin === PlacementDecisionOrigin.REVISED && decision.supersedes === undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is REVISED but records no superseded rationale — a revision must say what the panel had decided, or the artifact loses the argument it replaced`,\n path: ['supersedes'],\n });\n }\n if (decision.disposition === PlacementDisposition.PLACED && decision.requiredRoles !== undefined\n && !PLACEMENT_AUDIENCE_SURFACES.includes(decision.address.surface)) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" restricts its audience on ${decision.address.surface}, where entries are settings destinations with their own role gating — declare requiredRoles only on a launcher surface (${PLACEMENT_AUDIENCE_SURFACES.join(', ')})`,\n path: ['requiredRoles'],\n });\n }\n if (decision.origin === PlacementDecisionOrigin.DELIBERATED && decision.supersedes !== undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is DELIBERATED and records a superseded rationale — a panel decision supersedes nothing; set origin to REVISED, or drop the supersedes block`,\n path: ['supersedes'],\n });\n }\n});\nexport type PlacementDecision = z.infer<typeof PlacementDecisionSchema>;\n\n/**\n * THE placement payload — a **single aggregate per application**: which shell\n * surface every destination, resource operation and app view sits on, and why.\n *\n * **Artifact-family id: `placement-plan`.** This schema is the shape of the\n * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===\n * 'placement-plan'` (the `family` vocabulary stays an open string owned by the\n * selector surface; this note is the single place tying the SHAPE to the NAME).\n * Produced by the `bottom_up.placement-plan` playbook — an expert-panel\n * deliberation, not a creator elicitation — and consumed by `build-decompose`,\n * which turns it into the coding tasks that author the real config files.\n *\n * Invariants enforced HERE: unique decision refs; at least one decision; every\n * placement on a grouped surface names a group declared in this plan, of the\n * SAME surface; no two groups share a ref on one surface. Coherence beyond\n * structure — duplicate placements, empty groups, order collisions, coverage\n * against the engine catalog — is `validatePlacementPlan`'s job.\n */\nexport const PlacementPlanSchema = z.object({\n version: z.enum(PlacementPlanVersion).default(PlacementPlanVersion.V1),\n /**\n * The groups the plan decides should exist. May be empty only when no\n * grouped-surface placement is made — enforced below rather than by a\n * `min(1)`, because a plan that places nothing but command-menu entries is\n * legitimate and needs no group.\n */\n groups: z.array(PlacementGroupSchema).default([]),\n /**\n * At least one decision, at the SCHEMA. A plan that decided nothing is a\n * refusal (\"there was nothing to place\"), never an artifact — and an empty\n * artifact that LANDS overwrites a real one, which is exactly how a completed\n * 3-task build plan was destroyed by a vacuous one on 2026-08-24.\n */\n decisions: z.array(PlacementDecisionSchema).min(1),\n}).superRefine((plan, context) => {\n const groupKeys = new Set<string>();\n plan.groups.forEach((group, index) => {\n if (group.requiredRoles !== undefined && !PLACEMENT_AUDIENCE_SURFACES.includes(group.surface)) {\n context.addIssue({\n code: 'custom',\n message: `placement group \"${group.groupRef}\" restricts its audience on ${group.surface}, whose categories carry no audience — declare requiredRoles only on a SIDEBAR section`,\n path: ['groups', index, 'requiredRoles'],\n });\n }\n const key = placementGroupIdentity(group.surface, group.groupRef);\n if (groupKeys.has(key)) {\n context.addIssue({ code: 'custom', message: `duplicate placement group \"${group.groupRef}\" on surface ${group.surface}`, path: ['groups', index, 'groupRef'] });\n }\n groupKeys.add(key);\n // A sub-category exists only on the settings rail, and once per category.\n const subGroups = group.subGroups ?? [];\n if (subGroups.length > 0 && group.surface !== PlacementSurface.SETTINGS_HUB) {\n context.addIssue({\n code: 'custom',\n message: `group \"${group.groupRef}\" declares sub-categories, which only the ${PlacementSurface.SETTINGS_HUB} surface has; ${group.surface} groups do not nest`,\n path: ['groups', index, 'subGroups'],\n });\n return;\n }\n subGroups.forEach((subGroup, subIndex) => {\n const subKey = placementGroupIdentity(group.surface, subGroup.groupRef, group.groupRef);\n if (groupKeys.has(subKey)) {\n context.addIssue({\n code: 'custom',\n message: `duplicate sub-category \"${subGroup.groupRef}\" in category \"${group.groupRef}\"`,\n path: ['groups', index, 'subGroups', subIndex, 'groupRef'],\n });\n }\n groupKeys.add(subKey);\n });\n });\n\n const decisionRefs = new Set<string>();\n plan.decisions.forEach((decision, index) => {\n if (decisionRefs.has(decision.decisionRef)) {\n context.addIssue({ code: 'custom', message: `duplicate placement decision ref \"${decision.decisionRef}\"`, path: ['decisions', index, 'decisionRef'] });\n }\n decisionRefs.add(decision.decisionRef);\n\n if (decision.disposition !== PlacementDisposition.PLACED) return;\n const address = decision.address;\n if (!('groupRef' in address)) return;\n if (!groupKeys.has(placementGroupIdentity(address.surface, address.groupRef))) {\n context.addIssue({\n code: 'custom',\n message: `placement \"${decision.decisionRef}\" names group \"${address.groupRef}\", which this plan does not declare for surface ${address.surface}`,\n path: ['decisions', index, 'address', 'groupRef'],\n });\n }\n if ('subGroupRef' in address && address.subGroupRef !== undefined\n && !groupKeys.has(placementGroupIdentity(address.surface, address.subGroupRef, address.groupRef))) {\n context.addIssue({\n code: 'custom',\n message: `placement \"${decision.decisionRef}\" names sub-category \"${address.subGroupRef}\", which this plan does not declare under category \"${address.groupRef}\"`,\n path: ['decisions', index, 'address', 'subGroupRef'],\n });\n }\n });\n});\nexport type PlacementPlan = z.infer<typeof PlacementPlanSchema>;\n/** @wildo_source:part:end placement-plan.config */\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"product-specification.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/product-specification.schemas.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,kCAAkC,EACnC,MAAM,oCAAoC,CAAC;AAO5C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;AAEhF;;;;;;;GAOG;AACH,MAAM,WAAW,oBAAoB;IACnC,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;CACb;AAID,wBAAgB,0CAA0C,CACxD,iBAAiB,EAAE,oBAAoB,EACvC,YAAY,EAAE,MAAM,yBAAyB,GAC5C,0BAA0B,CAY5B;AAED,wBAAgB,+CAA+C,CAC7D,iBAAiB,EAAE,oBAAoB,GAAG;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,EAClE,YAAY,EAAE,MAAM,yBAAyB,GAC5C,kCAAkC,CAgBpC;AAWD,wBAAgB,4BAA4B,CAC1C,GAAG,cAAc,EAAE,KAAK,CACtB,0BAA0B,GAAG,kCAAkC,CAChE,GACA,oBAAoB,CAoBtB;AASD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI,CAe7E;AAED,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,MAAM,GAClB,0BAA0B,GAAG,kCAAkC,GAAG,SAAS,CAE7E;AAED,wBAAgB,kCAAkC,IAAI,OAAO,CAE5D;AAED,wBAAgB,2CAA2C,IAAI,IAAI,CAElE;AAWD;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,0BAA0B,GACxC,IAAI,CAaN"}
1
+ {"version":3,"file":"product-specification.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/product-specification.schemas.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,kCAAkC,EACnC,MAAM,oCAAoC,CAAC;AAQ5C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;AAEhF;;;;;;;GAOG;AACH,MAAM,WAAW,oBAAoB;IACnC,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;CACb;AAID,wBAAgB,0CAA0C,CACxD,iBAAiB,EAAE,oBAAoB,EACvC,YAAY,EAAE,MAAM,yBAAyB,GAC5C,0BAA0B,CAa5B;AAED,wBAAgB,+CAA+C,CAC7D,iBAAiB,EAAE,oBAAoB,GAAG;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,EAClE,YAAY,EAAE,MAAM,yBAAyB,GAC5C,kCAAkC,CAiBpC;AAWD,wBAAgB,4BAA4B,CAC1C,GAAG,cAAc,EAAE,KAAK,CACtB,0BAA0B,GAAG,kCAAkC,CAChE,GACA,oBAAoB,CAoBtB;AASD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI,CAe7E;AAED,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,MAAM,GAClB,0BAA0B,GAAG,kCAAkC,GAAG,SAAS,CAE7E;AAED,wBAAgB,kCAAkC,IAAI,OAAO,CAE5D;AAED,wBAAgB,2CAA2C,IAAI,IAAI,CAElE;AAWD;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,0BAA0B,GACxC,IAAI,CAaN"}
@@ -1,13 +1,14 @@
1
1
  import { appLevelProductSpecificationKeyFor, resourceLevelProductSpecificationKeyFor, } from './definition-specification.schemas.js';
2
2
  import { assertDefinitionSpecificationBaseConfig, assertOptionalDefinitionSpecificationCodeHandling, assertOptionalNonEmptyProseSlot, } from './definition-specification-validators.js';
3
+ import { admitSpecificationDefinition, SpecificationDefinitionKind } from './specification-definition-faults.js';
3
4
  // ── Factories ──────────────────────────────────────────────────────────────
4
5
  export function appLevelProductSpecificationFromDefinition(productDefinition, draftFactory) {
5
6
  const specification = {
6
7
  ...draftFactory(),
7
8
  ref: productDefinition.key,
8
9
  };
9
- validateProductSpecification(appLevelProductSpecificationKeyFor(specification.ref), specification);
10
- return specification;
10
+ const specificationKey = appLevelProductSpecificationKeyFor(specification.ref);
11
+ return admitSpecificationDefinition(SpecificationDefinitionKind.PRODUCT, specificationKey, specification, () => validateProductSpecification(specificationKey, specification));
11
12
  }
12
13
  export function resourceLevelProductSpecificationFromDefinition(productDefinition, draftFactory) {
13
14
  const specification = {
@@ -15,8 +16,8 @@ export function resourceLevelProductSpecificationFromDefinition(productDefinitio
15
16
  ref: productDefinition.key,
16
17
  resourceType: productDefinition.resourceType,
17
18
  };
18
- validateProductSpecification(resourceLevelProductSpecificationKeyFor(productDefinition.resourceType, specification.ref), specification);
19
- return specification;
19
+ const specificationKey = resourceLevelProductSpecificationKeyFor(productDefinition.resourceType, specification.ref);
20
+ return admitSpecificationDefinition(SpecificationDefinitionKind.PRODUCT, specificationKey, specification, () => validateProductSpecification(specificationKey, specification));
20
21
  }
21
22
  // ── Map builder ────────────────────────────────────────────────────────────
22
23
  function isResourceProductSpecification(specification) {
@@ -1 +1 @@
1
- {"version":3,"file":"product-specification.schemas.js","sourceRoot":"","sources":["../../../src/_core/product-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,uCAAuC,GACxC,MAAM,oCAAoC,CAAC;AAM5C,OAAO,EACL,uCAAuC,EACvC,iDAAiD,EACjD,+BAA+B,GAChC,MAAM,uCAAuC,CAAC;AAiC/C,8EAA8E;AAE9E,MAAM,UAAU,0CAA0C,CACxD,iBAAuC,EACvC,YAA6C;IAE7C,MAAM,aAAa,GAA+B;QAChD,GAAG,YAAY,EAAE;QACjB,GAAG,EAAE,iBAAiB,CAAC,GAAG;KAC3B,CAAC;IAEF,4BAA4B,CAC1B,kCAAkC,CAAC,aAAa,CAAC,GAAG,CAAC,EACrD,aAAa,CACd,CAAC;IAEF,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,+CAA+C,CAC7D,iBAAkE,EAClE,YAA6C;IAE7C,MAAM,aAAa,GAAuC;QACxD,GAAG,YAAY,EAAE;QACjB,GAAG,EAAE,iBAAiB,CAAC,GAAG;QAC1B,YAAY,EAAE,iBAAiB,CAAC,YAAY;KAC7C,CAAC;IAEF,4BAA4B,CAC1B,uCAAuC,CACrC,iBAAiB,CAAC,YAAY,EAC9B,aAAa,CAAC,GAAG,CAClB,EACD,aAAa,CACd,CAAC;IAEF,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AE,CAAC;YACxE,MAAM,IAAI,KAAK,CACb,2DAA2D,GAAG,iJAAiJ,CAChN,CAAC;QACJ,CAAC;QACD,+BAA+B,CAAC,GAAG,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;IAC1D,CAAC;AACH,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,WAAmB;IAEnB,OAAO,+BAA+B,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC1D,CAAC;AAED,MAAM,UAAU,kCAAkC;IAChD,OAAO,+BAA+B,CAAC,IAAI,GAAG,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,2CAA2C;IACzD,+BAA+B,CAAC,KAAK,EAAE,CAAC;AAC1C,CAAC;AAED,SAAS,6BAA6B,CACpC,CAAkE,EAClE,CAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC;AAED,8EAA8E;AAE9E;;;;;;;GAOG;AACH,MAAM,UAAU,4BAA4B,CAC1C,gBAAwB,EACxB,aAAyC;IAEzC,MAAM,WAAW,GAAG,0BAA0B,gBAAgB,IAAI,CAAC;IAEnE,uCAAuC,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;IACpE,+BAA+B,CAC7B,WAAW,EACX,gBAAgB,EAChB,aAAa,CAAC,cAAc,CAC7B,CAAC;IACF,iDAAiD,CAC/C,WAAW,EACX,aAAa,CAAC,YAAY,CAC3B,CAAC;AACJ,CAAC","sourcesContent":["import {\n appLevelProductSpecificationKeyFor,\n resourceLevelProductSpecificationKeyFor,\n} from './definition-specification.schemas';\nimport type {\n ProductSpecification,\n ProductSpecificationConfig,\n ResourceProductSpecificationConfig,\n} from './definition-specification.schemas';\nimport {\n assertDefinitionSpecificationBaseConfig,\n assertOptionalDefinitionSpecificationCodeHandling,\n assertOptionalNonEmptyProseSlot,\n} from './definition-specification-validators';\n\n/**\n * Author-supplied draft for a {@link ProductSpecificationConfig}.\n *\n * Factories inject `ref` from the runtime `ProductDefinition.key` so\n * the runtime catalog key stays the single source of truth. See\n * `feature-specification.schemas.ts` for the family-wide rationale.\n *\n * # Why `ref` and not `key`?\n *\n * The runtime field is `ProductDefinition.key`, but the spec layer\n * normalises every definition-backed family to use `ref` for the\n * stable identifier (mirrors `DefinitionSpecificationBaseConfig.ref`).\n * The factory bridges the field-name asymmetry — call sites pass\n * `{ key: 'todo-list-pro' }` and the factory writes\n * `ref: 'todo-list-pro'` onto the produced config.\n */\nexport type ProductSpecificationDraft = Omit<ProductSpecificationConfig, 'ref'>;\n\n/**\n * Thin reference shape consumed by product factories.\n *\n * Mirrors the `key` field on the runtime `ProductDefinition`\n * (`engine/saas-models/src/billing/product-definition.shared.schemas.ts`)\n * — call sites can pass either a real `ProductDefinition`\n * (structurally compatible) or a literal `{ key: 'pro-plan' }`.\n */\nexport interface ProductDefinitionRef {\n /** Runtime product key (e.g. `'todo-list-pro'`). */\n key: string;\n}\n\n// ── Factories ──────────────────────────────────────────────────────────────\n\nexport function appLevelProductSpecificationFromDefinition(\n productDefinition: ProductDefinitionRef,\n draftFactory: () => ProductSpecificationDraft,\n): ProductSpecificationConfig {\n const specification: ProductSpecificationConfig = {\n ...draftFactory(),\n ref: productDefinition.key,\n };\n\n validateProductSpecification(\n appLevelProductSpecificationKeyFor(specification.ref),\n specification,\n );\n\n return specification;\n}\n\nexport function resourceLevelProductSpecificationFromDefinition(\n productDefinition: ProductDefinitionRef & { resourceType: string },\n draftFactory: () => ProductSpecificationDraft,\n): ResourceProductSpecificationConfig {\n const specification: ResourceProductSpecificationConfig = {\n ...draftFactory(),\n ref: productDefinition.key,\n resourceType: productDefinition.resourceType,\n };\n\n validateProductSpecification(\n resourceLevelProductSpecificationKeyFor(\n productDefinition.resourceType,\n specification.ref,\n ),\n specification,\n );\n\n return specification;\n}\n\n// ── Map builder ────────────────────────────────────────────────────────────\n\nfunction isResourceProductSpecification(\n specification: ProductSpecificationConfig | ResourceProductSpecificationConfig,\n): specification is ResourceProductSpecificationConfig {\n return 'resourceType' in specification\n && typeof (specification as ResourceProductSpecificationConfig).resourceType === 'string';\n}\n\nexport function buildProductSpecificationMap(\n ...specifications: Array<\n ProductSpecificationConfig | ResourceProductSpecificationConfig\n >\n): ProductSpecification {\n const result: ProductSpecification = {};\n\n for (const specification of specifications) {\n const key = isResourceProductSpecification(specification)\n ? resourceLevelProductSpecificationKeyFor(\n specification.resourceType,\n specification.ref,\n )\n : appLevelProductSpecificationKeyFor(specification.ref);\n\n if (result[key]) {\n throw new Error(\n `buildProductSpecificationMap(): duplicate product specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\n// ── Cross-registry (Phase 8 wiring target) ─────────────────────────────────\n\nconst registeredProductSpecifications = new Map<\n string,\n ProductSpecificationConfig | ResourceProductSpecificationConfig\n>();\n\n/**\n * Register a {@link ProductSpecification} map into the module-local\n * cross-registry. See `feature-specification.schemas.ts` for the\n * family-wide rationale on idempotency, bi-scoped key contract, and\n * engine-vs-app registration order — the contract is identical here.\n */\nexport function registerProductSpecifications(map: ProductSpecification): void {\n for (const [key, specification] of Object.entries(map)) {\n if (typeof key !== 'string' || !key.trim()) {\n throw new Error(\n 'registerProductSpecifications(): every map key must be a non-empty trimmed string.',\n );\n }\n const existing = registeredProductSpecifications.get(key);\n if (existing && !areProductSpecificationsEqual(existing, specification)) {\n throw new Error(\n `registerProductSpecifications(): product specification \"${key}\" was registered twice with divergent shapes. Deduplicate the registration call sites or update the spec authoring so both registrations agree.`,\n );\n }\n registeredProductSpecifications.set(key, specification);\n }\n}\n\nexport function lookupProductSpecification(\n biScopedKey: string,\n): ProductSpecificationConfig | ResourceProductSpecificationConfig | undefined {\n return registeredProductSpecifications.get(biScopedKey);\n}\n\nexport function hasRegisteredProductSpecifications(): boolean {\n return registeredProductSpecifications.size > 0;\n}\n\nexport function resetProductSpecificationRegistryForTesting(): void {\n registeredProductSpecifications.clear();\n}\n\nfunction areProductSpecificationsEqual(\n a: ProductSpecificationConfig | ResourceProductSpecificationConfig,\n b: ProductSpecificationConfig | ResourceProductSpecificationConfig,\n): boolean {\n return JSON.stringify(a) === JSON.stringify(b);\n}\n\n// ── Validator ──────────────────────────────────────────────────────────────\n\n/**\n * Fail-closed validator for one assembled\n * {@link ProductSpecificationConfig}. See\n * `feature-specification.schemas.ts` for the family-wide pattern.\n *\n * Family-specific axis: `commercialRole` is optional non-empty\n * trimmed prose when authored.\n */\nexport function validateProductSpecification(\n specificationKey: string,\n specification: ProductSpecificationConfig,\n): void {\n const errorPrefix = `product specification \"${specificationKey}\":`;\n\n assertDefinitionSpecificationBaseConfig(errorPrefix, specification);\n assertOptionalNonEmptyProseSlot(\n errorPrefix,\n 'commercialRole',\n specification.commercialRole,\n );\n assertOptionalDefinitionSpecificationCodeHandling(\n errorPrefix,\n specification.codeHandling,\n );\n}\n"]}
1
+ {"version":3,"file":"product-specification.schemas.js","sourceRoot":"","sources":["../../../src/_core/product-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,uCAAuC,GACxC,MAAM,oCAAoC,CAAC;AAM5C,OAAO,EACL,uCAAuC,EACvC,iDAAiD,EACjD,+BAA+B,GAChC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAiC9G,8EAA8E;AAE9E,MAAM,UAAU,0CAA0C,CACxD,iBAAuC,EACvC,YAA6C;IAE7C,MAAM,aAAa,GAA+B;QAChD,GAAG,YAAY,EAAE;QACjB,GAAG,EAAE,iBAAiB,CAAC,GAAG;KAC3B,CAAC;IAEF,MAAM,gBAAgB,GAAG,kCAAkC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAC/E,OAAO,4BAA4B,CACjC,2BAA2B,CAAC,OAAO,EACnC,gBAAgB,EAChB,aAAa,EACb,GAAG,EAAE,CAAC,4BAA4B,CAAC,gBAAgB,EAAE,a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AAE,aAAa,CAAC,CAAC;IACpE,+BAA+B,CAC7B,WAAW,EACX,gBAAgB,EAChB,aAAa,CAAC,cAAc,CAC7B,CAAC;IACF,iDAAiD,CAC/C,WAAW,EACX,aAAa,CAAC,YAAY,CAC3B,CAAC;AACJ,CAAC","sourcesContent":["import {\n appLevelProductSpecificationKeyFor,\n resourceLevelProductSpecificationKeyFor,\n} from './definition-specification.schemas';\nimport type {\n ProductSpecification,\n ProductSpecificationConfig,\n ResourceProductSpecificationConfig,\n} from './definition-specification.schemas';\nimport {\n assertDefinitionSpecificationBaseConfig,\n assertOptionalDefinitionSpecificationCodeHandling,\n assertOptionalNonEmptyProseSlot,\n} from './definition-specification-validators';\nimport { admitSpecificationDefinition, SpecificationDefinitionKind } from './specification-definition-faults';\n\n/**\n * Author-supplied draft for a {@link ProductSpecificationConfig}.\n *\n * Factories inject `ref` from the runtime `ProductDefinition.key` so\n * the runtime catalog key stays the single source of truth. See\n * `feature-specification.schemas.ts` for the family-wide rationale.\n *\n * # Why `ref` and not `key`?\n *\n * The runtime field is `ProductDefinition.key`, but the spec layer\n * normalises every definition-backed family to use `ref` for the\n * stable identifier (mirrors `DefinitionSpecificationBaseConfig.ref`).\n * The factory bridges the field-name asymmetry — call sites pass\n * `{ key: 'todo-list-pro' }` and the factory writes\n * `ref: 'todo-list-pro'` onto the produced config.\n */\nexport type ProductSpecificationDraft = Omit<ProductSpecificationConfig, 'ref'>;\n\n/**\n * Thin reference shape consumed by product factories.\n *\n * Mirrors the `key` field on the runtime `ProductDefinition`\n * (`engine/saas-models/src/billing/product-definition.shared.schemas.ts`)\n * — call sites can pass either a real `ProductDefinition`\n * (structurally compatible) or a literal `{ key: 'pro-plan' }`.\n */\nexport interface ProductDefinitionRef {\n /** Runtime product key (e.g. `'todo-list-pro'`). */\n key: string;\n}\n\n// ── Factories ──────────────────────────────────────────────────────────────\n\nexport function appLevelProductSpecificationFromDefinition(\n productDefinition: ProductDefinitionRef,\n draftFactory: () => ProductSpecificationDraft,\n): ProductSpecificationConfig {\n const specification: ProductSpecificationConfig = {\n ...draftFactory(),\n ref: productDefinition.key,\n };\n\n const specificationKey = appLevelProductSpecificationKeyFor(specification.ref);\n return admitSpecificationDefinition(\n SpecificationDefinitionKind.PRODUCT,\n specificationKey,\n specification,\n () => validateProductSpecification(specificationKey, specification),\n );\n}\n\nexport function resourceLevelProductSpecificationFromDefinition(\n productDefinition: ProductDefinitionRef & { resourceType: string },\n draftFactory: () => ProductSpecificationDraft,\n): ResourceProductSpecificationConfig {\n const specification: ResourceProductSpecificationConfig = {\n ...draftFactory(),\n ref: productDefinition.key,\n resourceType: productDefinition.resourceType,\n };\n\n const specificationKey = resourceLevelProductSpecificationKeyFor(\n productDefinition.resourceType,\n specification.ref,\n );\n return admitSpecificationDefinition(\n SpecificationDefinitionKind.PRODUCT,\n specificationKey,\n specification,\n () => validateProductSpecification(specificationKey, specification),\n );\n}\n\n// ── Map builder ────────────────────────────────────────────────────────────\n\nfunction isResourceProductSpecification(\n specification: ProductSpecificationConfig | ResourceProductSpecificationConfig,\n): specification is ResourceProductSpecificationConfig {\n return 'resourceType' in specification\n && typeof (specification as ResourceProductSpecificationConfig).resourceType === 'string';\n}\n\nexport function buildProductSpecificationMap(\n ...specifications: Array<\n ProductSpecificationConfig | ResourceProductSpecificationConfig\n >\n): ProductSpecification {\n const result: ProductSpecification = {};\n\n for (const specification of specifications) {\n const key = isResourceProductSpecification(specification)\n ? resourceLevelProductSpecificationKeyFor(\n specification.resourceType,\n specification.ref,\n )\n : appLevelProductSpecificationKeyFor(specification.ref);\n\n if (result[key]) {\n throw new Error(\n `buildProductSpecificationMap(): duplicate product specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\n// ── Cross-registry (Phase 8 wiring target) ─────────────────────────────────\n\nconst registeredProductSpecifications = new Map<\n string,\n ProductSpecificationConfig | ResourceProductSpecificationConfig\n>();\n\n/**\n * Register a {@link ProductSpecification} map into the module-local\n * cross-registry. See `feature-specification.schemas.ts` for the\n * family-wide rationale on idempotency, bi-scoped key contract, and\n * engine-vs-app registration order — the contract is identical here.\n */\nexport function registerProductSpecifications(map: ProductSpecification): void {\n for (const [key, specification] of Object.entries(map)) {\n if (typeof key !== 'string' || !key.trim()) {\n throw new Error(\n 'registerProductSpecifications(): every map key must be a non-empty trimmed string.',\n );\n }\n const existing = registeredProductSpecifications.get(key);\n if (existing && !areProductSpecificationsEqual(existing, specification)) {\n throw new Error(\n `registerProductSpecifications(): product specification \"${key}\" was registered twice with divergent shapes. Deduplicate the registration call sites or update the spec authoring so both registrations agree.`,\n );\n }\n registeredProductSpecifications.set(key, specification);\n }\n}\n\nexport function lookupProductSpecification(\n biScopedKey: string,\n): ProductSpecificationConfig | ResourceProductSpecificationConfig | undefined {\n return registeredProductSpecifications.get(biScopedKey);\n}\n\nexport function hasRegisteredProductSpecifications(): boolean {\n return registeredProductSpecifications.size > 0;\n}\n\nexport function resetProductSpecificationRegistryForTesting(): void {\n registeredProductSpecifications.clear();\n}\n\nfunction areProductSpecificationsEqual(\n a: ProductSpecificationConfig | ResourceProductSpecificationConfig,\n b: ProductSpecificationConfig | ResourceProductSpecificationConfig,\n): boolean {\n return JSON.stringify(a) === JSON.stringify(b);\n}\n\n// ── Validator ──────────────────────────────────────────────────────────────\n\n/**\n * Fail-closed validator for one assembled\n * {@link ProductSpecificationConfig}. See\n * `feature-specification.schemas.ts` for the family-wide pattern.\n *\n * Family-specific axis: `commercialRole` is optional non-empty\n * trimmed prose when authored.\n */\nexport function validateProductSpecification(\n specificationKey: string,\n specification: ProductSpecificationConfig,\n): void {\n const errorPrefix = `product specification \"${specificationKey}\":`;\n\n assertDefinitionSpecificationBaseConfig(errorPrefix, specification);\n assertOptionalNonEmptyProseSlot(\n errorPrefix,\n 'commercialRole',\n specification.commercialRole,\n );\n assertOptionalDefinitionSpecificationCodeHandling(\n errorPrefix,\n specification.codeHandling,\n );\n}\n"]}
@@ -66,8 +66,7 @@
66
66
  * runtime-side flexibility loss. Apps that genuinely want limit-
67
67
  * check-only gating should author the runtime config directly
68
68
  * (skipping the spec overlay) until a future revision introduces an
69
- * explicit `mode: 'limit-only'` discriminator. Tracked: F-2 in
70
- * `non-view-specification-coverage-step4-phase4-5-audit.md`.
69
+ * explicit `mode: 'limit-only'` discriminator.
71
70
  *
72
71
  * ## `mode` is intentionally optional
73
72
  *
@@ -127,9 +126,6 @@ export type RequiredFeaturesSpecification = {
127
126
  * implementation details), but the spec must reject obviously
128
127
  * malformed inputs (`null`, primitives, arrays) so authoring bugs
129
128
  * fail closed at module load instead of leaking to the runtime.
130
- *
131
- * Tracked: F-11 in
132
- * `non-view-specification-coverage-step4-phase4-5-audit.md`.
133
129
  */
134
130
  export declare function assertOptionalCountingOverrideShape(errorPrefix: string, countingOverride: unknown): void;
135
131
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"required-features-specification.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/required-features-specification.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AAMH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE,QAAA,MAAM,+BAA+B,wBAAyB,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,wBAAkC,CAAC;AAEvE;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,KAAK,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC,CAAC;CACJ,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,mCAAmC,CACjD,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,OAAO,GACxB,IAAI,CAWN;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,kDAAkD;IACjE,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,2CAA2C,CACzD,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,6BAA6B,GAAG,SAAS,EAC3D,OAAO,GAAE,kDAAuD,GAC/D,IAAI,CAqEN"}
1
+ {"version":3,"file":"required-features-specification.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/required-features-specification.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AAMH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE,QAAA,MAAM,+BAA+B,wBAAyB,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,wBAAkC,CAAC;AAEvE;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,KAAK,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC,CAAC;CACJ,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,mCAAmC,CACjD,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,OAAO,GACxB,IAAI,CAWN;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,kDAAkD;IACjE,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,2CAA2C,CACzD,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,6BAA6B,GAAG,SAAS,EAC3D,OAAO,GAAE,kDAAuD,GAC/D,IAAI,CAqEN"}
@@ -66,8 +66,7 @@
66
66
  * runtime-side flexibility loss. Apps that genuinely want limit-
67
67
  * check-only gating should author the runtime config directly
68
68
  * (skipping the spec overlay) until a future revision introduces an
69
- * explicit `mode: 'limit-only'` discriminator. Tracked: F-2 in
70
- * `non-view-specification-coverage-step4-phase4-5-audit.md`.
69
+ * explicit `mode: 'limit-only'` discriminator.
71
70
  *
72
71
  * ## `mode` is intentionally optional
73
72
  *
@@ -113,9 +112,6 @@ export const REQUIRED_FEATURES_MODES = ALLOWED_REQUIRED_FEATURES_MODES;
113
112
  * implementation details), but the spec must reject obviously
114
113
  * malformed inputs (`null`, primitives, arrays) so authoring bugs
115
114
  * fail closed at module load instead of leaking to the runtime.
116
- *
117
- * Tracked: F-11 in
118
- * `non-view-specification-coverage-step4-phase4-5-audit.md`.
119
115
  */
120
116
  export function assertOptionalCountingOverrideShape(errorPrefix, countingOverride) {
121
117
  if (countingOverride === undefined) {
@@ -1 +1 @@
1
- {"version":3,"file":"required-features-specification.schemas.js","sourceRoot":"","sources":["../../../src/_core/required-features-specification.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AAEH,OAAO,EACL,kCAAkC,EAClC,kCAAkC,GACnC,MAAM,6BAA6B,CAAC;AAGrC,MAAM,+BAA+B,GAAG,CAAC,IAAI,EAAE,KAAK,CAAU,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,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IAAI,KAAK,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;gBAClC,IAAI,OAAO,KAAK,CAAC,SAAS,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;oBAC9E,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,iFAAiF,CAChG,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,mCAAmC,CAAC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;YAEzE,kCAAkC,CAChC,WAAW,EACX,YAAY,EACZ,KAAK,CAAC,UAAU,EAChB,iBAAiB,CAClB,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["/**\n * Shared `RequiredFeaturesSpecification` surface — the spec-layer\n * mirror of the runtime `RequiredFeaturesConfig` shape.\n *\n * # Why this module exists\n *\n * Three spec families consume the same `requiredFeatures` semantic\n * overlay slot today:\n *\n * - {@link OnboardingViewSpecificationConfig.requiredFeatures} (flow-\n * level audience gate on onboarding views)\n * - {@link GuidanceFlowSpecificationConfig.audience.requiredFeatures}\n * (guidance-flow audience gate)\n * - {@link ResourceOperationM2MSpecification.requiredFeatures}\n * (documentation-only overlay on outbound webhook deliveries)\n *\n * Until Step 5 of `non-view-specification-coverage` ran, each of these\n * sites carried its own local `type RequiredFeaturesSpecification`\n * declaration AND its own copy of the validator\n * (`assertOptionalRequiredFeaturesSpecification`) — three identical\n * implementations diverged trivially over time (the resource site\n * inlined `countingOverride` checks while onboarding/guidance\n * extracted them into a helper, but the runtime contract never\n * differed).\n *\n * Step 5's Phase 0 hoists the type and validator here so the upcoming\n * **cross-registry feature-ref check** (Phase 8 — fail-closed\n * resolution against the new `FeatureSpecification` registry, fail-\n * soft pass-through when no registry is registered) lives in one\n * place rather than three.\n *\n * # Mirror of the runtime full-config form\n *\n * The runtime `RequiredFeaturesConfigSchema` lives in\n * `engine/saas-models/src/features/feature-definition.shared.schemas.ts`\n * (search the `RequiredFeaturesConfigSchema` symbol). The runtime\n * accepts both a shorthand `string[]` form and a full object form;\n * the spec layer carries only the **full object form** because the\n * spec is about explicit author intent — shorthand collapses axes\n * that the spec wants to keep visible.\n *\n * ## Spec-side field renames\n *\n * - `featureRefs` ← runtime `features` (the `Refs` suffix is the spec\n * convention for \"string identifiers that point to typed\n * references in another spec family\"; the cross-registry resolution\n * target is the new `FeatureSpecification` family — Step 5).\n * - `limitChecks[].featureRef` ← runtime `limitChecks[].featureId`\n * (same reasoning).\n *\n * ## Strictness gap vs runtime (audit F-2)\n *\n * `featureRefs` is **REQUIRED** at the spec layer even though the\n * runtime `RequiredFeaturesConfigSchema.features` field is\n * `.optional()`.\n *\n * Runtime: a `requiredFeatures: { limitChecks: [...] }` payload\n * (limit-check-only gating, no flag refs) parses successfully.\n *\n * Spec layer: rejects that payload at module load. Rationale — a\n * `requiredFeatures` block with neither `featureRefs` nor an explicit\n * \"no flags\" marker reads ambiguously to a future spec author (\"did\n * this author forget to declare feature flags, or was that\n * intentional?\"). The companion is consumed as semantic grounding by\n * AI / human readers; ambiguity here is more expensive than the\n * runtime-side flexibility loss. Apps that genuinely want limit-\n * check-only gating should author the runtime config directly\n * (skipping the spec overlay) until a future revision introduces an\n * explicit `mode: 'limit-only'` discriminator. Tracked: F-2 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n *\n * ## `mode` is intentionally optional\n *\n * Mirrors runtime `.optional()` — runtime callers that omit it fall\n * back to the default behaviour determined by `RequiredFeaturesConfig`\n * at the site of consumption.\n *\n * ## `featureRefs` membership: structural-only (no enum check)\n *\n * The validator does NOT enum-membership-check `featureRefs[]`\n * against `CoreFeature` because applications are free to declare\n * custom features outside the engine enum. The same reasoning\n * applies to all three consumers (onboarding / guidance / M2M):\n *\n * - On onboarding/guidance, the cross-registry check (Step 5 Phase 8)\n * resolves refs against the registered `FeatureSpecification` map\n * (engine + app) when one is present, and **fails closed** if the\n * map is registered but the ref is missing.\n * - On M2M, the cross-registry check stays **fail-soft** even when a\n * registry is registered, because the M2M dispatcher operates on\n * any application-defined gate beyond the engine baseline (see the\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc for\n * the runtime-gate contract).\n *\n * Both behaviours are honoured by the same shared helper because the\n * fail-soft / fail-closed switch is data-driven by whether the\n * registry was registered at module load.\n */\n\nimport {\n assertFeatureRefResolvesToRegistry,\n assertFeatureRefsResolveToRegistry,\n} from './cross-registry-assertions';\nimport type { CrossRegistryMode } from './cross-registry-assertions';\n\nconst ALLOWED_REQUIRED_FEATURES_MODES = ['OR', 'AND'] as const;\n\n/**\n * The set of valid `mode` literal values accepted by an authored\n * {@link RequiredFeaturesSpecification}. Re-exported as a\n * `readonly string[]` so consumers (validators, renderers, tests)\n * can iterate or membership-check without redeclaring the literals.\n */\nexport const REQUIRED_FEATURES_MODES = ALLOWED_REQUIRED_FEATURES_MODES;\n\n/**\n * Spec-layer mirror of the runtime full-config `RequiredFeaturesConfig`\n * shape. See module-level JSDoc for the full mirror contract,\n * spec-side renames, and the F-2 strictness gap rationale.\n */\nexport type RequiredFeaturesSpecification = {\n featureRefs: string[];\n mode?: (typeof ALLOWED_REQUIRED_FEATURES_MODES)[number];\n limitChecks?: Array<{\n featureRef: string;\n increment?: number;\n countingOverride?: unknown;\n }>;\n};\n\n/**\n * Structural-only `countingOverride` guard.\n *\n * The runtime `LimitCountingConfigSchema` carries semantic axes the\n * spec layer does not enumerate (it would chain the spec onto runtime\n * implementation details), but the spec must reject obviously\n * malformed inputs (`null`, primitives, arrays) so authoring bugs\n * fail closed at module load instead of leaking to the runtime.\n *\n * Tracked: F-11 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\nexport function assertOptionalCountingOverrideShape(\n errorPrefix: string,\n countingOverride: unknown,\n): void {\n if (countingOverride === undefined) {\n return;\n }\n if (countingOverride === null\n || typeof countingOverride !== 'object'\n || Array.isArray(countingOverride)) {\n throw new Error(\n `${errorPrefix}.countingOverride must be an object when authored (matches runtime LimitCountingConfig — the spec layer does not enumerate the inner axes, but the wrapper shape is required).`,\n );\n }\n}\n\n/**\n * Per-call options for {@link assertOptionalRequiredFeaturesSpecification}.\n *\n * `crossRegistry` selects how the cross-registry feature-ref check\n * behaves once the `FeatureSpecification` registry is populated:\n *\n * - `'fail-closed'` (default) — every authored `featureRef` /\n * `limitChecks[].featureRef` must resolve to a registered overlay.\n * Used by the onboarding flow-level validator and the guidance\n * audience validator.\n * - `'fail-soft'` — cross-registry lookup is skipped entirely.\n * Used by the M2M `requiredFeatures` call site because the M2M\n * dispatcher honours any application-defined gate beyond the\n * engine baseline (see\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc) —\n * forcing every M2M-authored ref to round-trip through the spec\n * registry would silently re-define the runtime contract.\n *\n * Empty-registry pass-through applies regardless of mode (so apps\n * that never call `registerFeatureSpecifications` stay un-broken).\n */\nexport interface AssertOptionalRequiredFeaturesSpecificationOptions {\n crossRegistry?: CrossRegistryMode;\n}\n\n/**\n * Validate the structural shape of an authored\n * {@link RequiredFeaturesSpecification}.\n *\n * Branches enforced:\n * - rejects the runtime shorthand `string[]` form (the spec layer\n * keeps axes explicit so authoring intent stays readable),\n * - requires non-empty trimmed `featureRefs[]`,\n * - validates `mode` is one of `'OR' | 'AND'` when authored,\n * - validates each `limitChecks[i]` is structurally well-formed\n * (object shape, non-empty trimmed `featureRef`, integer\n * `increment`, structural `countingOverride` via\n * {@link assertOptionalCountingOverrideShape}),\n * - resolves every `featureRefs[]` entry and each\n * `limitChecks[i].featureRef` against the registered\n * `FeatureSpecification` cross-registry (Step 5 Phase 8) — fail-\n * closed when the registry is populated and the ref is missing,\n * fail-soft when no registry is registered (preserves M2M's\n * app-features-beyond-engine contract; M2M call sites also opt\n * in to fail-soft via `options.crossRegistry`).\n *\n * Error messages preserve the original triplicated wording verbatim\n * so existing validator tests in `_core/__tests__/` stay green.\n */\nexport function assertOptionalRequiredFeaturesSpecification(\n errorPrefix: string,\n requiredFeatures: RequiredFeaturesSpecification | undefined,\n options: AssertOptionalRequiredFeaturesSpecificationOptions = {},\n): void {\n if (!requiredFeatures) {\n return;\n }\n if (typeof requiredFeatures !== 'object' || Array.isArray(requiredFeatures)) {\n throw new Error(\n `${errorPrefix} must be an object when authored (the spec does not accept the runtime shorthand string[] form — use the full object shape so axis intent stays explicit).`,\n );\n }\n if (!Array.isArray(requiredFeatures.featureRefs) || requiredFeatures.featureRefs.length === 0) {\n throw new Error(\n `${errorPrefix}.featureRefs must be a non-empty array when requiredFeatures is authored.`,\n );\n }\n for (const [index, ref] of requiredFeatures.featureRefs.entries()) {\n if (typeof ref !== 'string' || !ref.trim()) {\n throw new Error(\n `${errorPrefix}.featureRefs[${index}] must be a non-empty trimmed string.`,\n );\n }\n }\n\n if (requiredFeatures.mode !== undefined\n && !(ALLOWED_REQUIRED_FEATURES_MODES as readonly string[]).includes(requiredFeatures.mode)) {\n throw new Error(\n `${errorPrefix}.mode must be one of [${ALLOWED_REQUIRED_FEATURES_MODES.map((mode) => `\"${mode}\"`).join(', ')}] when authored (got \"${String(requiredFeatures.mode)}\").`,\n );\n }\n\n const crossRegistryMode: CrossRegistryMode = options.crossRegistry ?? 'fail-closed';\n\n assertFeatureRefsResolveToRegistry(\n errorPrefix,\n 'featureRefs',\n requiredFeatures.featureRefs,\n crossRegistryMode,\n );\n\n if (requiredFeatures.limitChecks !== undefined) {\n if (!Array.isArray(requiredFeatures.limitChecks)) {\n throw new Error(`${errorPrefix}.limitChecks must be an array when authored.`);\n }\n for (const [index, entry] of requiredFeatures.limitChecks.entries()) {\n const entryPrefix = `${errorPrefix}.limitChecks[${index}]`;\n if (!entry || typeof entry !== 'object') {\n throw new Error(`${entryPrefix} must be an object.`);\n }\n if (typeof entry.featureRef !== 'string' || !entry.featureRef.trim()) {\n throw new Error(\n `${entryPrefix}.featureRef must be a non-empty trimmed string.`,\n );\n }\n if (entry.increment !== undefined) {\n if (typeof entry.increment !== 'number' || !Number.isInteger(entry.increment)) {\n throw new Error(\n `${entryPrefix}.increment must be an integer when authored (matches runtime LimitCheckSchema).`,\n );\n }\n }\n assertOptionalCountingOverrideShape(entryPrefix, entry.countingOverride);\n\n assertFeatureRefResolvesToRegistry(\n entryPrefix,\n 'featureRef',\n entry.featureRef,\n crossRegistryMode,\n );\n }\n }\n}\n"]}
1
+ {"version":3,"file":"required-features-specification.schemas.js","sourceRoot":"","sources":["../../../src/_core/required-features-specification.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AAEH,OAAO,EACL,kCAAkC,EAClC,kCAAkC,GACnC,MAAM,6BAA6B,CAAC;AAGrC,MAAM,+BAA+B,GAAG,CAAC,IAAI,EAAE,KAAK,CAAU,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,+BAA+B,CAAC;AAiBvE;;;;;;;;GAQG;AACH,MAAM,UAAU,mCAAmC,CACjD,WAAmB,EACnB,gBAAyB;IAEzB,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IACD,IAAI,gBAAgB,KAAK,IAAI;WACxB,OAAO,gBAAgB,KAAK,QAAQ;WACpC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,gLAAgL,CAC/L,CAAC;IACJ,CAAC;AACH,CAAC;AA2BD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,UAAU,2CAA2C,CACzD,WAAmB,EACnB,gBAA2D,EAC3D,UAA8D,EAAE;IAEhE,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,OAAO;IACT,CAAC;IACD,IAAI,OAAO,gBAAgB,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAC5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AAI,KAAK,CAAC,GAAG,WAAW,8CAA8C,CAAC,CAAC;QAChF,CAAC;QACD,KAAK,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,gBAAgB,CAAC,WAAW,CAAC,OAAO,EAAE,EAAE,CAAC;YACpE,MAAM,WAAW,GAAG,GAAG,WAAW,gBAAgB,KAAK,GAAG,CAAC;YAC3D,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;gBACxC,MAAM,IAAI,KAAK,CAAC,GAAG,WAAW,qBAAqB,CAAC,CAAC;YACvD,CAAC;YACD,IAAI,OAAO,KAAK,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC;gBACrE,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,iDAAiD,CAChE,CAAC;YACJ,CAAC;YACD,IAAI,KAAK,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;gBAClC,IAAI,OAAO,KAAK,CAAC,SAAS,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;oBAC9E,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,iFAAiF,CAChG,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,mCAAmC,CAAC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;YAEzE,kCAAkC,CAChC,WAAW,EACX,YAAY,EACZ,KAAK,CAAC,UAAU,EAChB,iBAAiB,CAClB,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["/**\n * Shared `RequiredFeaturesSpecification` surface — the spec-layer\n * mirror of the runtime `RequiredFeaturesConfig` shape.\n *\n * # Why this module exists\n *\n * Three spec families consume the same `requiredFeatures` semantic\n * overlay slot today:\n *\n * - {@link OnboardingViewSpecificationConfig.requiredFeatures} (flow-\n * level audience gate on onboarding views)\n * - {@link GuidanceFlowSpecificationConfig.audience.requiredFeatures}\n * (guidance-flow audience gate)\n * - {@link ResourceOperationM2MSpecification.requiredFeatures}\n * (documentation-only overlay on outbound webhook deliveries)\n *\n * Until Step 5 of `non-view-specification-coverage` ran, each of these\n * sites carried its own local `type RequiredFeaturesSpecification`\n * declaration AND its own copy of the validator\n * (`assertOptionalRequiredFeaturesSpecification`) — three identical\n * implementations diverged trivially over time (the resource site\n * inlined `countingOverride` checks while onboarding/guidance\n * extracted them into a helper, but the runtime contract never\n * differed).\n *\n * Step 5's Phase 0 hoists the type and validator here so the upcoming\n * **cross-registry feature-ref check** (Phase 8 — fail-closed\n * resolution against the new `FeatureSpecification` registry, fail-\n * soft pass-through when no registry is registered) lives in one\n * place rather than three.\n *\n * # Mirror of the runtime full-config form\n *\n * The runtime `RequiredFeaturesConfigSchema` lives in\n * `engine/saas-models/src/features/feature-definition.shared.schemas.ts`\n * (search the `RequiredFeaturesConfigSchema` symbol). The runtime\n * accepts both a shorthand `string[]` form and a full object form;\n * the spec layer carries only the **full object form** because the\n * spec is about explicit author intent — shorthand collapses axes\n * that the spec wants to keep visible.\n *\n * ## Spec-side field renames\n *\n * - `featureRefs` ← runtime `features` (the `Refs` suffix is the spec\n * convention for \"string identifiers that point to typed\n * references in another spec family\"; the cross-registry resolution\n * target is the new `FeatureSpecification` family — Step 5).\n * - `limitChecks[].featureRef` ← runtime `limitChecks[].featureId`\n * (same reasoning).\n *\n * ## Strictness gap vs runtime (audit F-2)\n *\n * `featureRefs` is **REQUIRED** at the spec layer even though the\n * runtime `RequiredFeaturesConfigSchema.features` field is\n * `.optional()`.\n *\n * Runtime: a `requiredFeatures: { limitChecks: [...] }` payload\n * (limit-check-only gating, no flag refs) parses successfully.\n *\n * Spec layer: rejects that payload at module load. Rationale — a\n * `requiredFeatures` block with neither `featureRefs` nor an explicit\n * \"no flags\" marker reads ambiguously to a future spec author (\"did\n * this author forget to declare feature flags, or was that\n * intentional?\"). The companion is consumed as semantic grounding by\n * AI / human readers; ambiguity here is more expensive than the\n * runtime-side flexibility loss. Apps that genuinely want limit-\n * check-only gating should author the runtime config directly\n * (skipping the spec overlay) until a future revision introduces an\n * explicit `mode: 'limit-only'` discriminator.\n *\n * ## `mode` is intentionally optional\n *\n * Mirrors runtime `.optional()` — runtime callers that omit it fall\n * back to the default behaviour determined by `RequiredFeaturesConfig`\n * at the site of consumption.\n *\n * ## `featureRefs` membership: structural-only (no enum check)\n *\n * The validator does NOT enum-membership-check `featureRefs[]`\n * against `CoreFeature` because applications are free to declare\n * custom features outside the engine enum. The same reasoning\n * applies to all three consumers (onboarding / guidance / M2M):\n *\n * - On onboarding/guidance, the cross-registry check (Step 5 Phase 8)\n * resolves refs against the registered `FeatureSpecification` map\n * (engine + app) when one is present, and **fails closed** if the\n * map is registered but the ref is missing.\n * - On M2M, the cross-registry check stays **fail-soft** even when a\n * registry is registered, because the M2M dispatcher operates on\n * any application-defined gate beyond the engine baseline (see the\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc for\n * the runtime-gate contract).\n *\n * Both behaviours are honoured by the same shared helper because the\n * fail-soft / fail-closed switch is data-driven by whether the\n * registry was registered at module load.\n */\n\nimport {\n assertFeatureRefResolvesToRegistry,\n assertFeatureRefsResolveToRegistry,\n} from './cross-registry-assertions';\nimport type { CrossRegistryMode } from './cross-registry-assertions';\n\nconst ALLOWED_REQUIRED_FEATURES_MODES = ['OR', 'AND'] as const;\n\n/**\n * The set of valid `mode` literal values accepted by an authored\n * {@link RequiredFeaturesSpecification}. Re-exported as a\n * `readonly string[]` so consumers (validators, renderers, tests)\n * can iterate or membership-check without redeclaring the literals.\n */\nexport const REQUIRED_FEATURES_MODES = ALLOWED_REQUIRED_FEATURES_MODES;\n\n/**\n * Spec-layer mirror of the runtime full-config `RequiredFeaturesConfig`\n * shape. See module-level JSDoc for the full mirror contract,\n * spec-side renames, and the F-2 strictness gap rationale.\n */\nexport type RequiredFeaturesSpecification = {\n featureRefs: string[];\n mode?: (typeof ALLOWED_REQUIRED_FEATURES_MODES)[number];\n limitChecks?: Array<{\n featureRef: string;\n increment?: number;\n countingOverride?: unknown;\n }>;\n};\n\n/**\n * Structural-only `countingOverride` guard.\n *\n * The runtime `LimitCountingConfigSchema` carries semantic axes the\n * spec layer does not enumerate (it would chain the spec onto runtime\n * implementation details), but the spec must reject obviously\n * malformed inputs (`null`, primitives, arrays) so authoring bugs\n * fail closed at module load instead of leaking to the runtime.\n */\nexport function assertOptionalCountingOverrideShape(\n errorPrefix: string,\n countingOverride: unknown,\n): void {\n if (countingOverride === undefined) {\n return;\n }\n if (countingOverride === null\n || typeof countingOverride !== 'object'\n || Array.isArray(countingOverride)) {\n throw new Error(\n `${errorPrefix}.countingOverride must be an object when authored (matches runtime LimitCountingConfig — the spec layer does not enumerate the inner axes, but the wrapper shape is required).`,\n );\n }\n}\n\n/**\n * Per-call options for {@link assertOptionalRequiredFeaturesSpecification}.\n *\n * `crossRegistry` selects how the cross-registry feature-ref check\n * behaves once the `FeatureSpecification` registry is populated:\n *\n * - `'fail-closed'` (default) — every authored `featureRef` /\n * `limitChecks[].featureRef` must resolve to a registered overlay.\n * Used by the onboarding flow-level validator and the guidance\n * audience validator.\n * - `'fail-soft'` — cross-registry lookup is skipped entirely.\n * Used by the M2M `requiredFeatures` call site because the M2M\n * dispatcher honours any application-defined gate beyond the\n * engine baseline (see\n * `ResourceOperationM2MSpecification.requiredFeatures` JSDoc) —\n * forcing every M2M-authored ref to round-trip through the spec\n * registry would silently re-define the runtime contract.\n *\n * Empty-registry pass-through applies regardless of mode (so apps\n * that never call `registerFeatureSpecifications` stay un-broken).\n */\nexport interface AssertOptionalRequiredFeaturesSpecificationOptions {\n crossRegistry?: CrossRegistryMode;\n}\n\n/**\n * Validate the structural shape of an authored\n * {@link RequiredFeaturesSpecification}.\n *\n * Branches enforced:\n * - rejects the runtime shorthand `string[]` form (the spec layer\n * keeps axes explicit so authoring intent stays readable),\n * - requires non-empty trimmed `featureRefs[]`,\n * - validates `mode` is one of `'OR' | 'AND'` when authored,\n * - validates each `limitChecks[i]` is structurally well-formed\n * (object shape, non-empty trimmed `featureRef`, integer\n * `increment`, structural `countingOverride` via\n * {@link assertOptionalCountingOverrideShape}),\n * - resolves every `featureRefs[]` entry and each\n * `limitChecks[i].featureRef` against the registered\n * `FeatureSpecification` cross-registry (Step 5 Phase 8) — fail-\n * closed when the registry is populated and the ref is missing,\n * fail-soft when no registry is registered (preserves M2M's\n * app-features-beyond-engine contract; M2M call sites also opt\n * in to fail-soft via `options.crossRegistry`).\n *\n * Error messages preserve the original triplicated wording verbatim\n * so existing validator tests in `_core/__tests__/` stay green.\n */\nexport function assertOptionalRequiredFeaturesSpecification(\n errorPrefix: string,\n requiredFeatures: RequiredFeaturesSpecification | undefined,\n options: AssertOptionalRequiredFeaturesSpecificationOptions = {},\n): void {\n if (!requiredFeatures) {\n return;\n }\n if (typeof requiredFeatures !== 'object' || Array.isArray(requiredFeatures)) {\n throw new Error(\n `${errorPrefix} must be an object when authored (the spec does not accept the runtime shorthand string[] form — use the full object shape so axis intent stays explicit).`,\n );\n }\n if (!Array.isArray(requiredFeatures.featureRefs) || requiredFeatures.featureRefs.length === 0) {\n throw new Error(\n `${errorPrefix}.featureRefs must be a non-empty array when requiredFeatures is authored.`,\n );\n }\n for (const [index, ref] of requiredFeatures.featureRefs.entries()) {\n if (typeof ref !== 'string' || !ref.trim()) {\n throw new Error(\n `${errorPrefix}.featureRefs[${index}] must be a non-empty trimmed string.`,\n );\n }\n }\n\n if (requiredFeatures.mode !== undefined\n && !(ALLOWED_REQUIRED_FEATURES_MODES as readonly string[]).includes(requiredFeatures.mode)) {\n throw new Error(\n `${errorPrefix}.mode must be one of [${ALLOWED_REQUIRED_FEATURES_MODES.map((mode) => `\"${mode}\"`).join(', ')}] when authored (got \"${String(requiredFeatures.mode)}\").`,\n );\n }\n\n const crossRegistryMode: CrossRegistryMode = options.crossRegistry ?? 'fail-closed';\n\n assertFeatureRefsResolveToRegistry(\n errorPrefix,\n 'featureRefs',\n requiredFeatures.featureRefs,\n crossRegistryMode,\n );\n\n if (requiredFeatures.limitChecks !== undefined) {\n if (!Array.isArray(requiredFeatures.limitChecks)) {\n throw new Error(`${errorPrefix}.limitChecks must be an array when authored.`);\n }\n for (const [index, entry] of requiredFeatures.limitChecks.entries()) {\n const entryPrefix = `${errorPrefix}.limitChecks[${index}]`;\n if (!entry || typeof entry !== 'object') {\n throw new Error(`${entryPrefix} must be an object.`);\n }\n if (typeof entry.featureRef !== 'string' || !entry.featureRef.trim()) {\n throw new Error(\n `${entryPrefix}.featureRef must be a non-empty trimmed string.`,\n );\n }\n if (entry.increment !== undefined) {\n if (typeof entry.increment !== 'number' || !Number.isInteger(entry.increment)) {\n throw new Error(\n `${entryPrefix}.increment must be an integer when authored (matches runtime LimitCheckSchema).`,\n );\n }\n }\n assertOptionalCountingOverrideShape(entryPrefix, entry.countingOverride);\n\n assertFeatureRefResolvesToRegistry(\n entryPrefix,\n 'featureRef',\n entry.featureRef,\n crossRegistryMode,\n );\n }\n }\n}\n"]}
@@ -43,8 +43,8 @@ export declare const FunctionalRequirementConfigSchema: z.ZodObject<{
43
43
  painRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
44
  authored: z.ZodOptional<z.ZodObject<{
45
45
  lastAuthoredAt: z.ZodISODateTime;
46
- confidence: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").AuthoredConfidence>>;
47
- reviewCadence: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewCadence>>>;
46
+ confidence: z.ZodEnum<typeof import("..").AuthoredConfidence>;
47
+ reviewCadence: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewCadence>>;
48
48
  reviewer: z.ZodOptional<z.ZodString>;
49
49
  notes: z.ZodOptional<z.ZodString>;
50
50
  }, z.core.$strip>>;
@@ -9,8 +9,8 @@ import { z } from 'zod';
9
9
  *
10
10
  * `kind` classifies the NFR onto a standard quality axis so downstream
11
11
  * surfaces can route it — most importantly, `COMPLIANCE` NFRs are
12
- * consumed alongside the vision family's compliance CONSTRAINTS by the
13
- * top-down compliance-posture playbook (U10). At scaffold depth an NFR is
12
+ * read beside the compliance posture (`compliance-posture` family) by
13
+ * the document facts and the build decomposer, which lands each one. At scaffold depth an NFR is
14
14
  * a `kind` + a prose `statement` ("p95 API latency under 200ms") + an
15
15
  * optional prose `metric` and `acceptanceCriteria` — the DEEP
16
16
  * quality-attribute taxonomy (per-axis obligation models, measurement
@@ -22,8 +22,8 @@ import { z } from 'zod';
22
22
  * vocabulary (enum, per project rule — enums over literal unions),
23
23
  * covering the standard NFR / quality-attribute axes at scaffold depth.
24
24
  * `COMPLIANCE` is called out as its own member — not folded into
25
- * `SECURITY` — because it is the seam the compliance-posture playbook
26
- * (U10) selects on. Deliberately NOT exhaustive of a formal
25
+ * `SECURITY` — because compliance requirements are routed on their own:
26
+ * the build decomposer lands each one beside the researched regimes. Deliberately NOT exhaustive of a formal
27
27
  * quality-model taxonomy; `OTHER` catches axes the fixed buckets miss.
28
28
  */
29
29
  export declare enum NonFunctionalRequirementKind {
@@ -67,8 +67,8 @@ export declare const NonFunctionalRequirementConfigSchema: z.ZodObject<{
67
67
  painRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
68
  authored: z.ZodOptional<z.ZodObject<{
69
69
  lastAuthoredAt: z.ZodISODateTime;
70
- confidence: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").AuthoredConfidence>>;
71
- reviewCadence: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewCadence>>>;
70
+ confidence: z.ZodEnum<typeof import("..").AuthoredConfidence>;
71
+ reviewCadence: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ReviewCadence>>;
72
72
  reviewer: z.ZodOptional<z.ZodString>;
73
73
  notes: z.ZodOptional<z.ZodString>;
74
74
  }, z.core.$strip>>;
@@ -12,8 +12,8 @@ import { RequirementsAuthoredMetadataSchema } from './requirements-authored-meta
12
12
  *
13
13
  * `kind` classifies the NFR onto a standard quality axis so downstream
14
14
  * surfaces can route it — most importantly, `COMPLIANCE` NFRs are
15
- * consumed alongside the vision family's compliance CONSTRAINTS by the
16
- * top-down compliance-posture playbook (U10). At scaffold depth an NFR is
15
+ * read beside the compliance posture (`compliance-posture` family) by
16
+ * the document facts and the build decomposer, which lands each one. At scaffold depth an NFR is
17
17
  * a `kind` + a prose `statement` ("p95 API latency under 200ms") + an
18
18
  * optional prose `metric` and `acceptanceCriteria` — the DEEP
19
19
  * quality-attribute taxonomy (per-axis obligation models, measurement
@@ -25,8 +25,8 @@ import { RequirementsAuthoredMetadataSchema } from './requirements-authored-meta
25
25
  * vocabulary (enum, per project rule — enums over literal unions),
26
26
  * covering the standard NFR / quality-attribute axes at scaffold depth.
27
27
  * `COMPLIANCE` is called out as its own member — not folded into
28
- * `SECURITY` — because it is the seam the compliance-posture playbook
29
- * (U10) selects on. Deliberately NOT exhaustive of a formal
28
+ * `SECURITY` — because compliance requirements are routed on their own:
29
+ * the build decomposer lands each one beside the researched regimes. Deliberately NOT exhaustive of a formal
30
30
  * quality-model taxonomy; `OTHER` catches axes the fixed buckets miss.
31
31
  */
32
32
  export var NonFunctionalRequirementKind;
@@ -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;;;;;;;;;;;;;;;;;GAi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D,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"]}
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 * read beside the compliance posture (`compliance-posture` family) by\n * the document facts and the build decomposer, which lands each one. 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 compliance requirements are routed on their own:\n * the build decomposer lands each one beside the researched regimes. 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"]}
@@ -39,8 +39,8 @@ import { AuthoredConfidence, ReviewCadence } from '../market/market-authored-met
39
39
  */
40
40
  export declare const RequirementsAuthoredMetadataSchema: z.ZodObject<{
41
41
  lastAuthoredAt: z.ZodISODateTime;
42
- confidence: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof AuthoredConfidence>>;
43
- reviewCadence: z.ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof ReviewCadence>>>;
42
+ confidence: z.ZodEnum<typeof AuthoredConfidence>;
43
+ reviewCadence: z.ZodOptional<z.ZodEnum<typeof ReviewCadence>>;
44
44
  reviewer: z.ZodOptional<z.ZodString>;
45
45
  notes: z.ZodOptional<z.ZodString>;
46
46
  }, z.core.$strip>;
@@ -14,7 +14,6 @@ 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
17
  painRefs: z.ZodArray<z.ZodString>;
19
18
  }, z.core.$strict>;
20
19
  export type FunctionalRequirementGeneration = z.infer<typeof FunctionalRequirementGenerationSchema>;
@@ -43,7 +42,6 @@ export declare const RequirementsSnapshotGenerationSchema: z.ZodObject<{
43
42
  acceptanceCriteria: z.ZodArray<z.ZodString>;
44
43
  icpRefs: z.ZodArray<z.ZodString>;
45
44
  jobRefs: z.ZodArray<z.ZodString>;
46
- /** The market pains this requirement relieves (#2500). */
47
45
  painRefs: z.ZodArray<z.ZodString>;
48
46
  }, z.core.$strict>>;
49
47
  nonFunctional: z.ZodArray<z.ZodObject<{
@@ -56,12 +54,10 @@ export declare const RequirementsSnapshotGenerationSchema: z.ZodObject<{
56
54
  jobRefs: z.ZodArray<z.ZodString>;
57
55
  painRefs: z.ZodArray<z.ZodString>;
58
56
  }, z.core.$strict>>;
59
- /** Every stated fact the requirements deliberately leave out, with why (#2499). Empty when every one is carried. */
60
57
  excludedStatedFacts: z.ZodArray<z.ZodObject<{
61
58
  statedFact: z.ZodString;
62
59
  reason: z.ZodString;
63
60
  }, z.core.$strict>>;
64
- /** Every high-severity market pain no requirement relieves, with why (#2500). Empty when every one is relieved. */
65
61
  excludedMarketPains: z.ZodArray<z.ZodObject<{
66
62
  painRef: z.ZodString;
67
63
  reason: z.ZodString;
@@ -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,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"}
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;;;;;;;;kBAShD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqB/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,CA0BxF"}