@wildo-ai/saas-specifications 1.1.3 → 1.1.4

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 (857) hide show
  1. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  16. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  17. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  19. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  20. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  21. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  22. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  23. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  24. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  25. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  26. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  27. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  28. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  30. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  31. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  32. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  33. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  34. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  35. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  36. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  37. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  38. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  40. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  41. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  42. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  43. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  44. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  46. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  47. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  48. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +118 -0
  51. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  52. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +65 -3
  53. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  54. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +498 -7
  55. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  56. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +472 -19
  57. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  58. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  59. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  61. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +2 -0
  62. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  63. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +2 -0
  64. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  65. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  66. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  67. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  68. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  69. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  70. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  71. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  73. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  75. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  77. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  78. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  79. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  80. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  81. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  82. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  84. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  85. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  86. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  87. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +9 -9
  88. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  89. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  92. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  93. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  94. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  95. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  96. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  97. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  98. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  100. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  101. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/index.d.ts.map +1 -1
  103. package/dist/esm/_core/index.js.map +1 -1
  104. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  105. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  106. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  107. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  109. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  110. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  112. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  113. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  114. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  115. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  116. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  118. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  120. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  121. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  122. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  124. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  125. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -18
  126. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  127. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  128. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  129. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  130. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  132. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  133. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  134. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  135. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  136. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  137. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  138. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +22 -16
  139. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  140. package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -11
  141. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  142. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  143. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +12 -8
  144. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  145. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +12 -8
  146. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  147. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  148. package/dist/esm/_core/provider-specification.schemas.d.ts +16 -0
  149. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  150. package/dist/esm/_core/provider-specification.schemas.js +0 -20
  151. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  152. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  153. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  154. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  155. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  158. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  159. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  160. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  161. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  163. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  164. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  166. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  167. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  168. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  169. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  170. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  171. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  172. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  173. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  174. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  175. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  176. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  178. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  179. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  180. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
  181. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
  182. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  183. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  184. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  185. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  186. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  188. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  189. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  190. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  191. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  192. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  193. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  195. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  196. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  197. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  198. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  199. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  200. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  201. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  202. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  203. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  204. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  205. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  206. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  207. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  208. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +8 -0
  209. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  210. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +8 -0
  211. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  212. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  213. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  214. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +1 -1
  215. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  216. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  217. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  218. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +11 -0
  219. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  220. package/dist/esm/assurance/assurance-authority-basis.definitions.js +37 -4
  221. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  222. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +2 -2
  223. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  224. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
  225. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  226. package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
  227. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  228. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  229. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  230. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +22 -9
  231. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  232. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +2002 -29
  233. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  234. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  235. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  236. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  237. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +30 -0
  238. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  239. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +40 -0
  240. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  241. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  242. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  243. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  244. package/dist/esm/assurance/assurance-program.schemas.d.ts +30 -14
  245. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  246. package/dist/esm/assurance/assurance-program.schemas.js +14 -6
  247. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  248. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  249. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  250. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  251. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +29 -0
  252. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  253. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  254. package/dist/esm/assurance.exports.d.ts.map +1 -1
  255. package/dist/esm/companion-exports.d.ts.map +1 -1
  256. package/dist/esm/companion-exports.js.map +1 -1
  257. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  258. package/dist/esm/engine/_bootstrap.js.map +1 -1
  259. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  260. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  261. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  262. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  263. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  264. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  265. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  266. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  267. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  268. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  269. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  271. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  272. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +47 -0
  273. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
  274. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +355 -0
  275. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
  276. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  277. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  278. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  279. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  280. package/dist/esm/engine/auth/resources/index.js +1 -0
  281. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  282. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  283. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  284. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  285. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  287. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  288. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  289. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  290. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  292. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  293. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  294. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  295. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  297. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  298. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  299. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +9 -1
  302. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +2 -0
  304. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  305. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  306. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  307. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  308. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  309. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  310. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  311. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  313. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  314. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  316. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  317. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  318. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  321. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  322. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  323. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  324. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  325. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  326. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  327. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  328. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  329. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +69 -0
  330. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
  331. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +316 -0
  332. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
  333. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  334. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  336. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  337. package/dist/esm/engine/compliance/resources/index.js +1 -0
  338. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  339. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  340. package/dist/esm/engine/engine-resource-specifications.registry.js +4 -0
  341. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  342. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  343. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  344. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  345. package/dist/esm/engine/errors/error-messages.specification.js +19 -0
  346. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  347. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  348. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  349. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  350. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  351. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  352. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  353. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  354. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  356. package/dist/esm/engine/features/index.d.ts.map +1 -1
  357. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  358. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  359. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  360. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  361. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  362. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  363. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  364. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  365. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  366. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  367. package/dist/esm/engine/files/index.d.ts.map +1 -1
  368. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  369. package/dist/esm/engine/files/resources/files.resource.specification.js +1 -1
  370. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  371. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  372. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  373. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  374. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  375. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  376. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  377. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  378. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  379. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  380. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  381. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  382. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  383. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  384. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  387. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  388. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  390. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  391. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  392. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  394. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  395. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  396. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  397. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  399. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  400. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  402. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  403. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  404. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  405. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  406. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  408. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  409. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  410. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  412. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  414. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  415. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  416. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  417. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  418. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  419. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  420. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  421. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  422. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  423. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  424. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  425. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  427. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  428. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  429. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  430. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  431. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  433. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  435. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  436. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  437. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  438. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
  439. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
  440. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  442. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  443. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  444. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  445. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  447. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  448. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  449. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  450. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  451. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  452. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  453. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  455. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  456. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  458. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  459. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  460. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  462. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  463. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  464. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  465. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  466. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  467. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  468. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  470. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  471. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  474. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  476. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  477. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  479. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  480. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  483. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  484. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  486. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  487. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  488. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  490. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  493. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  494. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  495. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  500. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  501. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  503. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  507. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  509. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  510. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  512. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  513. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  514. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  515. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  516. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  518. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  519. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  520. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  521. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  522. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  523. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  524. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  525. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  526. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  527. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  528. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  529. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  530. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  531. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  532. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  533. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  534. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  535. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  536. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  537. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  539. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  540. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  543. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  544. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  545. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  546. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  547. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  548. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  549. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  550. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  551. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  552. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  554. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  555. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  556. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  559. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  560. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  561. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  562. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  563. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  565. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  568. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  570. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  571. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  573. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  574. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  575. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  577. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  578. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  579. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  580. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  582. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  583. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  584. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  586. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  587. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  588. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  591. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  592. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  594. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  595. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  596. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  598. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  599. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  602. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  603. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  604. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  606. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  607. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  614. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  615. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  616. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  617. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  618. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  619. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  620. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  622. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  623. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  624. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  626. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  627. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  628. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  629. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  631. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  632. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  634. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  635. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  636. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  637. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  638. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  642. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  645. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  647. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  648. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  649. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  650. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  651. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  653. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  654. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  658. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  659. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  663. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  664. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  665. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  667. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  668. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  669. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  671. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  672. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  674. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  675. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  676. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  678. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  680. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  682. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  683. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  684. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  686. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  687. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  688. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  689. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  690. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  691. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  692. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  693. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  694. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  695. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  698. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  699. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  700. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  701. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  702. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  703. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  704. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  706. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  708. package/dist/esm/engine/index.d.ts.map +1 -1
  709. package/dist/esm/engine/index.js.map +1 -1
  710. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  711. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  712. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  713. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  714. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  715. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  716. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  718. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  720. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  721. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  722. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  723. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  724. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  725. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  726. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  729. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  730. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  732. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  734. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  735. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  737. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  738. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  739. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  740. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  741. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  742. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  743. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  744. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  745. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  746. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  747. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  748. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
  749. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
  750. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
  752. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  753. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/providers/apple.provider.specification.js +10 -1
  755. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  756. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  757. package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
  758. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  759. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/providers/github.provider.specification.js +10 -1
  761. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  762. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/providers/google.provider.specification.js +10 -1
  764. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  765. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  766. package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
  767. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  768. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  769. package/dist/esm/engine/providers/index.js.map +1 -1
  770. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  771. package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -1
  772. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  773. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  774. package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
  775. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  776. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  777. package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
  778. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  779. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  780. package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
  781. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  782. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
  784. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  785. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
  787. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  788. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  789. package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
  790. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  791. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  792. package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
  793. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  794. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  795. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  797. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  798. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  800. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  801. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  802. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  803. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  804. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  806. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  808. package/dist/esm/engine/users/index.d.ts.map +1 -1
  809. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  810. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  811. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  812. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  813. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  814. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  815. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  816. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  817. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  819. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  820. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  822. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  824. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  825. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  826. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  827. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  828. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
  830. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  831. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  832. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  833. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  834. package/dist/esm/index.d.ts.map +1 -1
  835. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  836. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  837. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  838. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  839. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  840. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  841. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  842. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  843. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  844. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  845. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  846. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  847. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  848. package/dist/tsconfig.build.tsbuildinfo +1 -1
  849. package/package.json +8 -8
  850. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -0
  851. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -0
  852. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -0
  853. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -0
  854. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
  855. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
  856. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
  857. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-lite-snapshot-validation.js","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-lite-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAG/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAN,IAAY,kCAiDX;AAjDD,WAAY,kCAAkC;IAC5C;;;;;OAKG;IACH,+EAAyC,CAAA;IACzC;;;OAGG;IACH,qEAA+B,CAAA;IAC/B;;;;;;;;OAQG;IACH,iFAA2C,CAAA;IAC3C,qEAAqE;IACrE,2DAAqB,CAAA;IACrB;;;;;;;;OAQG;IACH,2EAAqC,CAAA;IACrC,iGAAiG;IACjG,uEAAiC,CAAA;IACjC;;;;OAIG;IACH,yEAAmC,CAAA;IACnC;;;;OAIG;IACH,yFAAmD,CAAA;AACrD,CAAC,EAjDW,kCAAkC,KAAlC,kCAAkC,QAiD7C;AAED,MAAM,CAAN,IAAY,sCAGX;AAHD,WAAY,sCAAsC;IAChD,yDAAe,CAAA;IACf,uDAAa,CAAA;AACf,CAAC,EAHW,sCAAsC,KAAtC,sCAAsC,QAGjD;AAgDD;;;;GAIG;AACH,MAAM,sBAAsB,GAAkC;IAC5D,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;IACz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,aAAa,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;gBAChD,IAAI,OAAO,CAAC,gBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC;oBAAE,OAAO;gBAClD,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,kCAAkC,CAAC,eAAe;oBACxD,IAAI,EAAE,SAAS,KAAK,mBAAmB,QAAQ,GAAG;oBAClD,OAAO,EAAE,YAAY,MAAM,cAAc,KAAK,CAAC,GAAG,iDAAiD;oBACnG,QAAQ,EAAE,sCAAsC,CAAC,KAAK;iBACvD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;QACD,IAAI,OAAO,EAAE,wBAAwB,KAAK,SAAS,EAAE,CAAC;YACpD,KAAK,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;gBAC1D,IAAI,OAAO,CAAC,wBAAyB,CAAC,GAAG,CAAC,MAAM,CAAC;oBAAE,OAAO;gBAC1D,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,kCAAkC,CAAC,uBAAuB;oBAChE,IAAI,EAAE,SAAS,KAAK,6BAA6B,QAAQ,GAAG;oBAC5D,OAAO,EAAE,oBAAoB,MAAM,cAAc,KAAK,CAAC,GAAG,yDAAyD;oBACnH,QAAQ,EAAE,sCAAsC,CAAC,KAAK;iBACvD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AACD,gEAAgE","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { BusinessModelAuthoredMetadata } from './business-model-authored-metadata.schemas';\nimport type { PricingPlanConfig } from './pricing-plan.schemas';\nimport { PRICING_PLAN_REF_PATTERN } from './business-model-references.schemas';\nimport type { BusinessModelLiteSnapshot } from './business-model-lite-snapshot.schemas';\n\n/**\n * @wildo_source:part:start business-model.snapshot.validation facet:layer:specification facet:family:business-model\n *\n * Authoring-consistency validator for an assembled\n * `BusinessModelLiteSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot — no\n * Zod introspection, no registry access, no I/O (the `_core` validator\n * convention shared with `validateMarketSnapshot` / `validateVisionSnapshot`\n * / `validateRequirementsSnapshot` / `validateRoadmapSnapshot` /\n * `validateAssertionSpecificationSnapshot`). Zod already enforces structural\n * validity (ref formats at parse time); this walker adds the cross-entity +\n * completeness checks Zod cannot express, the defence-in-depth ref-format\n * check for type-asserted fixtures that bypass parsing, and the fail-soft\n * cross-family ICP / requirement ref resolution.\n *\n * Rule table — 8 kinds (scaffold depth, Phase J1 — deeper pricing / revenue\n * analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |----------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A plan ref fails the shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two plans share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same target/include-ref is listed more than once on ONE plan's cross-ref list — the repeat is noise the catalog silently dedupes. Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — each cross-ref list is its own namespace. |\n * | `NO_PLANS` | WARN | `plans` empty — the business model sketches no pricing. |\n * | `NO_REVENUE_MODEL` | WARN | `plans` are authored but the product-level `revenueModel` is unset — the pricing sketch is classified per-plan (`PricingModelAxis`) but the product's headline revenue model is undeclared. GATED on `plans.length > 0`: an empty snapshot is already fully described by `NO_PLANS`, so this fires only for the sharper \"sketched pricing, forgot the revenue model\" state (no redundant double-warn on `{}`). |\n * | `STALE_AUTHORED` | WARN | Any plan's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | A `targetIcpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_REQUIREMENT_REF` | ERROR | An `includesRequirementRefs` entry does not resolve in `options.availableRequirementRefs`. SKIPPED (fail-soft) when no set is passed. |\n *\n * There is deliberately NO `DUPLICATE_SEQUENCE` detector: pricing plans (unlike\n * roadmap phases) are NOT inherently ordered, so the family carries no\n * `sequence` axis to collide on.\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum BusinessModelLiteSnapshotIssueKind {\n /**\n * A plan ref violates its kebab-case prefix contract. The Zod schema\n * rejects this at parse time; the detector remains as defence in depth for\n * callers that bypass parsing (tests building snapshots with type-asserted\n * fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two plans share a ref. The collection is addressed by ref downstream, so\n * a duplicate silently drops one plan. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / requirement ref appears more than once on ONE plan's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes it\n * (or double-counts it in coverage). WARN, not ERROR: the plan is still\n * valid, the authoring is just untidy. Runs unconditionally (intra-\n * snapshot, needs no external set); each cross-ref list is its own\n * namespace, so the same string appearing once in each of the two lists is\n * NOT a duplicate.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `plans` empty — the business model sketches no pricing (WARN). */\n NO_PLANS = 'no_plans',\n /**\n * `plans` are authored but the product-level `revenueModel` is unset. The\n * pricing sketch classifies HOW each plan scales (`PricingModelAxis`) but\n * leaves the product's headline \"how it makes money\" undeclared. WARN, not\n * ERROR: the model is still structurally valid, just under-classified.\n * GATED on `plans.length > 0` — a fully-empty snapshot is already covered\n * by `NO_PLANS`, so this never double-warns on `{}`; it fires only for the\n * sharper \"sketched pricing, forgot the revenue model\" state.\n */\n NO_REVENUE_MODEL = 'no_revenue_model',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision/requirements/roadmap parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * A `targetIcpRefs` entry does not resolve against the supplied ICP-ref\n * set — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * An `includesRequirementRefs` entry does not resolve against the supplied\n * requirement-ref set. ERROR when a set is supplied; SKIPPED (fail-soft)\n * when it is not.\n */\n UNKNOWN_REQUIREMENT_REF = 'unknown_requirement_ref',\n}\n\nexport enum BusinessModelLiteSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface BusinessModelLiteSnapshotIssue {\n kind: BusinessModelLiteSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'plans[2].ref'`). */\n path: string;\n message: string;\n severity: BusinessModelLiteSnapshotIssueSeverity;\n}\n\nexport interface BusinessModelLiteSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: BusinessModelLiteSnapshotIssue[];\n}\n\n/**\n * Options for this family validator.\n *\n * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check\n *\n * A family validator sees one family. It cannot resolve a reference into another family's\n * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller\n * saying \"I have this context, use it\". Omit one and the matching check does not run: no issue is\n * reported, and the absence looks exactly like a snapshot with no such reference.\n *\n * That is deliberate — the families are decoupled on purpose — but it means a validator called with\n * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling\n * cross-family references caught, supply the sets; if you validate one family in isolation, expect\n * them to be found later by whatever holds every family at once.\n */\nexport interface ValidateBusinessModelLiteSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `targetIcpRefs` entry\n * not in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the business-model family is decoupled\n * from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable functional-requirement refs. Same skip-when-omitted semantics\n * as `availableIcpRefs`, reported as `UNKNOWN_REQUIREMENT_REF`.\n */\n availableRequirementRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / requirements\n * / roadmap / assertions validators (module-local there too — a shared\n * promotion is part of the deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateBusinessModelLiteSnapshot(\n snapshot: BusinessModelLiteSnapshot,\n options?: ValidateBusinessModelLiteSnapshotOptions,\n): BusinessModelLiteSnapshotValidationResult {\n const issues: BusinessModelLiteSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== BusinessModelLiteSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (PRICING_PLAN_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `plans[${index}].ref`,\n message: `Pricing-plan ref \"${entry.ref}\" is not kebab-case with the \"pricing-plan-\" prefix.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n snapshot.plans.forEach((entry, index) => {\n if (!seen.has(entry.ref)) {\n seen.add(entry.ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_REF,\n path: `plans[${index}].ref`,\n message: `Duplicate ref \"${entry.ref}\" in plans — refs must be unique; the collection is addressed by ref downstream.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entry: PricingPlanConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on plan \"${entry.ref}\" (${path}). Remove the duplicate.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n snapshot.plans.forEach((entry, index) => {\n checkList(entry.targetIcpRefs, entry, `plans[${index}].targetIcpRefs`);\n checkList(\n entry.includesRequirementRefs,\n entry,\n `plans[${index}].includesRequirementRefs`,\n );\n });\n}\n\nfunction detectIncompleteness(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n if (snapshot.plans.length === 0) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_PLANS,\n path: 'plans',\n message: 'Business model sketches no pricing plans — it describes no way the product is sold.',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n // Gated on plans being present: an empty snapshot is already covered by\n // NO_PLANS, so this fires only for the sharper \"pricing is sketched but the\n // product's headline revenue model is undeclared\" state.\n if (snapshot.plans.length > 0 && snapshot.revenueModel === undefined) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_REVENUE_MODEL,\n path: 'revenueModel',\n message: 'Pricing plans are authored but revenueModel is unset — classify how the product makes money (RevenueModelKind).',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: BusinessModelLiteSnapshot,\n now: Date,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkOne = (\n authored: BusinessModelAuthoredMetadata | undefined,\n path: string,\n ): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Pricing plan at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.plans.forEach((entry, index) =>\n checkOne(entry.authored, `plans[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n options: ValidateBusinessModelLiteSnapshotOptions | undefined,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (options?.availableIcpRefs !== undefined) {\n entry.targetIcpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `plans[${index}].targetIcpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on plan \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableRequirementRefs !== undefined) {\n entry.includesRequirementRefs?.forEach((reqRef, refIndex) => {\n if (options.availableRequirementRefs!.has(reqRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_REQUIREMENT_REF,\n path: `plans[${index}].includesRequirementRefs[${refIndex}]`,\n message: `Requirement ref \"${reqRef}\" on plan \"${entry.ref}\" does not resolve in the supplied requirement-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n });\n}\n/** @wildo_source:part:end business-model.snapshot.validation */\n"]}
1
+ {"version":3,"file":"business-model-lite-snapshot-validation.js","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-lite-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAG/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAN,IAAY,kCAiDX;AAjDD,WAAY,kCAAkC;IAC5C;;;;;OAKG;IACH,+EAAyC,CAAA;IACzC;;;OAGG;IACH,qEAA+B,CAAA;IAC/B;;;;;;;;OAQG;IACH,iFAA2C,CAAA;IAC3C,qEAAqE;IACrE,2DAAqB,CAAA;IACrB;;;;;;;;OAQG;IACH,2EAAqC,CAAA;IACrC,iGAAiG;IACjG,uEAAiC,CAAA;IACjC;;;;OAIG;IACH,yEAAmC,CAAA;IACnC;;;;OAIG;IACH,yFAAmD,CAAA;AACrD,CAAC,EAjDW,kCAAkC,KAAlC,kCAAkC,QAiD7C;AAED,MAAM,CAAN,IAAY,sCAGX;AAHD,WAAY,sCAAsC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,EACnC,OAA6D,EAC7D,MAAwC;IAExC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QACtC,IAAI,OAAO,EAAE,gBAAgB,KAAK,SAAS,EAAE,CAAC;YAC5C,KAAK,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;gBAChD,IAAI,OAAO,CAAC,gBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC;oBAAE,OAAO;gBAClD,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,kCAAkC,CAAC,eAAe;oBACxD,IAAI,EAAE,SAAS,KAAK,mBAAmB,QAAQ,GAAG;oBAClD,OAAO,EAAE,YAAY,MAAM,cAAc,KAAK,CAAC,GAAG,iDAAiD;oBACnG,QAAQ,EAAE,sCAAsC,CAAC,KAAK;iBACvD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;QACD,IAAI,OAAO,EAAE,wBAAwB,KAAK,SAAS,EAAE,CAAC;YACpD,KAAK,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;gBAC1D,IAAI,OAAO,CAAC,wBAAyB,CAAC,GAAG,CAAC,MAAM,CAAC;oBAAE,OAAO;gBAC1D,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,kCAAkC,CAAC,uBAAuB;oBAChE,IAAI,EAAE,SAAS,KAAK,6BAA6B,QAAQ,GAAG;oBAC5D,OAAO,EAAE,oBAAoB,MAAM,cAAc,KAAK,CAAC,GAAG,yDAAyD;oBACnH,QAAQ,EAAE,sCAAsC,CAAC,KAAK;iBACvD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AACD,gEAAgE","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { BusinessModelAuthoredMetadata } from './business-model-authored-metadata.schemas';\nimport type { PricingPlanConfig } from './pricing-plan.schemas';\nimport { PRICING_PLAN_REF_PATTERN } from './business-model-references.schemas';\nimport type { BusinessModelLiteSnapshot } from './business-model-lite-snapshot.schemas';\n\n/**\n * @wildo_source:part:start business-model.snapshot.validation facet:layer:specification facet:family:business-model\n *\n * Authoring-consistency validator for an assembled\n * `BusinessModelLiteSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot — no\n * Zod introspection, no registry access, no I/O (the `_core` validator\n * convention shared with `validateMarketSnapshot` / `validateVisionSnapshot`\n * / `validateRequirementsSnapshot` / `validateRoadmapSnapshot` /\n * `validateAssertionSpecificationSnapshot`). Zod already enforces structural\n * validity (ref formats at parse time); this walker adds the cross-entity +\n * completeness checks Zod cannot express, the defence-in-depth ref-format\n * check for type-asserted fixtures that bypass parsing, and the fail-soft\n * cross-family ICP / requirement ref resolution.\n *\n * Rule table — 8 kinds (scaffold depth, Phase J1 — deeper pricing / revenue\n * analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |----------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A plan ref fails the shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two plans share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same target/include-ref is listed more than once on ONE plan's cross-ref list — the repeat is noise the catalog silently dedupes. Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — each cross-ref list is its own namespace. |\n * | `NO_PLANS` | WARN | `plans` empty — the business model sketches no pricing. |\n * | `NO_REVENUE_MODEL` | WARN | `plans` are authored but the product-level `revenueModel` is unset — the pricing sketch is classified per-plan (`PricingModelAxis`) but the product's headline revenue model is undeclared. GATED on `plans.length > 0`: an empty snapshot is already fully described by `NO_PLANS`, so this fires only for the sharper \"sketched pricing, forgot the revenue model\" state (no redundant double-warn on `{}`). |\n * | `STALE_AUTHORED` | WARN | Any plan's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | A `targetIcpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_REQUIREMENT_REF` | ERROR | An `includesRequirementRefs` entry does not resolve in `options.availableRequirementRefs`. SKIPPED (fail-soft) when no set is passed. |\n *\n * There is deliberately NO `DUPLICATE_SEQUENCE` detector: pricing plans (unlike\n * roadmap phases) are NOT inherently ordered, so the family carries no\n * `sequence` axis to collide on.\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum BusinessModelLiteSnapshotIssueKind {\n /**\n * A plan ref violates its kebab-case prefix contract. The Zod schema\n * rejects this at parse time; the detector remains as defence in depth for\n * callers that bypass parsing (tests building snapshots with type-asserted\n * fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two plans share a ref. The collection is addressed by ref downstream, so\n * a duplicate silently drops one plan. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / requirement ref appears more than once on ONE plan's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes it\n * (or double-counts it in coverage). WARN, not ERROR: the plan is still\n * valid, the authoring is just untidy. Runs unconditionally (intra-\n * snapshot, needs no external set); each cross-ref list is its own\n * namespace, so the same string appearing once in each of the two lists is\n * NOT a duplicate.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `plans` empty — the business model sketches no pricing (WARN). */\n NO_PLANS = 'no_plans',\n /**\n * `plans` are authored but the product-level `revenueModel` is unset. The\n * pricing sketch classifies HOW each plan scales (`PricingModelAxis`) but\n * leaves the product's headline \"how it makes money\" undeclared. WARN, not\n * ERROR: the model is still structurally valid, just under-classified.\n * GATED on `plans.length > 0` — a fully-empty snapshot is already covered\n * by `NO_PLANS`, so this never double-warns on `{}`; it fires only for the\n * sharper \"sketched pricing, forgot the revenue model\" state.\n */\n NO_REVENUE_MODEL = 'no_revenue_model',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision/requirements/roadmap parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * A `targetIcpRefs` entry does not resolve against the supplied ICP-ref\n * set — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * An `includesRequirementRefs` entry does not resolve against the supplied\n * requirement-ref set. ERROR when a set is supplied; SKIPPED (fail-soft)\n * when it is not.\n */\n UNKNOWN_REQUIREMENT_REF = 'unknown_requirement_ref',\n}\n\nexport enum BusinessModelLiteSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface BusinessModelLiteSnapshotIssue {\n kind: BusinessModelLiteSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'plans[2].ref'`). */\n path: string;\n message: string;\n severity: BusinessModelLiteSnapshotIssueSeverity;\n}\n\nexport interface BusinessModelLiteSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: BusinessModelLiteSnapshotIssue[];\n}\n\n/**\n * Options for this family validator.\n *\n * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check\n *\n * A family validator sees one family. It cannot resolve a reference into another family's\n * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller\n * saying \"I have this context, use it\". Omit one and the matching check does not run: no issue is\n * reported, and the absence looks exactly like a snapshot with no such reference.\n *\n * That is deliberate — the families are decoupled on purpose — but it means a validator called with\n * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling\n * cross-family references caught, supply the sets; if you validate one family in isolation, expect\n * them to be found later by whatever holds every family at once.\n */\nexport interface ValidateBusinessModelLiteSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `targetIcpRefs` entry\n * not in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the business-model family is decoupled\n * from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable functional-requirement refs. Same skip-when-omitted semantics\n * as `availableIcpRefs`, reported as `UNKNOWN_REQUIREMENT_REF`.\n */\n availableRequirementRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / requirements\n * / roadmap / assertions validators (module-local there too — a shared\n * promotion is part of the deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateBusinessModelLiteSnapshot(\n snapshot: BusinessModelLiteSnapshot,\n options?: ValidateBusinessModelLiteSnapshotOptions,\n): BusinessModelLiteSnapshotValidationResult {\n const issues: BusinessModelLiteSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== BusinessModelLiteSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (PRICING_PLAN_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `plans[${index}].ref`,\n message: `Pricing-plan ref \"${entry.ref}\" is not kebab-case with the \"pricing-plan-\" prefix.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n snapshot.plans.forEach((entry, index) => {\n if (!seen.has(entry.ref)) {\n seen.add(entry.ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_REF,\n path: `plans[${index}].ref`,\n message: `Duplicate ref \"${entry.ref}\" in plans — refs must be unique; the collection is addressed by ref downstream.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entry: PricingPlanConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on plan \"${entry.ref}\" (${path}). Remove the duplicate.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n snapshot.plans.forEach((entry, index) => {\n checkList(entry.targetIcpRefs, entry, `plans[${index}].targetIcpRefs`);\n checkList(\n entry.includesRequirementRefs,\n entry,\n `plans[${index}].includesRequirementRefs`,\n );\n });\n}\n\nfunction detectIncompleteness(\n snapshot: BusinessModelLiteSnapshot,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n if (snapshot.plans.length === 0) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_PLANS,\n path: 'plans',\n message: 'Business model sketches no pricing plans — it describes no way the product is sold.',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n // Gated on plans being present: an empty snapshot is already covered by\n // NO_PLANS, so this fires only for the sharper \"pricing is sketched but the\n // product's headline revenue model is undeclared\" state.\n if (snapshot.plans.length > 0 && snapshot.revenueModel === undefined) {\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.NO_REVENUE_MODEL,\n path: 'revenueModel',\n message: 'Pricing plans are authored but revenueModel is unset — classify how the product makes money (RevenueModelKind).',\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: BusinessModelLiteSnapshot,\n now: Date,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n const checkOne = (\n authored: BusinessModelAuthoredMetadata | undefined,\n path: string,\n ): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Pricing plan at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.plans.forEach((entry, index) =>\n checkOne(entry.authored, `plans[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: BusinessModelLiteSnapshot,\n options: ValidateBusinessModelLiteSnapshotOptions | undefined,\n issues: BusinessModelLiteSnapshotIssue[],\n): void {\n snapshot.plans.forEach((entry, index) => {\n if (options?.availableIcpRefs !== undefined) {\n entry.targetIcpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `plans[${index}].targetIcpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on plan \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableRequirementRefs !== undefined) {\n entry.includesRequirementRefs?.forEach((reqRef, refIndex) => {\n if (options.availableRequirementRefs!.has(reqRef)) return;\n issues.push({\n kind: BusinessModelLiteSnapshotIssueKind.UNKNOWN_REQUIREMENT_REF,\n path: `plans[${index}].includesRequirementRefs[${refIndex}]`,\n message: `Requirement ref \"${reqRef}\" on plan \"${entry.ref}\" does not resolve in the supplied requirement-ref set.`,\n severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,\n });\n });\n }\n });\n}\n/** @wildo_source:part:end business-model.snapshot.validation */\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-lite-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-lite-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;GASG;AACH,oBAAY,gCAAgC;IAC1C,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,gBAAgB;IAC1B,sDAAsD;IACtD,YAAY,iBAAiB;IAC7B,4CAA4C;IAC5C,WAAW,gBAAgB;IAC3B,0CAA0C;IAC1C,iBAAiB,sBAAsB;IACvC,iEAAiE;IACjE,QAAQ,aAAa;IACrB,0DAA0D;IAC1D,sBAAsB,2BAA2B;IACjD,yCAAyC;IACzC,WAAW,gBAAgB;IAC3B,sDAAsD;IACtD,KAAK,UAAU;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;iBAQ1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,4DAA4D"}
1
+ {"version":3,"file":"business-model-lite-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-lite-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;GASG;AACH,oBAAY,gCAAgC;IAC1C,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,gBAAgB;IAC1B,sDAAsD;IACtD,YAAY,iBAAiB;IAC7B,4CAA4C;IAC5C,WAAW,gBAAgB;IAC3B,0CAA0C;IAC1C,iBAAiB,sBAAsB;IACvC,iEAAiE;IACjE,QAAQ,aAAa;IACrB,0DAA0D;IAC1D,sBAAsB,2BAA2B;IACjD,yCAAyC;IACzC,WAAW,gBAAgB;IAC3B,sDAAsD;IACtD,KAAK,UAAU;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;iBAQ1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,4DAA4D"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model-references.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,QAA0C,CAAC;AAEhF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAEpC;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AACJ,mEAAmE"}
1
+ {"version":3,"file":"business-model-references.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AAEH,8DAA8D;AAC9D,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,QAA0C,CAAC;AAEhF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAEpC;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,aAK9B,CAAC;AACJ,mEAAmE"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-model.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/business-model.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,6BAA6B,EAAE,wBAgB3C,CAAC"}
1
+ {"version":3,"file":"business-model.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/business-model.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,6BAA6B,EAAE,wBAgB3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pricing-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/business-model-lite/pricing-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH;;;;;;;GAOG;AACH,oBAAY,gBAAgB;IAC1B,oDAAoD;IACpD,SAAS,cAAc;IACvB,qDAAqD;IACrD,QAAQ,aAAa;IACrB,oEAAoE;IACpE,SAAS,cAAc;IACvB,4EAA4E;IAC5E,MAAM,WAAW;IACjB,mDAAmD;IACnD,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;iBAwClC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,gEAAgE"}
1
+ {"version":3,"file":"pricing-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-model-lite/pricing-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH;;;;;;;GAOG;AACH,oBAAY,gBAAgB;IAC1B,oDAAoD;IACpD,SAAS,cAAc;IACvB,qDAAqD;IACrD,QAAQ,aAAa;IACrB,oEAAoE;IACpE,SAAS,cAAc;IACvB,4EAA4E;IAC5E,MAAM,WAAW;IACjB,mDAAmD;IACnD,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;iBAwClC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,gEAAgE"}
@@ -1 +1 @@
1
- {"version":3,"file":"business-semantics.specifications.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/business-semantics.specifications.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AACH,oBAAY,wBAAwB;IAClC,EAAE,OAAO;CACV;AAED;;;;;;;;;GASG;AACH,oBAAY,qBAAqB;IAC/B,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;CAC5C;AAGD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;;iBAKxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;iBAkBxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;iBAe1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;GAMG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;iBAiBnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
1
+ {"version":3,"file":"business-semantics.specifications.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/business-semantics.specifications.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AACH,oBAAY,wBAAwB;IAClC,EAAE,OAAO;CACV;AAED;;;;;;;;;GASG;AACH,oBAAY,qBAAqB;IAC/B,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;CAC5C;AAGD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;;iBAKxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;iBAkBxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;iBAe1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;GAMG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;iBAiBnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"chart-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/chart-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAA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B,EACxC,oBAAoB,EAAE,MAAM,2BAA2B,GACtD,4BAA4B,CAU9B;AAED,wBAAgB,8BAA8B,CAC5C,GAAG,cAAc,EAAE,4BAA4B,EAAE,GAChD,sBAAsB,CAiBxB"}
1
+ {"version":3,"file":"chart-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../src/_core/chart-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,UAAU,wBAAwB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,kCAAkC;IACjD,6DAA6D;IAC7D,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,iFAAiF;IACjF,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,4BAA4B;IAC3C,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,qDAAqD;IACrD,YAAY,CAAC,EAAE,kCAAkC,CAAC;CACnD;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;AAElF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC5C,4BAA4B,EAC5B,cAAc,GAAG,SAAS,CAC3B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,sCAAsC,CACpD,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAER;AAED,wBAAgB,4CAA4C,CAC1D,cAAc,EAAE,wBAAwB,EACxC,oBAAoB,EAAE,MAAM,2BAA2B,GACtD,4BAA4B,CAU9B;AAED,wBAAgB,8BAA8B,CAC5C,GAAG,cAAc,EAAE,4BAA4B,EAAE,GAChD,sBAAsB,CAiBxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"compliance-completeness-statement.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-completeness-statement.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,+BAA+B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AAEjD;;;;;;;;GAQG;AACH,oBAAY,iBAAiB;IAC3B,4EAA4E;IAC5E,kBAAkB,uBAAuB;IACzC,mGAAmG;IACnG,eAAe,oBAAoB;IACnC,oEAAoE;IACpE,sBAAsB,2BAA2B;IACjD,qFAAqF;IACrF,cAAc,mBAAmB;IACjC,kFAAkF;IAClF,uBAAuB,4BAA4B;IACnD,gFAAgF;IAChF,yBAAyB,8BAA8B;IACvD,oFAAoF;IACpF,uBAAuB,4BAA4B;IACnD,yFAAyF;IACzF,0BAA0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AC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH;AAqBD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,sCAAsC,CACpD,SAAS,EAAE,2BAA2B,EACtC,2BAA2B,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,GACnE,+BAA+B,CAiDjC;AAED,mGAAmG;AACnG,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,iBAAiB,CAA6B,CAAC"}
1
+ {"version":3,"file":"compliance-completeness-statement.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/compliance-completeness-statement.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,+BAA+B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AAEjD;;;;;;;;GAQG;AACH,oBAAY,iBAAiB;IAC3B,4EAA4E;IAC5E,kBAAkB,uBAAuB;IACzC,mGAAmG;IACnG,eAAe,oBAAoB;IACnC,oEAAoE;IACpE,sBAAsB,2BAA2B;IACjD,qFAAqF;IACrF,cAAc,mBAAmB;IACjC,kFAAkF;IAClF,uBAAuB,4BAA4B;IACnD,gFAAgF;IAChF,yBAAyB,8BAA8B;IACvD,oFAAoF;IACpF,uBAAuB,4BAA4B;IACnD,yFAAyF;IACzF,0BAA0B,+BAA+B;IACzD,+DAA+D;IAC/D,sBAAsB,2BAA2B;IACjD,0FAA0F;IAC1F,iBAAiB,sBAAsB;IACvC,2FAA2F;IAC3F,wBAAwB,6BAA6B;IACrD,sGAAsG;IACtG,wBAAwB,6BAA6B;IACrD,4FAA4F;IAC5F,aAAa,kBAAkB;IAC/B,6FAA6F;IAC7F,gBAAgB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AAC,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,GACnE,+BAA+B,CAiDjC;AAED,mGAAmG;AACnG,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,iBAAiB,CAA6B,CAAC"}
@@ -5,6 +5,19 @@ import { ComplianceConcern } from "./compliance-completeness-statement.schemas";
5
5
  export declare const ComplianceStatementIncompletenessGenerationSchema: z.ZodObject<{
6
6
  needs: z.ZodString;
7
7
  closedBy: z.ZodString;
8
+ /**
9
+ * The declared facts whose arrival would close this gap — `null` when no fact family models it.
10
+ *
11
+ * Required-and-nullable, like every other deferrable field here and for the same reason: an omitted key
12
+ * and a considered "no fact models this" are different answers, and this is the field whose ABSENCE is
13
+ * the residual. A drafter that may simply drop it turns the residual from a stated bound into an
14
+ * unmeasurable one.
15
+ *
16
+ * See the family schema for what it buys: a clause asserting that something is not declared is reported
17
+ * STALE the moment the application declares it, instead of going on saying something untrue for as long
18
+ * as nobody re-reads it.
19
+ */
20
+ awaitingFactRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
8
21
  }, z.core.$strict>;
9
22
  export declare const ComplianceDocumentCandidateClauseGenerationSchema: z.ZodObject<{
10
23
  clauseRef: z.ZodString;
@@ -16,7 +29,30 @@ export declare const ComplianceDocumentCandidateClauseGenerationSchema: z.ZodObj
16
29
  incompleteness: z.ZodNullable<z.ZodObject<{
17
30
  needs: z.ZodString;
18
31
  closedBy: z.ZodString;
32
+ /**
33
+ * The declared facts whose arrival would close this gap — `null` when no fact family models it.
34
+ *
35
+ * Required-and-nullable, like every other deferrable field here and for the same reason: an omitted key
36
+ * and a considered "no fact models this" are different answers, and this is the field whose ABSENCE is
37
+ * the residual. A drafter that may simply drop it turns the residual from a stated bound into an
38
+ * unmeasurable one.
39
+ *
40
+ * See the family schema for what it buys: a clause asserting that something is not declared is reported
41
+ * STALE the moment the application declares it, instead of going on saying something untrue for as long
42
+ * as nobody re-reads it.
43
+ */
44
+ awaitingFactRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
19
45
  }, z.core.$strict>>;
46
+ /**
47
+ * The document facts this clause asserts. Every ref must be one the application HAS declared.
48
+ *
49
+ * An empty list is valid and is the right shape for a clause that asserts no fact — including a
50
+ * clause marked incomplete, which names what it is waiting for in `incompleteness.needs` rather
51
+ * than by citing a fact that does not exist. Documented here, at the surface the drafting model
52
+ * reads, because until 2026-09-09 a marked clause's citations were never checked and three refs
53
+ * resolving to nothing landed in a real notice; the check now reports them
54
+ * (`UNRESOLVED_MARKED_CLAUSE_FACT`), so a draft that cites a non-existent ref costs an attempt.
55
+ */
20
56
  factRefs: z.ZodArray<z.ZodString>;
21
57
  /**
22
58
  * Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
@@ -29,6 +65,18 @@ export declare const ComplianceDocumentCandidateClauseGenerationSchema: z.ZodObj
29
65
  * Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
30
66
  */
31
67
  satisfiesClauseRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
68
+ /**
69
+ * The application POLICY AREAS the clause is sourced from — `policy:*` only, and legitimately EMPTY.
70
+ *
71
+ * `.min(1)` was removed 2026-09-09 and the namespace rule added, both stated at the family schema
72
+ * with the measurement behind them. The short version for whoever reads this contract: the
73
+ * constraint demanded a second naming from a clause that had already named its facts, and the only
74
+ * material available was those facts — so Wonder CRM's notice carried 32 invented
75
+ * `document-fact-authority:` slugs, none of which resolved to anything.
76
+ *
77
+ * Checked HERE as well as on the family schema, for the reason the completeness pairing is: this
78
+ * message goes back to the MODEL as a retry finding and names the clause and the offending ref.
79
+ */
32
80
  sourcePolicyRefs: z.ZodArray<z.ZodString>;
33
81
  claimGuardRefs: z.ZodArray<z.ZodString>;
34
82
  }, z.core.$strict>;
@@ -90,7 +138,30 @@ export declare const ComplianceDocumentCandidateSectionGenerationSchema: z.ZodOb
90
138
  incompleteness: z.ZodNullable<z.ZodObject<{
91
139
  needs: z.ZodString;
92
140
  closedBy: z.ZodString;
141
+ /**
142
+ * The declared facts whose arrival would close this gap — `null` when no fact family models it.
143
+ *
144
+ * Required-and-nullable, like every other deferrable field here and for the same reason: an omitted key
145
+ * and a considered "no fact models this" are different answers, and this is the field whose ABSENCE is
146
+ * the residual. A drafter that may simply drop it turns the residual from a stated bound into an
147
+ * unmeasurable one.
148
+ *
149
+ * See the family schema for what it buys: a clause asserting that something is not declared is reported
150
+ * STALE the moment the application declares it, instead of going on saying something untrue for as long
151
+ * as nobody re-reads it.
152
+ */
153
+ awaitingFactRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
93
154
  }, z.core.$strict>>;
155
+ /**
156
+ * The document facts this clause asserts. Every ref must be one the application HAS declared.
157
+ *
158
+ * An empty list is valid and is the right shape for a clause that asserts no fact — including a
159
+ * clause marked incomplete, which names what it is waiting for in `incompleteness.needs` rather
160
+ * than by citing a fact that does not exist. Documented here, at the surface the drafting model
161
+ * reads, because until 2026-09-09 a marked clause's citations were never checked and three refs
162
+ * resolving to nothing landed in a real notice; the check now reports them
163
+ * (`UNRESOLVED_MARKED_CLAUSE_FACT`), so a draft that cites a non-existent ref costs an attempt.
164
+ */
94
165
  factRefs: z.ZodArray<z.ZodString>;
95
166
  /**
96
167
  * Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
@@ -103,6 +174,18 @@ export declare const ComplianceDocumentCandidateSectionGenerationSchema: z.ZodOb
103
174
  * Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
104
175
  */
105
176
  satisfiesClauseRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
177
+ /**
178
+ * The application POLICY AREAS the clause is sourced from — `policy:*` only, and legitimately EMPTY.
179
+ *
180
+ * `.min(1)` was removed 2026-09-09 and the namespace rule added, both stated at the family schema
181
+ * with the measurement behind them. The short version for whoever reads this contract: the
182
+ * constraint demanded a second naming from a clause that had already named its facts, and the only
183
+ * material available was those facts — so Wonder CRM's notice carried 32 invented
184
+ * `document-fact-authority:` slugs, none of which resolved to anything.
185
+ *
186
+ * Checked HERE as well as on the family schema, for the reason the completeness pairing is: this
187
+ * message goes back to the MODEL as a retry finding and names the clause and the offending ref.
188
+ */
106
189
  sourcePolicyRefs: z.ZodArray<z.ZodString>;
107
190
  claimGuardRefs: z.ZodArray<z.ZodString>;
108
191
  }, z.core.$strict>>;
@@ -211,7 +294,30 @@ export declare const ComplianceDocumentCandidateGenerationSchema: z.ZodObject<{
211
294
  incompleteness: z.ZodNullable<z.ZodObject<{
212
295
  needs: z.ZodString;
213
296
  closedBy: z.ZodString;
297
+ /**
298
+ * The declared facts whose arrival would close this gap — `null` when no fact family models it.
299
+ *
300
+ * Required-and-nullable, like every other deferrable field here and for the same reason: an omitted key
301
+ * and a considered "no fact models this" are different answers, and this is the field whose ABSENCE is
302
+ * the residual. A drafter that may simply drop it turns the residual from a stated bound into an
303
+ * unmeasurable one.
304
+ *
305
+ * See the family schema for what it buys: a clause asserting that something is not declared is reported
306
+ * STALE the moment the application declares it, instead of going on saying something untrue for as long
307
+ * as nobody re-reads it.
308
+ */
309
+ awaitingFactRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
214
310
  }, z.core.$strict>>;
311
+ /**
312
+ * The document facts this clause asserts. Every ref must be one the application HAS declared.
313
+ *
314
+ * An empty list is valid and is the right shape for a clause that asserts no fact — including a
315
+ * clause marked incomplete, which names what it is waiting for in `incompleteness.needs` rather
316
+ * than by citing a fact that does not exist. Documented here, at the surface the drafting model
317
+ * reads, because until 2026-09-09 a marked clause's citations were never checked and three refs
318
+ * resolving to nothing landed in a real notice; the check now reports them
319
+ * (`UNRESOLVED_MARKED_CLAUSE_FACT`), so a draft that cites a non-existent ref costs an attempt.
320
+ */
215
321
  factRefs: z.ZodArray<z.ZodString>;
216
322
  /**
217
323
  * Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
@@ -224,6 +330,18 @@ export declare const ComplianceDocumentCandidateGenerationSchema: z.ZodObject<{
224
330
  * Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
225
331
  */
226
332
  satisfiesClauseRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
333
+ /**
334
+ * The application POLICY AREAS the clause is sourced from — `policy:*` only, and legitimately EMPTY.
335
+ *
336
+ * `.min(1)` was removed 2026-09-09 and the namespace rule added, both stated at the family schema
337
+ * with the measurement behind them. The short version for whoever reads this contract: the
338
+ * constraint demanded a second naming from a clause that had already named its facts, and the only
339
+ * material available was those facts — so Wonder CRM's notice carried 32 invented
340
+ * `document-fact-authority:` slugs, none of which resolved to anything.
341
+ *
342
+ * Checked HERE as well as on the family schema, for the reason the completeness pairing is: this
343
+ * message goes back to the MODEL as a retry finding and names the clause and the offending ref.
344
+ */
227
345
  sourcePolicyRefs: z.ZodArray<z.ZodString>;
228
346
  claimGuardRefs: z.ZodArray<z.ZodString>;
229
347
  }, z.core.$strict>>;
@@ -1 +1 @@
1
- {"version":3,"file":"compliance-document-candidate-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAIL,+BAA+B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AA+ChF,yGAAyG;AACzG,eAAO,MAAM,iDAAiD;;;kBAG5D,CAAC;AAEH,eAAO,MAAM,iDAAiD;;;;IAK1D,uFAAuF;;IAEvF,2GAA2G;;;;;;IAG3G;;;;;;;;;OASG;;;;kBA2BH,CAAC;AAEL,eAAO,MAAM,kDAAkD;;;;IAI7D;;;;;;;;;;;;;;;;OAgBG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;;;;;;QAzFD,uFAAuF;;QAEvF,2GAA2G;;;;;;QAG3G;;;;;;;;;WASG;;;;;kBA8EL,CAAC;AAEH,eAAO,MAAM,2DAA2D;;;;kBAItE,CAAC;AAEH,eAAO,MAAM,2CAA2C;IACtD;;;;;;;;;;;;;OAaG;;;;;;;;;;IAGH;;;;OAIG;;IAEH,4FAA4F;;IAE5F;;;OAGG;;;;;;;;;;QAjFH;;;;;;;;;;;;;;;;WAgBG;;QAEH;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;;;;;;YAzFD,uFAAuF;;YAEvF,2GAA2G;;;;;;YAG3G;;;;;;;;;eASG;;;;;;;IAsHL,iGAAiG;;kBAEjG,CAAC;AACH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAEhH,iHAAiH;AACjH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,OAAO,GAAG,2BAA2B,CAkCtG"}
1
+ {"version":3,"file":"compliance-document-candidate-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAIL,+BAA+B,EAI/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AA+ChF,yGAAyG;AACzG,eAAO,MAAM,iDAAiD;;;IAG5D;;;;;;;;;;;OAWG;;kBAEH,CAAC;AAEH,eAAO,MAAM,iDAAiD;;;;IAK1D,uFAAuF;;IAEvF,2GAA2G;;;;QAtB7G;;;;;;;;;;;WAWG;;;IAaD;;;;;;;;;OASG;;IAEH;;;;;;;;;OASG;;IAEH;;;;;;;;;;;OAWG;;;kBAsCH,CAAC;AAEL,eAAO,MAAM,kDAAkD;;;;IAI7D;;;;;;;;;;;;;;;;OAgBG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;;;;;;QA3HD,uFAAuF;;QAEvF,2GAA2G;;;;YAtB7G;;;;;;;;;;;eAWG;;;QAaD;;;;;;;;;WASG;;QAEH;;;;;;;;;WASG;;QAEH;;;;;;;;;;;WAWG;;;;kBAyFL,CAAC;AAEH,eAAO,MAAM,2DAA2D;;;;kBAItE,CAAC;AAEH,eAAO,MAAM,2CAA2C;IACtD;;;;;;;;;;;;;OAaG;;;;;;;;;;IAGH;;;;OAIG;;IAEH,4FAA4F;;IAE5F;;;OAGG;;;;;;;;;;QAjFH;;;;;;;;;;;;;;;;WAgBG;;QAEH;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;;;;;;YA3HD,uFAAuF;;YAEvF,2GAA2G;;;;gBAtB7G;;;;;;;;;;;mBAWG;;;YAaD;;;;;;;;;eASG;;YAEH;;;;;;;;;eASG;;YAEH;;;;;;;;;;;eAWG;;;;;;IAiIL,iGAAiG;;kBAEjG,CAAC;AACH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAEhH,iHAAiH;AACjH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,OAAO,GAAG,2BAA2B,CAiDtG"}
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { ComplianceDocumentCandidateSchema, ComplianceDocumentCandidateVersion, ComplianceDocumentNamespacedRefSchema, ComplianceStatementCompleteness, } from "./compliance-document-candidate.schemas.js";
2
+ import { ComplianceDocumentCandidateSchema, ComplianceDocumentCandidateVersion, ComplianceDocumentNamespacedRefSchema, ComplianceStatementCompleteness, clauseNamesNoSourceMessage, nonPolicySourceRefs, sourcePolicyNamespaceMessage, } from "./compliance-document-candidate.schemas.js";
3
3
  import { ComplianceConcern } from "./compliance-completeness-statement.schemas.js";
4
4
  import { KNOWN_DOCUMENT_REFS_BY_NAME } from "./required-document-set.schemas.js";
5
5
  /**
@@ -48,6 +48,19 @@ const ProseSchema = z.string().trim().min(1);
48
48
  export const ComplianceStatementIncompletenessGenerationSchema = z.strictObject({
49
49
  needs: ProseSchema,
50
50
  closedBy: ProseSchema,
51
+ /**
52
+ * The declared facts whose arrival would close this gap — `null` when no fact family models it.
53
+ *
54
+ * Required-and-nullable, like every other deferrable field here and for the same reason: an omitted key
55
+ * and a considered "no fact models this" are different answers, and this is the field whose ABSENCE is
56
+ * the residual. A drafter that may simply drop it turns the residual from a stated bound into an
57
+ * unmeasurable one.
58
+ *
59
+ * See the family schema for what it buys: a clause asserting that something is not declared is reported
60
+ * STALE the moment the application declares it, instead of going on saying something untrue for as long
61
+ * as nobody re-reads it.
62
+ */
63
+ awaitingFactRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),
51
64
  });
52
65
  export const ComplianceDocumentCandidateClauseGenerationSchema = z
53
66
  .strictObject({
@@ -58,6 +71,16 @@ export const ComplianceDocumentCandidateClauseGenerationSchema = z
58
71
  completeness: z.enum(ComplianceStatementCompleteness),
59
72
  /** `null` for a DERIVED clause; the pairing is enforced below exactly as the family schema enforces it. */
60
73
  incompleteness: ComplianceStatementIncompletenessGenerationSchema.nullable(),
74
+ /**
75
+ * The document facts this clause asserts. Every ref must be one the application HAS declared.
76
+ *
77
+ * An empty list is valid and is the right shape for a clause that asserts no fact — including a
78
+ * clause marked incomplete, which names what it is waiting for in `incompleteness.needs` rather
79
+ * than by citing a fact that does not exist. Documented here, at the surface the drafting model
80
+ * reads, because until 2026-09-09 a marked clause's citations were never checked and three refs
81
+ * resolving to nothing landed in a real notice; the check now reports them
82
+ * (`UNRESOLVED_MARKED_CLAUSE_FACT`), so a draft that cites a non-existent ref costs an attempt.
83
+ */
61
84
  factRefs: z.array(ComplianceDocumentNamespacedRefSchema),
62
85
  /**
63
86
  * Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
@@ -70,7 +93,19 @@ export const ComplianceDocumentCandidateClauseGenerationSchema = z
70
93
  * Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
71
94
  */
72
95
  satisfiesClauseRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),
73
- sourcePolicyRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),
96
+ /**
97
+ * The application POLICY AREAS the clause is sourced from — `policy:*` only, and legitimately EMPTY.
98
+ *
99
+ * `.min(1)` was removed 2026-09-09 and the namespace rule added, both stated at the family schema
100
+ * with the measurement behind them. The short version for whoever reads this contract: the
101
+ * constraint demanded a second naming from a clause that had already named its facts, and the only
102
+ * material available was those facts — so Wonder CRM's notice carried 32 invented
103
+ * `document-fact-authority:` slugs, none of which resolved to anything.
104
+ *
105
+ * Checked HERE as well as on the family schema, for the reason the completeness pairing is: this
106
+ * message goes back to the MODEL as a retry finding and names the clause and the offending ref.
107
+ */
108
+ sourcePolicyRefs: z.array(ComplianceDocumentNamespacedRefSchema),
74
109
  claimGuardRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),
75
110
  })
76
111
  .superRefine((clause, context) => {
@@ -95,6 +130,18 @@ export const ComplianceDocumentCandidateClauseGenerationSchema = z
95
130
  message: `clause "${clause.clauseRef}" is DERIVED, so it is established and cannot also declare what it is missing`,
96
131
  });
97
132
  }
133
+ /*
134
+ * The same two source rules the family schema applies, through the SAME helpers — one definition,
135
+ * two call sites. Duplicating the predicate here is what would let generation accept a draft the
136
+ * family parse then rejects, which is the one failure this contract exists to prevent.
137
+ */
138
+ const nonPolicy = nonPolicySourceRefs(clause.sourcePolicyRefs);
139
+ if (nonPolicy.length > 0) {
140
+ context.addIssue({ code: "custom", path: ["sourcePolicyRefs"], message: sourcePolicyNamespaceMessage(clause.clauseRef, nonPolicy) });
141
+ }
142
+ if (clause.factRefs.length === 0 && clause.sourcePolicyRefs.length === 0) {
143
+ context.addIssue({ code: "custom", path: ["sourcePolicyRefs"], message: clauseNamesNoSourceMessage(clause.clauseRef) });
144
+ }
98
145
  });
99
146
  export const ComplianceDocumentCandidateSectionGenerationSchema = z.strictObject({
100
147
  sectionRef: ComplianceDocumentNamespacedRefSchema,
@@ -211,7 +258,22 @@ export function parseComplianceDocumentCandidateGeneration(input) {
211
258
  completeness: clause.completeness,
212
259
  // Absence, not `undefined`: the family schema forbids the key on a DERIVED clause, and a
213
260
  // strictObject carrying an explicit `undefined` is not the same as one omitting the key.
214
- ...(clause.incompleteness === null ? {} : { incompleteness: clause.incompleteness }),
261
+ /*
262
+ * `awaitingFactRefs` takes the same null → absence treatment ONE LEVEL DEEPER, and it has to be
263
+ * spelled out rather than carried by the spread: `incompleteness` is a strictObject on the family
264
+ * side too, so passing the generated object through whole would hand it an explicit
265
+ * `awaitingFactRefs: null`, which a strictObject rejects. Same trap the sibling fields above
266
+ * document, one nesting level down, where the spread hides it.
267
+ */
268
+ ...(clause.incompleteness === null
269
+ ? {}
270
+ : {
271
+ incompleteness: {
272
+ needs: clause.incompleteness.needs,
273
+ closedBy: clause.incompleteness.closedBy,
274
+ ...(clause.incompleteness.awaitingFactRefs === null ? {} : { awaitingFactRefs: clause.incompleteness.awaitingFactRefs }),
275
+ },
276
+ }),
215
277
  factRefs: clause.factRefs,
216
278
  ...(clause.satisfiesClauseRefs === null ? {} : { satisfiesClauseRefs: clause.satisfiesClauseRefs }),
217
279
  sourcePolicyRefs: clause.sourcePolicyRefs,
@@ -1 +1 @@
1
- {"version":3,"file":"compliance-document-candidate-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,GAEhC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE7C,yGAAyG;A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C,CAAC;QACH,mBAAmB,EAAE,SAAS,CAAC,mBAAmB;QAClD,cAAc,EAAE,SAAS,CAAC,cAAc;KACzC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport {\n ComplianceDocumentCandidateSchema,\n ComplianceDocumentCandidateVersion,\n ComplianceDocumentNamespacedRefSchema,\n ComplianceStatementCompleteness,\n type ComplianceDocumentCandidate,\n} from \"./compliance-document-candidate.schemas\";\nimport { ComplianceConcern } from \"./compliance-completeness-statement.schemas\";\nimport { KNOWN_DOCUMENT_REFS_BY_NAME } from \"./required-document-set.schemas\";\n\n/**\n * The STRICT contract a provider answers for the `compliance-document-candidate` family.\n *\n * ## Why the family schema is not this contract\n *\n * The family schema is what a HAND-AUTHORED file is parsed against, so it is permissive where a human\n * would reasonably leave a key out: `completeness` defaults, `incompleteness` is optional, `locale` and\n * `jurisdictionRefs` are optional, `variantSelections` and `limitationRefs` default to empty. Every one\n * of those defaults is right for a human and wrong for a provider, for the reason three families in a\n * row shipped a broken lane in 2026-08: a model handed the permissive schema satisfies it by OMISSION,\n * and an omission is indistinguishable from a considered answer.\n *\n * ## The one that is not merely untidy\n *\n * `completeness` defaults to {@link ComplianceStatementCompleteness.DERIVED}, the STRICT state — a\n * clause claiming to be established from what the application is, whose every cited fact must be\n * declared. That default is correct for a hand-authored clause, where the cost of being wrong is a\n * refusal a human can answer.\n *\n * Given to a MODEL it inverts: a drafter that simply never emits the key produces a document of\n * silently-`DERIVED` clauses, and the fact-binding check — the one guard standing between a draft and\n * an unfounded legal claim — is exactly the thing that then rejects it. So the model is either blocked\n * by a rule it was never told about, or, on the clauses whose facts happen to exist, asserts as\n * established things it could not establish. **This is the single direction that readmits invention**,\n * which is why `completeness` is required-and-explicit here.\n *\n * ## Nullable-and-required, not optional\n *\n * Every deferrable field is `.nullable()` and required, matching every sibling generation contract\n * (`BusinessModelLiteSnapshotGenerationSchema`, `ApplicationDocumentFactSpecificationGenerationSchema`).\n * An omitted key and a considered \"there is none\" are different answers, and a provider that may drop a\n * key gives no way to tell them apart. The normalizer turns `null` back into absence, which is what the\n * family schema means by an unanswered second-step question.\n *\n * ## What the runtime stamps, and what it deliberately does not\n *\n * Only `version` — the family's schema discriminator, which is not content. Unlike the fact\n * specification, this contract does NOT stamp refs: a `clauseRef`, `sectionRef` and `documentRef` are\n * things the DOCUMENT says about its own structure, authored by the drafter, and inventing them in the\n * runtime would be the runtime writing part of the document.\n */\n\nconst ProseSchema = z.string().trim().min(1);\n\n/** What a marked statement needs and who supplies it — required whenever completeness is not DERIVED. */\nexport const ComplianceStatementIncompletenessGenerationSchema = z.strictObject({\n needs: ProseSchema,\n closedBy: ProseSchema,\n});\n\nexport const ComplianceDocumentCandidateClauseGenerationSchema = z\n .strictObject({\n clauseRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n bodyMarkdown: ProseSchema,\n /** Required, never defaulted — see the file header. This is the invention boundary. */\n completeness: z.enum(ComplianceStatementCompleteness),\n /** `null` for a DERIVED clause; the pairing is enforced below exactly as the family schema enforces it. */\n incompleteness: ComplianceStatementIncompletenessGenerationSchema.nullable(),\n factRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n /**\n * Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.\n *\n * The clause half of issue #244, and it was found through the method's own prose rather than by\n * looking: the drafting guidance says \"**Clauses carry the same claim**, as `satisfiesClauseRefs`\"\n * while this `strictObject` had no such key, so the instruction was unfollowable at both levels.\n * One claim, two call sites — see `.claude/rules/invariant-call-site-enumeration.md`.\n *\n * Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.\n */\n satisfiesClauseRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n sourcePolicyRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n claimGuardRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n })\n .superRefine((clause, context) => {\n const marked = clause.completeness !== ComplianceStatementCompleteness.DERIVED;\n /*\n * Checked HERE as well as on the family schema, and the duplication earns its keep: a generation\n * rejection's message goes back to the MODEL as a retry finding, naming the clause it must fix. The\n * family schema would catch the same violation after normalization, as a Zod path index — correct,\n * and useless as a repair instruction.\n */\n if (marked && clause.incompleteness === null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is marked ${clause.completeness}, so it must state what it needs and who closes it`,\n });\n }\n if (!marked && clause.incompleteness !== null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is DERIVED, so it is established and cannot also declare what it is missing`,\n });\n }\n });\n\nexport const ComplianceDocumentCandidateSectionGenerationSchema = z.strictObject({\n sectionRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n title: ProseSchema,\n /**\n * Which compliance concern this section answers — `null` for a section that answers none (a\n * preamble, a contact block).\n *\n * Required-and-nullable rather than optional, like every other deferrable field here: the drafter is\n * told to write one section per concern from the composition reference, so omitting the key is not a\n * considered \"this answers no concern\" — it is a section whose concern nobody recorded, and the\n * completeness statement projected from it would silently under-count what the document covers.\n *\n * CONSTRAINED to {@link ComplianceConcern} since 2026-08-29, and the reason is measured rather than\n * tidiness. As a free string it was answerable with `null`, and the first document produced live\n * answered `null` for all four of its sections — so `projectComplianceCompletenessStatement`, which\n * groups clauses BY CONCERN, saw nothing to group and returned an empty statement. The completeness\n * projection was correct code with no reachable input. A free-form concern name would have been no\n * better: the projection matches against the enum's values, so `\"retention\"` and\n * `\"retention-and-deletion\"` are a silent miss and a reported gap that is not one.\n */\n concernRef: z.enum(ComplianceConcern).nullable(),\n /**\n * Which of the document blueprint's REQUIRED sections this section satisfies — `null` for a section\n * that satisfies none (a preamble, a contact block).\n *\n * ## The measured defect this closes (issue #244)\n *\n * The field exists on the family schema and was ABSENT here, and this contract is a `strictObject`,\n * so the drafter could not emit it however clearly its method asked. Every landed document therefore\n * claimed nothing, and the coherence report's `compliance-document-required-section-not-covered`\n * check reported EVERY required section uncovered on EVERY run — permanently, for every application.\n *\n * Measured on the first live service-terms candidate (wonder-crm, 2026-09-02): \"11 of 11 section(s)\n * this document's definition requires are claimed by no section of the draft\", on a draft whose\n * eleven sections corresponded to the blueprint's eleven one for one. The content was there; only\n * the claim was missing. A coverage check that is wrong in the alarming direction on the legal\n * surface is worse than one that is absent — it is the finding a reader learns to skip, and it masks\n * the run where a section genuinely IS missing.\n *\n * Required-and-nullable rather than optional, for the same reason as {@link concernRef} above: the\n * drafter is told to write against the blueprint's required set, so omitting the key is not a\n * considered \"this satisfies nothing\" — it is a section whose coverage nobody recorded, and the\n * coverage check cannot tell that apart from a genuine gap.\n *\n * `.min(1)` when present, because an empty array and `null` would be two spellings of one state.\n */\n satisfiesSectionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n clauses: z.array(ComplianceDocumentCandidateClauseGenerationSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateVariantSelectionGenerationSchema = z.strictObject({\n axisRef: ComplianceDocumentNamespacedRefSchema,\n optionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n supportingFactRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateGenerationSchema = z.strictObject({\n /**\n * WHICH governed document this is, from the closed set the framework knows how to measure.\n *\n * Constrained 2026-08-29. As a free namespaced ref, the first live run named\n * `compliance-document-candidate:wonder-crm-data-handling-notice` — a well-formed ref for a document\n * that exists nowhere: `CONCERNS_BY_DOCUMENT` has no entry for it, so the completeness statement had\n * no concern set to measure against, and `validateComplianceDocumentIsRequired` could not say whether\n * the application needs it. The draft was schema-valid, readable, and unmeasurable.\n *\n * A document the framework cannot name is a document it cannot state the gaps in, and stating the\n * gaps is this whole capability's purpose (D4: completeness is measured against FULL compliance).\n * Naming a NEW document is a framework change — a concern composition and a required-set rule — not\n * something a drafter decides mid-draft.\n */\n documentRef: z.enum(KNOWN_DOCUMENT_REFS_BY_NAME),\n title: ProseSchema,\n /**\n * `null` when the locale decision has not been taken — a second-step question that must never gate\n * drafting. Required-and-nullable so \"not yet decided\" is something the drafter STATES rather than\n * something a missing key implies.\n */\n locale: z.string().trim().min(2).nullable(),\n /** `null` when the jurisdiction decision is still open, for the same reason as `locale`. */\n jurisdictionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n /**\n * Publication-axis decisions. Empty is the honest answer for a first draft — a variant selection is a\n * DECISION the document makes, and there is no \"undecided\" selection: an undecided axis is omitted.\n */\n variantSelections: z.array(ComplianceDocumentCandidateVariantSelectionGenerationSchema),\n sections: z.array(ComplianceDocumentCandidateSectionGenerationSchema).min(1),\n reviewChecklistRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n /** What the draft does NOT cover, stated by the drafter rather than discovered by the reader. */\n limitationRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n});\nexport type ComplianceDocumentCandidateGeneration = z.infer<typeof ComplianceDocumentCandidateGenerationSchema>;\n\n/** Normalize strict provider output into the canonical family value: `null` → absent, plus the version stamp. */\nexport function parseComplianceDocumentCandidateGeneration(input: unknown): ComplianceDocumentCandidate {\n const generated = ComplianceDocumentCandidateGenerationSchema.parse(input);\n return ComplianceDocumentCandidateSchema.parse({\n version: ComplianceDocumentCandidateVersion.V1,\n documentRef: generated.documentRef,\n title: generated.title,\n ...(generated.locale === null ? {} : { locale: generated.locale }),\n ...(generated.jurisdictionRefs === null ? {} : { jurisdictionRefs: generated.jurisdictionRefs }),\n variantSelections: generated.variantSelections,\n sections: generated.sections.map((section) => ({\n sectionRef: section.sectionRef,\n order: section.order,\n title: section.title,\n ...(section.concernRef === null ? {} : { concernRef: section.concernRef }),\n // Absence, not `undefined`, exactly as the clause fields below: the family schema declares this\n // optional, and a strictObject carrying an explicit `undefined` is not the same as omitting it.\n ...(section.satisfiesSectionRefs === null ? {} : { satisfiesSectionRefs: section.satisfiesSectionRefs }),\n clauses: section.clauses.map((clause) => ({\n clauseRef: clause.clauseRef,\n order: clause.order,\n bodyMarkdown: clause.bodyMarkdown,\n completeness: clause.completeness,\n // Absence, not `undefined`: the family schema forbids the key on a DERIVED clause, and a\n // strictObject carrying an explicit `undefined` is not the same as one omitting the key.\n ...(clause.incompleteness === null ? {} : { incompleteness: clause.incompleteness }),\n factRefs: clause.factRefs,\n ...(clause.satisfiesClauseRefs === null ? {} : { satisfiesClauseRefs: clause.satisfiesClauseRefs }),\n sourcePolicyRefs: clause.sourcePolicyRefs,\n claimGuardRefs: clause.claimGuardRefs,\n })),\n })),\n reviewChecklistRefs: generated.reviewChecklistRefs,\n limitationRefs: generated.limitationRefs,\n });\n}\n"]}
1
+ {"version":3,"file":"compliance-document-candidate-generation.schemas.js","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,EAC/B,0BAA0B,EAC1B,mBAAmB,EACnB,4BAA4B,GAE7B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE7C,yGAAyG;AACzG,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9E,KAAK,EAAE,WAAW;IAClB,QAAQ,EAAE,WAAW;IACrB;;;;;;;;;;;OAWG;IACH,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAA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AK;gBACnB,YAAY,EAAE,MAAM,CAAC,YAAY;gBACjC,YAAY,EAAE,MAAM,CAAC,YAAY;gBACjC,yFAAyF;gBACzF,yFAAyF;gBACzF;;;;;;mBAMG;gBACH,GAAG,CAAC,MAAM,CAAC,cAAc,KAAK,IAAI;oBAChC,CAAC,CAAC,EAAE;oBACJ,CAAC,CAAC;wBACA,cAAc,EAAE;4BACd,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC,KAAK;4BAClC,QAAQ,EAAE,MAAM,CAAC,cAAc,CAAC,QAAQ;4BACxC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,gBAAgB,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB,EAAE,CAAC;yBACzH;qBACF,CAAC;gBACJ,QAAQ,EAAE,MAAM,CAAC,QAAQ;gBACzB,GAAG,CAAC,MAAM,CAAC,mBAAmB,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,mBAAmB,EAAE,MAAM,CAAC,mBAAmB,EAAE,CAAC;gBACnG,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;gBACzC,cAAc,EAAE,MAAM,CAAC,cAAc;aACtC,CAAC,CAAC;SACJ,CAAC,CAAC;QACH,mBAAmB,EAAE,SAAS,CAAC,mBAAmB;QAClD,cAAc,EAAE,SAAS,CAAC,cAAc;KACzC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport {\n ComplianceDocumentCandidateSchema,\n ComplianceDocumentCandidateVersion,\n ComplianceDocumentNamespacedRefSchema,\n ComplianceStatementCompleteness,\n clauseNamesNoSourceMessage,\n nonPolicySourceRefs,\n sourcePolicyNamespaceMessage,\n type ComplianceDocumentCandidate,\n} from \"./compliance-document-candidate.schemas\";\nimport { ComplianceConcern } from \"./compliance-completeness-statement.schemas\";\nimport { KNOWN_DOCUMENT_REFS_BY_NAME } from \"./required-document-set.schemas\";\n\n/**\n * The STRICT contract a provider answers for the `compliance-document-candidate` family.\n *\n * ## Why the family schema is not this contract\n *\n * The family schema is what a HAND-AUTHORED file is parsed against, so it is permissive where a human\n * would reasonably leave a key out: `completeness` defaults, `incompleteness` is optional, `locale` and\n * `jurisdictionRefs` are optional, `variantSelections` and `limitationRefs` default to empty. Every one\n * of those defaults is right for a human and wrong for a provider, for the reason three families in a\n * row shipped a broken lane in 2026-08: a model handed the permissive schema satisfies it by OMISSION,\n * and an omission is indistinguishable from a considered answer.\n *\n * ## The one that is not merely untidy\n *\n * `completeness` defaults to {@link ComplianceStatementCompleteness.DERIVED}, the STRICT state — a\n * clause claiming to be established from what the application is, whose every cited fact must be\n * declared. That default is correct for a hand-authored clause, where the cost of being wrong is a\n * refusal a human can answer.\n *\n * Given to a MODEL it inverts: a drafter that simply never emits the key produces a document of\n * silently-`DERIVED` clauses, and the fact-binding check — the one guard standing between a draft and\n * an unfounded legal claim — is exactly the thing that then rejects it. So the model is either blocked\n * by a rule it was never told about, or, on the clauses whose facts happen to exist, asserts as\n * established things it could not establish. **This is the single direction that readmits invention**,\n * which is why `completeness` is required-and-explicit here.\n *\n * ## Nullable-and-required, not optional\n *\n * Every deferrable field is `.nullable()` and required, matching every sibling generation contract\n * (`BusinessModelLiteSnapshotGenerationSchema`, `ApplicationDocumentFactSpecificationGenerationSchema`).\n * An omitted key and a considered \"there is none\" are different answers, and a provider that may drop a\n * key gives no way to tell them apart. The normalizer turns `null` back into absence, which is what the\n * family schema means by an unanswered second-step question.\n *\n * ## What the runtime stamps, and what it deliberately does not\n *\n * Only `version` — the family's schema discriminator, which is not content. Unlike the fact\n * specification, this contract does NOT stamp refs: a `clauseRef`, `sectionRef` and `documentRef` are\n * things the DOCUMENT says about its own structure, authored by the drafter, and inventing them in the\n * runtime would be the runtime writing part of the document.\n */\n\nconst ProseSchema = z.string().trim().min(1);\n\n/** What a marked statement needs and who supplies it — required whenever completeness is not DERIVED. */\nexport const ComplianceStatementIncompletenessGenerationSchema = z.strictObject({\n needs: ProseSchema,\n closedBy: ProseSchema,\n /**\n * The declared facts whose arrival would close this gap — `null` when no fact family models it.\n *\n * Required-and-nullable, like every other deferrable field here and for the same reason: an omitted key\n * and a considered \"no fact models this\" are different answers, and this is the field whose ABSENCE is\n * the residual. A drafter that may simply drop it turns the residual from a stated bound into an\n * unmeasurable one.\n *\n * See the family schema for what it buys: a clause asserting that something is not declared is reported\n * STALE the moment the application declares it, instead of going on saying something untrue for as long\n * as nobody re-reads it.\n */\n awaitingFactRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n});\n\nexport const ComplianceDocumentCandidateClauseGenerationSchema = z\n .strictObject({\n clauseRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n bodyMarkdown: ProseSchema,\n /** Required, never defaulted — see the file header. This is the invention boundary. */\n completeness: z.enum(ComplianceStatementCompleteness),\n /** `null` for a DERIVED clause; the pairing is enforced below exactly as the family schema enforces it. */\n incompleteness: ComplianceStatementIncompletenessGenerationSchema.nullable(),\n /**\n * The document facts this clause asserts. Every ref must be one the application HAS declared.\n *\n * An empty list is valid and is the right shape for a clause that asserts no fact — including a\n * clause marked incomplete, which names what it is waiting for in `incompleteness.needs` rather\n * than by citing a fact that does not exist. Documented here, at the surface the drafting model\n * reads, because until 2026-09-09 a marked clause's citations were never checked and three refs\n * resolving to nothing landed in a real notice; the check now reports them\n * (`UNRESOLVED_MARKED_CLAUSE_FACT`), so a draft that cites a non-existent ref costs an attempt.\n */\n factRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n /**\n * Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.\n *\n * The clause half of issue #244, and it was found through the method's own prose rather than by\n * looking: the drafting guidance says \"**Clauses carry the same claim**, as `satisfiesClauseRefs`\"\n * while this `strictObject` had no such key, so the instruction was unfollowable at both levels.\n * One claim, two call sites — see `.claude/rules/invariant-call-site-enumeration.md`.\n *\n * Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.\n */\n satisfiesClauseRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n /**\n * The application POLICY AREAS the clause is sourced from — `policy:*` only, and legitimately EMPTY.\n *\n * `.min(1)` was removed 2026-09-09 and the namespace rule added, both stated at the family schema\n * with the measurement behind them. The short version for whoever reads this contract: the\n * constraint demanded a second naming from a clause that had already named its facts, and the only\n * material available was those facts — so Wonder CRM's notice carried 32 invented\n * `document-fact-authority:` slugs, none of which resolved to anything.\n *\n * Checked HERE as well as on the family schema, for the reason the completeness pairing is: this\n * message goes back to the MODEL as a retry finding and names the clause and the offending ref.\n */\n sourcePolicyRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n claimGuardRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n })\n .superRefine((clause, context) => {\n const marked = clause.completeness !== ComplianceStatementCompleteness.DERIVED;\n /*\n * Checked HERE as well as on the family schema, and the duplication earns its keep: a generation\n * rejection's message goes back to the MODEL as a retry finding, naming the clause it must fix. The\n * family schema would catch the same violation after normalization, as a Zod path index — correct,\n * and useless as a repair instruction.\n */\n if (marked && clause.incompleteness === null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is marked ${clause.completeness}, so it must state what it needs and who closes it`,\n });\n }\n if (!marked && clause.incompleteness !== null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is DERIVED, so it is established and cannot also declare what it is missing`,\n });\n }\n /*\n * The same two source rules the family schema applies, through the SAME helpers — one definition,\n * two call sites. Duplicating the predicate here is what would let generation accept a draft the\n * family parse then rejects, which is the one failure this contract exists to prevent.\n */\n const nonPolicy = nonPolicySourceRefs(clause.sourcePolicyRefs);\n if (nonPolicy.length > 0) {\n context.addIssue({ code: \"custom\", path: [\"sourcePolicyRefs\"], message: sourcePolicyNamespaceMessage(clause.clauseRef, nonPolicy) });\n }\n if (clause.factRefs.length === 0 && clause.sourcePolicyRefs.length === 0) {\n context.addIssue({ code: \"custom\", path: [\"sourcePolicyRefs\"], message: clauseNamesNoSourceMessage(clause.clauseRef) });\n }\n });\n\nexport const ComplianceDocumentCandidateSectionGenerationSchema = z.strictObject({\n sectionRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n title: ProseSchema,\n /**\n * Which compliance concern this section answers — `null` for a section that answers none (a\n * preamble, a contact block).\n *\n * Required-and-nullable rather than optional, like every other deferrable field here: the drafter is\n * told to write one section per concern from the composition reference, so omitting the key is not a\n * considered \"this answers no concern\" — it is a section whose concern nobody recorded, and the\n * completeness statement projected from it would silently under-count what the document covers.\n *\n * CONSTRAINED to {@link ComplianceConcern} since 2026-08-29, and the reason is measured rather than\n * tidiness. As a free string it was answerable with `null`, and the first document produced live\n * answered `null` for all four of its sections — so `projectComplianceCompletenessStatement`, which\n * groups clauses BY CONCERN, saw nothing to group and returned an empty statement. The completeness\n * projection was correct code with no reachable input. A free-form concern name would have been no\n * better: the projection matches against the enum's values, so `\"retention\"` and\n * `\"retention-and-deletion\"` are a silent miss and a reported gap that is not one.\n */\n concernRef: z.enum(ComplianceConcern).nullable(),\n /**\n * Which of the document blueprint's REQUIRED sections this section satisfies — `null` for a section\n * that satisfies none (a preamble, a contact block).\n *\n * ## The measured defect this closes (issue #244)\n *\n * The field exists on the family schema and was ABSENT here, and this contract is a `strictObject`,\n * so the drafter could not emit it however clearly its method asked. Every landed document therefore\n * claimed nothing, and the coherence report's `compliance-document-required-section-not-covered`\n * check reported EVERY required section uncovered on EVERY run — permanently, for every application.\n *\n * Measured on the first live service-terms candidate (wonder-crm, 2026-09-02): \"11 of 11 section(s)\n * this document's definition requires are claimed by no section of the draft\", on a draft whose\n * eleven sections corresponded to the blueprint's eleven one for one. The content was there; only\n * the claim was missing. A coverage check that is wrong in the alarming direction on the legal\n * surface is worse than one that is absent — it is the finding a reader learns to skip, and it masks\n * the run where a section genuinely IS missing.\n *\n * Required-and-nullable rather than optional, for the same reason as {@link concernRef} above: the\n * drafter is told to write against the blueprint's required set, so omitting the key is not a\n * considered \"this satisfies nothing\" — it is a section whose coverage nobody recorded, and the\n * coverage check cannot tell that apart from a genuine gap.\n *\n * `.min(1)` when present, because an empty array and `null` would be two spellings of one state.\n */\n satisfiesSectionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n clauses: z.array(ComplianceDocumentCandidateClauseGenerationSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateVariantSelectionGenerationSchema = z.strictObject({\n axisRef: ComplianceDocumentNamespacedRefSchema,\n optionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n supportingFactRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateGenerationSchema = z.strictObject({\n /**\n * WHICH governed document this is, from the closed set the framework knows how to measure.\n *\n * Constrained 2026-08-29. As a free namespaced ref, the first live run named\n * `compliance-document-candidate:wonder-crm-data-handling-notice` — a well-formed ref for a document\n * that exists nowhere: `CONCERNS_BY_DOCUMENT` has no entry for it, so the completeness statement had\n * no concern set to measure against, and `validateComplianceDocumentIsRequired` could not say whether\n * the application needs it. The draft was schema-valid, readable, and unmeasurable.\n *\n * A document the framework cannot name is a document it cannot state the gaps in, and stating the\n * gaps is this whole capability's purpose (D4: completeness is measured against FULL compliance).\n * Naming a NEW document is a framework change — a concern composition and a required-set rule — not\n * something a drafter decides mid-draft.\n */\n documentRef: z.enum(KNOWN_DOCUMENT_REFS_BY_NAME),\n title: ProseSchema,\n /**\n * `null` when the locale decision has not been taken — a second-step question that must never gate\n * drafting. Required-and-nullable so \"not yet decided\" is something the drafter STATES rather than\n * something a missing key implies.\n */\n locale: z.string().trim().min(2).nullable(),\n /** `null` when the jurisdiction decision is still open, for the same reason as `locale`. */\n jurisdictionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n /**\n * Publication-axis decisions. Empty is the honest answer for a first draft — a variant selection is a\n * DECISION the document makes, and there is no \"undecided\" selection: an undecided axis is omitted.\n */\n variantSelections: z.array(ComplianceDocumentCandidateVariantSelectionGenerationSchema),\n sections: z.array(ComplianceDocumentCandidateSectionGenerationSchema).min(1),\n reviewChecklistRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n /** What the draft does NOT cover, stated by the drafter rather than discovered by the reader. */\n limitationRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n});\nexport type ComplianceDocumentCandidateGeneration = z.infer<typeof ComplianceDocumentCandidateGenerationSchema>;\n\n/** Normalize strict provider output into the canonical family value: `null` → absent, plus the version stamp. */\nexport function parseComplianceDocumentCandidateGeneration(input: unknown): ComplianceDocumentCandidate {\n const generated = ComplianceDocumentCandidateGenerationSchema.parse(input);\n return ComplianceDocumentCandidateSchema.parse({\n version: ComplianceDocumentCandidateVersion.V1,\n documentRef: generated.documentRef,\n title: generated.title,\n ...(generated.locale === null ? {} : { locale: generated.locale }),\n ...(generated.jurisdictionRefs === null ? {} : { jurisdictionRefs: generated.jurisdictionRefs }),\n variantSelections: generated.variantSelections,\n sections: generated.sections.map((section) => ({\n sectionRef: section.sectionRef,\n order: section.order,\n title: section.title,\n ...(section.concernRef === null ? {} : { concernRef: section.concernRef }),\n // Absence, not `undefined`, exactly as the clause fields below: the family schema declares this\n // optional, and a strictObject carrying an explicit `undefined` is not the same as omitting it.\n ...(section.satisfiesSectionRefs === null ? {} : { satisfiesSectionRefs: section.satisfiesSectionRefs }),\n clauses: section.clauses.map((clause) => ({\n clauseRef: clause.clauseRef,\n order: clause.order,\n bodyMarkdown: clause.bodyMarkdown,\n completeness: clause.completeness,\n // Absence, not `undefined`: the family schema forbids the key on a DERIVED clause, and a\n // strictObject carrying an explicit `undefined` is not the same as one omitting the key.\n /*\n * `awaitingFactRefs` takes the same null → absence treatment ONE LEVEL DEEPER, and it has to be\n * spelled out rather than carried by the spread: `incompleteness` is a strictObject on the family\n * side too, so passing the generated object through whole would hand it an explicit\n * `awaitingFactRefs: null`, which a strictObject rejects. Same trap the sibling fields above\n * document, one nesting level down, where the spread hides it.\n */\n ...(clause.incompleteness === null\n ? {}\n : {\n incompleteness: {\n needs: clause.incompleteness.needs,\n closedBy: clause.incompleteness.closedBy,\n ...(clause.incompleteness.awaitingFactRefs === null ? {} : { awaitingFactRefs: clause.incompleteness.awaitingFactRefs }),\n },\n }),\n factRefs: clause.factRefs,\n ...(clause.satisfiesClauseRefs === null ? {} : { satisfiesClauseRefs: clause.satisfiesClauseRefs }),\n sourcePolicyRefs: clause.sourcePolicyRefs,\n claimGuardRefs: clause.claimGuardRefs,\n })),\n })),\n reviewChecklistRefs: generated.reviewChecklistRefs,\n limitationRefs: generated.limitationRefs,\n });\n}\n"]}