@wildo-ai/saas-specifications 1.1.5 → 1.1.6

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 (677) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +14 -13
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
  6. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
  8. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
  10. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/index.js +34 -13
  12. package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
  14. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
  15. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
  16. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
  17. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
  18. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
  19. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
  20. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +3 -2
  21. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  22. package/dist/esm/_core/application-specification-family-identity.schemas.js +3 -2
  23. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  24. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +18 -0
  25. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  26. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +39 -13
  27. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  28. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +43 -13
  29. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  30. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +90 -2
  31. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  32. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +70 -6
  33. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  34. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  35. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +26 -4
  36. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  37. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +14 -0
  38. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  40. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
  41. package/dist/esm/_core/capability-composition/capability-composition-validation.js +1 -0
  42. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
  43. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +21 -2
  44. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +20 -1
  46. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  47. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +11 -32
  48. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +70 -3
  50. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  51. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +142 -17
  52. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  53. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +285 -30
  54. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  55. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +183 -18
  56. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  57. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +165 -18
  58. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  59. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
  60. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
  61. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
  62. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
  63. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
  64. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
  65. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
  66. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
  67. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
  68. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
  69. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
  70. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
  71. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
  72. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
  73. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
  74. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
  75. package/dist/esm/_core/composite-view-specification.schemas.js +8 -1
  76. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  77. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -2
  78. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  79. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +3 -2
  80. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  81. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +16 -3
  82. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +70 -5
  84. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  85. package/dist/esm/_core/family-aspects.schemas.d.ts +10 -0
  86. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  88. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +2 -2
  89. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +1 -0
  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-specification-drafts.schemas.d.ts +16 -0
  92. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  93. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +8 -0
  94. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  95. package/dist/esm/_core/index.d.ts +3 -0
  96. package/dist/esm/_core/index.d.ts.map +1 -1
  97. package/dist/esm/_core/index.js +3 -0
  98. package/dist/esm/_core/index.js.map +1 -1
  99. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +5 -0
  100. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  101. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +3 -1
  102. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
  103. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  104. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +12 -2
  105. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  106. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +30 -2
  107. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +32 -2
  109. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  110. package/dist/esm/_core/market/feature-benefit.schemas.js +2 -2
  111. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  112. package/dist/esm/_core/market/market-alternative.schemas.js +2 -2
  113. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  114. package/dist/esm/_core/market/market-buying-journey.schemas.js +2 -2
  115. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  116. package/dist/esm/_core/market/market-category.schemas.js +2 -2
  117. package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
  118. package/dist/esm/_core/market/market-channel.schemas.js +2 -2
  119. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  120. package/dist/esm/_core/market/market-gain.schemas.js +2 -2
  121. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  122. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/market/market-icp.schemas.js +2 -2
  124. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  125. package/dist/esm/_core/market/market-job.schemas.js +2 -2
  126. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  127. package/dist/esm/_core/market/market-message-template.schemas.js +2 -2
  128. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  129. package/dist/esm/_core/market/market-objection.schemas.js +2 -2
  130. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  131. package/dist/esm/_core/market/market-pain.schemas.js +2 -2
  132. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  133. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/market/market-persona.schemas.js +2 -2
  135. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  136. package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
  137. package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
  138. package/dist/esm/_core/market/market-proof.schemas.js +2 -2
  139. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  140. package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
  141. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/market/market-references.schemas.js +6 -0
  143. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  144. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +4 -4
  145. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +2 -2
  146. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  147. package/dist/esm/_core/market/market-trigger.schemas.js +2 -2
  148. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  149. package/dist/esm/_core/market/market.family-aspects.js +1 -1
  150. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  151. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +6 -1
  153. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  154. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +1 -0
  155. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
  157. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  158. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +1 -0
  159. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  160. package/dist/esm/_core/resource-specification.schemas.d.ts +86 -28
  161. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/resource-specification.schemas.js +110 -24
  163. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  164. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
  165. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
  166. package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
  167. package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
  168. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +31 -6
  169. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  170. package/dist/esm/_core/website-plan/website-plan.schemas.js +35 -6
  171. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  172. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +142 -3
  173. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  174. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +148 -14
  175. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  176. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +70 -10
  177. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  178. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +98 -11
  179. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  180. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
  181. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
  182. package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
  183. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
  184. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
  185. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
  186. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
  187. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
  188. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +5 -49
  189. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  190. package/dist/esm/application-creation/journey.application-creation.schemas.js +25 -60
  191. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  192. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
  193. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
  194. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
  195. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
  196. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +26 -6
  197. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  198. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +28 -1
  199. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  200. package/dist/esm/application-creation.exports.d.ts +7 -0
  201. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  202. package/dist/esm/application-creation.exports.js +7 -0
  203. package/dist/esm/application-creation.exports.js.map +1 -1
  204. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +1 -1
  205. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +1 -1
  206. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -1
  207. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +24 -1
  208. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  209. package/dist/esm/assurance/assurance-authority-basis.definitions.js +75 -5
  210. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  211. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +6 -0
  212. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  213. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
  214. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  215. package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
  216. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  217. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  218. package/dist/esm/assurance/assurance-document-system.definitions.js +39 -6
  219. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  220. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +11 -0
  221. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  222. package/dist/esm/assurance/assurance-document-system.schemas.js +19 -0
  223. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  224. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  225. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +295 -31
  226. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  227. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +7 -0
  228. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  229. package/dist/esm/assurance/assurance-foundation.schemas.js +7 -0
  230. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  231. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  232. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +17 -0
  233. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  234. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +5 -1
  235. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  236. package/dist/esm/assurance/assurance-program-generation.schemas.js +6 -3
  237. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  238. package/dist/esm/assurance/assurance-program.family-aspects.js +1 -1
  239. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  240. package/dist/esm/assurance/assurance-program.schemas.d.ts +232 -3
  241. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  242. package/dist/esm/assurance/assurance-program.schemas.js +107 -14
  243. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  244. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  245. package/dist/esm/assurance/assurance-source-registry.definitions.js +77 -1
  246. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  247. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  248. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +23 -1
  249. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  250. package/dist/esm/assurance/governed-document-release.d.ts +7 -0
  251. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  252. package/dist/esm/assurance/governed-document-release.js +11 -2
  253. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  254. package/dist/esm/companion-exports.d.ts +6 -5
  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/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
  258. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  259. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +35 -33
  260. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  261. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  262. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +6 -2
  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 +13 -12
  266. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  267. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  268. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +26 -2
  269. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  271. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -4
  272. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  273. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  274. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +11 -9
  275. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  276. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
  277. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  278. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -0
  279. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  280. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +45 -32
  281. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  282. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -23
  283. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  284. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +185 -31
  285. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +2 -1
  287. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  288. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +29 -7
  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 +7 -1
  292. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  294. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +9 -6
  295. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  297. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  298. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +11 -7
  299. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +18 -16
  302. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  304. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +9 -11
  305. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  306. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  307. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +238 -219
  308. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  309. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -24
  310. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  311. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +76 -16
  312. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  313. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +2 -1
  314. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +28 -6
  316. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  317. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  318. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +29 -11
  319. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +1 -1
  321. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
  322. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
  323. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  324. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +13 -12
  325. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  326. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
  327. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  328. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  329. package/dist/esm/engine/billing/resources/prices.resource.specification.js +12 -9
  330. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  331. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +7 -4
  332. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  333. package/dist/esm/engine/billing/resources/products.resource.specification.js +36 -16
  334. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  336. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +13 -10
  337. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  338. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
  339. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  340. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
  341. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  342. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
  343. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  344. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +85 -25
  345. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  346. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
  347. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  348. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -2
  349. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  350. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +45 -10
  351. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  352. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +15 -2
  353. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  354. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +52 -12
  355. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  356. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  357. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  358. package/dist/esm/engine/compliance/resources/index.js +1 -0
  359. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  360. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
  361. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
  362. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
  363. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
  364. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
  365. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
  366. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
  367. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
  368. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  369. package/dist/esm/engine/engine-resource-specifications.registry.js +59 -0
  370. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  371. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/errors/error-messages.specification.js +69 -0
  373. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  374. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
  375. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  376. package/dist/esm/engine/features/resources/application-features.resource.specification.js +9 -10
  377. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  378. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +5 -5
  379. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +11 -11
  380. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +5 -5
  382. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  383. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  384. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/files/resources/files.resource.specification.js +7 -8
  386. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  387. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  388. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
  389. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  390. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +1 -1
  391. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  392. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
  393. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
  394. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
  395. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
  396. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +139 -1
  397. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +150 -4
  399. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  400. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
  402. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
  404. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
  405. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
  406. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
  407. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
  408. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
  409. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
  410. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
  411. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +2 -1
  412. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +16 -9
  414. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  415. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
  416. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  417. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
  418. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
  419. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
  420. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
  421. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
  422. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
  423. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
  424. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
  425. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +3 -1
  427. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
  428. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  429. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +5 -4
  430. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  431. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  433. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
  434. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  435. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  436. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  437. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
  438. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
  439. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
  440. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
  441. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  442. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  443. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
  444. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  445. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +1 -1
  447. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
  448. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
  449. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  450. package/dist/esm/engine/frontend-components/index.d.ts +1 -0
  451. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  452. package/dist/esm/engine/frontend-components/index.js +3 -0
  453. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  454. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
  455. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
  456. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
  457. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
  458. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
  459. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
  460. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
  462. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
  463. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
  464. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  465. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  466. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
  467. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  468. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +26 -0
  470. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
  472. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  473. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
  474. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
  475. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
  476. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
  477. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
  478. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
  479. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
  480. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
  481. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
  482. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
  483. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
  484. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
  485. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
  486. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
  487. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
  488. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
  489. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -1
  490. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +20 -16
  492. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
  494. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
  495. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
  496. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
  497. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +19 -6
  499. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  500. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
  501. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
  502. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
  503. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
  504. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +8 -0
  505. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -2
  507. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  508. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +8 -8
  509. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  510. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  511. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +4 -4
  512. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  513. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
  514. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
  515. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
  516. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
  517. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
  518. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
  519. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
  520. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
  521. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
  522. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
  523. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
  524. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
  525. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
  526. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
  527. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
  528. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
  529. package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
  530. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  531. package/dist/esm/engine/notifications/resources/index.js +1 -0
  532. package/dist/esm/engine/notifications/resources/index.js.map +1 -1
  533. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
  534. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  535. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -5
  536. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  537. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
  539. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  540. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +6 -6
  541. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +8 -11
  543. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  544. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
  545. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
  546. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
  547. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
  548. package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
  549. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  550. package/dist/esm/engine/notifications/system-emails/index.js +4 -2
  551. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  552. package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
  553. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  554. package/dist/esm/engine/organizations/resources/index.js +2 -0
  555. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  556. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +3 -0
  557. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +40 -12
  559. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  560. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
  561. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  562. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
  563. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  564. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +0 -1
  565. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -6
  567. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  568. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +7 -3
  570. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  571. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +15 -8
  573. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  574. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +3 -1
  575. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +36 -21
  577. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  578. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
  579. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
  580. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
  581. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
  582. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
  583. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
  584. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
  585. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
  586. package/dist/esm/engine/providers/apple.provider.specification.js +1 -1
  587. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  588. package/dist/esm/engine/providers/github.provider.specification.js +1 -1
  589. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  590. package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
  591. package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
  592. package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
  593. package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
  594. package/dist/esm/engine/providers/google.provider.specification.js +1 -1
  595. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  596. package/dist/esm/engine/providers/index.d.ts +2 -0
  597. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  598. package/dist/esm/engine/providers/index.js +5 -1
  599. package/dist/esm/engine/providers/index.js.map +1 -1
  600. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -6
  602. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  603. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
  604. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
  605. package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
  606. package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
  607. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/providers/resend.provider.specification.js +3 -1
  609. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  610. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/providers/stripe.provider.specification.js +3 -2
  612. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  613. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
  614. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
  615. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
  616. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
  617. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
  618. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
  619. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
  620. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
  621. package/dist/esm/engine/roles/index.d.ts +13 -5
  622. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  623. package/dist/esm/engine/roles/index.js +19 -6
  624. package/dist/esm/engine/roles/index.js.map +1 -1
  625. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
  626. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
  628. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
  629. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
  630. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
  632. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
  633. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
  634. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
  635. package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
  636. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
  637. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  638. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  639. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  640. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  641. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
  642. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  643. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
  644. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
  645. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  646. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  647. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +2 -2
  648. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  649. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +0 -4
  650. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  651. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +0 -3
  652. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  653. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +0 -3
  654. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +7 -7
  656. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  657. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
  658. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +0 -3
  660. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +11 -18
  662. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  663. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +6 -6
  664. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  665. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/users/resources/user-self.resource.specification.js +5 -1
  667. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  668. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +8 -5
  669. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/users/resources/users.resource.specification.js +49 -16
  671. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  672. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  673. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +29 -10
  674. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  675. package/dist/tsconfig.build.tsbuildinfo +1 -1
  676. package/package.json +8 -8
  677. package/dist/assurance/external-framework-mapping.json +0 -1228
@@ -8,7 +8,7 @@ import '@wildo-ai/zod-decorators';
8
8
  *
9
9
  * ## Why a family, and why it is DERIVED
10
10
  *
11
- * `templates/saas/scenarios/` ships fourteen composition scenarios and the journey applied two of
11
+ * `templates/saas/scenarios/` shipped fourteen composition scenarios and the journey applied two of
12
12
  * them (`add-module`, `add-resource`), both read off the domain plan. Nothing decided whether an
13
13
  * application has a website, a documentation portal, a worker, a minion, a second locale or
14
14
  * another environment, so twelve scenarios were reachable only by a human typing `wildo compose`.
@@ -48,7 +48,13 @@ export declare enum CompositionScenarioRef {
48
48
  ADD_PROVIDER = "add-provider",
49
49
  ADD_FILE_PICKER_PROVIDER = "add-file-picker-provider",
50
50
  ADD_ENVIRONMENT = "add-environment",
51
- ADD_LOCALE = "add-locale"
51
+ ADD_LOCALE = "add-locale",
52
+ /**
53
+ * Adopt the optional 3D layout library (#1827): declare `@wildo-ai/presets-components-3d` and register ONE
54
+ * layout. An operator's opt-in (Paul, 2026-09-27: an application is 3D because it installs the library, with no
55
+ * switch), so no declaration derives it and the journey never applies it.
56
+ */
57
+ ADD_3D_LAYOUT = "add-3d-layout"
52
58
  }
53
59
  /**
54
60
  * What the composition says about one scenario.
@@ -97,6 +103,19 @@ export declare enum CompositionBasis {
97
103
  * {@link CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES}.
98
104
  */
99
105
  INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS = "INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS",
106
+ /**
107
+ * The application's configuration declares the languages it serves (`appPreferences.languages`), and
108
+ * that decides whether its website is published in more than one locale. A HOST fact rather than a
109
+ * family: no specification family declares languages, and the configuration already does, so asking
110
+ * anyone would re-state it.
111
+ */
112
+ APPLICATION_CONFIG_DECLARES_LANGUAGES = "APPLICATION_CONFIG_DECLARES_LANGUAGES",
113
+ /**
114
+ * An optional LAYOUT library (the 3D layout, #1827) is the operator's opt-in. Nothing in a product definition
115
+ * decides a rendering style: most applications are 2D, and one becomes 3D because its operator composes it —
116
+ * a decision about how the shell is drawn, not about what the product does.
117
+ */
118
+ OPERATOR_OPTS_INTO_OPTIONAL_LAYOUT = "OPERATOR_OPTS_INTO_OPTIONAL_LAYOUT",
100
119
  /** The declarations that could imply it are present and do not — measured, not assumed. */
101
120
  NO_DECLARATION_IMPLIES_IT = "NO_DECLARATION_IMPLIES_IT",
102
121
  /** No typed declaration exists yet that could decide it; `missingDeclaration` names the one that would. */
@@ -1 +1 @@
1
- {"version":3,"file":"capability-composition.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,4BAA4B;IACtC,EAAE,OAAO;CACV;AAED;;;;;;GAMG;AACH,oBAAY,sBAAsB;IAChC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,oBAAoB,yB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,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,2DAA2D"}
1
+ {"version":3,"file":"capability-composition.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,4BAA4B;IACtC,EAAE,OAAO;CACV;AAED;;;;;;GAMG;AACH,oBAAY,sBAAsB;IAChC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,oBAAoB,yBAAyB;IAC7C,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;IAC3C,kBAAkB,uBAAuB;IACzC,iBAAiB,sBAAsB;IACvC,UAAU,eAAe;IACzB,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,wBAAwB,6BAA6B;IACrD,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB;;;;OAIG;IACH,aAAa,kBAAkB;CAChC;AAED;;;;;;;;GAQG;AACH,oBAAY,sBAAsB;IAChC,oEAAoE;IACpE,MAAM,WAAW;IACjB,wGAAwG;IACxG,QAAQ,aAAa;IACrB,wFAAwF;IACxF,qBAAqB,0BAA0B;CAChD;AAED;;;;GAIG;AACH,oBAAY,gBAAgB;IAC1B,qJAAqJ;IACrJ,mCAAmC,wCAAwC;IAC3E,8EAA8E;IAC9E,kBAAkB,uBAAuB;IACzC,uFAAuF;IACvF,qCAAqC,0CAA0C;IAC/E,mLAAmL;IACnL,6BAA6B,kCAAkC;IAC/D,oHAAoH;IACpH,gCAAgC,qCAAqC;IACrE,oGAAoG;IACpG,sCAAsC,2CAA2C;IACjF,yHAAyH;IACzH,sCAAsC,2CAA2C;IACjF,4GAA4G;IAC5G,gCAAgC,qCAAqC;IACrE,6FAA6F;IAC7F,4BAA4B,iCAAiC;IAC7D;;;;OAIG;IACH,yCAAyC,8CAA8C;IACvF;;;;;OAKG;IACH,qCAAqC,0CAA0C;IAC/E;;;;OAIG;IACH,kCAAkC,uCAAuC;IACzE,2FAA2F;IAC3F,yBAAyB,8BAA8B;IACvD,2GAA2G;IAC3G,yBAAyB,8BAA8B;CACxD;AAID,sEAAsE;AACtE,eAAO,MAAM,yBAAyB;;;;IAIpC,8HAA8H;;IAE9H,2DAA2D;;IAE3D,qIAAqI;;kBAErI,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B;;;;;;QAhBtC,8HAA8H;;QAE9H,2DAA2D;;QAE3D,qIAAqI;;;iBA0BrI,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,2DAA2D"}
@@ -10,7 +10,7 @@ import '@wildo-ai/zod-decorators';
10
10
  *
11
11
  * ## Why a family, and why it is DERIVED
12
12
  *
13
- * `templates/saas/scenarios/` ships fourteen composition scenarios and the journey applied two of
13
+ * `templates/saas/scenarios/` shipped fourteen composition scenarios and the journey applied two of
14
14
  * them (`add-module`, `add-resource`), both read off the domain plan. Nothing decided whether an
15
15
  * application has a website, a documentation portal, a worker, a minion, a second locale or
16
16
  * another environment, so twelve scenarios were reachable only by a human typing `wildo compose`.
@@ -53,6 +53,12 @@ export var CompositionScenarioRef;
53
53
  CompositionScenarioRef["ADD_FILE_PICKER_PROVIDER"] = "add-file-picker-provider";
54
54
  CompositionScenarioRef["ADD_ENVIRONMENT"] = "add-environment";
55
55
  CompositionScenarioRef["ADD_LOCALE"] = "add-locale";
56
+ /**
57
+ * Adopt the optional 3D layout library (#1827): declare `@wildo-ai/presets-components-3d` and register ONE
58
+ * layout. An operator's opt-in (Paul, 2026-09-27: an application is 3D because it installs the library, with no
59
+ * switch), so no declaration derives it and the journey never applies it.
60
+ */
61
+ CompositionScenarioRef["ADD_3D_LAYOUT"] = "add-3d-layout";
56
62
  })(CompositionScenarioRef || (CompositionScenarioRef = {}));
57
63
  /**
58
64
  * What the composition says about one scenario.
@@ -103,6 +109,19 @@ export var CompositionBasis;
103
109
  * {@link CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES}.
104
110
  */
105
111
  CompositionBasis["INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS"] = "INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS";
112
+ /**
113
+ * The application's configuration declares the languages it serves (`appPreferences.languages`), and
114
+ * that decides whether its website is published in more than one locale. A HOST fact rather than a
115
+ * family: no specification family declares languages, and the configuration already does, so asking
116
+ * anyone would re-state it.
117
+ */
118
+ CompositionBasis["APPLICATION_CONFIG_DECLARES_LANGUAGES"] = "APPLICATION_CONFIG_DECLARES_LANGUAGES";
119
+ /**
120
+ * An optional LAYOUT library (the 3D layout, #1827) is the operator's opt-in. Nothing in a product definition
121
+ * decides a rendering style: most applications are 2D, and one becomes 3D because its operator composes it —
122
+ * a decision about how the shell is drawn, not about what the product does.
123
+ */
124
+ CompositionBasis["OPERATOR_OPTS_INTO_OPTIONAL_LAYOUT"] = "OPERATOR_OPTS_INTO_OPTIONAL_LAYOUT";
106
125
  /** The declarations that could imply it are present and do not — measured, not assumed. */
107
126
  CompositionBasis["NO_DECLARATION_IMPLIES_IT"] = "NO_DECLARATION_IMPLIES_IT";
108
127
  /** No typed declaration exists yet that could decide it; `missingDeclaration` names the one that would. */
@@ -1 +1 @@
1
- {"version":3,"file":"capability-composition.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;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GAA2G;IAC3G,2EAAuD,CAAA;AACzD,CAAC,EA7BW,gBAAgB,KAAhB,gBAAgB,QA6B3B;AAED,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,sEAAsE;AACtE,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,YAAY,CAAC;IACtD,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAChF,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAChF,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAC9D,8HAA8H;IAC9H,MAAM,EAAE,oBAAoB;IAC5B,2DAA2D;IAC3D,OAAO,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACxC,qIAAqI;IACrI,kBAAkB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC,EAAE,CAAC;IACtF;;;;;;;;;;OAUG;IACH,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAC7D,CAAC,CAAC;AAEH,2DAA2D","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\n/**\n * @wildo_source:part:start capability-composition.config facet:layer:specification facet:family:capability-composition\n *\n * WHICH composition scenarios this application needs — the typed declaration the foundation\n * executor applies (#1491).\n *\n * ## Why a family, and why it is DERIVED\n *\n * `templates/saas/scenarios/` ships fourteen composition scenarios and the journey applied two of\n * them (`add-module`, `add-resource`), both read off the domain plan. Nothing decided whether an\n * application has a website, a documentation portal, a worker, a minion, a second locale or\n * another environment, so twelve scenarios were reachable only by a human typing `wildo compose`.\n *\n * This family is that decision, recorded — and it is DERIVED, never asked. Every disposition below\n * names the declaration it was read from (a market channel, a brand brief, a pricing plan, an ICP\n * archetype) or names the typed declaration that would decide it and does not exist yet. A question\n * to the creator is not among the bases, by construction: `derive-before-you-ask.md` asks what\n * already decides a value, and for every scenario here something does — or nothing does, and the\n * honest record is DECLINED with the missing declaration named, not a form field.\n *\n * TOTAL over {@link CompositionScenarioRef}: a composition holds exactly one decision per scenario,\n * so a scenario added to the framework tomorrow is reported as undecided by every existing\n * application rather than silently omitted (the `undeclaredRetentionClasses` pattern).\n */\nexport enum CapabilityCompositionVersion {\n V1 = 'v1',\n}\n\n/**\n * The composition scenarios the framework ships — one member per folder under\n * `templates/saas/scenarios/`, in the value the `wildo compose <ref>` command takes.\n *\n * Closed on purpose: a scenario ref is the address of a template the composition engine loads, and a\n * ref this vocabulary does not name is one no application can be composed with.\n */\nexport enum CompositionScenarioRef {\n ADD_MODULE = 'add-module',\n ADD_RESOURCE = 'add-resource',\n ADD_CUSTOM_OPERATION = 'add-custom-operation',\n ADD_WEBSITE = 'add-website',\n ADD_WEBSITE_SECTION = 'add-website-section',\n ADD_MARKETING_PAGE = 'add-marketing-page',\n ADD_TECHNICAL_DOC = 'add-technical-doc',\n ADD_MINION = 'add-minion',\n ADD_WORKER_NODE = 'add-worker-node',\n ADD_WORKER_RUST = 'add-worker-rust',\n ADD_PROVIDER = 'add-provider',\n ADD_FILE_PICKER_PROVIDER = 'add-file-picker-provider',\n ADD_ENVIRONMENT = 'add-environment',\n ADD_LOCALE = 'add-locale',\n}\n\n/**\n * What the composition says about one scenario.\n *\n * Three members, and the third is the one that keeps the record honest: several scenarios are\n * applied by a DIFFERENT step (the domain composition applies `add-module`, a build task applies\n * `add-website-section`, the provider decision applies `add-provider`). Recording them as DECLINED\n * would read as \"this application has no modules\"; omitting them would break totality. So the\n * record says who owns them instead.\n */\nexport enum CompositionDisposition {\n /** The application needs it; the foundation executor applies it. */\n NEEDED = 'NEEDED',\n /** Nothing the application declares implies it, or no declaration exists that could — see the basis. */\n DECLINED = 'DECLINED',\n /** Another step applies this scenario, named in `ownedBy`; this record only says so. */\n OWNED_BY_ANOTHER_STEP = 'OWNED_BY_ANOTHER_STEP',\n}\n\n/**\n * WHAT decided a disposition — a closed vocabulary, because a composition decision is a statement\n * about the product and a free-text reason cannot be checked. Every member names a DERIVATION from\n * a declaration the application already carries, or names the absence of one.\n */\nexport enum CompositionBasis {\n /** The market snapshot declares an inbound web channel (organic or paid search, content, owned or paid social) — traffic that lands on a website. */\n MARKET_DECLARES_INBOUND_WEB_CHANNEL = 'MARKET_DECLARES_INBOUND_WEB_CHANNEL',\n /** A brand brief has landed: the product has a public identity to present. */\n BRAND_BRIEF_LANDED = 'BRAND_BRIEF_LANDED',\n /** The business model declares pricing plans, which a public pricing page presents. */\n BUSINESS_MODEL_DECLARES_PRICING_PLANS = 'BUSINESS_MODEL_DECLARES_PRICING_PLANS',\n /** The market snapshot targets legal entities (a CORE or EXPANSION ICP of archetype LEGAL_ENTITY): an organisation's buyers expect administrator and integration documentation. */\n MARKET_TARGETS_LEGAL_ENTITIES = 'MARKET_TARGETS_LEGAL_ENTITIES',\n /** The requirements declare a PORTABILITY non-functional requirement: data leaves through documented interfaces. */\n REQUIREMENTS_DECLARE_PORTABILITY = 'REQUIREMENTS_DECLARE_PORTABILITY',\n /** The domain plan owns modules and resources; the foundation's domain composition applies them. */\n DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES = 'DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES',\n /** A per-artifact scenario (an operation, a page, a section) is applied by the build task that produces the artifact. */\n BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS = 'BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS',\n /** Which provider serves a capability is the foundation's provider decision, not a composition question. */\n PROVIDER_DECISION_OWNS_PROVIDERS = 'PROVIDER_DECISION_OWNS_PROVIDERS',\n /** A deployment environment is an operator's act, taken when the application is deployed. */\n DEPLOYMENT_OWNS_ENVIRONMENTS = 'DEPLOYMENT_OWNS_ENVIRONMENTS',\n /**\n * The integration plan owns the workers and minions; the foundation composes one scenario per\n * surface it declares (#1495). The application-level twin of\n * {@link CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES}.\n */\n INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS = 'INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS',\n /** The declarations that could imply it are present and do not — measured, not assumed. */\n NO_DECLARATION_IMPLIES_IT = 'NO_DECLARATION_IMPLIES_IT',\n /** No typed declaration exists yet that could decide it; `missingDeclaration` names the one that would. */\n NO_DECLARATION_DECIDES_IT = 'NO_DECLARATION_DECIDES_IT',\n}\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** One scenario's decision, with the declaration it was read from. */\nexport const CompositionDecisionSchema = z.strictObject({\n scenarioRef: z.enum(CompositionScenarioRef).systemEnum('CompositionScenarioRef'),\n disposition: z.enum(CompositionDisposition).systemEnum('CompositionDisposition'),\n basis: z.enum(CompositionBasis).systemEnum('CompositionBasis'),\n /** The derivation in one sentence — which entries decided it, so a reader can check the claim against the family it names. */\n detail: NonEmptyStringSchema,\n /** For OWNED_BY_ANOTHER_STEP: the step that applies it. */\n ownedBy: NonEmptyStringSchema.optional(),\n /** For NO_DECLARATION_DECIDES_IT: the typed declaration that would decide it, so the gap is a named field rather than a question. */\n missingDeclaration: NonEmptyStringSchema.optional(),\n});\nexport type CompositionDecision = z.infer<typeof CompositionDecisionSchema>;\n\n/**\n * THE capability-composition payload — one decision per scenario the framework ships.\n *\n * **Artifact-family id: `capability-composition`.** Produced by `bottom_up.capability-composition`\n * (a runner-owned derivation, never a model), consumed by `bottom_up.foundation`, which applies the\n * NEEDED scenarios and records each applied and each declined one with its basis.\n */\nexport const CapabilityCompositionSchema = z.object({\n version: z.enum(CapabilityCompositionVersion).default(CapabilityCompositionVersion.V1),\n /*\n * `scenarioDecisions`, not `decisions`, and the reason is not style.\n *\n * The workbench's field words are ONE namespace keyed by the COLLECTION name — `tasks.objective`,\n * `decisions.disposition` — shared across every family, because a field name declared by five\n * aspects means the same thing in all five. The placement plan already owns `decisions`, and its\n * `disposition` is `PLACED | DECLINED` while this one's is `NEEDED | DECLINED |\n * OWNED_BY_ANOTHER_STEP`. Two different vocabularies under one key is exactly the merge this\n * repository calls a trick, and the collision would have been silent: one family's words would\n * simply have won.\n */\n scenarioDecisions: z.array(CompositionDecisionSchema).min(1),\n});\nexport type CapabilityComposition = z.infer<typeof CapabilityCompositionSchema>;\n/** @wildo_source:part:end capability-composition.config */\n"]}
1
+ {"version":3,"file":"capability-composition.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/capability-composition/capability-composition.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAN,IAAY,4BAEX;AAFD,WAAY,4BAA4B;IACtC,yCAAS,CAAA;AACX,CAAC,EAFW,4BAA4B,KAA5B,4BAA4B,QAEvC;AAED;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,sBAqBX;AArBD,WAAY,sBAAsB;IAChC,mDAAyB,CAAA;IACzB,uDAA6B,CAAA;IAC7B,uEAA6C,CAAA;IAC7C,qDAA2B,CAAA;IAC3B,qEAA2C,CAAA;IAC3C,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;IACvC,mDAAyB,CAAA;IACzB,6DAAmC,CAAA;IACnC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CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAChF,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAChF,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAC9D,8HAA8H;IAC9H,MAAM,EAAE,oBAAoB;IAC5B,2DAA2D;IAC3D,OAAO,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACxC,qIAAqI;IACrI,kBAAkB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC,EAAE,CAAC;IACtF;;;;;;;;;;OAUG;IACH,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAC7D,CAAC,CAAC;AAEH,2DAA2D","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\n/**\n * @wildo_source:part:start capability-composition.config facet:layer:specification facet:family:capability-composition\n *\n * WHICH composition scenarios this application needs — the typed declaration the foundation\n * executor applies (#1491).\n *\n * ## Why a family, and why it is DERIVED\n *\n * `templates/saas/scenarios/` shipped fourteen composition scenarios and the journey applied two of\n * them (`add-module`, `add-resource`), both read off the domain plan. Nothing decided whether an\n * application has a website, a documentation portal, a worker, a minion, a second locale or\n * another environment, so twelve scenarios were reachable only by a human typing `wildo compose`.\n *\n * This family is that decision, recorded — and it is DERIVED, never asked. Every disposition below\n * names the declaration it was read from (a market channel, a brand brief, a pricing plan, an ICP\n * archetype) or names the typed declaration that would decide it and does not exist yet. A question\n * to the creator is not among the bases, by construction: `derive-before-you-ask.md` asks what\n * already decides a value, and for every scenario here something does — or nothing does, and the\n * honest record is DECLINED with the missing declaration named, not a form field.\n *\n * TOTAL over {@link CompositionScenarioRef}: a composition holds exactly one decision per scenario,\n * so a scenario added to the framework tomorrow is reported as undecided by every existing\n * application rather than silently omitted (the `undeclaredRetentionClasses` pattern).\n */\nexport enum CapabilityCompositionVersion {\n V1 = 'v1',\n}\n\n/**\n * The composition scenarios the framework ships — one member per folder under\n * `templates/saas/scenarios/`, in the value the `wildo compose <ref>` command takes.\n *\n * Closed on purpose: a scenario ref is the address of a template the composition engine loads, and a\n * ref this vocabulary does not name is one no application can be composed with.\n */\nexport enum CompositionScenarioRef {\n ADD_MODULE = 'add-module',\n ADD_RESOURCE = 'add-resource',\n ADD_CUSTOM_OPERATION = 'add-custom-operation',\n ADD_WEBSITE = 'add-website',\n ADD_WEBSITE_SECTION = 'add-website-section',\n ADD_MARKETING_PAGE = 'add-marketing-page',\n ADD_TECHNICAL_DOC = 'add-technical-doc',\n ADD_MINION = 'add-minion',\n ADD_WORKER_NODE = 'add-worker-node',\n ADD_WORKER_RUST = 'add-worker-rust',\n ADD_PROVIDER = 'add-provider',\n ADD_FILE_PICKER_PROVIDER = 'add-file-picker-provider',\n ADD_ENVIRONMENT = 'add-environment',\n ADD_LOCALE = 'add-locale',\n /**\n * Adopt the optional 3D layout library (#1827): declare `@wildo-ai/presets-components-3d` and register ONE\n * layout. An operator's opt-in (Paul, 2026-09-27: an application is 3D because it installs the library, with no\n * switch), so no declaration derives it and the journey never applies it.\n */\n ADD_3D_LAYOUT = 'add-3d-layout',\n}\n\n/**\n * What the composition says about one scenario.\n *\n * Three members, and the third is the one that keeps the record honest: several scenarios are\n * applied by a DIFFERENT step (the domain composition applies `add-module`, a build task applies\n * `add-website-section`, the provider decision applies `add-provider`). Recording them as DECLINED\n * would read as \"this application has no modules\"; omitting them would break totality. So the\n * record says who owns them instead.\n */\nexport enum CompositionDisposition {\n /** The application needs it; the foundation executor applies it. */\n NEEDED = 'NEEDED',\n /** Nothing the application declares implies it, or no declaration exists that could — see the basis. */\n DECLINED = 'DECLINED',\n /** Another step applies this scenario, named in `ownedBy`; this record only says so. */\n OWNED_BY_ANOTHER_STEP = 'OWNED_BY_ANOTHER_STEP',\n}\n\n/**\n * WHAT decided a disposition — a closed vocabulary, because a composition decision is a statement\n * about the product and a free-text reason cannot be checked. Every member names a DERIVATION from\n * a declaration the application already carries, or names the absence of one.\n */\nexport enum CompositionBasis {\n /** The market snapshot declares an inbound web channel (organic or paid search, content, owned or paid social) — traffic that lands on a website. */\n MARKET_DECLARES_INBOUND_WEB_CHANNEL = 'MARKET_DECLARES_INBOUND_WEB_CHANNEL',\n /** A brand brief has landed: the product has a public identity to present. */\n BRAND_BRIEF_LANDED = 'BRAND_BRIEF_LANDED',\n /** The business model declares pricing plans, which a public pricing page presents. */\n BUSINESS_MODEL_DECLARES_PRICING_PLANS = 'BUSINESS_MODEL_DECLARES_PRICING_PLANS',\n /** The market snapshot targets legal entities (a CORE or EXPANSION ICP of archetype LEGAL_ENTITY): an organisation's buyers expect administrator and integration documentation. */\n MARKET_TARGETS_LEGAL_ENTITIES = 'MARKET_TARGETS_LEGAL_ENTITIES',\n /** The requirements declare a PORTABILITY non-functional requirement: data leaves through documented interfaces. */\n REQUIREMENTS_DECLARE_PORTABILITY = 'REQUIREMENTS_DECLARE_PORTABILITY',\n /** The domain plan owns modules and resources; the foundation's domain composition applies them. */\n DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES = 'DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES',\n /** A per-artifact scenario (an operation, a page, a section) is applied by the build task that produces the artifact. */\n BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS = 'BUILD_TASKS_OWN_PER_ARTIFACT_SCENARIOS',\n /** Which provider serves a capability is the foundation's provider decision, not a composition question. */\n PROVIDER_DECISION_OWNS_PROVIDERS = 'PROVIDER_DECISION_OWNS_PROVIDERS',\n /** A deployment environment is an operator's act, taken when the application is deployed. */\n DEPLOYMENT_OWNS_ENVIRONMENTS = 'DEPLOYMENT_OWNS_ENVIRONMENTS',\n /**\n * The integration plan owns the workers and minions; the foundation composes one scenario per\n * surface it declares (#1495). The application-level twin of\n * {@link CompositionBasis.DOMAIN_PLAN_OWNS_MODULES_AND_RESOURCES}.\n */\n INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS = 'INTEGRATION_PLAN_OWNS_WORKERS_AND_MINIONS',\n /**\n * The application's configuration declares the languages it serves (`appPreferences.languages`), and\n * that decides whether its website is published in more than one locale. A HOST fact rather than a\n * family: no specification family declares languages, and the configuration already does, so asking\n * anyone would re-state it.\n */\n APPLICATION_CONFIG_DECLARES_LANGUAGES = 'APPLICATION_CONFIG_DECLARES_LANGUAGES',\n /**\n * An optional LAYOUT library (the 3D layout, #1827) is the operator's opt-in. Nothing in a product definition\n * decides a rendering style: most applications are 2D, and one becomes 3D because its operator composes it —\n * a decision about how the shell is drawn, not about what the product does.\n */\n OPERATOR_OPTS_INTO_OPTIONAL_LAYOUT = 'OPERATOR_OPTS_INTO_OPTIONAL_LAYOUT',\n /** The declarations that could imply it are present and do not — measured, not assumed. */\n NO_DECLARATION_IMPLIES_IT = 'NO_DECLARATION_IMPLIES_IT',\n /** No typed declaration exists yet that could decide it; `missingDeclaration` names the one that would. */\n NO_DECLARATION_DECIDES_IT = 'NO_DECLARATION_DECIDES_IT',\n}\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** One scenario's decision, with the declaration it was read from. */\nexport const CompositionDecisionSchema = z.strictObject({\n scenarioRef: z.enum(CompositionScenarioRef).systemEnum('CompositionScenarioRef'),\n disposition: z.enum(CompositionDisposition).systemEnum('CompositionDisposition'),\n basis: z.enum(CompositionBasis).systemEnum('CompositionBasis'),\n /** The derivation in one sentence — which entries decided it, so a reader can check the claim against the family it names. */\n detail: NonEmptyStringSchema,\n /** For OWNED_BY_ANOTHER_STEP: the step that applies it. */\n ownedBy: NonEmptyStringSchema.optional(),\n /** For NO_DECLARATION_DECIDES_IT: the typed declaration that would decide it, so the gap is a named field rather than a question. */\n missingDeclaration: NonEmptyStringSchema.optional(),\n});\nexport type CompositionDecision = z.infer<typeof CompositionDecisionSchema>;\n\n/**\n * THE capability-composition payload — one decision per scenario the framework ships.\n *\n * **Artifact-family id: `capability-composition`.** Produced by `bottom_up.capability-composition`\n * (a runner-owned derivation, never a model), consumed by `bottom_up.foundation`, which applies the\n * NEEDED scenarios and records each applied and each declined one with its basis.\n */\nexport const CapabilityCompositionSchema = z.object({\n version: z.enum(CapabilityCompositionVersion).default(CapabilityCompositionVersion.V1),\n /*\n * `scenarioDecisions`, not `decisions`, and the reason is not style.\n *\n * The workbench's field words are ONE namespace keyed by the COLLECTION name — `tasks.objective`,\n * `decisions.disposition` — shared across every family, because a field name declared by five\n * aspects means the same thing in all five. The placement plan already owns `decisions`, and its\n * `disposition` is `PLACED | DECLINED` while this one's is `NEEDED | DECLINED |\n * OWNED_BY_ANOTHER_STEP`. Two different vocabularies under one key is exactly the merge this\n * repository calls a trick, and the collision would have been silent: one family's words would\n * simply have won.\n */\n scenarioDecisions: z.array(CompositionDecisionSchema).min(1),\n});\nexport type CapabilityComposition = z.infer<typeof CapabilityCompositionSchema>;\n/** @wildo_source:part:end capability-composition.config */\n"]}
@@ -1,38 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import '@wildo-ai/zod-decorators';
3
3
  import { type ApplicationDocumentFactDeclarationSet } from "../../application-creation/application-document-fact-specification.application-creation.schemas";
4
- /**
5
- * A proposed governed-document draft — a privacy notice or service terms — as CONTENT.
6
- *
7
- * ## Why this exists again
8
- *
9
- * `ApplicationAssuranceDocumentCandidateContentDraftV1` was deleted with the assurance custody lane, which
10
- * left `refinement.compliance-document-candidate` naming a schema nothing could resolve: the one playbook in
11
- * the catalog that could not run at all. But the contract governing that deletion is explicit about the
12
- * split (`.claude/rules/one-source-of-truth.md`, rule 7): *"What survives: the assurance document CONTENT
13
- * schemas and their validators. What dissolves: draft custody, reviewer-authority grants,
14
- * release/reintegration state machines, CAS-bound snapshot appends and provider locks."*
15
- *
16
- * The old schema was both, in one 433-line file. This is the content half, restored on its own.
17
- *
18
- * ## What was deliberately NOT restored
19
- *
20
- * The original clause and variant-selection shapes wrapped every fact reference in a binding carrying
21
- * `valueDigest` and `authorityEvidenceDigests` — a sealed proof that the fact a clause rested on had not
22
- * moved. That is custody: it exists to make a draft tamper-evident on the way to a reviewer. A fact
23
- * REFERENCE is content ("this clause rests on fact X" is what the document says); the digest of that fact's
24
- * value is apparatus around it, and Rule 0 keeps nothing that cannot be branched and merged.
25
- *
26
- * Nothing is weakened by the removal, because nothing verified those digests any more — the reconciler that
27
- * did went with the lane. What remains is the shape a model must produce and a human must read.
28
- */
29
- /**
30
- * `namespace:local-id` — the ref shape every reference in this family takes.
31
- *
32
- * Exported so the family schema and its generation contract share ONE definition. Two copies of a ref
33
- * regex is two things that can disagree about what a valid ref is, and the disagreement is invisible:
34
- * a provider answer would pass generation and fail the family parse it is normalized into.
35
- */
36
4
  export declare const ComplianceDocumentNamespacedRefSchema: z.ZodString;
37
5
  /**
38
6
  * The one namespace `sourcePolicyRefs` may use — see the field's own JSDoc for the measurement.
@@ -884,6 +852,17 @@ export declare enum ComplianceDocumentCandidateIssueKind {
884
852
  */
885
853
  INVALID_JURISDICTION_REF = "INVALID_JURISDICTION_REF",
886
854
  DUPLICATE_VARIANT_AXIS = "DUPLICATE_VARIANT_AXIS",
855
+ /**
856
+ * A variant selection names an axis the document's blueprint does not declare. The candidate then
857
+ * records a publication decision on a question the document does not have — measured on Wonder CRM,
858
+ * whose service-terms candidate selected `audience:commercial-model` while the catalog declares
859
+ * variant axes only on the privacy notice (#1648).
860
+ */
861
+ UNKNOWN_VARIANT_AXIS = "UNKNOWN_VARIANT_AXIS",
862
+ /** A variant selection picks an option its axis does not offer. */
863
+ UNKNOWN_VARIANT_OPTION = "UNKNOWN_VARIANT_OPTION",
864
+ /** An `EXACTLY_ONE` axis is answered with more or fewer than one option. */
865
+ VARIANT_OPTION_CARDINALITY = "VARIANT_OPTION_CARDINALITY",
887
866
  DANGLING_CLAUSE_FACT = "DANGLING_CLAUSE_FACT"
888
867
  }
889
868
  export interface ComplianceDocumentCandidateIssue {
@@ -1 +1 @@
1
- {"version":3,"file":"compliance-document-candidate.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAEL,KAAK,qCAAqC,EAC3C,MAAM,iGAAiG,CAAC;AAEzG;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC,aAAsH,CAAC;AAMzK;;;;;;;GAOG;AACH,eAAO,MAAM,2CAA2C,YAAY,CAAC;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAAI,kBAAkB,SAAS,MAAM,EAAE,KAAG,SAAS,MAAM,EACO,CAAC;AAEjG;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,GAAI,WAAW,MAAM,EAAE,WAAW,SAAS,MAAM,EAAE,KAAG,MAMvC,CAAC;AAEzD;;;;;;;;GAQG;AACH,eAAO,MAAM,sCAAsC,mBAAmB,CAAC;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,2CAA2C,+CAA+C,CAAC;AAExG;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,2BAA2B,GAAI,cAAc,SAAS,MAAM,EAAE,KAAG,SAAS,MAAM,EAC0D,CAAC;AAExJ,uGAAuG;AACvG,eAAO,MAAM,wBAAwB,GAAI,WAAW,MAAM,EAAE,WAAW,SAAS,MAAM,EAAE,KAA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G,MAAM,WAAW,4CAA4C;IAC3D,QAAQ,CAAC,IAAI,EAAE,gDAAgD,CAAC;IAChE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iDAAiD,EAAE,QAAQ,CACtE,MAAM,CAAC,gDAAgD,EAAE,OAAO,CAAC,CAIlE,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,wBAAgB,+CAA+C,CAC7D,SAAS,EAAE,2BAA2B,EACtC,yBAAyB,EAAE,SAAS,MAAM,EAAE,GAC3C;IAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,4CAA4C,EAAE,CAAA;CAAE,CAiDpG"}
1
+ {"version":3,"file":"compliance-document-candidate.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAEL,KAAK,qCAAqC,EAC3C,MAAM,iGAAiG,CAAC;AAgDzG,eAAO,MAAM,qCAAqC,aAA+E,CAAC;AAYlI;;;;;;;GAOG;AACH,eAAO,MAAM,2CAA2C,YAAY,CAAC;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAAI,kBAAkB,SAAS,MAAM,EAAE,KAAG,SAAS,MAAM,EACO,CAAC;AAEjG;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,GAAI,WAAW,MAAM,EAAE,WAAW,SAAS,MAAM,EAAE,KAAG,MAMvC,CAAC;AAEzD;;;;;;;;GAQG;AACH,eAAO,MAAM,sCAAsC,mBAAmB,CAAC;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,2CAA2C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,CA0OnG;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,yCAAyC,CACvD,GAAG,cAAc,EAAE,SAAS,CAAC,qCAAqC,GAAG,SAAS,CAAC,EAAE,GAChF,WAAW,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAczD;AAED;;;;;;;;;;;;;GAaG;AACH,oBAAY,gDAAgD;IAC1D;;;;;OAKG;IACH,uBAAuB,4BAA4B;IACnD;;;;;;;;;;;OAWG;IACH,yBAAyB,8BAA8B;CACxD;AAED,uGAAuG;AACvG,MAAM,WAAW,4CAA4C;IAC3D,QAAQ,CAAC,IAAI,EAAE,gDAAgD,CAAC;IAChE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iDAAiD,EAAE,QAAQ,CACtE,MAAM,CAAC,gDAAgD,EAAE,OAAO,CAAC,CAIlE,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,wBAAgB,+CAA+C,CAC7D,SAAS,EAAE,2BAA2B,EACtC,yBAAyB,EAAE,SAAS,MAAM,EAAE,GAC3C;IAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,4CAA4C,EAAE,CAAA;CAAE,CAiDpG"}
@@ -4,6 +4,18 @@ import { z } from "zod";
4
4
  // never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
5
5
  import '@wildo-ai/zod-decorators';
6
6
  import { ApplicationAssuranceDocumentFactContributionResolutionKind, } from "../../application-creation/application-document-fact-specification.application-creation.schemas.js";
7
+ /*
8
+ * entrypoint-closure-waiver: MEASURED SAFE, 2026-09-27. The two `assurance-document-system` modules are
9
+ * published only by the `assurance` subpath, and this root-exported file imports them (#1648, the variant
10
+ * selection checked against the blueprint). Both are used ONLY inside the module-private variant validator:
11
+ * a memoized catalog and one enum comparison. The emitted declaration
12
+ * (`dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts`, from the same compile as
13
+ * the `.js` carrying that validator) names neither module nor any of their types, so a root-only consumer never
14
+ * meets them. Re-measure if a public type or signature of this file ever starts referencing either module.
15
+ */
16
+ import { selectAssuranceDocumentBlueprintForDocumentRef } from "../../assurance/assurance-document-blueprint-selection.js";
17
+ import { createInitialAssuranceDocumentAuthorityCatalog } from "../../assurance/assurance-document-system.definitions.js";
18
+ import { AssuranceDocumentVariantSelectionCardinality } from "../../assurance/assurance-document-system.schemas.js";
7
19
  /**
8
20
  * A proposed governed-document draft — a privacy notice or service terms — as CONTENT.
9
21
  *
@@ -36,8 +48,15 @@ import { ApplicationAssuranceDocumentFactContributionResolutionKind, } from "../
36
48
  * regex is two things that can disagree about what a valid ref is, and the disagreement is invisible:
37
49
  * a provider answer would pass generation and fail the family parse it is normalized into.
38
50
  */
39
- export const ComplianceDocumentNamespacedRefSchema = z.string().trim().regex(/^[a-z0-9]+(?:[-.][a-z0-9]+)*:[a-z0-9]+(?:[-/.][a-z0-9]+)*$/u, "expected a namespaced ref");
51
+ const NAMESPACED_REF_PATTERN = /^[a-z0-9]+(?:[-.][a-z0-9]+)*:[a-z0-9]+(?:[-/.][a-z0-9]+)*$/u;
52
+ export const ComplianceDocumentNamespacedRefSchema = z.string().trim().regex(NAMESPACED_REF_PATTERN, "expected a namespaced ref");
40
53
  const NamespacedRefSchema = ComplianceDocumentNamespacedRefSchema;
54
+ /**
55
+ * The OWN key of a candidate entry (a section's `sectionRef`, a candidate's `documentRef`): the same
56
+ * namespaced-ref contract as `ComplianceDocumentNamespacedRefSchema`, declared apart from the fields
57
+ * that POINT AT another entry.
58
+ */
59
+ const CandidateEntryKeySchema = z.string().trim().regex(NAMESPACED_REF_PATTERN, "expected a namespaced ref");
41
60
  const PositiveOrdinalSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);
42
61
  const valuesAreUnique = (values) => new Set(values).size === values.length;
43
62
  /**
@@ -409,7 +428,7 @@ export const ComplianceDocumentCandidateClauseSchema = z
409
428
  /** One titled section, whose clauses are contiguously ordered. */
410
429
  export const ComplianceDocumentCandidateSectionSchema = z
411
430
  .strictObject({
412
- sectionRef: NamespacedRefSchema,
431
+ sectionRef: CandidateEntryKeySchema,
413
432
  order: PositiveOrdinalSchema,
414
433
  title: z.string().trim().min(1),
415
434
  /**
@@ -512,7 +531,7 @@ export var ComplianceDocumentCandidateVersion;
512
531
  export const ComplianceDocumentCandidateSchema = z.strictObject({
513
532
  version: z.enum(ComplianceDocumentCandidateVersion).default(ComplianceDocumentCandidateVersion.V1),
514
533
  /** Which governed document this drafts, e.g. `document:privacy-notice`. */
515
- documentRef: NamespacedRefSchema,
534
+ documentRef: CandidateEntryKeySchema,
516
535
  title: z.string().trim().min(1),
517
536
  /**
518
537
  * BCP-47-ish; the publication family owns the closed set, this only requires a plausible tag.
@@ -549,8 +568,28 @@ export var ComplianceDocumentCandidateIssueKind;
549
568
  */
550
569
  ComplianceDocumentCandidateIssueKind["INVALID_JURISDICTION_REF"] = "INVALID_JURISDICTION_REF";
551
570
  ComplianceDocumentCandidateIssueKind["DUPLICATE_VARIANT_AXIS"] = "DUPLICATE_VARIANT_AXIS";
571
+ /**
572
+ * A variant selection names an axis the document's blueprint does not declare. The candidate then
573
+ * records a publication decision on a question the document does not have — measured on Wonder CRM,
574
+ * whose service-terms candidate selected `audience:commercial-model` while the catalog declares
575
+ * variant axes only on the privacy notice (#1648).
576
+ */
577
+ ComplianceDocumentCandidateIssueKind["UNKNOWN_VARIANT_AXIS"] = "UNKNOWN_VARIANT_AXIS";
578
+ /** A variant selection picks an option its axis does not offer. */
579
+ ComplianceDocumentCandidateIssueKind["UNKNOWN_VARIANT_OPTION"] = "UNKNOWN_VARIANT_OPTION";
580
+ /** An `EXACTLY_ONE` axis is answered with more or fewer than one option. */
581
+ ComplianceDocumentCandidateIssueKind["VARIANT_OPTION_CARDINALITY"] = "VARIANT_OPTION_CARDINALITY";
552
582
  ComplianceDocumentCandidateIssueKind["DANGLING_CLAUSE_FACT"] = "DANGLING_CLAUSE_FACT";
553
583
  })(ComplianceDocumentCandidateIssueKind || (ComplianceDocumentCandidateIssueKind = {}));
584
+ /**
585
+ * The engine catalog, built once: a candidate's variant selections are checked against its own
586
+ * document's blueprint, and the catalog is a pure constant.
587
+ */
588
+ let documentAuthorityCatalog;
589
+ function engineDocumentAuthorityCatalog() {
590
+ documentAuthorityCatalog ??= createInitialAssuranceDocumentAuthorityCatalog();
591
+ return documentAuthorityCatalog;
592
+ }
554
593
  /**
555
594
  * Semantic validation the schema alone cannot express.
556
595
  *
@@ -584,6 +623,34 @@ export function validateComplianceDocumentCandidate(candidate) {
584
623
  if (!valuesAreUnique(candidate.variantSelections.map((selection) => selection.axisRef))) {
585
624
  add(ComplianceDocumentCandidateIssueKind.DUPLICATE_VARIANT_AXIS, "variantSelections", "each publication axis may be selected once");
586
625
  }
626
+ /*
627
+ * Every selection answers a question the document's OWN blueprint asks, with an option that question
628
+ * offers, as many times as it allows. A document the catalog does not know is not judged here — the
629
+ * candidate cannot be checked against a blueprint nobody can resolve, and that absence is reported
630
+ * where the document is resolved.
631
+ */
632
+ const blueprint = selectAssuranceDocumentBlueprintForDocumentRef(engineDocumentAuthorityCatalog(), candidate.documentRef)?.blueprint;
633
+ if (blueprint !== undefined) {
634
+ const axes = new Map((blueprint.variantAxes ?? []).map((axis) => [String(axis.axisRef), axis]));
635
+ const declared = [...axes.keys()];
636
+ candidate.variantSelections.forEach((selection, index) => {
637
+ const axis = axes.get(selection.axisRef);
638
+ if (axis === undefined) {
639
+ add(ComplianceDocumentCandidateIssueKind.UNKNOWN_VARIANT_AXIS, `variantSelections.${index}.axisRef`, `"${candidate.documentRef}" has no variant axis "${selection.axisRef}"`
640
+ + (declared.length === 0 ? " — this document declares no variant axes; remove the selection." : `; it declares ${declared.map((ref) => `"${ref}"`).join(", ")}.`));
641
+ return;
642
+ }
643
+ const offered = new Set(axis.options.map((option) => String(option.optionRef)));
644
+ selection.optionRefs.forEach((optionRef, optionIndex) => {
645
+ if (!offered.has(optionRef)) {
646
+ add(ComplianceDocumentCandidateIssueKind.UNKNOWN_VARIANT_OPTION, `variantSelections.${index}.optionRefs.${optionIndex}`, `axis "${selection.axisRef}" offers no option "${optionRef}"; it offers ${[...offered].map((ref) => `"${ref}"`).join(", ")}.`);
647
+ }
648
+ });
649
+ if (axis.selectionCardinality === AssuranceDocumentVariantSelectionCardinality.EXACTLY_ONE && selection.optionRefs.length !== 1) {
650
+ add(ComplianceDocumentCandidateIssueKind.VARIANT_OPTION_CARDINALITY, `variantSelections.${index}.optionRefs`, `axis "${selection.axisRef}" takes exactly one option; the selection names ${selection.optionRefs.length}.`);
651
+ }
652
+ });
653
+ }
587
654
  const citedFacts = new Set(candidate.sections.flatMap((section) => section.clauses.flatMap((clause) => clause.factRefs)));
588
655
  candidate.variantSelections.forEach((selection, index) => {
589
656
  for (const factRef of selection.supportingFactRefs) {