@wildo-ai/saas-specifications 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (857) hide show
  1. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  16. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  17. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  19. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  20. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  21. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  22. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  23. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  24. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  25. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  26. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  27. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  28. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  30. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  31. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  32. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  33. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  34. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  35. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  36. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  37. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  38. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  40. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  41. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  42. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  43. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  44. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  46. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  47. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  48. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +118 -0
  51. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  52. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +65 -3
  53. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  54. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +498 -7
  55. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  56. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +472 -19
  57. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  58. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  59. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  61. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +2 -0
  62. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  63. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +2 -0
  64. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  65. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  66. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  67. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  68. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  69. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  70. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  71. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  73. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  75. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  77. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  78. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  79. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  80. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  81. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  82. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  84. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  85. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  86. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  87. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +9 -9
  88. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  89. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  92. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  93. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  94. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  95. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  96. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  97. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  98. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  100. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  101. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/index.d.ts.map +1 -1
  103. package/dist/esm/_core/index.js.map +1 -1
  104. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  105. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  106. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  107. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  109. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  110. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  112. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  113. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  114. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  115. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  116. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  118. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  120. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  121. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  122. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  124. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  125. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -18
  126. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  127. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  128. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  129. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  130. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  132. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  133. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  134. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  135. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  136. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  137. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  138. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +22 -16
  139. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  140. package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -11
  141. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  142. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  143. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +12 -8
  144. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  145. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +12 -8
  146. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  147. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  148. package/dist/esm/_core/provider-specification.schemas.d.ts +16 -0
  149. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  150. package/dist/esm/_core/provider-specification.schemas.js +0 -20
  151. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  152. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  153. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  154. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  155. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  158. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  159. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  160. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  161. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  163. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  164. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  166. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  167. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  168. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  169. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  170. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  171. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  172. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  173. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  174. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  175. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  176. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  178. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  179. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  180. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
  181. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
  182. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  183. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  184. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  185. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  186. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  188. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  189. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  190. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  191. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  192. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  193. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  194. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  195. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  196. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  197. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  198. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  199. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  200. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  201. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  202. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  203. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  204. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  205. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  206. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  207. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  208. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +8 -0
  209. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  210. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +8 -0
  211. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  212. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  213. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  214. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +1 -1
  215. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  216. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  217. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  218. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +11 -0
  219. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  220. package/dist/esm/assurance/assurance-authority-basis.definitions.js +37 -4
  221. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  222. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +2 -2
  223. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  224. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
  225. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  226. package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
  227. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  228. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  229. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  230. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +22 -9
  231. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  232. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +2002 -29
  233. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  234. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  235. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  236. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  237. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +30 -0
  238. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  239. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +40 -0
  240. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  241. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  242. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  243. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  244. package/dist/esm/assurance/assurance-program.schemas.d.ts +30 -14
  245. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  246. package/dist/esm/assurance/assurance-program.schemas.js +14 -6
  247. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  248. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  249. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  250. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  251. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +29 -0
  252. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  253. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  254. package/dist/esm/assurance.exports.d.ts.map +1 -1
  255. package/dist/esm/companion-exports.d.ts.map +1 -1
  256. package/dist/esm/companion-exports.js.map +1 -1
  257. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  258. package/dist/esm/engine/_bootstrap.js.map +1 -1
  259. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  260. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  261. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  262. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  263. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  264. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  265. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  266. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  267. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  268. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  269. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  271. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  272. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +47 -0
  273. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
  274. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +355 -0
  275. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
  276. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  277. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  278. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  279. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  280. package/dist/esm/engine/auth/resources/index.js +1 -0
  281. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  282. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  283. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  284. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  285. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  287. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  288. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  289. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  290. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  292. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  293. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  294. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  295. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  297. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  298. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  299. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +9 -1
  302. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +2 -0
  304. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  305. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  306. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  307. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  308. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  309. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  310. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  311. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  313. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  314. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  316. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  317. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  318. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  321. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  322. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  323. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  324. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  325. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  326. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  327. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  328. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  329. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +69 -0
  330. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
  331. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +316 -0
  332. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
  333. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  334. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  336. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  337. package/dist/esm/engine/compliance/resources/index.js +1 -0
  338. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  339. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  340. package/dist/esm/engine/engine-resource-specifications.registry.js +4 -0
  341. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  342. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  343. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  344. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  345. package/dist/esm/engine/errors/error-messages.specification.js +19 -0
  346. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  347. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  348. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  349. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  350. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  351. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  352. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  353. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  354. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  356. package/dist/esm/engine/features/index.d.ts.map +1 -1
  357. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  358. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  359. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  360. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  361. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  362. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  363. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  364. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  365. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  366. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  367. package/dist/esm/engine/files/index.d.ts.map +1 -1
  368. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  369. package/dist/esm/engine/files/resources/files.resource.specification.js +1 -1
  370. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  371. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  372. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  373. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  374. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  375. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  376. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  377. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  378. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  379. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  380. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  381. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  382. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  383. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  384. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  387. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  388. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  390. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  391. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  392. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  394. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  395. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  396. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  397. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  399. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  400. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  402. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  403. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  404. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  405. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  406. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  408. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  409. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  410. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  412. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  414. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  415. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  416. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  417. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  418. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  419. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  420. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  421. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  422. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  423. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  424. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  425. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  427. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  428. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  429. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  430. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  431. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  433. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  435. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  436. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  437. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  438. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
  439. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
  440. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  442. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  443. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  444. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  445. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  447. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  448. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  449. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  450. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  451. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  452. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  453. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  455. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  456. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  458. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  459. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  460. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  462. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  463. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  464. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  465. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  466. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  467. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  468. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  470. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  471. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  474. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  476. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  477. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  479. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  480. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  483. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  484. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  486. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  487. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  488. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  490. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  493. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  494. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  495. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  500. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  501. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  503. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  507. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  509. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  510. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  512. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  513. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  514. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  515. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  516. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  518. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  519. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  520. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  521. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  522. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  523. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  524. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  525. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  526. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  527. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  528. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  529. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  530. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  531. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  532. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  533. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  534. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  535. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  536. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  537. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  539. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  540. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  543. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  544. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  545. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  546. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  547. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  548. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  549. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  550. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  551. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  552. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  554. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  555. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  556. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  559. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  560. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  561. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  562. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  563. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  565. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  568. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  570. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  571. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  573. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  574. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  575. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  577. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  578. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  579. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  580. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  582. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  583. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  584. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  586. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  587. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  588. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  591. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  592. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  594. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  595. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  596. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  598. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  599. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  602. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  603. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  604. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  606. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  607. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  614. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  615. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  616. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  617. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  618. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  619. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  620. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  622. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  623. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  624. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  626. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  627. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  628. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  629. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  631. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  632. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  634. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  635. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  636. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  637. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  638. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  642. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  645. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  646. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  647. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  648. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  649. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  650. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  651. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  653. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  654. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  658. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  659. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  663. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  664. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  665. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  667. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  668. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  669. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  671. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  672. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  674. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  675. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  676. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  678. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  679. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  680. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  682. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  683. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  684. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  686. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  687. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  688. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  689. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  690. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  691. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  692. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  693. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  694. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  695. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  696. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  698. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  699. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  700. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  701. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  702. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  703. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  704. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  706. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  707. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  708. package/dist/esm/engine/index.d.ts.map +1 -1
  709. package/dist/esm/engine/index.js.map +1 -1
  710. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  711. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  712. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  713. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  714. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  715. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  716. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  718. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  720. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  721. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  722. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  723. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  724. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  725. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  726. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  729. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  730. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  732. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  734. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  735. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  737. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  738. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  739. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  740. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  741. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  742. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  743. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  744. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  745. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  746. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  747. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  748. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
  749. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
  750. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
  752. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  753. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/providers/apple.provider.specification.js +10 -1
  755. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  756. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  757. package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
  758. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  759. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/providers/github.provider.specification.js +10 -1
  761. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  762. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/providers/google.provider.specification.js +10 -1
  764. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  765. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  766. package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
  767. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  768. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  769. package/dist/esm/engine/providers/index.js.map +1 -1
  770. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  771. package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -1
  772. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  773. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  774. package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
  775. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  776. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  777. package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
  778. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  779. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  780. package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
  781. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  782. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  783. package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
  784. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  785. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
  787. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  788. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  789. package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
  790. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  791. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  792. package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
  793. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  794. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  795. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  797. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  798. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  800. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  801. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  802. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  803. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  804. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  806. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  808. package/dist/esm/engine/users/index.d.ts.map +1 -1
  809. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  810. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  811. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  812. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  813. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  814. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  815. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  816. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  817. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  819. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  820. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  822. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  824. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  825. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  826. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  827. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  828. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
  830. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  831. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  832. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  833. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  834. package/dist/esm/index.d.ts.map +1 -1
  835. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  836. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  837. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  838. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  839. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  840. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  841. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  842. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  843. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  844. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  845. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  846. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  847. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  848. package/dist/tsconfig.build.tsbuildinfo +1 -1
  849. package/package.json +8 -8
  850. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -0
  851. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -0
  852. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -0
  853. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -0
  854. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
  855. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
  856. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
  857. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"family-ref-stamping.d.ts","sourceRoot":"","sources":["../../../../../src/_core/utils/family-ref-stamping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,SAAS;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAWrG"}
1
+ {"version":3,"file":"family-ref-stamping.d.ts","sourceRoot":"","sources":["../../../../src/_core/utils/family-ref-stamping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,SAAS;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAWrG"}
@@ -1 +1 @@
1
- {"version":3,"file":"family-ref-stamping.js","sourceRoot":"","sources":["../../../../../src/_core/utils/family-ref-stamping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAY,EAAE,MAAc;IAC/D,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,EAAE,CAAC;AAC7D,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,wBAAwB,CAAC,UAAsC,EAAE,MAAc;IAC7F,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,KAAK,IAAI,UAAU,EAAE,CAAC;QAC/B,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CACb,YAAY,MAAM,yDAAyD,KAAK,CAAC,GAAG,KAAK;kBACvF,sEAAsE,CACzE,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;AACH,CAAC","sourcesContent":["/**\n * Stamping a family ref prefix onto a model-supplied slug, ONCE.\n *\n * Every product-definition family asks a provider for a bare semantic `slug` and stamps the canonical\n * family prefix in the trusted runtime, so that a model can never author a ref that does not match the\n * family pattern. That split is right. What it does not survive on its own is the model answering the\n * PREFIXED form anyway.\n *\n * ## Why idempotence, rather than an instruction to the model\n *\n * Measured across four live market generations, one attempt emitted 42 of 47 slugs already carrying\n * their family prefix and another emitted 0 of 43. The contract asked for a bare slug both times. So the\n * behaviour is not a prompt defect that a firmer sentence fixes — it is variance, and the normalizer is\n * the only place that can be made total over it.\n *\n * Blind concatenation turned the first of those runs into `icp-icp-small-remote-product-teams-nam`, which\n * then rides into the accepted artifact and into everything generated from it. The same shape landed in\n * two dogfood applications: `constraint-constraint-gdpr-standard-handling` in both Wonder CRM and Wonder\n * Todos, and — because a revision round hands a previously-stamped snapshot back to the model as context —\n * `roadmap-phase-roadmap-phase-roadmap-phase-mvp-core-follow-through` in Wonder CRM, tripled. Nothing\n * refused any of it: `^roadmap-phase-[a-z0-9]+(-[a-z0-9]+)*$` is satisfied by a doubled ref, because the\n * prefix is itself kebab-case.\n *\n * Idempotence matters for more than tidiness. An entity and the references to it are stamped by separate\n * code paths — sometimes in separate families, a roadmap phase naming a vision success criterion — so a\n * model that prefixes one and not the other produces two different strings for the same thing and orphans\n * the edge. Wonder CRM is the worked example: its vision declared\n * `success-criterion-success-criterion-working-pipeline-in-one-day` while its roadmap pointed at\n * `success-criterion-working-pipeline-in-one-day`, and every one of those edges resolved to nothing.\n * Normalising both sides to the same canonical form removes that whole class.\n *\n * ## STRIP-IF-PRESENT, not REFUSE\n *\n * The rejected alternative is to refuse a slug that already carries its prefix, on the grounds that the\n * contract said \"bare\". It was refused on the same measurement: a 42-of-47 run would fail wholesale, and\n * the family would be unacceptable every time the model answered a question it had understood. Accepting\n * both spellings and canonicalising them is the treatment that lets a correct answer through.\n *\n * ## The one hazard this accepts, and where it is caught\n *\n * Two authored slugs that differ only by the prefix — `foo` and `constraint-foo` — collapse to one ref.\n * That is a genuinely new collision class created by this normalization, and it is why every caller must\n * check distinctness on the STAMPED form rather than on the authored slug: slug uniqueness and ref\n * uniqueness are different questions once the mapping stops being injective. `assertDistinctFamilyRefs`\n * below is for callers that stamp first (market); a family whose contract already reports duplicate slugs\n * in a `superRefine` should key that report on the normalized value instead, which fails closed at the\n * contract boundary and hands the provider a Zod issue with a path.\n */\nexport function applyFamilyRefPrefix(slug: string, prefix: string): string {\n return slug.startsWith(prefix) ? slug : `${prefix}${slug}`;\n}\n\n/**\n * Refuse a collection whose entries do not have distinct refs, AFTER stamping.\n *\n * Slug uniqueness is checked on the authored form; this checks the stamped form, which idempotent\n * prefixing makes a genuinely different question: `foo` and `icp-foo` are two distinct slugs that both\n * stamp to `icp-foo`. Two entities sharing a ref would make every reference to it ambiguous, so this\n * fails closed at normalization rather than producing a graph whose edges cannot be resolved.\n *\n * `family` is the collection name as a reader of the artifact would recognise it (`icps`, `constraints`,\n * `tasks`), because that is what the message has to send an author back to.\n */\nexport function assertDistinctFamilyRefs(collection: readonly { ref: string }[], family: string): void {\n const seen = new Set<string>();\n for (const entry of collection) {\n if (seen.has(entry.ref)) {\n throw new Error(\n `Snapshot ${family} contains two entries that normalize to the same ref \"${entry.ref}\"; `\n + 'author slugs that stay distinct once their family prefix is applied.',\n );\n }\n seen.add(entry.ref);\n }\n}\n"]}
1
+ {"version":3,"file":"family-ref-stamping.js","sourceRoot":"","sources":["../../../../src/_core/utils/family-ref-stamping.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAY,EAAE,MAAc;IAC/D,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,EAAE,CAAC;AAC7D,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,wBAAwB,CAAC,UAAsC,EAAE,MAAc;IAC7F,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,KAAK,IAAI,UAAU,EAAE,CAAC;QAC/B,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CACb,YAAY,MAAM,yDAAyD,KAAK,CAAC,GAAG,KAAK;kBACvF,sEAAsE,CACzE,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;AACH,CAAC","sourcesContent":["/**\n * Stamping a family ref prefix onto a model-supplied slug, ONCE.\n *\n * Every product-definition family asks a provider for a bare semantic `slug` and stamps the canonical\n * family prefix in the trusted runtime, so that a model can never author a ref that does not match the\n * family pattern. That split is right. What it does not survive on its own is the model answering the\n * PREFIXED form anyway.\n *\n * ## Why idempotence, rather than an instruction to the model\n *\n * Measured across four live market generations, one attempt emitted 42 of 47 slugs already carrying\n * their family prefix and another emitted 0 of 43. The contract asked for a bare slug both times. So the\n * behaviour is not a prompt defect that a firmer sentence fixes — it is variance, and the normalizer is\n * the only place that can be made total over it.\n *\n * Blind concatenation turned the first of those runs into `icp-icp-small-remote-product-teams-nam`, which\n * then rides into the accepted artifact and into everything generated from it. The same shape landed in\n * two dogfood applications: `constraint-constraint-gdpr-standard-handling` in both Wonder CRM and Wonder\n * Todos, and — because a revision round hands a previously-stamped snapshot back to the model as context —\n * `roadmap-phase-roadmap-phase-roadmap-phase-mvp-core-follow-through` in Wonder CRM, tripled. Nothing\n * refused any of it: `^roadmap-phase-[a-z0-9]+(-[a-z0-9]+)*$` is satisfied by a doubled ref, because the\n * prefix is itself kebab-case.\n *\n * Idempotence matters for more than tidiness. An entity and the references to it are stamped by separate\n * code paths — sometimes in separate families, a roadmap phase naming a vision success criterion — so a\n * model that prefixes one and not the other produces two different strings for the same thing and orphans\n * the edge. Wonder CRM is the worked example: its vision declared\n * `success-criterion-success-criterion-working-pipeline-in-one-day` while its roadmap pointed at\n * `success-criterion-working-pipeline-in-one-day`, and every one of those edges resolved to nothing.\n * Normalising both sides to the same canonical form removes that whole class.\n *\n * ## STRIP-IF-PRESENT, not REFUSE\n *\n * The rejected alternative is to refuse a slug that already carries its prefix, on the grounds that the\n * contract said \"bare\". It was refused on the same measurement: a 42-of-47 run would fail wholesale, and\n * the family would be unacceptable every time the model answered a question it had understood. Accepting\n * both spellings and canonicalising them is the treatment that lets a correct answer through.\n *\n * ## The one hazard this accepts, and where it is caught\n *\n * Two authored slugs that differ only by the prefix — `foo` and `constraint-foo` — collapse to one ref.\n * That is a genuinely new collision class created by this normalization, and it is why every caller must\n * check distinctness on the STAMPED form rather than on the authored slug: slug uniqueness and ref\n * uniqueness are different questions once the mapping stops being injective. `assertDistinctFamilyRefs`\n * below is for callers that stamp first (market); a family whose contract already reports duplicate slugs\n * in a `superRefine` should key that report on the normalized value instead, which fails closed at the\n * contract boundary and hands the provider a Zod issue with a path.\n */\nexport function applyFamilyRefPrefix(slug: string, prefix: string): string {\n return slug.startsWith(prefix) ? slug : `${prefix}${slug}`;\n}\n\n/**\n * Refuse a collection whose entries do not have distinct refs, AFTER stamping.\n *\n * Slug uniqueness is checked on the authored form; this checks the stamped form, which idempotent\n * prefixing makes a genuinely different question: `foo` and `icp-foo` are two distinct slugs that both\n * stamp to `icp-foo`. Two entities sharing a ref would make every reference to it ambiguous, so this\n * fails closed at normalization rather than producing a graph whose edges cannot be resolved.\n *\n * `family` is the collection name as a reader of the artifact would recognise it (`icps`, `constraints`,\n * `tasks`), because that is what the message has to send an author back to.\n */\nexport function assertDistinctFamilyRefs(collection: readonly { ref: string }[], family: string): void {\n const seen = new Set<string>();\n for (const entry of collection) {\n if (seen.has(entry.ref)) {\n throw new Error(\n `Snapshot ${family} contains two entries that normalize to the same ref \"${entry.ref}\"; `\n + 'author slugs that stay distinct once their family prefix is applied.',\n );\n }\n seen.add(entry.ref);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"retention-marker-field-specs.d.ts","sourceRoot":"","sources":["../../../../../src/_core/utils/retention-marker-field-specs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,4BAA4B,EAAE,SAAS,kBAAkB,EAuDrE,CAAC"}
1
+ {"version":3,"file":"retention-marker-field-specs.d.ts","sourceRoot":"","sources":["../../../../src/_core/utils/retention-marker-field-specs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,4BAA4B,EAAE,SAAS,kBAAkB,EAuDrE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"validate-field-shapes.d.ts","sourceRoot":"","sources":["../../../../../src/_core/utils/validate-field-shapes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EACL,iBAAiB,EAEjB,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;IACtC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,2BAA2B,GACnC,IAAI,CAqBN;AAqKD,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"validate-field-shapes.d.ts","sourceRoot":"","sources":["../../../../src/_core/utils/validate-field-shapes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EACL,iBAAiB,EAEjB,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;IACtC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,2BAA2B,GACnC,IAAI,CAqBN;AAqKD,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-authored-metadata.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-authored-metadata.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG/F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,4BAA4B;;;;;;iBAgBvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,6DAA6D"}
1
+ {"version":3,"file":"vision-authored-metadata.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-authored-metadata.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAG/F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,4BAA4B;;;;;;iBAgBvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,6DAA6D"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-constraint.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-constraint.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;GAKG;AACH,oBAAY,oBAAoB;IAC9B,0EAA0E;IAC1E,SAAS,cAAc;IACvB,6EAA6E;IAC7E,QAAQ,aAAa;IACrB;;;OAGG;IACH,UAAU,eAAe;IACzB,6DAA6D;IAC7D,QAAQ,aAAa;IACrB,uEAAuE;IACvE,QAAQ,aAAa;IACrB,uDAAuD;IACvD,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;;;iBAWvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,sDAAsD"}
1
+ {"version":3,"file":"vision-constraint.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-constraint.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;GAKG;AACH,oBAAY,oBAAoB;IAC9B,0EAA0E;IAC1E,SAAS,cAAc;IACvB,6EAA6E;IAC7E,QAAQ,aAAa;IACrB;;;OAGG;IACH,UAAU,eAAe;IACzB,6DAA6D;IAC7D,QAAQ,aAAa;IACrB,uEAAuE;IACvE,QAAQ,aAAa;IACrB,uDAAuD;IACvD,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;;;iBAWvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,sDAAsD"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-idea.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-idea.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;iBASjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,gDAAgD"}
1
+ {"version":3,"file":"vision-idea.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-idea.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;iBASjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,gDAAgD"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-mission.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-mission.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;iBASpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,mDAAmD"}
1
+ {"version":3,"file":"vision-mission.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-mission.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;iBASpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,mDAAmD"}
@@ -1 +1 @@
1
- {"version":3,"file":"vision-problem.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-problem.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;iBAapC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,mDAAmD"}
1
+ {"version":3,"file":"vision-problem.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/vision/vision-problem.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;iBAapC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,mDAAmD"}
@@ -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;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
+ {"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 +1 @@
1
- {"version":3,"file":"vision-snapshot-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/vision/vision-snapshot-generation.schemas.ts"],"names":[],"mappings":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ent":["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
+ {"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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AE,MAAc,EAAE,IAAY,EAAE,OAAwB;IACvH,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;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"}
@@ -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"}
@@ -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-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,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;;;;;;;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;AACH,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;;yCAI5D,CAAC;AACH,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iDAAiD,CAAC,CAAC;AAkG5H;;;;;;;;;GASG;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,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 +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,C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ACb,KAAK,KAAK,IAAI;eACX,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC;eACxD,CAAC,KAAK,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 — 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"]}
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,CAA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OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC;eACxD,CAAC,KAAK,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 — 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"]}
@@ -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"}
@@ -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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,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"]}
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,GA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1G,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"]}
@@ -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"}
@@ -1 +1 @@
1
- {"version":3,"file":"application-specification-family-identity.application-creation.schemas.js","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,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC;KACpD,MAAM,EAAE;KACR,KAAK,CAAC,4BAA4B,CAAC;KACnC,KAAK,EAAsC,CAAC;AAG/C;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,+CA0EX;AA1ED,WAAY,+CAA+C;IACzD,+JAA4G,CAAA;IAC5G,yGAAsD,CAAA;IACtD,yGAAsD,CAAA;IACtD,qHAAkE,CAAA;IAClE,kIAA+E,CAAA;IAC/E,2GAAwD,CAAA;IACxD,mHAAgE,CAAA;IAChE;;;;;OAKG;IACH,uGAAoD,CAAA;IACpD,iGAAiG;IACjG,qHAAkE,CAAA;IAClE,iIAA8E,CAAA;IAC9E,uGAAoD,CAAA;IACpD,wIAAqF,CAAA;IACrF,oIAAiF,CAAA;IACjF;;;;;OAKG;IACH,qKAAkH,CAAA;IAClH;;;;OAIG;IACH,0KAAuH,CAAA;IACvH;;;;;;;;OAQG;IACH,uJAAoG,CAAA;IACpG;;;;;;;;;;;;OAYG;IACH,wKAAqH,CAAA;IACrH;;;;;;;;;;;;;;OAcG;IACH,sIAAmF,CAAA;AACrF,CAAC,EA1EW,+CAA+C,KAA/C,+CAA+C,QA0E1D;AAED,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAAC;KAClE,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CACP,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;IACrB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;IACxB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;IACpB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,EAC/E;IACE,OAAO,EAAE,qEAAqE;CAC/E,CACF;KACA,KAAK,EAAoD,CAAC","sourcesContent":["import { z } from \"zod\";\n\n/**\n * The CONTENT vocabulary of an application specification family: which family, which schema contract, and\n * where its file sits.\n *\n * This is the surviving remnant of a 900-line module that also carried descriptors, locators, head-set\n * bases, accepted manifests, validation receipts and validator identities. Every one of those described\n * the LEDGER — which bytes had been accepted, by which validator, against which head. Git answers all of\n * it now, so what is left is the part that was always about meaning: `market-snapshot` names a family,\n * `saas-specifications:MarketSnapshot` names the contract its content must satisfy.\n *\n * Nothing here is a digest, a revision, or a claim about acceptance. That is why it survives Rule 0 in\n * `.claude/rules/one-source-of-truth.md`: two branches can each add a family and the merge is meaningful.\n */\n\nexport const ApplicationSpecificationFamilyIdSchema = z\n .string()\n .regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/)\n .brand<\"ApplicationSpecificationFamilyId\">();\nexport type ApplicationSpecificationFamilyId = z.infer<typeof ApplicationSpecificationFamilyIdSchema>;\n\n/**\n * Standard semantic validation policies available to application-owned\n * TypeScript specification families.\n *\n * A descriptor's `schemaRef` selects one of these policies; it is not passive\n * documentation. Precise snapshot policies execute their Zod + deterministic\n * semantic validator. The module policy is the explicit floor for\n * heterogeneous families whose meaning is expressed through the typed\n * `SpecificationsCompanionExports` aggregate rather than one snapshot value.\n *\n * The descriptor contract intentionally remains open to additional\n * namespaced refs so future trusted profiles can register new policies. A\n * concrete runtime must nevertheless resolve every selected ref fail closed.\n */\nexport enum ApplicationSpecificationFamilySemanticSchemaRef {\n EFFECT_FREE_TYPESCRIPT_MODULE_V1 = \"wildo.application-specification-family:effect-free-typescript-module-v1\",\n VISION_SNAPSHOT = \"saas-specifications:VisionSnapshot\",\n MARKET_SNAPSHOT = \"saas-specifications:MarketSnapshot\",\n REQUIREMENTS_SNAPSHOT = \"saas-specifications:RequirementsSnapshot\",\n FEATURE_SPECIFICATION_DRAFTS = \"saas-specifications:FeatureSpecificationDrafts\",\n ROADMAP_SNAPSHOT = \"saas-specifications:RoadmapSnapshot\",\n BUILD_PLAN_TASK_GRAPH = \"saas-specifications:BuildPlanTaskGraph\",\n /**\n * WHERE every settings destination, resource operation and app view sits in\n * the application shell, and WHY (`_core/placement-plan/`). Produced by an\n * expert-panel deliberation rather than a creator elicitation, so the\n * per-decision `rationale` is the artifact's most valuable part.\n */\n PLACEMENT_PLAN = \"saas-specifications:PlacementPlan\",\n /** The atomic domain plan: modules + relationship drafts in one value (`_core/domain-plan/`). */\n DOMAIN_PLAN_OUTPUT_SET = \"saas-specifications:DomainPlanOutputSet\",\n BUSINESS_MODEL_LITE_SNAPSHOT = \"saas-specifications:BusinessModelLiteSnapshot\",\n BRAND_SNAPSHOT = \"saas-specifications:BrandSnapshot\",\n ASSURANCE_PROGRAM_SPECIFICATION = \"saas-specifications:AssuranceProgramSpecification\",\n COMPLIANCE_DOCUMENT_CANDIDATE = \"saas-specifications:ComplianceDocumentCandidate\",\n /**\n * WHERE and IN WHICH LANGUAGE the application publishes public governed\n * documents. Deliberately a separate family from the assurance program: the\n * program decides which documents are required, this decides which\n * locale/jurisdiction combinations exist to publish them in.\n */\n APPLICATION_DOCUMENT_PUBLICATION_SPECIFICATION = \"saas-specifications:ApplicationDocumentPublicationSpecification\",\n /**\n * Application-owned selection of whether each required governed document\n * remains a draft, may use an explicitly limited operator attestation, or\n * requires the existing qualified-review lane before release.\n */\n APPLICATION_DOCUMENT_RELEASE_POLICY_SPECIFICATION = \"saas-specifications:ApplicationDocumentReleasePolicySpecification\",\n /**\n * Accepted raw document facts the ACCEPTED SPECIFICATION answers. Distinct\n * from the compliance program (which declares requirements) and publication\n * variants (which declare routing). Declarations are read as authored;\n * nothing seals them into a resolver contribution any more.\n *\n * Regenerated whole by `refinement.document-facts`, which is why the human\n * half is a separate family below (#192).\n */\n APPLICATION_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationDocumentFactSpecification\",\n /**\n * Accepted raw document facts only a HUMAN may establish — a creator\n * decision or a qualified review.\n *\n * The same shape as the family above and deliberately a different family: a\n * producer regenerates the derived file whole, so a human decision sharing\n * that file is destroyed on the next run and nothing notices (there is no\n * compare-and-swap here, by design — `one-source-of-truth.md` Rule 0). Two\n * families make the two writers unable to reach each other's half.\n *\n * It has no generation contract, and that absence is the point rather than\n * an omission: nothing may produce this family.\n */\n APPLICATION_AUTHORED_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationAuthoredDocumentFactSpecification\",\n /**\n * WHO ELSE processes this application's personal data — the processor register.\n *\n * A family in its own right since 2026-09-03, and it had to become one: it has a schema, a\n * companion-exports slot and two applications authoring it, but no PLACEMENT — so it was\n * hand-authored into `src/compliance/`, which is the directory `compliance-program` lands into.\n * Wonder CRM kept its register there while Wonder Todos kept its programme there, and the first\n * conception run on CRM would have replaced 22 hand-verified vendor legal identities with a\n * programme and broken the package's own import.\n *\n * Like the authored document facts, it has NO generation contract. A processor's legal entity,\n * processing region and subprocessor list are facts about the arrangement THIS operator has —\n * checked against a vendor's legal pages on a date — and a model asserting one would be inventing\n * a published legal identity.\n */\n APPLICATION_PROCESSOR_REGISTER = \"saas-specifications:ApplicationProcessorRegister\",\n}\n\nexport const ApplicationSpecificationNormalizedRelativePathSchema = z\n .string()\n .min(1)\n .refine(\n (path) =>\n !path.startsWith(\"/\") &&\n !/^[A-Za-z]:/.test(path) &&\n !path.includes(\"\\\\\") &&\n path.split(\"/\").every((part) => part !== \"\" && part !== \".\" && part !== \"..\"),\n {\n message: \"expected a normalized POSIX subject-relative path without traversal\",\n },\n )\n .brand<\"ApplicationSpecificationNormalizedRelativePath\">();\nexport type ApplicationSpecificationNormalizedRelativePath = z.infer<typeof ApplicationSpecificationNormalizedRelativePathSchema>;\n"]}
1
+ {"version":3,"file":"application-specification-family-identity.application-creation.schemas.js","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,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC;KACpD,MAAM,EAAE;KACR,KAAK,CAAC,4BAA4B,CAAC;KACnC,KAAK,EAAsC,CAAC;AAG/C;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,+CA0EX;AA1ED,WAAY,+CAA+C;IACzD,+JAA4G,CAAA;IAC5G,yGAAsD,CAAA;IACtD,yGAAsD,CAAA;IACtD,qHAAkE,CAAA;IAClE,kIAA+E,CAAA;IAC/E,2GAAwD,CAAA;IACxD,mHAAgE,CAAA;IAChE;;;;;OAKG;IACH,uGAAoD,CAAA;IACpD,iGAAiG;IACjG,qHAAkE,CAAA;IAClE,iIAA8E,CAAA;IAC9E,uGAAoD,CAAA;IACpD,wIAAqF,CAAA;IACrF,oIAAiF,CAAA;IACjF;;;;;OAKG;IACH,qKAAkH,CAAA;IAClH;;;;OAIG;IACH,0KAAuH,CAAA;IACvH;;;;;;;;OAQG;IACH,uJAAoG,CAAA;IACpG;;;;;;;;;;;;OAYG;IACH,wKAAqH,CAAA;IACrH;;;;;;;;;;;;;;OAcG;IACH,sIAAmF,CAAA;AACrF,CAAC,EA1EW,+CAA+C,KAA/C,+CAA+C,QA0E1D;AAED,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAAC;KAClE,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CACP,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;IACrB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;IACxB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;IACpB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,EAC/E;IACE,OAAO,EAAE,qEAAqE;CAC/E,CACF;KACA,KAAK,EAAoD,CAAC","sourcesContent":["import { z } from \"zod\";\n\n/**\n * The CONTENT vocabulary of an application specification family: which family, which schema contract, and\n * where its file sits.\n *\n * This is the surviving remnant of a 900-line module that also carried descriptors, locators, head-set\n * bases, accepted manifests, validation receipts and validator identities. Every one of those described\n * the LEDGER — which bytes had been accepted, by which validator, against which head. Git answers all of\n * it now, so what is left is the part that was always about meaning: `market-snapshot` names a family,\n * `saas-specifications:MarketSnapshot` names the contract its content must satisfy.\n *\n * Nothing here is a digest, a revision, or a claim about acceptance. That is why it survives Rule 0 in\n * `.claude/rules/one-source-of-truth.md`: two branches can each add a family and the merge is meaningful.\n */\n\nexport const ApplicationSpecificationFamilyIdSchema = z\n .string()\n .regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/)\n .brand<\"ApplicationSpecificationFamilyId\">();\nexport type ApplicationSpecificationFamilyId = z.infer<typeof ApplicationSpecificationFamilyIdSchema>;\n\n/**\n * Standard semantic validation policies available to application-owned\n * TypeScript specification families.\n *\n * A descriptor's `schemaRef` selects one of these policies; it is not passive\n * documentation. Precise snapshot policies execute their Zod + deterministic\n * semantic validator. The module policy is the explicit floor for\n * heterogeneous families whose meaning is expressed through the typed\n * `SpecificationsCompanionExports` aggregate rather than one snapshot value.\n *\n * The descriptor contract intentionally remains open to additional\n * namespaced refs so future trusted profiles can register new policies. A\n * concrete runtime must nevertheless resolve every selected ref fail closed.\n */\nexport enum ApplicationSpecificationFamilySemanticSchemaRef {\n EFFECT_FREE_TYPESCRIPT_MODULE_V1 = \"wildo.application-specification-family:effect-free-typescript-module-v1\",\n VISION_SNAPSHOT = \"saas-specifications:VisionSnapshot\",\n MARKET_SNAPSHOT = \"saas-specifications:MarketSnapshot\",\n REQUIREMENTS_SNAPSHOT = \"saas-specifications:RequirementsSnapshot\",\n FEATURE_SPECIFICATION_DRAFTS = \"saas-specifications:FeatureSpecificationDrafts\",\n ROADMAP_SNAPSHOT = \"saas-specifications:RoadmapSnapshot\",\n BUILD_PLAN_TASK_GRAPH = \"saas-specifications:BuildPlanTaskGraph\",\n /**\n * WHERE every settings destination, resource operation and app view sits in\n * the application shell, and WHY (`_core/placement-plan/`). Produced by an\n * expert-panel deliberation rather than a creator elicitation, so the\n * per-decision `rationale` is the artifact's most valuable part.\n */\n PLACEMENT_PLAN = \"saas-specifications:PlacementPlan\",\n /** The atomic domain plan: modules + relationship drafts in one value (`_core/domain-plan/`). */\n DOMAIN_PLAN_OUTPUT_SET = \"saas-specifications:DomainPlanOutputSet\",\n BUSINESS_MODEL_LITE_SNAPSHOT = \"saas-specifications:BusinessModelLiteSnapshot\",\n BRAND_SNAPSHOT = \"saas-specifications:BrandSnapshot\",\n ASSURANCE_PROGRAM_SPECIFICATION = \"saas-specifications:AssuranceProgramSpecification\",\n COMPLIANCE_DOCUMENT_CANDIDATE = \"saas-specifications:ComplianceDocumentCandidate\",\n /**\n * WHERE and IN WHICH LANGUAGE the application publishes public governed\n * documents. Deliberately a separate family from the assurance program: the\n * program decides which documents are required, this decides which\n * locale/jurisdiction combinations exist to publish them in.\n */\n APPLICATION_DOCUMENT_PUBLICATION_SPECIFICATION = \"saas-specifications:ApplicationDocumentPublicationSpecification\",\n /**\n * Application-owned selection of whether each required governed document\n * remains a draft, may use an explicitly limited operator attestation, or\n * requires the existing qualified-review lane before release.\n */\n APPLICATION_DOCUMENT_RELEASE_POLICY_SPECIFICATION = \"saas-specifications:ApplicationDocumentReleasePolicySpecification\",\n /**\n * Accepted raw document facts the ACCEPTED SPECIFICATION answers. Distinct\n * from the compliance program (which declares requirements) and publication\n * variants (which declare routing). Declarations are read as authored;\n * nothing seals them into a resolver contribution any more.\n *\n * Regenerated whole by `refinement.document-facts`, which is why the human\n * half is a separate family below (#192).\n */\n APPLICATION_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationDocumentFactSpecification\",\n /**\n * Accepted raw document facts only a HUMAN may establish — a creator\n * decision or a qualified review.\n *\n * The same shape as the family above and deliberately a different family: a\n * producer regenerates the derived file whole, so a human decision sharing\n * that file is destroyed on the next run and nothing notices (there is no\n * compare-and-swap here, by design — `one-source-of-truth.md` Rule 0). Two\n * families make the two writers unable to reach each other's half.\n *\n * It has no generation contract, and that absence is the point rather than\n * an omission: nothing may produce this family.\n */\n APPLICATION_AUTHORED_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationAuthoredDocumentFactSpecification\",\n /**\n * WHO ELSE processes this application's personal data — the processor register.\n *\n * A family in its own right since 2026-09-03, and it had to become one: it has a schema, a\n * companion-exports slot and two applications authoring it, but no PLACEMENT — so it was\n * hand-authored into `src/compliance/`, which is the directory `compliance-program` lands into.\n * Wonder CRM kept its register there while Wonder Todos kept its programme there, and the first\n * conception run on CRM would have replaced 22 hand-verified vendor legal identities with a\n * programme and broken the package's own import.\n *\n * Like the authored document facts, it has NO generation contract. A processor's legal entity,\n * processing region and subprocessor list are facts about the arrangement THIS operator has —\n * checked against a vendor's legal pages on a date — and a model asserting one would be inventing\n * a published legal identity.\n */\n APPLICATION_PROCESSOR_REGISTER = \"saas-specifications:ApplicationProcessorRegister\",\n}\n\nexport const ApplicationSpecificationNormalizedRelativePathSchema = z\n .string()\n .min(1)\n .refine(\n (path) =>\n !path.startsWith(\"/\") &&\n !/^[A-Za-z]:/.test(path) &&\n !path.includes(\"\\\\\") &&\n path.split(\"/\").every((part) => part !== \"\" && part !== \".\" && part !== \"..\"),\n {\n message: \"expected a normalized POSIX subject-relative path without traversal\",\n },\n )\n .brand<\"ApplicationSpecificationNormalizedRelativePath\">();\nexport type ApplicationSpecificationNormalizedRelativePath = z.infer<typeof ApplicationSpecificationNormalizedRelativePathSchema>;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"document-facts.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/document-facts.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AA2BhF,eAAO,MAAM,6BAA6B,EAAE,wBAG3C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,sCAAsC,EAAE,wBAGpD,CAAC"}
1
+ {"version":3,"file":"document-facts.family-aspects.d.ts","sourceRoot":"","sources":["../../../src/application-creation/document-facts.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AA2BhF,eAAO,MAAM,6BAA6B,EAAE,wBAG3C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,sCAAsC,EAAE,wBAGpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"document-release-policy.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/document-release-policy.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAIhF,eAAO,MAAM,sCAAsC,EAAE,wBAkBpD,CAAC"}
1
+ {"version":3,"file":"document-release-policy.family-aspects.d.ts","sourceRoot":"","sources":["../../../src/application-creation/document-release-policy.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAIhF,eAAO,MAAM,sCAAsC,EAAE,wBAkBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan-evaluation-identities.application-creation.definitions.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/domain-plan-evaluation-identities.application-creation.definitions.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,oBAAY,gCAAgC;IAC1C,mBAAmB,mEAAmE;IACtF,gBAAgB,gEAAgE;IAChF,sBAAsB,sEAAsE;IAC5F,oBAAoB,oEAAoE;IACxF,sBAAsB,sEAAsE;IAC5F,oBAAoB,oEAAoE;CACzF;AAED,6GAA6G;AAC7G,oBAAY,0CAA0C;IACpD,mBAAmB,8EAA8E;IACjG,gBAAgB,2EAA2E;IAC3F,sBAAsB,iFAAiF;IACvG,oBAAoB,+EAA+E;IACnG,sBAAsB,iFAAiF;IACvG,oBAAoB,+EAA+E;CACpG;AAED,oBAAY,sCAAsC;IAChD,wCAAwC,+FAA+F;CACxI;AAED,oBAAY,6CAA6C;IACvD,gDAAgD,sGAAsG;CACvJ;AAED,oBAAY,8CAA8C;IACxD,wCAAwC,8FAA8F;CACvI"}
1
+ {"version":3,"file":"domain-plan-evaluation-identities.application-creation.definitions.d.ts","sourceRoot":"","sources":["../../../src/application-creation/domain-plan-evaluation-identities.application-creation.definitions.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,oBAAY,gCAAgC;IAC1C,mBAAmB,mEAAmE;IACtF,gBAAgB,gEAAgE;IAChF,sBAAsB,sEAAsE;IAC5F,oBAAoB,oEAAoE;IACxF,sBAAsB,sEAAsE;IAC5F,oBAAoB,oEAAoE;CACzF;AAED,6GAA6G;AAC7G,oBAAY,0CAA0C;IACpD,mBAAmB,8EAA8E;IACjG,gBAAgB,2EAA2E;IAC3F,sBAAsB,iFAAiF;IACvG,oBAAoB,+EAA+E;IACnG,sBAAsB,iFAAiF;IACvG,oBAAoB,+EAA+E;CACpG;AAED,oBAAY,sCAAsC;IAChD,wCAAwC,+FAA+F;CACxI;AAED,oBAAY,6CAA6C;IACvD,gDAAgD,sGAAsG;CACvJ;AAED,oBAAY,8CAA8C;IACxD,wCAAwC,8FAA8F;CACvI"}
@@ -1 +1 @@
1
- {"version":3,"file":"journey.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,kBAAkB,EAEnB,MAAM,0CAA0C,CAAC;AA0BlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,IAAI,SAAS;CACd;AAED,mCAAmC;AACnC,oBAAY,qBAAqB;IAC/B,KAAK,UAAU;IACf,aAAa,kBAAkB;CAChC;AAED,4EAA4E;AAC5E,oBAAY,oBAAoB;IAC9B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,sBAAsB,2BAA2B;CAClD;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;iBASnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,mEAAmE;AACnE,eAAO,MAAM,yBAAyB;;;;;iBAMpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;iBAY/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;iBAQvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"journey.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,kBAAkB,EAEnB,MAAM,0CAA0C,CAAC;AA0BlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,IAAI,SAAS;CACd;AAED,mCAAmC;AACnC,oBAAY,qBAAqB;IAC/B,KAAK,UAAU;IACf,aAAa,kBAAkB;CAChC;AAED,4EAA4E;AAC5E,oBAAY,oBAAoB;IAC9B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,sBAAsB,2BAA2B;CAClD;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;iBASnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,mEAAmE;AACnE,eAAO,MAAM,yBAAyB;;;;;iBAMpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;iBAY/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;iBAQvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"journey.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,kBAAkB,EAClB,iCAAiC,GAClC,MAAM,0CAA0C,CAAC;AAElD,iEAAiE;AACjE,yBAAyB;AACzB,0BAA0B;AAC1B,wEAAwE;AACxE,uEAAuE;AACvE,2EAA2E;AAC3E,qCAAqC;AACrC,EAAE;AACF,wEAAwE;AACxE,yEAAyE;AACzE,wEAAwE;AACxE,wEAAwE;AACxE,iDAAiD;AACjD,2EAA2E;AAC3E,wEAAwE;AACxE,sEAAsE;AACtE,sDAAsD;AACtD,EAAE;AACF,0EAA0E;AAC1E,0EAA0E;AAC1E,wEAAwE;AACxE,iEAAiE;AAGjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAM,CAAN,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,mDAAyB,CAAA;IACzB,uCAAa,CAAA;AACf,CAAC,EAJW,sBAAsB,KAAtB,sBAAsB,QAIjC;AAED,mCAAmC;AACnC,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,wCAAe,CAAA;IACf,wDAA+B,CAAA;AACjC,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC;AAED,4EAA4E;AAC5E,MAA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AC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;IACxC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport {\n MetaWorkflow_Phase,\n MetaWorkflow_PlaybookBudgetSchema,\n} from \"./playbooks.application-creation.schemas\";\n\n//===============================================================\n// Meta-Workflow Journey\n// -----------------------\n// A journey is one app-creation run: idea → compliant SaaS (design plan\n// `app-creation-meta-workflows.md`, D1). Journey STATE is deliberately\n// artifact-first and derived — there is no step ledger. The contracts here\n// cover only what cannot be derived:\n//\n// - `Journey_Definition` — identity + posture (phase, autonomy, scope).\n// - `Journey_Cursor` — the DISPOSABLE machine-local resume cache, stored\n// per journey at `.wildo-saas/state/journeys/<journeyId>.cursor.json`\n// (implementation-spec P-15; path built via `resolveAppLayout`, never\n// hand-joined). Losing a cursor costs nothing.\n// - `Journey_DecisionRecord` — human decisions and choreographer decisions\n// are AUTHORITY and audit evidence (design KD-G): git-versioned files\n// under `<app-root>/journey/`, never gitignored state (a \"compliant\n// SaaS\" journey must show who approved what, when).\n//\n// Playbook RUNS are not modeled here: they are `ActorSystem` executions +\n// `Actors_Task` rows on the existing control-plane resources (P-11), with\n// correlation carried by `Actors_Task_Context` — no shadow task system.\n//===============================================================\n\n\n/**\n * Journey-level autonomy presets (design plan OQ-3 — \"lots of people want\n * quick results\").\n *\n * **AUTHORED INTENT ONLY — NOTHING READS THIS ENUM**, measured 2026-08-29 alongside issue #103.\n * `Journey_AutonomyPreset` has zero consumers outside this file; the per-playbook\n * `MetaWorkflow_ApprovalPolicy` it was to map over is equally inert; and the\n * `wildo journey set-autonomy` command the previous revision of this comment named exists in no\n * CLI — there is no `journey` command family at all. Selecting a preset today changes nothing,\n * because nothing selects one.\n *\n * Two claims were removed from this comment on that date and MUST NOT be restored while the\n * mechanism is unbuilt:\n *\n * - the per-preset mapping (GUIDED applies policies as-is / YOLO_LIGHT downgrades code mutations\n * to APPROVE_RESULT at phase boundaries / YOLO runs everything AUTO). It described dispatch no\n * code performs.\n * - **\"THE NON-BYPASSABLE FLOOR (implementation-spec P-28) applies in ALL presets, including\n * YOLO: budget ceilings, destructive operations, and publishing/off-machine side effects\n * hard-gate preset-independently.\"** No such floor runs. A reader deciding whether YOLO is safe\n * to enable would have been reassured by a guarantee that does not exist, and that is the worst\n * shape of unexecuted declaration — worse than `qualityGates`, which merely restated live checks.\n *\n * The enum is kept because nothing else expresses the posture; building it, or deleting it, is a\n * decision tracked as its own issue (#111). Until then it is a design note that happens to be typed.\n *\n * **DECIDED 2026-08-30: DEFERRED DELIBERATELY.** `application-creation-directive.md` — the system\n * must WORK first, restrictions arrive later from a real incident as judge-style guards. So the\n * absence of a preset mechanism is the current intended posture, and a future author should not\n * read it as an oversight.\n *\n * **The rule conflict this comment used to record is SETTLED — do not re-derive it.** It said the\n * two always-on rules disagreed about who may accept: this enum's `YOLO` row means \"the system\n * commits everything automatically\" (`application-creation-directive.md`), while\n * `one-source-of-truth.md` Rule 3 was read as \"only a human commits\". D5 was amended on 2026-09-03\n * (Paul) and names THIS FILE as the record of the conflict it settles: the AUTONOMY POSTURE governs\n * who commits, the current posture is YOLO for all, and \"only a human commits\" describes the GUIDED\n * posture rather than a floor.\n *\n * So what stands between the decided posture and the running system is a MECHANISM, not a decision.\n * Re-verified 2026-09-06: nothing in the runtime performs a commit. Acceptance is therefore a human\n * commit by ABSENCE — which is what the generated application's own `CLAUDE.md` accurately tells a\n * dispatched agent, and that text must not be \"reconciled\" to the posture until a commit path\n * exists, or it would promise a mechanism no code performs.\n *\n * What building the preset still owes, from D5 rather than from a fresh decision: the critical gate\n * points stay MARKED in every mechanism (a legally-binding statement leaving the system,\n * critical-risk acceptance, irreversible outward-facing acts) so they can be armed when the posture\n * changes; under YOLO they notify and proceed. Arming them is part of Gate 3's membership test.\n */\nexport enum Journey_AutonomyPreset {\n GUIDED = \"guided\",\n YOLO_LIGHT = \"yolo_light\",\n YOLO = \"yolo\",\n}\n\n/** Who made a journey decision. */\nexport enum Journey_DecisionActor {\n HUMAN = \"human\",\n CHOREOGRAPHER = \"choreographer\",\n}\n\n/** Kinds of durable journey decisions (git-versioned — see file header). */\nexport enum Journey_DecisionKind {\n APPROVAL = \"approval\",\n REJECTION = \"rejection\",\n ANNOTATION = \"annotation\",\n CHOREOGRAPHER_DECISION = \"choreographer_decision\",\n}\n\n/**\n * The journey's declared scope — a FIRST-CLASS concept from day one\n * (design plan S4): the snapshot, choreographer, and coverage judge reason\n * only over the scoped subset. Real journeys iterate module-by-module;\n * the first Wonder Todos dogfood journeys scope to the tasks-manager slice\n * because WT is a deliberately over-built test bench. Omitted axes mean\n * \"no restriction on that axis\".\n */\nexport const Journey_ScopeSchema = z.object({\n moduleIds: z.array(z.string().min(1)).optional(),\n resourceTypes: z.array(z.string().min(1)).optional(),\n});\nexport type Journey_Scope = z.infer<typeof Journey_ScopeSchema>;\n\n/**\n * Journey identity + posture. `budget` carries the JOURNEY-level ceilings\n * (P-28) that cap the sum of all playbook runs; the runner enforces both\n * levels and refuses dispatch once either is hit.\n */\nexport const Journey_DefinitionSchema = z.object({\n journeyId: z.string().min(1),\n title: z.string().min(1).optional(),\n phase: z.enum(MetaWorkflow_Phase),\n autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),\n scope: Journey_ScopeSchema.optional(),\n budget: MetaWorkflow_PlaybookBudgetSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\nexport type Journey_Definition = z.infer<typeof Journey_DefinitionSchema>;\n\n/** A human gate awaiting decision, surfaced by the HITL routes. */\nexport const Journey_PendingGateSchema = z.object({\n gateRef: z.string().min(1),\n playbookRef: z.string().min(1).optional(),\n /** ActorSystem execution `_id` of the run that raised the gate, if any. */\n playbookRunId: z.string().min(1).optional(),\n requestedAt: z.iso.datetime(),\n});\nexport type Journey_PendingGate = z.infer<typeof Journey_PendingGateSchema>;\n\n/**\n * The disposable machine-local resume cache (see file header — cursor is\n * NEVER authority; everything in it is either mirrored from git-versioned\n * decisions or re-derivable from the snapshot/control-plane).\n */\nexport const Journey_CursorSchema = z.object({\n journeyId: z.string().min(1),\n phase: z.enum(MetaWorkflow_Phase),\n autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),\n pendingGates: z.array(Journey_PendingGateSchema).default([]),\n resumePointers: z\n .object({\n lastExecutionId: z.string().min(1).optional(),\n lastDecisionRef: z.string().min(1).optional(),\n })\n .optional(),\n updatedAt: z.iso.datetime(),\n});\nexport type Journey_Cursor = z.infer<typeof Journey_CursorSchema>;\n\n/**\n * One durable journey decision — the git-versioned audit record (KD-G).\n * `subjectRef` names what was decided on (a gateRef, a playbookRef, or a\n * playbook-run id). Approval provenance lives HERE, never in the cursor:\n * records must survive clones, be visible to teammates, and serve as\n * compliance evidence.\n */\nexport const Journey_DecisionRecordSchema = z.object({\n ref: z.string().min(1),\n journeyId: z.string().min(1),\n kind: z.enum(Journey_DecisionKind),\n subjectRef: z.string().min(1),\n decidedBy: z.enum(Journey_DecisionActor),\n rationale: z.string().optional(),\n decidedAt: z.iso.datetime(),\n});\nexport type Journey_DecisionRecord = z.infer<typeof Journey_DecisionRecordSchema>;\n"]}
1
+ {"version":3,"file":"journey.application-creation.schemas.js","sourceRoot":"","sources":["../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,kBAAkB,EAClB,iCAAiC,GAClC,M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AK,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;IACjC,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC;IACrF,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC5D,cAAc,EAAE,CAAC;SACd,MAAM,CAAC;QACN,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QAC7C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;KAC9C,CAAC;SACD,QAAQ,EAAE;IACb,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;IACxC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport {\n MetaWorkflow_Phase,\n MetaWorkflow_PlaybookBudgetSchema,\n} from \"./playbooks.application-creation.schemas\";\n\n//===============================================================\n// Meta-Workflow Journey\n// -----------------------\n// A journey is one app-creation run: idea → compliant SaaS (design plan\n// `app-creation-meta-workflows.md`, D1). Journey STATE is deliberately\n// artifact-first and derived — there is no step ledger. The contracts here\n// cover only what cannot be derived:\n//\n// - `Journey_Definition` — identity + posture (phase, autonomy, scope).\n// - `Journey_Cursor` — the DISPOSABLE machine-local resume cache, stored\n// per journey at `.wildo-saas/state/journeys/<journeyId>.cursor.json`\n// (implementation-spec P-15; path built via `resolveAppLayout`, never\n// hand-joined). Losing a cursor costs nothing.\n// - `Journey_DecisionRecord` — human decisions and choreographer decisions\n// are AUTHORITY and audit evidence (design KD-G): git-versioned files\n// under `<app-root>/journey/`, never gitignored state (a \"compliant\n// SaaS\" journey must show who approved what, when).\n//\n// Playbook RUNS are not modeled here: they are `ActorSystem` executions +\n// `Actors_Task` rows on the existing control-plane resources (P-11), with\n// correlation carried by `Actors_Task_Context` — no shadow task system.\n//===============================================================\n\n\n/**\n * Journey-level autonomy presets (design plan OQ-3 — \"lots of people want\n * quick results\").\n *\n * **AUTHORED INTENT ONLY — NOTHING READS THIS ENUM**, measured 2026-08-29 alongside issue #103.\n * `Journey_AutonomyPreset` has zero consumers outside this file; the per-playbook\n * `MetaWorkflow_ApprovalPolicy` it was to map over is equally inert; and the\n * `wildo journey set-autonomy` command the previous revision of this comment named exists in no\n * CLI — there is no `journey` command family at all. Selecting a preset today changes nothing,\n * because nothing selects one.\n *\n * Two claims were removed from this comment on that date and MUST NOT be restored while the\n * mechanism is unbuilt:\n *\n * - the per-preset mapping (GUIDED applies policies as-is / YOLO_LIGHT downgrades code mutations\n * to APPROVE_RESULT at phase boundaries / YOLO runs everything AUTO). It described dispatch no\n * code performs.\n * - **\"THE NON-BYPASSABLE FLOOR (implementation-spec P-28) applies in ALL presets, including\n * YOLO: budget ceilings, destructive operations, and publishing/off-machine side effects\n * hard-gate preset-independently.\"** No such floor runs. A reader deciding whether YOLO is safe\n * to enable would have been reassured by a guarantee that does not exist, and that is the worst\n * shape of unexecuted declaration — worse than `qualityGates`, which merely restated live checks.\n *\n * The enum is kept because nothing else expresses the posture; building it, or deleting it, is a\n * decision tracked as its own issue (#111). Until then it is a design note that happens to be typed.\n *\n * **DECIDED 2026-08-30: DEFERRED DELIBERATELY.** `application-creation-directive.md` — the system\n * must WORK first, restrictions arrive later from a real incident as judge-style guards. So the\n * absence of a preset mechanism is the current intended posture, and a future author should not\n * read it as an oversight.\n *\n * **The rule conflict this comment used to record is SETTLED — do not re-derive it.** It said the\n * two always-on rules disagreed about who may accept: this enum's `YOLO` row means \"the system\n * commits everything automatically\" (`application-creation-directive.md`), while\n * `one-source-of-truth.md` Rule 3 was read as \"only a human commits\". D5 was amended on 2026-09-03\n * (Paul) and names THIS FILE as the record of the conflict it settles: the AUTONOMY POSTURE governs\n * who commits, the current posture is YOLO for all, and \"only a human commits\" describes the GUIDED\n * posture rather than a floor.\n *\n * So what stands between the decided posture and the running system is a MECHANISM, not a decision.\n * Re-verified 2026-09-06: nothing in the runtime performs a commit. Acceptance is therefore a human\n * commit by ABSENCE — which is what the generated application's own `CLAUDE.md` accurately tells a\n * dispatched agent, and that text must not be \"reconciled\" to the posture until a commit path\n * exists, or it would promise a mechanism no code performs.\n *\n * What building the preset still owes, from D5 rather than from a fresh decision: the critical gate\n * points stay MARKED in every mechanism (a legally-binding statement leaving the system,\n * critical-risk acceptance, irreversible outward-facing acts) so they can be armed when the posture\n * changes; under YOLO they notify and proceed. Arming them is part of Gate 3's membership test.\n */\nexport enum Journey_AutonomyPreset {\n GUIDED = \"guided\",\n YOLO_LIGHT = \"yolo_light\",\n YOLO = \"yolo\",\n}\n\n/** Who made a journey decision. */\nexport enum Journey_DecisionActor {\n HUMAN = \"human\",\n CHOREOGRAPHER = \"choreographer\",\n}\n\n/** Kinds of durable journey decisions (git-versioned — see file header). */\nexport enum Journey_DecisionKind {\n APPROVAL = \"approval\",\n REJECTION = \"rejection\",\n ANNOTATION = \"annotation\",\n CHOREOGRAPHER_DECISION = \"choreographer_decision\",\n}\n\n/**\n * The journey's declared scope — a FIRST-CLASS concept from day one\n * (design plan S4): the snapshot, choreographer, and coverage judge reason\n * only over the scoped subset. Real journeys iterate module-by-module;\n * the first Wonder Todos dogfood journeys scope to the tasks-manager slice\n * because WT is a deliberately over-built test bench. Omitted axes mean\n * \"no restriction on that axis\".\n */\nexport const Journey_ScopeSchema = z.object({\n moduleIds: z.array(z.string().min(1)).optional(),\n resourceTypes: z.array(z.string().min(1)).optional(),\n});\nexport type Journey_Scope = z.infer<typeof Journey_ScopeSchema>;\n\n/**\n * Journey identity + posture. `budget` carries the JOURNEY-level ceilings\n * (P-28) that cap the sum of all playbook runs; the runner enforces both\n * levels and refuses dispatch once either is hit.\n */\nexport const Journey_DefinitionSchema = z.object({\n journeyId: z.string().min(1),\n title: z.string().min(1).optional(),\n phase: z.enum(MetaWorkflow_Phase),\n autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),\n scope: Journey_ScopeSchema.optional(),\n budget: MetaWorkflow_PlaybookBudgetSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\nexport type Journey_Definition = z.infer<typeof Journey_DefinitionSchema>;\n\n/** A human gate awaiting decision, surfaced by the HITL routes. */\nexport const Journey_PendingGateSchema = z.object({\n gateRef: z.string().min(1),\n playbookRef: z.string().min(1).optional(),\n /** ActorSystem execution `_id` of the run that raised the gate, if any. */\n playbookRunId: z.string().min(1).optional(),\n requestedAt: z.iso.datetime(),\n});\nexport type Journey_PendingGate = z.infer<typeof Journey_PendingGateSchema>;\n\n/**\n * The disposable machine-local resume cache (see file header — cursor is\n * NEVER authority; everything in it is either mirrored from git-versioned\n * decisions or re-derivable from the snapshot/control-plane).\n */\nexport const Journey_CursorSchema = z.object({\n journeyId: z.string().min(1),\n phase: z.enum(MetaWorkflow_Phase),\n autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),\n pendingGates: z.array(Journey_PendingGateSchema).default([]),\n resumePointers: z\n .object({\n lastExecutionId: z.string().min(1).optional(),\n lastDecisionRef: z.string().min(1).optional(),\n })\n .optional(),\n updatedAt: z.iso.datetime(),\n});\nexport type Journey_Cursor = z.infer<typeof Journey_CursorSchema>;\n\n/**\n * One durable journey decision — the git-versioned audit record (KD-G).\n * `subjectRef` names what was decided on (a gateRef, a playbookRef, or a\n * playbook-run id). Approval provenance lives HERE, never in the cursor:\n * records must survive clones, be visible to teammates, and serve as\n * compliance evidence.\n */\nexport const Journey_DecisionRecordSchema = z.object({\n ref: z.string().min(1),\n journeyId: z.string().min(1),\n kind: z.enum(Journey_DecisionKind),\n subjectRef: z.string().min(1),\n decidedBy: z.enum(Journey_DecisionActor),\n rationale: z.string().optional(),\n decidedAt: z.iso.datetime(),\n});\nexport type Journey_DecisionRecord = z.infer<typeof Journey_DecisionRecordSchema>;\n"]}