@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
@@ -0,0 +1,40 @@
1
+ import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas.js';
2
+ import { FamilyAspectKind } from '../family-aspects.schemas.js';
3
+ import { ApplicationProcessorDeclarationSchema } from './processor-register.schemas.js';
4
+ /**
5
+ * The processor register's aspects — one row per party that holds this application's personal data.
6
+ *
7
+ * ## No business key, deliberately
8
+ *
9
+ * The row is a discriminated union whose two arms key on DIFFERENT fields: a configured provider by
10
+ * `providerRef`, an authored subprocessor by `subprocessorRef`. Those are addresses in different
11
+ * spaces — the schema's own uniqueness check keeps them in separate namespaces precisely so a hosting
12
+ * company sharing a slug with a configured provider is not refused — so there is no single field that
13
+ * identifies a row across the union. INDEXED is the honest identity; naming either arm's key would
14
+ * make half the rows unaddressable.
15
+ *
16
+ * Both refs are therefore declared as non-edge refs: they resolve into vocabularies (the application's
17
+ * configured providers, and a slug the operator coins), not into another aspect.
18
+ *
19
+ * `legalEntityName` headlines because it is the reviewable fact. "Anthropic" is a brand; a notice, a
20
+ * DPA and a supervisory authority all need the party an obligation actually binds.
21
+ */
22
+ export const PROCESSOR_REGISTER_FAMILY_ASPECTS = {
23
+ schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_PROCESSOR_REGISTER,
24
+ aspects: [
25
+ {
26
+ key: 'processor-register.processor',
27
+ snapshotPath: 'processors',
28
+ kind: FamilyAspectKind.COLLECTION,
29
+ // A discriminated union (CONFIGURED_PROVIDER | AUTHORED) — the drift pins read its MERGED shape.
30
+ itemSchema: ApplicationProcessorDeclarationSchema,
31
+ headlineField: 'legalEntityName',
32
+ edges: [],
33
+ nonEdgeRefFields: {
34
+ providerRef: 'the configured provider this entry describes — a composition key, not an aspect',
35
+ subprocessorRef: 'an operator-coined slug for a subprocessor nothing configures',
36
+ },
37
+ },
38
+ ],
39
+ };
40
+ //# sourceMappingURL=processor-register.family-aspects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processor-register.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/processor-register.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,qCAAqC,EAAE,MAAM,8BAA8B,CAAC;AAErF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA6B;IACzE,SAAS,EAAE,+CAA+C,CAAC,8BAA8B;IACzF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,8BAA8B;YACnC,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,iGAAiG;YACjG,UAAU,EAAE,qCAAqC;YACjD,aAAa,EAAE,iBAAiB;YAChC,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,WAAW,EAAE,iFAAiF;gBAC9F,eAAe,EAAE,+DAA+D;aACjF;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 { ApplicationProcessorDeclarationSchema } from './processor-register.schemas';\n\n/**\n * The processor register's aspects — one row per party that holds this application's personal data.\n *\n * ## No business key, deliberately\n *\n * The row is a discriminated union whose two arms key on DIFFERENT fields: a configured provider by\n * `providerRef`, an authored subprocessor by `subprocessorRef`. Those are addresses in different\n * spaces — the schema's own uniqueness check keeps them in separate namespaces precisely so a hosting\n * company sharing a slug with a configured provider is not refused — so there is no single field that\n * identifies a row across the union. INDEXED is the honest identity; naming either arm's key would\n * make half the rows unaddressable.\n *\n * Both refs are therefore declared as non-edge refs: they resolve into vocabularies (the application's\n * configured providers, and a slug the operator coins), not into another aspect.\n *\n * `legalEntityName` headlines because it is the reviewable fact. \"Anthropic\" is a brand; a notice, a\n * DPA and a supervisory authority all need the party an obligation actually binds.\n */\nexport const PROCESSOR_REGISTER_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_PROCESSOR_REGISTER,\n aspects: [\n {\n key: 'processor-register.processor',\n snapshotPath: 'processors',\n kind: FamilyAspectKind.COLLECTION,\n // A discriminated union (CONFIGURED_PROVIDER | AUTHORED) — the drift pins read its MERGED shape.\n itemSchema: ApplicationProcessorDeclarationSchema,\n headlineField: 'legalEntityName',\n edges: [],\n nonEdgeRefFields: {\n providerRef: 'the configured provider this entry describes — a composition key, not an aspect',\n subprocessorRef: 'an operator-coined slug for a subprocessor nothing configures',\n },\n },\n ],\n};\n"]}
@@ -3,7 +3,18 @@ import type { StructuralTranslationSlotSpecification, TranslationSlotSpecificati
3
3
  interface PublicCodeSymbolRef {
4
4
  packageName: string;
5
5
  exportName: string;
6
+ /**
7
+ * PUBLIC SUBPATH only — a subpath the owning package declares in
8
+ * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module
9
+ * that has no public door, author `filePathHint` instead (issue #150).
10
+ */
6
11
  importPath?: string;
12
+ /**
13
+ * MODULE LOCATION inside the owning package — a navigation aid, never concatenated
14
+ * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the
15
+ * canonical contract this narrows.
16
+ */
17
+ filePathHint?: string;
7
18
  }
8
19
  interface CompositeViewDefinitionSpecRef {
9
20
  translationRef: string;
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/composite-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EACV,sCAAsC,EACtC,+BAA+B,EAChC,MAAM,0CAA0C,CAAC;AAElD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,8BAA8B;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AA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,sCAAsC,CAAC;CACvD;AAED,gFAAgF;AAChF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC;AAC1F,8EAA8E;AAE9E,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,gCAAgC,EAAE,gBAAgB,CAAC,CAAC;AAEvG,wBAAgB,wCAAwC,CACtD,cAAc,EAAE,8BAA8B,EAC9C,oBAAoB,EAAE,MAAM,+BAA+B,GAC1D,gCAAgC,CASlC;AAED,wBAAgB,kCAAkC,CAChD,GAAG,cAAc,EAAE,gCAAgC,EAAE,GACpD,0BAA0B,CAa5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/composite-view-specification.schemas.ts"],"names":[],"mappings":"AA4DA,MAAM,UAAU,wCAAwC,CACtD,cAA8C,EAC9C,oBAA2D;IAE3D,MAAM,aAAa,GAAqC;QACtD,cAAc,EAAE,cAAc,CAAC,cAAc;QAC7C,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,kCAAkC,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;IAElE,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,GAAG,cAAkD;IAErD,MAAM,MAAM,GAA+B,EAAE,CAAC;IAE9C,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;YACzC,MAAM,IAAI,KAAK,CACb,6EAA6E,aAAa,CAAC,cAAc,IAAI,CAC9G,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,aAAa,CAAC;IACvD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,kCAAkC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AACpE,MAAM,qCAAqC,GAAG,CAAC,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B,IAAI,EAAE,CAAC,CAAC,CAAC;IACvE,KAAK,MAAM,WAAW,IAAI,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,+CAA+C,OAAO,6BAA6B,WAAW,+DAA+D,CAC9J,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type {\n StructuralTranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n importPath?: string;\n}\n\ninterface CompositeViewDefinitionSpecRef {\n translationRef: string;\n sectionRefs?: string[];\n}\n\n/**\n * @wildo_source:part:start saas.specifications.composite-view-specification facet:layer:specification facet:family:views\n *\n * Composite view semantic overlay: `codeHandling`, section/translation slots, and keyed `CompositeViewSpecification` map.\n */\nexport interface CompositeViewSpecificationCodeHandling {\n /** Module/application owner that authored the view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public symbol exposing the authored composite view component. */\n viewComponentSymbol?: PublicCodeSymbolRef;\n /** Public declarations where the composite view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\nexport interface CompositeViewSpecificationConfig {\n /** Stable runtime translation identity for this composite surface. */\n translationRef: string;\n /** Why this composite surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this composite plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this composite surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the composite-view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Meaning of each declared section inside the composite. */\n sections?: Record<string, StructuralTranslationSlotSpecification>;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: CompositeViewSpecificationCodeHandling;\n}\n\n/** Keyed by the stable runtime translation identity (for example `app.foo`). */\nexport type CompositeViewSpecification = Record<string, CompositeViewSpecificationConfig>;\n/** @wildo_source:part:end saas.specifications.composite-view-specification */\n\nexport type CompositeViewSpecificationDraft = Omit<CompositeViewSpecificationConfig, 'translationRef'>;\n\nexport function compositeViewSpecificationFromDefinition(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specificationFactory: () => CompositeViewSpecificationDraft,\n): CompositeViewSpecificationConfig {\n const specification: CompositeViewSpecificationConfig = {\n translationRef: viewDefinition.translationRef,\n ...specificationFactory(),\n };\n\n validateCompositeViewSpecification(viewDefinition, specification);\n\n return specification;\n}\n\nexport function buildCompositeViewSpecificationMap(\n ...specifications: CompositeViewSpecificationConfig[]\n): CompositeViewSpecification {\n const result: CompositeViewSpecification = {};\n\n for (const specification of specifications) {\n if (result[specification.translationRef]) {\n throw new Error(\n `buildCompositeViewSpecificationMap(): duplicate composite translationRef \"${specification.translationRef}\".`,\n );\n }\n result[specification.translationRef] = specification;\n }\n\n return result;\n}\n\nconst COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\nconst COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateCompositeViewSpecification(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specification: CompositeViewSpecificationConfig,\n): void {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\"`,\n specification.textSlots,\n COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS,\n );\n const documentedSectionRefs = Object.keys(specification.sections ?? {});\n const declaredSectionRefs = new Set(viewDefinition.sectionRefs ?? []);\n\n for (const sectionRef of documentedSectionRefs) {\n if (!declaredSectionRefs.has(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" documents section \"${sectionRef}\" but the authored view definition does not declare it.`,\n );\n }\n }\n\n for (const sectionRef of declaredSectionRefs) {\n if (!documentedSectionRefs.includes(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" declares section \"${sectionRef}\" in the authored view definition but the semantic specification does not document it.`,\n );\n }\n }\n\n for (const [sectionRef, sectionSpecification] of Object.entries(specification.sections ?? {})) {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\" section \"${sectionRef}\"`,\n sectionSpecification.textSlots,\n COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS,\n );\n }\n}\n\nfunction validateRequiredTextSlots(\n subject: string,\n documentedTextSlots: TranslationSlotSpecificationMap | undefined,\n requiredTextSlots: string[],\n): void {\n const knownTextSlots = new Set(Object.keys(documentedTextSlots ?? {}));\n for (const textSlotKey of requiredTextSlots) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): ${subject} must document text slot \"${textSlotKey}\" so the generated labelling keys stay semantically grounded.`,\n );\n }\n }\n}\n"]}
1
+ {"version":3,"file":"composite-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/composite-view-specification.schemas.ts"],"names":[],"mappings":"AAuEA,MAAM,UAAU,wCAAwC,CACtD,cAA8C,EAC9C,oBAA2D;IAE3D,MAAM,aAAa,GAAqC;QACtD,cAAc,EAAE,cAAc,CAAC,cAAc;QAC7C,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,kCAAkC,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;IAElE,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,GAAG,cAAkD;IAErD,MAAM,MAAM,GAA+B,EAAE,CAAC;IAE9C,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;YACzC,MAAM,IAAI,KAAK,CACb,6EAA6E,aAAa,CAAC,cAAc,IA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,cAAc,UAAU,GAAG,EACtE,oBAAoB,CAAC,SAAS,EAC9B,qCAAqC,CACtC,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAS,yBAAyB,CAChC,OAAe,EACf,mBAAgE,EAChE,iBAA2B;IAE3B,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,IAAI,EAAE,CAAC,CAAC,CAAC;IACvE,KAAK,MAAM,WAAW,IAAI,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,+CAA+C,OAAO,6BAA6B,WAAW,+DAA+D,CAC9J,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type {\n StructuralTranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n /**\n * PUBLIC SUBPATH only — a subpath the owning package declares in\n * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module\n * that has no public door, author `filePathHint` instead (issue #150).\n */\n importPath?: string;\n /**\n * MODULE LOCATION inside the owning package — a navigation aid, never concatenated\n * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the\n * canonical contract this narrows.\n */\n filePathHint?: string;\n}\n\ninterface CompositeViewDefinitionSpecRef {\n translationRef: string;\n sectionRefs?: string[];\n}\n\n/**\n * @wildo_source:part:start saas.specifications.composite-view-specification facet:layer:specification facet:family:views\n *\n * Composite view semantic overlay: `codeHandling`, section/translation slots, and keyed `CompositeViewSpecification` map.\n */\nexport interface CompositeViewSpecificationCodeHandling {\n /** Module/application owner that authored the view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public symbol exposing the authored composite view component. */\n viewComponentSymbol?: PublicCodeSymbolRef;\n /** Public declarations where the composite view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\nexport interface CompositeViewSpecificationConfig {\n /** Stable runtime translation identity for this composite surface. */\n translationRef: string;\n /** Why this composite surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this composite plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this composite surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the composite-view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Meaning of each declared section inside the composite. */\n sections?: Record<string, StructuralTranslationSlotSpecification>;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: CompositeViewSpecificationCodeHandling;\n}\n\n/** Keyed by the stable runtime translation identity (for example `app.foo`). */\nexport type CompositeViewSpecification = Record<string, CompositeViewSpecificationConfig>;\n/** @wildo_source:part:end saas.specifications.composite-view-specification */\n\nexport type CompositeViewSpecificationDraft = Omit<CompositeViewSpecificationConfig, 'translationRef'>;\n\nexport function compositeViewSpecificationFromDefinition(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specificationFactory: () => CompositeViewSpecificationDraft,\n): CompositeViewSpecificationConfig {\n const specification: CompositeViewSpecificationConfig = {\n translationRef: viewDefinition.translationRef,\n ...specificationFactory(),\n };\n\n validateCompositeViewSpecification(viewDefinition, specification);\n\n return specification;\n}\n\nexport function buildCompositeViewSpecificationMap(\n ...specifications: CompositeViewSpecificationConfig[]\n): CompositeViewSpecification {\n const result: CompositeViewSpecification = {};\n\n for (const specification of specifications) {\n if (result[specification.translationRef]) {\n throw new Error(\n `buildCompositeViewSpecificationMap(): duplicate composite translationRef \"${specification.translationRef}\".`,\n );\n }\n result[specification.translationRef] = specification;\n }\n\n return result;\n}\n\nconst COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\nconst COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateCompositeViewSpecification(\n viewDefinition: CompositeViewDefinitionSpecRef,\n specification: CompositeViewSpecificationConfig,\n): void {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\"`,\n specification.textSlots,\n COMPOSITE_VIEW_REQUIRED_TEXT_SLOTS,\n );\n const documentedSectionRefs = Object.keys(specification.sections ?? {});\n const declaredSectionRefs = new Set(viewDefinition.sectionRefs ?? []);\n\n for (const sectionRef of documentedSectionRefs) {\n if (!declaredSectionRefs.has(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" documents section \"${sectionRef}\" but the authored view definition does not declare it.`,\n );\n }\n }\n\n for (const sectionRef of declaredSectionRefs) {\n if (!documentedSectionRefs.includes(sectionRef)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): composite \"${viewDefinition.translationRef}\" declares section \"${sectionRef}\" in the authored view definition but the semantic specification does not document it.`,\n );\n }\n }\n\n for (const [sectionRef, sectionSpecification] of Object.entries(specification.sections ?? {})) {\n validateRequiredTextSlots(\n `composite \"${viewDefinition.translationRef}\" section \"${sectionRef}\"`,\n sectionSpecification.textSlots,\n COMPOSITE_SECTION_REQUIRED_TEXT_SLOTS,\n );\n }\n}\n\nfunction validateRequiredTextSlots(\n subject: string,\n documentedTextSlots: TranslationSlotSpecificationMap | undefined,\n requiredTextSlots: string[],\n): void {\n const knownTextSlots = new Set(Object.keys(documentedTextSlots ?? {}));\n for (const textSlotKey of requiredTextSlots) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `compositeViewSpecificationFromDefinition(): ${subject} must document text slot \"${textSlotKey}\" so the generated labelling keys stay semantically grounded.`,\n );\n }\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import type { FamilyAspectsDeclaration } from '../family-aspects.schemas';
2
+ export declare const DOMAIN_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration;
3
+ //# sourceMappingURL=domain-plan.family-aspects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAK1E,eAAO,MAAM,0BAA0B,EAAE,wBA4BxC,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas.js';
2
+ import { FamilyAspectKind } from '../family-aspects.schemas.js';
3
+ import { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas.js';
4
+ import { DomainRelationshipDraftSchema } from './domain-plan-output-set.schemas.js';
5
+ export const DOMAIN_PLAN_FAMILY_ASPECTS = {
6
+ schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.DOMAIN_PLAN_OUTPUT_SET,
7
+ aspects: [
8
+ {
9
+ key: 'domain-plan.module',
10
+ snapshotPath: 'modules',
11
+ kind: FamilyAspectKind.COLLECTION,
12
+ itemSchema: ModuleBusinessSemanticsSchema,
13
+ businessKey: 'relatedModuleId',
14
+ headlineField: 'relatedModuleId',
15
+ edges: [],
16
+ },
17
+ {
18
+ key: 'domain-plan.relationship',
19
+ snapshotPath: 'relationships',
20
+ kind: FamilyAspectKind.COLLECTION,
21
+ itemSchema: DomainRelationshipDraftSchema,
22
+ businessKey: 'relationshipRef',
23
+ headlineField: 'relationshipRef',
24
+ edges: [],
25
+ nonEdgeRefFields: {
26
+ sourceResourceRef: "an APPLICATION domain resource — the workbench's domain-model introspection surface, not a family aspect",
27
+ targetResourceRef: "an APPLICATION domain resource — same surface as sourceResourceRef",
28
+ },
29
+ },
30
+ ],
31
+ };
32
+ //# sourceMappingURL=domain-plan.family-aspects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domain-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,mGAAmG,CAAC;AAEpK,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,MAAM,CAAC,MAAM,0BAA0B,GAA6B;IAClE,SAAS,EAAE,+CAA+C,CAAC,sBAAsB;IACjF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,oBAAoB;YACzB,YAAY,EAAE,SAAS;YACvB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,6BAA6B;YACzC,WAAW,EAAE,iBAAiB;YAC9B,aAAa,EAAE,iBAAiB;YAChC,KAAK,EAAE,EAAE;SACV;QACD;YACE,GAAG,EAAE,0BAA0B;YAC/B,YAAY,EAAE,eAAe;YAC7B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,6BAA6B;YACzC,WAAW,EAAE,iBAAiB;YAC9B,aAAa,EAAE,iBAAiB;YAChC,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,iBAAiB,EACf,0GAA0G;gBAC5G,iBAAiB,EACf,oEAAoE;aACvE;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 { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\nimport { DomainRelationshipDraftSchema } from './domain-plan-output-set.schemas';\n\nexport const DOMAIN_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.DOMAIN_PLAN_OUTPUT_SET,\n aspects: [\n {\n key: 'domain-plan.module',\n snapshotPath: 'modules',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ModuleBusinessSemanticsSchema,\n businessKey: 'relatedModuleId',\n headlineField: 'relatedModuleId',\n edges: [],\n },\n {\n key: 'domain-plan.relationship',\n snapshotPath: 'relationships',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: DomainRelationshipDraftSchema,\n businessKey: 'relationshipRef',\n headlineField: 'relationshipRef',\n edges: [],\n nonEdgeRefFields: {\n sourceResourceRef:\n \"an APPLICATION domain resource — the workbench's domain-model introspection surface, not a family aspect\",\n targetResourceRef:\n \"an APPLICATION domain resource — same surface as sourceResourceRef\",\n },\n },\n ],\n};\n"]}
@@ -3,7 +3,18 @@ import type { TranslationSlotSpecificationMap } from './translation-slot-specifi
3
3
  interface PublicCodeSymbolRef {
4
4
  packageName: string;
5
5
  exportName: string;
6
+ /**
7
+ * PUBLIC SUBPATH only — a subpath the owning package declares in
8
+ * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module
9
+ * that has no public door, author `filePathHint` instead (issue #150).
10
+ */
6
11
  importPath?: string;
12
+ /**
13
+ * MODULE LOCATION inside the owning package — a navigation aid, never concatenated
14
+ * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the
15
+ * canonical contract this narrows.
16
+ */
17
+ filePathHint?: string;
7
18
  }
8
19
  interface ExecutionViewDefinitionSpecRef {
9
20
  resourceType: string;
@@ -1 +1 @@
1
- {"version":3,"file":"execution-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/execution-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAA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MAAM,+BAA+B,GAC1D,gCAAgC,CAUlC;AAED,wBAAgB,kCAAkC,CAChD,GAAG,cAAc,EAAE,gCAAgC,EAAE,GACpD,0BAA0B,CAiB5B"}
1
+ {"version":3,"file":"execution-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/execution-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,8BAA8B;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;;;GAMG;AACH,MAAM,WAAW,sCAAsC;IACrD,iEAAiE;IACjE,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,wEAAwE;IACxE,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,qFAAqF;IACrF,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,gCAAgC;IAC/C,0DAA0D;IAC1D,YAAY,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,qDAAqD;IACrD,YAAY,CAAC,EAAE,sCAAsC,CAAC;CACvD;AAED;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC;AAE1F,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,gCAAgC,EAChC,cAAc,GAAG,SAAS,CAC3B,CAAC;AAEF;;GAEG;AACH,wBAAgB,0CAA0C,CACxD,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAER;AAED,wBAAgB,wCAAwC,CACtD,cAAc,EAAE,8BAA8B,EAC9C,oBAAoB,EAAE,MAAM,+BAA+B,GAC1D,gCAAgC,CAUlC;AAED,wBAAgB,kCAAkC,CAChD,GAAG,cAAc,EAAE,gCAAgC,EAAE,GACpD,0BAA0B,CAiB5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"execution-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/execution-view-specification.schemas.ts"],"names":[],"mappings":"AAwEA;;GAEG;AACH,MAAM,UAAU,0CAA0C,CACxD,YAAoB,EACpB,OAAe;IAEf,OAAO,aAAa,YAAY,IAAI,OAAO,EAAE,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,cAA8C,EAC9C,oBAA2D;IAE3D,MAAM,aAAa,GAAqC;QACtD,YAAY,EAAE,cAAc,CAAC,YAAY;QACzC,OAAO,EAAE,cAAc,CAAC,GAAG;QAC3B,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,kCAAkC,CAAC,aAAa,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,GAAG,cAAkD;IAErD,MAAM,MAAM,GAA+B,EAAE,CAAC;IAE9C,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;QAC3C,MAAM,GAAG,GAAG,0CAA0C,CACpD,aAAa,CAAC,YAAY,EAC1B,aAAa,CAAC,OAAO,CACtB,CAAC;QACF,IAAI,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;YAChB,MAAM,IAAI,KAAK,CACb,gFAAgF,GAAG,IAAI,CACxF,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC;IAC9B,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,kCAAkC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAEpE,SAAS,kCAAkC,CACzC,aAA+C;IAE/C,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3E,KAAK,MAAM,WAAW,IAAI,kCAAkC,EAAE,CAAC;QAC7D,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,0DAA0D,0CAA0C,CAClG,aAAa,CAAC,YAAY,EAC1B,aAAa,CAAC,OAAO,CACtB,8BAA8B,WAAW,wEAAwE,CACnH,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type { TranslationSlotSpecificationMap } from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n importPath?: string;\n}\n\ninterface ExecutionViewDefinitionSpecRef {\n resourceType: string;\n ref: string;\n}\n\n/**\n * Import-oriented coding/transposition metadata for an execution view.\n *\n * Execution views are custom-renderer-first and always resource-owned.\n * `viewComponentSymbol` is a first-class concern here, unlike for chart\n * specifications where the rendered output is data-declarative.\n */\nexport interface ExecutionViewSpecificationCodeHandling {\n /** Module/application owner that authored the execution view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public symbol exposing the authored execution renderer component. */\n viewComponentSymbol?: PublicCodeSymbolRef;\n /** Public declarations where the execution view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\n/**\n * Authored semantic contract for one resource-owned execution view.\n *\n * Execution is resource-locked at the runtime schema level\n * (`scope: FrontendView_ScopeMode.RESOURCE`), so the specification contract\n * mirrors that constraint: every execution specification names its owning\n * `resourceType` and a `viewRef` local to that resource.\n */\nexport interface ExecutionViewSpecificationConfig {\n /** Stable resource type that owns this execution view. */\n resourceType: string;\n /** Stable runtime view reference local to the owning resource. */\n viewRef: string;\n /** Why this execution surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this surface plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: ExecutionViewSpecificationCodeHandling;\n}\n\n/**\n * Keyed by `buildResourceExecutionViewSpecificationKey(resourceType, viewRef)`\n * (`resources.<resourceType>.<viewRef>`).\n */\nexport type ExecutionViewSpecification = Record<string, ExecutionViewSpecificationConfig>;\n\nexport type ExecutionViewSpecificationDraft = Omit<\n ExecutionViewSpecificationConfig,\n 'resourceType' | 'viewRef'\n>;\n\n/**\n * Build the namespaced specification key for a resource-owned execution view.\n */\nexport function buildResourceExecutionViewSpecificationKey(\n resourceType: string,\n viewRef: string,\n): string {\n return `resources.${resourceType}.${viewRef}`;\n}\n\nexport function executionViewSpecificationFromDefinition(\n viewDefinition: ExecutionViewDefinitionSpecRef,\n specificationFactory: () => ExecutionViewSpecificationDraft,\n): ExecutionViewSpecificationConfig {\n const specification: ExecutionViewSpecificationConfig = {\n resourceType: viewDefinition.resourceType,\n viewRef: viewDefinition.ref,\n ...specificationFactory(),\n };\n\n validateExecutionViewSpecification(specification);\n\n return specification;\n}\n\nexport function buildExecutionViewSpecificationMap(\n ...specifications: ExecutionViewSpecificationConfig[]\n): ExecutionViewSpecification {\n const result: ExecutionViewSpecification = {};\n\n for (const specification of specifications) {\n const key = buildResourceExecutionViewSpecificationKey(\n specification.resourceType,\n specification.viewRef,\n );\n if (result[key]) {\n throw new Error(\n `buildExecutionViewSpecificationMap(): duplicate execution specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\nconst EXECUTION_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateExecutionViewSpecification(\n specification: ExecutionViewSpecificationConfig,\n): void {\n const knownTextSlots = new Set(Object.keys(specification.textSlots ?? {}));\n for (const textSlotKey of EXECUTION_VIEW_REQUIRED_TEXT_SLOTS) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `executionViewSpecificationFromDefinition(): execution \"${buildResourceExecutionViewSpecificationKey(\n specification.resourceType,\n specification.viewRef,\n )}\" must document text slot \"${textSlotKey}\" so generated launcher and overlay labels stay semantically grounded.`,\n );\n }\n }\n}\n"]}
1
+ {"version":3,"file":"execution-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/execution-view-specification.schemas.ts"],"names":[],"mappings":"AAmFA;;GAEG;AACH,MAAM,UAAU,0CAA0C,CACxD,YAAoB,EACpB,OAAe;IAEf,OAAO,aAAa,YAAY,IAAI,OAAO,EAAE,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,cAA8C,EAC9C,oBAA2D;IAE3D,MAAM,aAAa,GAAqC;QACtD,YAAY,EAAE,cAAc,CAAC,YAAY;QACzC,OAAO,EAAE,cAAc,CAAC,GAAG;QAC3B,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,kCAAkC,CAAC,aAAa,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,GAAG,cAAkD;IAErD,MAAM,MAAM,GAA+B,EAAE,CAAC;IAE9C,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;QAC3C,MAAM,GAAG,GAAG,0CAA0C,CACpD,aAAa,CAAC,YAAY,EAC1B,aAAa,CAAC,OAAO,CACtB,CAAC;QACF,IAAI,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;YAChB,MAAM,IAAI,KAAK,CACb,gFAAgF,GAAG,IAAI,CACxF,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC;IAC9B,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,kCAAkC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAEpE,SAAS,kCAAkC,CACzC,aAA+C;IAE/C,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3E,KAAK,MAAM,WAAW,IAAI,kCAAkC,EAAE,CAAC;QAC7D,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,0DAA0D,0CAA0C,CAClG,aAAa,CAAC,YAAY,EAC1B,aAAa,CAAC,OAAO,CACtB,8BAA8B,WAAW,wEAAwE,CACnH,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type { TranslationSlotSpecificationMap } from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n /**\n * PUBLIC SUBPATH only — a subpath the owning package declares in\n * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module\n * that has no public door, author `filePathHint` instead (issue #150).\n */\n importPath?: string;\n /**\n * MODULE LOCATION inside the owning package — a navigation aid, never concatenated\n * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the\n * canonical contract this narrows.\n */\n filePathHint?: string;\n}\n\ninterface ExecutionViewDefinitionSpecRef {\n resourceType: string;\n ref: string;\n}\n\n/**\n * Import-oriented coding/transposition metadata for an execution view.\n *\n * Execution views are custom-renderer-first and always resource-owned.\n * `viewComponentSymbol` is a first-class concern here, unlike for chart\n * specifications where the rendered output is data-declarative.\n */\nexport interface ExecutionViewSpecificationCodeHandling {\n /** Module/application owner that authored the execution view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public symbol exposing the authored execution renderer component. */\n viewComponentSymbol?: PublicCodeSymbolRef;\n /** Public declarations where the execution view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\n/**\n * Authored semantic contract for one resource-owned execution view.\n *\n * Execution is resource-locked at the runtime schema level\n * (`scope: FrontendView_ScopeMode.RESOURCE`), so the specification contract\n * mirrors that constraint: every execution specification names its owning\n * `resourceType` and a `viewRef` local to that resource.\n */\nexport interface ExecutionViewSpecificationConfig {\n /** Stable resource type that owns this execution view. */\n resourceType: string;\n /** Stable runtime view reference local to the owning resource. */\n viewRef: string;\n /** Why this execution surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this surface plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: ExecutionViewSpecificationCodeHandling;\n}\n\n/**\n * Keyed by `buildResourceExecutionViewSpecificationKey(resourceType, viewRef)`\n * (`resources.<resourceType>.<viewRef>`).\n */\nexport type ExecutionViewSpecification = Record<string, ExecutionViewSpecificationConfig>;\n\nexport type ExecutionViewSpecificationDraft = Omit<\n ExecutionViewSpecificationConfig,\n 'resourceType' | 'viewRef'\n>;\n\n/**\n * Build the namespaced specification key for a resource-owned execution view.\n */\nexport function buildResourceExecutionViewSpecificationKey(\n resourceType: string,\n viewRef: string,\n): string {\n return `resources.${resourceType}.${viewRef}`;\n}\n\nexport function executionViewSpecificationFromDefinition(\n viewDefinition: ExecutionViewDefinitionSpecRef,\n specificationFactory: () => ExecutionViewSpecificationDraft,\n): ExecutionViewSpecificationConfig {\n const specification: ExecutionViewSpecificationConfig = {\n resourceType: viewDefinition.resourceType,\n viewRef: viewDefinition.ref,\n ...specificationFactory(),\n };\n\n validateExecutionViewSpecification(specification);\n\n return specification;\n}\n\nexport function buildExecutionViewSpecificationMap(\n ...specifications: ExecutionViewSpecificationConfig[]\n): ExecutionViewSpecification {\n const result: ExecutionViewSpecification = {};\n\n for (const specification of specifications) {\n const key = buildResourceExecutionViewSpecificationKey(\n specification.resourceType,\n specification.viewRef,\n );\n if (result[key]) {\n throw new Error(\n `buildExecutionViewSpecificationMap(): duplicate execution specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\nconst EXECUTION_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateExecutionViewSpecification(\n specification: ExecutionViewSpecificationConfig,\n): void {\n const knownTextSlots = new Set(Object.keys(specification.textSlots ?? {}));\n for (const textSlotKey of EXECUTION_VIEW_REQUIRED_TEXT_SLOTS) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `executionViewSpecificationFromDefinition(): execution \"${buildResourceExecutionViewSpecificationKey(\n specification.resourceType,\n specification.viewRef,\n )}\" must document text slot \"${textSlotKey}\" so generated launcher and overlay labels stay semantically grounded.`,\n );\n }\n }\n}\n"]}
@@ -24,12 +24,12 @@ import { z } from 'zod';
24
24
  * `authored`) — re-derivation then proposes alongside, never
25
25
  * overwrites.
26
26
  *
27
- * FRESHNESS: `inputsDigest` seals the shaping inputs' state at derivation
28
- * time. The family validator WARNs (brand `STALE_ASSETS` precedent —
29
- * never a hard failure) when the current inputs' digest diverges: the
30
- * persona was derived from a spec the app has since outgrown. Every
31
- * `DeliberationRecord` stamps the digests of its participating charters
32
- * so an audit can see a decision was made under a stale persona.
27
+ * FRESHNESS is git's: `derivedAt` records the derivation moment, and the
28
+ * committed shaping inputs sit beside the charter in the same history, so
29
+ * "derived from a spec the app has since outgrown" is a `git log` question.
30
+ * The charter carries no digest of its inputs — removed with the digest
31
+ * machinery (`.claude/rules/one-source-of-truth.md` Rule 0). Re-deriving
32
+ * always PROPOSES; a human-edited charter is never overwritten.
33
33
  *
34
34
  * The runtime projection consumed by engine machinery is
35
35
  * `RuntimeExpertProfile` in `@wildo-ai/saas-models` (the companion maps
@@ -44,7 +44,6 @@ export declare const ExpertPersonaCharterSchema: z.ZodObject<{
44
44
  qualityBar: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
45
  reviewProtocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
46
  voiceNotes: z.ZodOptional<z.ZodString>;
47
- inputsDigest: z.ZodString;
48
47
  derivedAt: z.ZodISODateTime;
49
48
  derivedByAgentRef: z.ZodString;
50
49
  authored: z.ZodOptional<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-charter.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-charter.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;iBA+DrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"expert-persona-charter.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-charter.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;iBAwDrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -27,12 +27,12 @@ import { ExpertRoleRefSchema } from './expert-role-template.schemas.js';
27
27
  * `authored`) — re-derivation then proposes alongside, never
28
28
  * overwrites.
29
29
  *
30
- * FRESHNESS: `inputsDigest` seals the shaping inputs' state at derivation
31
- * time. The family validator WARNs (brand `STALE_ASSETS` precedent —
32
- * never a hard failure) when the current inputs' digest diverges: the
33
- * persona was derived from a spec the app has since outgrown. Every
34
- * `DeliberationRecord` stamps the digests of its participating charters
35
- * so an audit can see a decision was made under a stale persona.
30
+ * FRESHNESS is git's: `derivedAt` records the derivation moment, and the
31
+ * committed shaping inputs sit beside the charter in the same history, so
32
+ * "derived from a spec the app has since outgrown" is a `git log` question.
33
+ * The charter carries no digest of its inputs — removed with the digest
34
+ * machinery (`.claude/rules/one-source-of-truth.md` Rule 0). Re-deriving
35
+ * always PROPOSES; a human-edited charter is never overwritten.
36
36
  *
37
37
  * The runtime projection consumed by engine machinery is
38
38
  * `RuntimeExpertProfile` in `@wildo-ai/saas-models` (the companion maps
@@ -84,13 +84,6 @@ export const ExpertPersonaCharterSchema = z.object({
84
84
  reviewProtocol: z.array(NonEmptyStringSchema).optional(),
85
85
  /** Optional voice/register notes for the persona's own outputs. */
86
86
  voiceNotes: NonEmptyStringSchema.optional(),
87
- /**
88
- * SHA-256 digest over the canonical serialization of the shaping
89
- * inputs (the role template's `shapingInputKinds`, resolved through
90
- * the companion introspection seam) at derivation time. The freshness
91
- * seal the validator compares against.
92
- */
93
- inputsDigest: NonEmptyStringSchema,
94
87
  /** ISO-8601 derivation moment. */
95
88
  derivedAt: z.iso.datetime(),
96
89
  /** The derivation agent that produced this charter (audit trail). */
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-charter.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-charter.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,8EAA8E;IAC9E,UAAU,EAAE,mBAAmB;IAC/B;;;;OAIG;IACH,OAAO,EAAE,mBAAmB;IAC5B;;;;;OAKG;IACH,YAAY,EAAE,oBAAoB;IAClC;;;;OAIG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAChD;;;;OAIG;IACH,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjD;;;;;;;OAOG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACpD;;;;;OAKG;IACH,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACxD,mEAAmE;IACnE,UAAU,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC3C;;;;;OAKG;IACH,YAAY,EAAE,oBAAoB;IAClC,kCAAkC;IAClC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAC3B,qEAAqE;IACrE,iBAAiB,EAAE,oBAAoB;IACvC;;;;OAIG;IACH,QAAQ,EAAE,mCAAmC,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { ExpertPersonaAuthoredMetadataSchema } from './expert-persona-authored-metadata.schemas';\nimport { ExpertRoleRefSchema } from './expert-role-template.schemas';\n\n/**\n * An **ExpertPersonaCharter** — the APP-specific derived instance of an\n * `ExpertRoleTemplate`: who this app's Art Director (Copy Chief,\n * Design-System Guardian, …) actually IS, compiled by a derivation agent\n * from the app's own specification artifacts (vision, market/ICP, brand,\n * design system, …).\n *\n * This is the anti-\"taste-as-code\" artifact: everything a judge persona\n * knows about THIS app (its priorities, its taboos, its voice) lives here\n * as DERIVED, COMMITTED, HUMAN-REVIEWABLE data — never as constants in\n * framework or companion code.\n *\n * LIFECYCLE (mirrors the brand staged→accept doctrine):\n * 1. The companion derivation step PROPOSES a charter into its staging\n * area (`.wildo-saas/generated/expert-personas/`).\n * 2. A human ACCEPT promotes it into the app's\n * `specifications/src/personas/` — committed beside the brand/market\n * snapshots, exposed through the same companion-exports seam.\n * 3. The companion builds the expert's AGENT from the committed charter\n * at startup (missing charter → that expert's deliberations are\n * fail-closed with a \"derive + accept first\" error).\n * 4. A human may EDIT the committed charter (recording the touch in\n * `authored`) — re-derivation then proposes alongside, never\n * overwrites.\n *\n * FRESHNESS: `inputsDigest` seals the shaping inputs' state at derivation\n * time. The family validator WARNs (brand `STALE_ASSETS` precedent —\n * never a hard failure) when the current inputs' digest diverges: the\n * persona was derived from a spec the app has since outgrown. Every\n * `DeliberationRecord` stamps the digests of its participating charters\n * so an audit can see a decision was made under a stale persona.\n *\n * The runtime projection consumed by engine machinery is\n * `RuntimeExpertProfile` in `@wildo-ai/saas-models` (the companion maps\n * charter → profile; backend-lib never imports this spec tier).\n */\nexport const ExpertPersonaCharterSchema = z.object({\n /** Unique charter id (strict kebab-case; convention: `<roleRef>-charter`). */\n charterRef: ExpertRoleRefSchema,\n /**\n * The framework `ExpertRoleTemplate.roleRef` this charter instantiates.\n * Same strict kebab-case pin as the template — the companion derives file\n * names and TS identifiers from it.\n */\n roleRef: ExpertRoleRefSchema,\n /**\n * The compiled persona prose — \"who I am for THIS app\": the role's\n * craft posture fused with the app's positioning, audience, and\n * aesthetic reality. Written in second person (\"You are …\") so it\n * drops directly into the agent's prompt spec.\n */\n personaProse: NonEmptyStringSchema,\n /**\n * Ordered judgment priorities (most important first). These seed the\n * per-run rubric derivation — the rubric's criteria and weights must\n * be traceable to these priorities.\n */\n priorities: z.array(NonEmptyStringSchema).min(1),\n /**\n * Hard taboos — what this persona must never reward or produce\n * (category clichés the positioning escapes, brand avoid-list items,\n * off-palette color, banned copy registers, …).\n */\n taboos: z.array(NonEmptyStringSchema).default([]),\n /**\n * The QUALITY BAR — concrete statements of what a top-tier candidate\n * looks like FOR THIS APP (\"a 95+ mark does X\", grounded in the spec).\n * Where `priorities` say what to weigh, the quality bar pins the CEILING\n * the persona holds work against — it seeds rubric scale-anchors and stops\n * grade inflation. OPTIONAL (additive, Lever-2 extension): charters\n * derived before it exist without it and remain valid.\n */\n qualityBar: z.array(NonEmptyStringSchema).optional(),\n /**\n * The REVIEW PROTOCOL — the ordered checks this persona runs when\n * reviewing a candidate (\"first squint-test at 16px, then …\"). Feeds the\n * deliberation judges' working method so reviews are systematic, not\n * impressionistic. OPTIONAL (additive, Lever-2 extension).\n */\n reviewProtocol: z.array(NonEmptyStringSchema).optional(),\n /** Optional voice/register notes for the persona's own outputs. */\n voiceNotes: NonEmptyStringSchema.optional(),\n /**\n * SHA-256 digest over the canonical serialization of the shaping\n * inputs (the role template's `shapingInputKinds`, resolved through\n * the companion introspection seam) at derivation time. The freshness\n * seal the validator compares against.\n */\n inputsDigest: NonEmptyStringSchema,\n /** ISO-8601 derivation moment. */\n derivedAt: z.iso.datetime(),\n /** The derivation agent that produced this charter (audit trail). */\n derivedByAgentRef: NonEmptyStringSchema,\n /**\n * Human-edit provenance. ABSENT on a purely derived charter; present\n * exactly when a human has hand-tuned it (which shields the charter\n * from silent re-derivation overwrite).\n */\n authored: ExpertPersonaAuthoredMetadataSchema.optional(),\n});\nexport type ExpertPersonaCharter = z.infer<typeof ExpertPersonaCharterSchema>;\n"]}
1
+ {"version":3,"file":"expert-persona-charter.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-charter.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,8EAA8E;IAC9E,UAAU,EAAE,mBAAmB;IAC/B;;;;OAIG;IACH,OAAO,EAAE,mBAAmB;IAC5B;;;;;OAKG;IACH,YAAY,EAAE,oBAAoB;IAClC;;;;OAIG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAChD;;;;OAIG;IACH,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjD;;;;;;;OAOG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACpD;;;;;OAKG;IACH,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;IACxD,mEAAmE;IACnE,UAAU,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC3C,kCAAkC;IAClC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAC3B,qEAAqE;IACrE,iBAAiB,EAAE,oBAAoB;IACvC;;;;OAIG;IACH,QAAQ,EAAE,mCAAmC,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\nimport { ExpertPersonaAuthoredMetadataSchema } from './expert-persona-authored-metadata.schemas';\nimport { ExpertRoleRefSchema } from './expert-role-template.schemas';\n\n/**\n * An **ExpertPersonaCharter** — the APP-specific derived instance of an\n * `ExpertRoleTemplate`: who this app's Art Director (Copy Chief,\n * Design-System Guardian, …) actually IS, compiled by a derivation agent\n * from the app's own specification artifacts (vision, market/ICP, brand,\n * design system, …).\n *\n * This is the anti-\"taste-as-code\" artifact: everything a judge persona\n * knows about THIS app (its priorities, its taboos, its voice) lives here\n * as DERIVED, COMMITTED, HUMAN-REVIEWABLE data — never as constants in\n * framework or companion code.\n *\n * LIFECYCLE (mirrors the brand staged→accept doctrine):\n * 1. The companion derivation step PROPOSES a charter into its staging\n * area (`.wildo-saas/generated/expert-personas/`).\n * 2. A human ACCEPT promotes it into the app's\n * `specifications/src/personas/` — committed beside the brand/market\n * snapshots, exposed through the same companion-exports seam.\n * 3. The companion builds the expert's AGENT from the committed charter\n * at startup (missing charter → that expert's deliberations are\n * fail-closed with a \"derive + accept first\" error).\n * 4. A human may EDIT the committed charter (recording the touch in\n * `authored`) — re-derivation then proposes alongside, never\n * overwrites.\n *\n * FRESHNESS is git's: `derivedAt` records the derivation moment, and the\n * committed shaping inputs sit beside the charter in the same history, so\n * \"derived from a spec the app has since outgrown\" is a `git log` question.\n * The charter carries no digest of its inputs — removed with the digest\n * machinery (`.claude/rules/one-source-of-truth.md` Rule 0). Re-deriving\n * always PROPOSES; a human-edited charter is never overwritten.\n *\n * The runtime projection consumed by engine machinery is\n * `RuntimeExpertProfile` in `@wildo-ai/saas-models` (the companion maps\n * charter → profile; backend-lib never imports this spec tier).\n */\nexport const ExpertPersonaCharterSchema = z.object({\n /** Unique charter id (strict kebab-case; convention: `<roleRef>-charter`). */\n charterRef: ExpertRoleRefSchema,\n /**\n * The framework `ExpertRoleTemplate.roleRef` this charter instantiates.\n * Same strict kebab-case pin as the template — the companion derives file\n * names and TS identifiers from it.\n */\n roleRef: ExpertRoleRefSchema,\n /**\n * The compiled persona prose — \"who I am for THIS app\": the role's\n * craft posture fused with the app's positioning, audience, and\n * aesthetic reality. Written in second person (\"You are …\") so it\n * drops directly into the agent's prompt spec.\n */\n personaProse: NonEmptyStringSchema,\n /**\n * Ordered judgment priorities (most important first). These seed the\n * per-run rubric derivation — the rubric's criteria and weights must\n * be traceable to these priorities.\n */\n priorities: z.array(NonEmptyStringSchema).min(1),\n /**\n * Hard taboos — what this persona must never reward or produce\n * (category clichés the positioning escapes, brand avoid-list items,\n * off-palette color, banned copy registers, …).\n */\n taboos: z.array(NonEmptyStringSchema).default([]),\n /**\n * The QUALITY BAR — concrete statements of what a top-tier candidate\n * looks like FOR THIS APP (\"a 95+ mark does X\", grounded in the spec).\n * Where `priorities` say what to weigh, the quality bar pins the CEILING\n * the persona holds work against — it seeds rubric scale-anchors and stops\n * grade inflation. OPTIONAL (additive, Lever-2 extension): charters\n * derived before it exist without it and remain valid.\n */\n qualityBar: z.array(NonEmptyStringSchema).optional(),\n /**\n * The REVIEW PROTOCOL — the ordered checks this persona runs when\n * reviewing a candidate (\"first squint-test at 16px, then …\"). Feeds the\n * deliberation judges' working method so reviews are systematic, not\n * impressionistic. OPTIONAL (additive, Lever-2 extension).\n */\n reviewProtocol: z.array(NonEmptyStringSchema).optional(),\n /** Optional voice/register notes for the persona's own outputs. */\n voiceNotes: NonEmptyStringSchema.optional(),\n /** ISO-8601 derivation moment. */\n derivedAt: z.iso.datetime(),\n /** The derivation agent that produced this charter (audit trail). */\n derivedByAgentRef: NonEmptyStringSchema,\n /**\n * Human-edit provenance. ABSENT on a purely derived charter; present\n * exactly when a human has hand-tuned it (which shields the charter\n * from silent re-derivation overwrite).\n */\n authored: ExpertPersonaAuthoredMetadataSchema.optional(),\n});\nexport type ExpertPersonaCharter = z.infer<typeof ExpertPersonaCharterSchema>;\n"]}
@@ -18,7 +18,6 @@ import type { ExpertPersonaCharter } from './expert-persona-charter.schemas';
18
18
  * | `DUPLICATE_CHARTER_REF` | ERROR | Two charters share a `charterRef` — deliberation records address reviewers by charterRef. |
19
19
  * | `DUPLICATE_ROLE_CHARTER` | ERROR | Two charters instantiate the same `roleRef` — one app has exactly one Art Director. |
20
20
  * | `NO_REVIEW_CAPABILITY` | WARN | A charter's role declares no `REVIEW` capability — it can never sit on a panel (brief-only roles are legal but unusual; surface it). |
21
- * | `STALE_INPUTS` | WARN | The current shaping-inputs digest (when supplied) diverges from `inputsDigest` — the persona was derived from a spec the app has outgrown. Brand `STALE_ASSETS` precedent: WARN, never a hard failure. |
22
21
  * | `STALE_AUTHORED` | WARN | `authored.lastAuthoredAt + reviewCadence < now` (market/vision/brand parity). |
23
22
  *
24
23
  * Severity is a TS enum (project rule — enums over literal unions). The
@@ -33,8 +32,6 @@ export declare enum ExpertPersonaIssueKind {
33
32
  DUPLICATE_ROLE_CHARTER = "duplicate_role_charter",
34
33
  /** The charter's role can never review — it cannot sit on a panel. WARN. */
35
34
  NO_REVIEW_CAPABILITY = "no_review_capability",
36
- /** The charter was derived from inputs the app has since changed. WARN. */
37
- STALE_INPUTS = "stale_inputs",
38
35
  /** `authored.lastAuthoredAt + reviewCadence < now`. WARN. */
39
36
  STALE_AUTHORED = "stale_authored"
40
37
  }
@@ -55,14 +52,6 @@ export interface ExpertPersonaValidationResult {
55
52
  issues: ExpertPersonaIssue[];
56
53
  }
57
54
  export interface ValidateExpertPersonaChartersOptions {
58
- /**
59
- * The CURRENT shaping-inputs digest per roleRef, computed by the caller
60
- * (the companion — the only tier that can resolve the inputs). When a
61
- * role's entry is supplied and differs from its charter's
62
- * `inputsDigest`, `STALE_INPUTS` fires. Roles without an entry skip the
63
- * check (the validator stays pure — it never computes digests itself).
64
- */
65
- currentInputsDigestByRole?: Record<string, string>;
66
55
  /** Override "now" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */
67
56
  now?: Date;
68
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAG7E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,oBAAY,sBAAsB;IAChC,yEAAyE;IACzE,YAAY,iBAAiB;IAC7B,gDAAgD;IAChD,qBAAqB,0BAA0B;IAC/C,qDAAqD;IACrD,sBAAsB,2BAA2B;IACjD,4EAA4E;IAC5E,oBAAoB,yBAAyB;IAC7C,2EAA2E;IAC3E,YAAY,iBAAiB;IAC7B,6DAA6D;IAC7D,cAAc,mBAAmB;CAClC;AAED,oBAAY,0BAA0B;IACpC,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,0BAA0B,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC5C,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,oCAAoC;IACnD;;;;;;OAMG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnD,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ;AAeD,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,oBAAoB,EAAE,EAChC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,6BAA6B,CAY/B"}
1
+ {"version":3,"file":"expert-persona-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAG7E;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,sBAAsB;IAChC,yEAAyE;IACzE,YAAY,iBAAiB;IAC7B,gDAAgD;IAChD,qBAAqB,0BAA0B;IAC/C,qDAAqD;IACrD,sBAAsB,2BAA2B;IACjD,4EAA4E;IAC5E,oBAAoB,yBAAyB;IAC7C,6DAA6D;IAC7D,cAAc,mBAAmB;CAClC;AAED,oBAAY,0BAA0B;IACpC,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,0BAA0B,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC5C,gDAAgD;IAChD,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,oCAAoC;IACnD,8FAA8F;IAC9F,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ;AAeD,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,oBAAoB,EAAE,EAChC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,6BAA6B,CAW/B"}
@@ -19,7 +19,6 @@ import { ExpertRoleCapability, getExpertRoleTemplate } from './expert-role-templ
19
19
  * | `DUPLICATE_CHARTER_REF` | ERROR | Two charters share a `charterRef` — deliberation records address reviewers by charterRef. |
20
20
  * | `DUPLICATE_ROLE_CHARTER` | ERROR | Two charters instantiate the same `roleRef` — one app has exactly one Art Director. |
21
21
  * | `NO_REVIEW_CAPABILITY` | WARN | A charter's role declares no `REVIEW` capability — it can never sit on a panel (brief-only roles are legal but unusual; surface it). |
22
- * | `STALE_INPUTS` | WARN | The current shaping-inputs digest (when supplied) diverges from `inputsDigest` — the persona was derived from a spec the app has outgrown. Brand `STALE_ASSETS` precedent: WARN, never a hard failure. |
23
22
  * | `STALE_AUTHORED` | WARN | `authored.lastAuthoredAt + reviewCadence < now` (market/vision/brand parity). |
24
23
  *
25
24
  * Severity is a TS enum (project rule — enums over literal unions). The
@@ -35,8 +34,6 @@ export var ExpertPersonaIssueKind;
35
34
  ExpertPersonaIssueKind["DUPLICATE_ROLE_CHARTER"] = "duplicate_role_charter";
36
35
  /** The charter's role can never review — it cannot sit on a panel. WARN. */
37
36
  ExpertPersonaIssueKind["NO_REVIEW_CAPABILITY"] = "no_review_capability";
38
- /** The charter was derived from inputs the app has since changed. WARN. */
39
- ExpertPersonaIssueKind["STALE_INPUTS"] = "stale_inputs";
40
37
  /** `authored.lastAuthoredAt + reviewCadence < now`. WARN. */
41
38
  ExpertPersonaIssueKind["STALE_AUTHORED"] = "stale_authored";
42
39
  })(ExpertPersonaIssueKind || (ExpertPersonaIssueKind = {}));
@@ -63,7 +60,6 @@ export function validateExpertPersonaCharters(charters, options) {
63
60
  detectDuplicateCharterRefs(charters, issues);
64
61
  detectDuplicateRoleCharters(charters, issues);
65
62
  detectNoReviewCapability(charters, issues);
66
- detectStaleInputs(charters, options?.currentInputsDigestByRole, issues);
67
63
  detectStaleAuthored(charters, options?.now ?? new Date(), issues);
68
64
  const ok = issues.every(issue => issue.severity !== ExpertPersonaIssueSeverity.ERROR);
69
65
  return { ok, issues };
@@ -129,21 +125,6 @@ function detectNoReviewCapability(charters, issues) {
129
125
  });
130
126
  });
131
127
  }
132
- function detectStaleInputs(charters, currentInputsDigestByRole, issues) {
133
- if (currentInputsDigestByRole === undefined)
134
- return;
135
- charters.forEach((charter, index) => {
136
- const currentDigest = currentInputsDigestByRole[charter.roleRef];
137
- if (currentDigest === undefined || currentDigest === charter.inputsDigest)
138
- return;
139
- issues.push({
140
- kind: ExpertPersonaIssueKind.STALE_INPUTS,
141
- path: `charters[${index}].inputsDigest`,
142
- message: `Charter "${charter.charterRef}" was derived from shaping inputs the app has since changed — re-derive (the derivation PROPOSES; a human-edited charter is never overwritten).`,
143
- severity: ExpertPersonaIssueSeverity.WARN,
144
- });
145
- });
146
- }
147
128
  function detectStaleAuthored(charters, now, issues) {
148
129
  charters.forEach((charter, index) => {
149
130
  const authored = charter.authored;
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-validation.js","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE7F;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAN,IAAY,sBAaX;AAbD,WAAY,sBAAsB;IAChC,yEAAyE;IACzE,uDAA6B,CAAA;IAC7B,gDAAgD;IAChD,yEAA+C,CAAA;IAC/C,qDAAqD;IACrD,2EAAiD,CAAA;IACjD,4EAA4E;IAC5E,uEAA6C,CAAA;IAC7C,2EAA2E;IAC3E,uDAA6B,CAAA;IAC7B,6DAA6D;IAC7D,2DAAiC,CAAA;AACnC,CAAC,EAbW,sBAAsB,KAAtB,sBAAsB,QAajC;AAED,MAAM,CAAN,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,6CAAe,CAAA;IACf,2CAAa,CAAA;AACf,CAAC,EAHW,0BAA0B,KAA1B,0BAA0B,QAGrC;AA6BD;;;;GAIG;AACH,MAAM,sBAAsB,GAAkC;IAC5D,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;IACzB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,EAAE;IAC3B,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE;IAC7B,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,GAAG;IAC3B,CAAC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AClC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,QAAQ,EAAE,aAAa,KAAK,SAAS;YAAE,OAAO;QAClD,MAAM,IAAI,GAAG,sBAAsB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QAC5D,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,OAAO;QACnC,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,OAAO,EAAE,CAAC;QACjE,IAAI,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC;YAAE,OAAO;QACvC,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,YAAY,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;QACvE,IAAI,OAAO,IAAI,IAAI;YAAE,OAAO;QAC5B,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,sBAAsB,CAAC,cAAc;YAC3C,IAAI,EAAE,YAAY,KAAK,YAAY;YACnC,OAAO,EAAE,YAAY,OAAO,CAAC,UAAU,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,QAAQ,CAAC,aAAa,MAAM,IAAI,sCAAsC;YAC9J,QAAQ,EAAE,0BAA0B,CAAC,IAAI;SAC1C,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { ExpertPersonaCharter } from './expert-persona-charter.schemas';\nimport { ExpertRoleCapability, getExpertRoleTemplate } from './expert-role-template.schemas';\n\n/**\n * Authoring-consistency validator for an app's set of committed\n * `ExpertPersonaCharter`s.\n *\n * A **pure**, **typed** walker (the `_core` validator convention shared\n * with `validateBrandSnapshot` / `validateMarketSnapshot` /\n * `validateVisionSnapshot`) — no Zod introspection, no registry access,\n * no I/O. Zod enforces structural validity at parse time; this walker\n * adds the cross-entity, catalog-integrity, and freshness checks Zod\n * cannot express.\n *\n * Rule table:\n *\n * | Kind | Severity | Trigger |\n * |---------------------------|----------|----------------------------------------------------------------------------------------------|\n * | `UNKNOWN_ROLE` | ERROR | `roleRef` names no `EXPERT_ROLE_TEMPLATES` entry — the charter instantiates nothing. |\n * | `DUPLICATE_CHARTER_REF` | ERROR | Two charters share a `charterRef` — deliberation records address reviewers by charterRef. |\n * | `DUPLICATE_ROLE_CHARTER` | ERROR | Two charters instantiate the same `roleRef` — one app has exactly one Art Director. |\n * | `NO_REVIEW_CAPABILITY` | WARN | A charter's role declares no `REVIEW` capability — it can never sit on a panel (brief-only roles are legal but unusual; surface it). |\n * | `STALE_INPUTS` | WARN | The current shaping-inputs digest (when supplied) diverges from `inputsDigest` — the persona was derived from a spec the app has outgrown. Brand `STALE_ASSETS` precedent: WARN, never a hard failure. |\n * | `STALE_AUTHORED` | WARN | `authored.lastAuthoredAt + reviewCadence < now` (market/vision/brand parity). |\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates its input.\n */\nexport enum ExpertPersonaIssueKind {\n /** `roleRef` not found in the framework role-template catalog. ERROR. */\n UNKNOWN_ROLE = 'unknown_role',\n /** Two charters share a `charterRef`. ERROR. */\n DUPLICATE_CHARTER_REF = 'duplicate_charter_ref',\n /** Two charters instantiate the same role. ERROR. */\n DUPLICATE_ROLE_CHARTER = 'duplicate_role_charter',\n /** The charter's role can never review — it cannot sit on a panel. WARN. */\n NO_REVIEW_CAPABILITY = 'no_review_capability',\n /** The charter was derived from inputs the app has since changed. WARN. */\n STALE_INPUTS = 'stale_inputs',\n /** `authored.lastAuthoredAt + reviewCadence < now`. WARN. */\n STALE_AUTHORED = 'stale_authored',\n}\n\nexport enum ExpertPersonaIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface ExpertPersonaIssue {\n kind: ExpertPersonaIssueKind;\n /** Dotted path inside the charter set (e.g. `'charters[2].roleRef'`). */\n path: string;\n message: string;\n severity: ExpertPersonaIssueSeverity;\n}\n\nexport interface ExpertPersonaValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: ExpertPersonaIssue[];\n}\n\nexport interface ValidateExpertPersonaChartersOptions {\n /**\n * The CURRENT shaping-inputs digest per roleRef, computed by the caller\n * (the companion — the only tier that can resolve the inputs). When a\n * role's entry is supplied and differs from its charter's\n * `inputsDigest`, `STALE_INPUTS` fires. Roles without an entry skip the\n * check (the validator stays pure — it never computes digests itself).\n */\n currentInputsDigestByRole?: Record<string, string>;\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market/vision/brand\n * validators (module-local there too — a shared promotion is part of the\n * deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateExpertPersonaCharters(\n charters: ExpertPersonaCharter[],\n options?: ValidateExpertPersonaChartersOptions,\n): ExpertPersonaValidationResult {\n const issues: ExpertPersonaIssue[] = [];\n\n detectUnknownRoles(charters, issues);\n detectDuplicateCharterRefs(charters, issues);\n detectDuplicateRoleCharters(charters, issues);\n detectNoReviewCapability(charters, issues);\n detectStaleInputs(charters, options?.currentInputsDigestByRole, issues);\n detectStaleAuthored(charters, options?.now ?? new Date(), issues);\n\n const ok = issues.every(issue => issue.severity !== ExpertPersonaIssueSeverity.ERROR);\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per concern, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectUnknownRoles(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n charters.forEach((charter, index) => {\n if (getExpertRoleTemplate(charter.roleRef) !== undefined) return;\n issues.push({\n kind: ExpertPersonaIssueKind.UNKNOWN_ROLE,\n path: `charters[${index}].roleRef`,\n message: `Charter \"${charter.charterRef}\" instantiates unknown role \"${charter.roleRef}\" — no such entry in EXPERT_ROLE_TEMPLATES.`,\n severity: ExpertPersonaIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCharterRefs(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n const seen = new Set<string>();\n charters.forEach((charter, index) => {\n if (!seen.has(charter.charterRef)) {\n seen.add(charter.charterRef);\n return;\n }\n issues.push({\n kind: ExpertPersonaIssueKind.DUPLICATE_CHARTER_REF,\n path: `charters[${index}].charterRef`,\n message: `Duplicate charterRef \"${charter.charterRef}\" — deliberation records address reviewers by charterRef; a duplicate is ambiguous.`,\n severity: ExpertPersonaIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRoleCharters(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n const seen = new Set<string>();\n charters.forEach((charter, index) => {\n if (!seen.has(charter.roleRef)) {\n seen.add(charter.roleRef);\n return;\n }\n issues.push({\n kind: ExpertPersonaIssueKind.DUPLICATE_ROLE_CHARTER,\n path: `charters[${index}].roleRef`,\n message: `Role \"${charter.roleRef}\" is instantiated by more than one charter — an app has exactly one persona per role.`,\n severity: ExpertPersonaIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectNoReviewCapability(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n charters.forEach((charter, index) => {\n const template = getExpertRoleTemplate(charter.roleRef);\n // Unknown roles are flagged as ERROR separately; nothing to check here.\n if (template === undefined) return;\n if (template.roleCapabilities.includes(ExpertRoleCapability.REVIEW)) return;\n issues.push({\n kind: ExpertPersonaIssueKind.NO_REVIEW_CAPABILITY,\n path: `charters[${index}].roleRef`,\n message: `Charter \"${charter.charterRef}\"'s role \"${charter.roleRef}\" declares no REVIEW capability — it can author briefs but never sit on a deliberation panel.`,\n severity: ExpertPersonaIssueSeverity.WARN,\n });\n });\n}\n\nfunction detectStaleInputs(\n charters: ExpertPersonaCharter[],\n currentInputsDigestByRole: Record<string, string> | undefined,\n issues: ExpertPersonaIssue[],\n): void {\n if (currentInputsDigestByRole === undefined) return;\n charters.forEach((charter, index) => {\n const currentDigest = currentInputsDigestByRole[charter.roleRef];\n if (currentDigest === undefined || currentDigest === charter.inputsDigest) return;\n issues.push({\n kind: ExpertPersonaIssueKind.STALE_INPUTS,\n path: `charters[${index}].inputsDigest`,\n message: `Charter \"${charter.charterRef}\" was derived from shaping inputs the app has since changed — re-derive (the derivation PROPOSES; a human-edited charter is never overwritten).`,\n severity: ExpertPersonaIssueSeverity.WARN,\n });\n });\n}\n\nfunction detectStaleAuthored(\n charters: ExpertPersonaCharter[],\n now: Date,\n issues: ExpertPersonaIssue[],\n): void {\n charters.forEach((charter, index) => {\n const authored = charter.authored;\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: ExpertPersonaIssueKind.STALE_AUTHORED,\n path: `charters[${index}].authored`,\n message: `Charter \"${charter.charterRef}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-review or remove the cadence.`,\n severity: ExpertPersonaIssueSeverity.WARN,\n });\n });\n}\n"]}
1
+ {"version":3,"file":"expert-persona-validation.js","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-persona-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,C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,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QAClC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,QAAQ,EAAE,aAAa,KAAK,SAAS;YAAE,OAAO;QAClD,MAAM,IAAI,GAAG,sBAAsB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QAC5D,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,OAAO;QACnC,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,OAAO,EAAE,CAAC;QACjE,IAAI,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC;YAAE,OAAO;QACvC,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,YAAY,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;QACvE,IAAI,OAAO,IAAI,IAAI;YAAE,OAAO;QAC5B,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,sBAAsB,CAAC,cAAc;YAC3C,IAAI,EAAE,YAAY,KAAK,YAAY;YACnC,OAAO,EAAE,YAAY,OAAO,CAAC,UAAU,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,QAAQ,CAAC,aAAa,MAAM,IAAI,sCAAsC;YAC9J,QAAQ,EAAE,0BAA0B,CAAC,IAAI;SAC1C,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { ExpertPersonaCharter } from './expert-persona-charter.schemas';\nimport { ExpertRoleCapability, getExpertRoleTemplate } from './expert-role-template.schemas';\n\n/**\n * Authoring-consistency validator for an app's set of committed\n * `ExpertPersonaCharter`s.\n *\n * A **pure**, **typed** walker (the `_core` validator convention shared\n * with `validateBrandSnapshot` / `validateMarketSnapshot` /\n * `validateVisionSnapshot`) — no Zod introspection, no registry access,\n * no I/O. Zod enforces structural validity at parse time; this walker\n * adds the cross-entity, catalog-integrity, and freshness checks Zod\n * cannot express.\n *\n * Rule table:\n *\n * | Kind | Severity | Trigger |\n * |---------------------------|----------|----------------------------------------------------------------------------------------------|\n * | `UNKNOWN_ROLE` | ERROR | `roleRef` names no `EXPERT_ROLE_TEMPLATES` entry — the charter instantiates nothing. |\n * | `DUPLICATE_CHARTER_REF` | ERROR | Two charters share a `charterRef` — deliberation records address reviewers by charterRef. |\n * | `DUPLICATE_ROLE_CHARTER` | ERROR | Two charters instantiate the same `roleRef` — one app has exactly one Art Director. |\n * | `NO_REVIEW_CAPABILITY` | WARN | A charter's role declares no `REVIEW` capability — it can never sit on a panel (brief-only roles are legal but unusual; surface it). |\n * | `STALE_AUTHORED` | WARN | `authored.lastAuthoredAt + reviewCadence < now` (market/vision/brand parity). |\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates its input.\n */\nexport enum ExpertPersonaIssueKind {\n /** `roleRef` not found in the framework role-template catalog. ERROR. */\n UNKNOWN_ROLE = 'unknown_role',\n /** Two charters share a `charterRef`. ERROR. */\n DUPLICATE_CHARTER_REF = 'duplicate_charter_ref',\n /** Two charters instantiate the same role. ERROR. */\n DUPLICATE_ROLE_CHARTER = 'duplicate_role_charter',\n /** The charter's role can never review — it cannot sit on a panel. WARN. */\n NO_REVIEW_CAPABILITY = 'no_review_capability',\n /** `authored.lastAuthoredAt + reviewCadence < now`. WARN. */\n STALE_AUTHORED = 'stale_authored',\n}\n\nexport enum ExpertPersonaIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface ExpertPersonaIssue {\n kind: ExpertPersonaIssueKind;\n /** Dotted path inside the charter set (e.g. `'charters[2].roleRef'`). */\n path: string;\n message: string;\n severity: ExpertPersonaIssueSeverity;\n}\n\nexport interface ExpertPersonaValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: ExpertPersonaIssue[];\n}\n\nexport interface ValidateExpertPersonaChartersOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market/vision/brand\n * validators (module-local there too — a shared promotion is part of the\n * deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateExpertPersonaCharters(\n charters: ExpertPersonaCharter[],\n options?: ValidateExpertPersonaChartersOptions,\n): ExpertPersonaValidationResult {\n const issues: ExpertPersonaIssue[] = [];\n\n detectUnknownRoles(charters, issues);\n detectDuplicateCharterRefs(charters, issues);\n detectDuplicateRoleCharters(charters, issues);\n detectNoReviewCapability(charters, issues);\n detectStaleAuthored(charters, options?.now ?? new Date(), issues);\n\n const ok = issues.every(issue => issue.severity !== ExpertPersonaIssueSeverity.ERROR);\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per concern, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectUnknownRoles(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n charters.forEach((charter, index) => {\n if (getExpertRoleTemplate(charter.roleRef) !== undefined) return;\n issues.push({\n kind: ExpertPersonaIssueKind.UNKNOWN_ROLE,\n path: `charters[${index}].roleRef`,\n message: `Charter \"${charter.charterRef}\" instantiates unknown role \"${charter.roleRef}\" — no such entry in EXPERT_ROLE_TEMPLATES.`,\n severity: ExpertPersonaIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCharterRefs(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n const seen = new Set<string>();\n charters.forEach((charter, index) => {\n if (!seen.has(charter.charterRef)) {\n seen.add(charter.charterRef);\n return;\n }\n issues.push({\n kind: ExpertPersonaIssueKind.DUPLICATE_CHARTER_REF,\n path: `charters[${index}].charterRef`,\n message: `Duplicate charterRef \"${charter.charterRef}\" — deliberation records address reviewers by charterRef; a duplicate is ambiguous.`,\n severity: ExpertPersonaIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRoleCharters(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n const seen = new Set<string>();\n charters.forEach((charter, index) => {\n if (!seen.has(charter.roleRef)) {\n seen.add(charter.roleRef);\n return;\n }\n issues.push({\n kind: ExpertPersonaIssueKind.DUPLICATE_ROLE_CHARTER,\n path: `charters[${index}].roleRef`,\n message: `Role \"${charter.roleRef}\" is instantiated by more than one charter — an app has exactly one persona per role.`,\n severity: ExpertPersonaIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectNoReviewCapability(charters: ExpertPersonaCharter[], issues: ExpertPersonaIssue[]): void {\n charters.forEach((charter, index) => {\n const template = getExpertRoleTemplate(charter.roleRef);\n // Unknown roles are flagged as ERROR separately; nothing to check here.\n if (template === undefined) return;\n if (template.roleCapabilities.includes(ExpertRoleCapability.REVIEW)) return;\n issues.push({\n kind: ExpertPersonaIssueKind.NO_REVIEW_CAPABILITY,\n path: `charters[${index}].roleRef`,\n message: `Charter \"${charter.charterRef}\"'s role \"${charter.roleRef}\" declares no REVIEW capability — it can author briefs but never sit on a deliberation panel.`,\n severity: ExpertPersonaIssueSeverity.WARN,\n });\n });\n}\n\nfunction detectStaleAuthored(\n charters: ExpertPersonaCharter[],\n now: Date,\n issues: ExpertPersonaIssue[],\n): void {\n charters.forEach((charter, index) => {\n const authored = charter.authored;\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: ExpertPersonaIssueKind.STALE_AUTHORED,\n path: `charters[${index}].authored`,\n message: `Charter \"${charter.charterRef}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-review or remove the cadence.`,\n severity: ExpertPersonaIssueSeverity.WARN,\n });\n });\n}\n"]}
@@ -20,8 +20,7 @@ export declare enum ExpertRoleCapability {
20
20
  * Which specification-tier inputs SHAPE a role's derived charter. The
21
21
  * derivation step resolves each kind through the companion introspection
22
22
  * seam (all already reachable: the snapshot exports + the existing
23
- * design-system behaviors) and the charter's `inputsDigest` seals their
24
- * state at derivation time.
23
+ * design-system behaviors).
25
24
  */
26
25
  export declare enum ExpertShapingInputKind {
27
26
  /** The `VisionSnapshot` (idea, mission, values). */
@@ -1 +1 @@
1
- {"version":3,"file":"expert-role-template.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-role-template.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD;;;;;GAKG;AACH,oBAAY,oBAAoB;IAC9B;;;;OAIG;IACH,KAAK,UAAU;IACf,oEAAoE;IACpE,MAAM,WAAW;CAClB;AAED;;;;;;GAMG;AACH,oBAAY,sBAAsB;IAChC,oDAAoD;IACpD,MAAM,WAAW;IACjB,0FAA0F;IAC1F,MAAM,WAAW;IACjB,gFAAgF;IAChF,KAAK,UAAU;IACf,0EAA0E;IAC1E,aAAa,kBAAkB;IAC/B,kCAAkC;IAClC,YAAY,iBAAiB;IAC7B,uEAAuE;IACvE,cAAc,mBAAmB;IACjC;;;;OAIG;IACH,kBAAkB,uBAAuB;CAC1C;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,aAEqE,CAAC;AAEtG,eAAO,MAAM,wBAAwB;;;;;;;;;iBAsCnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EA4L9D,CAAC;AAEF,2EAA2E;AAC3E,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAErF"}
1
+ {"version":3,"file":"expert-role-template.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-role-template.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD;;;;;GAKG;AACH,oBAAY,oBAAoB;IAC9B;;;;OAIG;IACH,KAAK,UAAU;IACf,oEAAoE;IACpE,MAAM,WAAW;CAClB;AAED;;;;;GAKG;AACH,oBAAY,sBAAsB;IAChC,oDAAoD;IACpD,MAAM,WAAW;IACjB,0FAA0F;IAC1F,MAAM,WAAW;IACjB,gFAAgF;IAChF,KAAK,UAAU;IACf,0EAA0E;IAC1E,aAAa,kBAAkB;IAC/B,kCAAkC;IAClC,YAAY,iBAAiB;IAC7B,uEAAuE;IACvE,cAAc,mBAAmB;IACjC;;;;OAIG;IACH,kBAAkB,uBAAuB;CAC1C;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,aAEqE,CAAC;AAEtG,eAAO,MAAM,wBAAwB;;;;;;;;;iBAsCnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EA4L9D,CAAC;AAEF,2EAA2E;AAC3E,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAErF"}
@@ -22,8 +22,7 @@ export var ExpertRoleCapability;
22
22
  * Which specification-tier inputs SHAPE a role's derived charter. The
23
23
  * derivation step resolves each kind through the companion introspection
24
24
  * seam (all already reachable: the snapshot exports + the existing
25
- * design-system behaviors) and the charter's `inputsDigest` seals their
26
- * state at derivation time.
25
+ * design-system behaviors).
27
26
  */
28
27
  export var ExpertShapingInputKind;
29
28
  (function (ExpertShapingInputKind) {