@wildo-ai/saas-specifications 1.1.1 → 1.1.3

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 (633) hide show
  1. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
  2. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  3. package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
  4. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  5. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
  6. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  7. package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
  8. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  9. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
  10. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  11. package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
  12. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  13. package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
  14. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
  15. package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
  16. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
  17. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
  19. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  20. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
  21. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  22. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
  23. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  24. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
  25. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
  26. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
  27. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
  28. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
  30. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  31. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
  32. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  33. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  34. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
  35. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
  36. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
  37. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
  38. package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
  39. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  40. package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
  41. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
  42. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  43. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
  44. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  45. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
  46. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  47. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
  48. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
  50. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
  51. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
  52. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
  53. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
  55. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  56. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
  57. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
  58. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
  59. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
  60. package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
  61. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  62. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  63. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
  64. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
  65. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
  66. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
  67. package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
  68. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  69. package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
  70. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
  71. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
  73. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  74. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
  75. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  76. package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
  77. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  78. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
  79. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
  81. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  82. package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
  83. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
  84. package/dist/esm/_core/family-aspects.registry.js +60 -0
  85. package/dist/esm/_core/family-aspects.registry.js.map +1 -0
  86. package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
  87. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
  88. package/dist/esm/_core/family-aspects.schemas.js +15 -0
  89. package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
  91. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
  92. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
  93. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
  94. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
  95. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  96. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
  97. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  98. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
  99. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  100. package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
  101. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
  103. package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
  104. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
  105. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  106. package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
  107. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
  108. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  109. package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
  110. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  111. package/dist/esm/_core/index.d.ts +3 -0
  112. package/dist/esm/_core/index.d.ts.map +1 -1
  113. package/dist/esm/_core/index.js +3 -0
  114. package/dist/esm/_core/index.js.map +1 -1
  115. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
  116. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
  118. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  119. package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
  120. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  121. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  122. package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
  123. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
  124. package/dist/esm/_core/market/market.family-aspects.js +227 -0
  125. package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
  126. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
  127. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
  129. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  130. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
  132. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  133. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
  134. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  135. package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
  136. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  137. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
  138. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
  139. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
  140. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
  141. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
  142. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
  144. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  145. package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
  146. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
  147. package/dist/esm/_core/provider-specification.schemas.js +144 -0
  148. package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
  149. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  150. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
  151. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  152. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
  153. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  154. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  155. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
  156. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
  157. package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
  158. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
  159. package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
  160. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  161. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  162. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  163. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
  164. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  165. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
  166. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  167. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  168. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
  169. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
  170. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
  171. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
  172. package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
  173. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
  174. package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
  175. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
  176. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
  178. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  179. package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
  180. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
  181. package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
  182. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
  183. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
  184. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  185. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
  186. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  187. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +157 -57
  188. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  189. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
  190. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
  191. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  192. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
  193. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  194. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
  195. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  196. package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
  197. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
  198. package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
  199. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
  200. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
  201. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
  202. package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
  203. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
  204. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
  205. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  206. package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
  207. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  208. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
  209. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  210. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
  211. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  212. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
  213. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  214. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
  215. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  216. package/dist/esm/application-creation.exports.d.ts +11 -0
  217. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  218. package/dist/esm/application-creation.exports.js +11 -0
  219. package/dist/esm/application-creation.exports.js.map +1 -1
  220. package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
  221. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  222. package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
  223. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  224. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
  225. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  226. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
  227. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  228. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
  229. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  230. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  231. package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
  232. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  233. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
  234. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  235. package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
  236. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  237. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
  238. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
  239. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
  240. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
  241. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
  242. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
  243. package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
  244. package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
  245. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
  246. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  247. package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
  248. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  249. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
  250. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  251. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
  252. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  253. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
  254. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
  255. package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
  256. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
  257. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
  258. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
  259. package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
  260. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
  261. package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
  262. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  263. package/dist/esm/assurance/assurance-program.schemas.js +319 -8
  264. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  265. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
  266. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  267. package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
  268. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  269. package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
  270. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  271. package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
  272. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  273. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
  274. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
  275. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
  276. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
  277. package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
  278. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
  279. package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
  280. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
  281. package/dist/esm/assurance.exports.d.ts +2 -0
  282. package/dist/esm/assurance.exports.d.ts.map +1 -1
  283. package/dist/esm/assurance.exports.js +2 -0
  284. package/dist/esm/assurance.exports.js.map +1 -1
  285. package/dist/esm/companion-exports.d.ts +26 -8
  286. package/dist/esm/companion-exports.d.ts.map +1 -1
  287. package/dist/esm/companion-exports.js.map +1 -1
  288. package/dist/esm/engine/_bootstrap.js +3 -1
  289. package/dist/esm/engine/_bootstrap.js.map +1 -1
  290. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +15 -1
  292. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  294. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
  295. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
  297. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  298. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +17 -3
  299. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
  302. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  304. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
  305. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  306. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
  307. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
  308. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
  309. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
  310. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
  311. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -1
  313. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  314. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
  316. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  317. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
  318. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +17 -3
  320. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  321. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
  322. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
  323. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
  324. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
  325. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
  326. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  327. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
  328. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  329. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  330. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
  331. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  332. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  333. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
  334. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  336. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -9
  337. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  338. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  339. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
  340. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  341. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
  342. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  343. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +106 -10
  344. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  345. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
  346. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  347. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
  348. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  349. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
  350. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
  351. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
  352. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
  353. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
  354. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +6 -3
  356. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
  358. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  359. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
  360. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  361. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
  362. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  363. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
  364. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  365. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  366. package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
  367. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  368. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  369. package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
  370. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  371. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
  373. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  374. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  375. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
  376. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  377. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
  378. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  379. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
  380. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +13 -9
  382. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  383. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +30 -11
  384. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  385. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -8
  387. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
  389. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  390. package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
  391. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  392. package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
  393. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
  394. package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
  395. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
  396. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  397. package/dist/esm/engine/errors/error-messages.specification.js +44 -1
  398. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  399. package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
  400. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  401. package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
  402. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  403. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  404. package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
  405. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  406. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -3
  408. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  409. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  410. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
  412. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  413. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  414. package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
  415. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  416. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
  417. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  418. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
  419. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  420. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
  421. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  422. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
  423. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  424. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
  425. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
  427. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  428. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  429. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  430. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
  431. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
  433. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
  434. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
  435. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
  436. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
  437. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
  438. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
  439. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
  440. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
  442. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  443. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
  444. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
  445. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
  446. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
  447. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
  448. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
  449. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
  450. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
  451. package/dist/esm/engine/frontend-components/index.d.ts +0 -2
  452. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  453. package/dist/esm/engine/frontend-components/index.js +4 -6
  454. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  455. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
  456. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
  458. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  459. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
  460. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
  462. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  463. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
  464. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  465. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
  466. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  467. package/dist/esm/engine/index.d.ts +2 -0
  468. package/dist/esm/engine/index.d.ts.map +1 -1
  469. package/dist/esm/engine/index.js +2 -0
  470. package/dist/esm/engine/index.js.map +1 -1
  471. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -17
  473. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  474. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -7
  476. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  477. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
  479. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  480. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
  481. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
  483. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  484. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -15
  486. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  487. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  488. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
  490. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  491. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
  493. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  494. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  495. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -9
  497. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  498. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
  500. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  501. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
  503. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  504. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
  506. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  507. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
  509. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  510. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
  512. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  513. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  514. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
  515. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  516. package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
  517. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
  518. package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
  519. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
  520. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
  521. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
  522. package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
  523. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
  524. package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
  525. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
  526. package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
  527. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
  528. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
  529. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
  530. package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
  531. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
  532. package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
  533. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
  534. package/dist/esm/engine/providers/github.provider.specification.js +30 -0
  535. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
  536. package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
  537. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/providers/google.provider.specification.js +34 -0
  539. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
  540. package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
  541. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
  542. package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
  543. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
  544. package/dist/esm/engine/providers/index.d.ts +23 -0
  545. package/dist/esm/engine/providers/index.d.ts.map +1 -0
  546. package/dist/esm/engine/providers/index.js +37 -0
  547. package/dist/esm/engine/providers/index.js.map +1 -0
  548. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
  549. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
  550. package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
  551. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
  552. package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
  553. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
  554. package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
  555. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
  556. package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
  557. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
  558. package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
  559. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
  560. package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
  561. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
  562. package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
  563. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
  564. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
  565. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
  566. package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
  567. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
  568. package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
  569. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
  570. package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
  571. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
  572. package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
  573. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
  574. package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
  575. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
  576. package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
  577. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
  578. package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
  579. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
  580. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -7
  582. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  583. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
  584. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
  586. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  587. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
  588. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
  590. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  591. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  592. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -8
  594. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  595. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  596. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -4
  598. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  599. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
  600. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
  602. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  603. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +5 -5
  604. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +15 -11
  606. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  607. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
  608. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
  610. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
  613. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  614. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  615. package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
  616. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  617. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
  618. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  619. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +451 -25
  620. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  621. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
  622. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  623. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
  624. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  625. package/dist/tsconfig.build.tsbuildinfo +1 -0
  626. package/package.json +8 -8
  627. package/dist/esm/.builder.pid +0 -9
  628. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
  629. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
  630. package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
  631. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
  632. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
  633. package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
@@ -48,11 +48,10 @@ import { z } from 'zod';
48
48
  * fact and `purpose` is a CONSUMPTION fact: they coincide for `MASTER` in
49
49
  * the normal pipeline, but a brand whose derivation degraded ships its
50
50
  * generated primary AT `PRIMARY`, so the two must not be conflated.
51
- * - **`generatedAt`** / **`promptDigest`** — when it was produced and a
52
- * stable digest of the generation inputs, so the companion can skip
53
- * regeneration when nothing upstream changed, and the validator can flag
54
- * assets older than a re-authored direction (freshness-lock parity with
55
- * the i18n-labelling step).
51
+ * - **`generatedAt`** — when it was produced. The validator flags assets
52
+ * older than a re-authored direction from this timestamp (`STALE_ASSETS`).
53
+ * Skipping regeneration is the companion's own throwaway-staging concern
54
+ * and records nothing on the committed asset.
56
55
  */
57
56
  export declare enum BrandAssetComposition {
58
57
  /** The symbol/icon alone — square-ish; favicons, app icons, sidebar rail. */
@@ -129,7 +128,6 @@ export declare const BrandAssetConfigSchema: z.ZodObject<{
129
128
  height: z.ZodOptional<z.ZodNumber>;
130
129
  derivedFrom: z.ZodOptional<z.ZodString>;
131
130
  generatedAt: z.ZodISODateTime;
132
- promptDigest: z.ZodOptional<z.ZodString>;
133
131
  }, z.core.$strip>;
134
132
  export type BrandAssetConfig = z.infer<typeof BrandAssetConfigSchema>;
135
133
  /** @wildo_source:part:end brand.asset.config */
@@ -1 +1 @@
1
- {"version":3,"file":"brand-asset.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-asset.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,oBAAY,qBAAqB;IAC/B,6EAA6E;IAC7E,MAAM,WAAW;IACjB,4EAA4E;IAC5E,QAAQ,aAAa;IACrB,yEAAyE;IACzE,MAAM,WAAW;CAClB;AAED,oBAAY,eAAe;IACzB,8DAA8D;IAC9D,OAAO,YAAY;IACnB,0CAA0C;IAC1C,IAAI,SAAS;IACb,2CAA2C;IAC3C,KAAK,UAAU;IACf,qDAAqD;IACrD,UAAU,eAAe;CAC1B;AAED,oBAAY,iBAAiB;IAC3B;;;;;;;;;;;;;;;OAeG;IACH,MAAM,WAAW;IACjB;;;;;;;;;OASG;IACH,OAAO,YAAY;IACnB,oDAAoD;IACpD,OAAO,YAAY;IACnB,kDAAkD;IAClD,gBAAgB,qBAAqB;IACrC,gEAAgE;IAChE,aAAa,kBAAkB;IAC/B,kDAAkD;IAClD,QAAQ,aAAa;IACrB,wEAAwE;IACxE,KAAK,UAAU;CAChB;AAED,oBAAY,gBAAgB;IAC1B,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;iBAgCjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,gDAAgD"}
1
+ {"version":3,"file":"brand-asset.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-asset.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,oBAAY,qBAAqB;IAC/B,6EAA6E;IAC7E,MAAM,WAAW;IACjB,4EAA4E;IAC5E,QAAQ,aAAa;IACrB,yEAAyE;IACzE,MAAM,WAAW;CAClB;AAED,oBAAY,eAAe;IACzB,8DAA8D;IAC9D,OAAO,YAAY;IACnB,0CAA0C;IAC1C,IAAI,SAAS;IACb,2CAA2C;IAC3C,KAAK,UAAU;IACf,qDAAqD;IACrD,UAAU,eAAe;CAC1B;AAED,oBAAY,iBAAiB;IAC3B;;;;;;;;;;;;;;;OAeG;IACH,MAAM,WAAW;IACjB;;;;;;;;;OASG;IACH,OAAO,YAAY;IACnB,oDAAoD;IACpD,OAAO,YAAY;IACnB,kDAAkD;IAClD,gBAAgB,qBAAqB;IACrC,gEAAgE;IAChE,aAAa,kBAAkB;IAC/B,kDAAkD;IAClD,QAAQ,aAAa;IACrB,wEAAwE;IACxE,KAAK,UAAU;CAChB;AAED,oBAAY,gBAAgB;IAC1B,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;iBAyBjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,gDAAgD"}
@@ -49,11 +49,10 @@ import { NonEmptyStringSchema } from '../market/market-references.schemas.js';
49
49
  * fact and `purpose` is a CONSUMPTION fact: they coincide for `MASTER` in
50
50
  * the normal pipeline, but a brand whose derivation degraded ships its
51
51
  * generated primary AT `PRIMARY`, so the two must not be conflated.
52
- * - **`generatedAt`** / **`promptDigest`** — when it was produced and a
53
- * stable digest of the generation inputs, so the companion can skip
54
- * regeneration when nothing upstream changed, and the validator can flag
55
- * assets older than a re-authored direction (freshness-lock parity with
56
- * the i18n-labelling step).
52
+ * - **`generatedAt`** — when it was produced. The validator flags assets
53
+ * older than a re-authored direction from this timestamp (`STALE_ASSETS`).
54
+ * Skipping regeneration is the companion's own throwaway-staging concern
55
+ * and records nothing on the committed asset.
57
56
  */
58
57
  export var BrandAssetComposition;
59
58
  (function (BrandAssetComposition) {
@@ -148,13 +147,6 @@ export const BrandAssetConfigSchema = z.object({
148
147
  derivedFrom: NonEmptyStringSchema.optional(),
149
148
  /** ISO-8601 timestamp the asset was produced. */
150
149
  generatedAt: z.iso.datetime(),
151
- /**
152
- * Stable digest of the generation inputs (brand direction + tone +
153
- * enrichment). Lets the companion skip regeneration when nothing
154
- * upstream changed, and lets the validator flag assets older than a
155
- * re-authored direction — freshness-lock parity with i18n-labelling.
156
- */
157
- promptDigest: NonEmptyStringSchema.optional(),
158
150
  });
159
151
  /** @wildo_source:part:end brand.asset.config */
160
152
  //# sourceMappingURL=brand-asset.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"brand-asset.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-asset.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAM,CAAN,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,6EAA6E;IAC7E,0CAAiB,CAAA;IACjB,4EAA4E;IAC5E,8CAAqB,CAAA;IACrB,yEAAyE;IACzE,0CAAiB,CAAA;AACnB,CAAC,EAPW,qBAAqB,KAArB,qBAAqB,QAOhC;AAED,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACzB,8DAA8D;IAC9D,sCAAmB,CAAA;IACnB,0CAA0C;IAC1C,gCAAa,CAAA;IACb,2CAA2C;IAC3C,kCAAe,CAAA;IACf,qDAAqD;IACrD,4CAAyB,CAAA;AAC3B,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B;AAED,MAAM,CAAN,IAAY,iBAuCX;AAvCD,WAAY,iBAAiB;IAC3B;;;;;;;;;;;;;;;OAeG;IACH,sCAAiB,CAAA;IACjB;;;;;;;;;OASG;IACH,wCAAmB,CAAA;IACnB,oDAAoD;IACpD,wCAAmB,CAAA;IACnB,kDAAkD;IAClD,0DAAqC,CAAA;IACrC,gEAAgE;IAChE,oDAA+B,CAAA;IAC/B,kDAAkD;IAClD,0CAAqB,CAAA;IACrB,wEAAwE;IACxE,oCAAe,CAAA;AACjB,CAAC,EAvCW,iBAAiB,KAAjB,iBAAiB,QAuC5B;AAED,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,iCAAa,CAAA;AACf,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,8FAA8F;IAC9F,GAAG,EAAE,oBAAoB;IACzB,sDAAsD;IACtD,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;IAC1C,wEAAwE;IACxE,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC;IAC/D,oGAAoG;IACpG,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACrE,0EAA0E;IAC1E,UAAU,EAAE,oBAAoB;IAChC,4BAA4B;IAC5B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IAChC,gDAAgD;IAChD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7C,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC9C;;;;OAIG;IACH,WAAW,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC5C,iDAAiD;IACjD,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAC7B;;;;;OAKG;IACH,YAAY,EAAE,oBAAoB,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEH,gDAAgD","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\n\n/**\n * @wildo_source:part:start brand.asset.config facet:layer:specification facet:family:brand\n *\n * A single **resolved brand asset** — one concrete image file, described\n * by THREE ORTHOGONAL AXES rather than a single flat role. The collection\n * of these on `BrandSnapshot.resolvedAssets` is THE single source of truth\n * for the application's visual identity: the historically-fragmented logo\n * strings (org branding, app config, email brand tokens, email context,\n * auth DTO, loose favicon files) all resolve to a `BrandAsset` by axis\n * instead of carrying their own free-form URL.\n *\n * **Why three axes, not one flat role** (framework mindset — preserve the\n * distinctions, do not fold them for a shorter enum): a logo varies\n * independently along composition, theme, and technical purpose. A single\n * flat enum would multiply combinatorially (SYMBOL_DARK_FAVICON, …) and\n * conflate three unrelated concerns. Consumers resolve by the axes they\n * care about — the collapsed sidebar rail asks for `(SYMBOL, DARK)`, the\n * app-shell header asks for `(LOCKUP, DEFAULT)` — and never touch a\n * favicon slot for an in-app UI mark.\n *\n * - **`composition`** — the FORM (`BrandAssetComposition`): the symbol\n * alone, the wordmark alone, or the two locked together. Distinct from\n * `logoDirection.markType` (the brand's chosen archetype, an INPUT to\n * generation) — a `COMBINATION_MARK` brand produces both a `LOCKUP` and\n * a `SYMBOL` asset; a `WORDMARK` brand produces only a `WORDMARK` asset.\n * - **`theme`** — the color context (`BrandAssetTheme`): the default mark,\n * or a variant tuned for dark/light backgrounds, or a single-color\n * knockout.\n * - **`purpose`** — the technical consumption slot (`BrandAssetPurpose`):\n * `MASTER` is the full-resolution source; `PRIMARY` is the base\n * DISPLAY form a UI surface renders; the rest (`FAVICON`,\n * `APPLE_TOUCH_ICON`, `MASKABLE_ICON`, `OG_IMAGE`, `EMAIL`) are\n * size/format-constrained targets. Everything except `MASTER` is derived.\n *\n * Provenance is first-class so a regeneration is idempotent and auditable:\n * - **`ref`** — stable kebab-case identity (the `_core` \"ref is identity\"\n * convention), unique within `resolvedAssets`. `derivedFrom` addresses it.\n * - **`storageRef`** — the `APPLICATION`-scoped storage locator the file\n * lives at (a stored-file reference, NOT a loose CDN URL). Consumers\n * resolve a servable URL from this ref through the file store.\n * - **`derivedFrom`** — the `ref` of the asset this one was deterministically\n * derived from (Layer-4 pipeline). `undefined` marks a **generated\n * primary** — an asset the image model produced directly, which in a\n * fully-derived brand is the `MASTER`. Every derived asset must trace,\n * through a `derivedFrom` chain, back to a generated primary (the snapshot\n * validator enforces reachability + no cycles). Note this is a PROVENANCE\n * fact and `purpose` is a CONSUMPTION fact: they coincide for `MASTER` in\n * the normal pipeline, but a brand whose derivation degraded ships its\n * generated primary AT `PRIMARY`, so the two must not be conflated.\n * - **`generatedAt`** / **`promptDigest`** — when it was produced and a\n * stable digest of the generation inputs, so the companion can skip\n * regeneration when nothing upstream changed, and the validator can flag\n * assets older than a re-authored direction (freshness-lock parity with\n * the i18n-labelling step).\n */\nexport enum BrandAssetComposition {\n /** The symbol/icon alone — square-ish; favicons, app icons, sidebar rail. */\n SYMBOL = 'SYMBOL',\n /** The styled name alone (text-only) — a brand with no separable symbol. */\n WORDMARK = 'WORDMARK',\n /** Symbol + wordmark locked together (horizontal) — headers, OG, PDF. */\n LOCKUP = 'LOCKUP',\n}\n\nexport enum BrandAssetTheme {\n /** The default full-color mark on its intended background. */\n DEFAULT = 'DEFAULT',\n /** Variant tuned for dark backgrounds. */\n DARK = 'DARK',\n /** Variant tuned for light backgrounds. */\n LIGHT = 'LIGHT',\n /** Single-color knockout for monochrome contexts. */\n MONOCHROME = 'MONOCHROME',\n}\n\nexport enum BrandAssetPurpose {\n /**\n * The full-resolution generated source for a (composition, theme) — what the\n * image model produced, before any size constraint. Its consumers are print,\n * high-DPI/retina export, and re-derivation; a UI surface must NOT render it.\n *\n * SEPARATE FROM `PRIMARY` DELIBERATELY. The two were one slot until 2026-08-19,\n * and the merge was expensive rather than merely untidy: `resolveBrandAsset`'s\n * fallback ladder ends at `(DEFAULT, PRIMARY)` for ANY composition, so PRIMARY\n * is the universal last-resort every unresolved query in the system degrades\n * to. With the master sitting there, the cheapest-to-reach slot held the most\n * expensive file — Wonder Todos' app-shell sidebar downloaded a 1,043,409-byte\n * master to draw a ~32px mark, while the DARK and MONOCHROME siblings of that\n * same PRIMARY slot were 512x512 derivations two orders of magnitude smaller.\n * `MASTER` is reachable ONLY by an exact query, so full resolution is something\n * a consumer asks for rather than something it is handed by a fallback.\n */\n MASTER = 'MASTER',\n /**\n * The base DISPLAY form of a (composition, theme) — the mark a UI surface\n * renders when it wants \"the logo\" and has no size-constrained slot in mind\n * (app-shell header, sidebar rail, docs navbar). Derived from `MASTER` at a\n * display-sensible size; not pixel-pinned by a platform contract the way the\n * icon purposes below are, but never the unbounded source either.\n *\n * This is also the fallback target of every rung of `resolveBrandAsset` that is\n * not an exact match, so a brand that ships anything at all should ship this.\n */\n PRIMARY = 'PRIMARY',\n /** Browser-chrome favicon (square; ICO/PNG/SVG). */\n FAVICON = 'FAVICON',\n /** iOS home-screen icon (square PNG, 180×180). */\n APPLE_TOUCH_ICON = 'APPLE_TOUCH_ICON',\n /** Android/PWA maskable icon (square PNG, safe-zone padded). */\n MASKABLE_ICON = 'MASKABLE_ICON',\n /** Open-Graph / social share image (1200×630). */\n OG_IMAGE = 'OG_IMAGE',\n /** Email-safe raster (flattened, fixed background for dark clients). */\n EMAIL = 'EMAIL',\n}\n\nexport enum BrandAssetFormat {\n PNG = 'PNG',\n SVG = 'SVG',\n ICO = 'ICO',\n WEBP = 'WEBP',\n}\n\nexport const BrandAssetConfigSchema = z.object({\n /** Stable kebab-case identity, unique within `resolvedAssets`. `derivedFrom` addresses it. */\n ref: NonEmptyStringSchema,\n /** The FORM axis — symbol, wordmark, or locked-up. */\n composition: z.enum(BrandAssetComposition),\n /** The color-context axis. Defaults to the intended full-color mark. */\n theme: z.enum(BrandAssetTheme).default(BrandAssetTheme.DEFAULT),\n /** The technical consumption axis. Defaults to the base DISPLAY form, never the `MASTER` source. */\n purpose: z.enum(BrandAssetPurpose).default(BrandAssetPurpose.PRIMARY),\n /** `APPLICATION`-scoped stored-file reference (never a loose CDN URL). */\n storageRef: NonEmptyStringSchema,\n /** Concrete file format. */\n format: z.enum(BrandAssetFormat),\n /** Pixel width (undefined for scalable SVG). */\n width: z.number().int().positive().optional(),\n /** Pixel height (undefined for scalable SVG). */\n height: z.number().int().positive().optional(),\n /**\n * The `ref` of the asset this one was derived from. `undefined` marks a\n * generated primary (image-model output). Every derived asset must trace\n * back to a generated primary — enforced by the snapshot validator.\n */\n derivedFrom: NonEmptyStringSchema.optional(),\n /** ISO-8601 timestamp the asset was produced. */\n generatedAt: z.iso.datetime(),\n /**\n * Stable digest of the generation inputs (brand direction + tone +\n * enrichment). Lets the companion skip regeneration when nothing\n * upstream changed, and lets the validator flag assets older than a\n * re-authored direction — freshness-lock parity with i18n-labelling.\n */\n promptDigest: NonEmptyStringSchema.optional(),\n});\nexport type BrandAssetConfig = z.infer<typeof BrandAssetConfigSchema>;\n/** @wildo_source:part:end brand.asset.config */\n"]}
1
+ {"version":3,"file":"brand-asset.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-asset.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAM,CAAN,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,6EAA6E;IAC7E,0CAAiB,CAAA;IACjB,4EAA4E;IAC5E,8CAAqB,CAAA;IACrB,yEAAyE;IACzE,0CAAiB,CAAA;AACnB,CAAC,EAPW,qBAAqB,KAArB,qBAAqB,QAOhC;AAED,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACzB,8DAA8D;IAC9D,sCAAmB,CAAA;IACnB,0CAA0C;IAC1C,gCAAa,CAAA;IACb,2CAA2C;IAC3C,kCAAe,CAAA;IACf,qDAAqD;IACrD,4CAAyB,CAAA;AAC3B,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B;AAED,MAAM,CAAN,IAAY,iBAuCX;AAvCD,WAAY,iBAAiB;IAC3B;;;;;;;;;;;;;;;OAeG;IACH,sCAAiB,CAAA;IACjB;;;;;;;;;OASG;IACH,wCAAmB,CAAA;IACnB,oDAAoD;IACpD,wCAAmB,CAAA;IACnB,kDAAkD;IAClD,0DAAqC,CAAA;IACrC,gEAAgE;IAChE,oDAA+B,CAAA;IAC/B,kDAAkD;IAClD,0CAAqB,CAAA;IACrB,wEAAwE;IACxE,oCAAe,CAAA;AACjB,CAAC,EAvCW,iBAAiB,KAAjB,iBAAiB,QAuC5B;AAED,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,+BAAW,CAAA;IACX,iCAAa,CAAA;AACf,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,8FAA8F;IAC9F,GAAG,EAAE,oBAAoB;IACzB,sDAAsD;IACtD,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;IAC1C,wEAAwE;IACxE,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC;IAC/D,oGAAoG;IACpG,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACrE,0EAA0E;IAC1E,UAAU,EAAE,oBAAoB;IAChC,4BAA4B;IAC5B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IAChC,gDAAgD;IAChD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7C,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC9C;;;;OAIG;IACH,WAAW,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC5C,iDAAiD;IACjD,WAAW,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEH,gDAAgD","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\n\n/**\n * @wildo_source:part:start brand.asset.config facet:layer:specification facet:family:brand\n *\n * A single **resolved brand asset** — one concrete image file, described\n * by THREE ORTHOGONAL AXES rather than a single flat role. The collection\n * of these on `BrandSnapshot.resolvedAssets` is THE single source of truth\n * for the application's visual identity: the historically-fragmented logo\n * strings (org branding, app config, email brand tokens, email context,\n * auth DTO, loose favicon files) all resolve to a `BrandAsset` by axis\n * instead of carrying their own free-form URL.\n *\n * **Why three axes, not one flat role** (framework mindset — preserve the\n * distinctions, do not fold them for a shorter enum): a logo varies\n * independently along composition, theme, and technical purpose. A single\n * flat enum would multiply combinatorially (SYMBOL_DARK_FAVICON, …) and\n * conflate three unrelated concerns. Consumers resolve by the axes they\n * care about — the collapsed sidebar rail asks for `(SYMBOL, DARK)`, the\n * app-shell header asks for `(LOCKUP, DEFAULT)` — and never touch a\n * favicon slot for an in-app UI mark.\n *\n * - **`composition`** — the FORM (`BrandAssetComposition`): the symbol\n * alone, the wordmark alone, or the two locked together. Distinct from\n * `logoDirection.markType` (the brand's chosen archetype, an INPUT to\n * generation) — a `COMBINATION_MARK` brand produces both a `LOCKUP` and\n * a `SYMBOL` asset; a `WORDMARK` brand produces only a `WORDMARK` asset.\n * - **`theme`** — the color context (`BrandAssetTheme`): the default mark,\n * or a variant tuned for dark/light backgrounds, or a single-color\n * knockout.\n * - **`purpose`** — the technical consumption slot (`BrandAssetPurpose`):\n * `MASTER` is the full-resolution source; `PRIMARY` is the base\n * DISPLAY form a UI surface renders; the rest (`FAVICON`,\n * `APPLE_TOUCH_ICON`, `MASKABLE_ICON`, `OG_IMAGE`, `EMAIL`) are\n * size/format-constrained targets. Everything except `MASTER` is derived.\n *\n * Provenance is first-class so a regeneration is idempotent and auditable:\n * - **`ref`** — stable kebab-case identity (the `_core` \"ref is identity\"\n * convention), unique within `resolvedAssets`. `derivedFrom` addresses it.\n * - **`storageRef`** — the `APPLICATION`-scoped storage locator the file\n * lives at (a stored-file reference, NOT a loose CDN URL). Consumers\n * resolve a servable URL from this ref through the file store.\n * - **`derivedFrom`** — the `ref` of the asset this one was deterministically\n * derived from (Layer-4 pipeline). `undefined` marks a **generated\n * primary** — an asset the image model produced directly, which in a\n * fully-derived brand is the `MASTER`. Every derived asset must trace,\n * through a `derivedFrom` chain, back to a generated primary (the snapshot\n * validator enforces reachability + no cycles). Note this is a PROVENANCE\n * fact and `purpose` is a CONSUMPTION fact: they coincide for `MASTER` in\n * the normal pipeline, but a brand whose derivation degraded ships its\n * generated primary AT `PRIMARY`, so the two must not be conflated.\n * - **`generatedAt`** — when it was produced. The validator flags assets\n * older than a re-authored direction from this timestamp (`STALE_ASSETS`).\n * Skipping regeneration is the companion's own throwaway-staging concern\n * and records nothing on the committed asset.\n */\nexport enum BrandAssetComposition {\n /** The symbol/icon alone — square-ish; favicons, app icons, sidebar rail. */\n SYMBOL = 'SYMBOL',\n /** The styled name alone (text-only) — a brand with no separable symbol. */\n WORDMARK = 'WORDMARK',\n /** Symbol + wordmark locked together (horizontal) — headers, OG, PDF. */\n LOCKUP = 'LOCKUP',\n}\n\nexport enum BrandAssetTheme {\n /** The default full-color mark on its intended background. */\n DEFAULT = 'DEFAULT',\n /** Variant tuned for dark backgrounds. */\n DARK = 'DARK',\n /** Variant tuned for light backgrounds. */\n LIGHT = 'LIGHT',\n /** Single-color knockout for monochrome contexts. */\n MONOCHROME = 'MONOCHROME',\n}\n\nexport enum BrandAssetPurpose {\n /**\n * The full-resolution generated source for a (composition, theme) — what the\n * image model produced, before any size constraint. Its consumers are print,\n * high-DPI/retina export, and re-derivation; a UI surface must NOT render it.\n *\n * SEPARATE FROM `PRIMARY` DELIBERATELY. The two were one slot until 2026-08-19,\n * and the merge was expensive rather than merely untidy: `resolveBrandAsset`'s\n * fallback ladder ends at `(DEFAULT, PRIMARY)` for ANY composition, so PRIMARY\n * is the universal last-resort every unresolved query in the system degrades\n * to. With the master sitting there, the cheapest-to-reach slot held the most\n * expensive file — Wonder Todos' app-shell sidebar downloaded a 1,043,409-byte\n * master to draw a ~32px mark, while the DARK and MONOCHROME siblings of that\n * same PRIMARY slot were 512x512 derivations two orders of magnitude smaller.\n * `MASTER` is reachable ONLY by an exact query, so full resolution is something\n * a consumer asks for rather than something it is handed by a fallback.\n */\n MASTER = 'MASTER',\n /**\n * The base DISPLAY form of a (composition, theme) — the mark a UI surface\n * renders when it wants \"the logo\" and has no size-constrained slot in mind\n * (app-shell header, sidebar rail, docs navbar). Derived from `MASTER` at a\n * display-sensible size; not pixel-pinned by a platform contract the way the\n * icon purposes below are, but never the unbounded source either.\n *\n * This is also the fallback target of every rung of `resolveBrandAsset` that is\n * not an exact match, so a brand that ships anything at all should ship this.\n */\n PRIMARY = 'PRIMARY',\n /** Browser-chrome favicon (square; ICO/PNG/SVG). */\n FAVICON = 'FAVICON',\n /** iOS home-screen icon (square PNG, 180×180). */\n APPLE_TOUCH_ICON = 'APPLE_TOUCH_ICON',\n /** Android/PWA maskable icon (square PNG, safe-zone padded). */\n MASKABLE_ICON = 'MASKABLE_ICON',\n /** Open-Graph / social share image (1200×630). */\n OG_IMAGE = 'OG_IMAGE',\n /** Email-safe raster (flattened, fixed background for dark clients). */\n EMAIL = 'EMAIL',\n}\n\nexport enum BrandAssetFormat {\n PNG = 'PNG',\n SVG = 'SVG',\n ICO = 'ICO',\n WEBP = 'WEBP',\n}\n\nexport const BrandAssetConfigSchema = z.object({\n /** Stable kebab-case identity, unique within `resolvedAssets`. `derivedFrom` addresses it. */\n ref: NonEmptyStringSchema,\n /** The FORM axis — symbol, wordmark, or locked-up. */\n composition: z.enum(BrandAssetComposition),\n /** The color-context axis. Defaults to the intended full-color mark. */\n theme: z.enum(BrandAssetTheme).default(BrandAssetTheme.DEFAULT),\n /** The technical consumption axis. Defaults to the base DISPLAY form, never the `MASTER` source. */\n purpose: z.enum(BrandAssetPurpose).default(BrandAssetPurpose.PRIMARY),\n /** `APPLICATION`-scoped stored-file reference (never a loose CDN URL). */\n storageRef: NonEmptyStringSchema,\n /** Concrete file format. */\n format: z.enum(BrandAssetFormat),\n /** Pixel width (undefined for scalable SVG). */\n width: z.number().int().positive().optional(),\n /** Pixel height (undefined for scalable SVG). */\n height: z.number().int().positive().optional(),\n /**\n * The `ref` of the asset this one was derived from. `undefined` marks a\n * generated primary (image-model output). Every derived asset must trace\n * back to a generated primary — enforced by the snapshot validator.\n */\n derivedFrom: NonEmptyStringSchema.optional(),\n /** ISO-8601 timestamp the asset was produced. */\n generatedAt: z.iso.datetime(),\n});\nexport type BrandAssetConfig = z.infer<typeof BrandAssetConfigSchema>;\n/** @wildo_source:part:end brand.asset.config */\n"]}
@@ -39,8 +39,11 @@ export declare const BrandRenderPromptResponseSchema: z.ZodObject<{
39
39
  export type BrandRenderPromptResponse = z.infer<typeof BrandRenderPromptResponseSchema>;
40
40
  /**
41
41
  * Parent-process (`LogoGenerationCompanionService.generate`) response — the
42
- * prompt, the agent used, and the generated + persisted assets (the master in
43
- * this slice; derived variants land once the derived-asset pipeline ships).
42
+ * prompt, the agent used, and the generated + persisted assets: the master plus
43
+ * the derived variant set (favicon / OG / mono / dark-light), which the staging
44
+ * helper derives from the cleaned master. A run whose derive step is unavailable
45
+ * degrades to master-only rather than failing, so a caller must not assume the
46
+ * derived variants are present.
44
47
  * Each asset is a `BrandAssetConfig` with its `storageRef` pointing at the
45
48
  * persisted file — the same shape `BrandSnapshot.resolvedAssets` carries.
46
49
  */
@@ -58,7 +61,6 @@ export declare const LogoGenerationResponseSchema: z.ZodObject<{
58
61
  height: z.ZodOptional<z.ZodNumber>;
59
62
  derivedFrom: z.ZodOptional<z.ZodString>;
60
63
  generatedAt: z.ZodISODateTime;
61
- promptDigest: z.ZodOptional<z.ZodString>;
62
64
  }, z.core.$strip>>;
63
65
  trace: z.ZodObject<{
64
66
  brandName: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"brand-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;;;;GAaG;AAEH,oFAAoF;AACpF,eAAO,MAAM,0BAA0B;;;;;;iBAUrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;iBAG1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;iBAKvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"brand-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;;;;GAaG;AAEH,oFAAoF;AACpF,eAAO,MAAM,0BAA0B;;;;;;iBAUrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;iBAG1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;iBAKvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -36,8 +36,11 @@ export const BrandRenderPromptResponseSchema = z.object({
36
36
  });
37
37
  /**
38
38
  * Parent-process (`LogoGenerationCompanionService.generate`) response — the
39
- * prompt, the agent used, and the generated + persisted assets (the master in
40
- * this slice; derived variants land once the derived-asset pipeline ships).
39
+ * prompt, the agent used, and the generated + persisted assets: the master plus
40
+ * the derived variant set (favicon / OG / mono / dark-light), which the staging
41
+ * helper derives from the cleaned master. A run whose derive step is unavailable
42
+ * degrades to master-only rather than failing, so a caller must not assume the
43
+ * derived variants are present.
41
44
  * Each asset is a `BrandAssetConfig` with its `storageRef` pointing at the
42
45
  * persisted file — the same shape `BrandSnapshot.resolvedAssets` carries.
43
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"brand-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;;;;;;;;;;;GAaG;AAEH,oFAAoF;AACpF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,0EAA0E;IAC1E,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACtC,8DAA8D;IAC9D,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE;IAC1B,6EAA6E;IAC7E,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;IACpC,mFAAmF;IACnF,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC9B,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,KAAK,EAAE,0BAA0B;CAClC,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;IAChD,KAAK,EAAE,0BAA0B;CAClC,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { BrandAssetConfigSchema } from './brand-asset.schemas';\n\n/**\n * Contract surface for the result returned by the logo generation pipeline.\n * Anything that crosses a process boundary MUST be Zod-policed on at least one\n * side (same posture as `market-generation.schemas.ts`); the single source of\n * truth lives here so the introspection-subprocess boundary and the parent\n * companion service `parse()` against one schema and cannot drift.\n *\n * - **Subprocess** (`brand-render-prompt` introspection behavior) produces\n * `BrandRenderPromptResponse` — pure image-prompt assembly from the authored\n * `BrandSnapshot` (+ optional market-voice enrichment), NO image call.\n * - **Parent process** (`LogoGenerationCompanionService`) consumes the\n * subprocess response, invokes the image agent, persists the generated\n * asset(s), and produces `LogoGenerationResponse`.\n */\n\n/** Trace shared by both response shapes (the parent passes it through verbatim). */\nexport const BrandGenerationTraceSchema = z.object({\n brandName: z.string().min(1),\n /** The chosen `markType`, or null when no logo direction was authored. */\n markType: z.string().min(1).nullable(),\n /** Whether a `visualTone` was present to shape the prompt. */\n hasVisualTone: z.boolean(),\n /** Whether the market `tonesOfVoice` was folded into the visual register. */\n enrichedFromMarketVoice: z.boolean(),\n /** Non-fatal authoring signals surfaced to the caller (e.g. missing direction). */\n warnings: z.array(z.string()),\n});\nexport type BrandGenerationTrace = z.infer<typeof BrandGenerationTraceSchema>;\n\n/**\n * Subprocess (`brand-render-prompt`) response — the assembled text-to-image\n * prompt plus the trace. No image is generated at this boundary.\n */\nexport const BrandRenderPromptResponseSchema = z.object({\n prompt: z.string().min(1),\n trace: BrandGenerationTraceSchema,\n});\nexport type BrandRenderPromptResponse = z.infer<typeof BrandRenderPromptResponseSchema>;\n\n/**\n * Parent-process (`LogoGenerationCompanionService.generate`) response — the\n * prompt, the agent used, and the generated + persisted assets (the master in\n * this slice; derived variants land once the derived-asset pipeline ships).\n * Each asset is a `BrandAssetConfig` with its `storageRef` pointing at the\n * persisted file — the same shape `BrandSnapshot.resolvedAssets` carries.\n */\nexport const LogoGenerationResponseSchema = z.object({\n prompt: z.string().min(1),\n agentRef: z.string().min(1),\n generatedAssets: z.array(BrandAssetConfigSchema),\n trace: BrandGenerationTraceSchema,\n});\nexport type LogoGenerationResponse = z.infer<typeof LogoGenerationResponseSchema>;\n"]}
1
+ {"version":3,"file":"brand-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;;;;;;;;;;;GAaG;AAEH,oFAAoF;AACpF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,0EAA0E;IAC1E,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACtC,8DAA8D;IAC9D,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE;IAC1B,6EAA6E;IAC7E,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;IACpC,mFAAmF;IACnF,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC9B,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,KAAK,EAAE,0BAA0B;CAClC,CAAC,CAAC;AAGH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;IAChD,KAAK,EAAE,0BAA0B;CAClC,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { BrandAssetConfigSchema } from './brand-asset.schemas';\n\n/**\n * Contract surface for the result returned by the logo generation pipeline.\n * Anything that crosses a process boundary MUST be Zod-policed on at least one\n * side (same posture as `market-generation.schemas.ts`); the single source of\n * truth lives here so the introspection-subprocess boundary and the parent\n * companion service `parse()` against one schema and cannot drift.\n *\n * - **Subprocess** (`brand-render-prompt` introspection behavior) produces\n * `BrandRenderPromptResponse` — pure image-prompt assembly from the authored\n * `BrandSnapshot` (+ optional market-voice enrichment), NO image call.\n * - **Parent process** (`LogoGenerationCompanionService`) consumes the\n * subprocess response, invokes the image agent, persists the generated\n * asset(s), and produces `LogoGenerationResponse`.\n */\n\n/** Trace shared by both response shapes (the parent passes it through verbatim). */\nexport const BrandGenerationTraceSchema = z.object({\n brandName: z.string().min(1),\n /** The chosen `markType`, or null when no logo direction was authored. */\n markType: z.string().min(1).nullable(),\n /** Whether a `visualTone` was present to shape the prompt. */\n hasVisualTone: z.boolean(),\n /** Whether the market `tonesOfVoice` was folded into the visual register. */\n enrichedFromMarketVoice: z.boolean(),\n /** Non-fatal authoring signals surfaced to the caller (e.g. missing direction). */\n warnings: z.array(z.string()),\n});\nexport type BrandGenerationTrace = z.infer<typeof BrandGenerationTraceSchema>;\n\n/**\n * Subprocess (`brand-render-prompt`) response — the assembled text-to-image\n * prompt plus the trace. No image is generated at this boundary.\n */\nexport const BrandRenderPromptResponseSchema = z.object({\n prompt: z.string().min(1),\n trace: BrandGenerationTraceSchema,\n});\nexport type BrandRenderPromptResponse = z.infer<typeof BrandRenderPromptResponseSchema>;\n\n/**\n * Parent-process (`LogoGenerationCompanionService.generate`) response — the\n * prompt, the agent used, and the generated + persisted assets: the master plus\n * the derived variant set (favicon / OG / mono / dark-light), which the staging\n * helper derives from the cleaned master. A run whose derive step is unavailable\n * degrades to master-only rather than failing, so a caller must not assume the\n * derived variants are present.\n * Each asset is a `BrandAssetConfig` with its `storageRef` pointing at the\n * persisted file — the same shape `BrandSnapshot.resolvedAssets` carries.\n */\nexport const LogoGenerationResponseSchema = z.object({\n prompt: z.string().min(1),\n agentRef: z.string().min(1),\n generatedAssets: z.array(BrandAssetConfigSchema),\n trace: BrandGenerationTraceSchema,\n});\nexport type LogoGenerationResponse = z.infer<typeof LogoGenerationResponseSchema>;\n"]}
@@ -16,8 +16,16 @@ export declare enum BrandSnapshotVersion {
16
16
  * exactly one brand identity per application. It is the visual-identity
17
17
  * definition artifact the app-creation top-down catalog reads/writes,
18
18
  * and — via `resolvedAssets` — the **single source of truth for every
19
- * logo/favicon/brand-image consumer in the app** (app shell, website,
20
- * docs, email, PDF, OG, schema.org).
19
+ * logo/favicon/brand-image consumer in the app** that is actually wired:
20
+ * the app shell, the website, the docs site, the website OG image, and the
21
+ * backend runtime configuration that transactional email resolves its logo
22
+ * from.
23
+ *
24
+ * PDF templates and schema.org are NOT among them. The pdf-templates tree
25
+ * contains no brand or logo reference at all, and the website's structured-data
26
+ * payloads are authored by each section's `getStructuredData()` hook rather than
27
+ * resolved from here. Both would arrive as new propagation destinations; until
28
+ * they do, a PDF or a JSON-LD payload that needs the mark carries it by hand.
21
29
  *
22
30
  * **Artifact-family id: `brand-brief`.** This schema is the shape of the
23
31
  * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===
@@ -99,7 +107,6 @@ export declare const BrandSnapshotSchema: z.ZodObject<{
99
107
  height: z.ZodOptional<z.ZodNumber>;
100
108
  derivedFrom: z.ZodOptional<z.ZodString>;
101
109
  generatedAt: z.ZodISODateTime;
102
- promptDigest: z.ZodOptional<z.ZodString>;
103
110
  }, z.core.$strip>>>;
104
111
  }, z.core.$strip>;
105
112
  export type BrandSnapshot = z.infer<typeof BrandSnapshotSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"brand-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;;;;;GAOG;AACH,oBAAY,oBAAoB;IAC9B,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,mDAAmD"}
1
+ {"version":3,"file":"brand-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;;;;;GAOG;AACH,oBAAY,oBAAoB;IAC9B,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,mDAAmD"}
@@ -21,8 +21,16 @@ export var BrandSnapshotVersion;
21
21
  * exactly one brand identity per application. It is the visual-identity
22
22
  * definition artifact the app-creation top-down catalog reads/writes,
23
23
  * and — via `resolvedAssets` — the **single source of truth for every
24
- * logo/favicon/brand-image consumer in the app** (app shell, website,
25
- * docs, email, PDF, OG, schema.org).
24
+ * logo/favicon/brand-image consumer in the app** that is actually wired:
25
+ * the app shell, the website, the docs site, the website OG image, and the
26
+ * backend runtime configuration that transactional email resolves its logo
27
+ * from.
28
+ *
29
+ * PDF templates and schema.org are NOT among them. The pdf-templates tree
30
+ * contains no brand or logo reference at all, and the website's structured-data
31
+ * payloads are authored by each section's `getStructuredData()` hook rather than
32
+ * resolved from here. Both would arrive as new propagation destinations; until
33
+ * they do, a PDF or a JSON-LD payload that needs the mark carries it by hand.
26
34
  *
27
35
  * **Artifact-family id: `brand-brief`.** This schema is the shape of the
28
36
  * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===
@@ -1 +1 @@
1
- {"version":3,"file":"brand-snapshot.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;AACX,CAAC,EAFW,oBAAoB,KAApB,oBAAoB,QAE/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAC;IACtE,oEAAoE;IACpE,IAAI,EAAE,qBAAqB;IAC3B,4EAA4E;IAC5E,aAAa,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACxD,kFAAkF;IAClF,UAAU,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IAClD;;;;;OAKG;IACH,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC5D,CAAC,CAAC;AAEH,mDAAmD","sourcesContent":["import { z } from 'zod';\n\nimport { BrandAssetConfigSchema } from './brand-asset.schemas';\nimport { BrandLogoDirectionConfigSchema } from './brand-logo-direction.schemas';\nimport { BrandNameConfigSchema } from './brand-name.schemas';\nimport { BrandVisualToneConfigSchema } from './brand-visual-tone.schemas';\n\n/**\n * @wildo_source:part:start brand.snapshot.config facet:layer:specification facet:family:brand\n *\n * Versioning for the brand-snapshot payload format itself. `V1` — initial\n * shape (name + logo direction + visual tone + resolved assets). The\n * shape grows additively across versions; the `version` field is the\n * explicit marker for consumers that need to branch on era.\n */\nexport enum BrandSnapshotVersion {\n V1 = 'v1',\n}\n\n/**\n * THE brand-snapshot payload — a **single aggregate per product**\n * (vision/market-snapshot style, NOT a keyed entries map): there is\n * exactly one brand identity per application. It is the visual-identity\n * definition artifact the app-creation top-down catalog reads/writes,\n * and — via `resolvedAssets` — the **single source of truth for every\n * logo/favicon/brand-image consumer in the app** (app shell, website,\n * docs, email, PDF, OG, schema.org).\n *\n * **Artifact-family id: `brand-brief`.** This schema is the shape of the\n * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===\n * 'brand-brief'`. As with `vision-brief`, the `family` vocabulary is an\n * OPEN string (owned by the assertion surface, not a frozen enum), so it\n * is intentionally NOT re-declared as a constant here; this note is the\n * single place that ties the `BrandSnapshot` SHAPE to the `brand-brief`\n * family NAME so the brand-identity playbook and the companion logo step\n * select it consistently.\n *\n * Shape decision (framework mindset — each member carries its own\n * semantic weight):\n * - **`name`** — REQUIRED. A brand without a name has nothing for a mark\n * to render.\n * - **`logoDirection`** / **`visualTone`** — OPTIONAL singletons, elicited\n * progressively (the brand-identity playbook fills them after the name).\n * Absence is a first-class \"not yet directed\" state surfaced as a WARN\n * by `validateBrandSnapshot`, never a parse failure.\n * - **`resolvedAssets`** — the collection the COMPANION logo step\n * populates (empty until generation runs), each entry described by the\n * three orthogonal axes (composition × theme × purpose) rather than a\n * flat role. This is the SSOT half: authored direction in the\n * singletons, produced assets here.\n *\n * The direction singletons are the INPUT to logo generation (enriched by\n * vision idea/mission + market `tonesOfVoice` in the companion\n * introspection subprocess); `resolvedAssets` is its OUTPUT. Authored in\n * English (like the vision + market families).\n */\nexport const BrandSnapshotSchema = z.object({\n version: z.enum(BrandSnapshotVersion).default(BrandSnapshotVersion.V1),\n /** The brand name — the anchor lexical identity. Always present. */\n name: BrandNameConfigSchema,\n /** The logo creative brief — elicited progressively; WARNed when absent. */\n logoDirection: BrandLogoDirectionConfigSchema.optional(),\n /** The visual aesthetic register — elicited progressively; WARNed when absent. */\n visualTone: BrandVisualToneConfigSchema.optional(),\n /**\n * The generated + derived assets, each described by the three\n * orthogonal axes (composition × theme × purpose). Populated by the\n * companion logo-generation step; empty until it runs. THE source of\n * truth every brand-image consumer resolves against.\n */\n resolvedAssets: z.array(BrandAssetConfigSchema).default([]),\n});\nexport type BrandSnapshot = z.infer<typeof BrandSnapshotSchema>;\n/** @wildo_source:part:end brand.snapshot.config */\n"]}
1
+ {"version":3,"file":"brand-snapshot.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/brand/brand-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;AACX,CAAC,EAFW,oBAAoB,KAApB,oBAAoB,QAE/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAC;IACtE,oEAAoE;IACpE,IAAI,EAAE,qBAAqB;IAC3B,4EAA4E;IAC5E,aAAa,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACxD,kFAAkF;IAClF,UAAU,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IAClD;;;;;OAKG;IACH,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC5D,CAAC,CAAC;AAEH,mDAAmD","sourcesContent":["import { z } from 'zod';\n\nimport { BrandAssetConfigSchema } from './brand-asset.schemas';\nimport { BrandLogoDirectionConfigSchema } from './brand-logo-direction.schemas';\nimport { BrandNameConfigSchema } from './brand-name.schemas';\nimport { BrandVisualToneConfigSchema } from './brand-visual-tone.schemas';\n\n/**\n * @wildo_source:part:start brand.snapshot.config facet:layer:specification facet:family:brand\n *\n * Versioning for the brand-snapshot payload format itself. `V1` — initial\n * shape (name + logo direction + visual tone + resolved assets). The\n * shape grows additively across versions; the `version` field is the\n * explicit marker for consumers that need to branch on era.\n */\nexport enum BrandSnapshotVersion {\n V1 = 'v1',\n}\n\n/**\n * THE brand-snapshot payload — a **single aggregate per product**\n * (vision/market-snapshot style, NOT a keyed entries map): there is\n * exactly one brand identity per application. It is the visual-identity\n * definition artifact the app-creation top-down catalog reads/writes,\n * and — via `resolvedAssets` — the **single source of truth for every\n * logo/favicon/brand-image consumer in the app** that is actually wired:\n * the app shell, the website, the docs site, the website OG image, and the\n * backend runtime configuration that transactional email resolves its logo\n * from.\n *\n * PDF templates and schema.org are NOT among them. The pdf-templates tree\n * contains no brand or logo reference at all, and the website's structured-data\n * payloads are authored by each section's `getStructuredData()` hook rather than\n * resolved from here. Both would arrive as new propagation destinations; until\n * they do, a PDF or a JSON-LD payload that needs the mark carries it by hand.\n *\n * **Artifact-family id: `brand-brief`.** This schema is the shape of the\n * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===\n * 'brand-brief'`. As with `vision-brief`, the `family` vocabulary is an\n * OPEN string (owned by the assertion surface, not a frozen enum), so it\n * is intentionally NOT re-declared as a constant here; this note is the\n * single place that ties the `BrandSnapshot` SHAPE to the `brand-brief`\n * family NAME so the brand-identity playbook and the companion logo step\n * select it consistently.\n *\n * Shape decision (framework mindset — each member carries its own\n * semantic weight):\n * - **`name`** — REQUIRED. A brand without a name has nothing for a mark\n * to render.\n * - **`logoDirection`** / **`visualTone`** — OPTIONAL singletons, elicited\n * progressively (the brand-identity playbook fills them after the name).\n * Absence is a first-class \"not yet directed\" state surfaced as a WARN\n * by `validateBrandSnapshot`, never a parse failure.\n * - **`resolvedAssets`** — the collection the COMPANION logo step\n * populates (empty until generation runs), each entry described by the\n * three orthogonal axes (composition × theme × purpose) rather than a\n * flat role. This is the SSOT half: authored direction in the\n * singletons, produced assets here.\n *\n * The direction singletons are the INPUT to logo generation (enriched by\n * vision idea/mission + market `tonesOfVoice` in the companion\n * introspection subprocess); `resolvedAssets` is its OUTPUT. Authored in\n * English (like the vision + market families).\n */\nexport const BrandSnapshotSchema = z.object({\n version: z.enum(BrandSnapshotVersion).default(BrandSnapshotVersion.V1),\n /** The brand name — the anchor lexical identity. Always present. */\n name: BrandNameConfigSchema,\n /** The logo creative brief — elicited progressively; WARNed when absent. */\n logoDirection: BrandLogoDirectionConfigSchema.optional(),\n /** The visual aesthetic register — elicited progressively; WARNed when absent. */\n visualTone: BrandVisualToneConfigSchema.optional(),\n /**\n * The generated + derived assets, each described by the three\n * orthogonal axes (composition × theme × purpose). Populated by the\n * companion logo-generation step; empty until it runs. THE source of\n * truth every brand-image consumer resolves against.\n */\n resolvedAssets: z.array(BrandAssetConfigSchema).default([]),\n});\nexport type BrandSnapshot = z.infer<typeof BrandSnapshotSchema>;\n/** @wildo_source:part:end brand.snapshot.config */\n"]}
@@ -0,0 +1,3 @@
1
+ import type { FamilyAspectsDeclaration } from '../family-aspects.schemas';
2
+ export declare const BRAND_FAMILY_ASPECTS: FamilyAspectsDeclaration;
3
+ //# sourceMappingURL=brand.family-aspects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/brand/brand.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAO1E,eAAO,MAAM,oBAAoB,EAAE,wBA2ClC,CAAC"}
@@ -0,0 +1,51 @@
1
+ import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas.js';
2
+ import { FamilyAspectKind } from '../family-aspects.schemas.js';
3
+ import { BrandNameConfigSchema } from './brand-name.schemas.js';
4
+ import { BrandLogoDirectionConfigSchema } from './brand-logo-direction.schemas.js';
5
+ import { BrandVisualToneConfigSchema } from './brand-visual-tone.schemas.js';
6
+ import { BrandAssetConfigSchema } from './brand-asset.schemas.js';
7
+ export const BRAND_FAMILY_ASPECTS = {
8
+ schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.BRAND_SNAPSHOT,
9
+ aspects: [
10
+ {
11
+ key: 'brand.name',
12
+ snapshotPath: 'name',
13
+ kind: FamilyAspectKind.SINGLETON,
14
+ itemSchema: BrandNameConfigSchema,
15
+ headlineField: 'brandName',
16
+ edges: [],
17
+ },
18
+ {
19
+ key: 'brand.logo-direction',
20
+ snapshotPath: 'logoDirection',
21
+ kind: FamilyAspectKind.SINGLETON,
22
+ itemSchema: BrandLogoDirectionConfigSchema,
23
+ headlineField: 'markType',
24
+ edges: [],
25
+ },
26
+ {
27
+ key: 'brand.visual-tone',
28
+ snapshotPath: 'visualTone',
29
+ kind: FamilyAspectKind.SINGLETON,
30
+ itemSchema: BrandVisualToneConfigSchema,
31
+ headlineField: 'mood',
32
+ edges: [],
33
+ },
34
+ {
35
+ key: 'brand.asset',
36
+ snapshotPath: 'resolvedAssets',
37
+ kind: FamilyAspectKind.COLLECTION,
38
+ itemSchema: BrandAssetConfigSchema,
39
+ businessKey: 'ref',
40
+ headlineField: 'ref',
41
+ edges: [
42
+ // Derivation provenance is a SELF-edge: everything except MASTER derives from a sibling.
43
+ { field: 'derivedFrom', targetAspects: ['brand.asset'] },
44
+ ],
45
+ nonEdgeRefFields: {
46
+ storageRef: 'APPLICATION-scoped stored-file locator — a storage address, not an aspect key',
47
+ },
48
+ },
49
+ ],
50
+ };
51
+ //# sourceMappingURL=brand.family-aspects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/brand/brand.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,mGAAmG,CAAC;AAEpK,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAC,MAAM,oBAAoB,GAA6B;IAC5D,SAAS,EAAE,+CAA+C,CAAC,cAAc;IACzE,OAAO,EAAE;QACP;YACE,GAAG,EAAE,YAAY;YACjB,YAAY,EAAE,MAAM;YACpB,IAAI,EAAE,gBAAgB,CAAC,SAAS;YAChC,UAAU,EAAE,qBAAqB;YACjC,aAAa,EAAE,WAAW;YAC1B,KAAK,EAAE,EAAE;SACV;QACD;YACE,GAAG,EAAE,sBAAsB;YAC3B,YAAY,EAAE,eAAe;YAC7B,IAAI,EAAE,gBAAgB,CAAC,SAAS;YAChC,UAAU,EAAE,8BAA8B;YAC1C,aAAa,EAAE,UAAU;YACzB,KAAK,EAAE,EAAE;SACV;QACD;YACE,GAAG,EAAE,mBAAmB;YACxB,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,SAAS;YAChC,UAAU,EAAE,2BAA2B;YACvC,aAAa,EAAE,MAAM;YACrB,KAAK,EAAE,EAAE;SACV;QACD;YACE,GAAG,EAAE,aAAa;YAClB,YAAY,EAAE,gBAAgB;YAC9B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,sBAAsB;YAClC,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,KAAK;YACpB,KAAK,EAAE;gBACL,yFAAyF;gBACzF,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,aAAa,CAAC,EAAE;aACzD;YACD,gBAAgB,EAAE;gBAChB,UAAU,EAAE,+EAA+E;aAC5F;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { BrandNameConfigSchema } from './brand-name.schemas';\nimport { BrandLogoDirectionConfigSchema } from './brand-logo-direction.schemas';\nimport { BrandVisualToneConfigSchema } from './brand-visual-tone.schemas';\nimport { BrandAssetConfigSchema } from './brand-asset.schemas';\n\nexport const BRAND_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.BRAND_SNAPSHOT,\n aspects: [\n {\n key: 'brand.name',\n snapshotPath: 'name',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: BrandNameConfigSchema,\n headlineField: 'brandName',\n edges: [],\n },\n {\n key: 'brand.logo-direction',\n snapshotPath: 'logoDirection',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: BrandLogoDirectionConfigSchema,\n headlineField: 'markType',\n edges: [],\n },\n {\n key: 'brand.visual-tone',\n snapshotPath: 'visualTone',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: BrandVisualToneConfigSchema,\n headlineField: 'mood',\n edges: [],\n },\n {\n key: 'brand.asset',\n snapshotPath: 'resolvedAssets',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: BrandAssetConfigSchema,\n businessKey: 'ref',\n headlineField: 'ref',\n edges: [\n // Derivation provenance is a SELF-edge: everything except MASTER derives from a sibling.\n { field: 'derivedFrom', targetAspects: ['brand.asset'] },\n ],\n nonEdgeRefFields: {\n storageRef: 'APPLICATION-scoped stored-file locator — a storage address, not an aspect key',\n },\n },\n ],\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AACjH,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AAYzC;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;IAMxC,qEAAqE;;;kBAGrE,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,+FAA+F;AAC/F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;QAP7C,qEAAqE;;;;kBAerE,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,8FAA8F;AAC9F,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,CAcpF"}
1
+ {"version":3,"file":"build-plan-task-graph-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AAEjH,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AAYzC;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;IAMxC,qEAAqE;;;kBAGrE,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,+FAA+F;AAC/F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;QAP7C,qEAAqE;;;;kBAqBrE,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,8FAA8F;AAC9F,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,CAiBpF"}
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { MetaWorkflow_FunctionalTopic } from '../../application-creation/playbooks.application-creation.schemas.js';
3
+ import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
3
4
  import { BUILD_PLAN_TASK_REF_PREFIX, BuildPlanTaskGraphSchema, BuildPlanTaskGraphVersion, BuildPlanTaskTargetSchema, } from './build-plan-task-graph.schemas.js';
4
5
  const SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
5
6
  /**
@@ -30,11 +31,17 @@ export const BuildPlanTaskGenerationSchema = z.strictObject({
30
31
  export const BuildPlanTaskGraphGenerationSchema = z.strictObject({
31
32
  tasks: z.array(BuildPlanTaskGenerationSchema).min(1),
32
33
  }).superRefine((generated, context) => {
34
+ // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately
35
+ // not injective: `todo-schema` and `build-task-todo-schema` are two distinct slugs that both become
36
+ // `build-task-todo-schema`. Checking the slug would let that pair through and produce two tasks sharing
37
+ // one ref, which makes every `prerequisiteTaskRefs` edge naming it ambiguous -- and the prerequisite
38
+ // graph is what decides execution order, so an ambiguous node is not a cosmetic problem.
33
39
  const seen = new Set();
34
40
  generated.tasks.forEach((task, index) => {
35
- if (seen.has(task.slug))
36
- context.addIssue({ code: 'custom', message: `duplicate build task slug "${task.slug}"`, path: ['tasks', index, 'slug'] });
37
- seen.add(task.slug);
41
+ const taskRef = applyFamilyRefPrefix(task.slug, BUILD_PLAN_TASK_REF_PREFIX);
42
+ if (seen.has(taskRef))
43
+ context.addIssue({ code: 'custom', message: `duplicate build task slug "${task.slug}" (normalizes to "${taskRef}")`, path: ['tasks', index, 'slug'] });
44
+ seen.add(taskRef);
38
45
  });
39
46
  });
40
47
  /** Normalize strict provider output into the persisted family (stamping refs and version). */
@@ -43,12 +50,15 @@ export function parseBuildPlanTaskGraphGeneration(input) {
43
50
  return BuildPlanTaskGraphSchema.parse({
44
51
  version: BuildPlanTaskGraphVersion.V1,
45
52
  tasks: generated.tasks.map((task) => ({
46
- taskRef: `${BUILD_PLAN_TASK_REF_PREFIX}${task.slug}`,
53
+ taskRef: applyFamilyRefPrefix(task.slug, BUILD_PLAN_TASK_REF_PREFIX),
47
54
  objective: task.objective,
48
55
  target: task.target,
49
56
  functionalTopic: task.functionalTopic,
50
57
  skillRefs: task.skillRefs,
51
- prerequisiteTaskRefs: task.prerequisiteSlugs.map((slug) => `${BUILD_PLAN_TASK_REF_PREFIX}${slug}`),
58
+ // Stamped through the SAME normalizer as `taskRef` above, and that is the point rather than a
59
+ // tidiness: a node and the edges naming it are stamped by two separate expressions, so a model that
60
+ // prefixes one and not the other produces two different strings for one task and orphans the edge.
61
+ prerequisiteTaskRefs: task.prerequisiteSlugs.map((slug) => applyFamilyRefPrefix(slug, BUILD_PLAN_TASK_REF_PREFIX)),
52
62
  servesRefs: task.servesRefs,
53
63
  })),
54
64
  });
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AACjH,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,GAE1B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAClE;;;;;GAKG;AACH,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AACtE,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,oBAAoB;IAC/B,MAAM,EAAE,yBAAyB;IACjC,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACzC,qEAAqE;IACrE,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CAC1C,CAAC,CAAC;AAGH,+FAA+F;AAC/F,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/D,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CACrD,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE;IACpC,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACtC,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;YAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,8BAA8B,IAAI,CAAC,IAAI,GAAG,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;QACnJ,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAGH,8FAA8F;AAC9F,MAAM,UAAU,iCAAiC,CAAC,KAAc;IAC9D,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAClE,OAAO,wBAAwB,CAAC,KAAK,CAAC;QACpC,OAAO,EAAE,yBAAyB,CAAC,EAAE;QACrC,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACpC,OAAO,EAAE,GAAG,0BAA0B,GAAG,IAAI,CAAC,IAAI,EAAE;YACpD,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,oBAAoB,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,0BAA0B,GAAG,IAAI,EAAE,CAAC;YAClG,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { MetaWorkflow_FunctionalTopic } from '../../application-creation/playbooks.application-creation.schemas';\nimport {\n BUILD_PLAN_TASK_REF_PREFIX,\n BuildPlanTaskGraphSchema,\n BuildPlanTaskGraphVersion,\n BuildPlanTaskTargetSchema,\n type BuildPlanTaskGraph,\n} from './build-plan-task-graph.schemas';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n/**\n * A skill ref is the skill's FOLDER id in the app-knowledge catalog, which is\n * also its `SKILL.md` frontmatter `name` — one id, kebab-case. The host refuses\n * any skill name outside `[a-z0-9-]+`, so a ref that does not match this shape\n * can never resolve to an installed skill.\n */\nconst SkillRefSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Strict provider-facing build task. The provider supplies stable semantic\n * slugs; the trusted runtime stamps the canonical task-ref prefix and the\n * payload version. No path, command, prompt or runtime control is\n * representable here — by construction, not by instruction.\n */\nexport const BuildPlanTaskGenerationSchema = z.strictObject({\n slug: SlugSchema,\n objective: NonEmptyStringSchema,\n target: BuildPlanTaskTargetSchema,\n functionalTopic: z.enum(MetaWorkflow_FunctionalTopic),\n skillRefs: z.array(SkillRefSchema).min(1),\n /** Slugs (not refs) of prerequisite tasks in the same generation. */\n prerequisiteSlugs: z.array(SlugSchema),\n servesRefs: z.array(NonEmptyStringSchema),\n});\nexport type BuildPlanTaskGeneration = z.infer<typeof BuildPlanTaskGenerationSchema>;\n\n/** One complete provider response for the build-plan family: a non-empty ordered task list. */\nexport const BuildPlanTaskGraphGenerationSchema = z.strictObject({\n tasks: z.array(BuildPlanTaskGenerationSchema).min(1),\n}).superRefine((generated, context) => {\n const seen = new Set<string>();\n generated.tasks.forEach((task, index) => {\n if (seen.has(task.slug)) context.addIssue({ code: 'custom', message: `duplicate build task slug \"${task.slug}\"`, path: ['tasks', index, 'slug'] });\n seen.add(task.slug);\n });\n});\nexport type BuildPlanTaskGraphGeneration = z.infer<typeof BuildPlanTaskGraphGenerationSchema>;\n\n/** Normalize strict provider output into the persisted family (stamping refs and version). */\nexport function parseBuildPlanTaskGraphGeneration(input: unknown): BuildPlanTaskGraph {\n const generated = BuildPlanTaskGraphGenerationSchema.parse(input);\n return BuildPlanTaskGraphSchema.parse({\n version: BuildPlanTaskGraphVersion.V1,\n tasks: generated.tasks.map((task) => ({\n taskRef: `${BUILD_PLAN_TASK_REF_PREFIX}${task.slug}`,\n objective: task.objective,\n target: task.target,\n functionalTopic: task.functionalTopic,\n skillRefs: task.skillRefs,\n prerequisiteTaskRefs: task.prerequisiteSlugs.map((slug) => `${BUILD_PLAN_TASK_REF_PREFIX}${slug}`),\n servesRefs: task.servesRefs,\n })),\n });\n}\n"]}
1
+ {"version":3,"file":"build-plan-task-graph-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AACjH,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,GAE1B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAClE;;;;;GAKG;AACH,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AACtE,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,oBAAoB;IAC/B,MAAM,EAAE,yBAAyB;IACjC,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACzC,qEAAqE;IACrE,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CAC1C,CAAC,CAAC;AAGH,+FAA+F;AAC/F,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/D,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CACrD,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE;IACpC,sGAAsG;IACtG,oGAAoG;IACpG,wGAAwG;IACxG,qGAAqG;IACrG,yFAAyF;IACzF,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACtC,MAAM,OAAO,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAC;QAC5E,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC;YAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,8BAA8B,IAAI,CAAC,IAAI,qBAAqB,OAAO,IAAI,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;QAC9K,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACpB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAGH,8FAA8F;AAC9F,MAAM,UAAU,iCAAiC,CAAC,KAAc;IAC9D,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAClE,OAAO,wBAAwB,CAAC,KAAK,CAAC;QACpC,OAAO,EAAE,yBAAyB,CAAC,EAAE;QACrC,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACpC,OAAO,EAAE,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,0BAA0B,CAAC;YACpE,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,8FAA8F;YAC9F,oGAAoG;YACpG,mGAAmG;YACnG,oBAAoB,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAC;YAClH,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { MetaWorkflow_FunctionalTopic } from '../../application-creation/playbooks.application-creation.schemas';\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n BUILD_PLAN_TASK_REF_PREFIX,\n BuildPlanTaskGraphSchema,\n BuildPlanTaskGraphVersion,\n BuildPlanTaskTargetSchema,\n type BuildPlanTaskGraph,\n} from './build-plan-task-graph.schemas';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n/**\n * A skill ref is the skill's FOLDER id in the app-knowledge catalog, which is\n * also its `SKILL.md` frontmatter `name` — one id, kebab-case. The host refuses\n * any skill name outside `[a-z0-9-]+`, so a ref that does not match this shape\n * can never resolve to an installed skill.\n */\nconst SkillRefSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Strict provider-facing build task. The provider supplies stable semantic\n * slugs; the trusted runtime stamps the canonical task-ref prefix and the\n * payload version. No path, command, prompt or runtime control is\n * representable here — by construction, not by instruction.\n */\nexport const BuildPlanTaskGenerationSchema = z.strictObject({\n slug: SlugSchema,\n objective: NonEmptyStringSchema,\n target: BuildPlanTaskTargetSchema,\n functionalTopic: z.enum(MetaWorkflow_FunctionalTopic),\n skillRefs: z.array(SkillRefSchema).min(1),\n /** Slugs (not refs) of prerequisite tasks in the same generation. */\n prerequisiteSlugs: z.array(SlugSchema),\n servesRefs: z.array(NonEmptyStringSchema),\n});\nexport type BuildPlanTaskGeneration = z.infer<typeof BuildPlanTaskGenerationSchema>;\n\n/** One complete provider response for the build-plan family: a non-empty ordered task list. */\nexport const BuildPlanTaskGraphGenerationSchema = z.strictObject({\n tasks: z.array(BuildPlanTaskGenerationSchema).min(1),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `todo-schema` and `build-task-todo-schema` are two distinct slugs that both become\n // `build-task-todo-schema`. Checking the slug would let that pair through and produce two tasks sharing\n // one ref, which makes every `prerequisiteTaskRefs` edge naming it ambiguous -- and the prerequisite\n // graph is what decides execution order, so an ambiguous node is not a cosmetic problem.\n const seen = new Set<string>();\n generated.tasks.forEach((task, index) => {\n const taskRef = applyFamilyRefPrefix(task.slug, BUILD_PLAN_TASK_REF_PREFIX);\n if (seen.has(taskRef)) context.addIssue({ code: 'custom', message: `duplicate build task slug \"${task.slug}\" (normalizes to \"${taskRef}\")`, path: ['tasks', index, 'slug'] });\n seen.add(taskRef);\n });\n});\nexport type BuildPlanTaskGraphGeneration = z.infer<typeof BuildPlanTaskGraphGenerationSchema>;\n\n/** Normalize strict provider output into the persisted family (stamping refs and version). */\nexport function parseBuildPlanTaskGraphGeneration(input: unknown): BuildPlanTaskGraph {\n const generated = BuildPlanTaskGraphGenerationSchema.parse(input);\n return BuildPlanTaskGraphSchema.parse({\n version: BuildPlanTaskGraphVersion.V1,\n tasks: generated.tasks.map((task) => ({\n taskRef: applyFamilyRefPrefix(task.slug, BUILD_PLAN_TASK_REF_PREFIX),\n objective: task.objective,\n target: task.target,\n functionalTopic: task.functionalTopic,\n skillRefs: task.skillRefs,\n // Stamped through the SAME normalizer as `taskRef` above, and that is the point rather than a\n // tidiness: a node and the edges naming it are stamped by two separate expressions, so a model that\n // prefixes one and not the other produces two different strings for one task and orphans the edge.\n prerequisiteTaskRefs: task.prerequisiteSlugs.map((slug) => applyFamilyRefPrefix(slug, BUILD_PLAN_TASK_REF_PREFIX)),\n servesRefs: task.servesRefs,\n })),\n });\n}\n"]}
@@ -3,18 +3,55 @@ import { type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';
3
3
  export declare enum BuildPlanTaskGraphFindingCode {
4
4
  /** A prerequisite chain returns to its own task: no valid dispatch order exists. */
5
5
  PREREQUISITE_CYCLE = "PREREQUISITE_CYCLE",
6
- /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) somewhere in the graph. */
7
- RESOURCE_STAGE_WITHOUT_PREDECESSOR = "RESOURCE_STAGE_WITHOUT_PREDECESSOR"
6
+ /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */
7
+ RESOURCE_STAGE_WITHOUT_PREDECESSOR = "RESOURCE_STAGE_WITHOUT_PREDECESSOR",
8
+ /**
9
+ * The predecessor stage IS in the graph, and this task does not depend on it —
10
+ * so a dispatch order exists that runs this stage FIRST.
11
+ *
12
+ * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the
13
+ * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a
14
+ * resource whose schema already stands in the tree and needs no task, which is why that finding is
15
+ * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being
16
+ * (re)authored by a task in this same graph, and then permits the config to be written first.
17
+ *
18
+ * It is invisible without this check because the two mechanisms that decide ordering and the one
19
+ * that reports on it were reading different things: dispatch order comes SOLELY from
20
+ * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only
21
+ * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was
22
+ * therefore simultaneously finding-free and immediately ready, and a coding agent could be
23
+ * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.
24
+ */
25
+ RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR = "RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR"
8
26
  }
9
27
  export interface BuildPlanTaskGraphFinding {
10
28
  readonly code: BuildPlanTaskGraphFindingCode;
11
29
  readonly taskRef: string | null;
12
30
  readonly message: string;
13
31
  }
32
+ /**
33
+ * The finding codes that must block a landing; everything else is an authoring warning.
34
+ *
35
+ * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity
36
+ * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be
37
+ * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which
38
+ * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused
39
+ * it, with nothing naming the disagreement.
40
+ *
41
+ * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits
42
+ * none at all; an undeclared stage edge admits one that builds config before schema). Everything
43
+ * else here is a judgement about authoring taste, which the creator's review owns.
44
+ */
45
+ export declare const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[];
14
46
  /**
15
47
  * Validate what Zod cannot: prerequisite cycles and the per-resource stage
16
48
  * sequence. Returns findings rather than throwing so a caller can treat a
17
- * cycle as a hard floor and a missing predecessor as an authoring warning.
49
+ * cycle as a hard floor and a missing predecessor as an authoring warning;
50
+ * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.
51
+ *
52
+ * The stage-sequence check asks TWO questions, because "the predecessor exists"
53
+ * and "this task waits for it" are different claims and only the second one
54
+ * constrains what the host may dispatch.
18
55
  */
19
56
  export declare function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[];
20
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE3H,4GAA4G;AAC5G,oBAAY,6BAA6B;IACvC,oFAAoF;IACpF,kBAAkB,uBAAuB;IACzC,yIAAyI;IACzI,kCAAkC,uCAAuC;CAC1E;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AASD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,yBAAyB,EAAE,CAyC1G;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAExJ"}
1
+ {"version":3,"file":"build-plan-task-graph-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE3H,4GAA4G;AAC5G,oBAAY,6BAA6B;IACvC,oFAAoF;IACpF,kBAAkB,uBAAuB;IACzC,wIAAwI;IACxI,kCAAkC,uCAAuC;IACzE;;;;;;;;;;;;;;;;OAgBG;IACH,uCAAuC,4CAA4C;CACpF;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sCAAsC,EAAE,SAAS,6BAA6B,EAG1F,CAAC;AASF;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,yBAAyB,EAAE,CAgF1G;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAExJ"}