@wildo-ai/saas-specifications 1.1.2 → 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 (1007) 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 +4 -6
  21. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  22. package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
  23. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  24. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  25. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
  26. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  27. package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
  28. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  29. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  31. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  32. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
  33. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
  35. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  36. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  37. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  38. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
  40. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  41. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
  42. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  43. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
  44. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  45. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  46. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  47. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  48. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
  50. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  51. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
  52. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  53. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  54. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  55. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  56. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  57. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  59. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +118 -0
  62. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  63. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +65 -3
  64. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  65. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +508 -7
  66. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  67. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +489 -19
  68. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  69. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  70. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  71. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  72. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +2 -0
  73. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +2 -0
  75. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  76. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  77. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  78. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  79. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  81. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  82. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  84. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  85. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  86. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  88. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  89. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
  90. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
  92. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  93. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
  94. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  95. package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
  96. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  97. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
  98. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
  100. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  101. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  102. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  104. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +9 -9
  105. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  106. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  107. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  109. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  110. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
  112. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  113. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  114. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  115. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  116. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  118. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  120. package/dist/esm/_core/index.d.ts +1 -0
  121. package/dist/esm/_core/index.d.ts.map +1 -1
  122. package/dist/esm/_core/index.js +1 -0
  123. package/dist/esm/_core/index.js.map +1 -1
  124. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  125. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  126. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  127. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  129. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  132. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  133. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  135. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  136. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  137. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  138. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  139. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  140. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  144. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  145. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -18
  146. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  147. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
  148. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  149. package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
  150. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  151. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  152. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  153. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  154. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  155. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  156. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  158. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  159. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
  160. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  161. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +72 -9
  162. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  163. package/dist/esm/_core/placement-plan/placement-plan-validation.js +68 -20
  164. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  165. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  166. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +12 -5
  167. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  168. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +12 -5
  169. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  170. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  171. package/dist/esm/_core/provider-specification.schemas.d.ts +98 -0
  172. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
  173. package/dist/esm/_core/provider-specification.schemas.js +124 -0
  174. package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
  175. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  176. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  178. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  179. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  180. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  181. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
  182. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  183. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
  184. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  185. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  186. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  188. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  189. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  190. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  191. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  192. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  193. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  195. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
  196. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  197. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
  198. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  199. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  200. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  201. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  202. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  203. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  204. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  205. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  206. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  207. package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
  208. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
  209. package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
  210. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
  211. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  212. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  213. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  214. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  215. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  216. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  218. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  219. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  220. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
  221. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  222. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  223. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  224. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  225. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  226. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
  227. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  228. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +7 -7
  229. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  230. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +6 -7
  231. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  232. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
  233. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  234. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
  235. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  236. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +2 -2
  237. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  238. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +2 -2
  239. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  240. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  241. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  242. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  243. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
  244. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  245. package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
  246. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  247. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +16 -23
  248. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  249. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +65 -27
  250. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  251. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  252. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  253. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +1 -1
  254. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  255. package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
  256. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  257. package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
  258. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  259. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +83 -49
  260. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  261. package/dist/esm/assurance/assurance-authority-basis.definitions.js +194 -60
  262. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  263. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +25 -0
  264. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  265. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
  266. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  267. package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
  268. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  269. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  270. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  271. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +49 -0
  272. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
  273. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +2832 -0
  274. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
  275. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  276. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
  277. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  278. package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
  279. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  280. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +44 -7
  281. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  282. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +64 -7
  283. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  284. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +8 -1
  285. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  286. package/dist/esm/assurance/assurance-program-generation.schemas.js +10 -2
  287. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  288. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  289. package/dist/esm/assurance/assurance-program.schemas.d.ts +463 -11
  290. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  291. package/dist/esm/assurance/assurance-program.schemas.js +301 -5
  292. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  293. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  294. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  295. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
  296. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
  297. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +1028 -0
  298. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
  299. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  300. package/dist/esm/assurance.exports.d.ts.map +1 -1
  301. package/dist/esm/companion-exports.d.ts +7 -6
  302. package/dist/esm/companion-exports.d.ts.map +1 -1
  303. package/dist/esm/companion-exports.js.map +1 -1
  304. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  305. package/dist/esm/engine/_bootstrap.js +3 -1
  306. package/dist/esm/engine/_bootstrap.js.map +1 -1
  307. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  308. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  309. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +13 -1
  310. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  311. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  313. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  314. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
  315. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  316. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +14 -2
  317. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  318. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +9 -9
  320. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  321. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  322. package/dist/esm/engine/applications/resources/applications.resource.specification.js +1 -1
  323. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  324. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  325. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  326. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +47 -0
  327. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
  328. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +355 -0
  329. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
  330. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  331. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +3 -3
  332. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  333. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  334. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  335. package/dist/esm/engine/auth/resources/index.js +1 -0
  336. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  337. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  338. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +1 -1
  339. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  340. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  341. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +13 -1
  342. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  343. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
  344. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  345. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +14 -2
  346. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  347. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
  348. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
  349. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
  350. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
  351. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  352. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +4 -4
  353. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  354. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +2 -2
  356. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  358. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +6 -6
  359. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  360. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  361. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +9 -9
  362. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  363. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  364. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +2 -2
  365. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  366. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
  367. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  368. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +112 -10
  369. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  370. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +2 -6
  371. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
  373. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
  374. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
  375. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
  376. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  377. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  378. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -3
  379. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  380. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  381. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  382. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +2 -2
  383. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  384. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  385. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +3 -3
  387. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/billing/resources/prices.resource.specification.js +7 -7
  390. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  392. package/dist/esm/engine/billing/resources/products.resource.specification.js +7 -7
  393. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  394. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  395. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +14 -12
  396. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  397. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -7
  399. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  400. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +6 -3
  402. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +7 -3
  404. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  405. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +28 -11
  406. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  407. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  408. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +69 -0
  409. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
  410. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +316 -0
  411. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
  412. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +8 -8
  414. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  415. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  416. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  417. package/dist/esm/engine/compliance/resources/index.js +1 -0
  418. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  419. package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
  420. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  421. package/dist/esm/engine/engine-resource-specifications.registry.js +10 -2
  422. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  423. package/dist/esm/engine/engine-resource-sub-domain.d.ts +20 -0
  424. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  425. package/dist/esm/engine/engine-resource-sub-domain.js +66 -0
  426. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  427. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  428. package/dist/esm/engine/errors/error-messages.specification.js +33 -0
  429. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  430. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  431. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  432. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  433. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
  435. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  436. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  437. package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
  438. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  439. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  440. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/features/index.d.ts.map +1 -1
  442. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  443. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  444. package/dist/esm/engine/features/resources/application-features.resource.specification.js +3 -3
  445. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  446. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  447. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  448. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +3 -3
  449. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  450. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  451. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  452. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  453. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  455. package/dist/esm/engine/files/index.d.ts.map +1 -1
  456. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/files/resources/files.resource.specification.js +11 -11
  458. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  459. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  460. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +11 -11
  462. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  463. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  464. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +4 -4
  465. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  466. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  467. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +2 -2
  468. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  469. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  470. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  471. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  474. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  476. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  477. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  479. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  480. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  483. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  484. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  486. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  487. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  488. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  490. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  493. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  494. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  495. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  500. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  501. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  503. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  507. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  509. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  510. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  512. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  514. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  515. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  516. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
  518. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
  519. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
  520. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
  521. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  522. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  523. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  524. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  525. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  526. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  527. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  528. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  529. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  530. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  531. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
  532. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
  533. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
  534. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
  535. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  536. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  537. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  539. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  540. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  543. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  544. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  545. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  546. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  547. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  548. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  549. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  550. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  551. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  552. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  554. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  555. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  556. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  559. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  560. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  561. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  562. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  563. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  565. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  568. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  570. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  571. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  573. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  574. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  575. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  577. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  578. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  579. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  580. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  582. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  583. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  584. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  586. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  587. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  588. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  591. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  592. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  594. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  595. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  596. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  598. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  599. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  602. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  603. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  604. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  606. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  607. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  608. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  609. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  614. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  615. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  616. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  617. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  618. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  619. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  620. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  622. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  623. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  624. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  626. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  627. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  628. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  629. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  631. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  632. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  634. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  635. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  636. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  637. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  638. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  642. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  645. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  647. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  648. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  649. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  650. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  651. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  653. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  654. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  658. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  659. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  663. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  664. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  665. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  667. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  668. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  669. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  671. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  672. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  674. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  675. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  676. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  678. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  680. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  682. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  683. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  684. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  686. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  687. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  688. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  689. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  690. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  691. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  692. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  693. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  694. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  695. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  698. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  699. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  700. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  701. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  702. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  703. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  704. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  708. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  709. package/dist/esm/engine/frontend-components/index.d.ts +0 -2
  710. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  711. package/dist/esm/engine/frontend-components/index.js +4 -6
  712. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  713. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  714. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  715. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  716. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  718. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  720. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  721. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  723. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  724. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  725. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  726. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  728. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  729. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  730. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  732. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  734. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  735. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  737. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  738. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  739. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  740. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  741. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  742. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  743. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  744. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  745. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  746. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  747. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  748. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  749. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  752. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  753. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  755. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  756. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  757. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  758. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  759. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  762. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  764. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  765. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  766. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  767. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  768. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  769. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  770. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  771. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  772. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  773. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  774. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  775. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  776. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  777. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  778. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  779. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  780. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  781. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  784. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  785. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  788. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  789. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  791. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  792. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  793. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  794. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  795. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  797. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  798. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +12 -12
  800. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  801. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  802. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  803. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +9 -9
  804. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  805. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +8 -0
  806. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +6 -6
  808. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  809. package/dist/esm/engine/index.d.ts +1 -0
  810. package/dist/esm/engine/index.d.ts.map +1 -1
  811. package/dist/esm/engine/index.js +1 -0
  812. package/dist/esm/engine/index.js.map +1 -1
  813. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  814. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +17 -17
  816. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  817. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +7 -7
  819. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  820. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  821. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  822. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +8 -8
  823. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  824. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
  825. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +10 -5
  827. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  828. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  829. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  830. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  831. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -15
  832. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  833. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  834. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +11 -10
  835. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  836. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  837. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +29 -6
  838. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  839. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  840. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  841. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  843. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  845. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  846. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +9 -9
  848. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  849. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  850. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +3 -3
  851. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  852. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  853. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +4 -4
  854. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  855. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  856. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  857. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  858. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +1 -1
  860. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  861. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  862. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  863. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +7 -7
  864. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  865. package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
  866. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
  867. package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
  868. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
  869. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
  870. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
  871. package/dist/esm/engine/providers/anthropic.provider.specification.js +42 -0
  872. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
  873. package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
  874. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
  875. package/dist/esm/engine/providers/apple.provider.specification.js +44 -0
  876. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
  877. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
  878. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
  879. package/dist/esm/engine/providers/email-preview.provider.specification.js +39 -0
  880. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
  881. package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
  882. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
  883. package/dist/esm/engine/providers/github.provider.specification.js +39 -0
  884. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
  885. package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
  886. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
  887. package/dist/esm/engine/providers/google.provider.specification.js +43 -0
  888. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
  889. package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
  890. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
  891. package/dist/esm/engine/providers/grok.provider.specification.js +39 -0
  892. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
  893. package/dist/esm/engine/providers/index.d.ts +23 -0
  894. package/dist/esm/engine/providers/index.d.ts.map +1 -0
  895. package/dist/esm/engine/providers/index.js +37 -0
  896. package/dist/esm/engine/providers/index.js.map +1 -0
  897. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
  898. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
  899. package/dist/esm/engine/providers/microsoft.provider.specification.js +39 -0
  900. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
  901. package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
  902. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
  903. package/dist/esm/engine/providers/mistral.provider.specification.js +42 -0
  904. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
  905. package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
  906. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
  907. package/dist/esm/engine/providers/openai.provider.specification.js +52 -0
  908. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
  909. package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
  910. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
  911. package/dist/esm/engine/providers/opencode.provider.specification.js +58 -0
  912. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
  913. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
  914. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
  915. package/dist/esm/engine/providers/perplexity.provider.specification.js +39 -0
  916. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
  917. package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
  918. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
  919. package/dist/esm/engine/providers/resend.provider.specification.js +42 -0
  920. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
  921. package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
  922. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
  923. package/dist/esm/engine/providers/stripe.provider.specification.js +44 -0
  924. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
  925. package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
  926. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
  927. package/dist/esm/engine/providers/twilio.provider.specification.js +42 -0
  928. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
  929. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  930. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  931. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  932. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  933. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  935. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  936. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  938. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  939. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  941. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  943. package/dist/esm/engine/users/index.d.ts.map +1 -1
  944. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  945. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -7
  946. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  947. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  948. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +9 -9
  949. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  950. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  951. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  952. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  953. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  954. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  955. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  956. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -8
  957. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  958. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  959. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -4
  960. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +4 -4
  962. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  963. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +2 -2
  965. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  966. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  967. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +13 -11
  969. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  970. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  971. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +1 -1
  972. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  973. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  974. package/dist/esm/engine/users/resources/user-self.resource.specification.js +9 -9
  975. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  976. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  977. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  978. package/dist/esm/engine/users/resources/users.resource.specification.js +93 -0
  979. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  980. package/dist/esm/index.d.ts.map +1 -1
  981. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  982. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +95 -45
  983. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  984. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  985. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  986. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  987. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  988. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  989. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  990. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  991. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  992. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
  993. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  994. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +36 -0
  995. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  996. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  997. package/dist/tsconfig.build.tsbuildinfo +1 -1
  998. package/package.json +8 -8
  999. package/dist/assurance/external-framework-mapping.json +0 -980
  1000. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
  1001. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
  1002. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
  1003. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
  1004. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
  1005. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
  1006. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
  1007. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"vision-references.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,mEAAmE;AACnE,eAAO,MAAM,mCAAmC,uBAAuB,CAAC;AAExE;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,QACH,CAAC;AAE/C,4DAA4D;AAC5D,eAAO,MAAM,4BAA4B,gBAAgB,CAAC;AAE1D,iFAAiF;AACjF,eAAO,MAAM,6BAA6B,QAAwC,CAAC;AAEnF;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEzC;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,aAKzC,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,aAKnC,CAAC;AACJ,2DAA2D"}
1
+ {"version":3,"file":"vision-references.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,mEAAmE;AACnE,eAAO,MAAM,mCAAmC,uBAAuB,CAAC;AAExE;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,QACH,CAAC;AAE/C,4DAA4D;AAC5D,eAAO,MAAM,4BAA4B,gBAAgB,CAAC;AAE1D,iFAAiF;AACjF,eAAO,MAAM,6BAA6B,QAAwC,CAAC;AAEnF;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEzC;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,aAKzC,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,aAKnC,CAAC;AACJ,2DAA2D"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAKnE,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAI1E,eAAO,MAAM,0BAA0B;;;;kBAIrC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;kBAMxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;kBAIxC,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;kBAMjD,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;kBAK3C,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,mFAAmF;AACnF,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CA+B5E"}
1
+ {"version":3,"file":"vision-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAKnE,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAI1E,eAAO,MAAM,0BAA0B;;;;kBAIrC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;kBAMxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;kBAIxC,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;kBAMjD,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;kBAK3C,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,mFAAmF;AACnF,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CA+B5E"}
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { NonEmptyStringSchema } from '../market/market-references.schemas.js';
3
+ import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
3
4
  import { VisionConstraintKind } from './vision-constraint.schemas.js';
4
5
  import { VISION_CONSTRAINT_REF_PREFIX, VISION_SUCCESS_CRITERION_REF_PREFIX, } from './vision-references.schemas.js';
5
6
  import { VisionSnapshotSchema, VisionSnapshotVersion, } from './vision-snapshot.schemas.js';
@@ -50,8 +51,8 @@ export const VisionSnapshotGenerationSchema = z.strictObject({
50
51
  successCriteria: z.array(VisionSuccessCriterionGenerationSchema).min(1),
51
52
  constraints: z.array(VisionConstraintGenerationSchema),
52
53
  }).superRefine((generated, context) => {
53
- reportDuplicateSlugs(generated.successCriteria.map(entry => entry.slug), 'successCriteria', context);
54
- reportDuplicateSlugs(generated.constraints.map(entry => entry.slug), 'constraints', context);
54
+ reportDuplicateRefs(generated.successCriteria, VISION_SUCCESS_CRITERION_REF_PREFIX, 'successCriteria', context);
55
+ reportDuplicateRefs(generated.constraints, VISION_CONSTRAINT_REF_PREFIX, 'constraints', context);
55
56
  });
56
57
  /** Normalize strict provider output into canonical persisted application truth. */
57
58
  export function parseVisionSnapshotGeneration(input) {
@@ -72,28 +73,41 @@ export function parseVisionSnapshotGeneration(input) {
72
73
  ...(generated.mission.longTermVision === null ? {} : { longTermVision: generated.mission.longTermVision }),
73
74
  },
74
75
  successCriteria: generated.successCriteria.map(entry => ({
75
- ref: `${VISION_SUCCESS_CRITERION_REF_PREFIX}${entry.slug}`,
76
+ ref: applyFamilyRefPrefix(entry.slug, VISION_SUCCESS_CRITERION_REF_PREFIX),
76
77
  statement: entry.statement,
77
78
  ...(entry.metric === null ? {} : { metric: entry.metric }),
78
79
  ...(entry.target === null ? {} : { target: entry.target }),
79
80
  ...(entry.horizon === null ? {} : { horizon: entry.horizon }),
80
81
  })),
81
82
  constraints: generated.constraints.map(entry => ({
82
- ref: `${VISION_CONSTRAINT_REF_PREFIX}${entry.slug}`,
83
+ ref: applyFamilyRefPrefix(entry.slug, VISION_CONSTRAINT_REF_PREFIX),
83
84
  kind: entry.kind,
84
85
  statement: entry.statement,
85
86
  ...(entry.rationale === null ? {} : { rationale: entry.rationale }),
86
87
  })),
87
88
  });
88
89
  }
89
- function reportDuplicateSlugs(values, path, context) {
90
+ /**
91
+ * Refuse two entries whose slugs normalize to the same ref.
92
+ *
93
+ * Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately
94
+ * not injective: `gdpr-handling` and `constraint-gdpr-handling` are two distinct slugs that both become
95
+ * `constraint-gdpr-handling`. Checking the slug would let that pair through and produce two constraints
96
+ * sharing one ref, which makes every reference to it ambiguous.
97
+ *
98
+ * Reported here rather than after stamping so the provider gets a Zod issue carrying the offending
99
+ * entry's path -- the generation retry loop hands those findings back to the model verbatim, and an
100
+ * issue that names `constraints[3].slug` is actionable in a way a thrown string is not.
101
+ */
102
+ function reportDuplicateRefs(entries, prefix, path, context) {
90
103
  const seen = new Set();
91
- values.forEach((value, index) => {
92
- if (!seen.has(value)) {
93
- seen.add(value);
104
+ entries.forEach((entry, index) => {
105
+ const ref = applyFamilyRefPrefix(entry.slug, prefix);
106
+ if (!seen.has(ref)) {
107
+ seen.add(ref);
94
108
  return;
95
109
  }
96
- context.addIssue({ code: 'custom', path: [path, index, 'slug'], message: `duplicate semantic slug "${value}"` });
110
+ context.addIssue({ code: 'custom', path: [path, index, 'slug'], message: `duplicate semantic slug "${entry.slug}" (normalizes to "${ref}")` });
97
111
  });
98
112
  }
99
113
  //# sourceMappingURL=vision-snapshot-generation.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vision-snapshot-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EACL,4BAA4B,EAC5B,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GAEtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE1E,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAE1E,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,oBAAoB;IACjC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CACrC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,SAAS,EAAE,oBAAoB;IAC/B,QAAQ,EAAE,oBAAoB;IAC9B,mBAAmB,EAAE,CAAC,CAA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9B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAChB,OAAO;QACT,CAAC;QACD,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,4BAA4B,KAAK,GAAG,EAAE,CAAC,CAAC;IACnH,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { VisionConstraintKind } from './vision-constraint.schemas';\nimport {\n VISION_CONSTRAINT_REF_PREFIX,\n VISION_SUCCESS_CRITERION_REF_PREFIX,\n} from './vision-references.schemas';\nimport {\n VisionSnapshotSchema,\n VisionSnapshotVersion,\n type VisionSnapshot,\n} from './vision-snapshot.schemas';\nimport { VisionSuccessHorizon } from './vision-success-criterion.schemas';\n\nconst SemanticSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\nexport const VisionIdeaGenerationSchema = z.strictObject({\n oneLiner: NonEmptyStringSchema,\n description: NonEmptyStringSchema,\n notes: z.array(NonEmptyStringSchema),\n});\n\nexport const VisionProblemGenerationSchema = z.strictObject({\n statement: NonEmptyStringSchema,\n affected: NonEmptyStringSchema,\n currentAlternatives: z.array(NonEmptyStringSchema),\n consequences: z.array(NonEmptyStringSchema),\n whyNow: NonEmptyStringSchema.nullable(),\n});\n\nexport const VisionMissionGenerationSchema = z.strictObject({\n mission: NonEmptyStringSchema,\n longTermVision: NonEmptyStringSchema.nullable(),\n principles: z.array(NonEmptyStringSchema),\n});\n\nexport const VisionSuccessCriterionGenerationSchema = z.strictObject({\n slug: SemanticSlugSchema,\n statement: NonEmptyStringSchema,\n metric: NonEmptyStringSchema.nullable(),\n target: NonEmptyStringSchema.nullable(),\n horizon: z.enum(VisionSuccessHorizon).nullable(),\n});\n\nexport const VisionConstraintGenerationSchema = z.strictObject({\n slug: SemanticSlugSchema,\n kind: z.enum(VisionConstraintKind),\n statement: NonEmptyStringSchema,\n rationale: NonEmptyStringSchema.nullable(),\n});\n\n/**\n * Complete provider response for a clean-start vision producer.\n *\n * The persisted VisionSnapshot remains permissive for incremental authoring;\n * this provider contract is deliberately stronger. The model cannot author\n * family refs, versions or provenance and must provide a problem, mission and\n * at least one observable success criterion.\n */\nexport const VisionSnapshotGenerationSchema = z.strictObject({\n idea: VisionIdeaGenerationSchema,\n problem: VisionProblemGenerationSchema,\n mission: VisionMissionGenerationSchema,\n successCriteria: z.array(VisionSuccessCriterionGenerationSchema).min(1),\n constraints: z.array(VisionConstraintGenerationSchema),\n}).superRefine((generated, context) => {\n reportDuplicateSlugs(generated.successCriteria.map(entry => entry.slug), 'successCriteria', context);\n reportDuplicateSlugs(generated.constraints.map(entry => entry.slug), 'constraints', context);\n});\nexport type VisionSnapshotGeneration = z.infer<typeof VisionSnapshotGenerationSchema>;\n\n/** Normalize strict provider output into canonical persisted application truth. */\nexport function parseVisionSnapshotGeneration(input: unknown): VisionSnapshot {\n const generated = VisionSnapshotGenerationSchema.parse(input);\n return VisionSnapshotSchema.parse({\n version: VisionSnapshotVersion.V1,\n idea: generated.idea,\n problem: {\n statement: generated.problem.statement,\n affected: generated.problem.affected,\n currentAlternatives: generated.problem.currentAlternatives,\n consequences: generated.problem.consequences,\n ...(generated.problem.whyNow === null ? {} : { whyNow: generated.problem.whyNow }),\n },\n mission: {\n mission: generated.mission.mission,\n principles: generated.mission.principles,\n ...(generated.mission.longTermVision === null ? {} : { longTermVision: generated.mission.longTermVision }),\n },\n successCriteria: generated.successCriteria.map(entry => ({\n ref: `${VISION_SUCCESS_CRITERION_REF_PREFIX}${entry.slug}`,\n statement: entry.statement,\n ...(entry.metric === null ? {} : { metric: entry.metric }),\n ...(entry.target === null ? {} : { target: entry.target }),\n ...(entry.horizon === null ? {} : { horizon: entry.horizon }),\n })),\n constraints: generated.constraints.map(entry => ({\n ref: `${VISION_CONSTRAINT_REF_PREFIX}${entry.slug}`,\n kind: entry.kind,\n statement: entry.statement,\n ...(entry.rationale === null ? {} : { rationale: entry.rationale }),\n })),\n });\n}\n\nfunction reportDuplicateSlugs(values: readonly string[], path: string, context: z.RefinementCtx): void {\n const seen = new Set<string>();\n values.forEach((value, index) => {\n if (!seen.has(value)) {\n seen.add(value);\n return;\n }\n context.addIssue({ code: 'custom', path: [path, index, 'slug'], message: `duplicate semantic slug \"${value}\"` });\n });\n}\n"]}
1
+ {"version":3,"file":"vision-snapshot-generation.schemas.js","sourceRoot":"","sources":["../../../../src/_core/vision/vision-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EACL,4BAA4B,EAC5B,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GAEtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE1E,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAE1E,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,oBAAoB;IACjC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CACrC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,SAAS,EAAE,oBAAoB;I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;QAC/B,MAAM,GAAG,GAAG,oBAAoB,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACrD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,OAAO;QACT,CAAC;QACD,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,4BAA4B,KAAK,CAAC,IAAI,qBAAqB,GAAG,IAAI,EAAE,CAAC,CAAC;IACjJ,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport { VisionConstraintKind } from './vision-constraint.schemas';\nimport {\n VISION_CONSTRAINT_REF_PREFIX,\n VISION_SUCCESS_CRITERION_REF_PREFIX,\n} from './vision-references.schemas';\nimport {\n VisionSnapshotSchema,\n VisionSnapshotVersion,\n type VisionSnapshot,\n} from './vision-snapshot.schemas';\nimport { VisionSuccessHorizon } from './vision-success-criterion.schemas';\n\nconst SemanticSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\nexport const VisionIdeaGenerationSchema = z.strictObject({\n oneLiner: NonEmptyStringSchema,\n description: NonEmptyStringSchema,\n notes: z.array(NonEmptyStringSchema),\n});\n\nexport const VisionProblemGenerationSchema = z.strictObject({\n statement: NonEmptyStringSchema,\n affected: NonEmptyStringSchema,\n currentAlternatives: z.array(NonEmptyStringSchema),\n consequences: z.array(NonEmptyStringSchema),\n whyNow: NonEmptyStringSchema.nullable(),\n});\n\nexport const VisionMissionGenerationSchema = z.strictObject({\n mission: NonEmptyStringSchema,\n longTermVision: NonEmptyStringSchema.nullable(),\n principles: z.array(NonEmptyStringSchema),\n});\n\nexport const VisionSuccessCriterionGenerationSchema = z.strictObject({\n slug: SemanticSlugSchema,\n statement: NonEmptyStringSchema,\n metric: NonEmptyStringSchema.nullable(),\n target: NonEmptyStringSchema.nullable(),\n horizon: z.enum(VisionSuccessHorizon).nullable(),\n});\n\nexport const VisionConstraintGenerationSchema = z.strictObject({\n slug: SemanticSlugSchema,\n kind: z.enum(VisionConstraintKind),\n statement: NonEmptyStringSchema,\n rationale: NonEmptyStringSchema.nullable(),\n});\n\n/**\n * Complete provider response for a clean-start vision producer.\n *\n * The persisted VisionSnapshot remains permissive for incremental authoring;\n * this provider contract is deliberately stronger. The model cannot author\n * family refs, versions or provenance and must provide a problem, mission and\n * at least one observable success criterion.\n */\nexport const VisionSnapshotGenerationSchema = z.strictObject({\n idea: VisionIdeaGenerationSchema,\n problem: VisionProblemGenerationSchema,\n mission: VisionMissionGenerationSchema,\n successCriteria: z.array(VisionSuccessCriterionGenerationSchema).min(1),\n constraints: z.array(VisionConstraintGenerationSchema),\n}).superRefine((generated, context) => {\n reportDuplicateRefs(generated.successCriteria, VISION_SUCCESS_CRITERION_REF_PREFIX, 'successCriteria', context);\n reportDuplicateRefs(generated.constraints, VISION_CONSTRAINT_REF_PREFIX, 'constraints', context);\n});\nexport type VisionSnapshotGeneration = z.infer<typeof VisionSnapshotGenerationSchema>;\n\n/** Normalize strict provider output into canonical persisted application truth. */\nexport function parseVisionSnapshotGeneration(input: unknown): VisionSnapshot {\n const generated = VisionSnapshotGenerationSchema.parse(input);\n return VisionSnapshotSchema.parse({\n version: VisionSnapshotVersion.V1,\n idea: generated.idea,\n problem: {\n statement: generated.problem.statement,\n affected: generated.problem.affected,\n currentAlternatives: generated.problem.currentAlternatives,\n consequences: generated.problem.consequences,\n ...(generated.problem.whyNow === null ? {} : { whyNow: generated.problem.whyNow }),\n },\n mission: {\n mission: generated.mission.mission,\n principles: generated.mission.principles,\n ...(generated.mission.longTermVision === null ? {} : { longTermVision: generated.mission.longTermVision }),\n },\n successCriteria: generated.successCriteria.map(entry => ({\n ref: applyFamilyRefPrefix(entry.slug, VISION_SUCCESS_CRITERION_REF_PREFIX),\n statement: entry.statement,\n ...(entry.metric === null ? {} : { metric: entry.metric }),\n ...(entry.target === null ? {} : { target: entry.target }),\n ...(entry.horizon === null ? {} : { horizon: entry.horizon }),\n })),\n constraints: generated.constraints.map(entry => ({\n ref: applyFamilyRefPrefix(entry.slug, VISION_CONSTRAINT_REF_PREFIX),\n kind: entry.kind,\n statement: entry.statement,\n ...(entry.rationale === null ? {} : { rationale: entry.rationale }),\n })),\n });\n}\n\n/**\n * Refuse two entries whose slugs normalize to the same ref.\n *\n * Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n * not injective: `gdpr-handling` and `constraint-gdpr-handling` are two distinct slugs that both become\n * `constraint-gdpr-handling`. Checking the slug would let that pair through and produce two constraints\n * sharing one ref, which makes every reference to it ambiguous.\n *\n * Reported here rather than after stamping so the provider gets a Zod issue carrying the offending\n * entry's path -- the generation retry loop hands those findings back to the model verbatim, and an\n * issue that names `constraints[3].slug` is actionable in a way a thrown string is not.\n */\nfunction reportDuplicateRefs(entries: readonly { slug: string }[], prefix: string, path: string, context: z.RefinementCtx): void {\n const seen = new Set<string>();\n entries.forEach((entry, index) => {\n const ref = applyFamilyRefPrefix(entry.slug, prefix);\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n context.addIssue({ code: 'custom', path: [path, index, 'slug'], message: `duplicate semantic slug \"${entry.slug}\" (normalizes to \"${ref}\")` });\n });\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-snapshot-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-snapshot-validation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAAY,uBAAuB;IACjC;;;;;;OAMG;IACH,kBAAkB,uBAAuB;IACzC;;;;OAIG;IACH,aAAa,kBAAkB;IAC/B,yEAAyE;IACzE,eAAe,oBAAoB;IACnC,yEAAyE;IACzE,eAAe,oBAAoB;IACnC,gFAAgF;IAChF,mBAAmB,wBAAwB;IAC3C,gFAAgF;IAChF,cAAc,mBAAmB;CAClC;AAED,oBAAY,2BAA2B;IACrC,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,2BAA2B,CAAC;CACvC;AAED,MAAM,WAAW,8BAA8B;IAC7C,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC5C,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ;AAeD,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,cAAc,EACxB,OAAO,CAAC,EAAE,6BAA6B,GACtC,8BAA8B,CAUhC;AA8GD,wDAAwD"}
1
+ {"version":3,"file":"vision-snapshot-validation.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-snapshot-validation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAAY,uBAAuB;IACjC;;;;;;OAMG;IACH,kBAAkB,uBAAuB;IACzC;;;;OAIG;IACH,aAAa,kBAAkB;IAC/B,yEAAyE;IACzE,eAAe,oBAAoB;IACnC,yEAAyE;IACzE,eAAe,oBAAoB;IACnC,gFAAgF;IAChF,mBAAmB,wBAAwB;IAC3C,gFAAgF;IAChF,cAAc,mBAAmB;CAClC;AAED,oBAAY,2BAA2B;IACrC,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,2BAA2B,CAAC;CACvC;AAED,MAAM,WAAW,8BAA8B;IAC7C,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC5C,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ;AAeD,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,cAAc,EACxB,OAAO,CAAC,EAAE,6BAA6B,GACtC,8BAA8B,CAUhC;AA8GD,wDAAwD"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;;;;;;;;GASG;AACH,oBAAY,qBAAqB;IAC/B,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,oDAAoD"}
1
+ {"version":3,"file":"vision-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;;;;;;;;GASG;AACH,oBAAY,qBAAqB;IAC/B,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,oDAAoD"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-success-criterion.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-success-criterion.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;GAgBG;AAEH;;;GAGG;AACH,oBAAY,oBAAoB;IAC9B,4CAA4C;IAC5C,MAAM,WAAW;IACjB,+CAA+C;IAC/C,UAAU,eAAe;IACzB,+CAA+C;IAC/C,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;iBAiB7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,6DAA6D"}
1
+ {"version":3,"file":"vision-success-criterion.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-success-criterion.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;GAgBG;AAEH;;;GAGG;AACH,oBAAY,oBAAoB;IAC9B,4CAA4C;IAC5C,MAAM,WAAW;IACjB,+CAA+C;IAC/C,UAAU,eAAe;IACzB,+CAA+C;IAC/C,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;iBAiB7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,6DAA6D"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAQ1E;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,wBA8CnC,CAAC"}
1
+ {"version":3,"file":"vision.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAQ1E;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,wBA8CnC,CAAC"}
@@ -48,8 +48,6 @@ export declare const ApplicationCodingTaskContractSchema: z.ZodObject<{
48
48
  assessmentSubjectRef: z.ZodString;
49
49
  scope: z.ZodRecord<z.ZodString, z.ZodString>;
50
50
  iterationOrdinal: z.ZodNumber;
51
- stableKernelRef: z.ZodOptional<z.ZodString>;
52
- stableKernelDigest: z.ZodOptional<z.ZodString>;
53
51
  consumerKind: z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_ContextSelectionConsumerKind>;
54
52
  maximumOptionalSources: z.ZodNumber;
55
53
  maximumTokenBudget: z.ZodNumber;
@@ -77,8 +75,6 @@ export declare const ApplicationCodingTaskContractSchema: z.ZodObject<{
77
75
  assessmentSubjectRef: z.ZodString;
78
76
  scope: z.ZodRecord<z.ZodString, z.ZodString>;
79
77
  iterationOrdinal: z.ZodNumber;
80
- stableKernelRef: z.ZodOptional<z.ZodString>;
81
- stableKernelDigest: z.ZodOptional<z.ZodString>;
82
78
  consumerKind: z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_ContextSelectionConsumerKind>;
83
79
  selectedSources: z.ZodArray<z.ZodObject<{
84
80
  sourceRef: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"application-coding-tasks.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/application-coding-tasks.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAGL,oCAAoC,EAGrC,MAAM,sCAAsC,CAAC;AAc9C;;;;;;;GAOG;AACH,eAAO,MAAM,wCAAwC;;;;kBAInD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G,yGAAyG;AACzG,eAAO,MAAM,6CAA6C;;;;kBAIxD,CAAC;AACH,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC;AAEpH;;;;;;;;;GASG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgC9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
1
+ {"version":3,"file":"application-coding-tasks.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../src/application-creation/application-coding-tasks.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAGL,oCAAoC,EAGrC,MAAM,sCAAsC,CAAC;AAc9C;;;;;;;GAOG;AACH,eAAO,MAAM,wCAAwC;;;;kBAInD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G,yGAAyG;AACzG,eAAO,MAAM,6CAA6C;;;;kBAIxD,CAAC;AACH,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC;AAEpH;;;;;;;;;GASG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgC9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -197,8 +197,9 @@ export type ApplicationAuthoredDocumentFactDeclaration = z.infer<typeof Applicat
197
197
  /**
198
198
  * One raw application-owned fact decision, from EITHER family — the READER's shape.
199
199
  *
200
- * The host, not the application, derives contribution ids, digests, accepted-head identities,
201
- * semantic-member digests and validation-receipt joins from this declaration.
200
+ * The declaration is read as authored. Nothing derives ids, digests, accepted-head identities or
201
+ * receipt joins from it any more — that projection was deleted with the digest machinery (see the
202
+ * note on `ApplicationAssuranceDocumentFactContributionResolutionKind` above).
202
203
  *
203
204
  * A TYPE and not a schema: nothing parses a file against it, because every file belongs to one family
204
205
  * or the other. It exists because a consumer that READS facts does not care who asserted them — the
@@ -221,11 +222,10 @@ export type ApplicationDocumentFactDeclarationSet = {
221
222
  * Accepted application declaration of governed-document facts THE ACCEPTED SPECIFICATION ANSWERS.
222
223
  * Import from `@wildo-ai/saas-specifications/application-creation`.
223
224
  *
224
- * This family carries raw decisions only. It never authors contribution
225
- * digests, accepted-head identities, validation receipts, reviewer grants,
226
- * document approvals or releases. The trusted application-creation host seals
227
- * each declaration into the exact contribution form required by the fact
228
- * resolver. A missing family or missing declaration therefore remains a
225
+ * This family carries raw decisions only. It never authors reviewer grants,
226
+ * document approvals or releases, and nothing seals, digests or receipts a
227
+ * declaration after it is written: the committed file is the accepted
228
+ * declaration. A missing family or missing declaration therefore remains a
229
229
  * visible fact gap.
230
230
  *
231
231
  * One snapshot may contain facts for several document definitions, but it may
@@ -1 +1 @@
1
- {"version":3,"file":"application-document-fact-specification.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/application-document-fact-specification.application-cre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;;;;;kBAAwF,CAAC;AAChJ,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0CAA0C,CAAC,CAAC;AAC9G,kGAAkG;AAElG;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kDAAkD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAyF,CAAC;AACzJ,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kDAAkD,CAAC,CAAC;AAC9H,2GAA2G;AAE3G,oBAAY,iDAAiD;IAC3D,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,IAAI,EAAE,qCAAqC,CAAC;IACrD,QAAQ,CAAC,QAAQ,EAAE,iDAAiD,CAAC;IACrE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,4CAA4C,CAAC,aAAa,EAAE,qCAAqC,GAAG;IAClH,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,yCAAyC,EAAE,CAAC;CACrD,CAqBA"}
1
+ {"version":3,"file":"application-document-fact-specification.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../src/application-creation/application-document-fact-specification.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAA6C,MAAM,uBAAuB,CAAC;AACzH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kCAAkC,EAA8B,MAAM,sBAAsB,CAAC;AAyEtG;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,0DAA0D;IACpE,iEAAiE;IACjE,KAAK,UAAU;IACf,gGAAgG;IAChG,cAAc,mBAAmB;CAClC;AAwCD;;;;;;;;GAQG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K,CAAC,OAAO,kDAAkD,CAAC,CAAC;AAC9H,2GAA2G;AAE3G,oBAAY,iDAAiD;IAC3D,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,IAAI,EAAE,qCAAqC,CAAC;IACrD,QAAQ,CAAC,QAAQ,EAAE,iDAAiD,CAAC;IACrE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,4CAA4C,CAAC,aAAa,EAAE,qCAAqC,GAAG;IAClH,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,yCAAyC,EAAE,CAAC;CACrD,CAqBA"}
@@ -98,8 +98,8 @@ const ApplicationDocumentFactDeclarationAuthorityCommonSchema = z.strictObject({
98
98
  authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,
99
99
  });
100
100
  /**
101
- * The DERIVED authority: the accepted semantic member itself is the authority, so the host binds its
102
- * exact family head and validation receipts and there is no human to name.
101
+ * The DERIVED authority: the accepted semantic member itself is the authority — the committed
102
+ * specification file, which git already identifies per commit — so there is no human to name.
103
103
  *
104
104
  * It carries no `decidedAt`, and that absence is the whole reason a generator may produce it: there is
105
105
  * no decision instant to invent and no accountable actor to fabricate.
@@ -283,11 +283,10 @@ const buildDocumentFactSpecificationSchema = (declarationSchema) => z
283
283
  * Accepted application declaration of governed-document facts THE ACCEPTED SPECIFICATION ANSWERS.
284
284
  * Import from `@wildo-ai/saas-specifications/application-creation`.
285
285
  *
286
- * This family carries raw decisions only. It never authors contribution
287
- * digests, accepted-head identities, validation receipts, reviewer grants,
288
- * document approvals or releases. The trusted application-creation host seals
289
- * each declaration into the exact contribution form required by the fact
290
- * resolver. A missing family or missing declaration therefore remains a
286
+ * This family carries raw decisions only. It never authors reviewer grants,
287
+ * document approvals or releases, and nothing seals, digests or receipts a
288
+ * declaration after it is written: the committed file is the accepted
289
+ * declaration. A missing family or missing declaration therefore remains a
291
290
  * visible fact gap.
292
291
  *
293
292
  * One snapshot may contain facts for several document definitions, but it may
@@ -1 +1 @@
1
- {"version":3,"file":"application-document-fact-specification.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/application-document-fact-specification.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AACzH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kCAAkC,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAEtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CACzD,6DAA6D,EAC7D,2BAA2B,CAC5B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,6BAA6B,GAAG,CAAC;KACpC,YAAY,CAAC;IACZ,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,qCAAqC,CAAC;IAC1D,UAAU,EAAE,2BAA2B;IACvC,QAAQ,EAAE,2BAA2B;IACrC,YAAY,EAAE,yCAAyC;IACvD,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;IACrD,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CACzD,CAAC;KACD,WAAW,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IAC9B,IAAI,KAAK,CAAC,WAAW,KAAK,qCAAqC,CAAC,qBAAqB,EAAE,CAAC;QACtF,IAAI,KAAK,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACrC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,iBAAiB,CAAC,EAAE,OAAO,EAAE,qEA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AK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;eAC5C,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;QAC/G,IAAI,CAAC,SAAS;YAAE,OAAO;QACvB,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,qCAAqC;YAC3C,QAAQ,EAAE,iDAAiD,CAAC,KAAK;YACjE,IAAI,EAAE,gBAAgB,KAAK,QAAQ;YACnC,OAAO,EACL,IAAI,WAAW,CAAC,OAAO,4CAA4C;kBACjE,qIAAqI;SAC1I,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,EAAE,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;AAC7C,CAAC","sourcesContent":["import { GovernedDocumentGovernanceSubjectKind, GovernedDocumentPositiveSafeIntegerSchema } from \"@wildo-ai/saas-models\";\nimport { z } from \"zod\";\n\nimport { AssuranceDocumentFactAuthorityKind, AssuranceIsoDateTimeSchema } from \"../assurance.exports\";\n\n/**\n * A namespaced ref as an AUTHOR writes it — the same `namespace:slug` grammar as\n * `AuthoredNamespacedRefSchema`, and deliberately NOT branded.\n *\n * ## Why this file cannot use the branded one\n *\n * A brand is nominal typing: `string & $brand<\"AssuranceNamespacedRef\">`. A plain string literal is not\n * assignable to it, so a field typed that way **cannot be written as a literal at all** — not by a\n * human, and not by the landing renderer, which emits exactly what a human would write. The only way\n * past is a cast, and a cast asserts the very thing the brand exists to prove.\n *\n * That made this family unauthorable, and it went unnoticed for one reason: the family could not RENDER\n * either (its vocabularies were unnameable), so no file ever reached a typechecker. The moment rendering\n * was fixed, the first landed `document-facts` file produced **170 assignability errors** in the\n * application's own specifications package — every ref field, plus every ref inside the embedded\n * governance scope.\n *\n * ## The line this draws, and it is the one this lane keeps rediscovering\n *\n * A branded type is right for a value obtained by PARSING and wrong for one written by HAND. This\n * family is an authored input — D7/D9: the facts are a FILE the application commits, like every other\n * family — so its fields are shaped for authoring, and the regex still does the validating. The sibling\n * `compliance-document-candidate` family made the same call independently, with its own unbranded\n * `ComplianceDocumentNamespacedRefSchema`; the two families disagreed for no stated reason, and this one\n * was the one nobody could write.\n *\n * Nothing depended on the brand: every consumer reads these refs as strings (the availability collector\n * keys a `Map<string, …>`), and the runtime path never noticed because it builds plain strings and lets\n * `.parse()` brand them.\n */\nconst AuthoredNamespacedRefSchema = z.string().trim().regex(\n /^[a-z0-9]+(?:[-.][a-z0-9]+)*:[a-z0-9]+(?:[-/.][a-z0-9]+)*$/u,\n \"expected a namespaced ref\",\n);\n\n/**\n * The governance scope as an AUTHOR writes it.\n *\n * Structurally the same question `GovernedDocumentGovernanceScopeSchema` answers — whose document this\n * is, and over what — restated with authored refs for the reason above: that schema's `subjectRef`,\n * `scopeRef`, `participantRefs` and `precedenceRuleRefs` are all branded `GovernedDocumentRef`, and it\n * serves RUNTIME document code where a parsed, branded ref is exactly right.\n *\n * The shared-responsibility rule is kept, because it is semantic rather than ceremonial: a scope\n * attributed to several parties must name at least two participants and say which one prevails, or the\n * document silently claims an allocation nobody made.\n */\nconst AuthoredGovernanceScopeSchema = z\n .strictObject({\n subjectKind: z.enum(GovernedDocumentGovernanceSubjectKind),\n subjectRef: AuthoredNamespacedRefSchema,\n scopeRef: AuthoredNamespacedRefSchema,\n scopeVersion: GovernedDocumentPositiveSafeIntegerSchema,\n participantRefs: z.array(AuthoredNamespacedRefSchema),\n precedenceRuleRefs: z.array(AuthoredNamespacedRefSchema),\n })\n .superRefine((scope, context) => {\n if (scope.subjectKind === GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY) {\n if (scope.participantRefs.length < 2) {\n context.addIssue({ code: \"custom\", path: [\"participantRefs\"], message: \"shared responsibility requires at least two attributed participants\" });\n }\n if (scope.precedenceRuleRefs.length === 0) {\n context.addIssue({ code: \"custom\", path: [\"precedenceRuleRefs\"], message: \"shared responsibility requires an explicit precedence rule\" });\n }\n return;\n }\n if (scope.participantRefs.length > 0 || scope.precedenceRuleRefs.length > 0) {\n context.addIssue({ code: \"custom\", path: [\"participantRefs\"], message: \"only a shared-responsibility scope attributes participants or precedence rules\" });\n }\n });\n\n/**\n * Whether a declared document fact HAS an answer, or was considered and does not apply.\n *\n * The two are different answers and a document that confuses them is wrong in different ways: \"we\n * perform no international transfers\" is a citable statement, while \"international transfers are not\n * applicable to us\" is the application declining to answer, and a clause resting on the second\n * asserts something nobody established. A fact ABSENT from the specification is neither — nobody has\n * considered it at all.\n *\n * It lived in `application-assurance-document-fact-projection.…schemas.ts` until 2026-08-28, when\n * that module — a host-computed projection carrying a projector identity, source-head digests and\n * per-contribution authority receipts — was deleted with the rest of the digest machinery\n * (`.claude/rules/one-source-of-truth.md`, Rule 0). This enum was the only thing in its 999 lines\n * that anything outside it used, and it belongs here: it is the resolution kind of a DECLARATION,\n * which is what this file is about.\n */\nexport enum ApplicationAssuranceDocumentFactContributionResolutionKind {\n /** The application declared this fact and it carries a value. */\n KNOWN = \"KNOWN\",\n /** The application considered this fact and it genuinely does not apply. Citable by nothing. */\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n}\n\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst ApplicationDocumentFactDeclarationAuthorityCommonSchema = z.strictObject({\n authorityRef: AuthoredNamespacedRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\n\n/**\n * The DERIVED authority: the accepted semantic member itself is the authority, so the host binds its\n * exact family head and validation receipts and there is no human to name.\n *\n * It carries no `decidedAt`, and that absence is the whole reason a generator may produce it: there is\n * no decision instant to invent and no accountable actor to fabricate.\n */\nconst ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema = ApplicationDocumentFactDeclarationAuthorityCommonSchema.extend({\n factAuthorityKind: z.literal(AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION),\n});\n\n/** A creator's decision: a named human, at a real instant. */\nconst ApplicationDocumentFactDeclarationCreatorDecisionAuthoritySchema = ApplicationDocumentFactDeclarationAuthorityCommonSchema.extend({\n factAuthorityKind: z.literal(AssuranceDocumentFactAuthorityKind.CREATOR_DECISION),\n decidedByRef: AuthoredNamespacedRefSchema,\n decidedAt: AssuranceIsoDateTimeSchema,\n});\n\n/** A qualified review: a named author, a named reviewer, their qualifications, and what they disclose. */\nconst ApplicationDocumentFactDeclarationQualifiedReviewAuthoritySchema = ApplicationDocumentFactDeclarationAuthorityCommonSchema.extend({\n factAuthorityKind: z.literal(AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW),\n authorRef: AuthoredNamespacedRefSchema,\n reviewerRef: AuthoredNamespacedRefSchema,\n reviewerQualificationRefs: z.array(AuthoredNamespacedRefSchema).min(1),\n independenceDisclosure: z.string().trim().min(1),\n decidedAt: AssuranceIsoDateTimeSchema,\n});\n\n/**\n * Every authority kind — the READER's union.\n *\n * A consumer that reads facts does not care which family a declaration came from: the document asserts\n * the FACT. So this stays whole, and the two WRITER unions below are its disjoint halves.\n *\n * Human decisions retain their actual decision instant and named accountable actors; accepting the\n * surrounding specification never rewrites that instant or silently upgrades the authority kind.\n */\nexport const ApplicationDocumentFactDeclarationAuthoritySchema = z.discriminatedUnion(\"factAuthorityKind\", [\n ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema,\n ApplicationDocumentFactDeclarationCreatorDecisionAuthoritySchema,\n ApplicationDocumentFactDeclarationQualifiedReviewAuthoritySchema,\n]);\nexport type ApplicationDocumentFactDeclarationAuthority = z.infer<typeof ApplicationDocumentFactDeclarationAuthoritySchema>;\n\n/**\n * The AUTHORED half — a human said it.\n *\n * Kept as a union rather than folded into one shape because the two differ in what they must disclose:\n * a creator decision names who decided, a qualified review additionally names who reviewed, against\n * what qualifications, and how independent they were.\n */\nconst ApplicationAuthoredDocumentFactDeclarationAuthoritySchema = z.discriminatedUnion(\"factAuthorityKind\", [\n ApplicationDocumentFactDeclarationCreatorDecisionAuthoritySchema,\n ApplicationDocumentFactDeclarationQualifiedReviewAuthoritySchema,\n]);\n\nconst ApplicationDocumentFactDeclarationCommonSchema = z.strictObject({\n declarationRef: AuthoredNamespacedRefSchema,\n declarationVersion: GovernedDocumentPositiveSafeIntegerSchema,\n factRef: AuthoredNamespacedRefSchema,\n factVersion: GovernedDocumentPositiveSafeIntegerSchema,\n governanceScope: AuthoredGovernanceScopeSchema,\n sensitivityRef: AuthoredNamespacedRefSchema,\n validUntil: AssuranceIsoDateTimeSchema.optional(),\n});\n\n/**\n * The structural minimum the cross-field rules need, so ONE implementation of them serves all three\n * declaration schemas below.\n *\n * Written structurally rather than as `z.infer<typeof …>` because the wide schema does not exist yet at\n * this point in the file, and a narrow declaration is assignable to this shape by construction.\n */\ntype DocumentFactDeclarationRefinementSubject = {\n readonly declarationRef: string;\n readonly factRef: string;\n readonly sensitivityRef: string;\n readonly validUntil?: string | undefined;\n /**\n * Declared OPTIONAL, and it is not a claim that a declaration may omit its authority — the schemas\n * below require it and nothing marks it `.optional()`.\n *\n * Zod 4.3.6 infers a UNION-valued object key as optional. Measured in this package rather than\n * assumed: a plain-object value infers `authority:` (required), while both `z.union` and\n * `z.discriminatedUnion` infer `authority?:`. So a parsed AUTHORED declaration — whose authority is a\n * two-member union — is not assignable to a subject type that requires the field, and writing it\n * required here would refuse the very values this function exists to check.\n *\n * Reads below are unaffected: this package compiles with `strict: false`, so an optional property is\n * not widened with `undefined`.\n */\n readonly authority?: ApplicationDocumentFactDeclarationAuthority;\n};\n\ntype DocumentFactDeclarationRefinementContext = {\n addIssue: (issue: { code: \"custom\"; message: string; path: PropertyKey[] }) => void;\n};\n\n/**\n * The namespace, ordering and instant rules a declaration must satisfy whoever wrote it.\n *\n * Shared deliberately: the DERIVED and AUTHORED families differ in WHO may assert a fact, never in what\n * a well-formed assertion looks like. Two copies of these rules would drift into two grammars for one\n * vocabulary — `invariant-call-site-enumeration.md` #4.\n */\nconst refineDocumentFactDeclaration = (\n declaration: DocumentFactDeclarationRefinementSubject,\n context: DocumentFactDeclarationRefinementContext,\n): void => {\n if (!declaration.declarationRef.startsWith(\"document-fact-declaration:\")) {\n context.addIssue({ code: \"custom\", message: \"declarationRef must use the document-fact-declaration: namespace\", path: [\"declarationRef\"] });\n }\n if (!declaration.factRef.startsWith(\"document-fact:\")) {\n context.addIssue({ code: \"custom\", message: \"factRef must use the document-fact: namespace\", path: [\"factRef\"] });\n }\n if (!declaration.authority.authorityRef.startsWith(\"document-fact-authority:\")) {\n context.addIssue({ code: \"custom\", message: \"authorityRef must use the document-fact-authority: namespace\", path: [\"authority\", \"authorityRef\"] });\n }\n if (!declaration.sensitivityRef.startsWith(\"sensitivity:\")) {\n context.addIssue({ code: \"custom\", message: \"sensitivityRef must use the sensitivity: namespace\", path: [\"sensitivityRef\"] });\n }\n if (declaration.authority.factAuthorityKind === AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW) {\n if (!valuesAreUnique(declaration.authority.reviewerQualificationRefs) || !valuesAreLexicallySorted(declaration.authority.reviewerQualificationRefs)) {\n context.addIssue({\n code: \"custom\",\n message: \"reviewerQualificationRefs must be unique and lexically sorted\",\n path: [\"authority\", \"reviewerQualificationRefs\"],\n });\n }\n if (declaration.authority.authorRef === declaration.authority.reviewerRef) {\n context.addIssue({ code: \"custom\", message: \"a qualified fact reviewer cannot be the fact author\", path: [\"authority\", \"reviewerRef\"] });\n }\n }\n const authorityInstant =\n declaration.authority.factAuthorityKind === AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION ? undefined : declaration.authority.decidedAt;\n if (authorityInstant && declaration.validUntil && Date.parse(declaration.validUntil) <= Date.parse(authorityInstant)) {\n context.addIssue({ code: \"custom\", message: \"validUntil must follow the human authority decision\", path: [\"validUntil\"] });\n }\n};\n\n/**\n * The two declaration shapes a FILE is parsed against. They differ in exactly one field — who may\n * assert the fact — and share every other rule through {@link refineDocumentFactDeclaration}.\n *\n * Written out rather than produced by a shared factory, and that is a measured decision: a generic\n * `<TAuthority extends z.ZodType<…>>` helper compiles, but Zod's `.extend()` cannot carry a generic\n * schema's output into the extended object's inferred type, so every declaration came back missing its\n * `authority` field. A factory that erases the one property the split exists to constrain is worse than\n * two explicit unions.\n */\n\n/**\n * A DERIVED declaration — `document-facts`, the family a producer writes.\n *\n * Its authority union has exactly one member, and that is the point of the split (#192): the\n * `refinement.document-facts` producer regenerates this whole file, so a human decision left in it is\n * silently overwritten on the next run. Narrowing the TYPE is what makes \"a generator may never write a\n * `CREATOR_DECISION`\" structural instead of a rule somebody has to remember — the generation contract\n * already said so in prose (`document-fact-specification-generation.schemas.ts`) and nothing enforced\n * it on the file the generator lands.\n */\nexport const ApplicationDerivedDocumentFactDeclarationSchema = z\n .discriminatedUnion(\"resolutionKind\", [\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN),\n value: z.json(),\n }),\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.NOT_APPLICABLE),\n reason: z.string().trim().min(1),\n }),\n ])\n .superRefine((declaration, context) => refineDocumentFactDeclaration(declaration, context));\nexport type ApplicationDerivedDocumentFactDeclaration = z.infer<typeof ApplicationDerivedDocumentFactDeclarationSchema>;\n\n/**\n * An AUTHORED declaration — `document-facts-authored`, the family only a human writes.\n *\n * The mirror of the rule above: nothing here may claim `APPLICATION_SPECIFICATION` authority, because a\n * fact the accepted specification can answer belongs in the derived family where it stays in step with\n * the specification. Filing one here would freeze a derivable answer at the moment somebody typed it.\n */\nexport const ApplicationAuthoredDocumentFactDeclarationSchema = z\n .discriminatedUnion(\"resolutionKind\", [\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationAuthoredDocumentFactDeclarationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN),\n value: z.json(),\n }),\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationAuthoredDocumentFactDeclarationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.NOT_APPLICABLE),\n reason: z.string().trim().min(1),\n }),\n ])\n .superRefine((declaration, context) => refineDocumentFactDeclaration(declaration, context));\nexport type ApplicationAuthoredDocumentFactDeclaration = z.infer<typeof ApplicationAuthoredDocumentFactDeclarationSchema>;\n\n/**\n * One raw application-owned fact decision, from EITHER family — the READER's shape.\n *\n * The host, not the application, derives contribution ids, digests, accepted-head identities,\n * semantic-member digests and validation-receipt joins from this declaration.\n *\n * A TYPE and not a schema: nothing parses a file against it, because every file belongs to one family\n * or the other. It exists because a consumer that READS facts does not care who asserted them — the\n * document asserts the FACT — so it should not have to name both halves.\n */\nexport type ApplicationDocumentFactDeclaration = ApplicationDerivedDocumentFactDeclaration | ApplicationAuthoredDocumentFactDeclaration;\n\n/**\n * A set of fact declarations from EITHER family — what a reader takes.\n *\n * Named rather than written inline at each reader because there are several, and because the concept\n * is worth stating: \"the facts\", regardless of which of the two files carried them. A caller holding\n * both passes both.\n */\nexport type ApplicationDocumentFactDeclarationSet = { readonly declarations: readonly ApplicationDocumentFactDeclaration[] };\n\nconst applicationDocumentFactDeclarationScopeKey = (declaration: ApplicationDocumentFactDeclaration): string =>\n `${declaration.factRef}@${declaration.factVersion}:${JSON.stringify(declaration.governanceScope)}`;\n\nconst buildDocumentFactSpecificationSchema = <TDeclaration extends z.ZodType<ApplicationDocumentFactDeclaration>>(declarationSchema: TDeclaration) =>\n z\n .strictObject({\n schemaVersion: z.literal(1),\n specificationRef: AuthoredNamespacedRefSchema,\n specificationVersion: GovernedDocumentPositiveSafeIntegerSchema,\n declarations: z.array(declarationSchema).min(1),\n })\n .superRefine((specification, context) => {\n if (!specification.specificationRef.startsWith(\"document-fact-specification:\")) {\n context.addIssue({\n code: \"custom\",\n message: \"specificationRef must use the document-fact-specification: namespace\",\n path: [\"specificationRef\"],\n });\n }\n const declarationIdentities = specification.declarations.map((declaration) => `${declaration.declarationRef}@${declaration.declarationVersion}`);\n if (!valuesAreUnique(declarationIdentities) || !valuesAreLexicallySorted(declarationIdentities)) {\n context.addIssue({ code: \"custom\", message: \"declarations must be unique and lexically sorted by identity\", path: [\"declarations\"] });\n }\n const factScopeKeys = specification.declarations.map(applicationDocumentFactDeclarationScopeKey);\n if (!valuesAreUnique(factScopeKeys)) {\n context.addIssue({\n code: \"custom\",\n message: \"a specification may declare only one current value for each fact version and governance scope\",\n path: [\"declarations\"],\n });\n }\n });\n\n/**\n * @wildo_source:part:start saas.specifications.application-document-fact-specification.contract facet:layer:specification facet:family:assurance\n *\n * Accepted application declaration of governed-document facts THE ACCEPTED SPECIFICATION ANSWERS.\n * Import from `@wildo-ai/saas-specifications/application-creation`.\n *\n * This family carries raw decisions only. It never authors contribution\n * digests, accepted-head identities, validation receipts, reviewer grants,\n * document approvals or releases. The trusted application-creation host seals\n * each declaration into the exact contribution form required by the fact\n * resolver. A missing family or missing declaration therefore remains a\n * visible fact gap.\n *\n * One snapshot may contain facts for several document definitions, but it may\n * contain only one current declaration for a given fact version and governance\n * scope. Replacing a decision requires a new declaration/specification version\n * and normal specification-family acceptance; conflicting current values are\n * rejected at the authoring boundary instead of being hidden downstream.\n *\n * ## This file is REGENERATED, and that is why it accepts one authority kind\n *\n * `refinement.document-facts` rewrites it whole. Before #192 the same file also held the facts only a\n * human may establish, so the next producer run silently deleted them — and there was no compare-and-\n * swap to notice, by design (`.claude/rules/one-source-of-truth.md` Rule 0). The facts a human owns\n * live in {@link ApplicationAuthoredDocumentFactSpecificationSchema}, in their own file, which no\n * producer writes.\n */\nexport const ApplicationDocumentFactSpecificationSchema = buildDocumentFactSpecificationSchema(ApplicationDerivedDocumentFactDeclarationSchema);\nexport type ApplicationDocumentFactSpecification = z.infer<typeof ApplicationDocumentFactSpecificationSchema>;\n/** @wildo_source:part:end saas.specifications.application-document-fact-specification.contract */\n\n/**\n * @wildo_source:part:start saas.specifications.application-authored-document-fact-specification.contract facet:layer:specification facet:family:assurance\n *\n * Accepted application declaration of governed-document facts ONLY A HUMAN MAY ESTABLISH — a creator's\n * decision, or a qualified review. Import from\n * `@wildo-ai/saas-specifications/application-creation`.\n *\n * Structurally identical to {@link ApplicationDocumentFactSpecificationSchema}: a declaration is a\n * declaration whoever wrote it, and a document reading facts does not care which file one came from.\n * The two are separate FAMILIES so that neither writer can destroy the other's half — the derived file\n * is regenerated by a producer, this one is only ever edited by a person or by a host acting on a\n * person's answers.\n *\n * Nothing in here may carry `APPLICATION_SPECIFICATION` authority. A fact the specification can answer\n * belongs in the derived family, where it is re-derived when the specification moves; pinning it here\n * would freeze yesterday's answer under a human's name.\n */\nexport const ApplicationAuthoredDocumentFactSpecificationSchema = buildDocumentFactSpecificationSchema(ApplicationAuthoredDocumentFactDeclarationSchema);\nexport type ApplicationAuthoredDocumentFactSpecification = z.infer<typeof ApplicationAuthoredDocumentFactSpecificationSchema>;\n/** @wildo_source:part:end saas.specifications.application-authored-document-fact-specification.contract */\n\nexport enum ApplicationDocumentFactSpecificationIssueSeverity {\n ERROR = \"ERROR\",\n}\n\nexport interface ApplicationDocumentFactSpecificationIssue {\n readonly kind: \"invalid_document_fact_specification\";\n readonly severity: ApplicationDocumentFactSpecificationIssueSeverity;\n readonly path: string;\n readonly message: string;\n}\n\n/**\n * Content validation the schema alone cannot express.\n *\n * Keep the authorable family deliberately narrower than the portable resolver authority union: runtime\n * evidence belongs to an evidence producer, not to a TypeScript specification snapshot.\n *\n * ## The vacuity check, and why the schema cannot do it\n *\n * A KNOWN declaration's `value` is typed `z.json()`, because a fact may legitimately be prose, a number,\n * a date or a small structured record — the family cannot know which. That permissiveness leaves one\n * hole it must not leave: `\"\"`, `\" \"` and `null` all satisfy `z.json()` while carrying nothing. A\n * governed document clause resting on such a declaration cites a fact that EXISTS and SAYS NOTHING,\n * which is worse than citing an absent one, because the cross-family binding check\n * (`validateComplianceDocumentCandidateFactBinding`) sees a declared fact and passes it.\n *\n * That is the same vacuity class already closed on vision, roadmap, requirements and the build plan:\n * schema-valid, validator-clean, and carrying no information a reader could act on.\n *\n * This function returned `{ ok: true, issues: [] }` on every input until 2026-08-28 — the family's\n * semantic layer was empty while its schema did all the work, so the two gaps above were unreachable\n * by any check.\n *\n * ## Serves BOTH fact families\n *\n * It reads `resolutionKind`, `value` and `factRef`, all of which are common to the derived and authored\n * declarations — a vacuous value is vacuous whoever asserted it. So the parameter is the structural\n * minimum rather than one family's type, and neither family gets a second copy of this rule.\n */\nexport function validateApplicationDocumentFactSpecification(specification: ApplicationDocumentFactDeclarationSet): {\n ok: boolean;\n issues: ApplicationDocumentFactSpecificationIssue[];\n} {\n const issues: ApplicationDocumentFactSpecificationIssue[] = [];\n specification.declarations.forEach((declaration, index) => {\n if (declaration.resolutionKind !== ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN) return;\n const value = declaration.value;\n const isVacuous =\n value === null\n || (typeof value === \"string\" && value.trim().length === 0)\n || (Array.isArray(value) && value.length === 0)\n || (typeof value === \"object\" && !Array.isArray(value) && value !== null && Object.keys(value).length === 0);\n if (!isVacuous) return;\n issues.push({\n kind: \"invalid_document_fact_specification\",\n severity: ApplicationDocumentFactSpecificationIssueSeverity.ERROR,\n path: `declarations.${index}.value`,\n message:\n `\"${declaration.factRef}\" is declared KNOWN but carries no value. `\n + \"State the fact, or declare it NOT_APPLICABLE with a reason — an empty value is a fact a document could cite and learn nothing from.\",\n });\n });\n return { ok: issues.length === 0, issues };\n}\n"]}
1
+ {"version":3,"file":"application-document-fact-specification.application-creation.schemas.js","sourceRoot":"","sources":["../../../src/application-creation/application-document-fact-specification.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AACzH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kCAAkC,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAEtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CACzD,6DAA6D,EAC7D,2BAA2B,CAC5B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,6BAA6B,GAAG,CAAC;KACpC,YAAY,CAAC;IACZ,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,qCAAqC,CAAC;IAC1D,UAAU,EAAE,2BAA2B;IACvC,QAAQ,EAAE,2BAA2B;IACrC,YAAY,EAAE,yCAAyC;IACvD,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;IACrD,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CACzD,CAAC;KACD,WAAW,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IAC9B,IAAI,KAAK,CAAC,WAAW,KAAK,qCAAqC,CAAC,qBAAqB,EAAE,CAAC;QACtF,IAAI,KAAK,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACrC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,iBAAiB,CAAC,EAAE,OAAO,EAAE,qEAAqE,EAAE,CAAC,CAAC;QAClJ,CAAC;QACD,IAAI,KAAK,CAAC,k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K,CAAC,CAAC;eAC5C,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;QAC/G,IAAI,CAAC,SAAS;YAAE,OAAO;QACvB,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,qCAAqC;YAC3C,QAAQ,EAAE,iDAAiD,CAAC,KAAK;YACjE,IAAI,EAAE,gBAAgB,KAAK,QAAQ;YACnC,OAAO,EACL,IAAI,WAAW,CAAC,OAAO,4CAA4C;kBACjE,qIAAqI;SAC1I,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,EAAE,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;AAC7C,CAAC","sourcesContent":["import { GovernedDocumentGovernanceSubjectKind, GovernedDocumentPositiveSafeIntegerSchema } from \"@wildo-ai/saas-models\";\nimport { z } from \"zod\";\n\nimport { AssuranceDocumentFactAuthorityKind, AssuranceIsoDateTimeSchema } from \"../assurance.exports\";\n\n/**\n * A namespaced ref as an AUTHOR writes it — the same `namespace:slug` grammar as\n * `AuthoredNamespacedRefSchema`, and deliberately NOT branded.\n *\n * ## Why this file cannot use the branded one\n *\n * A brand is nominal typing: `string & $brand<\"AssuranceNamespacedRef\">`. A plain string literal is not\n * assignable to it, so a field typed that way **cannot be written as a literal at all** — not by a\n * human, and not by the landing renderer, which emits exactly what a human would write. The only way\n * past is a cast, and a cast asserts the very thing the brand exists to prove.\n *\n * That made this family unauthorable, and it went unnoticed for one reason: the family could not RENDER\n * either (its vocabularies were unnameable), so no file ever reached a typechecker. The moment rendering\n * was fixed, the first landed `document-facts` file produced **170 assignability errors** in the\n * application's own specifications package — every ref field, plus every ref inside the embedded\n * governance scope.\n *\n * ## The line this draws, and it is the one this lane keeps rediscovering\n *\n * A branded type is right for a value obtained by PARSING and wrong for one written by HAND. This\n * family is an authored input — D7/D9: the facts are a FILE the application commits, like every other\n * family — so its fields are shaped for authoring, and the regex still does the validating. The sibling\n * `compliance-document-candidate` family made the same call independently, with its own unbranded\n * `ComplianceDocumentNamespacedRefSchema`; the two families disagreed for no stated reason, and this one\n * was the one nobody could write.\n *\n * Nothing depended on the brand: every consumer reads these refs as strings (the availability collector\n * keys a `Map<string, …>`), and the runtime path never noticed because it builds plain strings and lets\n * `.parse()` brand them.\n */\nconst AuthoredNamespacedRefSchema = z.string().trim().regex(\n /^[a-z0-9]+(?:[-.][a-z0-9]+)*:[a-z0-9]+(?:[-/.][a-z0-9]+)*$/u,\n \"expected a namespaced ref\",\n);\n\n/**\n * The governance scope as an AUTHOR writes it.\n *\n * Structurally the same question `GovernedDocumentGovernanceScopeSchema` answers — whose document this\n * is, and over what — restated with authored refs for the reason above: that schema's `subjectRef`,\n * `scopeRef`, `participantRefs` and `precedenceRuleRefs` are all branded `GovernedDocumentRef`, and it\n * serves RUNTIME document code where a parsed, branded ref is exactly right.\n *\n * The shared-responsibility rule is kept, because it is semantic rather than ceremonial: a scope\n * attributed to several parties must name at least two participants and say which one prevails, or the\n * document silently claims an allocation nobody made.\n */\nconst AuthoredGovernanceScopeSchema = z\n .strictObject({\n subjectKind: z.enum(GovernedDocumentGovernanceSubjectKind),\n subjectRef: AuthoredNamespacedRefSchema,\n scopeRef: AuthoredNamespacedRefSchema,\n scopeVersion: GovernedDocumentPositiveSafeIntegerSchema,\n participantRefs: z.array(AuthoredNamespacedRefSchema),\n precedenceRuleRefs: z.array(AuthoredNamespacedRefSchema),\n })\n .superRefine((scope, context) => {\n if (scope.subjectKind === GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY) {\n if (scope.participantRefs.length < 2) {\n context.addIssue({ code: \"custom\", path: [\"participantRefs\"], message: \"shared responsibility requires at least two attributed participants\" });\n }\n if (scope.precedenceRuleRefs.length === 0) {\n context.addIssue({ code: \"custom\", path: [\"precedenceRuleRefs\"], message: \"shared responsibility requires an explicit precedence rule\" });\n }\n return;\n }\n if (scope.participantRefs.length > 0 || scope.precedenceRuleRefs.length > 0) {\n context.addIssue({ code: \"custom\", path: [\"participantRefs\"], message: \"only a shared-responsibility scope attributes participants or precedence rules\" });\n }\n });\n\n/**\n * Whether a declared document fact HAS an answer, or was considered and does not apply.\n *\n * The two are different answers and a document that confuses them is wrong in different ways: \"we\n * perform no international transfers\" is a citable statement, while \"international transfers are not\n * applicable to us\" is the application declining to answer, and a clause resting on the second\n * asserts something nobody established. A fact ABSENT from the specification is neither — nobody has\n * considered it at all.\n *\n * It lived in `application-assurance-document-fact-projection.…schemas.ts` until 2026-08-28, when\n * that module — a host-computed projection carrying a projector identity, source-head digests and\n * per-contribution authority receipts — was deleted with the rest of the digest machinery\n * (`.claude/rules/one-source-of-truth.md`, Rule 0). This enum was the only thing in its 999 lines\n * that anything outside it used, and it belongs here: it is the resolution kind of a DECLARATION,\n * which is what this file is about.\n */\nexport enum ApplicationAssuranceDocumentFactContributionResolutionKind {\n /** The application declared this fact and it carries a value. */\n KNOWN = \"KNOWN\",\n /** The application considered this fact and it genuinely does not apply. Citable by nothing. */\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n}\n\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst ApplicationDocumentFactDeclarationAuthorityCommonSchema = z.strictObject({\n authorityRef: AuthoredNamespacedRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\n\n/**\n * The DERIVED authority: the accepted semantic member itself is the authority — the committed\n * specification file, which git already identifies per commit — so there is no human to name.\n *\n * It carries no `decidedAt`, and that absence is the whole reason a generator may produce it: there is\n * no decision instant to invent and no accountable actor to fabricate.\n */\nconst ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema = ApplicationDocumentFactDeclarationAuthorityCommonSchema.extend({\n factAuthorityKind: z.literal(AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION),\n});\n\n/** A creator's decision: a named human, at a real instant. */\nconst ApplicationDocumentFactDeclarationCreatorDecisionAuthoritySchema = ApplicationDocumentFactDeclarationAuthorityCommonSchema.extend({\n factAuthorityKind: z.literal(AssuranceDocumentFactAuthorityKind.CREATOR_DECISION),\n decidedByRef: AuthoredNamespacedRefSchema,\n decidedAt: AssuranceIsoDateTimeSchema,\n});\n\n/** A qualified review: a named author, a named reviewer, their qualifications, and what they disclose. */\nconst ApplicationDocumentFactDeclarationQualifiedReviewAuthoritySchema = ApplicationDocumentFactDeclarationAuthorityCommonSchema.extend({\n factAuthorityKind: z.literal(AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW),\n authorRef: AuthoredNamespacedRefSchema,\n reviewerRef: AuthoredNamespacedRefSchema,\n reviewerQualificationRefs: z.array(AuthoredNamespacedRefSchema).min(1),\n independenceDisclosure: z.string().trim().min(1),\n decidedAt: AssuranceIsoDateTimeSchema,\n});\n\n/**\n * Every authority kind — the READER's union.\n *\n * A consumer that reads facts does not care which family a declaration came from: the document asserts\n * the FACT. So this stays whole, and the two WRITER unions below are its disjoint halves.\n *\n * Human decisions retain their actual decision instant and named accountable actors; accepting the\n * surrounding specification never rewrites that instant or silently upgrades the authority kind.\n */\nexport const ApplicationDocumentFactDeclarationAuthoritySchema = z.discriminatedUnion(\"factAuthorityKind\", [\n ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema,\n ApplicationDocumentFactDeclarationCreatorDecisionAuthoritySchema,\n ApplicationDocumentFactDeclarationQualifiedReviewAuthoritySchema,\n]);\nexport type ApplicationDocumentFactDeclarationAuthority = z.infer<typeof ApplicationDocumentFactDeclarationAuthoritySchema>;\n\n/**\n * The AUTHORED half — a human said it.\n *\n * Kept as a union rather than folded into one shape because the two differ in what they must disclose:\n * a creator decision names who decided, a qualified review additionally names who reviewed, against\n * what qualifications, and how independent they were.\n */\nconst ApplicationAuthoredDocumentFactDeclarationAuthoritySchema = z.discriminatedUnion(\"factAuthorityKind\", [\n ApplicationDocumentFactDeclarationCreatorDecisionAuthoritySchema,\n ApplicationDocumentFactDeclarationQualifiedReviewAuthoritySchema,\n]);\n\nconst ApplicationDocumentFactDeclarationCommonSchema = z.strictObject({\n declarationRef: AuthoredNamespacedRefSchema,\n declarationVersion: GovernedDocumentPositiveSafeIntegerSchema,\n factRef: AuthoredNamespacedRefSchema,\n factVersion: GovernedDocumentPositiveSafeIntegerSchema,\n governanceScope: AuthoredGovernanceScopeSchema,\n sensitivityRef: AuthoredNamespacedRefSchema,\n validUntil: AssuranceIsoDateTimeSchema.optional(),\n});\n\n/**\n * The structural minimum the cross-field rules need, so ONE implementation of them serves all three\n * declaration schemas below.\n *\n * Written structurally rather than as `z.infer<typeof …>` because the wide schema does not exist yet at\n * this point in the file, and a narrow declaration is assignable to this shape by construction.\n */\ntype DocumentFactDeclarationRefinementSubject = {\n readonly declarationRef: string;\n readonly factRef: string;\n readonly sensitivityRef: string;\n readonly validUntil?: string | undefined;\n /**\n * Declared OPTIONAL, and it is not a claim that a declaration may omit its authority — the schemas\n * below require it and nothing marks it `.optional()`.\n *\n * Zod 4.3.6 infers a UNION-valued object key as optional. Measured in this package rather than\n * assumed: a plain-object value infers `authority:` (required), while both `z.union` and\n * `z.discriminatedUnion` infer `authority?:`. So a parsed AUTHORED declaration — whose authority is a\n * two-member union — is not assignable to a subject type that requires the field, and writing it\n * required here would refuse the very values this function exists to check.\n *\n * Reads below are unaffected: this package compiles with `strict: false`, so an optional property is\n * not widened with `undefined`.\n */\n readonly authority?: ApplicationDocumentFactDeclarationAuthority;\n};\n\ntype DocumentFactDeclarationRefinementContext = {\n addIssue: (issue: { code: \"custom\"; message: string; path: PropertyKey[] }) => void;\n};\n\n/**\n * The namespace, ordering and instant rules a declaration must satisfy whoever wrote it.\n *\n * Shared deliberately: the DERIVED and AUTHORED families differ in WHO may assert a fact, never in what\n * a well-formed assertion looks like. Two copies of these rules would drift into two grammars for one\n * vocabulary — `invariant-call-site-enumeration.md` #4.\n */\nconst refineDocumentFactDeclaration = (\n declaration: DocumentFactDeclarationRefinementSubject,\n context: DocumentFactDeclarationRefinementContext,\n): void => {\n if (!declaration.declarationRef.startsWith(\"document-fact-declaration:\")) {\n context.addIssue({ code: \"custom\", message: \"declarationRef must use the document-fact-declaration: namespace\", path: [\"declarationRef\"] });\n }\n if (!declaration.factRef.startsWith(\"document-fact:\")) {\n context.addIssue({ code: \"custom\", message: \"factRef must use the document-fact: namespace\", path: [\"factRef\"] });\n }\n if (!declaration.authority.authorityRef.startsWith(\"document-fact-authority:\")) {\n context.addIssue({ code: \"custom\", message: \"authorityRef must use the document-fact-authority: namespace\", path: [\"authority\", \"authorityRef\"] });\n }\n if (!declaration.sensitivityRef.startsWith(\"sensitivity:\")) {\n context.addIssue({ code: \"custom\", message: \"sensitivityRef must use the sensitivity: namespace\", path: [\"sensitivityRef\"] });\n }\n if (declaration.authority.factAuthorityKind === AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW) {\n if (!valuesAreUnique(declaration.authority.reviewerQualificationRefs) || !valuesAreLexicallySorted(declaration.authority.reviewerQualificationRefs)) {\n context.addIssue({\n code: \"custom\",\n message: \"reviewerQualificationRefs must be unique and lexically sorted\",\n path: [\"authority\", \"reviewerQualificationRefs\"],\n });\n }\n if (declaration.authority.authorRef === declaration.authority.reviewerRef) {\n context.addIssue({ code: \"custom\", message: \"a qualified fact reviewer cannot be the fact author\", path: [\"authority\", \"reviewerRef\"] });\n }\n }\n const authorityInstant =\n declaration.authority.factAuthorityKind === AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION ? undefined : declaration.authority.decidedAt;\n if (authorityInstant && declaration.validUntil && Date.parse(declaration.validUntil) <= Date.parse(authorityInstant)) {\n context.addIssue({ code: \"custom\", message: \"validUntil must follow the human authority decision\", path: [\"validUntil\"] });\n }\n};\n\n/**\n * The two declaration shapes a FILE is parsed against. They differ in exactly one field — who may\n * assert the fact — and share every other rule through {@link refineDocumentFactDeclaration}.\n *\n * Written out rather than produced by a shared factory, and that is a measured decision: a generic\n * `<TAuthority extends z.ZodType<…>>` helper compiles, but Zod's `.extend()` cannot carry a generic\n * schema's output into the extended object's inferred type, so every declaration came back missing its\n * `authority` field. A factory that erases the one property the split exists to constrain is worse than\n * two explicit unions.\n */\n\n/**\n * A DERIVED declaration — `document-facts`, the family a producer writes.\n *\n * Its authority union has exactly one member, and that is the point of the split (#192): the\n * `refinement.document-facts` producer regenerates this whole file, so a human decision left in it is\n * silently overwritten on the next run. Narrowing the TYPE is what makes \"a generator may never write a\n * `CREATOR_DECISION`\" structural instead of a rule somebody has to remember — the generation contract\n * already said so in prose (`document-fact-specification-generation.schemas.ts`) and nothing enforced\n * it on the file the generator lands.\n */\nexport const ApplicationDerivedDocumentFactDeclarationSchema = z\n .discriminatedUnion(\"resolutionKind\", [\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN),\n value: z.json(),\n }),\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationDocumentFactDeclarationApplicationSpecificationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.NOT_APPLICABLE),\n reason: z.string().trim().min(1),\n }),\n ])\n .superRefine((declaration, context) => refineDocumentFactDeclaration(declaration, context));\nexport type ApplicationDerivedDocumentFactDeclaration = z.infer<typeof ApplicationDerivedDocumentFactDeclarationSchema>;\n\n/**\n * An AUTHORED declaration — `document-facts-authored`, the family only a human writes.\n *\n * The mirror of the rule above: nothing here may claim `APPLICATION_SPECIFICATION` authority, because a\n * fact the accepted specification can answer belongs in the derived family where it stays in step with\n * the specification. Filing one here would freeze a derivable answer at the moment somebody typed it.\n */\nexport const ApplicationAuthoredDocumentFactDeclarationSchema = z\n .discriminatedUnion(\"resolutionKind\", [\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationAuthoredDocumentFactDeclarationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN),\n value: z.json(),\n }),\n ApplicationDocumentFactDeclarationCommonSchema.extend({\n authority: ApplicationAuthoredDocumentFactDeclarationAuthoritySchema,\n resolutionKind: z.literal(ApplicationAssuranceDocumentFactContributionResolutionKind.NOT_APPLICABLE),\n reason: z.string().trim().min(1),\n }),\n ])\n .superRefine((declaration, context) => refineDocumentFactDeclaration(declaration, context));\nexport type ApplicationAuthoredDocumentFactDeclaration = z.infer<typeof ApplicationAuthoredDocumentFactDeclarationSchema>;\n\n/**\n * One raw application-owned fact decision, from EITHER family — the READER's shape.\n *\n * The declaration is read as authored. Nothing derives ids, digests, accepted-head identities or\n * receipt joins from it any more — that projection was deleted with the digest machinery (see the\n * note on `ApplicationAssuranceDocumentFactContributionResolutionKind` above).\n *\n * A TYPE and not a schema: nothing parses a file against it, because every file belongs to one family\n * or the other. It exists because a consumer that READS facts does not care who asserted them — the\n * document asserts the FACT — so it should not have to name both halves.\n */\nexport type ApplicationDocumentFactDeclaration = ApplicationDerivedDocumentFactDeclaration | ApplicationAuthoredDocumentFactDeclaration;\n\n/**\n * A set of fact declarations from EITHER family — what a reader takes.\n *\n * Named rather than written inline at each reader because there are several, and because the concept\n * is worth stating: \"the facts\", regardless of which of the two files carried them. A caller holding\n * both passes both.\n */\nexport type ApplicationDocumentFactDeclarationSet = { readonly declarations: readonly ApplicationDocumentFactDeclaration[] };\n\nconst applicationDocumentFactDeclarationScopeKey = (declaration: ApplicationDocumentFactDeclaration): string =>\n `${declaration.factRef}@${declaration.factVersion}:${JSON.stringify(declaration.governanceScope)}`;\n\nconst buildDocumentFactSpecificationSchema = <TDeclaration extends z.ZodType<ApplicationDocumentFactDeclaration>>(declarationSchema: TDeclaration) =>\n z\n .strictObject({\n schemaVersion: z.literal(1),\n specificationRef: AuthoredNamespacedRefSchema,\n specificationVersion: GovernedDocumentPositiveSafeIntegerSchema,\n declarations: z.array(declarationSchema).min(1),\n })\n .superRefine((specification, context) => {\n if (!specification.specificationRef.startsWith(\"document-fact-specification:\")) {\n context.addIssue({\n code: \"custom\",\n message: \"specificationRef must use the document-fact-specification: namespace\",\n path: [\"specificationRef\"],\n });\n }\n const declarationIdentities = specification.declarations.map((declaration) => `${declaration.declarationRef}@${declaration.declarationVersion}`);\n if (!valuesAreUnique(declarationIdentities) || !valuesAreLexicallySorted(declarationIdentities)) {\n context.addIssue({ code: \"custom\", message: \"declarations must be unique and lexically sorted by identity\", path: [\"declarations\"] });\n }\n const factScopeKeys = specification.declarations.map(applicationDocumentFactDeclarationScopeKey);\n if (!valuesAreUnique(factScopeKeys)) {\n context.addIssue({\n code: \"custom\",\n message: \"a specification may declare only one current value for each fact version and governance scope\",\n path: [\"declarations\"],\n });\n }\n });\n\n/**\n * @wildo_source:part:start saas.specifications.application-document-fact-specification.contract facet:layer:specification facet:family:assurance\n *\n * Accepted application declaration of governed-document facts THE ACCEPTED SPECIFICATION ANSWERS.\n * Import from `@wildo-ai/saas-specifications/application-creation`.\n *\n * This family carries raw decisions only. It never authors reviewer grants,\n * document approvals or releases, and nothing seals, digests or receipts a\n * declaration after it is written: the committed file is the accepted\n * declaration. A missing family or missing declaration therefore remains a\n * visible fact gap.\n *\n * One snapshot may contain facts for several document definitions, but it may\n * contain only one current declaration for a given fact version and governance\n * scope. Replacing a decision requires a new declaration/specification version\n * and normal specification-family acceptance; conflicting current values are\n * rejected at the authoring boundary instead of being hidden downstream.\n *\n * ## This file is REGENERATED, and that is why it accepts one authority kind\n *\n * `refinement.document-facts` rewrites it whole. Before #192 the same file also held the facts only a\n * human may establish, so the next producer run silently deleted them — and there was no compare-and-\n * swap to notice, by design (`.claude/rules/one-source-of-truth.md` Rule 0). The facts a human owns\n * live in {@link ApplicationAuthoredDocumentFactSpecificationSchema}, in their own file, which no\n * producer writes.\n */\nexport const ApplicationDocumentFactSpecificationSchema = buildDocumentFactSpecificationSchema(ApplicationDerivedDocumentFactDeclarationSchema);\nexport type ApplicationDocumentFactSpecification = z.infer<typeof ApplicationDocumentFactSpecificationSchema>;\n/** @wildo_source:part:end saas.specifications.application-document-fact-specification.contract */\n\n/**\n * @wildo_source:part:start saas.specifications.application-authored-document-fact-specification.contract facet:layer:specification facet:family:assurance\n *\n * Accepted application declaration of governed-document facts ONLY A HUMAN MAY ESTABLISH — a creator's\n * decision, or a qualified review. Import from\n * `@wildo-ai/saas-specifications/application-creation`.\n *\n * Structurally identical to {@link ApplicationDocumentFactSpecificationSchema}: a declaration is a\n * declaration whoever wrote it, and a document reading facts does not care which file one came from.\n * The two are separate FAMILIES so that neither writer can destroy the other's half — the derived file\n * is regenerated by a producer, this one is only ever edited by a person or by a host acting on a\n * person's answers.\n *\n * Nothing in here may carry `APPLICATION_SPECIFICATION` authority. A fact the specification can answer\n * belongs in the derived family, where it is re-derived when the specification moves; pinning it here\n * would freeze yesterday's answer under a human's name.\n */\nexport const ApplicationAuthoredDocumentFactSpecificationSchema = buildDocumentFactSpecificationSchema(ApplicationAuthoredDocumentFactDeclarationSchema);\nexport type ApplicationAuthoredDocumentFactSpecification = z.infer<typeof ApplicationAuthoredDocumentFactSpecificationSchema>;\n/** @wildo_source:part:end saas.specifications.application-authored-document-fact-specification.contract */\n\nexport enum ApplicationDocumentFactSpecificationIssueSeverity {\n ERROR = \"ERROR\",\n}\n\nexport interface ApplicationDocumentFactSpecificationIssue {\n readonly kind: \"invalid_document_fact_specification\";\n readonly severity: ApplicationDocumentFactSpecificationIssueSeverity;\n readonly path: string;\n readonly message: string;\n}\n\n/**\n * Content validation the schema alone cannot express.\n *\n * Keep the authorable family deliberately narrower than the portable resolver authority union: runtime\n * evidence belongs to an evidence producer, not to a TypeScript specification snapshot.\n *\n * ## The vacuity check, and why the schema cannot do it\n *\n * A KNOWN declaration's `value` is typed `z.json()`, because a fact may legitimately be prose, a number,\n * a date or a small structured record — the family cannot know which. That permissiveness leaves one\n * hole it must not leave: `\"\"`, `\" \"` and `null` all satisfy `z.json()` while carrying nothing. A\n * governed document clause resting on such a declaration cites a fact that EXISTS and SAYS NOTHING,\n * which is worse than citing an absent one, because the cross-family binding check\n * (`validateComplianceDocumentCandidateFactBinding`) sees a declared fact and passes it.\n *\n * That is the same vacuity class already closed on vision, roadmap, requirements and the build plan:\n * schema-valid, validator-clean, and carrying no information a reader could act on.\n *\n * This function returned `{ ok: true, issues: [] }` on every input until 2026-08-28 — the family's\n * semantic layer was empty while its schema did all the work, so the two gaps above were unreachable\n * by any check.\n *\n * ## Serves BOTH fact families\n *\n * It reads `resolutionKind`, `value` and `factRef`, all of which are common to the derived and authored\n * declarations — a vacuous value is vacuous whoever asserted it. So the parameter is the structural\n * minimum rather than one family's type, and neither family gets a second copy of this rule.\n */\nexport function validateApplicationDocumentFactSpecification(specification: ApplicationDocumentFactDeclarationSet): {\n ok: boolean;\n issues: ApplicationDocumentFactSpecificationIssue[];\n} {\n const issues: ApplicationDocumentFactSpecificationIssue[] = [];\n specification.declarations.forEach((declaration, index) => {\n if (declaration.resolutionKind !== ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN) return;\n const value = declaration.value;\n const isVacuous =\n value === null\n || (typeof value === \"string\" && value.trim().length === 0)\n || (Array.isArray(value) && value.length === 0)\n || (typeof value === \"object\" && !Array.isArray(value) && value !== null && Object.keys(value).length === 0);\n if (!isVacuous) return;\n issues.push({\n kind: \"invalid_document_fact_specification\",\n severity: ApplicationDocumentFactSpecificationIssueSeverity.ERROR,\n path: `declarations.${index}.value`,\n message:\n `\"${declaration.factRef}\" is declared KNOWN but carries no value. `\n + \"State the fact, or declare it NOT_APPLICABLE with a reason — an empty value is a fact a document could cite and learn nothing from.\",\n });\n });\n return { ok: issues.length === 0, issues };\n}\n"]}
@@ -4,9 +4,9 @@ import { z } from "zod";
4
4
  * governed-document requirement.
5
5
  *
6
6
  * This is deliberately a policy vocabulary, not a claim about legal quality,
7
- * reviewer qualification or operational effectiveness. The runtime owns all
8
- * digest, replay and source-head checks. The application author selects only
9
- * the accountable human process that may expose a generated draft.
7
+ * reviewer qualification or operational effectiveness. The application author
8
+ * selects only the accountable human process that may expose a generated
9
+ * draft; which revision of the document that process saw is git's record.
10
10
  */
11
11
  export declare enum ApplicationDocumentReleasePolicyLane {
12
12
  /** The document may be generated and retained, but cannot be released or published. */
@@ -1 +1 @@
1
- {"version":3,"file":"application-document-release-policy-specification.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/application-document-release-policy-specification.application-creation.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB;;;;;;;;GAQG;AACH,oBAAY,oCAAoC;IAC9C,uFAAuF;IACvF,UAAU,eAAe;IACzB,uGAAuG;IACvG,iBAAiB,sBAAsB;IACvC,mGAAmG;IACnG,gBAAgB,qBAAqB;CACtC;AAED;;;;;GAKG;AACH,eAAO,MAAM,iDAAiD;;;;;;;IAQ1D,mFAAmF;;kBAmBnF,CAAC;AACL,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iDAAiD,CAAC,CAAC;AAE5H;;;;;;GAMG;AACH,eAAO,MAAM,mDAAmD;;;;;;;;;QA7B5D,mFAAmF;;;kBA+CnF,CAAC;AACL,MAAM,MAAM,6CAA6C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mDAAmD,CAAC,CAAC;AAEhI,uFAAuF;AACvF,eAAO,MAAM,gDAAgD,GAC3D,eAAe,6CAA6C,EAC5D,aAAa;IAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;CAAE,KACpF,2CAA2C,GAAG,SAG9C,CAAC"}
1
+ {"version":3,"file":"application-document-release-policy-specification.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../src/application-creation/application-document-release-policy-specification.application-creation.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB;;;;;;;;GAQG;AACH,oBAAY,oCAAoC;IAC9C,uFAAuF;IACvF,UAAU,eAAe;IACzB,uGAAuG;IACvG,iBAAiB,sBAAsB;IACvC,mGAAmG;IACnG,gBAAgB,qBAAqB;CACtC;AAED;;;;;GAKG;AACH,eAAO,MAAM,iDAAiD;;;;;;;IAQ1D,mFAAmF;;kBAmBnF,CAAC;AACL,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iDAAiD,CAAC,CAAC;AAE5H;;;;;;GAMG;AACH,eAAO,MAAM,mDAAmD;;;;;;;;;QA7B5D,mFAAmF;;;kBA+CnF,CAAC;AACL,MAAM,MAAM,6CAA6C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mDAAmD,CAAC,CAAC;AAEhI,uFAAuF;AACvF,eAAO,MAAM,gDAAgD,GAC3D,eAAe,6CAA6C,EAC5D,aAAa;IAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;CAAE,KACpF,2CAA2C,GAAG,SAG9C,CAAC"}
@@ -14,9 +14,9 @@ const addUniqueSortedIssue = (values, context, path, label) => {
14
14
  * governed-document requirement.
15
15
  *
16
16
  * This is deliberately a policy vocabulary, not a claim about legal quality,
17
- * reviewer qualification or operational effectiveness. The runtime owns all
18
- * digest, replay and source-head checks. The application author selects only
19
- * the accountable human process that may expose a generated draft.
17
+ * reviewer qualification or operational effectiveness. The application author
18
+ * selects only the accountable human process that may expose a generated
19
+ * draft; which revision of the document that process saw is git's record.
20
20
  */
21
21
  export var ApplicationDocumentReleasePolicyLane;
22
22
  (function (ApplicationDocumentReleasePolicyLane) {
@@ -1 +1 @@
1
- {"version":3,"file":"application-document-release-policy-specification.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/application-document-release-policy-specification.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,KAAa,EAAU,EAAE,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjH,MAAM,eAAe,GAAG,CAAC,MAAyB,EAAW,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,CAAC;AACvG,MAAM,wBAAwB,GAAG,CAAC,MAAyB,EAAW,EAAE,CACtE,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtG,MAAM,oBAAoB,GAAG,CAAC,MAAyB,EAAE,OAAwB,EAAE,IAAmB,EAAE,KAAa,EAAQ,EAAE;IAC7H,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,CAAC;QAClE,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,sCAAsC,EAAE,IAAI,EAAE,CAAC,CAAC;IACtG,CAAC;AACH,CAAC,CAAC;AAEF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FAAgF;YACzF,IAAI,EAAE,CAAC,mCAAmC,CAAC;SAC5C,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC;AAGL;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,CAAC;KACjE,YAAY,CAAC;IACZ,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAC9E,CAAC;KACD,WAAW,CAAC,CAAC,aAAa,EAAE,OAAO,EAAE,EAAE;IACtC,oBAAoB,CAClB,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,CAAC,cAAc,IAAI,SAAS,CAAC,kBAAkB,EAAE,CAAC,EAC1G,OAAO,EACP,CAAC,YAAY,CAAC,EACd,uCAAuC,CACxC,CAAC;IACF,oBAAoB,CAClB,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,aAAa,EAAE,CAAC,EAChG,OAAO,EACP,CAAC,YAAY,CAAC,EACd,2BAA2B,CAC5B,CAAC;AACJ,CAAC,CAAC,CAAC;AAGL,uFAAuF;AACvF,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAC9D,aAA4D,EAC5D,WAAqF,EAC5B,EAAE,CAC3D,aAAa,CAAC,UAAU,CAAC,IAAI,CAC3B,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc,KAAK,WAAW,CAAC,cAAc,IAAI,SAAS,CAAC,kBAAkB,KAAK,WAAW,CAAC,kBAAkB,CAC1I,CAAC","sourcesContent":["import { GovernedDocumentPositiveSafeIntegerSchema } from \"@wildo-ai/saas-models\";\nimport { z } from \"zod\";\n\nimport { AssuranceNamespacedRefSchema } from \"../assurance.exports\";\n\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\n/**\n * The human-facing release lane selected by an application for one exact\n * governed-document requirement.\n *\n * This is deliberately a policy vocabulary, not a claim about legal quality,\n * reviewer qualification or operational effectiveness. The runtime owns all\n * digest, replay and source-head checks. The application author selects only\n * the accountable human process that may expose a generated draft.\n */\nexport enum ApplicationDocumentReleasePolicyLane {\n /** The document may be generated and retained, but cannot be released or published. */\n DRAFT_ONLY = \"DRAFT_ONLY\",\n /** An accountable operator may release an exact draft with an explicit self-attestation limitation. */\n OPERATOR_ATTESTED = \"OPERATOR_ATTESTED\",\n /** The existing strict reviewer-authority and review-decision route is required before release. */\n QUALIFIED_REVIEW = \"QUALIFIED_REVIEW\",\n}\n\n/**\n * One accepted, application-owned selection for one versioned document\n * requirement. No digest, reviewer grant, external standard identifier or\n * runtime evidence is authorable here: those are either internal mechanics or\n * separate authority records.\n */\nexport const ApplicationDocumentReleasePolicySelectionV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n policyRef: AssuranceNamespacedRefSchema,\n policyVersion: GovernedDocumentPositiveSafeIntegerSchema,\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: GovernedDocumentPositiveSafeIntegerSchema,\n lane: z.enum(ApplicationDocumentReleasePolicyLane),\n /** Human-readable limitations that must accompany an operator-attested release. */\n operatorAttestationLimitationRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((selection, context) => {\n addUniqueSortedIssue(selection.operatorAttestationLimitationRefs, context, [\"operatorAttestationLimitationRefs\"], \"operator attestation limitation refs\");\n if (selection.lane === ApplicationDocumentReleasePolicyLane.OPERATOR_ATTESTED && selection.operatorAttestationLimitationRefs.length === 0) {\n context.addIssue({\n code: \"custom\",\n message: \"an operator-attested release policy requires at least one explicit limitation\",\n path: [\"operatorAttestationLimitationRefs\"],\n });\n }\n if (selection.lane !== ApplicationDocumentReleasePolicyLane.OPERATOR_ATTESTED && selection.operatorAttestationLimitationRefs.length > 0) {\n context.addIssue({\n code: \"custom\",\n message: \"operator attestation limitations are valid only for the OPERATOR_ATTESTED lane\",\n path: [\"operatorAttestationLimitationRefs\"],\n });\n }\n });\nexport type ApplicationDocumentReleasePolicySelectionV1 = z.infer<typeof ApplicationDocumentReleasePolicySelectionV1Schema>;\n\n/**\n * Accepted application policy selecting the release lane for every governed\n * document requirement it intends to expose. It is deliberately separate from\n * the compliance program (document necessity) and document-publication\n * specification (locale/jurisdiction routing), preventing any one decision\n * from silently widening the others.\n */\nexport const ApplicationDocumentReleasePolicySpecificationSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n selections: z.array(ApplicationDocumentReleasePolicySelectionV1Schema).min(1),\n })\n .superRefine((specification, context) => {\n addUniqueSortedIssue(\n specification.selections.map((selection) => `${selection.requirementRef}@${selection.requirementVersion}`),\n context,\n [\"selections\"],\n \"release-policy requirement identities\",\n );\n addUniqueSortedIssue(\n specification.selections.map((selection) => `${selection.policyRef}@${selection.policyVersion}`),\n context,\n [\"selections\"],\n \"release-policy identities\",\n );\n });\nexport type ApplicationDocumentReleasePolicySpecification = z.infer<typeof ApplicationDocumentReleasePolicySpecificationSchema>;\n\n/** Resolve exactly one accepted release-policy selection or fail closed on absence. */\nexport const resolveApplicationDocumentReleasePolicySelection = (\n specification: ApplicationDocumentReleasePolicySpecification,\n requirement: { readonly requirementRef: string; readonly requirementVersion: number },\n): ApplicationDocumentReleasePolicySelectionV1 | undefined =>\n specification.selections.find(\n (selection) => selection.requirementRef === requirement.requirementRef && selection.requirementVersion === requirement.requirementVersion,\n );\n"]}
1
+ {"version":3,"file":"application-document-release-policy-specification.application-creation.schemas.js","sourceRoot":"","sources":["../../../src/application-creation/application-document-release-policy-specification.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,KAAa,EAAU,EAAE,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjH,MAAM,eAAe,GAAG,CAAC,MAAyB,EAAW,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,CAAC;AACvG,MAAM,wBAAwB,GAAG,CAAC,MAAyB,EAAW,EAAE,CACtE,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtG,MAAM,oBAAoB,GAAG,CAAC,MAAyB,EAAE,OAAwB,EAAE,IAAmB,EAAE,KAAa,EAAQ,EAAE;IAC7H,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,CAAC;QAClE,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,sCAAsC,EAAE,IAAI,EAAE,CAAC,CAAC;IACtG,CAAC;AACH,CAA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OAAO,EAAE,gFAAgF;YACzF,IAAI,EAAE,CAAC,mCAAmC,CAAC;SAC5C,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC;AAGL;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,CAAC;KACjE,YAAY,CAAC;IACZ,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAC9E,CAAC;KACD,WAAW,CAAC,CAAC,aAAa,EAAE,OAAO,EAAE,EAAE;IACtC,oBAAoB,CAClB,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,CAAC,cAAc,IAAI,SAAS,CAAC,kBAAkB,EAAE,CAAC,EAC1G,OAAO,EACP,CAAC,YAAY,CAAC,EACd,uCAAuC,CACxC,CAAC;IACF,oBAAoB,CAClB,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,aAAa,EAAE,CAAC,EAChG,OAAO,EACP,CAAC,YAAY,CAAC,EACd,2BAA2B,CAC5B,CAAC;AACJ,CAAC,CAAC,CAAC;AAGL,uFAAuF;AACvF,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAC9D,aAA4D,EAC5D,WAAqF,EAC5B,EAAE,CAC3D,aAAa,CAAC,UAAU,CAAC,IAAI,CAC3B,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,cAAc,KAAK,WAAW,CAAC,cAAc,IAAI,SAAS,CAAC,kBAAkB,KAAK,WAAW,CAAC,kBAAkB,CAC1I,CAAC","sourcesContent":["import { GovernedDocumentPositiveSafeIntegerSchema } from \"@wildo-ai/saas-models\";\nimport { z } from \"zod\";\n\nimport { AssuranceNamespacedRefSchema } from \"../assurance.exports\";\n\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\n/**\n * The human-facing release lane selected by an application for one exact\n * governed-document requirement.\n *\n * This is deliberately a policy vocabulary, not a claim about legal quality,\n * reviewer qualification or operational effectiveness. The application author\n * selects only the accountable human process that may expose a generated\n * draft; which revision of the document that process saw is git's record.\n */\nexport enum ApplicationDocumentReleasePolicyLane {\n /** The document may be generated and retained, but cannot be released or published. */\n DRAFT_ONLY = \"DRAFT_ONLY\",\n /** An accountable operator may release an exact draft with an explicit self-attestation limitation. */\n OPERATOR_ATTESTED = \"OPERATOR_ATTESTED\",\n /** The existing strict reviewer-authority and review-decision route is required before release. */\n QUALIFIED_REVIEW = \"QUALIFIED_REVIEW\",\n}\n\n/**\n * One accepted, application-owned selection for one versioned document\n * requirement. No digest, reviewer grant, external standard identifier or\n * runtime evidence is authorable here: those are either internal mechanics or\n * separate authority records.\n */\nexport const ApplicationDocumentReleasePolicySelectionV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n policyRef: AssuranceNamespacedRefSchema,\n policyVersion: GovernedDocumentPositiveSafeIntegerSchema,\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: GovernedDocumentPositiveSafeIntegerSchema,\n lane: z.enum(ApplicationDocumentReleasePolicyLane),\n /** Human-readable limitations that must accompany an operator-attested release. */\n operatorAttestationLimitationRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((selection, context) => {\n addUniqueSortedIssue(selection.operatorAttestationLimitationRefs, context, [\"operatorAttestationLimitationRefs\"], \"operator attestation limitation refs\");\n if (selection.lane === ApplicationDocumentReleasePolicyLane.OPERATOR_ATTESTED && selection.operatorAttestationLimitationRefs.length === 0) {\n context.addIssue({\n code: \"custom\",\n message: \"an operator-attested release policy requires at least one explicit limitation\",\n path: [\"operatorAttestationLimitationRefs\"],\n });\n }\n if (selection.lane !== ApplicationDocumentReleasePolicyLane.OPERATOR_ATTESTED && selection.operatorAttestationLimitationRefs.length > 0) {\n context.addIssue({\n code: \"custom\",\n message: \"operator attestation limitations are valid only for the OPERATOR_ATTESTED lane\",\n path: [\"operatorAttestationLimitationRefs\"],\n });\n }\n });\nexport type ApplicationDocumentReleasePolicySelectionV1 = z.infer<typeof ApplicationDocumentReleasePolicySelectionV1Schema>;\n\n/**\n * Accepted application policy selecting the release lane for every governed\n * document requirement it intends to expose. It is deliberately separate from\n * the compliance program (document necessity) and document-publication\n * specification (locale/jurisdiction routing), preventing any one decision\n * from silently widening the others.\n */\nexport const ApplicationDocumentReleasePolicySpecificationSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n selections: z.array(ApplicationDocumentReleasePolicySelectionV1Schema).min(1),\n })\n .superRefine((specification, context) => {\n addUniqueSortedIssue(\n specification.selections.map((selection) => `${selection.requirementRef}@${selection.requirementVersion}`),\n context,\n [\"selections\"],\n \"release-policy requirement identities\",\n );\n addUniqueSortedIssue(\n specification.selections.map((selection) => `${selection.policyRef}@${selection.policyVersion}`),\n context,\n [\"selections\"],\n \"release-policy identities\",\n );\n });\nexport type ApplicationDocumentReleasePolicySpecification = z.infer<typeof ApplicationDocumentReleasePolicySpecificationSchema>;\n\n/** Resolve exactly one accepted release-policy selection or fail closed on absence. */\nexport const resolveApplicationDocumentReleasePolicySelection = (\n specification: ApplicationDocumentReleasePolicySpecification,\n requirement: { readonly requirementRef: string; readonly requirementVersion: number },\n): ApplicationDocumentReleasePolicySelectionV1 | undefined =>\n specification.selections.find(\n (selection) => selection.requirementRef === requirement.requirementRef && selection.requirementVersion === requirement.requirementVersion,\n );\n"]}
@@ -65,8 +65,8 @@ export declare enum ApplicationSpecificationFamilySemanticSchemaRef {
65
65
  /**
66
66
  * Accepted raw document facts the ACCEPTED SPECIFICATION answers. Distinct
67
67
  * from the compliance program (which declares requirements) and publication
68
- * variants (which declare routing). The host seals declarations from this
69
- * family into resolver contributions.
68
+ * variants (which declare routing). Declarations are read as authored;
69
+ * nothing seals them into a resolver contribution any more.
70
70
  *
71
71
  * Regenerated whole by `refinement.document-facts`, which is why the human
72
72
  * half is a separate family below (#192).
@@ -1 +1 @@
1
- {"version":3,"file":"application-specification-family-identity.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/application-specification-family-identity.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,sCAAsC,4EAGL,CAAC;AAC/C,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEtG;;;;;;;;;;;;;GAaG;AACH,oBAAY,+CAA+C;IACzD,gCAAgC,4EAA4E;IAC5G,eAAe,uCAAuC;IACtD,eAAe,uCAAuC;IACtD,qBAAqB,6CAA6C;IAClE,4BAA4B,mDAAmD;IAC/E,gBAAgB,wCAAwC;IACxD,qBAAqB,2CAA2C;IAChE;;;;;OAKG;IACH,cAAc,sCAAsC;IACpD,iGAAiG;IACjG,sBAAsB,4CAA4C;IAClE,4BAA4B,kDAAkD;IAC9E,cAAc,sCAAsC;IACpD,+BAA+B,sDAAsD;IACrF,6BAA6B,oDAAoD;IACjF;;;;;OAKG;IACH,8CAA8C,oEAAoE;IAClH;;;;OAIG;IACH,iDAAiD,sEAAsE;IACvH;;;;;;;;OAQG;IACH,uCAAuC,6DAA6D;IACpG;;;;;;;;;;;;OAYG;IACH,gDAAgD,qEAAqE;IACrH;;;;;;;;;;;;;;OAcG;IACH,8BAA8B,qDAAqD;CACpF;AAED,eAAO,MAAM,oDAAoD,0FAaL,CAAC;AAC7D,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oDAAoD,CAAC,CAAC"}
1
+ {"version":3,"file":"application-specification-family-identity.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../src/application-creation/application-specification-family-identity.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,sCAAsC,4EAGL,CAAC;AAC/C,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEtG;;;;;;;;;;;;;GAaG;AACH,oBAAY,+CAA+C;IACzD,gCAAgC,4EAA4E;IAC5G,eAAe,uCAAuC;IACtD,eAAe,uCAAuC;IACtD,qBAAqB,6CAA6C;IAClE,4BAA4B,mDAAmD;IAC/E,gBAAgB,wCAAwC;IACxD,qBAAqB,2CAA2C;IAChE;;;;;OAKG;IACH,cAAc,sCAAsC;IACpD,iGAAiG;IACjG,sBAAsB,4CAA4C;IAClE,4BAA4B,kDAAkD;IAC9E,cAAc,sCAAsC;IACpD,+BAA+B,sDAAsD;IACrF,6BAA6B,oDAAoD;IACjF;;;;;OAKG;IACH,8CAA8C,oEAAoE;IAClH;;;;OAIG;IACH,iDAAiD,sEAAsE;IACvH;;;;;;;;OAQG;IACH,uCAAuC,6DAA6D;IACpG;;;;;;;;;;;;OAYG;IACH,gDAAgD,qEAAqE;IACrH;;;;;;;;;;;;;;OAcG;IACH,8BAA8B,qDAAqD;CACpF;AAED,eAAO,MAAM,oDAAoD,0FAaL,CAAC;AAC7D,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oDAAoD,CAAC,CAAC"}
@@ -68,8 +68,8 @@ export var ApplicationSpecificationFamilySemanticSchemaRef;
68
68
  /**
69
69
  * Accepted raw document facts the ACCEPTED SPECIFICATION answers. Distinct
70
70
  * from the compliance program (which declares requirements) and publication
71
- * variants (which declare routing). The host seals declarations from this
72
- * family into resolver contributions.
71
+ * variants (which declare routing). Declarations are read as authored;
72
+ * nothing seals them into a resolver contribution any more.
73
73
  *
74
74
  * Regenerated whole by `refinement.document-facts`, which is why the human
75
75
  * half is a separate family below (#192).