@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,23 +1,32 @@
1
1
  import { z } from 'zod';
2
2
  import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
3
- import { WEBSITE_PAGE_REF_PREFIX, WebsitePlanDisposition, WebsitePlanSchema, WebsitePlanVersion, WebsiteSectionPlanSchema, } from './website-plan.schemas.js';
4
- const SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
3
+ import { WEBSITE_HOME_PAGE_REF, WEBSITE_HOME_PAGE_SLUG, WEBSITE_IDENTIFIER_PATTERN_SOURCE, WEBSITE_PAGE_REF_PREFIX, WEBSITE_PAGE_SLUG_MAX_LENGTH, WebsitePlanDisposition, WebsitePlanSchema, WebsitePageKind, WebsitePlanVersion, WebsiteSectionPlanSchema, WebsiteSolutionAxis, } from './website-plan.schemas.js';
4
+ /** The rule the stored plan holds (`WEBSITE_IDENTIFIER_PATTERN_SOURCE`); the length is checked on the stamped form below. */
5
+ const SlugSchema = z.string().regex(new RegExp(`^${WEBSITE_IDENTIFIER_PATTERN_SOURCE}$`));
5
6
  const NonEmptyStringSchema = z.string().trim().min(1);
6
7
  /**
7
8
  * Strict provider-facing page. The provider supplies a stable semantic slug; the trusted runtime
8
9
  * stamps the canonical page-ref prefix and the payload version.
9
10
  *
10
- * No path, component name, label key or CSS is representable here — by construction, not by
11
- * instruction. The plan decides WHAT each page says and in which order; the coding agent that
12
- * authors `website/src/pages-impl/<page>.page.tsx` decides HOW, guided by the `website-page-authoring`
13
- * skill and, per section, by the skill that section's KIND names.
11
+ * No path, file, label key or CSS is representable here — by construction, not by instruction. A page's ROUTE is
12
+ * derived from its kind and slug (`websitePageRoutePath`), never authored. The plan decides WHAT each page says and in
13
+ * which order, and its DESIGN in the engine's own vocabulary: which block builds each section, its layout, its surface,
14
+ * what its product demo shows, and the page's signature section (#2742 step 5c). Those name blocks of the website
15
+ * engine, never something the application writes; the coding agent that authors the section builds the named block,
16
+ * guided by the skill the section's KIND names.
14
17
  */
15
18
  export const WebsitePageGenerationSchema = z.strictObject({
16
19
  slug: SlugSchema,
20
+ /** The page's kind: its route and its menu placement follow from it, so the provider never names either. */
21
+ kind: z.enum(WebsitePageKind),
22
+ /** For a SOLUTION page only: how it cuts its audience. */
23
+ solutionAxis: z.enum(WebsiteSolutionAxis).optional(),
17
24
  purpose: NonEmptyStringSchema,
18
25
  audienceIcpRefs: z.array(NonEmptyStringSchema).default([]),
19
26
  toneOfVoiceRef: NonEmptyStringSchema.optional(),
20
27
  sections: z.array(WebsiteSectionPlanSchema).min(1),
28
+ /** The section a visitor remembers the page by: one of this page's own section refs. */
29
+ signatureSectionRef: SlugSchema.optional(),
21
30
  });
22
31
  /** One complete provider response for the website-plan family. */
23
32
  export const WebsitePlanGenerationSchema = z.strictObject({
@@ -33,7 +42,23 @@ export const WebsitePlanGenerationSchema = z.strictObject({
33
42
  const pageRef = applyFamilyRefPrefix(page.slug, WEBSITE_PAGE_REF_PREFIX);
34
43
  if (seen.has(pageRef))
35
44
  context.addIssue({ code: 'custom', message: `duplicate page slug "${page.slug}" (normalizes to "${pageRef}")`, path: ['pages', index, 'slug'] });
45
+ // Measured on the stamped form: a slug the provider wrote with its `page-` prefix is the same page.
46
+ if (pageRef.length - WEBSITE_PAGE_REF_PREFIX.length > WEBSITE_PAGE_SLUG_MAX_LENGTH) {
47
+ context.addIssue({
48
+ code: 'custom',
49
+ message: `page slug "${page.slug}" is longer than ${WEBSITE_PAGE_SLUG_MAX_LENGTH} characters; it becomes a menu ref, which allows no more`,
50
+ path: ['pages', index, 'slug'],
51
+ });
52
+ }
36
53
  seen.add(pageRef);
54
+ // The same rule the stored plan holds (`WebsitePlanSchema`), reported here on the slug the model authored.
55
+ if (page.kind === WebsitePageKind.HOME && pageRef !== WEBSITE_HOME_PAGE_REF) {
56
+ context.addIssue({
57
+ code: 'custom',
58
+ message: `the HOME page's slug is "${WEBSITE_HOME_PAGE_SLUG}" — the scaffold's starter page at "/", which the home page grows rather than replaces; got "${page.slug}"`,
59
+ path: ['pages', index, 'slug'],
60
+ });
61
+ }
37
62
  });
38
63
  });
39
64
  /** Normalize strict provider output into the persisted family (stamping refs and version). */
@@ -45,10 +70,13 @@ export function parseWebsitePlanGeneration(input) {
45
70
  rationale: generated.rationale,
46
71
  pages: generated.pages.map((page) => ({
47
72
  pageRef: applyFamilyRefPrefix(page.slug, WEBSITE_PAGE_REF_PREFIX),
73
+ kind: page.kind,
74
+ ...(page.solutionAxis === undefined ? {} : { solutionAxis: page.solutionAxis }),
48
75
  purpose: page.purpose,
49
76
  audienceIcpRefs: page.audienceIcpRefs,
50
77
  ...(page.toneOfVoiceRef === undefined ? {} : { toneOfVoiceRef: page.toneOfVoiceRef }),
51
78
  sections: page.sections,
79
+ ...(page.signatureSectionRef === undefined ? {} : { signatureSectionRef: page.signatureSectionRef }),
52
80
  })),
53
81
  });
54
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"website-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,GAEzB,MAAM,wBAAwB,CAAC;AAEhC,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;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,YAAY,CAAC;IACxD,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,oBAAoB;IAC7B,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,O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,CAAC,KAAK,CAAC;QAC7B,OAAO,EAAE,kBAAkB,CAAC,EAAE;QAC9B,WAAW,EAAE,SAAS,CAAC,WAAW;QAClC,SAAS,EAAE,SAAS,CAAC,SAAS;QAC9B,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACpC,OAAO,EAAE,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,uBAAuB,CAAC;YACjE,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,GAAG,CAAC,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC;YACrF,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n WEBSITE_PAGE_REF_PREFIX,\n WebsitePlanDisposition,\n WebsitePlanSchema,\n WebsitePlanVersion,\n WebsiteSectionPlanSchema,\n type WebsitePlan,\n} from './website-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 page. The provider supplies a stable semantic slug; the trusted runtime\n * stamps the canonical page-ref prefix and the payload version.\n *\n * No path, component name, label key or CSS is representable here — by construction, not by\n * instruction. The plan decides WHAT each page says and in which order; the coding agent that\n * authors `website/src/pages-impl/<page>.page.tsx` decides HOW, guided by the `website-page-authoring`\n * skill and, per section, by the skill that section's KIND names.\n */\nexport const WebsitePageGenerationSchema = z.strictObject({\n slug: SlugSchema,\n purpose: NonEmptyStringSchema,\n audienceIcpRefs: z.array(NonEmptyStringSchema).default([]),\n toneOfVoiceRef: NonEmptyStringSchema.optional(),\n sections: z.array(WebsiteSectionPlanSchema).min(1),\n});\nexport type WebsitePageGeneration = z.infer<typeof WebsitePageGenerationSchema>;\n\n/** One complete provider response for the website-plan family. */\nexport const WebsitePlanGenerationSchema = z.strictObject({\n disposition: z.enum(WebsitePlanDisposition),\n rationale: NonEmptyStringSchema,\n pages: z.array(WebsitePageGenerationSchema).default([]),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `pricing` and `page-pricing` are two distinct slugs that both become `page-pricing`,\n // and two pages sharing one ref make every task the build lane emits for them ambiguous.\n const seen = new Set<string>();\n generated.pages.forEach((page, index) => {\n const pageRef = applyFamilyRefPrefix(page.slug, WEBSITE_PAGE_REF_PREFIX);\n if (seen.has(pageRef)) context.addIssue({ code: 'custom', message: `duplicate page slug \"${page.slug}\" (normalizes to \"${pageRef}\")`, path: ['pages', index, 'slug'] });\n seen.add(pageRef);\n });\n});\nexport type WebsitePlanGeneration = z.infer<typeof WebsitePlanGenerationSchema>;\n\n/** Normalize strict provider output into the persisted family (stamping refs and version). */\nexport function parseWebsitePlanGeneration(input: unknown): WebsitePlan {\n const generated = WebsitePlanGenerationSchema.parse(input);\n return WebsitePlanSchema.parse({\n version: WebsitePlanVersion.V1,\n disposition: generated.disposition,\n rationale: generated.rationale,\n pages: generated.pages.map((page) => ({\n pageRef: applyFamilyRefPrefix(page.slug, WEBSITE_PAGE_REF_PREFIX),\n purpose: page.purpose,\n audienceIcpRefs: page.audienceIcpRefs,\n ...(page.toneOfVoiceRef === undefined ? {} : { toneOfVoiceRef: page.toneOfVoiceRef }),\n sections: page.sections,\n })),\n });\n}\n"]}
1
+ {"version":3,"file":"website-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAo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n\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n WEBSITE_HOME_PAGE_REF,\n WEBSITE_HOME_PAGE_SLUG,\n WEBSITE_IDENTIFIER_PATTERN_SOURCE,\n WEBSITE_PAGE_REF_PREFIX,\n WEBSITE_PAGE_SLUG_MAX_LENGTH,\n WebsitePlanDisposition,\n WebsitePlanSchema,\n WebsitePageKind,\n WebsitePlanVersion,\n WebsiteSectionPlanSchema,\n WebsiteSolutionAxis,\n type WebsitePlan,\n} from './website-plan.schemas';\n\n/** The rule the stored plan holds (`WEBSITE_IDENTIFIER_PATTERN_SOURCE`); the length is checked on the stamped form below. */\nconst SlugSchema = z.string().regex(new RegExp(`^${WEBSITE_IDENTIFIER_PATTERN_SOURCE}$`));\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Strict provider-facing page. The provider supplies a stable semantic slug; the trusted runtime\n * stamps the canonical page-ref prefix and the payload version.\n *\n * No path, file, label key or CSS is representable here — by construction, not by instruction. A page's ROUTE is\n * derived from its kind and slug (`websitePageRoutePath`), never authored. The plan decides WHAT each page says and in\n * which order, and its DESIGN in the engine's own vocabulary: which block builds each section, its layout, its surface,\n * what its product demo shows, and the page's signature section (#2742 step 5c). Those name blocks of the website\n * engine, never something the application writes; the coding agent that authors the section builds the named block,\n * guided by the skill the section's KIND names.\n */\nexport const WebsitePageGenerationSchema = z.strictObject({\n slug: SlugSchema,\n /** The page's kind: its route and its menu placement follow from it, so the provider never names either. */\n kind: z.enum(WebsitePageKind),\n /** For a SOLUTION page only: how it cuts its audience. */\n solutionAxis: z.enum(WebsiteSolutionAxis).optional(),\n purpose: NonEmptyStringSchema,\n audienceIcpRefs: z.array(NonEmptyStringSchema).default([]),\n toneOfVoiceRef: NonEmptyStringSchema.optional(),\n sections: z.array(WebsiteSectionPlanSchema).min(1),\n /** The section a visitor remembers the page by: one of this page's own section refs. */\n signatureSectionRef: SlugSchema.optional(),\n});\nexport type WebsitePageGeneration = z.infer<typeof WebsitePageGenerationSchema>;\n\n/** One complete provider response for the website-plan family. */\nexport const WebsitePlanGenerationSchema = z.strictObject({\n disposition: z.enum(WebsitePlanDisposition),\n rationale: NonEmptyStringSchema,\n pages: z.array(WebsitePageGenerationSchema).default([]),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `pricing` and `page-pricing` are two distinct slugs that both become `page-pricing`,\n // and two pages sharing one ref make every task the build lane emits for them ambiguous.\n const seen = new Set<string>();\n generated.pages.forEach((page, index) => {\n const pageRef = applyFamilyRefPrefix(page.slug, WEBSITE_PAGE_REF_PREFIX);\n if (seen.has(pageRef)) context.addIssue({ code: 'custom', message: `duplicate page slug \"${page.slug}\" (normalizes to \"${pageRef}\")`, path: ['pages', index, 'slug'] });\n // Measured on the stamped form: a slug the provider wrote with its `page-` prefix is the same page.\n if (pageRef.length - WEBSITE_PAGE_REF_PREFIX.length > WEBSITE_PAGE_SLUG_MAX_LENGTH) {\n context.addIssue({\n code: 'custom',\n message: `page slug \"${page.slug}\" is longer than ${WEBSITE_PAGE_SLUG_MAX_LENGTH} characters; it becomes a menu ref, which allows no more`,\n path: ['pages', index, 'slug'],\n });\n }\n seen.add(pageRef);\n // The same rule the stored plan holds (`WebsitePlanSchema`), reported here on the slug the model authored.\n if (page.kind === WebsitePageKind.HOME && pageRef !== WEBSITE_HOME_PAGE_REF) {\n context.addIssue({\n code: 'custom',\n message: `the HOME page's slug is \"${WEBSITE_HOME_PAGE_SLUG}\" — the scaffold's starter page at \"/\", which the home page grows rather than replaces; got \"${page.slug}\"`,\n path: ['pages', index, 'slug'],\n });\n }\n });\n});\nexport type WebsitePlanGeneration = z.infer<typeof WebsitePlanGenerationSchema>;\n\n/** Normalize strict provider output into the persisted family (stamping refs and version). */\nexport function parseWebsitePlanGeneration(input: unknown): WebsitePlan {\n const generated = WebsitePlanGenerationSchema.parse(input);\n return WebsitePlanSchema.parse({\n version: WebsitePlanVersion.V1,\n disposition: generated.disposition,\n rationale: generated.rationale,\n pages: generated.pages.map((page) => ({\n pageRef: applyFamilyRefPrefix(page.slug, WEBSITE_PAGE_REF_PREFIX),\n kind: page.kind,\n ...(page.solutionAxis === undefined ? {} : { solutionAxis: page.solutionAxis }),\n purpose: page.purpose,\n audienceIcpRefs: page.audienceIcpRefs,\n ...(page.toneOfVoiceRef === undefined ? {} : { toneOfVoiceRef: page.toneOfVoiceRef }),\n sections: page.sections,\n ...(page.signatureSectionRef === undefined ? {} : { signatureSectionRef: page.signatureSectionRef }),\n })),\n });\n}\n"]}
@@ -1,14 +1,39 @@
1
1
  import { type WebsitePlan } from './website-plan.schemas';
2
2
  /** Deterministic finding over a website plan; authoring coherence beyond structural validity. */
3
3
  export declare enum WebsitePlanFindingCode {
4
- /** The site has no page whose sections open with a HERO — no page reads as the one a visitor lands on. */
4
+ /** The site has no HOME page — nothing answers at `/`, the origin every canonical URL derives from. */
5
5
  NO_LANDING_PAGE = "NO_LANDING_PAGE",
6
+ /**
7
+ * A page lacks a section its KIND cannot do without (`WEBSITE_PAGE_KIND_ESSENTIALS`): a product page that never
8
+ * shows how the product works, a solution page that never names the problem, a page with no next step.
9
+ */
10
+ PAGE_MISSES_KIND_ESSENTIAL = "PAGE_MISSES_KIND_ESSENTIAL",
11
+ /** A SOLUTION page that names no audience: a page "for" nobody in particular is a features page in disguise. */
12
+ SOLUTION_PAGE_NAMES_NO_AUDIENCE = "SOLUTION_PAGE_NAMES_NO_AUDIENCE",
13
+ /** Three or more PRODUCT pages and no PRODUCT_OVERVIEW: the Product panel has nothing to say "see all" with. */
14
+ PRODUCT_PAGES_WITHOUT_OVERVIEW = "PRODUCT_PAGES_WITHOUT_OVERVIEW",
15
+ /** Two or more SOLUTION pages that the home page routes nobody to (no SOLUTION_PATHS section on HOME). */
16
+ SOLUTIONS_UNREACHABLE_FROM_HOME = "SOLUTIONS_UNREACHABLE_FROM_HOME",
6
17
  /** A page whose FIRST section is not a HERO: the page opens on detail, with no promise above it. */
7
18
  PAGE_DOES_NOT_OPEN_ON_A_HERO = "PAGE_DOES_NOT_OPEN_ON_A_HERO",
8
19
  /** A page whose sections name no market entry at all — written from nothing the market pass authored. */
9
20
  PAGE_DRAWS_ON_NO_MARKET_ENTRY = "PAGE_DRAWS_ON_NO_MARKET_ENTRY",
10
21
  /** A page carrying the same section kind more than twice — a shape that reads as filler. */
11
- SECTION_KIND_REPEATED = "SECTION_KIND_REPEATED"
22
+ SECTION_KIND_REPEATED = "SECTION_KIND_REPEATED",
23
+ /**
24
+ * A section whose kind states a capability (`WEBSITE_SECTION_KIND_CLAIMS_CAPABILITY`) that names no requirement
25
+ * (#2507): it says what the product does with nothing that
26
+ * commits the product to it. Not a floor: the build brief tells the section's author to describe no capability as
27
+ * available, so the page still ships true.
28
+ */
29
+ CAPABILITY_CLAIM_UNBACKED = "CAPABILITY_CLAIM_UNBACKED",
30
+ /**
31
+ * A product showcase or feature detail whose block holds a drawing of the product, and whose plan says nothing about
32
+ * what it shows (`demo`): the section that is meant to show the product working is left to be invented at build.
33
+ */
34
+ PRODUCT_SECTION_WITHOUT_DEMO = "PRODUCT_SECTION_WITHOUT_DEMO",
35
+ /** A page standing more than one section on the BRAND surface: the loudest band, meant once, stops being loud. */
36
+ BRAND_TONE_REPEATED = "BRAND_TONE_REPEATED"
12
37
  }
13
38
  export interface WebsitePlanFinding {
14
39
  readonly code: WebsitePlanFindingCode;
@@ -21,7 +46,8 @@ export interface WebsitePlanFinding {
21
46
  * ONE member, and the reason is the same one `PLACEMENT_PLAN_HARD_FLOOR_CODES` gives: a floor is for
22
47
  * a plan that cannot be USED, never for one whose taste is arguable. A site with no landing page is
23
48
  * a site with no entry point — every canonical origin the website config derives points at `/`, and
24
- * a plan that never authors it produces a 404 as the product's front door.
49
+ * a plan that never authors it produces a 404 as the product's front door. Since page kinds (2026-10-05), "the
50
+ * landing page" is the page of kind HOME: one that merely opens on a HERO is no longer mistaken for it.
25
51
  *
26
52
  * Everything else is authoring judgement the creator's `approve_result` review owns: a page that
27
53
  * opens on detail may be a deliberate deep-link target, and a repeated section kind may be two
@@ -1 +1 @@
1
- {"version":3,"file":"website-plan-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,wBAAwB,CAAC;AAEhC,iGAAiG;AACjG,oBAAY,sBAAsB;IAChC,0GAA0G;IAC1G,eAAe,oBAAoB;IACnC,oGAAoG;IACpG,4BAA4B,iCAAiC;IAC7D,yGAAyG;IACzG,6BAA6B,kCAAkC;IAC/D,4FAA4F;IAC5F,qBAAqB,0BAA0B;CAChD;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,sBAAsB,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,6BAA6B,EAAE,SAAS,sBAAsB,EAE1E,CAAC;AAKF;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,kBAAkB,EAAE,CAqCpF"}
1
+ {"version":3,"file":"website-plan-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,WAAW,EACjB,MAAM,wBAAwB,CAAC;AAEhC,iGAAiG;AACjG,oBAAY,sBAAsB;IAChC,uGAAuG;IACvG,eAAe,oBAAoB;IACnC;;;OAGG;IACH,0BAA0B,+BAA+B;IACzD,gHAAgH;IAChH,+BAA+B,oCAAoC;IACnE,gHAAgH;IAChH,8BAA8B,mCAAmC;IACjE,0GAA0G;IAC1G,+BAA+B,oCAAoC;IACnE,oGAAoG;IACpG,4BAA4B,iCAAiC;IAC7D,yGAAyG;IACzG,6BAA6B,kCAAkC;IAC/D,4FAA4F;IAC5F,qBAAqB,0BAA0B;IAC/C;;;;;OAKG;IACH,yBAAyB,8BAA8B;IACvD;;;OAGG;IACH,4BAA4B,iCAAiC;IAC7D,kHAAkH;IAClH,mBAAmB,wBAAwB;CAC5C;AAKD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,sBAAsB,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,6BAA6B,EAAE,SAAS,sBAAsB,EAE1E,CAAC;AAQF;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,kBAAkB,EAAE,CA+FpF"}
@@ -1,23 +1,51 @@
1
- import { WebsitePlanDisposition, WebsiteSectionKind, } from './website-plan.schemas.js';
1
+ import { WEBSITE_PAGE_KIND_ESSENTIALS, WEBSITE_SECTION_COMPONENTS_WITH_DEMO, websiteSectionComponent, WebsiteSectionTone, WebsitePageKind, WEBSITE_SECTION_KIND_CLAIMS_CAPABILITY, WebsitePlanDisposition, WebsiteSectionKind, } from './website-plan.schemas.js';
2
2
  /** Deterministic finding over a website plan; authoring coherence beyond structural validity. */
3
3
  export var WebsitePlanFindingCode;
4
4
  (function (WebsitePlanFindingCode) {
5
- /** The site has no page whose sections open with a HERO — no page reads as the one a visitor lands on. */
5
+ /** The site has no HOME page — nothing answers at `/`, the origin every canonical URL derives from. */
6
6
  WebsitePlanFindingCode["NO_LANDING_PAGE"] = "NO_LANDING_PAGE";
7
+ /**
8
+ * A page lacks a section its KIND cannot do without (`WEBSITE_PAGE_KIND_ESSENTIALS`): a product page that never
9
+ * shows how the product works, a solution page that never names the problem, a page with no next step.
10
+ */
11
+ WebsitePlanFindingCode["PAGE_MISSES_KIND_ESSENTIAL"] = "PAGE_MISSES_KIND_ESSENTIAL";
12
+ /** A SOLUTION page that names no audience: a page "for" nobody in particular is a features page in disguise. */
13
+ WebsitePlanFindingCode["SOLUTION_PAGE_NAMES_NO_AUDIENCE"] = "SOLUTION_PAGE_NAMES_NO_AUDIENCE";
14
+ /** Three or more PRODUCT pages and no PRODUCT_OVERVIEW: the Product panel has nothing to say "see all" with. */
15
+ WebsitePlanFindingCode["PRODUCT_PAGES_WITHOUT_OVERVIEW"] = "PRODUCT_PAGES_WITHOUT_OVERVIEW";
16
+ /** Two or more SOLUTION pages that the home page routes nobody to (no SOLUTION_PATHS section on HOME). */
17
+ WebsitePlanFindingCode["SOLUTIONS_UNREACHABLE_FROM_HOME"] = "SOLUTIONS_UNREACHABLE_FROM_HOME";
7
18
  /** A page whose FIRST section is not a HERO: the page opens on detail, with no promise above it. */
8
19
  WebsitePlanFindingCode["PAGE_DOES_NOT_OPEN_ON_A_HERO"] = "PAGE_DOES_NOT_OPEN_ON_A_HERO";
9
20
  /** A page whose sections name no market entry at all — written from nothing the market pass authored. */
10
21
  WebsitePlanFindingCode["PAGE_DRAWS_ON_NO_MARKET_ENTRY"] = "PAGE_DRAWS_ON_NO_MARKET_ENTRY";
11
22
  /** A page carrying the same section kind more than twice — a shape that reads as filler. */
12
23
  WebsitePlanFindingCode["SECTION_KIND_REPEATED"] = "SECTION_KIND_REPEATED";
24
+ /**
25
+ * A section whose kind states a capability (`WEBSITE_SECTION_KIND_CLAIMS_CAPABILITY`) that names no requirement
26
+ * (#2507): it says what the product does with nothing that
27
+ * commits the product to it. Not a floor: the build brief tells the section's author to describe no capability as
28
+ * available, so the page still ships true.
29
+ */
30
+ WebsitePlanFindingCode["CAPABILITY_CLAIM_UNBACKED"] = "CAPABILITY_CLAIM_UNBACKED";
31
+ /**
32
+ * A product showcase or feature detail whose block holds a drawing of the product, and whose plan says nothing about
33
+ * what it shows (`demo`): the section that is meant to show the product working is left to be invented at build.
34
+ */
35
+ WebsitePlanFindingCode["PRODUCT_SECTION_WITHOUT_DEMO"] = "PRODUCT_SECTION_WITHOUT_DEMO";
36
+ /** A page standing more than one section on the BRAND surface: the loudest band, meant once, stops being loud. */
37
+ WebsitePlanFindingCode["BRAND_TONE_REPEATED"] = "BRAND_TONE_REPEATED";
13
38
  })(WebsitePlanFindingCode || (WebsitePlanFindingCode = {}));
39
+ /** The section kinds whose job is to show the product working, so their drawing is planned, not improvised. */
40
+ const PRODUCT_SECTION_KINDS = new Set([WebsiteSectionKind.PRODUCT_SHOWCASE, WebsiteSectionKind.FEATURE_DETAIL]);
14
41
  /**
15
42
  * The finding codes that must block a landing; everything else is an authoring warning.
16
43
  *
17
44
  * ONE member, and the reason is the same one `PLACEMENT_PLAN_HARD_FLOOR_CODES` gives: a floor is for
18
45
  * a plan that cannot be USED, never for one whose taste is arguable. A site with no landing page is
19
46
  * a site with no entry point — every canonical origin the website config derives points at `/`, and
20
- * a plan that never authors it produces a 404 as the product's front door.
47
+ * a plan that never authors it produces a 404 as the product's front door. Since page kinds (2026-10-05), "the
48
+ * landing page" is the page of kind HOME: one that merely opens on a HERO is no longer mistaken for it.
21
49
  *
22
50
  * Everything else is authoring judgement the creator's `approve_result` review owns: a page that
23
51
  * opens on detail may be a deliberate deep-link target, and a repeated section kind may be two
@@ -28,6 +56,8 @@ export const WEBSITE_PLAN_HARD_FLOOR_CODES = [
28
56
  ];
29
57
  /** How many times one section kind may appear on one page before it reads as filler. */
30
58
  const SECTION_KIND_REPEAT_CEILING = 2;
59
+ /** From this many PRODUCT pages on, the product needs an overview page of its own. */
60
+ const PRODUCT_OVERVIEW_THRESHOLD = 3;
31
61
  /**
32
62
  * Every finding over a plan. A NOT_APPLICABLE plan is checked for nothing: it carries no page by
33
63
  * construction (the schema refuses one), and "this application has no website" is a complete,
@@ -37,14 +67,48 @@ export function validateWebsitePlan(plan) {
37
67
  if (plan.disposition === WebsitePlanDisposition.NOT_APPLICABLE)
38
68
  return [];
39
69
  const findings = [];
40
- if (!plan.pages.some((page) => page.sections[0]?.kind === WebsiteSectionKind.HERO)) {
70
+ if (!plan.pages.some((page) => page.kind === WebsitePageKind.HOME)) {
41
71
  findings.push({
42
72
  code: WebsitePlanFindingCode.NO_LANDING_PAGE,
43
73
  pageRef: null,
44
- message: 'No page opens on a HERO, so the site has no landing page — the origin every canonical URL derives from would answer nothing.',
74
+ message: 'No page is the HOME page, so nothing answers at "/" — the origin every canonical URL derives from would answer nothing.',
75
+ });
76
+ }
77
+ const productPages = plan.pages.filter((page) => page.kind === WebsitePageKind.PRODUCT);
78
+ if (productPages.length >= PRODUCT_OVERVIEW_THRESHOLD && !plan.pages.some((page) => page.kind === WebsitePageKind.PRODUCT_OVERVIEW)) {
79
+ findings.push({
80
+ code: WebsitePlanFindingCode.PRODUCT_PAGES_WITHOUT_OVERVIEW,
81
+ pageRef: null,
82
+ message: `${productPages.length} PRODUCT pages and no PRODUCT_OVERVIEW: a visitor who wants the whole product has no page that shows it, and the Product panel no overview to link.`,
83
+ });
84
+ }
85
+ const solutionPages = plan.pages.filter((page) => page.kind === WebsitePageKind.SOLUTION);
86
+ const home = plan.pages.find((page) => page.kind === WebsitePageKind.HOME);
87
+ if (solutionPages.length >= 2 && home !== undefined && !home.sections.some((section) => section.kind === WebsiteSectionKind.SOLUTION_PATHS)) {
88
+ findings.push({
89
+ code: WebsitePlanFindingCode.SOLUTIONS_UNREACHABLE_FROM_HOME,
90
+ pageRef: home.pageRef,
91
+ message: `${solutionPages.length} SOLUTION pages, and the home page carries no SOLUTION_PATHS section to route each audience to the page written for it.`,
45
92
  });
46
93
  }
47
94
  for (const page of plan.pages) {
95
+ const kinds = new Set(page.sections.map((section) => section.kind));
96
+ for (const alternatives of WEBSITE_PAGE_KIND_ESSENTIALS[page.kind]) {
97
+ if (alternatives.some((kind) => kinds.has(kind)))
98
+ continue;
99
+ findings.push({
100
+ code: WebsitePlanFindingCode.PAGE_MISSES_KIND_ESSENTIAL,
101
+ pageRef: page.pageRef,
102
+ message: `${page.kind} page "${page.pageRef}" carries none of ${alternatives.join(' / ')}, which a ${page.kind} page cannot do without.`,
103
+ });
104
+ }
105
+ if (page.kind === WebsitePageKind.SOLUTION && page.audienceIcpRefs.length === 0) {
106
+ findings.push({
107
+ code: WebsitePlanFindingCode.SOLUTION_PAGE_NAMES_NO_AUDIENCE,
108
+ pageRef: page.pageRef,
109
+ message: `SOLUTION page "${page.pageRef}" names no ICP in audienceIcpRefs — a solution page is the product seen from ONE audience's problem.`,
110
+ });
111
+ }
48
112
  if (page.sections[0]?.kind !== WebsiteSectionKind.HERO) {
49
113
  findings.push({
50
114
  code: WebsitePlanFindingCode.PAGE_DOES_NOT_OPEN_ON_A_HERO,
@@ -59,6 +123,34 @@ export function validateWebsitePlan(plan) {
59
123
  message: `Page "${page.pageRef}" names no market entry on any section — nothing on it can be checked against the market snapshot.`,
60
124
  });
61
125
  }
126
+ for (const section of page.sections) {
127
+ if (!WEBSITE_SECTION_KIND_CLAIMS_CAPABILITY[section.kind] || section.backedByRequirementRefs.length > 0)
128
+ continue;
129
+ findings.push({
130
+ code: WebsitePlanFindingCode.CAPABILITY_CLAIM_UNBACKED,
131
+ pageRef: page.pageRef,
132
+ message: `Section "${section.sectionRef}" on "${page.pageRef}" is a ${section.kind} that names no requirement, so nothing commits the product to what it describes. Cite the requirement it rests on, or describe the capability as planned.`,
133
+ });
134
+ }
135
+ for (const section of page.sections) {
136
+ if (!PRODUCT_SECTION_KINDS.has(section.kind) || section.demo !== undefined)
137
+ continue;
138
+ if (!WEBSITE_SECTION_COMPONENTS_WITH_DEMO.includes(websiteSectionComponent(section)))
139
+ continue;
140
+ findings.push({
141
+ code: WebsitePlanFindingCode.PRODUCT_SECTION_WITHOUT_DEMO,
142
+ pageRef: page.pageRef,
143
+ message: `Section "${section.sectionRef}" on "${page.pageRef}" is a ${section.kind} drawn as a ${websiteSectionComponent(section)} with no demo: say what its drawing shows (the archetype, the resource it is drawn from, the moment).`,
144
+ });
145
+ }
146
+ const brandSections = page.sections.filter((section) => section.tone === WebsiteSectionTone.BRAND);
147
+ if (brandSections.length > 1) {
148
+ findings.push({
149
+ code: WebsitePlanFindingCode.BRAND_TONE_REPEATED,
150
+ pageRef: page.pageRef,
151
+ message: `Page "${page.pageRef}" stands ${brandSections.length} sections on the BRAND surface (${brandSections.map((section) => section.sectionRef).join(', ')}); the loudest band is meant once a page.`,
152
+ });
153
+ }
62
154
  const countByKind = new Map();
63
155
  for (const section of page.sections)
64
156
  countByKind.set(section.kind, (countByKind.get(section.kind) ?? 0) + 1);
@@ -1 +1 @@
1
- {"version":3,"file":"website-plan-validation.js","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,kBAAkB,GAEnB,MAAM,wBAAwB,CAAC;AAEhC,iGAAiG;AACjG,MAAM,CAAN,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,0GAA0G;IAC1G,6DAAmC,CAAA;IACnC,oGAAoG;IACpG,uFAA6D,CAAA;IAC7D,yGAAyG;IACzG,yFAA+D,CAAA;IAC/D,4FAA4F;IAC5F,yEAA+C,CAAA;AACjD,CAAC,EATW,sBAAsB,KAAtB,sBAAsB,QASjC;AAQD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAsC;IAC9E,sBAAsB,CAAC,eAAe;CACvC,CAAC;AAEF,wFAAwF;AACxF,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAEtC;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,IAAiB;IACnD,IAAI,IAAI,CAAC,WAAW,KAAK,sBAAsB,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAC1E,MAAM,QAAQ,GAAyB,EAAE,CAAC;IAC1C,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;QAC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KAAK,IAAI,2BAA2B;gBAAE,SAAS;YACnD,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,sBAAsB,CAAC,qBAAqB;gBAClD,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,SAAS,IAAI,CAAC,OAAO,aAAa,KAAK,IAAI,IAAI,qBAAqB,2BAA2B,uDAAuD;aAChK,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import {\n WebsitePlanDisposition,\n WebsiteSectionKind,\n type WebsitePlan,\n} from './website-plan.schemas';\n\n/** Deterministic finding over a website plan; authoring coherence beyond structural validity. */\nexport enum WebsitePlanFindingCode {\n /** The site has no page whose sections open with a HERO — no page reads as the one a visitor lands on. */\n NO_LANDING_PAGE = 'NO_LANDING_PAGE',\n /** A page whose FIRST section is not a HERO: the page opens on detail, with no promise above it. */\n PAGE_DOES_NOT_OPEN_ON_A_HERO = 'PAGE_DOES_NOT_OPEN_ON_A_HERO',\n /** A page whose sections name no market entry at all — written from nothing the market pass authored. */\n PAGE_DRAWS_ON_NO_MARKET_ENTRY = 'PAGE_DRAWS_ON_NO_MARKET_ENTRY',\n /** A page carrying the same section kind more than twice — a shape that reads as filler. */\n SECTION_KIND_REPEATED = 'SECTION_KIND_REPEATED',\n}\n\nexport interface WebsitePlanFinding {\n readonly code: WebsitePlanFindingCode;\n readonly pageRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing; everything else is an authoring warning.\n *\n * ONE member, and the reason is the same one `PLACEMENT_PLAN_HARD_FLOOR_CODES` gives: a floor is for\n * a plan that cannot be USED, never for one whose taste is arguable. A site with no landing page is\n * a site with no entry point — every canonical origin the website config derives points at `/`, and\n * a plan that never authors it produces a 404 as the product's front door.\n *\n * Everything else is authoring judgement the creator's `approve_result` review owns: a page that\n * opens on detail may be a deliberate deep-link target, and a repeated section kind may be two\n * genuinely different feature details.\n */\nexport const WEBSITE_PLAN_HARD_FLOOR_CODES: readonly WebsitePlanFindingCode[] = [\n WebsitePlanFindingCode.NO_LANDING_PAGE,\n];\n\n/** How many times one section kind may appear on one page before it reads as filler. */\nconst SECTION_KIND_REPEAT_CEILING = 2;\n\n/**\n * Every finding over a plan. A NOT_APPLICABLE plan is checked for nothing: it carries no page by\n * construction (the schema refuses one), and \"this application has no website\" is a complete,\n * coherent statement rather than a plan with gaps.\n */\nexport function validateWebsitePlan(plan: WebsitePlan): readonly WebsitePlanFinding[] {\n if (plan.disposition === WebsitePlanDisposition.NOT_APPLICABLE) return [];\n const findings: WebsitePlanFinding[] = [];\n if (!plan.pages.some((page) => page.sections[0]?.kind === WebsiteSectionKind.HERO)) {\n findings.push({\n code: WebsitePlanFindingCode.NO_LANDING_PAGE,\n pageRef: null,\n message: 'No page opens on a HERO, so the site has no landing page — the origin every canonical URL derives from would answer nothing.',\n });\n }\n for (const page of plan.pages) {\n if (page.sections[0]?.kind !== WebsiteSectionKind.HERO) {\n findings.push({\n code: WebsitePlanFindingCode.PAGE_DOES_NOT_OPEN_ON_A_HERO,\n pageRef: page.pageRef,\n message: `Page \"${page.pageRef}\" opens on ${page.sections[0]?.kind ?? 'nothing'} rather than a HERO, so a visitor meets detail before a promise.`,\n });\n }\n if (page.sections.every((section) => section.drawsOnRefs.length === 0)) {\n findings.push({\n code: WebsitePlanFindingCode.PAGE_DRAWS_ON_NO_MARKET_ENTRY,\n pageRef: page.pageRef,\n message: `Page \"${page.pageRef}\" names no market entry on any section — nothing on it can be checked against the market snapshot.`,\n });\n }\n const countByKind = new Map<WebsiteSectionKind, number>();\n for (const section of page.sections) countByKind.set(section.kind, (countByKind.get(section.kind) ?? 0) + 1);\n for (const [kind, count] of countByKind) {\n if (count <= SECTION_KIND_REPEAT_CEILING) continue;\n findings.push({\n code: WebsitePlanFindingCode.SECTION_KIND_REPEATED,\n pageRef: page.pageRef,\n message: `Page \"${page.pageRef}\" carries ${count} ${kind} sections; beyond ${SECTION_KIND_REPEAT_CEILING} the page reads as filler rather than as an argument.`,\n });\n }\n }\n return findings;\n}\n"]}
1
+ {"version":3,"file":"website-plan-validation.js","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,oCAAoC,EACpC,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EACf,sCAAsC,EACtC,sBAAsB,EACtB,kBAAkB,GAEnB,MAAM,wBAAwB,CAAC;AAEhC,iGAAiG;AACjG,MAAM,CAAN,IAAY,sBAkCX;AAlCD,WAAY,sBAAsB;IAChC,uGAAuG;IACvG,6DAAmC,CAAA;IACnC;;;OAGG;IACH,mFAAyD,CAAA;IACzD,gHAAgH;IAChH,6FAAmE,CAAA;IACnE,gHAAgH;IAChH,2FAAiE,CAAA;IACjE,0GAA0G;IAC1G,6FAAmE,CAAA;IACnE,oGAAoG;IACpG,uFAA6D,CAAA;IAC7D,yGAAyG;IACzG,yFAA+D,CAAA;IAC/D,4FAA4F;IAC5F,yEAA+C,CAAA;IAC/C;;;;;OAKG;IACH,iFAAuD,CAAA;IACvD;;;OAGG;IACH,uFAA6D,CAAA;IAC7D,kHAAkH;IAClH,qEAA2C,CAAA;AAC7C,CAAC,EAlCW,sBAAsB,KAAtB,sBAAsB,QAkCjC;AAED,+GAA+G;AAC/G,MAAM,qBAAqB,GAAoC,IAAI,GAAG,CAAC,CAAC,kBAAkB,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC,CAAC;AAQjJ;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAsC;IAC9E,sBAAsB,CAAC,eAAe;CACvC,CAAC;AAEF,wFAAwF;AACxF,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAEtC,sFAAsF;AACtF,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAErC;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,IAAiB;IACnD,IAAI,IA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,IAAI,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7G,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,WAAW,EAAE,CAAC;YACxC,IAAI,KAAK,IAAI,2BAA2B;gBAAE,SAAS;YACnD,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,sBAAsB,CAAC,qBAAqB;gBAClD,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,SAAS,IAAI,CAAC,OAAO,aAAa,KAAK,IAAI,IAAI,qBAAqB,2BAA2B,uDAAuD;aAChK,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import {\n WEBSITE_PAGE_KIND_ESSENTIALS,\n WEBSITE_SECTION_COMPONENTS_WITH_DEMO,\n websiteSectionComponent,\n WebsiteSectionTone,\n WebsitePageKind,\n WEBSITE_SECTION_KIND_CLAIMS_CAPABILITY,\n WebsitePlanDisposition,\n WebsiteSectionKind,\n type WebsitePlan,\n} from './website-plan.schemas';\n\n/** Deterministic finding over a website plan; authoring coherence beyond structural validity. */\nexport enum WebsitePlanFindingCode {\n /** The site has no HOME page — nothing answers at `/`, the origin every canonical URL derives from. */\n NO_LANDING_PAGE = 'NO_LANDING_PAGE',\n /**\n * A page lacks a section its KIND cannot do without (`WEBSITE_PAGE_KIND_ESSENTIALS`): a product page that never\n * shows how the product works, a solution page that never names the problem, a page with no next step.\n */\n PAGE_MISSES_KIND_ESSENTIAL = 'PAGE_MISSES_KIND_ESSENTIAL',\n /** A SOLUTION page that names no audience: a page \"for\" nobody in particular is a features page in disguise. */\n SOLUTION_PAGE_NAMES_NO_AUDIENCE = 'SOLUTION_PAGE_NAMES_NO_AUDIENCE',\n /** Three or more PRODUCT pages and no PRODUCT_OVERVIEW: the Product panel has nothing to say \"see all\" with. */\n PRODUCT_PAGES_WITHOUT_OVERVIEW = 'PRODUCT_PAGES_WITHOUT_OVERVIEW',\n /** Two or more SOLUTION pages that the home page routes nobody to (no SOLUTION_PATHS section on HOME). */\n SOLUTIONS_UNREACHABLE_FROM_HOME = 'SOLUTIONS_UNREACHABLE_FROM_HOME',\n /** A page whose FIRST section is not a HERO: the page opens on detail, with no promise above it. */\n PAGE_DOES_NOT_OPEN_ON_A_HERO = 'PAGE_DOES_NOT_OPEN_ON_A_HERO',\n /** A page whose sections name no market entry at all — written from nothing the market pass authored. */\n PAGE_DRAWS_ON_NO_MARKET_ENTRY = 'PAGE_DRAWS_ON_NO_MARKET_ENTRY',\n /** A page carrying the same section kind more than twice — a shape that reads as filler. */\n SECTION_KIND_REPEATED = 'SECTION_KIND_REPEATED',\n /**\n * A section whose kind states a capability (`WEBSITE_SECTION_KIND_CLAIMS_CAPABILITY`) that names no requirement\n * (#2507): it says what the product does with nothing that\n * commits the product to it. Not a floor: the build brief tells the section's author to describe no capability as\n * available, so the page still ships true.\n */\n CAPABILITY_CLAIM_UNBACKED = 'CAPABILITY_CLAIM_UNBACKED',\n /**\n * A product showcase or feature detail whose block holds a drawing of the product, and whose plan says nothing about\n * what it shows (`demo`): the section that is meant to show the product working is left to be invented at build.\n */\n PRODUCT_SECTION_WITHOUT_DEMO = 'PRODUCT_SECTION_WITHOUT_DEMO',\n /** A page standing more than one section on the BRAND surface: the loudest band, meant once, stops being loud. */\n BRAND_TONE_REPEATED = 'BRAND_TONE_REPEATED',\n}\n\n/** The section kinds whose job is to show the product working, so their drawing is planned, not improvised. */\nconst PRODUCT_SECTION_KINDS: ReadonlySet<WebsiteSectionKind> = new Set([WebsiteSectionKind.PRODUCT_SHOWCASE, WebsiteSectionKind.FEATURE_DETAIL]);\n\nexport interface WebsitePlanFinding {\n readonly code: WebsitePlanFindingCode;\n readonly pageRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing; everything else is an authoring warning.\n *\n * ONE member, and the reason is the same one `PLACEMENT_PLAN_HARD_FLOOR_CODES` gives: a floor is for\n * a plan that cannot be USED, never for one whose taste is arguable. A site with no landing page is\n * a site with no entry point — every canonical origin the website config derives points at `/`, and\n * a plan that never authors it produces a 404 as the product's front door. Since page kinds (2026-10-05), \"the\n * landing page\" is the page of kind HOME: one that merely opens on a HERO is no longer mistaken for it.\n *\n * Everything else is authoring judgement the creator's `approve_result` review owns: a page that\n * opens on detail may be a deliberate deep-link target, and a repeated section kind may be two\n * genuinely different feature details.\n */\nexport const WEBSITE_PLAN_HARD_FLOOR_CODES: readonly WebsitePlanFindingCode[] = [\n WebsitePlanFindingCode.NO_LANDING_PAGE,\n];\n\n/** How many times one section kind may appear on one page before it reads as filler. */\nconst SECTION_KIND_REPEAT_CEILING = 2;\n\n/** From this many PRODUCT pages on, the product needs an overview page of its own. */\nconst PRODUCT_OVERVIEW_THRESHOLD = 3;\n\n/**\n * Every finding over a plan. A NOT_APPLICABLE plan is checked for nothing: it carries no page by\n * construction (the schema refuses one), and \"this application has no website\" is a complete,\n * coherent statement rather than a plan with gaps.\n */\nexport function validateWebsitePlan(plan: WebsitePlan): readonly WebsitePlanFinding[] {\n if (plan.disposition === WebsitePlanDisposition.NOT_APPLICABLE) return [];\n const findings: WebsitePlanFinding[] = [];\n if (!plan.pages.some((page) => page.kind === WebsitePageKind.HOME)) {\n findings.push({\n code: WebsitePlanFindingCode.NO_LANDING_PAGE,\n pageRef: null,\n message: 'No page is the HOME page, so nothing answers at \"/\" — the origin every canonical URL derives from would answer nothing.',\n });\n }\n const productPages = plan.pages.filter((page) => page.kind === WebsitePageKind.PRODUCT);\n if (productPages.length >= PRODUCT_OVERVIEW_THRESHOLD && !plan.pages.some((page) => page.kind === WebsitePageKind.PRODUCT_OVERVIEW)) {\n findings.push({\n code: WebsitePlanFindingCode.PRODUCT_PAGES_WITHOUT_OVERVIEW,\n pageRef: null,\n message: `${productPages.length} PRODUCT pages and no PRODUCT_OVERVIEW: a visitor who wants the whole product has no page that shows it, and the Product panel no overview to link.`,\n });\n }\n const solutionPages = plan.pages.filter((page) => page.kind === WebsitePageKind.SOLUTION);\n const home = plan.pages.find((page) => page.kind === WebsitePageKind.HOME);\n if (solutionPages.length >= 2 && home !== undefined && !home.sections.some((section) => section.kind === WebsiteSectionKind.SOLUTION_PATHS)) {\n findings.push({\n code: WebsitePlanFindingCode.SOLUTIONS_UNREACHABLE_FROM_HOME,\n pageRef: home.pageRef,\n message: `${solutionPages.length} SOLUTION pages, and the home page carries no SOLUTION_PATHS section to route each audience to the page written for it.`,\n });\n }\n for (const page of plan.pages) {\n const kinds = new Set(page.sections.map((section) => section.kind));\n for (const alternatives of WEBSITE_PAGE_KIND_ESSENTIALS[page.kind]) {\n if (alternatives.some((kind) => kinds.has(kind))) continue;\n findings.push({\n code: WebsitePlanFindingCode.PAGE_MISSES_KIND_ESSENTIAL,\n pageRef: page.pageRef,\n message: `${page.kind} page \"${page.pageRef}\" carries none of ${alternatives.join(' / ')}, which a ${page.kind} page cannot do without.`,\n });\n }\n if (page.kind === WebsitePageKind.SOLUTION && page.audienceIcpRefs.length === 0) {\n findings.push({\n code: WebsitePlanFindingCode.SOLUTION_PAGE_NAMES_NO_AUDIENCE,\n pageRef: page.pageRef,\n message: `SOLUTION page \"${page.pageRef}\" names no ICP in audienceIcpRefs — a solution page is the product seen from ONE audience's problem.`,\n });\n }\n if (page.sections[0]?.kind !== WebsiteSectionKind.HERO) {\n findings.push({\n code: WebsitePlanFindingCode.PAGE_DOES_NOT_OPEN_ON_A_HERO,\n pageRef: page.pageRef,\n message: `Page \"${page.pageRef}\" opens on ${page.sections[0]?.kind ?? 'nothing'} rather than a HERO, so a visitor meets detail before a promise.`,\n });\n }\n if (page.sections.every((section) => section.drawsOnRefs.length === 0)) {\n findings.push({\n code: WebsitePlanFindingCode.PAGE_DRAWS_ON_NO_MARKET_ENTRY,\n pageRef: page.pageRef,\n message: `Page \"${page.pageRef}\" names no market entry on any section — nothing on it can be checked against the market snapshot.`,\n });\n }\n for (const section of page.sections) {\n if (!WEBSITE_SECTION_KIND_CLAIMS_CAPABILITY[section.kind] || section.backedByRequirementRefs.length > 0) continue;\n findings.push({\n code: WebsitePlanFindingCode.CAPABILITY_CLAIM_UNBACKED,\n pageRef: page.pageRef,\n message: `Section \"${section.sectionRef}\" on \"${page.pageRef}\" is a ${section.kind} that names no requirement, so nothing commits the product to what it describes. Cite the requirement it rests on, or describe the capability as planned.`,\n });\n }\n for (const section of page.sections) {\n if (!PRODUCT_SECTION_KINDS.has(section.kind) || section.demo !== undefined) continue;\n if (!WEBSITE_SECTION_COMPONENTS_WITH_DEMO.includes(websiteSectionComponent(section))) continue;\n findings.push({\n code: WebsitePlanFindingCode.PRODUCT_SECTION_WITHOUT_DEMO,\n pageRef: page.pageRef,\n message: `Section \"${section.sectionRef}\" on \"${page.pageRef}\" is a ${section.kind} drawn as a ${websiteSectionComponent(section)} with no demo: say what its drawing shows (the archetype, the resource it is drawn from, the moment).`,\n });\n }\n const brandSections = page.sections.filter((section) => section.tone === WebsiteSectionTone.BRAND);\n if (brandSections.length > 1) {\n findings.push({\n code: WebsitePlanFindingCode.BRAND_TONE_REPEATED,\n pageRef: page.pageRef,\n message: `Page \"${page.pageRef}\" stands ${brandSections.length} sections on the BRAND surface (${brandSections.map((section) => section.sectionRef).join(', ')}); the loudest band is meant once a page.`,\n });\n }\n const countByKind = new Map<WebsiteSectionKind, number>();\n for (const section of page.sections) countByKind.set(section.kind, (countByKind.get(section.kind) ?? 0) + 1);\n for (const [kind, count] of countByKind) {\n if (count <= SECTION_KIND_REPEAT_CEILING) continue;\n findings.push({\n code: WebsitePlanFindingCode.SECTION_KIND_REPEATED,\n pageRef: page.pageRef,\n message: `Page \"${page.pageRef}\" carries ${count} ${kind} sections; beyond ${SECTION_KIND_REPEAT_CEILING} the page reads as filler rather than as an argument.`,\n });\n }\n }\n return findings;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"website-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,2BAA2B,EAAE,wBA8BzC,CAAC"}
1
+ {"version":3,"file":"website-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,2BAA2B,EAAE,wBAmCzC,CAAC"}
@@ -26,8 +26,13 @@ export const WEBSITE_PLAN_FAMILY_ASPECTS = {
26
26
  * proofs, objections, jobs, pains and ICPs as the snapshot authored them. Declaring it as an
27
27
  * edge would need one target per kind and would refuse a key outside them, which is exactly
28
28
  * the narrow-declaration-as-truth trade `servesRefs` rejected on the build plan (#629).
29
+ *
30
+ * A section's `backedByRequirementRefs` IS typed (requirements only, #2507), but it lives inside a section,
31
+ * not on the page row, so it cannot be an edge of this aspect. Its refs are checked by the definition
32
+ * coherence lint instead, as a roadmap phase's and a pricing plan's requirement refs are.
29
33
  */
30
- sections: 'the page\'s sections — their kind, purpose and the market entries they draw on, which name several vocabularies at once',
34
+ signatureSectionRef: 'one of this page\'s OWN section refs (the section a visitor remembers it by), not an element of another aspect: the plan refuses a ref its page does not carry',
35
+ sections: 'the page\'s sections — their kind, purpose, the market entries they draw on (several vocabularies at once), the requirements their claims rest on, and their design (block, layout, surface, demo)',
31
36
  },
32
37
  },
33
38
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"website-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-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,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,CAAC,MAAM,2BAA2B,GAA6B;IACnE,SAAS,EAAE,+CAA+C,CAAC,YAAY;IACvE,OAAO,EAAE;QACP;YACE,GAAG,EAAE,mBAAmB;YACxB,YAAY,EAAE,OAAO;YACrB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,qBAAqB;YACjC,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL;;;;mBAIG;gBACH,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBAC3D,EAAE,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACrE;YACD,gBAAgB,EAAE;gBAChB;;;;;mBAKG;gBACH,QAAQ,EAAE,yHAAyH;aACpI;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 { WebsitePagePlanSchema } from './website-plan.schemas';\n\nexport const WEBSITE_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.WEBSITE_PLAN,\n aspects: [\n {\n key: 'website-plan.page',\n snapshotPath: 'pages',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: WebsitePagePlanSchema,\n businessKey: 'pageRef',\n headlineField: 'purpose',\n edges: [\n /*\n * A page is written FOR somebody and IN a voice, and both are market entries the snapshot\n * authored — the same link the market's own positioning carries, so a reader goes from a page\n * to the ICP it addresses in one hop.\n */\n { field: 'audienceIcpRefs', targetAspects: ['market.icp'] },\n { field: 'toneOfVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n /*\n * A section's `drawsOnRefs` is deliberately UNTYPED traceability: one list naming benefits,\n * proofs, objections, jobs, pains and ICPs as the snapshot authored them. Declaring it as an\n * edge would need one target per kind and would refuse a key outside them, which is exactly\n * the narrow-declaration-as-truth trade `servesRefs` rejected on the build plan (#629).\n */\n sections: 'the page\\'s sections — their kind, purpose and the market entries they draw on, which name several vocabularies at once',\n },\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"website-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-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,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,CAAC,MAAM,2BAA2B,GAA6B;IACnE,SAAS,EAAE,+CAA+C,CAAC,YAAY;IACvE,OAAO,EAAE;QACP;YACE,GAAG,EAAE,mBAAmB;YACxB,YAAY,EAAE,OAAO;YACrB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,qBAAqB;YACjC,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL;;;;mBAIG;gBACH,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBAC3D,EAAE,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACrE;YACD,gBAAgB,EAAE;gBAChB;;;;;;;;;mBASG;gBACH,mBAAmB,EAAE,gKAAgK;gBACrL,QAAQ,EAAE,oMAAoM;aAC/M;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 { WebsitePagePlanSchema } from './website-plan.schemas';\n\nexport const WEBSITE_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.WEBSITE_PLAN,\n aspects: [\n {\n key: 'website-plan.page',\n snapshotPath: 'pages',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: WebsitePagePlanSchema,\n businessKey: 'pageRef',\n headlineField: 'purpose',\n edges: [\n /*\n * A page is written FOR somebody and IN a voice, and both are market entries the snapshot\n * authored — the same link the market's own positioning carries, so a reader goes from a page\n * to the ICP it addresses in one hop.\n */\n { field: 'audienceIcpRefs', targetAspects: ['market.icp'] },\n { field: 'toneOfVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n /*\n * A section's `drawsOnRefs` is deliberately UNTYPED traceability: one list naming benefits,\n * proofs, objections, jobs, pains and ICPs as the snapshot authored them. Declaring it as an\n * edge would need one target per kind and would refuse a key outside them, which is exactly\n * the narrow-declaration-as-truth trade `servesRefs` rejected on the build plan (#629).\n *\n * A section's `backedByRequirementRefs` IS typed (requirements only, #2507), but it lives inside a section,\n * not on the page row, so it cannot be an edge of this aspect. Its refs are checked by the definition\n * coherence lint instead, as a roadmap phase's and a pricing plan's requirement refs are.\n */\n signatureSectionRef: 'one of this page\\'s OWN section refs (the section a visitor remembers it by), not an element of another aspect: the plan refuses a ref its page does not carry',\n sections: 'the page\\'s sections — their kind, purpose, the market entries they draw on (several vocabularies at once), the requirements their claims rest on, and their design (block, layout, surface, demo)',\n },\n },\n ],\n};\n"]}