@wildo-ai/saas-specifications 1.1.9 → 1.1.11

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 (928) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/index.js +1 -1
  6. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
  7. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
  8. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
  9. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  10. package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
  11. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  12. package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
  13. package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
  14. package/dist/esm/_core/brand/brand-name-choice.js +144 -24
  15. package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
  16. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
  17. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
  19. package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
  20. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
  21. package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
  22. package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
  23. package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
  24. package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
  25. package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
  26. package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
  27. package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
  28. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
  29. package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
  31. package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
  32. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
  33. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
  35. package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
  36. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
  37. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
  39. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  40. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
  41. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  42. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
  43. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  44. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
  45. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  46. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
  47. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  48. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
  49. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
  51. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  52. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
  53. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  54. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
  55. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  56. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
  57. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
  59. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  60. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
  61. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  62. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
  63. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  64. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
  65. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  66. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
  67. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
  68. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
  69. package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
  70. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
  71. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
  73. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  74. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
  75. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
  76. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
  77. package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
  78. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
  79. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
  81. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  82. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
  83. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
  84. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
  85. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
  86. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
  87. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
  88. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
  89. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
  90. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
  91. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  92. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
  93. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  94. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
  95. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
  96. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
  97. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
  98. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  99. package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
  100. package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
  101. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
  102. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
  104. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
  105. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
  106. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  107. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
  108. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
  109. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
  110. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  111. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
  112. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  113. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
  114. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  115. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
  116. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  117. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
  118. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
  119. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
  120. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
  121. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
  122. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
  123. package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
  124. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
  125. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
  126. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
  127. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
  128. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
  129. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
  131. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  132. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
  133. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
  135. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  136. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  137. package/dist/esm/_core/family-aspects.registry.js +2 -0
  138. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  139. package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
  140. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  141. package/dist/esm/_core/family-aspects.schemas.js +20 -0
  142. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  143. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
  144. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
  145. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  146. package/dist/esm/_core/index.d.ts +6 -0
  147. package/dist/esm/_core/index.d.ts.map +1 -1
  148. package/dist/esm/_core/index.js +6 -0
  149. package/dist/esm/_core/index.js.map +1 -1
  150. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
  151. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  153. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
  154. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  155. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
  156. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  157. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
  158. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  159. package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
  160. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  161. package/dist/esm/_core/market/market-references.schemas.js +13 -1
  162. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  163. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
  164. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  165. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
  166. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  167. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  168. package/dist/esm/_core/market/market.family-aspects.js +4 -1
  169. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  170. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
  171. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  172. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
  173. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  174. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
  175. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  176. package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
  177. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  178. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  179. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
  180. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  181. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
  182. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  183. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
  184. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  185. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
  186. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  187. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
  188. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  189. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
  190. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  191. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
  192. package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
  193. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
  194. package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
  195. package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
  196. package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
  197. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
  198. package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
  199. package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
  200. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
  201. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  202. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
  203. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  204. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
  205. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  206. package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
  207. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  208. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
  209. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  210. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
  211. package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
  212. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  213. package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
  214. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  215. package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
  216. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/resource-specification.schemas.js +73 -13
  218. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  219. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
  220. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  221. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
  222. package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
  223. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
  224. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  225. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
  226. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  227. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
  228. package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
  229. package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
  230. package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
  231. package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
  232. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
  233. package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
  234. package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
  235. package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
  236. package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
  237. package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
  238. package/dist/esm/_core/service-method/service-method-validation.js +75 -0
  239. package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
  240. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
  241. package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
  242. package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
  243. package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
  244. package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
  245. package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
  246. package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
  247. package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
  248. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
  249. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
  250. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
  251. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
  252. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
  253. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
  254. package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
  255. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
  256. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
  257. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
  258. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
  259. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
  260. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  261. package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
  262. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  263. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
  264. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
  265. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
  266. package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
  267. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
  268. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  269. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
  270. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  271. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
  272. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  273. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
  274. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  275. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
  276. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
  277. package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
  278. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
  279. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
  280. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  281. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
  282. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
  283. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
  284. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  285. package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
  286. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  287. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
  288. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  289. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
  290. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  291. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
  292. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  293. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
  294. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  295. package/dist/esm/application-creation.exports.d.ts +7 -0
  296. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  297. package/dist/esm/application-creation.exports.js +7 -0
  298. package/dist/esm/application-creation.exports.js.map +1 -1
  299. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
  300. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
  301. package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
  302. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
  303. package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
  304. package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
  305. package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
  306. package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
  307. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
  308. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  309. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
  310. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  311. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
  312. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  313. package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
  314. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  315. package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
  316. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  317. package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
  318. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  319. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
  320. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  321. package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
  322. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  323. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
  324. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
  325. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
  326. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
  327. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  328. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
  329. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  330. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
  331. package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
  332. package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
  333. package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
  334. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
  335. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  336. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
  337. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  338. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
  339. package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
  340. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
  341. package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
  342. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
  343. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
  344. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
  345. package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
  346. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
  347. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  348. package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
  349. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  350. package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
  351. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  352. package/dist/esm/assurance/assurance-program.schemas.js +255 -14
  353. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  354. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
  355. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  356. package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
  357. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  358. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
  359. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
  360. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
  361. package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
  362. package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
  363. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  364. package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
  365. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  366. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  367. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
  368. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  369. package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
  370. package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
  371. package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
  372. package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
  373. package/dist/esm/assurance/governed-document-release.d.ts +15 -1
  374. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  375. package/dist/esm/assurance/governed-document-release.js +3 -1
  376. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  377. package/dist/esm/assurance.exports.d.ts +4 -0
  378. package/dist/esm/assurance.exports.d.ts.map +1 -1
  379. package/dist/esm/assurance.exports.js +4 -0
  380. package/dist/esm/assurance.exports.js.map +1 -1
  381. package/dist/esm/companion-exports.d.ts +9 -1
  382. package/dist/esm/companion-exports.d.ts.map +1 -1
  383. package/dist/esm/companion-exports.js.map +1 -1
  384. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
  385. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
  387. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
  390. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
  392. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
  394. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  395. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
  396. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  397. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  398. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  399. package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
  400. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  401. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
  402. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  403. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
  404. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  405. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
  406. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
  408. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  409. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
  410. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
  412. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  413. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
  414. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  415. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
  416. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  417. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
  418. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  419. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
  420. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  421. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
  422. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  423. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
  424. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  425. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
  426. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  427. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
  428. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  429. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  430. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  431. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
  432. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  433. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  434. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
  435. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  436. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
  437. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
  438. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  439. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
  440. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  441. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  442. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
  443. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  444. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
  445. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
  447. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  448. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
  449. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  450. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
  451. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  452. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
  453. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  454. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
  455. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  456. package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
  457. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  458. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  459. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  460. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
  461. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  462. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
  463. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  464. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
  465. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
  466. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  467. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
  468. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
  470. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
  472. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  473. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
  474. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  475. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
  476. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
  477. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
  478. package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
  479. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
  480. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  481. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
  482. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  483. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
  484. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
  486. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
  487. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
  488. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
  489. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
  490. package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
  491. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
  492. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  494. package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
  495. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  496. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  497. package/dist/esm/engine/errors/error-messages.specification.js +300 -5
  498. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  499. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
  500. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  501. package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
  502. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  503. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  504. package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
  505. package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
  506. package/dist/esm/engine/features/index.d.ts +4 -2
  507. package/dist/esm/engine/features/index.d.ts.map +1 -1
  508. package/dist/esm/engine/features/index.js +6 -4
  509. package/dist/esm/engine/features/index.js.map +1 -1
  510. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
  511. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  512. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  513. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
  514. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  515. package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
  516. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  517. package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
  518. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  519. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  520. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
  521. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  522. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
  523. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  524. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
  525. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
  526. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
  527. package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
  528. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
  529. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
  530. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
  531. package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
  532. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
  533. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
  534. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
  535. package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
  536. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
  537. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
  539. package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
  540. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
  541. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
  542. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
  543. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
  544. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
  545. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
  546. package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
  547. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
  548. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
  549. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
  550. package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
  551. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
  552. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  553. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
  554. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  555. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
  556. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  557. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
  558. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  559. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
  560. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
  561. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
  562. package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
  563. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
  564. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
  565. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
  566. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
  567. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
  568. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
  569. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
  570. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
  571. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
  572. package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
  573. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
  574. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
  575. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
  576. package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
  577. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
  578. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
  579. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
  580. package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
  581. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
  582. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
  583. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
  584. package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
  585. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
  586. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
  587. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
  588. package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
  589. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  590. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
  591. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  592. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
  594. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
  595. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
  596. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
  597. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
  598. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
  599. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  600. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
  601. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
  602. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
  603. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  604. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
  606. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
  607. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
  609. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
  610. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
  611. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
  612. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
  613. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
  614. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
  615. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
  616. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
  617. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
  618. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
  619. package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
  620. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
  622. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  623. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
  624. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  625. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
  626. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
  628. package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
  629. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
  630. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
  632. package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
  633. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
  634. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
  635. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
  636. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
  637. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
  638. package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
  639. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  640. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
  641. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  642. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  643. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
  644. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  645. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
  646. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
  647. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
  648. package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
  649. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
  650. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  651. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
  652. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
  653. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
  654. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  655. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  656. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
  657. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
  658. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
  659. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
  660. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  661. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  662. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
  663. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  664. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
  665. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
  666. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
  667. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
  668. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
  669. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
  670. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
  671. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
  672. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
  673. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
  674. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
  675. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
  676. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
  677. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
  678. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
  679. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
  680. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
  681. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
  682. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
  683. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
  684. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
  685. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
  686. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
  687. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
  688. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
  689. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
  690. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
  691. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
  692. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
  693. package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
  694. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
  695. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  696. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  697. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
  698. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
  699. package/dist/esm/engine/frontend-components/index.d.ts +7 -0
  700. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  701. package/dist/esm/engine/frontend-components/index.js +29 -0
  702. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  703. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
  704. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
  705. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  706. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
  707. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
  708. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
  709. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
  710. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
  711. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
  712. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
  713. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
  714. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
  715. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
  716. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
  717. package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
  718. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  719. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
  720. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  721. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
  722. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
  723. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
  724. package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
  725. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  726. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
  727. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
  729. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
  730. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
  731. package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
  732. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
  733. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
  734. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
  735. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
  736. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
  737. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
  738. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
  739. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
  740. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
  741. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
  742. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  743. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
  744. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
  745. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
  746. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
  747. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
  748. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
  749. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
  750. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  751. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
  752. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  753. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
  754. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
  755. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
  756. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
  757. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  758. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
  759. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  760. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  761. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
  762. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
  763. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
  764. package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
  765. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
  766. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
  767. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
  768. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  769. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
  770. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
  771. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
  772. package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
  773. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
  774. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
  775. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
  776. package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
  777. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
  778. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
  779. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
  781. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
  783. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
  784. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
  785. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
  786. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
  787. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
  788. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
  789. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  790. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
  791. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  792. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
  793. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
  794. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  795. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
  796. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  797. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
  798. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
  799. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
  800. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
  801. package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
  802. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  803. package/dist/esm/engine/notifications/system-emails/index.js +1 -3
  804. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  805. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
  806. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  807. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
  808. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
  809. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
  810. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  811. package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
  812. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  813. package/dist/esm/engine/organizations/resources/index.js +1 -2
  814. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  815. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
  816. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
  818. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  819. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
  820. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
  822. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  823. package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
  824. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
  825. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
  826. package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
  827. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
  828. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
  830. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  831. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
  832. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  833. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
  834. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
  836. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  837. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
  838. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
  839. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
  840. package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
  841. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/providers/github.provider.specification.js +8 -5
  843. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  844. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
  845. package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
  846. package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
  847. package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
  848. package/dist/esm/engine/providers/index.d.ts +2 -0
  849. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  850. package/dist/esm/engine/providers/index.js +5 -1
  851. package/dist/esm/engine/providers/index.js.map +1 -1
  852. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
  853. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
  854. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
  855. package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
  856. package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
  857. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  858. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
  860. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  861. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
  862. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
  863. package/dist/esm/engine/roles/index.d.ts +2 -2
  864. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  865. package/dist/esm/engine/roles/index.js +5 -5
  866. package/dist/esm/engine/roles/index.js.map +1 -1
  867. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
  868. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
  869. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
  870. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
  871. package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
  872. package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
  873. package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
  874. package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
  875. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
  876. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  877. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
  878. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  879. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
  880. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  881. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  882. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
  883. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  884. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  885. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  886. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
  887. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  888. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
  889. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  890. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
  891. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  892. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
  893. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  894. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
  895. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  896. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
  897. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  898. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
  899. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  900. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
  901. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  902. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  903. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
  905. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  906. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
  907. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  908. package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
  909. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  910. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  911. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
  912. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  913. package/package.json +8 -8
  914. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
  915. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
  916. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
  917. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
  918. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
  919. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
  920. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
  921. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
  922. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
  923. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
  924. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
  925. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
  926. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
  927. package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
  928. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan-output-set.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,iCAAiC,GAAG,iCAAiC,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAN,IAAY,mCAgBX;AAhBD,WAAY,mCAAmC;IAC7C,2HAA2H;IAC3H,gEAAyB,CAAA;IACzB;;;OAGG;IACH,kEAA2B,CAAA;IAC3B;;;;OAIG;IACH,kEAA2B,CAAA;IAC3B,+GAA+G;IAC/G,oEAA6B,CAAA;AAC/B,CAAC,EAhBW,mCAAmC,KAAnC,mCAAmC,QAgB9C;AAED;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,sFAAiD,CAAA;IACjD,sFAAiD,CAAA;AACnD,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAED;;;;;GAKG;AACH,MAAM,UAAU,gDAAgD,CAC9D,WAAgD;IAEhD,QAAQ,WAAW,EAAE,CAAC;QACpB,KAAK,mCAAmC,CAAC,WAAW;YAClD,OAAO,iCAAiC,CAAC,sBAAsB,CAAC;QAClE,KAAK,mCAAmC,CAAC,WAAW;YAClD,OAAO,iCAAiC,CAAC,sBAAsB,CAAC;QAClE,KAAK,mCAAmC,CAAC,UAAU,CAAC;QACpD,KAAK,mCAAmC,CAAC,YAAY;YACnD,OAAO,SAAS,CAAC;I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ACtD,qGAAqG;IACrG,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;IACrD;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC","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\nimport { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** Portable semantic schema claimed by a staged domain-plan candidate. */\nexport const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = 'wildo:domain-plan-output-set:v1';\n\n/**\n * Closed conceptual cardinality carried by a planning relationship draft, ALWAYS READ FROM SOURCE TO\n * TARGET: `<how many sources>-to-<how many targets>`, as in \"many customers to one country context\".\n *\n * ## Why `MANY_TO_ONE` exists (2026-10-01)\n *\n * The vocabulary used to stop at `ONE_TO_MANY`, and it named no reading direction. The ordinary\n * foreign-key edge — \"each customer belongs to one country context\", the customer holding the\n * reference — is many-to-one read from the reference holder, and it could not be said. Every model\n * labelled it `ONE_TO_MANY` (the only label with \"many\" in it that is not many-to-many), and a judge\n * reading the label source → target then called it a contradiction of its own rationale. The first\n * real run that met it (app-creation-test-004) had three such edges; Wonder CRM's committed plan had\n * ten, and so did the framework's own test fixture, which is why nobody noticed: the label had been\n * wrong in the same direction everywhere it was written.\n *\n * ## Rejected: two per-end multiplicity fields\n *\n * `sourceMultiplicity` / `targetMultiplicity` (`one | many`) were considered, and rejected on the\n * reason the defect existed: \"the source's multiplicity\" is itself readable both ways (UML writes a\n * multiplicity at the end it CONSTRAINS, which is the opposite end from the one it describes). The\n * pair label with a stated direction is what modellers, ORMs (`@ManyToOne`) and ERD tools already say,\n * and the direction is now stated here, in the generation brief, and in the judge's criterion.\n *\n * The cardinality and {@link DomainRelationshipOwnershipIntent} are not independent for the two\n * one-sided members: the \"many\" side of a one-to-many association is the side that holds the\n * reference. {@link domainRelationshipOwnershipContradictsCardinality} is that rule, and the family\n * validator refuses a draft that breaks it.\n */\nexport enum DomainRelationshipCardinalityIntent {\n /** Each source relates to at most one target, and each target to at most one source. Either end may hold the reference. */\n ONE_TO_ONE = 'one-to-one',\n /**\n * One source relates to MANY targets; each target belongs to one source (\"a project has many tasks\",\n * project → task). The TARGET holds the reference, so this pairs only with `TARGET_HOLDS_REFERENCE`.\n */\n ONE_TO_MANY = 'one-to-many',\n /**\n * MANY sources relate to one target; each source belongs to one target (\"each task belongs to one\n * project\", task → project). The SOURCE holds the reference, so this pairs only with\n * `SOURCE_HOLDS_REFERENCE`. The ordinary foreign-key edge, read from the resource carrying the key.\n */\n MANY_TO_ONE = 'many-to-one',\n /** Each source relates to many targets and each target to many sources. Either end may own the association. */\n MANY_TO_MANY = 'many-to-many',\n}\n\n/**\n * Conceptual ownership direction only: which END of the draft holds the reference. This does not\n * choose a physical foreign key, junction table, discriminator, or persistence implementation.\n *\n * Fixed by the cardinality for the two one-sided cardinalities (see\n * {@link DomainRelationshipCardinalityIntent}); a genuine choice only for one-to-one and many-to-many.\n */\nexport enum DomainRelationshipOwnershipIntent {\n SOURCE_HOLDS_REFERENCE = 'source-holds-reference',\n TARGET_HOLDS_REFERENCE = 'target-holds-reference',\n}\n\n/**\n * The ownership a cardinality REQUIRES, or `undefined` when either end may hold the reference.\n *\n * Total over the cardinality vocabulary (the `switch` has no default), so a member added tomorrow is a\n * compile error here rather than a silently unconstrained label.\n */\nexport function domainRelationshipOwnershipRequiredByCardinality(\n cardinality: DomainRelationshipCardinalityIntent,\n): DomainRelationshipOwnershipIntent | undefined {\n switch (cardinality) {\n case DomainRelationshipCardinalityIntent.MANY_TO_ONE:\n return DomainRelationshipOwnershipIntent.SOURCE_HOLDS_REFERENCE;\n case DomainRelationshipCardinalityIntent.ONE_TO_MANY:\n return DomainRelationshipOwnershipIntent.TARGET_HOLDS_REFERENCE;\n case DomainRelationshipCardinalityIntent.ONE_TO_ONE:\n case DomainRelationshipCardinalityIntent.MANY_TO_MANY:\n return undefined;\n }\n}\n\n/**\n * True when a draft states both intents and they cannot both be true: a one-sided cardinality whose\n * \"one\" end is said to hold the reference. Undecided intents are not a contradiction — they are\n * reported as missing by the validator, separately.\n */\nexport function domainRelationshipOwnershipContradictsCardinality(draft: {\n readonly cardinalityIntent?: DomainRelationshipCardinalityIntent | undefined;\n readonly ownershipIntent?: DomainRelationshipOwnershipIntent | undefined;\n}): boolean {\n if (draft.cardinalityIntent === undefined || draft.ownershipIntent === undefined) return false;\n const required = domainRelationshipOwnershipRequiredByCardinality(draft.cardinalityIntent);\n return required !== undefined && required !== draft.ownershipIntent;\n}\n\n/**\n * Persistable relationship intent. Cardinality and ownership remain optional\n * here so an imperfect draft can be staged and diagnosed without being\n * mistaken for an accepted plan. The strict generation contract and the\n * deterministic validator require them before technical success.\n */\nexport const DomainRelationshipDraftSchema = z.object({\n relationshipRef: NonEmptyStringSchema,\n sourceResourceRef: NonEmptyStringSchema,\n targetResourceRef: NonEmptyStringSchema,\n cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).systemEnum('DomainRelationshipCardinalityIntent').optional(),\n ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).systemEnum('DomainRelationshipOwnershipIntent').optional(),\n rationale: NonEmptyStringSchema.optional(),\n});\nexport type DomainRelationshipDraft = z.infer<typeof DomainRelationshipDraftSchema>;\n\n/**\n * How the application partitions its data — the ONE decision that shapes the whole model and\n * that no derivation can make.\n *\n * ## Why it lives on the domain plan\n *\n * It was asked by `bottom_up.foundation`, which runs AFTER the domain plan exists, and the comment\n * there described the plan as deliberately scope-free. That is true of the plan's FIELDS and false\n * of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked — a `workspace` module\n * owning a `workspace` resource, a `team-membership` module owning `workspace-member`, and `deal`\n * referencing `workspace-member` for owner assignment. The creator was then asked \"organizations or\n * users?\" afterwards, and answering `users` would have left two modules and a relationship that\n * nothing reconciles.\n *\n * So the question moves to where the decision is first USED, and the answer is carried in the\n * committed artifact rather than in a run's transient elicitation answers — it is a product\n * decision, and `.claude/rules/one-source-of-truth.md` puts those in git.\n *\n * ## Optional on this schema, required on the generation contract\n *\n * Optional so plans authored before the field still parse (wonder-crm and wonder-todos both do).\n * Required where a model answers, because a derivation that does not state its tenancy has made the\n * decision silently — which is the defect this field exists to end.\n */\nexport enum DomainPlanTenancyModel {\n /**\n * Users collaborate inside shared workspaces or teams. Enables the ORGANIZATIONS engine\n * capability and composes every resource organization-scoped.\n */\n ORGANIZATIONS = 'organizations',\n /** Every user's data is their own. User-scoped resources, no capability change. */\n USERS = 'users',\n}\n\n/**\n * THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.\n *\n * There is deliberately no separate `relationship-drafts` family any more (collapsed 2026-08-24).\n * The split was staging-era ceremony — the two were \"staged together under one output-set digest\",\n * i.e. never independently meaningful — and the validator crosses them (a relationship names module\n * resources), so landing them as two files would re-create the join this schema exists to avoid.\n * One family, one file, one committed value.\n */\nexport const DomainPlanOutputSetSchema = z.object({\n schemaVersion: z.literal(1),\n /**\n * At least one module, at the SCHEMA. The third instance of the vacuity class (after requirements and\n * build-plan): the first live parallel-portfolio run landed `modules: [], relationships: []` — valid\n * under the old `.default([])` shape — over the application's authored plan. A domain plan that plans\n * nothing is a refusal, never an artifact. (The strict generation schema always had `min(1)`; like\n * build-plan's, it has no caller in the playbook lane — the family schema is the effective gate.)\n */\n modules: z.array(ModuleBusinessSemanticsSchema).min(1),\n /** May be legitimately empty (a single-module app) — but must be AUTHORED empty, never defaulted. */\n relationships: z.array(DomainRelationshipDraftSchema),\n /**\n * How the application partitions its data. See {@link DomainPlanTenancyModel} for why it lives\n * here and why it is optional on this schema while required on the generation contract.\n */\n tenancy: z.enum(DomainPlanTenancyModel).optional(),\n});\nexport type DomainPlanOutputSet = z.infer<typeof DomainPlanOutputSetSchema>;\n"]}
1
+ {"version":3,"file":"domain-plan-output-set.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,iCAAiC,GAAG,iCAAiC,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAN,IAAY,mCAgBX;AAhBD,WAAY,mCAAmC;IAC7C,2HAA2H;IAC3H,gEAAyB,CAAA;IACzB;;;OAGG;IACH,kEAA2B,CAAA;IAC3B;;;;OAIG;IACH,kEAA2B,CAAA;IAC3B,+GAA+G;IAC/G,oEAA6B,CAAA;AAC/B,CAAC,EAhBW,mCAAmC,KAAnC,mCAAmC,QAgB9C;AAED;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,sFAAiD,CAAA;IACjD,sFAAiD,CAAA;AACnD,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAED;;;;;GAKG;AACH,MAAM,UAAU,gDAAgD,CAC9D,WAAgD;IAEhD,QAAQ,WAAW,EAAE,CAAC;QACpB,KAAK,mCAAmC,CAAC,WAAW;YAClD,OAAO,iCAAiC,CAAC,sBAAsB,CAAC;QAClE,KAAK,mCAAmC,CAAC,WAAW;YAClD,OAAO,iCAAiC,CAAC,sBAAsB,CAAC;QAClE,KAAK,mCAAmC,CAAC,UAAU,CAAC;QACpD,KAAK,mCAAmC,CAAC,YAAY;YACnD,OAAO,S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,EAAE,oBAAoB;IACjC,kEAAkE;IAClE,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5C,wCAAwC;IACxC,YAAY,EAAE,oBAAoB;IAClC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3D;;;OAGG;IACH,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACtD,2GAA2G;IAC3G,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CAC3C,CAAC,CAAC;AAGH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B;;;;;;OAMG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,qGAAqG;IACrG,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;IACrD;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAClD;;;OAGG;IACH,0BAA0B,EAAE,CAAC,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAC,QAAQ,EAAE;IACzF;;;;OAIG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAC","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\nimport { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** Portable semantic schema claimed by a staged domain-plan candidate. */\nexport const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = 'wildo:domain-plan-output-set:v1';\n\n/**\n * Closed conceptual cardinality carried by a planning relationship draft, ALWAYS READ FROM SOURCE TO\n * TARGET: `<how many sources>-to-<how many targets>`, as in \"many customers to one country context\".\n *\n * ## Why `MANY_TO_ONE` exists (2026-10-01)\n *\n * The vocabulary used to stop at `ONE_TO_MANY`, and it named no reading direction. The ordinary\n * foreign-key edge — \"each customer belongs to one country context\", the customer holding the\n * reference — is many-to-one read from the reference holder, and it could not be said. Every model\n * labelled it `ONE_TO_MANY` (the only label with \"many\" in it that is not many-to-many), and a judge\n * reading the label source → target then called it a contradiction of its own rationale. The first\n * real run that met it (app-creation-test-004) had three such edges; Wonder CRM's committed plan had\n * ten, and so did the framework's own test fixture, which is why nobody noticed: the label had been\n * wrong in the same direction everywhere it was written.\n *\n * ## Rejected: two per-end multiplicity fields\n *\n * `sourceMultiplicity` / `targetMultiplicity` (`one | many`) were considered, and rejected on the\n * reason the defect existed: \"the source's multiplicity\" is itself readable both ways (UML writes a\n * multiplicity at the end it CONSTRAINS, which is the opposite end from the one it describes). The\n * pair label with a stated direction is what modellers, ORMs (`@ManyToOne`) and ERD tools already say,\n * and the direction is now stated here, in the generation brief, and in the judge's criterion.\n *\n * The cardinality and {@link DomainRelationshipOwnershipIntent} are not independent for the two\n * one-sided members: the \"many\" side of a one-to-many association is the side that holds the\n * reference. {@link domainRelationshipOwnershipContradictsCardinality} is that rule, and the family\n * validator refuses a draft that breaks it.\n */\nexport enum DomainRelationshipCardinalityIntent {\n /** Each source relates to at most one target, and each target to at most one source. Either end may hold the reference. */\n ONE_TO_ONE = 'one-to-one',\n /**\n * One source relates to MANY targets; each target belongs to one source (\"a project has many tasks\",\n * project → task). The TARGET holds the reference, so this pairs only with `TARGET_HOLDS_REFERENCE`.\n */\n ONE_TO_MANY = 'one-to-many',\n /**\n * MANY sources relate to one target; each source belongs to one target (\"each task belongs to one\n * project\", task → project). The SOURCE holds the reference, so this pairs only with\n * `SOURCE_HOLDS_REFERENCE`. The ordinary foreign-key edge, read from the resource carrying the key.\n */\n MANY_TO_ONE = 'many-to-one',\n /** Each source relates to many targets and each target to many sources. Either end may own the association. */\n MANY_TO_MANY = 'many-to-many',\n}\n\n/**\n * Conceptual ownership direction only: which END of the draft holds the reference. This does not\n * choose a physical foreign key, junction table, discriminator, or persistence implementation.\n *\n * Fixed by the cardinality for the two one-sided cardinalities (see\n * {@link DomainRelationshipCardinalityIntent}); a genuine choice only for one-to-one and many-to-many.\n */\nexport enum DomainRelationshipOwnershipIntent {\n SOURCE_HOLDS_REFERENCE = 'source-holds-reference',\n TARGET_HOLDS_REFERENCE = 'target-holds-reference',\n}\n\n/**\n * The ownership a cardinality REQUIRES, or `undefined` when either end may hold the reference.\n *\n * Total over the cardinality vocabulary (the `switch` has no default), so a member added tomorrow is a\n * compile error here rather than a silently unconstrained label.\n */\nexport function domainRelationshipOwnershipRequiredByCardinality(\n cardinality: DomainRelationshipCardinalityIntent,\n): DomainRelationshipOwnershipIntent | undefined {\n switch (cardinality) {\n case DomainRelationshipCardinalityIntent.MANY_TO_ONE:\n return DomainRelationshipOwnershipIntent.SOURCE_HOLDS_REFERENCE;\n case DomainRelationshipCardinalityIntent.ONE_TO_MANY:\n return DomainRelationshipOwnershipIntent.TARGET_HOLDS_REFERENCE;\n case DomainRelationshipCardinalityIntent.ONE_TO_ONE:\n case DomainRelationshipCardinalityIntent.MANY_TO_MANY:\n return undefined;\n }\n}\n\n/**\n * True when a draft states both intents and they cannot both be true: a one-sided cardinality whose\n * \"one\" end is said to hold the reference. Undecided intents are not a contradiction — they are\n * reported as missing by the validator, separately.\n */\nexport function domainRelationshipOwnershipContradictsCardinality(draft: {\n readonly cardinalityIntent?: DomainRelationshipCardinalityIntent | undefined;\n readonly ownershipIntent?: DomainRelationshipOwnershipIntent | undefined;\n}): boolean {\n if (draft.cardinalityIntent === undefined || draft.ownershipIntent === undefined) return false;\n const required = domainRelationshipOwnershipRequiredByCardinality(draft.cardinalityIntent);\n return required !== undefined && required !== draft.ownershipIntent;\n}\n\n/**\n * Persistable relationship intent. Cardinality and ownership remain optional\n * here so an imperfect draft can be staged and diagnosed without being\n * mistaken for an accepted plan. The strict generation contract and the\n * deterministic validator require them before technical success.\n */\nexport const DomainRelationshipDraftSchema = z.object({\n relationshipRef: NonEmptyStringSchema,\n sourceResourceRef: NonEmptyStringSchema,\n targetResourceRef: NonEmptyStringSchema,\n cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).systemEnum('DomainRelationshipCardinalityIntent').optional(),\n ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).systemEnum('DomainRelationshipOwnershipIntent').optional(),\n rationale: NonEmptyStringSchema.optional(),\n});\nexport type DomainRelationshipDraft = z.infer<typeof DomainRelationshipDraftSchema>;\n\n/**\n * How the application partitions its data — the ONE decision that shapes the whole model and\n * that no derivation can make.\n *\n * ## Why it lives on the domain plan\n *\n * It was asked by `bottom_up.foundation`, which runs AFTER the domain plan exists, and the comment\n * there described the plan as deliberately scope-free. That is true of the plan's FIELDS and false\n * of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked — a `workspace` module\n * owning a `workspace` resource, a `team-membership` module owning `workspace-member`, and `deal`\n * referencing `workspace-member` for owner assignment. The creator was then asked \"organizations or\n * users?\" afterwards, and answering `users` would have left two modules and a relationship that\n * nothing reconciles.\n *\n * So the question moves to where the decision is first USED, and the answer is carried in the\n * committed artifact rather than in a run's transient elicitation answers — it is a product\n * decision, and `.claude/rules/one-source-of-truth.md` puts those in git.\n *\n * ## Optional on this schema, required on the generation contract\n *\n * Optional so plans authored before the field still parse (wonder-crm and wonder-todos both do).\n * Required where a model answers, because a derivation that does not state its tenancy has made the\n * decision silently — which is the defect this field exists to end.\n */\nexport enum DomainPlanTenancyModel {\n /**\n * Users collaborate inside shared workspaces or teams. Enables the ORGANIZATIONS engine\n * capability and composes every resource organization-scoped.\n */\n ORGANIZATIONS = 'organizations',\n /** Every user's data is their own. User-scoped resources, no capability change. */\n USERS = 'users',\n}\n\n/**\n * WHAT THE ENGINE ALREADY PROVIDES, so a requirement in its area is met by configuration rather than by a\n * module of the application (#2492).\n *\n * The domain plan's coverage rule used to accept only a module home, so a requirement the engine already\n * satisfies could only become an application resource. app-creation-test-005 turned \"office and field\n * users see different areas\" into an access-role resource nothing reads, and \"the documentation\n * identifies the processing purposes\" into a tenant-editable record of processing; -004 turned country\n * guidance into an empty form. Each member names a concern the engine owns and where it is configured,\n * which is what the build decomposition and the coding agent then act on.\n */\nexport enum DomainPlanEngineRealization {\n /** Who may do what: the application's roles, the organization types that offer them, operation roles. */\n APPLICATION_ROLES = 'APPLICATION_ROLES',\n /** Members of an organization, invitations, teams and organization units. */\n ORGANIZATION_MEMBERSHIP = 'ORGANIZATION_MEMBERSHIP',\n /** A record of who did what and when, on every operation the engine audits. */\n AUDIT_TRAIL = 'AUDIT_TRAIL',\n /** Personal data declared on fields, a person's export and erasure, retention of records. */\n PERSONAL_DATA = 'PERSONAL_DATA',\n /**\n * A statement the operator makes about the product: the privacy notice, the record of processing,\n * terms, compliance and country-specific disclaimers. Composed from the product as a governed document,\n * never typed into the product by its users.\n */\n GOVERNED_DOCUMENT = 'GOVERNED_DOCUMENT',\n /** Plans, subscriptions, invoices FROM the operator TO its customers. Not the application's own invoicing. */\n BILLING = 'BILLING',\n /** Onboarding guidance, milestones and celebrations. */\n GUIDANCE = 'GUIDANCE',\n /** Telling a user something happened — in-app and by email — declared on the operation that causes it. */\n NOTIFICATIONS = 'NOTIFICATIONS',\n /** The product in several languages. */\n LOCALIZATION = 'LOCALIZATION',\n}\n\n/**\n * One requirement the domain plan leaves to the engine, with the concern that meets it and why. Counted as\n * covered by the plan's coverage criterion, exactly like a module home.\n */\nexport const DomainPlanEngineRealizedRequirementSchema = z.object({\n /** The requirement's ref, as the requirements family declares it. */\n requirementRef: NonEmptyStringSchema,\n realization: z.enum(DomainPlanEngineRealization),\n /** Which part of the requirement the engine meets, and what the build still has to configure. */\n rationale: NonEmptyStringSchema,\n});\nexport type DomainPlanEngineRealizedRequirement = z.infer<typeof DomainPlanEngineRealizedRequirementSchema>;\n\n/**\n * One move between states of a resource, as the business names it (#2491).\n *\n * A transition is behaviour, not a field: the build turns each one into an operation the engine guards\n * (it refuses the move from any other state) and that stamps when it happened. `createsResourceRef` marks a\n * CONVERSION — accepting a quote creates a job — whose write the build performs in the same transaction.\n */\n/**\n * A transition's name in slug form (#2491 review F12). Slug because the build carries it unchanged into the\n * operation it adds, whose `operationRef` is a slug: a free-text verb would land a plan the build cannot express.\n */\nexport const DomainTransitionRefSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/** The camelCase timestamp field a transition records (`sentAt`, `paidAt`); one named schema for the family and the generation contract. */\nexport const DomainTransitionStampsFieldSchema = z.string().regex(/^[a-z][a-zA-Z0-9]*$/);\n\nexport const DomainResourceTransitionSchema = z.object({\n /** The verb, in slug form: `send`, `accept`, `issue`, `mark-paid`. Becomes the operation's name. */\n transitionRef: DomainTransitionRefSchema,\n /** The states the transition may start from. */\n from: z.array(NonEmptyStringSchema).min(1),\n to: NonEmptyStringSchema,\n /** Who performs it, in the requirements' words (an office user, the customer, the system). */\n performedBy: NonEmptyStringSchema,\n /** The inventoried resource a conversion creates, when the transition creates one. */\n createsResourceRef: NonEmptyStringSchema.optional(),\n /**\n * The timestamp field the transition records when it happens (`sentAt`, `decidedAt`, `paidAt`), in camelCase,\n * when the business needs to know when it happened. The schema task creates it excluded from create and\n * update, so only the transition writes it.\n */\n stampsField: DomainTransitionStampsFieldSchema.optional(),\n});\nexport type DomainResourceTransition = z.infer<typeof DomainResourceTransitionSchema>;\n\n/**\n * The states a resource moves through and the transitions between them (#2491).\n *\n * Every layer used to defer lifecycle to a \"later depth pass\" that no playbook performs, so the build\n * planned no operations and every step shipped as a status users edit by hand: app-creation-test-004 and\n * -005 had no transition at all. The domain plan is where the resources are decided, so it is where their\n * states are: the build decomposition emits one operation task per transition, and freezes a resource's\n * UPDATE in its locked and final states.\n *\n * LOCKED and FINAL are two concepts and stay two fields (#2491 re-review M1). An issued invoice is LOCKED:\n * nobody edits it, yet it is later marked paid. A paid invoice is FINAL: nothing moves it again. With one\n * field, either the issued invoice stayed editable or the plan could not mark it paid.\n */\nexport const DomainResourceLifecycleSchema = z.object({\n /** An inventoried resource. */\n resourceRef: NonEmptyStringSchema,\n /** Every state, upper snake case: `DRAFT`, `SENT`, `ACCEPTED`. */\n states: z.array(NonEmptyStringSchema).min(2),\n /** The state a new record starts in. */\n initialState: NonEmptyStringSchema,\n transitions: z.array(DomainResourceTransitionSchema).min(1),\n /**\n * The states in which the record can no longer be EDITED but may still move on (an issued invoice, a sent\n * quote). Optional on a stored plan; the generation contract requires it.\n */\n lockedStates: z.array(NonEmptyStringSchema).optional(),\n /** TERMINAL states: no transition leaves them, and the record is not edited there either. May be empty. */\n finalStates: z.array(NonEmptyStringSchema),\n});\nexport type DomainResourceLifecycle = z.infer<typeof DomainResourceLifecycleSchema>;\n\n/**\n * THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.\n *\n * There is deliberately no separate `relationship-drafts` family any more (collapsed 2026-08-24).\n * The split was staging-era ceremony — the two were \"staged together under one output-set digest\",\n * i.e. never independently meaningful — and the validator crosses them (a relationship names module\n * resources), so landing them as two files would re-create the join this schema exists to avoid.\n * One family, one file, one committed value.\n */\nexport const DomainPlanOutputSetSchema = z.object({\n schemaVersion: z.literal(1),\n /**\n * At least one module, at the SCHEMA. The third instance of the vacuity class (after requirements and\n * build-plan): the first live parallel-portfolio run landed `modules: [], relationships: []` — valid\n * under the old `.default([])` shape — over the application's authored plan. A domain plan that plans\n * nothing is a refusal, never an artifact. (The strict generation schema always had `min(1)`; like\n * build-plan's, it has no caller in the playbook lane — the family schema is the effective gate.)\n */\n modules: z.array(ModuleBusinessSemanticsSchema).min(1),\n /** May be legitimately empty (a single-module app) — but must be AUTHORED empty, never defaulted. */\n relationships: z.array(DomainRelationshipDraftSchema),\n /**\n * How the application partitions its data. See {@link DomainPlanTenancyModel} for why it lives\n * here and why it is optional on this schema while required on the generation contract.\n */\n tenancy: z.enum(DomainPlanTenancyModel).optional(),\n /**\n * The requirements met by what the engine provides (#2492). Optional here so plans authored before the\n * field still parse; required on the generation contract, where an empty list is a statement.\n */\n engineRealizedRequirements: z.array(DomainPlanEngineRealizedRequirementSchema).optional(),\n /**\n * The lifecycles of the resources that move through states (#2491). Optional here so plans authored\n * before the field still parse; required on the generation contract, where an empty list says no\n * resource has one.\n */\n lifecycles: z.array(DomainResourceLifecycleSchema).optional(),\n});\nexport type DomainPlanOutputSet = z.infer<typeof DomainPlanOutputSetSchema>;\n"]}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import '@wildo-ai/zod-decorators';
2
3
  import type { FamilyAspectsDeclaration } from '../family-aspects.schemas';
3
4
  /** Whether a module holds a resource at its semantic centre, or in support of it. */
4
5
  export declare enum DomainPlanResourceRole {
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAK1E,qFAAqF;AACrF,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kCAAkC;;;;iBAI7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,4BAA4B,EAAE,CAmBnG;AAED,eAAO,MAAM,0BAA0B,EAAE,wBAiExC,CAAC"}
1
+ {"version":3,"file":"domain-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAK1E,qFAAqF;AACrF,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kCAAkC;;;;iBAI7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,4BAA4B,EAAE,CAmBnG;AAED,eAAO,MAAM,0BAA0B,EAAE,wBAqFxC,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import '@wildo-ai/zod-decorators';
2
3
  import { ApplicationSpecificationFamilySemanticSchemaRef } from "../application-specification-family-identity.schemas.js";
3
4
  import { FamilyAspectKind } from '../family-aspects.schemas.js';
4
5
  import { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas.js';
5
- import { DomainRelationshipDraftSchema } from './domain-plan-output-set.schemas.js';
6
+ import { DomainRelationshipDraftSchema, DomainResourceLifecycleSchema } from './domain-plan-output-set.schemas.js';
6
7
  /** Whether a module holds a resource at its semantic centre, or in support of it. */
7
8
  export var DomainPlanResourceRole;
8
9
  (function (DomainPlanResourceRole) {
@@ -121,6 +122,26 @@ export const DOMAIN_PLAN_FAMILY_ASPECTS = {
121
122
  { field: 'targetResourceRef', targetAspects: ['domain-plan.resource'] },
122
123
  ],
123
124
  },
125
+ {
126
+ /**
127
+ * A resource's states and transitions (#2491). An aspect so a criterion can name it: the build
128
+ * decomposition's interaction-coverage criterion reads it to require one operation task per
129
+ * transition, and a criterion sees only the aspects it names.
130
+ */
131
+ key: 'domain-plan.lifecycle',
132
+ snapshotPath: 'lifecycles',
133
+ kind: FamilyAspectKind.COLLECTION,
134
+ itemSchema: DomainResourceLifecycleSchema,
135
+ businessKey: 'resourceRef',
136
+ headlineField: 'resourceRef',
137
+ edges: [
138
+ { field: 'resourceRef', targetAspects: ['domain-plan.resource'] },
139
+ { field: 'transitions', throughField: 'createsResourceRef', targetAspects: ['domain-plan.resource'] },
140
+ ],
141
+ nonEdgeRefFields: {
142
+ 'transitions.transitionRef': 'the transition\'s own name, unique within its lifecycle — it names the operation the build adds, not a decided element',
143
+ },
144
+ },
124
145
  ],
125
146
  };
126
147
  //# sourceMappingURL=domain-plan.family-aspects.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"domain-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAgC,MAAM,8CAA8C,CAAC;AAC3H,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,qFAAqF;AACrF,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,mDAAyB,CAAA;AAC3B,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrC,SAAS,EAAE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sB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { ModuleBusinessSemanticsSchema, type ModuleBusinessSemantics } from '../business-semantics.specifications.schemas';\nimport { DomainRelationshipDraftSchema } from './domain-plan-output-set.schemas';\n\n/** Whether a module holds a resource at its semantic centre, or in support of it. */\nexport enum DomainPlanResourceRole {\n MAIN = 'main',\n SUPPORTING = 'supporting',\n}\n\n/**\n * ONE DOMAIN-PLAN RESOURCE, as the aspect registry projects it (#1482).\n *\n * A derived row, the registry's first — see `deriveItems` on the declaration below for why deriving beat\n * reshaping the family. (Not its only one: `assurance-program` obligation entries and governed-document\n * sections are derived the same way.) It carries nothing the committed file does not: the\n * resource NAME as authored, the module that lists it, and which of the module's two lists it came\n * from. `resourceRef` is the authored string itself, so a referrer resolves against exactly what it\n * was written with.\n */\nexport const DomainPlanResourceProjectionSchema = z.object({\n resourceRef: z.string().trim().min(1),\n moduleRef: z.string().trim().min(1),\n role: z.enum(DomainPlanResourceRole).systemEnum('DomainPlanResourceRole'),\n});\nexport type DomainPlanResourceProjection = z.infer<typeof DomainPlanResourceProjectionSchema>;\n\n/**\n * Flatten every module's two resource lists into addressable rows.\n *\n * FIRST WINS on a repeat: a resource named by two modules, or in both of one module's lists, is ONE\n * resource of the application, and emitting it twice would give the same name two identities and\n * make a referrer's link ambiguous. The first module that lists it is the one the row reports, which\n * is deterministic given a committed file.\n */\nexport function projectDomainPlanResources(member: unknown): readonly DomainPlanResourceProjection[] {\n if (!Array.isArray(member)) return [];\n const byRef = new Map<string, DomainPlanResourceProjection>();\n for (const entry of member) {\n const moduleItem = entry as Partial<ModuleBusinessSemantics> | null;\n const moduleRef = typeof moduleItem?.relatedModuleId === 'string' ? moduleItem.relatedModuleId : '';\n if (moduleRef.length === 0) continue;\n for (const [role, resources] of [\n [DomainPlanResourceRole.MAIN, moduleItem?.mainResources],\n [DomainPlanResourceRole.SUPPORTING, moduleItem?.supportingResources],\n ] as const) {\n if (!Array.isArray(resources)) continue;\n for (const resourceRef of resources) {\n if (typeof resourceRef !== 'string' || resourceRef.trim().length === 0) continue;\n if (!byRef.has(resourceRef)) byRef.set(resourceRef, { resourceRef, moduleRef, role });\n }\n }\n }\n return [...byRef.values()];\n}\n\nexport const DOMAIN_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.DOMAIN_PLAN_OUTPUT_SET,\n aspects: [\n {\n key: 'domain-plan.module',\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ModuleBusinessSemanticsSchema,\n businessKey: 'relatedModuleId',\n headlineField: 'relatedModuleId',\n edges: [],\n nonEdgeRefFields: {\n /*\n * A module's own resource lists are plain strings, and the aspect that makes them\n * addressable is `domain-plan.resource` below — derived from this same member. Declared here\n * rather than left silent because the drift pin would otherwise have nothing to say about\n * fields that ARE references, just not from this row.\n */\n mainResources: 'resource NAMES at the module’s semantic centre — addressable as `domain-plan.resource`, derived from this same member',\n supportingResources: 'resource NAMES supporting the module — addressable as `domain-plan.resource`, derived from this same member',\n },\n },\n {\n /**\n * THE UNIT EVERY OTHER FAMILY POINTS AT (#1482).\n *\n * A build task's `target.resourceRef` resolved 24 of 24 on Wonder CRM — against these\n * strings — and had to be declared a non-edge because they had no identity. Same for\n * `produces.resourceRef` and a placement decision's `subject.resourceRef`. The single\n * most-travelled link in the build lane was the one RELATED could not follow.\n */\n key: 'domain-plan.resource',\n // The SAME member as the module aspect, read through a projection rather than as itself.\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n deriveItems: projectDomainPlanResources,\n itemSchema: DomainPlanResourceProjectionSchema,\n businessKey: 'resourceRef',\n /*\n * The resource NAME, and deliberately not a sentence: a domain plan states a module's purpose\n * and never a resource's, so there is no prose to head on. The name is what every referrer\n * writes and what a reader calls it, which is what a map line is for.\n */\n headlineField: 'resourceRef',\n edges: [\n // Back to the module that lists it — the one edge a projected row can carry, and the one\n // that makes RELATED from a build task reach the module as well as the resource.\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n ],\n },\n {\n key: 'domain-plan.relationship',\n snapshotPath: 'relationships',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: DomainRelationshipDraftSchema,\n businessKey: 'relationshipRef',\n headlineField: 'relationshipRef',\n edges: [\n // The two resources a relationship draft joins, addressable since #1482. They were stated\n // non-edges for exactly one reason — there was no aspect to point at — and that reason is gone.\n { field: 'sourceResourceRef', targetAspects: ['domain-plan.resource'] },\n { field: 'targetResourceRef', targetAspects: ['domain-plan.resource'] },\n ],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"domain-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAgC,MAAM,8CAA8C,CAAC;AAC3H,OAAO,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEhH,qFAAqF;AACrF,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,mDAAyB,CAAA;AAC3B,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EA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,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;QACD;YACE;;;;eAIG;YACH,GAAG,EAAE,uBAAuB;YAC5B,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,6BAA6B;YACzC,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,aAAa;YAC5B,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACjE,EAAE,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACtG;YACD,gBAAgB,EAAE;gBAChB,2BAA2B,EAAE,wHAAwH;aACtJ;SACF;KACF;CACF,CAAC","sourcesContent":["import { z } from 'zod';\nimport '@wildo-ai/zod-decorators';\n\nimport { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { ModuleBusinessSemanticsSchema, type ModuleBusinessSemantics } from '../business-semantics.specifications.schemas';\nimport { DomainRelationshipDraftSchema, DomainResourceLifecycleSchema } from './domain-plan-output-set.schemas';\n\n/** Whether a module holds a resource at its semantic centre, or in support of it. */\nexport enum DomainPlanResourceRole {\n MAIN = 'main',\n SUPPORTING = 'supporting',\n}\n\n/**\n * ONE DOMAIN-PLAN RESOURCE, as the aspect registry projects it (#1482).\n *\n * A derived row, the registry's first — see `deriveItems` on the declaration below for why deriving beat\n * reshaping the family. (Not its only one: `assurance-program` obligation entries and governed-document\n * sections are derived the same way.) It carries nothing the committed file does not: the\n * resource NAME as authored, the module that lists it, and which of the module's two lists it came\n * from. `resourceRef` is the authored string itself, so a referrer resolves against exactly what it\n * was written with.\n */\nexport const DomainPlanResourceProjectionSchema = z.object({\n resourceRef: z.string().trim().min(1),\n moduleRef: z.string().trim().min(1),\n role: z.enum(DomainPlanResourceRole).systemEnum('DomainPlanResourceRole'),\n});\nexport type DomainPlanResourceProjection = z.infer<typeof DomainPlanResourceProjectionSchema>;\n\n/**\n * Flatten every module's two resource lists into addressable rows.\n *\n * FIRST WINS on a repeat: a resource named by two modules, or in both of one module's lists, is ONE\n * resource of the application, and emitting it twice would give the same name two identities and\n * make a referrer's link ambiguous. The first module that lists it is the one the row reports, which\n * is deterministic given a committed file.\n */\nexport function projectDomainPlanResources(member: unknown): readonly DomainPlanResourceProjection[] {\n if (!Array.isArray(member)) return [];\n const byRef = new Map<string, DomainPlanResourceProjection>();\n for (const entry of member) {\n const moduleItem = entry as Partial<ModuleBusinessSemantics> | null;\n const moduleRef = typeof moduleItem?.relatedModuleId === 'string' ? moduleItem.relatedModuleId : '';\n if (moduleRef.length === 0) continue;\n for (const [role, resources] of [\n [DomainPlanResourceRole.MAIN, moduleItem?.mainResources],\n [DomainPlanResourceRole.SUPPORTING, moduleItem?.supportingResources],\n ] as const) {\n if (!Array.isArray(resources)) continue;\n for (const resourceRef of resources) {\n if (typeof resourceRef !== 'string' || resourceRef.trim().length === 0) continue;\n if (!byRef.has(resourceRef)) byRef.set(resourceRef, { resourceRef, moduleRef, role });\n }\n }\n }\n return [...byRef.values()];\n}\n\nexport const DOMAIN_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.DOMAIN_PLAN_OUTPUT_SET,\n aspects: [\n {\n key: 'domain-plan.module',\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ModuleBusinessSemanticsSchema,\n businessKey: 'relatedModuleId',\n headlineField: 'relatedModuleId',\n edges: [],\n nonEdgeRefFields: {\n /*\n * A module's own resource lists are plain strings, and the aspect that makes them\n * addressable is `domain-plan.resource` below — derived from this same member. Declared here\n * rather than left silent because the drift pin would otherwise have nothing to say about\n * fields that ARE references, just not from this row.\n */\n mainResources: 'resource NAMES at the module’s semantic centre — addressable as `domain-plan.resource`, derived from this same member',\n supportingResources: 'resource NAMES supporting the module — addressable as `domain-plan.resource`, derived from this same member',\n },\n },\n {\n /**\n * THE UNIT EVERY OTHER FAMILY POINTS AT (#1482).\n *\n * A build task's `target.resourceRef` resolved 24 of 24 on Wonder CRM — against these\n * strings — and had to be declared a non-edge because they had no identity. Same for\n * `produces.resourceRef` and a placement decision's `subject.resourceRef`. The single\n * most-travelled link in the build lane was the one RELATED could not follow.\n */\n key: 'domain-plan.resource',\n // The SAME member as the module aspect, read through a projection rather than as itself.\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n deriveItems: projectDomainPlanResources,\n itemSchema: DomainPlanResourceProjectionSchema,\n businessKey: 'resourceRef',\n /*\n * The resource NAME, and deliberately not a sentence: a domain plan states a module's purpose\n * and never a resource's, so there is no prose to head on. The name is what every referrer\n * writes and what a reader calls it, which is what a map line is for.\n */\n headlineField: 'resourceRef',\n edges: [\n // Back to the module that lists it — the one edge a projected row can carry, and the one\n // that makes RELATED from a build task reach the module as well as the resource.\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n ],\n },\n {\n key: 'domain-plan.relationship',\n snapshotPath: 'relationships',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: DomainRelationshipDraftSchema,\n businessKey: 'relationshipRef',\n headlineField: 'relationshipRef',\n edges: [\n // The two resources a relationship draft joins, addressable since #1482. They were stated\n // non-edges for exactly one reason — there was no aspect to point at — and that reason is gone.\n { field: 'sourceResourceRef', targetAspects: ['domain-plan.resource'] },\n { field: 'targetResourceRef', targetAspects: ['domain-plan.resource'] },\n ],\n },\n {\n /**\n * A resource's states and transitions (#2491). An aspect so a criterion can name it: the build\n * decomposition's interaction-coverage criterion reads it to require one operation task per\n * transition, and a criterion sees only the aspects it names.\n */\n key: 'domain-plan.lifecycle',\n snapshotPath: 'lifecycles',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: DomainResourceLifecycleSchema,\n businessKey: 'resourceRef',\n headlineField: 'resourceRef',\n edges: [\n { field: 'resourceRef', targetAspects: ['domain-plan.resource'] },\n { field: 'transitions', throughField: 'createsResourceRef', targetAspects: ['domain-plan.resource'] },\n ],\n nonEdgeRefFields: {\n 'transitions.transitionRef': 'the transition\\'s own name, unique within its lifecycle — it names the operation the build adds, not a decided element',\n },\n },\n ],\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { FrontendConfigSurface } from '../build-plan/build-plan-task-graph.schemas';
3
- import { ExperienceViewKind, type ExperiencePlan } from './experience-plan.schemas';
3
+ import { ExperienceHomeKind, ExperienceViewKind, type ExperiencePlan } from './experience-plan.schemas';
4
4
  /**
5
5
  * Strict provider-facing view. The provider supplies a stable semantic slug; the trusted runtime
6
6
  * stamps the canonical view-ref prefix and the payload version.
@@ -51,6 +51,22 @@ export declare const ExperiencePlanGenerationSchema: z.ZodObject<{
51
51
  gatedByMilestoneRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
52
52
  servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
53
53
  }, z.core.$strict>>>;
54
+ /**
55
+ * What a person sees first (#2502). Optional, not required-nullable (review F7): a response that leaves it out is
56
+ * a plan with no home, never a refused plan. Strict mode still offers `null`, which reads the same.
57
+ * A VIEW home names the view by its slug, stamped like the view.
58
+ */
59
+ home: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
60
+ kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<ExperienceHomeKind.VIEW>>;
61
+ viewRef: z.ZodString;
62
+ rationale: z.ZodString;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<ExperienceHomeKind.RESOURCE_OPERATION>>;
65
+ moduleRef: z.ZodString;
66
+ resourceRef: z.ZodString;
67
+ operation: z.ZodString;
68
+ rationale: z.ZodString;
69
+ }, z.core.$strict>], "kind">>>;
54
70
  }, z.core.$strict>;
55
71
  export type ExperiencePlanGeneration = z.infer<typeof ExperiencePlanGenerationSchema>;
56
72
  /** Normalize strict provider output into the persisted family (stamping refs and version). */
@@ -1 +1 @@
1
- {"version":3,"file":"experience-plan-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAOL,kBAAkB,EAClB,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAKnC;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;kBAQzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,qEAAqE;AACrE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyBzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,8FAA8F;AAC9F,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAiB5E"}
1
+ {"version":3,"file":"experience-plan-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAIL,kBAAkB,EAKlB,kBAAkB,EAClB,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAKnC;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;kBAQzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,qEAAqE;AACrE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYzC;;;;OAIG;;;;;;;;;;;;kBAiBH,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,8FAA8F;AAC9F,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAyB5E"}
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
3
- import { EXPERIENCE_VIEW_REF_PREFIX, ExperienceConfigurationPlanSchema, ExperienceGuidancePlanSchema, ExperienceMilestonePlanSchema, ExperiencePlanSchema, ExperiencePlanVersion, ExperienceViewKind, } from './experience-plan.schemas.js';
3
+ import { EXPERIENCE_VIEW_REF_PREFIX, ExperienceConfigurationPlanSchema, ExperienceGuidancePlanSchema, ExperienceHomeKind, ExperienceHomePlanSchema, ExperienceMilestonePlanSchema, ExperiencePlanSchema, ExperiencePlanVersion, ExperienceViewKind, } from './experience-plan.schemas.js';
4
4
  const SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
5
5
  const NonEmptyStringSchema = z.string().trim().min(1);
6
6
  /**
@@ -25,12 +25,20 @@ export const ExperiencePlanGenerationSchema = z.strictObject({
25
25
  views: z.array(ExperienceViewGenerationSchema).default([]),
26
26
  configurations: z.array(ExperienceConfigurationPlanSchema).min(1),
27
27
  /*
28
- * Milestones and guidance carry no stamped prefix — their refs are what the code spells — so the
29
- * provider answers the persisted item shape directly, and the family schema's own refinement holds
30
- * their uniqueness.
28
+ * Milestones and guidance carry no stamped prefix of their OWN — their refs are what the code spells — so the
29
+ * provider answers the persisted item shape directly, and the family schema's own refinement holds their uniqueness.
30
+ * A document's `hostViewRef` POINTS AT a view, though, whose ref IS stamped: the normalizer stamps it the same way
31
+ * (#2556). The model writes a view as a slug and its host as that same slug; left raw, every host missed its view,
32
+ * and app-creation-test-004 lost its experience plan six times over hosts it had planned correctly.
31
33
  */
32
34
  milestones: z.array(ExperienceMilestonePlanSchema).default([]),
33
35
  guidance: z.array(ExperienceGuidancePlanSchema).default([]),
36
+ /**
37
+ * What a person sees first (#2502). Optional, not required-nullable (review F7): a response that leaves it out is
38
+ * a plan with no home, never a refused plan. Strict mode still offers `null`, which reads the same.
39
+ * A VIEW home names the view by its slug, stamped like the view.
40
+ */
41
+ home: ExperienceHomePlanSchema.nullish(),
34
42
  }).superRefine((generated, context) => {
35
43
  // Keyed on the STAMPED form, not on the authored slug: `pipeline` and `view-pipeline` are two
36
44
  // distinct slugs that both become `view-pipeline`, and two views sharing one ref make the build
@@ -65,7 +73,15 @@ export function parseExperiencePlanGeneration(input) {
65
73
  })),
66
74
  configurations: generated.configurations,
67
75
  milestones: generated.milestones,
68
- guidance: generated.guidance,
76
+ // The host names a view by the same slug the view was written with; stamped like the view (idempotent, #2556).
77
+ guidance: generated.guidance.map((entry) => (entry.hostViewRef === undefined
78
+ ? entry
79
+ : { ...entry, hostViewRef: applyFamilyRefPrefix(entry.hostViewRef, EXPERIENCE_VIEW_REF_PREFIX) })),
80
+ ...(generated.home === null || generated.home === undefined ? {} : {
81
+ home: generated.home.kind === ExperienceHomeKind.VIEW
82
+ ? { ...generated.home, viewRef: applyFamilyRefPrefix(generated.home.viewRef, EXPERIENCE_VIEW_REF_PREFIX) }
83
+ : generated.home,
84
+ }),
69
85
  });
70
86
  }
71
87
  //# sourceMappingURL=experience-plan-generation.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"experience-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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CAAC,KAAc;IAC1D,MAAM,SAAS,GAAG,8BAA8B,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC9D,OAAO,oBAAoB,CAAC,KAAK,CAAC;QAChC,OAAO,EAAE,qBAAqB,CAAC,EAAE;QACjC,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACpC,OAAO,EAAE,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,0BAA0B,CAAC;YACpE,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,GAAG,CAAC,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC;YAC5E,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;YAC7C,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;QACH,cAAc,EAAE,SAAS,CAAC,cAAc;QACxC,UAAU,EAAE,SAAS,CAAC,UAAU;QAChC,QAAQ,EAAE,SAAS,CAAC,QAAQ;KAC7B,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport { FrontendConfigSurface } from '../build-plan/build-plan-task-graph.schemas';\nimport {\n EXPERIENCE_VIEW_REF_PREFIX,\n ExperienceConfigurationPlanSchema,\n ExperienceGuidancePlanSchema,\n ExperienceMilestonePlanSchema,\n ExperiencePlanSchema,\n ExperiencePlanVersion,\n ExperienceViewKind,\n type ExperiencePlan,\n} from './experience-plan.schemas';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Strict provider-facing view. The provider supplies a stable semantic slug; the trusted runtime\n * stamps the canonical view-ref prefix and the payload version.\n *\n * No path, component file name or import is representable here — by construction. The plan decides\n * WHICH surfaces exist and what they reuse; the coding agent that writes\n * `<Resource>CompositeView.tsx` decides how, guided by the skill the view's KIND names.\n */\nexport const ExperienceViewGenerationSchema = z.strictObject({\n slug: SlugSchema,\n kind: z.enum(ExperienceViewKind),\n moduleRef: SlugSchema,\n resourceRef: SlugSchema.optional(),\n purpose: NonEmptyStringSchema,\n reusesComponentRefs: z.array(NonEmptyStringSchema).default([]),\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceViewGeneration = z.infer<typeof ExperienceViewGenerationSchema>;\n\n/** One complete provider response for the experience-plan family. */\nexport const ExperiencePlanGenerationSchema = z.strictObject({\n views: z.array(ExperienceViewGenerationSchema).default([]),\n configurations: z.array(ExperienceConfigurationPlanSchema).min(1),\n /*\n * Milestones and guidance carry no stamped prefix — their refs are what the code spells — so the\n * provider answers the persisted item shape directly, and the family schema's own refinement holds\n * their uniqueness.\n */\n milestones: z.array(ExperienceMilestonePlanSchema).default([]),\n guidance: z.array(ExperienceGuidancePlanSchema).default([]),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug: `pipeline` and `view-pipeline` are two\n // distinct slugs that both become `view-pipeline`, and two views sharing one ref make the build\n // task each produces ambiguous.\n const seen = new Set<string>();\n generated.views.forEach((view, index) => {\n const viewRef = applyFamilyRefPrefix(view.slug, EXPERIENCE_VIEW_REF_PREFIX);\n if (seen.has(viewRef)) context.addIssue({ code: 'custom', message: `duplicate view slug ${view.slug} (normalizes to ${viewRef})`, path: ['views', index, 'slug'] });\n seen.add(viewRef);\n });\n const surfaces = new Set<FrontendConfigSurface>();\n generated.configurations.forEach((configuration, index) => {\n if (surfaces.has(configuration.surface)) context.addIssue({ code: 'custom', message: `the ${configuration.surface} surface is decided twice`, path: ['configurations', index, 'surface'] });\n surfaces.add(configuration.surface);\n });\n});\nexport type ExperiencePlanGeneration = z.infer<typeof ExperiencePlanGenerationSchema>;\n\n/** Normalize strict provider output into the persisted family (stamping refs and version). */\nexport function parseExperiencePlanGeneration(input: unknown): ExperiencePlan {\n const generated = ExperiencePlanGenerationSchema.parse(input);\n return ExperiencePlanSchema.parse({\n version: ExperiencePlanVersion.V1,\n views: generated.views.map((view) => ({\n viewRef: applyFamilyRefPrefix(view.slug, EXPERIENCE_VIEW_REF_PREFIX),\n kind: view.kind,\n moduleRef: view.moduleRef,\n ...(view.resourceRef === undefined ? {} : { resourceRef: view.resourceRef }),\n purpose: view.purpose,\n reusesComponentRefs: view.reusesComponentRefs,\n servesRefs: view.servesRefs,\n })),\n configurations: generated.configurations,\n milestones: generated.milestones,\n guidance: generated.guidance,\n });\n}\n"]}
1
+ {"version":3,"file":"experience-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,4BAA4B,EAC5B,kBAAkB,EAClB,wBAAwB,EACxB,6BAA6B,EAC7B,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,GAEnB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAClE,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;IAChC,SAAS,EAAE,UAAU;IACrB,WAAW,EA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,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;YAC7C,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;QACH,cAAc,EAAE,SAAS,CAAC,cAAc;QACxC,UAAU,EAAE,SAAS,CAAC,UAAU;QAChC,+GAA+G;QAC/G,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,KAAK,SAAS;YAC1E,CAAC,CAAC,KAAK;YACP,CAAC,CAAC,EAAE,GAAG,KAAK,EAAE,WAAW,EAAE,oBAAoB,CAAC,KAAK,CAAC,WAAW,EAAE,0BAA0B,CAAC,EAAE,CAAC,CAAC;QACpG,GAAG,CAAC,SAAS,CAAC,IAAI,KAAK,IAAI,IAAI,SAAS,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACjE,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,kBAAkB,CAAC,IAAI;gBACnD,CAAC,CAAC,EAAE,GAAG,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,0BAA0B,CAAC,EAAE;gBAC1G,CAAC,CAAC,SAAS,CAAC,IAAI;SACnB,CAAC;KACH,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport { FrontendConfigSurface } from '../build-plan/build-plan-task-graph.schemas';\nimport {\n EXPERIENCE_VIEW_REF_PREFIX,\n ExperienceConfigurationPlanSchema,\n ExperienceGuidancePlanSchema,\n ExperienceHomeKind,\n ExperienceHomePlanSchema,\n ExperienceMilestonePlanSchema,\n ExperiencePlanSchema,\n ExperiencePlanVersion,\n ExperienceViewKind,\n type ExperiencePlan,\n} from './experience-plan.schemas';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Strict provider-facing view. The provider supplies a stable semantic slug; the trusted runtime\n * stamps the canonical view-ref prefix and the payload version.\n *\n * No path, component file name or import is representable here — by construction. The plan decides\n * WHICH surfaces exist and what they reuse; the coding agent that writes\n * `<Resource>CompositeView.tsx` decides how, guided by the skill the view's KIND names.\n */\nexport const ExperienceViewGenerationSchema = z.strictObject({\n slug: SlugSchema,\n kind: z.enum(ExperienceViewKind),\n moduleRef: SlugSchema,\n resourceRef: SlugSchema.optional(),\n purpose: NonEmptyStringSchema,\n reusesComponentRefs: z.array(NonEmptyStringSchema).default([]),\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceViewGeneration = z.infer<typeof ExperienceViewGenerationSchema>;\n\n/** One complete provider response for the experience-plan family. */\nexport const ExperiencePlanGenerationSchema = z.strictObject({\n views: z.array(ExperienceViewGenerationSchema).default([]),\n configurations: z.array(ExperienceConfigurationPlanSchema).min(1),\n /*\n * Milestones and guidance carry no stamped prefix of their OWN — their refs are what the code spells — so the\n * provider answers the persisted item shape directly, and the family schema's own refinement holds their uniqueness.\n * A document's `hostViewRef` POINTS AT a view, though, whose ref IS stamped: the normalizer stamps it the same way\n * (#2556). The model writes a view as a slug and its host as that same slug; left raw, every host missed its view,\n * and app-creation-test-004 lost its experience plan six times over hosts it had planned correctly.\n */\n milestones: z.array(ExperienceMilestonePlanSchema).default([]),\n guidance: z.array(ExperienceGuidancePlanSchema).default([]),\n /**\n * What a person sees first (#2502). Optional, not required-nullable (review F7): a response that leaves it out is\n * a plan with no home, never a refused plan. Strict mode still offers `null`, which reads the same.\n * A VIEW home names the view by its slug, stamped like the view.\n */\n home: ExperienceHomePlanSchema.nullish(),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug: `pipeline` and `view-pipeline` are two\n // distinct slugs that both become `view-pipeline`, and two views sharing one ref make the build\n // task each produces ambiguous.\n const seen = new Set<string>();\n generated.views.forEach((view, index) => {\n const viewRef = applyFamilyRefPrefix(view.slug, EXPERIENCE_VIEW_REF_PREFIX);\n if (seen.has(viewRef)) context.addIssue({ code: 'custom', message: `duplicate view slug ${view.slug} (normalizes to ${viewRef})`, path: ['views', index, 'slug'] });\n seen.add(viewRef);\n });\n const surfaces = new Set<FrontendConfigSurface>();\n generated.configurations.forEach((configuration, index) => {\n if (surfaces.has(configuration.surface)) context.addIssue({ code: 'custom', message: `the ${configuration.surface} surface is decided twice`, path: ['configurations', index, 'surface'] });\n surfaces.add(configuration.surface);\n });\n});\nexport type ExperiencePlanGeneration = z.infer<typeof ExperiencePlanGenerationSchema>;\n\n/** Normalize strict provider output into the persisted family (stamping refs and version). */\nexport function parseExperiencePlanGeneration(input: unknown): ExperiencePlan {\n const generated = ExperiencePlanGenerationSchema.parse(input);\n return ExperiencePlanSchema.parse({\n version: ExperiencePlanVersion.V1,\n views: generated.views.map((view) => ({\n viewRef: applyFamilyRefPrefix(view.slug, EXPERIENCE_VIEW_REF_PREFIX),\n kind: view.kind,\n moduleRef: view.moduleRef,\n ...(view.resourceRef === undefined ? {} : { resourceRef: view.resourceRef }),\n purpose: view.purpose,\n reusesComponentRefs: view.reusesComponentRefs,\n servesRefs: view.servesRefs,\n })),\n configurations: generated.configurations,\n milestones: generated.milestones,\n // The host names a view by the same slug the view was written with; stamped like the view (idempotent, #2556).\n guidance: generated.guidance.map((entry) => (entry.hostViewRef === undefined\n ? entry\n : { ...entry, hostViewRef: applyFamilyRefPrefix(entry.hostViewRef, EXPERIENCE_VIEW_REF_PREFIX) })),\n ...(generated.home === null || generated.home === undefined ? {} : {\n home: generated.home.kind === ExperienceHomeKind.VIEW\n ? { ...generated.home, viewRef: applyFamilyRefPrefix(generated.home.viewRef, EXPERIENCE_VIEW_REF_PREFIX) }\n : generated.home,\n }),\n });\n}\n"]}
@@ -13,7 +13,13 @@ export declare enum ExperiencePlanFindingCode {
13
13
  * No milestone and no guidance: a new person meets the application with nothing recognising their
14
14
  * progress and nothing telling them what to do first.
15
15
  */
16
- NO_FIRST_RUN_JOURNEY = "NO_FIRST_RUN_JOURNEY"
16
+ NO_FIRST_RUN_JOURNEY = "NO_FIRST_RUN_JOURNEY",
17
+ /** No home is decided (#2502): the application opens on the framework's default welcome page. */
18
+ NO_HOME = "NO_HOME",
19
+ /** The home names a view the plan does not hold, or a view kind the engine cannot show at the root. */
20
+ HOME_NOT_RENDERABLE = "HOME_NOT_RENDERABLE",
21
+ /** A home is decided and GLOBAL_VIEWS, the surface it is authored on, is not composed: no task would author it. */
22
+ HOME_HAS_NO_AUTHORING_SURFACE = "HOME_HAS_NO_AUTHORING_SURFACE"
17
23
  }
18
24
  export interface ExperiencePlanFinding {
19
25
  readonly code: ExperiencePlanFindingCode;
@@ -1 +1 @@
1
- {"version":3,"file":"experience-plan-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEpF,qGAAqG;AACrG,oBAAY,yBAAyB;IACnC,8GAA8G;IAC9G,kBAAkB,uBAAuB;IACzC,gHAAgH;IAChH,mBAAmB,wBAAwB;IAC3C,uGAAuG;IACvG,+BAA+B,oCAAoC;IACnE,mGAAmG;IACnG,mBAAmB,wBAAwB;IAC3C;;;OAGG;IACH,oBAAoB,yBAAyB;CAC9C;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gCAAgC,EAAE,SAAS,yBAAyB,EAEhF,CAAC;AAKF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,qBAAqB,EAAE,CA6C7F"}
1
+ {"version":3,"file":"experience-plan-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-validation.ts"],"names":[],"mappings":"AACA,OAAO,EAA0C,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAExG,qGAAqG;AACrG,oBAAY,yBAAyB;IACnC,8GAA8G;IAC9G,kBAAkB,uBAAuB;IACzC,gHAAgH;IAChH,mBAAmB,wBAAwB;IAC3C,uGAAuG;IACvG,+BAA+B,oCAAoC;IACnE,mGAAmG;IACnG,mBAAmB,wBAAwB;IAC3C;;;OAGG;IACH,oBAAoB,yBAAyB;IAC7C,iGAAiG;IACjG,OAAO,YAAY;IACnB,uGAAuG;IACvG,mBAAmB,wBAAwB;IAC3C,mHAAmH;IACnH,6BAA6B,kCAAkC;CAChE;AAUD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gCAAgC,EAAE,SAAS,yBAAyB,EAEhF,CAAC;AAKF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,qBAAqB,EAAE,CAqE7F"}
@@ -1,5 +1,5 @@
1
1
  import { FrontendConfigSurface } from '../build-plan/build-plan-task-graph.schemas.js';
2
- import { ExperienceViewKind } from './experience-plan.schemas.js';
2
+ import { ExperienceHomeKind, ExperienceViewKind } from './experience-plan.schemas.js';
3
3
  /** Deterministic finding over an experience plan; authoring coherence beyond structural validity. */
4
4
  export var ExperiencePlanFindingCode;
5
5
  (function (ExperiencePlanFindingCode) {
@@ -16,7 +16,20 @@ export var ExperiencePlanFindingCode;
16
16
  * progress and nothing telling them what to do first.
17
17
  */
18
18
  ExperiencePlanFindingCode["NO_FIRST_RUN_JOURNEY"] = "NO_FIRST_RUN_JOURNEY";
19
+ /** No home is decided (#2502): the application opens on the framework's default welcome page. */
20
+ ExperiencePlanFindingCode["NO_HOME"] = "NO_HOME";
21
+ /** The home names a view the plan does not hold, or a view kind the engine cannot show at the root. */
22
+ ExperiencePlanFindingCode["HOME_NOT_RENDERABLE"] = "HOME_NOT_RENDERABLE";
23
+ /** A home is decided and GLOBAL_VIEWS, the surface it is authored on, is not composed: no task would author it. */
24
+ ExperiencePlanFindingCode["HOME_HAS_NO_AUTHORING_SURFACE"] = "HOME_HAS_NO_AUTHORING_SURFACE";
19
25
  })(ExperiencePlanFindingCode || (ExperiencePlanFindingCode = {}));
26
+ /**
27
+ * The view kinds the engine's home renders in place (`homeDefinition.compositeViewReference`). Application views only
28
+ * (#2502 review F1): the root looks the ref up among the application-level composite views, and a view one resource
29
+ * owns is registered under an inserted-view ref there instead, so it is "not found". Rejected: teaching the inserted-ref
30
+ * form, because a home that is one resource's view is better planned as an application view or that resource's operation.
31
+ */
32
+ const HOME_RENDERABLE_VIEW_KINDS = [ExperienceViewKind.APPLICATION_VIEW];
20
33
  /**
21
34
  * The finding codes that must block a landing.
22
35
  *
@@ -36,6 +49,31 @@ export const EXPERIENCE_PLAN_HARD_FLOOR_CODES = [
36
49
  const NAVIGABLE_SURFACES = [FrontendConfigSurface.NAVIGATION, FrontendConfigSurface.APP_SHELL];
37
50
  export function validateExperiencePlan(plan) {
38
51
  const findings = [];
52
+ /*
53
+ * The home (#2502). Findings, never floors: a home is a product decision the creator's review owns, and a home
54
+ * naming a view the plan lacks must not cost the plan its other views (#2556's lesson).
55
+ */
56
+ if (plan.home === undefined) {
57
+ findings.push({ code: ExperiencePlanFindingCode.NO_HOME, viewRef: null, message: 'No home is decided, so the application opens on the framework\'s default welcome page rather than on what its people need first.' });
58
+ }
59
+ else {
60
+ const home = plan.home;
61
+ if (home.kind === ExperienceHomeKind.VIEW) {
62
+ const view = plan.views.find((candidate) => candidate.viewRef === home.viewRef);
63
+ if (view === undefined || !HOME_RENDERABLE_VIEW_KINDS.includes(view.kind)) {
64
+ findings.push({
65
+ code: ExperiencePlanFindingCode.HOME_NOT_RENDERABLE,
66
+ viewRef: home.viewRef,
67
+ message: view === undefined
68
+ ? `The home names ${home.viewRef}, which this plan does not hold.`
69
+ : `The home names ${home.viewRef}, a ${view.kind}; the root shows only an application view (${HOME_RENDERABLE_VIEW_KINDS.join(', ')}) in place, or redirects to a resource operation.`,
70
+ });
71
+ }
72
+ }
73
+ if (!plan.configurations.some((configuration) => configuration.surface === FrontendConfigSurface.GLOBAL_VIEWS)) {
74
+ findings.push({ code: ExperiencePlanFindingCode.HOME_HAS_NO_AUTHORING_SURFACE, viewRef: null, message: 'A home is decided but GLOBAL_VIEWS is not composed, and that is where the home is authored (homeDefinitionFactory): no task would set it.' });
75
+ }
76
+ }
39
77
  if (!plan.configurations.some((configuration) => NAVIGABLE_SURFACES.includes(configuration.surface))) {
40
78
  findings.push({
41
79
  code: ExperiencePlanFindingCode.NO_NAVIGABLE_SHELL,
@@ -1 +1 @@
1
- {"version":3,"file":"experience-plan-validation.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAuB,MAAM,2BAA2B,CAAC;AAEpF,qGAAqG;AACrG,MAAM,CAAN,IAAY,yBAcX;AAdD,WAAY,yBAAyB;IACnC,8GAA8G;IAC9G,sEAAyC,CAAA;IACzC,gHAAgH;IAChH,wEAA2C,CAAA;IAC3C,uGAAuG;IACvG,gGAAmE,CAAA;IACnE,mGAAmG;IACnG,wEAA2C,CAAA;IAC3C;;;OAGG;IACH,0EAA6C,CAAA;AAC/C,CAAC,EAdW,yBAAyB,KAAzB,yBAAyB,QAcpC;AAQD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAyC;IACpF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AI,IAAI,CAAC,mBAAmB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/F,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,yBAAyB,CAAC,+BAA+B;gBAC/D,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,oHAAoH;aAC7I,CAAC,CAAC;QACL,CAAC;QACD,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACjC,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,yBAAyB,CAAC,mBAAmB;gBACnD,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,oGAAoG;aAC7H,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import { FrontendConfigSurface } from '../build-plan/build-plan-task-graph.schemas';\nimport { ExperienceViewKind, type ExperiencePlan } from './experience-plan.schemas';\n\n/** Deterministic finding over an experience plan; authoring coherence beyond structural validity. */\nexport enum ExperiencePlanFindingCode {\n /** Neither the navigation nor the app shell is composed: the application has no way in to its own modules. */\n NO_NAVIGABLE_SHELL = 'NO_NAVIGABLE_SHELL',\n /** No application-level view at all — the application opens on whatever the shell defaults to, with no home. */\n NO_APPLICATION_VIEW = 'NO_APPLICATION_VIEW',\n /** A view that reuses no preset component: the surface most likely to be built out of raw elements. */\n VIEW_REUSES_NO_PRESET_COMPONENT = 'VIEW_REUSES_NO_PRESET_COMPONENT',\n /** A view accountable to nothing — no requirement, feature draft or roadmap phase asked for it. */\n VIEW_SERVES_NOTHING = 'VIEW_SERVES_NOTHING',\n /**\n * No milestone and no guidance: a new person meets the application with nothing recognising their\n * progress and nothing telling them what to do first.\n */\n NO_FIRST_RUN_JOURNEY = 'NO_FIRST_RUN_JOURNEY',\n}\n\nexport interface ExperiencePlanFinding {\n readonly code: ExperiencePlanFindingCode;\n readonly viewRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing.\n *\n * ONE, and the same test as every other floor in this lane: a plan that cannot be USED. An\n * application whose shell composes nothing has no route to its own modules — the generated screens\n * exist and nothing reaches them — so a plan that never composes navigation or the shell describes\n * an application a person cannot open.\n *\n * The others are authoring judgement the creator's review owns — an internal tool may rightly want\n * no onboarding at all. A view reusing no preset may\n * be a deliberate bespoke surface; a view serving nothing may be scaffolding the creator wants.\n */\nexport const EXPERIENCE_PLAN_HARD_FLOOR_CODES: readonly ExperiencePlanFindingCode[] = [\n ExperiencePlanFindingCode.NO_NAVIGABLE_SHELL,\n];\n\n/** The two surfaces that decide whether a person can reach anything; composing neither is the floor. */\nconst NAVIGABLE_SURFACES: readonly FrontendConfigSurface[] = [FrontendConfigSurface.NAVIGATION, FrontendConfigSurface.APP_SHELL];\n\nexport function validateExperiencePlan(plan: ExperiencePlan): readonly ExperiencePlanFinding[] {\n const findings: ExperiencePlanFinding[] = [];\n if (!plan.configurations.some((configuration) => NAVIGABLE_SURFACES.includes(configuration.surface))) {\n findings.push({\n code: ExperiencePlanFindingCode.NO_NAVIGABLE_SHELL,\n viewRef: null,\n message: 'Neither NAVIGATION nor APP_SHELL is composed, so nothing routes a person to this application\\'s own modules.',\n });\n }\n if (!plan.views.some((view) => view.kind === ExperienceViewKind.APPLICATION_VIEW)) {\n findings.push({\n code: ExperiencePlanFindingCode.NO_APPLICATION_VIEW,\n viewRef: null,\n message: 'No application-level view is planned, so the application opens on whatever the shell defaults to rather than on a home somebody designed.',\n });\n }\n if (plan.milestones.length === 0 && plan.guidance.length === 0) {\n findings.push({\n code: ExperiencePlanFindingCode.NO_FIRST_RUN_JOURNEY,\n viewRef: null,\n message: 'No milestone and no guidance is planned, so a new person gets nothing that recognises their first steps or tells them what to do first.',\n });\n }\n for (const view of plan.views) {\n /*\n * A COMPONENT reuses nothing by definition — it IS the reusable thing — so asking it to name\n * presets would report every component plan as a finding, which is how a check trains its reader\n * to skim.\n */\n if (view.kind !== ExperienceViewKind.CUSTOM_COMPONENT && view.reusesComponentRefs.length === 0) {\n findings.push({\n code: ExperiencePlanFindingCode.VIEW_REUSES_NO_PRESET_COMPONENT,\n viewRef: view.viewRef,\n message: `${view.viewRef} names no preset component, so a coding agent has nothing telling it not to build the surface out of raw elements.`,\n });\n }\n if (view.servesRefs.length === 0) {\n findings.push({\n code: ExperiencePlanFindingCode.VIEW_SERVES_NOTHING,\n viewRef: view.viewRef,\n message: `${view.viewRef} is accountable to nothing: no requirement, feature draft or roadmap phase asked for this surface.`,\n });\n }\n }\n return findings;\n}\n"]}
1
+ {"version":3,"file":"experience-plan-validation.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAuB,MAAM,2BAA2B,CAAC;AAExG,qGAAqG;AACrG,MAAM,CAAN,IAAY,yBAoBX;AApBD,WAAY,yBAAyB;IACnC,8GAA8G;IAC9G,sEAAyC,CAAA;IACzC,gHAAgH;IAChH,wEAA2C,CAAA;IAC3C,uGAAuG;IACvG,gGAAmE,CAAA;IACnE,mGAAmG;IACnG,wEAA2C,CAAA;IAC3C;;;OAGG;IACH,0EAA6C,CAAA;IAC7C,iGAAiG;IACjG,gDAAmB,CAAA;IACnB,uGAAuG;IACvG,wEAA2C,CAAA;IAC3C,mHAAmH;IACnH,4FAA+D,CAAA;AACjE,CAAC,EApBW,yBAAyB,KAAzB,yBAAyB,QAoBpC;AAED;;;;;GAKG;AACH,MAAM,0BAA0B,GAAkC,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AAQxG;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAyC;IACpF,yBAAyB,CAAC,kBAAkB;CAC7C,CAAC;AAEF,wGAAwG;AACxG,MAAM,kB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mB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/F,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,yBAAyB,CAAC,+BAA+B;gBAC/D,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,oHAAoH;aAC7I,CAAC,CAAC;QACL,CAAC;QACD,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACjC,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,yBAAyB,CAAC,mBAAmB;gBACnD,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,oGAAoG;aAC7H,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import { FrontendConfigSurface } from '../build-plan/build-plan-task-graph.schemas';\nimport { ExperienceHomeKind, ExperienceViewKind, type ExperiencePlan } from './experience-plan.schemas';\n\n/** Deterministic finding over an experience plan; authoring coherence beyond structural validity. */\nexport enum ExperiencePlanFindingCode {\n /** Neither the navigation nor the app shell is composed: the application has no way in to its own modules. */\n NO_NAVIGABLE_SHELL = 'NO_NAVIGABLE_SHELL',\n /** No application-level view at all — the application opens on whatever the shell defaults to, with no home. */\n NO_APPLICATION_VIEW = 'NO_APPLICATION_VIEW',\n /** A view that reuses no preset component: the surface most likely to be built out of raw elements. */\n VIEW_REUSES_NO_PRESET_COMPONENT = 'VIEW_REUSES_NO_PRESET_COMPONENT',\n /** A view accountable to nothing — no requirement, feature draft or roadmap phase asked for it. */\n VIEW_SERVES_NOTHING = 'VIEW_SERVES_NOTHING',\n /**\n * No milestone and no guidance: a new person meets the application with nothing recognising their\n * progress and nothing telling them what to do first.\n */\n NO_FIRST_RUN_JOURNEY = 'NO_FIRST_RUN_JOURNEY',\n /** No home is decided (#2502): the application opens on the framework's default welcome page. */\n NO_HOME = 'NO_HOME',\n /** The home names a view the plan does not hold, or a view kind the engine cannot show at the root. */\n HOME_NOT_RENDERABLE = 'HOME_NOT_RENDERABLE',\n /** A home is decided and GLOBAL_VIEWS, the surface it is authored on, is not composed: no task would author it. */\n HOME_HAS_NO_AUTHORING_SURFACE = 'HOME_HAS_NO_AUTHORING_SURFACE',\n}\n\n/**\n * The view kinds the engine's home renders in place (`homeDefinition.compositeViewReference`). Application views only\n * (#2502 review F1): the root looks the ref up among the application-level composite views, and a view one resource\n * owns is registered under an inserted-view ref there instead, so it is \"not found\". Rejected: teaching the inserted-ref\n * form, because a home that is one resource's view is better planned as an application view or that resource's operation.\n */\nconst HOME_RENDERABLE_VIEW_KINDS: readonly ExperienceViewKind[] = [ExperienceViewKind.APPLICATION_VIEW];\n\nexport interface ExperiencePlanFinding {\n readonly code: ExperiencePlanFindingCode;\n readonly viewRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing.\n *\n * ONE, and the same test as every other floor in this lane: a plan that cannot be USED. An\n * application whose shell composes nothing has no route to its own modules — the generated screens\n * exist and nothing reaches them — so a plan that never composes navigation or the shell describes\n * an application a person cannot open.\n *\n * The others are authoring judgement the creator's review owns — an internal tool may rightly want\n * no onboarding at all. A view reusing no preset may\n * be a deliberate bespoke surface; a view serving nothing may be scaffolding the creator wants.\n */\nexport const EXPERIENCE_PLAN_HARD_FLOOR_CODES: readonly ExperiencePlanFindingCode[] = [\n ExperiencePlanFindingCode.NO_NAVIGABLE_SHELL,\n];\n\n/** The two surfaces that decide whether a person can reach anything; composing neither is the floor. */\nconst NAVIGABLE_SURFACES: readonly FrontendConfigSurface[] = [FrontendConfigSurface.NAVIGATION, FrontendConfigSurface.APP_SHELL];\n\nexport function validateExperiencePlan(plan: ExperiencePlan): readonly ExperiencePlanFinding[] {\n const findings: ExperiencePlanFinding[] = [];\n /*\n * The home (#2502). Findings, never floors: a home is a product decision the creator's review owns, and a home\n * naming a view the plan lacks must not cost the plan its other views (#2556's lesson).\n */\n if (plan.home === undefined) {\n findings.push({ code: ExperiencePlanFindingCode.NO_HOME, viewRef: null, message: 'No home is decided, so the application opens on the framework\\'s default welcome page rather than on what its people need first.' });\n } else {\n const home = plan.home;\n if (home.kind === ExperienceHomeKind.VIEW) {\n const view = plan.views.find((candidate) => candidate.viewRef === home.viewRef);\n if (view === undefined || !HOME_RENDERABLE_VIEW_KINDS.includes(view.kind)) {\n findings.push({\n code: ExperiencePlanFindingCode.HOME_NOT_RENDERABLE,\n viewRef: home.viewRef,\n message: view === undefined\n ? `The home names ${home.viewRef}, which this plan does not hold.`\n : `The home names ${home.viewRef}, a ${view.kind}; the root shows only an application view (${HOME_RENDERABLE_VIEW_KINDS.join(', ')}) in place, or redirects to a resource operation.`,\n });\n }\n }\n if (!plan.configurations.some((configuration) => configuration.surface === FrontendConfigSurface.GLOBAL_VIEWS)) {\n findings.push({ code: ExperiencePlanFindingCode.HOME_HAS_NO_AUTHORING_SURFACE, viewRef: null, message: 'A home is decided but GLOBAL_VIEWS is not composed, and that is where the home is authored (homeDefinitionFactory): no task would set it.' });\n }\n }\n if (!plan.configurations.some((configuration) => NAVIGABLE_SURFACES.includes(configuration.surface))) {\n findings.push({\n code: ExperiencePlanFindingCode.NO_NAVIGABLE_SHELL,\n viewRef: null,\n message: 'Neither NAVIGATION nor APP_SHELL is composed, so nothing routes a person to this application\\'s own modules.',\n });\n }\n if (!plan.views.some((view) => view.kind === ExperienceViewKind.APPLICATION_VIEW)) {\n findings.push({\n code: ExperiencePlanFindingCode.NO_APPLICATION_VIEW,\n viewRef: null,\n message: 'No application-level view is planned, so the application opens on whatever the shell defaults to rather than on a home somebody designed.',\n });\n }\n if (plan.milestones.length === 0 && plan.guidance.length === 0) {\n findings.push({\n code: ExperiencePlanFindingCode.NO_FIRST_RUN_JOURNEY,\n viewRef: null,\n message: 'No milestone and no guidance is planned, so a new person gets nothing that recognises their first steps or tells them what to do first.',\n });\n }\n for (const view of plan.views) {\n /*\n * A COMPONENT reuses nothing by definition — it IS the reusable thing — so asking it to name\n * presets would report every component plan as a finding, which is how a check trains its reader\n * to skim.\n */\n if (view.kind !== ExperienceViewKind.CUSTOM_COMPONENT && view.reusesComponentRefs.length === 0) {\n findings.push({\n code: ExperiencePlanFindingCode.VIEW_REUSES_NO_PRESET_COMPONENT,\n viewRef: view.viewRef,\n message: `${view.viewRef} names no preset component, so a coding agent has nothing telling it not to build the surface out of raw elements.`,\n });\n }\n if (view.servesRefs.length === 0) {\n findings.push({\n code: ExperiencePlanFindingCode.VIEW_SERVES_NOTHING,\n viewRef: view.viewRef,\n message: `${view.viewRef} is accountable to nothing: no requirement, feature draft or roadmap phase asked for this surface.`,\n });\n }\n }\n return findings;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"experience-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,8BAA8B,EAAE,wBAyE5C,CAAC"}
1
+ {"version":3,"file":"experience-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,8BAA8B,EAAE,wBAmG5C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas.js';
2
- import { FamilyAspectKind } from '../family-aspects.schemas.js';
3
- import { ExperienceConfigurationPlanSchema, ExperienceGuidancePlanSchema, ExperienceMilestonePlanSchema, ExperienceViewPlanSchema } from './experience-plan.schemas.js';
2
+ import { FamilyAspectKind, FamilyAspectUnresolvedRefTreatment } from '../family-aspects.schemas.js';
3
+ import { ExperienceConfigurationPlanSchema, ExperienceGuidancePlanSchema, ExperienceHomePlanSchema, ExperienceMilestonePlanSchema, ExperienceViewPlanSchema } from './experience-plan.schemas.js';
4
4
  export const EXPERIENCE_PLAN_FAMILY_ASPECTS = {
5
5
  schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.EXPERIENCE_PLAN,
6
6
  aspects: [
@@ -34,7 +34,7 @@ export const EXPERIENCE_PLAN_FAMILY_ASPECTS = {
34
34
  headlineField: 'rationale',
35
35
  edges: [],
36
36
  nonEdgeRefFields: {
37
- declarationRefs: 'the named things the configuration file gains — a sidebar section, a zone, a token of the BUILT application',
37
+ declarationRefs: 'the named things the configuration file gains — a sidebar section, a zone, a token, or (SHELL_LAYOUT) the one layout constant, of the BUILT application',
38
38
  },
39
39
  },
40
40
  {
@@ -65,14 +65,40 @@ export const EXPERIENCE_PLAN_FAMILY_ASPECTS = {
65
65
  { field: 'moduleRef', targetAspects: ['domain-plan.module'] },
66
66
  /* The milestones a person must hold first — the link that makes the journey readable as one path. */
67
67
  { field: 'gatedByMilestoneRefs', targetAspects: ['experience-plan.milestone'] },
68
- /* The planned view that embeds a document. A ref to a view the tree already has routes nowhere, and stays readable in the item. */
69
- { field: 'hostViewRef', targetAspects: ['experience-plan.view'] },
68
+ /*
69
+ * The view that embeds a document, one this plan plans (#2556). The plan is the application's complete view
70
+ * inventory, restated in full, so a view the application keeps is one it plans. A document whose host is not
71
+ * planned is DROPPED when the plan lands and reported, never the reason the whole plan is refused: it is optional
72
+ * to everything else the plan decides. The generation loop tells the model first, on every attempt but the last.
73
+ */
74
+ { field: 'hostViewRef', targetAspects: ['experience-plan.view'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },
70
75
  {
71
76
  field: 'servesRefs',
72
77
  targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],
73
78
  },
74
79
  ],
75
80
  },
81
+ {
82
+ /*
83
+ * What a person sees first (#2502 review F3): one per plan, absent when none is decided. Its refs are followed like
84
+ * every other: a VIEW home's view in this plan, a RESOURCE_OPERATION home's module and resource in the domain plan,
85
+ * so a home naming a resource the domain plan dropped is a dangling reference on the graph.
86
+ *
87
+ * Each edge DROPS the home rather than refusing the plan (re-review N1): the home is optional to everything else the
88
+ * plan decides, and refusing would cost its views, configurations, milestones and guidance over one ref (#2556). The
89
+ * plan then lands without a home and the validator reports NO_HOME.
90
+ */
91
+ key: 'experience-plan.home',
92
+ snapshotPath: 'home',
93
+ kind: FamilyAspectKind.SINGLETON,
94
+ itemSchema: ExperienceHomePlanSchema,
95
+ headlineField: 'rationale',
96
+ edges: [
97
+ { field: 'viewRef', targetAspects: ['experience-plan.view'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },
98
+ { field: 'moduleRef', targetAspects: ['domain-plan.module'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },
99
+ { field: 'resourceRef', targetAspects: ['domain-plan.resource'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },
100
+ ],
101
+ },
76
102
  ],
77
103
  };
78
104
  //# sourceMappingURL=experience-plan.family-aspects.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"experience-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErK,MAAM,CAAC,MAAM,8BAA8B,GAA6B;IACtE,SAAS,EAAE,+CAA+C,CAAC,eAAe;IAC1E,OAAO,EAAE;QACP;YACE,GAAG,EAAE,sBAAsB;YAC3B,YAAY,EAAE,OAAO;YACrB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,wBAAwB;YACpC,WAAW,E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/B,YAAY,EAAE,UAAU;YACxB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,4BAA4B;YACxC,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,oBAAoB,CAAC,EAAE;gBAC7D,qGAAqG;gBACrG,EAAE,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,CAAC,2BAA2B,CAAC,EAAE;gBAC/E,mIAAmI;gBACnI,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACjE;oBACE,KAAK,EAAE,YAAY;oBACnB,aAAa,EAAE,CAAC,yBAAyB,EAAE,6BAA6B,EAAE,eAAe,EAAE,sBAAsB,EAAE,0BAA0B,CAAC;iBAC/I;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { ExperienceConfigurationPlanSchema, ExperienceGuidancePlanSchema, ExperienceMilestonePlanSchema, ExperienceViewPlanSchema } from './experience-plan.schemas';\n\nexport const EXPERIENCE_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.EXPERIENCE_PLAN,\n aspects: [\n {\n key: 'experience-plan.view',\n snapshotPath: 'views',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceViewPlanSchema,\n businessKey: 'viewRef',\n headlineField: 'purpose',\n edges: [\n /* Where the surface lives, and what it is over — both decided elements the domain plan owns. */\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n { field: 'resourceRef', targetAspects: ['domain-plan.resource'] },\n /* What asked for it — five of the targets a build task's `servesRefs` addresses (a task also names constraints, pricing plans and the brand). */\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n nonEdgeRefFields: {\n reusesComponentRefs: \"engine PRESET component refs — the framework's own catalogue, not a decided element of this application\",\n },\n },\n {\n key: 'experience-plan.configuration',\n snapshotPath: 'configurations',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceConfigurationPlanSchema,\n businessKey: 'surface',\n headlineField: 'rationale',\n edges: [],\n nonEdgeRefFields: {\n declarationRefs: 'the named things the configuration file gains — a sidebar section, a zone, a token of the BUILT application',\n },\n },\n {\n key: 'experience-plan.milestone',\n snapshotPath: 'milestones',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceMilestonePlanSchema,\n businessKey: 'milestoneRef',\n headlineField: 'purpose',\n edges: [\n /* The module that declares it, and the resource whose operation earns it. */\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n { field: 'triggerResourceRef', targetAspects: ['domain-plan.resource'] },\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n },\n {\n key: 'experience-plan.guidance',\n snapshotPath: 'guidance',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceGuidancePlanSchema,\n businessKey: 'guidanceRef',\n headlineField: 'purpose',\n edges: [\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n /* The milestones a person must hold first — the link that makes the journey readable as one path. */\n { field: 'gatedByMilestoneRefs', targetAspects: ['experience-plan.milestone'] },\n /* The planned view that embeds a document. A ref to a view the tree already has routes nowhere, and stays readable in the item. */\n { field: 'hostViewRef', targetAspects: ['experience-plan.view'] },\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"experience-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,kCAAkC,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,iCAAiC,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAE/L,MAAM,CAAC,MAAM,8BAA8B,GAA6B;IACtE,SAAS,EAAE,+CAA+C,CAAC,eAAe;IAC1E,OAAO,EAAE;QACP;YACE,GAAG,EAAE,sBAAsB;YAC3B,YAAY,EAAE,OAAO;YACrB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,wBAAwB;YACpC,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL,gGAAgG;gBAChG,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,oBAAoB,CAAC,EAAE;gBAC7D,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACjE,iJAAiJ;gBACjJ;oBACE,KAAK,EAAE,YAAY;oBACnB,aAAa,EAAE,CAAC,yBAAyB,EAAE,6BAA6B,EAAE,eAAe,EAAE,sBAAsB,EAAE,0BAA0B,CAAC;iBAC/I;aACF;YACD,gBAAgB,EAAE;gBAChB,mBAAmB,EAAE,yGAAyG;aAC/H;SACF;QACD;YACE,GAAG,EAAE,+BAA+B;YACpC,YAAY,EAAE,gBAAgB;YAC9B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,WAAW;YAC1B,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,eAAe,EAAE,yJAAyJ;aA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AI,EAAE,gBAAgB,CAAC,SAAS;YAChC,UAAU,EAAE,wBAAwB;YACpC,aAAa,EAAE,WAAW;YAC1B,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE,aAAa,EAAE,kCAAkC,CAAC,SAAS,EAAE;gBAC1H,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,oBAAoB,CAAC,EAAE,aAAa,EAAE,kCAAkC,CAAC,SAAS,EAAE;gBAC1H,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE,aAAa,EAAE,kCAAkC,CAAC,SAAS,EAAE;aAC/H;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind, FamilyAspectUnresolvedRefTreatment } from '../family-aspects.schemas';\nimport { ExperienceConfigurationPlanSchema, ExperienceGuidancePlanSchema, ExperienceHomePlanSchema, ExperienceMilestonePlanSchema, ExperienceViewPlanSchema } from './experience-plan.schemas';\n\nexport const EXPERIENCE_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.EXPERIENCE_PLAN,\n aspects: [\n {\n key: 'experience-plan.view',\n snapshotPath: 'views',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceViewPlanSchema,\n businessKey: 'viewRef',\n headlineField: 'purpose',\n edges: [\n /* Where the surface lives, and what it is over — both decided elements the domain plan owns. */\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n { field: 'resourceRef', targetAspects: ['domain-plan.resource'] },\n /* What asked for it — five of the targets a build task's `servesRefs` addresses (a task also names constraints, pricing plans and the brand). */\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n nonEdgeRefFields: {\n reusesComponentRefs: \"engine PRESET component refs — the framework's own catalogue, not a decided element of this application\",\n },\n },\n {\n key: 'experience-plan.configuration',\n snapshotPath: 'configurations',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceConfigurationPlanSchema,\n businessKey: 'surface',\n headlineField: 'rationale',\n edges: [],\n nonEdgeRefFields: {\n declarationRefs: 'the named things the configuration file gains — a sidebar section, a zone, a token, or (SHELL_LAYOUT) the one layout constant, of the BUILT application',\n },\n },\n {\n key: 'experience-plan.milestone',\n snapshotPath: 'milestones',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceMilestonePlanSchema,\n businessKey: 'milestoneRef',\n headlineField: 'purpose',\n edges: [\n /* The module that declares it, and the resource whose operation earns it. */\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n { field: 'triggerResourceRef', targetAspects: ['domain-plan.resource'] },\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n },\n {\n key: 'experience-plan.guidance',\n snapshotPath: 'guidance',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceGuidancePlanSchema,\n businessKey: 'guidanceRef',\n headlineField: 'purpose',\n edges: [\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n /* The milestones a person must hold first — the link that makes the journey readable as one path. */\n { field: 'gatedByMilestoneRefs', targetAspects: ['experience-plan.milestone'] },\n /*\n * The view that embeds a document, one this plan plans (#2556). The plan is the application's complete view\n * inventory, restated in full, so a view the application keeps is one it plans. A document whose host is not\n * planned is DROPPED when the plan lands and reported, never the reason the whole plan is refused: it is optional\n * to everything else the plan decides. The generation loop tells the model first, on every attempt but the last.\n */\n { field: 'hostViewRef', targetAspects: ['experience-plan.view'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n },\n {\n /*\n * What a person sees first (#2502 review F3): one per plan, absent when none is decided. Its refs are followed like\n * every other: a VIEW home's view in this plan, a RESOURCE_OPERATION home's module and resource in the domain plan,\n * so a home naming a resource the domain plan dropped is a dangling reference on the graph.\n *\n * Each edge DROPS the home rather than refusing the plan (re-review N1): the home is optional to everything else the\n * plan decides, and refusing would cost its views, configurations, milestones and guidance over one ref (#2556). The\n * plan then lands without a home and the validator reports NO_HOME.\n */\n key: 'experience-plan.home',\n snapshotPath: 'home',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: ExperienceHomePlanSchema,\n headlineField: 'rationale',\n edges: [\n { field: 'viewRef', targetAspects: ['experience-plan.view'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },\n { field: 'moduleRef', targetAspects: ['domain-plan.module'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },\n { field: 'resourceRef', targetAspects: ['domain-plan.resource'], unresolvedRef: FamilyAspectUnresolvedRefTreatment.DROP_ITEM },\n ],\n },\n ],\n};\n"]}