@wildo-ai/saas-specifications 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (677) hide show
  1. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
  2. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +14 -13
  4. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
  6. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
  8. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
  10. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/index.js +34 -13
  12. package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
  14. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
  15. package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
  16. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
  17. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
  18. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
  19. package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
  20. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +3 -2
  21. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
  22. package/dist/esm/_core/application-specification-family-identity.schemas.js +3 -2
  23. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
  24. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +18 -0
  25. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  26. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +39 -13
  27. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  28. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +43 -13
  29. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  30. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +90 -2
  31. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  32. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +70 -6
  33. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  34. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  35. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +26 -4
  36. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  37. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +14 -0
  38. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  40. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
  41. package/dist/esm/_core/capability-composition/capability-composition-validation.js +1 -0
  42. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
  43. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +21 -2
  44. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +20 -1
  46. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
  47. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +11 -32
  48. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +70 -3
  50. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  51. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +142 -17
  52. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
  53. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +285 -30
  54. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
  55. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +183 -18
  56. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  57. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +165 -18
  58. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  59. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
  60. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
  61. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
  62. package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
  63. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
  64. package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
  65. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
  66. package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
  67. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
  68. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
  69. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
  70. package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
  71. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
  72. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
  73. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
  74. package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
  75. package/dist/esm/_core/composite-view-specification.schemas.js +8 -1
  76. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  77. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -2
  78. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  79. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +3 -2
  80. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  81. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +16 -3
  82. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +70 -5
  84. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
  85. package/dist/esm/_core/family-aspects.schemas.d.ts +10 -0
  86. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  88. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +2 -2
  89. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +1 -0
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  91. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +16 -0
  92. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  93. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +8 -0
  94. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  95. package/dist/esm/_core/index.d.ts +3 -0
  96. package/dist/esm/_core/index.d.ts.map +1 -1
  97. package/dist/esm/_core/index.js +3 -0
  98. package/dist/esm/_core/index.js.map +1 -1
  99. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +5 -0
  100. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
  101. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +3 -1
  102. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
  103. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
  104. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +12 -2
  105. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
  106. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +30 -2
  107. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +32 -2
  109. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
  110. package/dist/esm/_core/market/feature-benefit.schemas.js +2 -2
  111. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  112. package/dist/esm/_core/market/market-alternative.schemas.js +2 -2
  113. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  114. package/dist/esm/_core/market/market-buying-journey.schemas.js +2 -2
  115. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  116. package/dist/esm/_core/market/market-category.schemas.js +2 -2
  117. package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
  118. package/dist/esm/_core/market/market-channel.schemas.js +2 -2
  119. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  120. package/dist/esm/_core/market/market-gain.schemas.js +2 -2
  121. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  122. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  123. package/dist/esm/_core/market/market-icp.schemas.js +2 -2
  124. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  125. package/dist/esm/_core/market/market-job.schemas.js +2 -2
  126. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  127. package/dist/esm/_core/market/market-message-template.schemas.js +2 -2
  128. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  129. package/dist/esm/_core/market/market-objection.schemas.js +2 -2
  130. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  131. package/dist/esm/_core/market/market-pain.schemas.js +2 -2
  132. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  133. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  134. package/dist/esm/_core/market/market-persona.schemas.js +2 -2
  135. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  136. package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
  137. package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
  138. package/dist/esm/_core/market/market-proof.schemas.js +2 -2
  139. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  140. package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
  141. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  142. package/dist/esm/_core/market/market-references.schemas.js +6 -0
  143. package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
  144. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +4 -4
  145. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +2 -2
  146. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  147. package/dist/esm/_core/market/market-trigger.schemas.js +2 -2
  148. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  149. package/dist/esm/_core/market/market.family-aspects.js +1 -1
  150. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  151. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  152. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +6 -1
  153. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  154. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +1 -0
  155. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
  157. package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
  158. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +1 -0
  159. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  160. package/dist/esm/_core/resource-specification.schemas.d.ts +86 -28
  161. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  162. package/dist/esm/_core/resource-specification.schemas.js +110 -24
  163. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  164. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
  165. package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
  166. package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
  167. package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
  168. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +31 -6
  169. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
  170. package/dist/esm/_core/website-plan/website-plan.schemas.js +35 -6
  171. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
  172. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +142 -3
  173. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
  174. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +148 -14
  175. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
  176. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +70 -10
  177. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  178. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +98 -11
  179. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  180. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
  181. package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
  182. package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
  183. package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
  184. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
  185. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
  186. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
  187. package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
  188. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +5 -49
  189. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  190. package/dist/esm/application-creation/journey.application-creation.schemas.js +25 -60
  191. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  192. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
  193. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
  194. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
  195. package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
  196. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +26 -6
  197. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  198. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +28 -1
  199. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  200. package/dist/esm/application-creation.exports.d.ts +7 -0
  201. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  202. package/dist/esm/application-creation.exports.js +7 -0
  203. package/dist/esm/application-creation.exports.js.map +1 -1
  204. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +1 -1
  205. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +1 -1
  206. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -1
  207. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +24 -1
  208. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  209. package/dist/esm/assurance/assurance-authority-basis.definitions.js +75 -5
  210. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  211. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +6 -0
  212. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  213. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
  214. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  215. package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
  216. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  217. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  218. package/dist/esm/assurance/assurance-document-system.definitions.js +39 -6
  219. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  220. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +11 -0
  221. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  222. package/dist/esm/assurance/assurance-document-system.schemas.js +19 -0
  223. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  224. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  225. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +295 -31
  226. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  227. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +7 -0
  228. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  229. package/dist/esm/assurance/assurance-foundation.schemas.js +7 -0
  230. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  231. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  232. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +17 -0
  233. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  234. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +5 -1
  235. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  236. package/dist/esm/assurance/assurance-program-generation.schemas.js +6 -3
  237. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  238. package/dist/esm/assurance/assurance-program.family-aspects.js +1 -1
  239. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  240. package/dist/esm/assurance/assurance-program.schemas.d.ts +232 -3
  241. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  242. package/dist/esm/assurance/assurance-program.schemas.js +107 -14
  243. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  244. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  245. package/dist/esm/assurance/assurance-source-registry.definitions.js +77 -1
  246. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  247. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  248. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +23 -1
  249. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  250. package/dist/esm/assurance/governed-document-release.d.ts +7 -0
  251. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
  252. package/dist/esm/assurance/governed-document-release.js +11 -2
  253. package/dist/esm/assurance/governed-document-release.js.map +1 -1
  254. package/dist/esm/companion-exports.d.ts +6 -5
  255. package/dist/esm/companion-exports.d.ts.map +1 -1
  256. package/dist/esm/companion-exports.js.map +1 -1
  257. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
  258. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  259. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +35 -33
  260. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  261. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  262. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +6 -2
  263. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  264. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  265. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +13 -12
  266. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  267. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  268. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +26 -2
  269. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  271. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -4
  272. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  273. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  274. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +11 -9
  275. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  276. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
  277. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  278. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -0
  279. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  280. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +45 -32
  281. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  282. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -23
  283. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  284. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +185 -31
  285. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +2 -1
  287. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  288. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +29 -7
  289. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  290. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +7 -1
  292. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  294. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +9 -6
  295. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
  297. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  298. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +11 -7
  299. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +18 -16
  302. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  304. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +9 -11
  305. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  306. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  307. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +238 -219
  308. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  309. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -24
  310. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  311. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +76 -16
  312. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  313. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +2 -1
  314. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +28 -6
  316. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  317. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  318. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +29 -11
  319. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +1 -1
  321. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
  322. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
  323. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  324. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +13 -12
  325. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  326. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
  327. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  328. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  329. package/dist/esm/engine/billing/resources/prices.resource.specification.js +12 -9
  330. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  331. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +7 -4
  332. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  333. package/dist/esm/engine/billing/resources/products.resource.specification.js +36 -16
  334. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  336. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +13 -10
  337. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  338. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
  339. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  340. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
  341. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  342. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
  343. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  344. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +85 -25
  345. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  346. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
  347. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  348. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -2
  349. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  350. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +45 -10
  351. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  352. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +15 -2
  353. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  354. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +52 -12
  355. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  356. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  357. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  358. package/dist/esm/engine/compliance/resources/index.js +1 -0
  359. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  360. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
  361. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
  362. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
  363. package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
  364. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
  365. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
  366. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
  367. package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
  368. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  369. package/dist/esm/engine/engine-resource-specifications.registry.js +59 -0
  370. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  371. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/errors/error-messages.specification.js +69 -0
  373. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  374. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
  375. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  376. package/dist/esm/engine/features/resources/application-features.resource.specification.js +9 -10
  377. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  378. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +5 -5
  379. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +11 -11
  380. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +5 -5
  382. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  383. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  384. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/files/resources/files.resource.specification.js +7 -8
  386. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  387. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  388. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
  389. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  390. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +1 -1
  391. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  392. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
  393. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
  394. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
  395. package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
  396. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +139 -1
  397. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  398. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +150 -4
  399. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  400. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
  402. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
  404. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
  405. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
  406. package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
  407. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
  408. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
  409. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
  410. package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
  411. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +2 -1
  412. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
  413. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +16 -9
  414. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
  415. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
  416. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
  417. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
  418. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
  419. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
  420. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
  421. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
  422. package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
  423. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
  424. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
  425. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +3 -1
  427. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
  428. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  429. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +5 -4
  430. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  431. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
  433. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
  434. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
  435. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  436. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  437. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
  438. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
  439. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
  440. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
  441. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
  442. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  443. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
  444. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
  445. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
  446. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +1 -1
  447. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
  448. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
  449. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
  450. package/dist/esm/engine/frontend-components/index.d.ts +1 -0
  451. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  452. package/dist/esm/engine/frontend-components/index.js +3 -0
  453. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  454. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
  455. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
  456. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
  457. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
  458. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
  459. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
  460. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
  462. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
  463. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
  464. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  465. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  466. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
  467. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  468. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  469. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +26 -0
  470. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  471. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
  472. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  473. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
  474. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
  475. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
  476. package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
  477. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
  478. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
  479. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
  480. package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
  481. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
  482. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
  483. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
  484. package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
  485. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
  486. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
  487. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
  488. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
  489. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -1
  490. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
  491. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +20 -16
  492. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
  493. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
  494. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
  495. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
  496. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
  497. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  498. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +19 -6
  499. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  500. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
  501. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
  502. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
  503. package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
  504. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +8 -0
  505. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  506. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -2
  507. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  508. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +8 -8
  509. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
  510. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  511. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +4 -4
  512. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
  513. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
  514. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
  515. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
  516. package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
  517. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
  518. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
  519. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
  520. package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
  521. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
  522. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
  523. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
  524. package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
  525. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
  526. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
  527. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
  528. package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
  529. package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
  530. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  531. package/dist/esm/engine/notifications/resources/index.js +1 -0
  532. package/dist/esm/engine/notifications/resources/index.js.map +1 -1
  533. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
  534. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  535. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -5
  536. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  537. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  538. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
  539. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  540. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +6 -6
  541. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  542. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +8 -11
  543. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  544. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
  545. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
  546. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
  547. package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
  548. package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
  549. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  550. package/dist/esm/engine/notifications/system-emails/index.js +4 -2
  551. package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
  552. package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
  553. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  554. package/dist/esm/engine/organizations/resources/index.js +2 -0
  555. package/dist/esm/engine/organizations/resources/index.js.map +1 -1
  556. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +3 -0
  557. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  558. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +40 -12
  559. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  560. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
  561. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  562. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
  563. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  564. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +0 -1
  565. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  566. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -6
  567. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  568. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  569. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +7 -3
  570. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  571. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  572. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +15 -8
  573. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  574. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +3 -1
  575. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  576. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +36 -21
  577. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  578. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
  579. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
  580. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
  581. package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
  582. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
  583. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
  584. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
  585. package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
  586. package/dist/esm/engine/providers/apple.provider.specification.js +1 -1
  587. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  588. package/dist/esm/engine/providers/github.provider.specification.js +1 -1
  589. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  590. package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
  591. package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
  592. package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
  593. package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
  594. package/dist/esm/engine/providers/google.provider.specification.js +1 -1
  595. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  596. package/dist/esm/engine/providers/index.d.ts +2 -0
  597. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  598. package/dist/esm/engine/providers/index.js +5 -1
  599. package/dist/esm/engine/providers/index.js.map +1 -1
  600. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -6
  602. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  603. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
  604. package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
  605. package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
  606. package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
  607. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  608. package/dist/esm/engine/providers/resend.provider.specification.js +3 -1
  609. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  610. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  611. package/dist/esm/engine/providers/stripe.provider.specification.js +3 -2
  612. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  613. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
  614. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
  615. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
  616. package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
  617. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
  618. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
  619. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
  620. package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
  621. package/dist/esm/engine/roles/index.d.ts +13 -5
  622. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  623. package/dist/esm/engine/roles/index.js +19 -6
  624. package/dist/esm/engine/roles/index.js.map +1 -1
  625. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
  626. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
  627. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
  628. package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
  629. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
  630. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
  631. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
  632. package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
  633. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
  634. package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
  635. package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
  636. package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
  637. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  638. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  639. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
  640. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  641. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
  642. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  643. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
  644. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
  645. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  646. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  647. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +2 -2
  648. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  649. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +0 -4
  650. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  651. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +0 -3
  652. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  653. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +0 -3
  654. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +7 -7
  656. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  657. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
  658. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +0 -3
  660. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  661. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +11 -18
  662. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  663. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +6 -6
  664. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  665. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  666. package/dist/esm/engine/users/resources/user-self.resource.specification.js +5 -1
  667. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  668. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +8 -5
  669. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  670. package/dist/esm/engine/users/resources/users.resource.specification.js +49 -16
  671. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  672. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  673. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +29 -10
  674. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  675. package/dist/tsconfig.build.tsbuildinfo +1 -1
  676. package/package.json +8 -8
  677. package/dist/assurance/external-framework-mapping.json +0 -1228
@@ -1 +1 @@
1
- {"version":3,"file":"market-positioning.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-positioning.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,mDAAmD;IACnD,QAAQ,EAAE,oBAAoB;IAC9B,mDAAmD;IACnD,WAAW,EAAE,oBAAoB;IACjC;;;OAGG;IACH,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC/D,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D;;;OAGG;IACH,cAAc,EAAE,oBAAoB;IACpC,0DAA0D;IAC1D,QAAQ,EAAE,oBAAoB;CAC/B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,uEAAuE;IACvE,GAAG,EAAE,oBAAoB;IACzB;;;OAGG;IACH,MAAM,EAAE,oBAAoB;IAC5B,+CAA+C;IAC/C,WAAW,EAAE,oBAAoB;IACjC,oDAAoD;IACpD,aAAa,EAAE,oBAAoB;IACnC,kEAAkE;IAClE,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C,uDAAuD;IACvD,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjF,2EAA2E;IAC3E,mBAAmB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACpD,6EAA6E;IAC7E,iBAAiB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAClD,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,uDAAuD","sourcesContent":["import { z } from 'zod';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.positioning.config facet:layer:specification facet:family:market\n *\n * Per-ICP positioning statement — the assembled marketing-truth\n * promise tailored to one Ideal Customer Profile. Drives:\n *\n * - Landing-page hero per ICP (one route per ICP, see §10.3 of the\n * plan).\n * - AI prompt enrichment for \"edit feature for ICP X\" intents.\n * - Sales / outbound message generation through the market\n * generation agent (see §10.2).\n *\n * Authoring scope (D11 + H6): one entry per ICP whose `priority` is\n * `CORE` or `EXPANSION`. `EXPLORATORY`, `DEFERRED`, `ANTI_TARGET` are\n * exempt — `validateMarketSnapshot` only flags\n * `MISSING_POSITIONING_FOR_ICP` (ERROR) for `CORE`/`EXPANSION` ICPs.\n *\n * `oneSentence` follows the Geoffrey-Moore template:\n * `\"For <ICP> who <statement of need>, our <product category> is\n * <category> that <key benefit>. Unlike <alternatives>, our product\n * <unique differentiator>.\"` — kept as a single string so prompts\n * paste it verbatim.\n *\n * `valuePillars` typically number 2-4. Each pillar carries\n * `backedByBenefitRefs[]` so the website generator and AI prompts can\n * trace pillar copy back to the underlying `FeatureBenefit` claims.\n */\nexport const ValuePillarSchema = z.object({\n /** Short label (e.g. `\"Single pane of focus\"`). */\n headline: NonEmptyStringSchema,\n /** 1-3 sentence elaboration in the brand voice. */\n description: NonEmptyStringSchema,\n /**\n * `FeatureBenefitRef[]` — benefits that prove this pillar.\n * `validateMarketSnapshot` checks orphans inside the snapshot.\n */\n backedByBenefitRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ValuePillar = z.infer<typeof ValuePillarSchema>;\n\nexport const PositioningAlternativeContrastSchema = z.object({\n /**\n * `MarketAlternativeRef` resolved against `snapshot.alternatives[]`.\n * Validator surfaces dangling refs as `ORPHAN_REF` (Phase 3).\n */\n alternativeRef: NonEmptyStringSchema,\n /** \"Why we win against this alternative for this ICP.\" */\n contrast: NonEmptyStringSchema,\n});\nexport type PositioningAlternativeContrast = z.infer<typeof PositioningAlternativeContrastSchema>;\n\nexport const MarketPositioningConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'positioning-icp-small-team-pmo'`). */\n ref: NonEmptyStringSchema,\n /**\n * Target ICP. The validator checks the back-link\n * (`MISSING_POSITIONING_FOR_ICP`) for `CORE`/`EXPANSION` ICPs.\n */\n icpRef: NonEmptyStringSchema,\n /** Geoffrey-Moore one-sentence positioning. */\n oneSentence: NonEmptyStringSchema,\n /** 2-3 sentence \"elevator\" version, brand-voice. */\n elevatorPitch: NonEmptyStringSchema,\n /** 2-4 pillars that the landing/website hangs sections off of. */\n valuePillars: z.array(ValuePillarSchema).min(1),\n /** Optional comparisons against named alternatives. */\n alternativesContrasted: z.array(PositioningAlternativeContrastSchema).default([]),\n /** Optional CTA copy for this ICP (e.g. `\"Start a 14-day team trial\"`). */\n primaryCallToAction: NonEmptyStringSchema.optional(),\n /** Optional `ToneOfVoiceRef` override for content generated for this ICP. */\n preferredVoiceRef: NonEmptyStringSchema.optional(),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type MarketPositioningConfig = z.infer<typeof MarketPositioningConfigSchema>;\n/** @wildo_source:part:end market.positioning.config */\n"]}
1
+ {"version":3,"file":"market-positioning.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-positioning.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEzF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,mDAAmD;IACnD,QAAQ,EAAE,oBAAoB;IAC9B,mDAAmD;IACnD,WAAW,EAAE,oBAAoB;IACjC;;;OAGG;IACH,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC/D,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D;;;OAGG;IACH,cAAc,EAAE,oBAAoB;IACpC,0DAA0D;IAC1D,QAAQ,EAAE,oBAAoB;CAC/B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,uEAAuE;IACvE,GAAG,EAAE,oBAAoB;IACzB;;;OAGG;IACH,MAAM,EAAE,oBAAoB;IAC5B,+CAA+C;IAC/C,WAAW,EAAE,oBAAoB;IACjC,oDAAoD;IACpD,aAAa,EAAE,oBAAoB;IACnC,kEAAkE;IAClE,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C,uDAAuD;IACvD,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjF,2EAA2E;IAC3E,mBAAmB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACpD,6EAA6E;IAC7E,iBAAiB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAClD,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,uDAAuD","sourcesContent":["import { z } from 'zod';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.positioning.config facet:layer:specification facet:family:market\n *\n * Per-ICP positioning statement — the assembled marketing-truth\n * promise tailored to one Ideal Customer Profile. Drives:\n *\n * - Landing-page hero per ICP (one route per ICP, see §10.3 of the\n * plan).\n * - AI prompt enrichment for \"edit feature for ICP X\" intents.\n * - Sales / outbound message generation through the market\n * generation agent (see §10.2).\n *\n * Authoring scope (D11 + H6): one entry per ICP whose `priority` is\n * `CORE` or `EXPANSION`. `EXPLORATORY`, `DEFERRED`, `ANTI_TARGET` are\n * exempt — `validateMarketSnapshot` only flags\n * `MISSING_POSITIONING_FOR_ICP` (ERROR) for `CORE`/`EXPANSION` ICPs.\n *\n * `oneSentence` follows the Geoffrey-Moore template:\n * `\"For <ICP> who <statement of need>, our <product category> is\n * <category> that <key benefit>. Unlike <alternatives>, our product\n * <unique differentiator>.\"` — kept as a single string so prompts\n * paste it verbatim.\n *\n * `valuePillars` typically number 2-4. Each pillar carries\n * `backedByBenefitRefs[]` so the website generator and AI prompts can\n * trace pillar copy back to the underlying `FeatureBenefit` claims.\n */\nexport const ValuePillarSchema = z.object({\n /** Short label (e.g. `\"Single pane of focus\"`). */\n headline: NonEmptyStringSchema,\n /** 1-3 sentence elaboration in the brand voice. */\n description: NonEmptyStringSchema,\n /**\n * `FeatureBenefitRef[]` — benefits that prove this pillar.\n * `validateMarketSnapshot` checks orphans inside the snapshot.\n */\n backedByBenefitRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ValuePillar = z.infer<typeof ValuePillarSchema>;\n\nexport const PositioningAlternativeContrastSchema = z.object({\n /**\n * `MarketAlternativeRef` resolved against `snapshot.alternatives[]`.\n * Validator surfaces dangling refs as `ORPHAN_REF` (Phase 3).\n */\n alternativeRef: NonEmptyStringSchema,\n /** \"Why we win against this alternative for this ICP.\" */\n contrast: NonEmptyStringSchema,\n});\nexport type PositioningAlternativeContrast = z.infer<typeof PositioningAlternativeContrastSchema>;\n\nexport const MarketPositioningConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'positioning-icp-small-team-pmo'`). */\n ref: MarketEntryRefSchema,\n /**\n * Target ICP. The validator checks the back-link\n * (`MISSING_POSITIONING_FOR_ICP`) for `CORE`/`EXPANSION` ICPs.\n */\n icpRef: NonEmptyStringSchema,\n /** Geoffrey-Moore one-sentence positioning. */\n oneSentence: NonEmptyStringSchema,\n /** 2-3 sentence \"elevator\" version, brand-voice. */\n elevatorPitch: NonEmptyStringSchema,\n /** 2-4 pillars that the landing/website hangs sections off of. */\n valuePillars: z.array(ValuePillarSchema).min(1),\n /** Optional comparisons against named alternatives. */\n alternativesContrasted: z.array(PositioningAlternativeContrastSchema).default([]),\n /** Optional CTA copy for this ICP (e.g. `\"Start a 14-day team trial\"`). */\n primaryCallToAction: NonEmptyStringSchema.optional(),\n /** Optional `ToneOfVoiceRef` override for content generated for this ICP. */\n preferredVoiceRef: NonEmptyStringSchema.optional(),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type MarketPositioningConfig = z.infer<typeof MarketPositioningConfigSchema>;\n/** @wildo_source:part:end market.positioning.config */\n"]}
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  // never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
4
4
  import '@wildo-ai/zod-decorators';
5
5
  import { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas.js';
6
- import { NonEmptyStringSchema } from './market-references.schemas.js';
6
+ import { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas.js';
7
7
  /**
8
8
  * @wildo_source:part:start market.proof.kind facet:layer:specification facet:family:market
9
9
  *
@@ -69,7 +69,7 @@ const ProofMetricSchema = z.object({
69
69
  */
70
70
  export const MarketProofConfigSchema = z.object({
71
71
  /** Stable kebab-case ref (e.g. `'proof-acme-cut-meetings-80pct'`). */
72
- ref: NonEmptyStringSchema,
72
+ ref: MarketEntryRefSchema,
73
73
  proofKind: z.enum(ProofKind).systemEnum('ProofKind'),
74
74
  /** The proof statement as it would appear in copy. */
75
75
  statement: NonEmptyStringSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"market-proof.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-proof.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,sCAAyB,CAAA;IACzB,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,gDAAmC,CAAA;AACrC,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB;AACD,+CAA+C;AAE/C,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,yEAAyE;IACzE,IAAI,EAAE,oBAAoB;IAC1B,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side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.proof.kind facet:layer:specification facet:family:market\n *\n * Six archetypes of social proof a marketing organization can deploy.\n *\n * - `QUOTE` — attributable customer / advocate testimonial.\n * - `METRIC` — quantified outcome (\"cut status meetings 80%\").\n * - `CASE_STUDY` — named customer, narrative, before/after, evidence.\n * - `AWARD` — third-party recognition (G2 leader, magic quadrant).\n * - `LOGO` — customer logo (used as a wall, not standalone proof).\n * - `ANALYST_MENTION` — Gartner / Forrester / industry-analyst note.\n *\n * The kind drives the rendering decision in landing-page generators\n * (a `LOGO` doesn't need a `statement`-style headline; a `METRIC` does\n * surface its value + unit prominently).\n */\nexport enum ProofKind {\n QUOTE = 'QUOTE',\n METRIC = 'METRIC',\n CASE_STUDY = 'CASE_STUDY',\n AWARD = 'AWARD',\n LOGO = 'LOGO',\n ANALYST_MENTION = 'ANALYST_MENTION',\n}\n/** @wildo_source:part:end market.proof.kind */\n\nconst ProofAttributionSchema = z.object({\n /** Person or organization name. Required when attribution is present. */\n name: NonEmptyStringSchema,\n /** Role / title. Optional. */\n role: NonEmptyStringSchema.optional(),\n /** Organization context. Optional (often redundant with `name` for AWARD/CASE_STUDY). */\n company: NonEmptyStringSchema.optional(),\n /** Source / profile URL. Optional. */\n url: z.url().optional(),\n});\n\nconst ProofMetricSchema = z.object({\n /** Numeric value (`80` for \"80%\", `4.2` for \"4.2 hours saved\"). */\n value: z.number().finite(),\n /** Unit string (`'%'`, `'hours/week'`, `'$/month'`). */\n unit: NonEmptyStringSchema,\n /** Optional measurement period (`'per week'`, `'over 6 months'`). */\n period: NonEmptyStringSchema.optional(),\n});\n\n/**\n * @wildo_source:part:start market.proof.config facet:layer:specification facet:family:market\n *\n * A single piece of social proof that backs a benefit and/or an ICP\n * claim. Authored honestly (no fabricated testimonials).\n *\n * The validator surfaces `PROOF_WITHOUT_SUPPORT` (WARN) when both\n * `supportsBenefitRefs` and `supportsIcpRefs` are empty: a proof point\n * that supports nothing has no place to land in generated copy.\n *\n * `attribution` is structural (vs free-form prose) so generators can\n * render attribution lines uniformly. Omit when the proof itself\n * carries no name (METRIC reported in aggregate, AWARD without a\n * named individual).\n *\n * `metric` is a structured quantitative payload — generators can\n * format `value + unit + period` per locale (\"80 %\", \"80%\", \"80 %\"\n * with French nbsp) at output time. Authoring stays English / numeric.\n */\nexport const MarketProofConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'proof-acme-cut-meetings-80pct'`). */\n ref: NonEmptyStringSchema,\n proofKind: z.enum(ProofKind).systemEnum('ProofKind'),\n /** The proof statement as it would appear in copy. */\n statement: NonEmptyStringSchema,\n /** Optional attribution block. */\n attribution: ProofAttributionSchema.optional(),\n /** Optional structured metric payload (for `proofKind === METRIC` and others). */\n metric: ProofMetricSchema.optional(),\n /** Source / case-study URL. Optional. */\n evidenceUrl: z.url().optional(),\n /** Benefits this proof reinforces. Resolved against `snapshot.benefits[]`. */\n supportsBenefitRefs: z.array(NonEmptyStringSchema).default([]),\n /** ICPs this proof reinforces. Resolved against `snapshot.icps[]`. */\n supportsIcpRefs: z.array(NonEmptyStringSchema).default([]),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type MarketProofConfig = z.infer<typeof MarketProofConfigSchema>;\n/** @wildo_source:part:end market.proof.config */\n"]}
1
+ {"version":3,"file":"market-proof.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-proof.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBA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AE;IACpC,yCAAyC;IACzC,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/B,8EAA8E;IAC9E,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9D,sEAAsE;IACtE,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC1D,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,iDAAiD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.proof.kind facet:layer:specification facet:family:market\n *\n * Six archetypes of social proof a marketing organization can deploy.\n *\n * - `QUOTE` — attributable customer / advocate testimonial.\n * - `METRIC` — quantified outcome (\"cut status meetings 80%\").\n * - `CASE_STUDY` — named customer, narrative, before/after, evidence.\n * - `AWARD` — third-party recognition (G2 leader, magic quadrant).\n * - `LOGO` — customer logo (used as a wall, not standalone proof).\n * - `ANALYST_MENTION` — Gartner / Forrester / industry-analyst note.\n *\n * The kind drives the rendering decision in landing-page generators\n * (a `LOGO` doesn't need a `statement`-style headline; a `METRIC` does\n * surface its value + unit prominently).\n */\nexport enum ProofKind {\n QUOTE = 'QUOTE',\n METRIC = 'METRIC',\n CASE_STUDY = 'CASE_STUDY',\n AWARD = 'AWARD',\n LOGO = 'LOGO',\n ANALYST_MENTION = 'ANALYST_MENTION',\n}\n/** @wildo_source:part:end market.proof.kind */\n\nconst ProofAttributionSchema = z.object({\n /** Person or organization name. Required when attribution is present. */\n name: NonEmptyStringSchema,\n /** Role / title. Optional. */\n role: NonEmptyStringSchema.optional(),\n /** Organization context. Optional (often redundant with `name` for AWARD/CASE_STUDY). */\n company: NonEmptyStringSchema.optional(),\n /** Source / profile URL. Optional. */\n url: z.url().optional(),\n});\n\nconst ProofMetricSchema = z.object({\n /** Numeric value (`80` for \"80%\", `4.2` for \"4.2 hours saved\"). */\n value: z.number().finite(),\n /** Unit string (`'%'`, `'hours/week'`, `'$/month'`). */\n unit: NonEmptyStringSchema,\n /** Optional measurement period (`'per week'`, `'over 6 months'`). */\n period: NonEmptyStringSchema.optional(),\n});\n\n/**\n * @wildo_source:part:start market.proof.config facet:layer:specification facet:family:market\n *\n * A single piece of social proof that backs a benefit and/or an ICP\n * claim. Authored honestly (no fabricated testimonials).\n *\n * The validator surfaces `PROOF_WITHOUT_SUPPORT` (WARN) when both\n * `supportsBenefitRefs` and `supportsIcpRefs` are empty: a proof point\n * that supports nothing has no place to land in generated copy.\n *\n * `attribution` is structural (vs free-form prose) so generators can\n * render attribution lines uniformly. Omit when the proof itself\n * carries no name (METRIC reported in aggregate, AWARD without a\n * named individual).\n *\n * `metric` is a structured quantitative payload — generators can\n * format `value + unit + period` per locale (\"80 %\", \"80%\", \"80 %\"\n * with French nbsp) at output time. Authoring stays English / numeric.\n */\nexport const MarketProofConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'proof-acme-cut-meetings-80pct'`). */\n ref: MarketEntryRefSchema,\n proofKind: z.enum(ProofKind).systemEnum('ProofKind'),\n /** The proof statement as it would appear in copy. */\n statement: NonEmptyStringSchema,\n /** Optional attribution block. */\n attribution: ProofAttributionSchema.optional(),\n /** Optional structured metric payload (for `proofKind === METRIC` and others). */\n metric: ProofMetricSchema.optional(),\n /** Source / case-study URL. Optional. */\n evidenceUrl: z.url().optional(),\n /** Benefits this proof reinforces. Resolved against `snapshot.benefits[]`. */\n supportsBenefitRefs: z.array(NonEmptyStringSchema).default([]),\n /** ICPs this proof reinforces. Resolved against `snapshot.icps[]`. */\n supportsIcpRefs: z.array(NonEmptyStringSchema).default([]),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type MarketProofConfig = z.infer<typeof MarketProofConfigSchema>;\n/** @wildo_source:part:end market.proof.config */\n"]}
@@ -31,6 +31,12 @@ import { z } from 'zod';
31
31
  */
32
32
  /** Trim + non-empty contract reused by every authored prose field. */
33
33
  export declare const NonEmptyStringSchema: z.ZodString;
34
+ /**
35
+ * The OWN key of a market entry (`ref`): stable, kebab-case, unique within its collection, and the
36
+ * value every `*Ref` pointing at the entry carries. Every market entry's `ref` is declared with this
37
+ * schema, and no other field is.
38
+ */
39
+ export declare const MarketEntryRefSchema: z.ZodString;
34
40
  /** Spec-level identity (NEVER `id`). */
35
41
  export type ICPRef = string;
36
42
  export type PersonaRef = string;
@@ -1 +1 @@
1
- {"version":3,"file":"market-references.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/market/market-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,aAA2B,CAAC;AAI7D,wCAAwC;AACxC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAC7B,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAC7B,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AACjC,6EAA6E;AAC7E,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,6EAA6E;AAC7E,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAC9B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAExC,6CAA6C;AAC7C,eAAO,MAAM,cAAc;;;iBAIzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,6CAA6C;AAC7C,eAAO,MAAM,cAAc;;;iBAIzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,4CAA4C;AAC5C,eAAO,MAAM,aAAa;;;iBAIxB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;;;iBAIjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,8DAA8D"}
1
+ {"version":3,"file":"market-references.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/market/market-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,aAA2B,CAAC;AAE7D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,aAA2B,CAAC;AAI7D,wCAAwC;AACxC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,MAAM,GAAG,MAAM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ose field. */
33
33
  export const NonEmptyStringSchema = z.string().trim().min(1);
34
+ /**
35
+ * The OWN key of a market entry (`ref`): stable, kebab-case, unique within its collection, and the
36
+ * value every `*Ref` pointing at the entry carries. Every market entry's `ref` is declared with this
37
+ * schema, and no other field is.
38
+ */
39
+ export const MarketEntryRefSchema = z.string().trim().min(1);
34
40
  const WeightSchema = z.number().int().min(1).max(10);
35
41
  /** Weighted edge from ICP/persona → Pain. */
36
42
  export const PainEdgeSchema = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"market-references.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,sEAAsE;AACtE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE7D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAsBrD,6CAA6C;AAC7C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,OAAO,EAAE,oBAAoB;IAC7B,+DAA+D;IAC/D,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC;AAGH,6CAA6C;AAC7C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,OAAO,EAAE,oBAAoB;IAC7B,uEAAuE;IACvE,UAAU,EAAE,YAAY;CACzB,CAAC,CAAC;AAGH,4CAA4C;AAC5C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,oBAAoB;IAC5B,4DAA4D;IAC5D,UAAU,EAAE,YAAY;CACzB,CAAC,CAAC;AAGH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,oBAAoB;IAC5B,sDAAsD;IACtD,eAAe,EAAE,YAAY;CAC9B,CAAC,CAAC;AAEH,8DAA8D","sourcesContent":["import { z } from 'zod';\n\n/**\n * @wildo_source:part:start market.references.weighted-edges facet:layer:specification facet:family:market\n *\n * Cross-entity reference primitives for the market specification slice.\n *\n * Two design rules anchored here govern every market schema:\n *\n * 1. **`ref` is the spec identity.** Every market entity self-identifies\n * via a stable string `ref` (e.g. `'icp-small-team-pmo'`). The token\n * `id` is reserved for database persistence and does not belong in an\n * authored market snapshot or in a cross-entity reference.\n *\n * 2. **Cross-references are flat strings**, never wrapper objects. The\n * field name carries the entity (`painRef: string`,\n * `recommendedProductRefs: string[]`); compile-time discrimination\n * is provided by the type aliases below without boxing at runtime.\n *\n * Refs follow the kebab-case convention `<entity-prefix>-<slug>`\n * (`icp-…`, `persona-…`, `pain-…`, `gain-…`, `job-…`, `voice-…`,\n * `benefit-…`, `feature-…`, `product-…`, `category-…`,\n * `positioning-…`, `proof-…`, `objection-…`, `channel-…`,\n * `alternative-…`, `trigger-…`, `journey-…`, `tmpl-…`).\n *\n * Weights on edges are integer 1..10 (10 = upper). Higher means more\n * severe / more important / stronger contribution. The same scale is\n * used across every weighted relationship to keep cross-entity\n * aggregation consistent. Use these exported reference types from\n * `@wildo-ai/saas-specifications` in application market declarations, rather\n * than introducing ad-hoc object wrappers for links.\n */\n\n/** Trim + non-empty contract reused by every authored prose field. */\nexport const NonEmptyStringSchema = z.string().trim().min(1);\n\nconst WeightSchema = z.number().int().min(1).max(10);\n\n/** Spec-level identity (NEVER `id`). */\nexport type ICPRef = string;\nexport type PersonaRef = string;\nexport type JobRef = string;\nexport type PainRef = string;\nexport type GainRef = string;\nexport type ToneOfVoiceRef = string;\nexport type CategoryRef = string;\n/** Cross-family ref into an existing `FeatureSpecification` registry key. */\nexport type FeatureRef = string;\n/** Cross-family ref into an existing `ProductSpecification` registry key. */\nexport type ProductRef = string;\nexport type ChannelRef = string;\nexport type AlternativeRef = string;\nexport type TriggerRef = string;\nexport type ProofRef = string;\nexport type ObjectionRef = string;\nexport type PositioningRef = string;\nexport type MessageTemplateRef = string;\n\n/** Weighted edge from ICP/persona → Pain. */\nexport const PainEdgeSchema = z.object({\n painRef: NonEmptyStringSchema,\n /** 1..10. Felt severity of this pain for the source entity. */\n severity: WeightSchema,\n});\nexport type PainEdge = z.infer<typeof PainEdgeSchema>;\n\n/** Weighted edge from ICP/persona → Gain. */\nexport const GainEdgeSchema = z.object({\n gainRef: NonEmptyStringSchema,\n /** 1..10. Aspiration level the source entity attaches to this gain. */\n aspiration: WeightSchema,\n});\nexport type GainEdge = z.infer<typeof GainEdgeSchema>;\n\n/** Weighted edge from ICP/persona → Job. */\nexport const JobEdgeSchema = z.object({\n jobRef: NonEmptyStringSchema,\n /** 1..10. How important the job is to the source entity. */\n importance: WeightSchema,\n});\nexport type JobEdge = z.infer<typeof JobEdgeSchema>;\n\n/**\n * Directed weighted edge between two ICPs (the \"influences\" graph).\n *\n * Models real go-to-market dynamics: a solo PM evangelizing inside their\n * team, a CTO champion driving company-wide adoption, etc. Cycles are\n * permitted (mutual influence is real); the snapshot validator emits a\n * WARN on cycles, not an ERROR. Self-loops (`icpRef === source.ref`)\n * are caught as ERROR.\n */\nexport const ICPInfluenceEdgeSchema = z.object({\n icpRef: NonEmptyStringSchema,\n /** 1..10. Strength of influence on the target ICP. */\n influenceWeight: WeightSchema,\n});\nexport type ICPInfluenceEdge = z.infer<typeof ICPInfluenceEdgeSchema>;\n/** @wildo_source:part:end market.references.weighted-edges */\n"]}
1
+ {"version":3,"file":"market-references.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-references.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,sEAAsE;AACtE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE7D;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE7D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAsBrD,6CAA6C;AAC7C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,OAAO,EAAE,oBAAoB;IAC7B,+DAA+D;IAC/D,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC;AAGH,6CAA6C;AAC7C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,OAAO,EAAE,oBAAoB;IAC7B,uEAAuE;IACvE,UAAU,EAAE,YAAY;CACzB,CAAC,CAAC;AAGH,4CAA4C;AAC5C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,oBAAoB;IAC5B,4DAA4D;IAC5D,UAAU,EAAE,YAAY;CACzB,CAAC,CAAC;AAGH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,oBAAoB;IAC5B,sDAAsD;IACtD,eAAe,EAAE,YAAY;CAC9B,CAAC,CAAC;AAEH,8DAA8D","sourcesContent":["import { z } from 'zod';\n\n/**\n * @wildo_source:part:start market.references.weighted-edges facet:layer:specification facet:family:market\n *\n * Cross-entity reference primitives for the market specification slice.\n *\n * Two design rules anchored here govern every market schema:\n *\n * 1. **`ref` is the spec identity.** Every market entity self-identifies\n * via a stable string `ref` (e.g. `'icp-small-team-pmo'`). The token\n * `id` is reserved for database persistence and does not belong in an\n * authored market snapshot or in a cross-entity reference.\n *\n * 2. **Cross-references are flat strings**, never wrapper objects. The\n * field name carries the entity (`painRef: string`,\n * `recommendedProductRefs: string[]`); compile-time discrimination\n * is provided by the type aliases below without boxing at runtime.\n *\n * Refs follow the kebab-case convention `<entity-prefix>-<slug>`\n * (`icp-…`, `persona-…`, `pain-…`, `gain-…`, `job-…`, `voice-…`,\n * `benefit-…`, `feature-…`, `product-…`, `category-…`,\n * `positioning-…`, `proof-…`, `objection-…`, `channel-…`,\n * `alternative-…`, `trigger-…`, `journey-…`, `tmpl-…`).\n *\n * Weights on edges are integer 1..10 (10 = upper). Higher means more\n * severe / more important / stronger contribution. The same scale is\n * used across every weighted relationship to keep cross-entity\n * aggregation consistent. Use these exported reference types from\n * `@wildo-ai/saas-specifications` in application market declarations, rather\n * than introducing ad-hoc object wrappers for links.\n */\n\n/** Trim + non-empty contract reused by every authored prose field. */\nexport const NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * The OWN key of a market entry (`ref`): stable, kebab-case, unique within its collection, and the\n * value every `*Ref` pointing at the entry carries. Every market entry's `ref` is declared with this\n * schema, and no other field is.\n */\nexport const MarketEntryRefSchema = z.string().trim().min(1);\n\nconst WeightSchema = z.number().int().min(1).max(10);\n\n/** Spec-level identity (NEVER `id`). */\nexport type ICPRef = string;\nexport type PersonaRef = string;\nexport type JobRef = string;\nexport type PainRef = string;\nexport type GainRef = string;\nexport type ToneOfVoiceRef = string;\nexport type CategoryRef = string;\n/** Cross-family ref into an existing `FeatureSpecification` registry key. */\nexport type FeatureRef = string;\n/** Cross-family ref into an existing `ProductSpecification` registry key. */\nexport type ProductRef = string;\nexport type ChannelRef = string;\nexport type AlternativeRef = string;\nexport type TriggerRef = string;\nexport type ProofRef = string;\nexport type ObjectionRef = string;\nexport type PositioningRef = string;\nexport type MessageTemplateRef = string;\n\n/** Weighted edge from ICP/persona → Pain. */\nexport const PainEdgeSchema = z.object({\n painRef: NonEmptyStringSchema,\n /** 1..10. Felt severity of this pain for the source entity. */\n severity: WeightSchema,\n});\nexport type PainEdge = z.infer<typeof PainEdgeSchema>;\n\n/** Weighted edge from ICP/persona → Gain. */\nexport const GainEdgeSchema = z.object({\n gainRef: NonEmptyStringSchema,\n /** 1..10. Aspiration level the source entity attaches to this gain. */\n aspiration: WeightSchema,\n});\nexport type GainEdge = z.infer<typeof GainEdgeSchema>;\n\n/** Weighted edge from ICP/persona → Job. */\nexport const JobEdgeSchema = z.object({\n jobRef: NonEmptyStringSchema,\n /** 1..10. How important the job is to the source entity. */\n importance: WeightSchema,\n});\nexport type JobEdge = z.infer<typeof JobEdgeSchema>;\n\n/**\n * Directed weighted edge between two ICPs (the \"influences\" graph).\n *\n * Models real go-to-market dynamics: a solo PM evangelizing inside their\n * team, a CTO champion driving company-wide adoption, etc. Cycles are\n * permitted (mutual influence is real); the snapshot validator emits a\n * WARN on cycles, not an ERROR. Self-loops (`icpRef === source.ref`)\n * are caught as ERROR.\n */\nexport const ICPInfluenceEdgeSchema = z.object({\n icpRef: NonEmptyStringSchema,\n /** 1..10. Strength of influence on the target ICP. */\n influenceWeight: WeightSchema,\n});\nexport type ICPInfluenceEdge = z.infer<typeof ICPInfluenceEdgeSchema>;\n/** @wildo_source:part:end market.references.weighted-edges */\n"]}
@@ -137,8 +137,8 @@ export declare const MarketPainGenerationSchema: z.ZodObject<{
137
137
  slug: z.ZodString;
138
138
  } & {
139
139
  statement: z.ZodString;
140
- painKind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./market-pain.schemas").PainKind>>;
141
140
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
141
+ painKind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./market-pain.schemas").PainKind>>;
142
142
  }, z.core.$strict>;
143
143
  export declare const MarketGainGenerationSchema: z.ZodObject<{
144
144
  slug: z.ZodString;
@@ -165,9 +165,9 @@ export declare const ToneOfVoiceGenerationSchema: z.ZodObject<{
165
165
  export declare const FeatureBenefitGenerationSchema: z.ZodObject<{
166
166
  slug: z.ZodString;
167
167
  } & {
168
+ evidence: z.ZodOptional<z.ZodString>;
168
169
  role: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./feature-benefit.schemas").BenefitRole>>;
169
170
  proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
170
- evidence: z.ZodOptional<z.ZodString>;
171
171
  claim: z.ZodString;
172
172
  deliveredByFeatureRefs: z.ZodArray<z.ZodString>;
173
173
  differentiation: z.ZodOptional<z.ZodString>;
@@ -444,8 +444,8 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
444
444
  slug: z.ZodString;
445
445
  } & {
446
446
  statement: z.ZodString;
447
- painKind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./market-pain.schemas").PainKind>>;
448
447
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
448
+ painKind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./market-pain.schemas").PainKind>>;
449
449
  }, z.core.$strict>>;
450
450
  gains: z.ZodArray<z.ZodObject<{
451
451
  slug: z.ZodString;
@@ -472,9 +472,9 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
472
472
  benefits: z.ZodArray<z.ZodObject<{
473
473
  slug: z.ZodString;
474
474
  } & {
475
+ evidence: z.ZodOptional<z.ZodString>;
475
476
  role: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./feature-benefit.schemas").BenefitRole>>;
476
477
  proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
477
- evidence: z.ZodOptional<z.ZodString>;
478
478
  claim: z.ZodString;
479
479
  deliveredByFeatureRefs: z.ZodArray<z.ZodString>;
480
480
  differentiation: z.ZodOptional<z.ZodString>;
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  // never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
4
4
  import '@wildo-ai/zod-decorators';
5
5
  import { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas.js';
6
- import { NonEmptyStringSchema } from './market-references.schemas.js';
6
+ import { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas.js';
7
7
  /**
8
8
  * @wildo_source:part:start market.tone-of-voice.config facet:layer:specification facet:family:market
9
9
  *
@@ -46,7 +46,7 @@ const AxisSchema = z
46
46
  .describe('Integer from -2 to +2 inclusive on a 5-point scale where 0 is neutral.');
47
47
  export const ToneOfVoiceConfigSchema = z.object({
48
48
  /** Stable kebab-case ref (e.g. `'voice-trusted-engineer'`). */
49
- ref: NonEmptyStringSchema,
49
+ ref: MarketEntryRefSchema,
50
50
  /** Display name used by authoring tools and prompt blocks. */
51
51
  name: NonEmptyStringSchema,
52
52
  /** One-sentence explanation of when/why to pick this voice. */
@@ -1 +1 @@
1
- {"version":3,"file":"market-tone-of-voice.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-tone-of-voice.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,+BAAS,CAAA;IACT,mDAA6B,CAAA;AAC/B,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAED,iGAAiG;AACjG,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,SAAS;AACT,MAAM,UAAU,GAAG,CAAC;KACjB,MAAM,EAAE;KACR,GAAG,EAAE;KACL,GAAG,CAAC,CAAC,CAAC,CAAC;KACP,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CAAC,wEAAwE,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,+DAA+D;IAC/D,GAAG,EAAE,oBAAoB;IACzB,8DAA8D;IAC9D,IAAI,EAAE,oBAAoB;IAC1B,+DAA+D;IAC/D,WAAW,EAAE,oBAAoB;IACjC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,YAAY,EAAE,UAAU;QACxB,YAAY,EAAE,UAAU;QACxB,oBAAoB,EAAE,UAAU;QAChC,wBAAwB,EAAE,UAAU;KACrC,CAAC;IACF;;;;OAIG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACvD;;;OAGG;IACH,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC;IACpE,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,yDAAyD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.tone-of-voice.config facet:layer:specification facet:family:market\n *\n * Named brand voice + Nielsen Norman 4-axis gradient + do/don't\n * examples. Authored in English; consumed verbatim by prompt\n * enrichment to keep market generation outputs on-brand without\n * re-deriving voice each call.\n *\n * The four axes are integers in `[-2, +2]` (5-point scale, 0 = neutral):\n * - `funnySerious`: -2 funny ↔ +2 serious\n * - `formalCasual`: -2 formal ↔ +2 casual\n * - `respectfulIrreverent`: -2 respectful ↔ +2 irreverent\n * - `enthusiasticMatterOfFact`: -2 enthusiastic ↔ +2 matter-of-fact\n *\n * `address` declares which grammatical person the voice writes in,\n * so generators do not flip pronouns across sentences.\n *\n * `doExamples` / `dontExamples` are short concrete sentences (not\n * abstract descriptions). They give the LLM literal lexical patterns\n * to imitate or avoid. Each list is bounded to 3–5 entries: fewer\n * than 3 is too sparse for the LLM to triangulate the voice; more\n * than 5 dilutes the signal and risks contradicting examples.\n */\n\nexport enum ToneOfVoiceAddress {\n YOU = 'YOU',\n WE = 'WE',\n THIRD_PERSON = 'THIRD_PERSON',\n}\n\n// Purely FACTUAL description, deliberately. An earlier attempt phrased these as instructions and\n// prohibitions (\"NOT a rating\", \"never guess\"), and the model responded by emitting a near-empty snapshot:\n// 1,879 characters with every top-level collection missing, twice, deterministically. Restating the format\n// alone recovered a full 47,299-character snapshot. State what the value IS; do not tell the model what to\n// avoid.\nconst AxisSchema = z\n .number()\n .int()\n .min(-2)\n .max(2)\n .describe('Integer from -2 to +2 inclusive on a 5-point scale where 0 is neutral.');\n\nexport const ToneOfVoiceConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'voice-trusted-engineer'`). */\n ref: NonEmptyStringSchema,\n /** Display name used by authoring tools and prompt blocks. */\n name: NonEmptyStringSchema,\n /** One-sentence explanation of when/why to pick this voice. */\n description: NonEmptyStringSchema,\n axes: z.object({\n funnySerious: AxisSchema,\n formalCasual: AxisSchema,\n respectfulIrreverent: AxisSchema,\n enthusiasticMatterOfFact: AxisSchema,\n }),\n /**\n * Concrete sentences in this voice. Bounded to 3–5: fewer is too\n * sparse for the LLM to triangulate the voice, more dilutes the\n * signal.\n */\n doExamples: z.array(NonEmptyStringSchema).min(3).max(5),\n /**\n * Concrete sentences this voice would never write. Bounded to 3–5\n * for the same reason as `doExamples`.\n */\n dontExamples: z.array(NonEmptyStringSchema).min(3).max(5),\n address: z.enum(ToneOfVoiceAddress).systemEnum('ToneOfVoiceAddress'),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type ToneOfVoiceConfig = z.infer<typeof ToneOfVoiceConfigSchema>;\n/** @wildo_source:part:end market.tone-of-voice.config */\n"]}
1
+ {"version":3,"file":"market-tone-of-voice.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-tone-of-voice.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEzF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,+BAAS,CAAA;IACT,mDAA6B,CAAA;AAC/B,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAED,iGAAiG;AACjG,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,SAAS;AACT,MAAM,UAAU,GAAG,CAAC;KACjB,MAAM,EAAE;KACR,GAAG,EAAE;KACL,GAAG,CAAC,CAAC,CAAC,CAAC;KACP,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CAAC,wEAAwE,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,+DAA+D;IAC/D,GAAG,EAAE,oBAAoB;IACzB,8DAA8D;IAC9D,IAAI,EAAE,oBAAoB;IAC1B,+DAA+D;IAC/D,WAAW,EAAE,oBAAoB;IACjC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,YAAY,EAAE,UAAU;QACxB,YAAY,EAAE,UAAU;QACxB,oBAAoB,EAAE,UAAU;QAChC,wBAAwB,EAAE,UAAU;KACrC,CAAC;IACF;;;;OAIG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACvD;;;OAGG;IACH,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC;IACpE,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,yDAAyD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.tone-of-voice.config facet:layer:specification facet:family:market\n *\n * Named brand voice + Nielsen Norman 4-axis gradient + do/don't\n * examples. Authored in English; consumed verbatim by prompt\n * enrichment to keep market generation outputs on-brand without\n * re-deriving voice each call.\n *\n * The four axes are integers in `[-2, +2]` (5-point scale, 0 = neutral):\n * - `funnySerious`: -2 funny ↔ +2 serious\n * - `formalCasual`: -2 formal ↔ +2 casual\n * - `respectfulIrreverent`: -2 respectful ↔ +2 irreverent\n * - `enthusiasticMatterOfFact`: -2 enthusiastic ↔ +2 matter-of-fact\n *\n * `address` declares which grammatical person the voice writes in,\n * so generators do not flip pronouns across sentences.\n *\n * `doExamples` / `dontExamples` are short concrete sentences (not\n * abstract descriptions). They give the LLM literal lexical patterns\n * to imitate or avoid. Each list is bounded to 3–5 entries: fewer\n * than 3 is too sparse for the LLM to triangulate the voice; more\n * than 5 dilutes the signal and risks contradicting examples.\n */\n\nexport enum ToneOfVoiceAddress {\n YOU = 'YOU',\n WE = 'WE',\n THIRD_PERSON = 'THIRD_PERSON',\n}\n\n// Purely FACTUAL description, deliberately. An earlier attempt phrased these as instructions and\n// prohibitions (\"NOT a rating\", \"never guess\"), and the model responded by emitting a near-empty snapshot:\n// 1,879 characters with every top-level collection missing, twice, deterministically. Restating the format\n// alone recovered a full 47,299-character snapshot. State what the value IS; do not tell the model what to\n// avoid.\nconst AxisSchema = z\n .number()\n .int()\n .min(-2)\n .max(2)\n .describe('Integer from -2 to +2 inclusive on a 5-point scale where 0 is neutral.');\n\nexport const ToneOfVoiceConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'voice-trusted-engineer'`). */\n ref: MarketEntryRefSchema,\n /** Display name used by authoring tools and prompt blocks. */\n name: NonEmptyStringSchema,\n /** One-sentence explanation of when/why to pick this voice. */\n description: NonEmptyStringSchema,\n axes: z.object({\n funnySerious: AxisSchema,\n formalCasual: AxisSchema,\n respectfulIrreverent: AxisSchema,\n enthusiasticMatterOfFact: AxisSchema,\n }),\n /**\n * Concrete sentences in this voice. Bounded to 3–5: fewer is too\n * sparse for the LLM to triangulate the voice, more dilutes the\n * signal.\n */\n doExamples: z.array(NonEmptyStringSchema).min(3).max(5),\n /**\n * Concrete sentences this voice would never write. Bounded to 3–5\n * for the same reason as `doExamples`.\n */\n dontExamples: z.array(NonEmptyStringSchema).min(3).max(5),\n address: z.enum(ToneOfVoiceAddress).systemEnum('ToneOfVoiceAddress'),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type ToneOfVoiceConfig = z.infer<typeof ToneOfVoiceConfigSchema>;\n/** @wildo_source:part:end market.tone-of-voice.config */\n"]}
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  // never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
4
4
  import '@wildo-ai/zod-decorators';
5
5
  import { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas.js';
6
- import { NonEmptyStringSchema } from './market-references.schemas.js';
6
+ import { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas.js';
7
7
  /**
8
8
  * @wildo_source:part:start market.trigger.kind facet:layer:specification facet:family:market
9
9
  *
@@ -50,7 +50,7 @@ export var TriggerKind;
50
50
  */
51
51
  export const MarketTriggerConfigSchema = z.object({
52
52
  /** Stable kebab-case ref (e.g. `'trigger-team-grew-past-10'`). */
53
- ref: NonEmptyStringSchema,
53
+ ref: MarketEntryRefSchema,
54
54
  /** Display name (one short noun phrase). */
55
55
  name: NonEmptyStringSchema,
56
56
  /** One-sentence explanation of the buying-intent shift this triggers. */
@@ -1 +1 @@
1
- {"version":3,"file":"market-trigger.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-trigger.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,oDAAqC,CAAA;IACrC,wCAAyB,CAAA;IACzB,4CAA6B,CAAA;IAC7B,oDAAqC,CAAA;IACrC,8CAA+B,CAAA;IAC/B,gDAAiC,CAAA;AACnC,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AACD,iDAAiD;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,kEAAkE;IAClE,GAAG,EAAE,oBAAoB;IACzB,4CAA4C;IAC5C,IAAI,EAAE,oBAAoB;IAC1B,yEAAyE;IACzE,WAAW,EAAE,oBAAoB;IACjC,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC;IAC1D,qEAAqE;IACrE,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7C,8EAA8E;IAC9E,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACrD,wFAAwF;IACxF,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAChD,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,mDAAmD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.trigger.kind facet:layer:specification facet:family:market\n *\n * Six event archetypes that create buying intent.\n *\n * Triggers are the answer to \"why is the prospect ready NOW\" — without\n * a trigger, even the best-fit ICP shows no urgency. Capturing them\n * lets the market generation CLI write timely outbound and the website\n * generator surface the right CTA at the right moment.\n *\n * - `GROWTH_MILESTONE`: \"we just hit 10 employees / $1M ARR / 100k MAU\".\n * - `REGULATORY`: \"privacy enforcement / assurance audit / new compliance regime\".\n * - `TOOL_FAILURE`: \"incumbent tool went down / sunset / acquired\".\n * - `PERSONNEL_CHANGE`: \"new CTO / new Head of Ops / champion left\".\n * - `FUNDING_EVENT`: \"raised Series A / B; need to operationalize\".\n * - `EXTERNAL_EVENT`: \"industry shift, market downturn, AI wave\".\n */\nexport enum TriggerKind {\n GROWTH_MILESTONE = 'GROWTH_MILESTONE',\n REGULATORY = 'REGULATORY',\n TOOL_FAILURE = 'TOOL_FAILURE',\n PERSONNEL_CHANGE = 'PERSONNEL_CHANGE',\n FUNDING_EVENT = 'FUNDING_EVENT',\n EXTERNAL_EVENT = 'EXTERNAL_EVENT',\n}\n/** @wildo_source:part:end market.trigger.kind */\n\n/**\n * @wildo_source:part:start market.trigger.config facet:layer:specification facet:family:market\n *\n * A discrete event that creates buying intent in one or more ICPs.\n *\n * `signals[]` are the **observable** symptoms a sales / marketing team\n * can detect (job postings, public funding announcements, support\n * tickets, support degradation). They feed outbound prospecting filters\n * and intent-data plumbing.\n *\n * `affectedIcpRefs[]` lets the validator catch dangling refs (an ICP\n * deleted from the snapshot but still referenced by a trigger).\n *\n * `recommendedChannelRefs[]` ties the trigger to the channels best\n * suited to act on it (\"when GROWTH_MILESTONE → push outbound + paid\n * search\"). Validator catches dangling channel refs.\n */\nexport const MarketTriggerConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'trigger-team-grew-past-10'`). */\n ref: NonEmptyStringSchema,\n /** Display name (one short noun phrase). */\n name: NonEmptyStringSchema,\n /** One-sentence explanation of the buying-intent shift this triggers. */\n description: NonEmptyStringSchema,\n triggerKind: z.enum(TriggerKind).systemEnum('TriggerKind'),\n /** Observable signals that this trigger has fired (≥ 1 required). */\n signals: z.array(NonEmptyStringSchema).min(1),\n /** ICPs whose buying intent shifts when this trigger fires (≥ 1 required). */\n affectedIcpRefs: z.array(NonEmptyStringSchema).min(1),\n /** Channels best suited to act on this trigger. May be empty during early authoring. */\n recommendedChannelRefs: z.array(NonEmptyStringSchema).default([]),\n notes: z.array(NonEmptyStringSchema).default([]),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type MarketTriggerConfig = z.infer<typeof MarketTriggerConfigSchema>;\n/** @wildo_source:part:end market.trigger.config */\n"]}
1
+ {"version":3,"file":"market-trigger.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-trigger.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEzF;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,oDAAqC,CAAA;IACrC,wCAAyB,CAAA;IACzB,4CAA6B,CAAA;IAC7B,oDAAqC,CAAA;IACrC,8CAA+B,CAAA;IAC/B,gDAAiC,CAAA;AACnC,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AACD,iDAAiD;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,kEAAkE;IAClE,GAAG,EAAE,oBAAoB;IACzB,4CAA4C;IAC5C,IAAI,EAAE,oBAAoB;IAC1B,yEAAyE;IACzE,WAAW,EAAE,oBAAoB;IACjC,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC;IAC1D,qEAAqE;IACrE,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7C,8EAA8E;IAC9E,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACrD,wFAAwF;IACxF,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAChD,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,mDAAmD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.trigger.kind facet:layer:specification facet:family:market\n *\n * Six event archetypes that create buying intent.\n *\n * Triggers are the answer to \"why is the prospect ready NOW\" — without\n * a trigger, even the best-fit ICP shows no urgency. Capturing them\n * lets the market generation CLI write timely outbound and the website\n * generator surface the right CTA at the right moment.\n *\n * - `GROWTH_MILESTONE`: \"we just hit 10 employees / $1M ARR / 100k MAU\".\n * - `REGULATORY`: \"privacy enforcement / assurance audit / new compliance regime\".\n * - `TOOL_FAILURE`: \"incumbent tool went down / sunset / acquired\".\n * - `PERSONNEL_CHANGE`: \"new CTO / new Head of Ops / champion left\".\n * - `FUNDING_EVENT`: \"raised Series A / B; need to operationalize\".\n * - `EXTERNAL_EVENT`: \"industry shift, market downturn, AI wave\".\n */\nexport enum TriggerKind {\n GROWTH_MILESTONE = 'GROWTH_MILESTONE',\n REGULATORY = 'REGULATORY',\n TOOL_FAILURE = 'TOOL_FAILURE',\n PERSONNEL_CHANGE = 'PERSONNEL_CHANGE',\n FUNDING_EVENT = 'FUNDING_EVENT',\n EXTERNAL_EVENT = 'EXTERNAL_EVENT',\n}\n/** @wildo_source:part:end market.trigger.kind */\n\n/**\n * @wildo_source:part:start market.trigger.config facet:layer:specification facet:family:market\n *\n * A discrete event that creates buying intent in one or more ICPs.\n *\n * `signals[]` are the **observable** symptoms a sales / marketing team\n * can detect (job postings, public funding announcements, support\n * tickets, support degradation). They feed outbound prospecting filters\n * and intent-data plumbing.\n *\n * `affectedIcpRefs[]` lets the validator catch dangling refs (an ICP\n * deleted from the snapshot but still referenced by a trigger).\n *\n * `recommendedChannelRefs[]` ties the trigger to the channels best\n * suited to act on it (\"when GROWTH_MILESTONE → push outbound + paid\n * search\"). Validator catches dangling channel refs.\n */\nexport const MarketTriggerConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'trigger-team-grew-past-10'`). */\n ref: MarketEntryRefSchema,\n /** Display name (one short noun phrase). */\n name: NonEmptyStringSchema,\n /** One-sentence explanation of the buying-intent shift this triggers. */\n description: NonEmptyStringSchema,\n triggerKind: z.enum(TriggerKind).systemEnum('TriggerKind'),\n /** Observable signals that this trigger has fired (≥ 1 required). */\n signals: z.array(NonEmptyStringSchema).min(1),\n /** ICPs whose buying intent shifts when this trigger fires (≥ 1 required). */\n affectedIcpRefs: z.array(NonEmptyStringSchema).min(1),\n /** Channels best suited to act on this trigger. May be empty during early authoring. */\n recommendedChannelRefs: z.array(NonEmptyStringSchema).default([]),\n notes: z.array(NonEmptyStringSchema).default([]),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type MarketTriggerConfig = z.infer<typeof MarketTriggerConfigSchema>;\n/** @wildo_source:part:end market.trigger.config */\n"]}
@@ -201,7 +201,7 @@ export const MARKET_FAMILY_ASPECTS = {
201
201
  kind: FamilyAspectKind.COLLECTION,
202
202
  itemSchema: MarketBuyingJourneyConfigSchema,
203
203
  businessKey: 'ref',
204
- headlineField: 'ref',
204
+ headlineField: 'icpRef',
205
205
  edges: [
206
206
  { field: 'icpRef', targetAspects: ['market.icp'] },
207
207
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"market.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/market/market.family-aspects.ts"],"names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ClB,aAAa,EAAE,WAAW;YAC1B,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;gBACnE,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;aAC5D;SACF;QACD;YACE,GAAG,EAAE,kBAAkB;YACvB,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,2BAA2B;YACvC,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,WAAW;YAC1B,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBAC3D,EAAE,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;gBACnE,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,cAAc,CAAC,EAAE;gBACvD,EAAE,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;aACnE;SACF;QACD;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,kBAAkB;YAChC,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,MAAM;YACrB,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\nimport { MarketCategoryConfigSchema } from './market-category.schemas';\nimport { MarketICPConfigSchema } from './market-icp.schemas';\nimport { MarketPersonaConfigSchema } from './market-persona.schemas';\nimport { MarketJobConfigSchema } from './market-job.schemas';\nimport { MarketPainConfigSchema } from './market-pain.schemas';\nimport { MarketGainConfigSchema } from './market-gain.schemas';\nimport { ToneOfVoiceConfigSchema } from './market-tone-of-voice.schemas';\nimport { FeatureBenefitConfigSchema } from './feature-benefit.schemas';\nimport { MarketPositioningConfigSchema } from './market-positioning.schemas';\nimport { MarketChannelConfigSchema } from './market-channel.schemas';\nimport { MarketAlternativeConfigSchema } from './market-alternative.schemas';\nimport { MarketTriggerConfigSchema } from './market-trigger.schemas';\nimport { MarketBuyingJourneyConfigSchema } from './market-buying-journey.schemas';\nimport { MarketProofConfigSchema } from './market-proof.schemas';\nimport { MarketObjectionConfigSchema } from './market-objection.schemas';\nimport { MarketMessageTemplateConfigSchema } from './market-message-template.schemas';\n\n/**\n * The market family's aspects — the largest declaration, and the graph's hub: most cross-family\n * edges land HERE (requirements serve ICPs and jobs, plans target ICPs, positionings speak to\n * ICPs in a tone). Edge fields below are TRANSCRIBED from the entry schemas, not remembered —\n * the drift pin in `__tests__/family-aspects.registry.test.ts` holds them to that.\n */\nexport const MARKET_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.MARKET_SNAPSHOT,\n aspects: [\n {\n key: 'market.category',\n snapshotPath: 'category',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: MarketCategoryConfigSchema,\n headlineField: 'name',\n // Category and ICPs ride in every intent on purpose: an audience without its category is unreadable,\n // and a benefit or a tone with no segment to attach to is an assertion about nobody.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n nonEdgeRefFields: { ref: 'the category names itself; nothing references it by key yet' },\n },\n {\n key: 'market.icp',\n snapshotPath: 'icps',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketICPConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n /*\n * An ICP's influences name OTHER ICPs — a self-edge, and one that was carried in the data and\n * invisible to the registry until #1427 walked one level down. It is what makes a buying\n * group legible: the economic buyer an end user influences is the reason both are on record.\n */\n { field: 'influences', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'buyingGroup', throughField: 'personaRef', targetAspects: ['market.persona'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'triggerRefs', targetAspects: ['market.trigger'] },\n { field: 'alternativeRefs', targetAspects: ['market.alternative'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'objectionRefs', targetAspects: ['market.objection'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n recommendedProductRefs:\n 'ProductSpecification refs — the runtime product catalog, not a family aspect; becomes an edge when products join the registry',\n upsellPathProductRefs:\n 'ProductSpecification refs, same catalog and same future as recommendedProductRefs',\n },\n },\n {\n key: 'market.persona',\n snapshotPath: 'personas',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPersonaConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE],\n edges: [\n { field: 'belongsToIcpRefs', targetAspects: ['market.icp'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n {\n key: 'market.job',\n snapshotPath: 'jobs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketJobConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n // VALUE as well as AUDIENCE (#1429): `requirements-definition` reads VALUE and must emit `jobRefs` on\n // every requirement. Without the jobs the model saw only bare ref strings; a job is what a benefit advances.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n nonEdgeRefFields: {\n successCriteria: 'prose criteria of the job itself, not vision success-criterion keys',\n },\n },\n {\n key: 'market.pain',\n snapshotPath: 'pains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.gain',\n snapshotPath: 'gains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketGainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.tone-of-voice',\n snapshotPath: 'tonesOfVoice',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ToneOfVoiceConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n },\n {\n key: 'market.benefit',\n snapshotPath: 'benefits',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FeatureBenefitConfigSchema,\n businessKey: 'ref',\n headlineField: 'claim',\n // `bottom_up.domain-plan` reads VALUE because its method calls the market's BENEFITS load-bearing (#1428).\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'deliveredByFeatureRefs', targetAspects: ['feature-drafts.draft'] },\n { field: 'relieves', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'creates', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'advances', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'importanceByICP', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'addressesObjectionRefs', targetAspects: ['market.objection'] },\n ],\n },\n {\n key: 'market.positioning',\n snapshotPath: 'positionings',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPositioningConfigSchema,\n businessKey: 'ref',\n headlineField: 'oneSentence',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n { field: 'valuePillars', throughField: 'backedByBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'alternativesContrasted', throughField: 'alternativeRef', targetAspects: ['market.alternative'] },\n ],\n },\n {\n key: 'market.channel',\n snapshotPath: 'channels',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketChannelConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.alternative',\n snapshotPath: 'alternatives',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketAlternativeConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.trigger',\n snapshotPath: 'triggers',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketTriggerConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'affectedIcpRefs', targetAspects: ['market.icp'] },\n { field: 'recommendedChannelRefs', targetAspects: ['market.channel'] },\n ],\n },\n {\n key: 'market.buying-journey',\n snapshotPath: 'buyingJourneys',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketBuyingJourneyConfigSchema,\n businessKey: 'ref',\n headlineField: 'ref',\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.proof',\n snapshotPath: 'proofs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketProofConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'supportsBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'supportsIcpRefs', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.objection',\n snapshotPath: 'objections',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketObjectionConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'raisedByIcpRefs', targetAspects: ['market.icp'] },\n { field: 'raisedByPersonaRefs', targetAspects: ['market.persona'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'relatedBenefitRefs', targetAspects: ['market.benefit'] },\n ],\n },\n {\n key: 'market.message-template',\n snapshotPath: 'messageTemplates',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketMessageTemplateConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n ],\n};\n"]}
1
+ {"version":3,"file":"market.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/market/market.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,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AAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;aAC5D;SACF;QACD;YACE,GAAG,EAAE,kBAAkB;YACvB,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,2BAA2B;YACvC,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,WAAW;YAC1B,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBAC3D,EAAE,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;gBACnE,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,cAAc,CAAC,EAAE;gBACvD,EAAE,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;aACnE;SACF;QACD;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,kBAAkB;YAChC,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,MAAM;YACrB,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\nimport { MarketCategoryConfigSchema } from './market-category.schemas';\nimport { MarketICPConfigSchema } from './market-icp.schemas';\nimport { MarketPersonaConfigSchema } from './market-persona.schemas';\nimport { MarketJobConfigSchema } from './market-job.schemas';\nimport { MarketPainConfigSchema } from './market-pain.schemas';\nimport { MarketGainConfigSchema } from './market-gain.schemas';\nimport { ToneOfVoiceConfigSchema } from './market-tone-of-voice.schemas';\nimport { FeatureBenefitConfigSchema } from './feature-benefit.schemas';\nimport { MarketPositioningConfigSchema } from './market-positioning.schemas';\nimport { MarketChannelConfigSchema } from './market-channel.schemas';\nimport { MarketAlternativeConfigSchema } from './market-alternative.schemas';\nimport { MarketTriggerConfigSchema } from './market-trigger.schemas';\nimport { MarketBuyingJourneyConfigSchema } from './market-buying-journey.schemas';\nimport { MarketProofConfigSchema } from './market-proof.schemas';\nimport { MarketObjectionConfigSchema } from './market-objection.schemas';\nimport { MarketMessageTemplateConfigSchema } from './market-message-template.schemas';\n\n/**\n * The market family's aspects — the largest declaration, and the graph's hub: most cross-family\n * edges land HERE (requirements serve ICPs and jobs, plans target ICPs, positionings speak to\n * ICPs in a tone). Edge fields below are TRANSCRIBED from the entry schemas, not remembered —\n * the drift pin in `__tests__/family-aspects.registry.test.ts` holds them to that.\n */\nexport const MARKET_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.MARKET_SNAPSHOT,\n aspects: [\n {\n key: 'market.category',\n snapshotPath: 'category',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: MarketCategoryConfigSchema,\n headlineField: 'name',\n // Category and ICPs ride in every intent on purpose: an audience without its category is unreadable,\n // and a benefit or a tone with no segment to attach to is an assertion about nobody.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n nonEdgeRefFields: { ref: 'the category names itself; nothing references it by key yet' },\n },\n {\n key: 'market.icp',\n snapshotPath: 'icps',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketICPConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n /*\n * An ICP's influences name OTHER ICPs — a self-edge, and one that was carried in the data and\n * invisible to the registry until #1427 walked one level down. It is what makes a buying\n * group legible: the economic buyer an end user influences is the reason both are on record.\n */\n { field: 'influences', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'buyingGroup', throughField: 'personaRef', targetAspects: ['market.persona'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'triggerRefs', targetAspects: ['market.trigger'] },\n { field: 'alternativeRefs', targetAspects: ['market.alternative'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'objectionRefs', targetAspects: ['market.objection'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n recommendedProductRefs:\n 'ProductSpecification refs — the runtime product catalog, not a family aspect; becomes an edge when products join the registry',\n upsellPathProductRefs:\n 'ProductSpecification refs, same catalog and same future as recommendedProductRefs',\n },\n },\n {\n key: 'market.persona',\n snapshotPath: 'personas',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPersonaConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE],\n edges: [\n { field: 'belongsToIcpRefs', targetAspects: ['market.icp'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n {\n key: 'market.job',\n snapshotPath: 'jobs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketJobConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n // VALUE as well as AUDIENCE (#1429): `requirements-definition` reads VALUE and must emit `jobRefs` on\n // every requirement. Without the jobs the model saw only bare ref strings; a job is what a benefit advances.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n nonEdgeRefFields: {\n successCriteria: 'prose criteria of the job itself, not vision success-criterion keys',\n },\n },\n {\n key: 'market.pain',\n snapshotPath: 'pains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.gain',\n snapshotPath: 'gains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketGainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.tone-of-voice',\n snapshotPath: 'tonesOfVoice',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ToneOfVoiceConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n },\n {\n key: 'market.benefit',\n snapshotPath: 'benefits',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FeatureBenefitConfigSchema,\n businessKey: 'ref',\n headlineField: 'claim',\n // `bottom_up.domain-plan` reads VALUE because its method calls the market's BENEFITS load-bearing (#1428).\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'deliveredByFeatureRefs', targetAspects: ['feature-drafts.draft'] },\n { field: 'relieves', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'creates', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'advances', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'importanceByICP', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'addressesObjectionRefs', targetAspects: ['market.objection'] },\n ],\n },\n {\n key: 'market.positioning',\n snapshotPath: 'positionings',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPositioningConfigSchema,\n businessKey: 'ref',\n headlineField: 'oneSentence',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n { field: 'valuePillars', throughField: 'backedByBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'alternativesContrasted', throughField: 'alternativeRef', targetAspects: ['market.alternative'] },\n ],\n },\n {\n key: 'market.channel',\n snapshotPath: 'channels',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketChannelConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.alternative',\n snapshotPath: 'alternatives',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketAlternativeConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.trigger',\n snapshotPath: 'triggers',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketTriggerConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'affectedIcpRefs', targetAspects: ['market.icp'] },\n { field: 'recommendedChannelRefs', targetAspects: ['market.channel'] },\n ],\n },\n {\n key: 'market.buying-journey',\n snapshotPath: 'buyingJourneys',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketBuyingJourneyConfigSchema,\n businessKey: 'ref',\n headlineField: 'icpRef',\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.proof',\n snapshotPath: 'proofs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketProofConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'supportsBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'supportsIcpRefs', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.objection',\n snapshotPath: 'objections',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketObjectionConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'raisedByIcpRefs', targetAspects: ['market.icp'] },\n { field: 'raisedByPersonaRefs', targetAspects: ['market.persona'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'relatedBenefitRefs', targetAspects: ['market.benefit'] },\n ],\n },\n {\n key: 'market.message-template',\n snapshotPath: 'messageTemplates',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketMessageTemplateConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n ],\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"placement-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC;;;;;;;GAOG;AACH,oBAAY,oBAAoB;IAC9B,EAAE,OAAO;CACV;AAED,4HAA4H;AAC5H,eAAO,MAAM,6BAA6B,eAAe,CAAC;AAE1D;;;;;;;;GAQG;AACH,oBAAY,gBAAgB;IAC1B,iGAAiG;IACjG,YAAY,iBAAiB;IAC7B,+FAA+F;IAC/F,OAAO,YAAY;IACnB,8DAA8D;IAC9D,SAAS,cAAc;IACvB,mGAAmG;IACnG,YAAY,iB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,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;IAEhC,0DAA0D;;;IAG1D,gGAAgG;;;;;;;;;QAzIhG,iFAAiF;;;;;;;;QAuCjF,mEAAmE;;;;;QAMnE,4DAA4D;;;;;;;;;;IAgG5D,qFAAqF;;IAErF,0FAA0F;;QA5B5F,uEAAuE;;;;;;;;;;;;;;QAnHrE,iFAAiF;;;;;;IAuJjF,8DAA8D;;;QApChE,uEAAuE;;;mCAqEvE,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,mBAAmB;;;;QAvL9B,mDAAmD;;QAEnD,2EAA2E;;QAE3E,+DAA+D;;;;QA4G7D,0DAA0D;;;QAG1D,gGAAgG;;;;;;;;;YAzIhG,iFAAiF;;;;;;;;YAuCjF,mEAAmE;;;;;YAMnE,4DAA4D;;;;;;;;;;QAgG5D,qFAAqF;;QAErF,0FAA0F;;YA5B5F,uEAAuE;;;;;;;;;;;;;;YAnHrE,iFAAiF;;;;;;QAuJjF,8DAA8D;;;YApChE,uEAAuE;;;;iBAsIvE,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,mDAAmD"}
1
+ {"version":3,"file":"placement-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC;;;;;;;GAOG;AACH,oBAAY,oBAAoB;IAC9B,EAAE,OAAO;CACV;AAED,4HAA4H;AAC5H,eAAO,MAAM,6BAA6B,eAAe,CAAC;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INE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],
97
97
  };
98
98
  const SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
99
+ /**
100
+ * A placement group's OWN key (`groupRef` on the group) — the same slug grammar as the other refs,
101
+ * declared apart from the fields that POINT at a group (an address's `groupRef`).
102
+ */
103
+ const PlacementGroupKeySchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
99
104
  const NonEmptyStringSchema = z.string().trim().min(1);
100
105
  export const PlacementSubjectSchema = z.discriminatedUnion('kind', [
101
106
  z.strictObject({
@@ -125,7 +130,7 @@ export const PlacementSubjectSchema = z.discriminatedUnion('kind', [
125
130
  * string — that is the labelling pipeline's job.
126
131
  */
127
132
  export const PlacementGroupSchema = z.strictObject({
128
- groupRef: SlugSchema,
133
+ groupRef: PlacementGroupKeySchema,
129
134
  /** Which grouped surface this group belongs to. */
130
135
  surface: z.enum(PlacementSurface).systemEnum('PlacementSurface'),
131
136
  /** Why this group exists / what it gathers, from a product perspective. */
@@ -1 +1 @@
1
- {"version":3,"file":"placement-plan.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;AACX,CAAC,EAFW,oBAAoB,KAApB,oBAAoB,QAE/B;AAED,4HAA4H;AAC5H,MAAM,CAAC,MAAM,6BAA6B,GAAG,YAAY,CAAC;AAE1D;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,iGAAiG;IACjG,iDAA6B,CAAA;IAC7B,+FAA+F;IAC/F,uCAAm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C,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,OAAO,KAAK,OAAO,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC;YAC9D,OAAO,CAAC,QAAQ,CAAC;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,cAAc,QAAQ,CAAC,WAAW,kBAAkB,OAAO,CAAC,QAAQ,mDAAmD,OAAO,CAAC,OAAO,EAAE;gBACjJ,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,CAAC;aAClD,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,mDAAmD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\n/**\n * @wildo_source:part:start placement-plan.config facet:layer:specification facet:family:placement-plan\n *\n * Versioning for the placement-plan payload format itself. `V1` — initial\n * shape (declared groups + one decision per subject). The shape grows\n * additively across versions; `version` is the explicit marker for consumers\n * that branch on era.\n */\nexport enum PlacementPlanVersion {\n V1 = 'v1',\n}\n\n/** Stable prefix every placement decision ref carries; the trusted runtime stamps it, a provider supplies only the slug. */\nexport const PLACEMENT_DECISION_REF_PREFIX = 'placement-';\n\n/**\n * WHICH shell surface a subject is placed on — a closed vocabulary, because\n * each member names a different authoring file with a different vocabulary,\n * and the dispatching coding agent derives which skill and which file from it.\n *\n * Deliberately NOT merged into one \"navigation surface\" bucket: a settings\n * placement names a rail CATEGORY, a sidebar placement names a sidebar\n * SECTION, and the two are different concepts that happen to both be groups.\n */\nexport enum PlacementSurface {\n /** The settings hub rail (`frontend/src/config/settings-hub.config.ts`). Grouped by category. */\n SETTINGS_HUB = 'SETTINGS_HUB',\n /** The application sidebar (`appShellConfig[SIDEBAR].contentSections`). Grouped by section. */\n SIDEBAR = 'SIDEBAR',\n /** The user dropdown's settings entries. Flat — no groups. */\n USER_MENU = 'USER_MENU',\n /** The command palette (Cmd+K). Flat — its `category` is a search facet, not a placement group. */\n COMMAND_MENU = 'COMMAND_MENU',\n}\n\n/** The surfaces whose placements MUST name a declared group. The other members are flat by construction. */\nexport const GROUPED_PLACEMENT_SURFACES: readonly PlacementSurface[] = [\n PlacementSurface.SETTINGS_HUB,\n PlacementSurface.SIDEBAR,\n];\n\n/** WHAT is being placed. */\nexport enum PlacementSubjectKind {\n /**\n * An engine-owned settings destination, named by its `SettingsDestination.ref`.\n *\n * `_core` deliberately does not import a catalog, so ref EXISTENCE is checked by the caller that\n * holds one — see `validatePlacementPlan`'s `knownSubjects`. The app-creation semantic authority\n * supplies `ENGINE_SETTINGS_DESTINATION_REFS` from `@wildo-ai/saas-models`, so an unknown ref is\n * a hard floor there. What each ref MEANS (its render target, its role and capability gating)\n * stays in `@wildo-ai/saas-frontend-lib`, which is why the ref vocabulary was moved out of it on\n * 2026-09-09: a backend-side caller could not reach it, and the floor had no holder.\n *\n * (Two earlier drafts of this note were wrong in ways worth not repeating: the parameter was\n * called `knownSubjectRefs`, a name that never existed and made the pointer ungreppable; and\n * \"no caller supplies one yet\" outlived the wiring that made one.)\n */\n ENGINE_SETTINGS_DESTINATION = 'ENGINE_SETTINGS_DESTINATION',\n /** A resource operation surface the application owns (its LIST, its READ, a custom verb). */\n RESOURCE_OPERATION = 'RESOURCE_OPERATION',\n /** An application-scoped view (composite, chart, execution, full-custom). */\n APP_VIEW = 'APP_VIEW',\n}\n\n/**\n * Which subject kinds each surface can actually CARRY — a property of the shell's vocabulary, stated\n * once, total over {@link PlacementSurface}.\n *\n * The sidebar and the command palette hold LAUNCHERS, and a launcher can open a resource operation, an\n * application view or a settings section. The settings rail and the user dropdown hold SETTINGS\n * DESTINATIONS: the engine's, and the application's own, whose target is a resource operation, a\n * framework panel or a registered component. No settings target renders an application view, so an\n * APP_VIEW placed there is a decision no configuration can realise.\n *\n * Why it is written down rather than left to the coding task: the plan IS that task's specification. A\n * placement no configuration can express produces a task that can never land, however well the agent\n * works, and the first thing to notice would be the landing check after a full coding run. Refused at\n * the plan instead (`validatePlacementPlan`'s `SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE`), the deciding panel\n * is told while it can still put the subject where a subject of that kind can go.\n *\n * A RESOURCE_OPERATION on the settings rail is realised by the application declaring its own\n * destination (`SettingsHubConfig.destinations`) whose target is that operation, then placing it. On\n * the user dropdown it is the same destination, listed in `settingsEntries`.\n *\n * Not offered: a settings target that renders an application view inside the rail's panel. Each view\n * content type would need its own in-panel renderer, and a view already reaches people through the\n * sidebar or the palette. Content that genuinely belongs in settings can be a registered component the\n * application declares as its own destination.\n */\nexport const PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS: Readonly<Record<PlacementSurface, readonly PlacementSubjectKind[]>> = {\n [PlacementSurface.SETTINGS_HUB]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.USER_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.SIDEBAR]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n [PlacementSurface.COMMAND_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n};\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\nexport const PlacementSubjectSchema = z.discriminatedUnion('kind', [\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION).systemEnum('PlacementSubjectKind'),\n destinationRef: SlugSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.RESOURCE_OPERATION).systemEnum('PlacementSubjectKind'),\n moduleRef: SlugSchema,\n resourceRef: SlugSchema,\n /** The operation this placement surfaces (`list`, `read`, a custom verb ref). */\n operation: NonEmptyStringSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.APP_VIEW).systemEnum('PlacementSubjectKind'),\n viewRef: SlugSchema,\n }),\n]);\nexport type PlacementSubject = z.infer<typeof PlacementSubjectSchema>;\n\n/**\n * A container the plan decides should exist on a grouped surface — a settings\n * rail category, or a sidebar section.\n *\n * `purpose` is prose, and it is load-bearing rather than decorative: it is what\n * grounds the generated `settings_hub.categories.<ref>.label` /\n * `sidebar_sections.<ref>.title` labels in authored intent instead of letting a\n * model invent filler from the ref alone. The plan does NOT author the label\n * string — that is the labelling pipeline's job.\n */\nexport const PlacementGroupSchema = z.strictObject({\n groupRef: SlugSchema,\n /** Which grouped surface this group belongs to. */\n surface: z.enum(PlacementSurface).systemEnum('PlacementSurface'),\n /** Why this group exists / what it gathers, from a product perspective. */\n purpose: NonEmptyStringSchema,\n /** Sort order among groups on its surface (lower = higher). */\n order: z.number().int().min(0),\n});\nexport type PlacementGroup = z.infer<typeof PlacementGroupSchema>;\n\n/**\n * WHERE a placed subject sits. Discriminated on surface because the address\n * vocabularies genuinely differ: the grouped surfaces name a group, the flat\n * ones do not have one to name.\n */\nexport const PlacementAddressSchema = z.discriminatedUnion('surface', [\n z.strictObject({\n surface: z.literal(PlacementSurface.SETTINGS_HUB).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the settings rail category. */\n groupRef: SlugSchema,\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.SIDEBAR).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the sidebar section. */\n groupRef: SlugSchema,\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.USER_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.COMMAND_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n]);\nexport type PlacementAddress = z.infer<typeof PlacementAddressSchema>;\n\n/**\n * Whether a considered subject was placed or deliberately left unplaced.\n *\n * `DECLINED` is a first-class outcome, not an absence. A subject that is simply\n * missing from the plan is a COVERAGE GAP (the decision was never taken); a\n * subject recorded as `DECLINED` is a decision, with a reason a reader can\n * disagree with. Collapsing the two would make \"we thought about it and said no\"\n * indistinguishable from \"nobody looked\".\n */\nexport enum PlacementDisposition {\n PLACED = 'PLACED',\n DECLINED = 'DECLINED',\n}\n\n/**\n * WHOSE judgement a decision currently represents.\n *\n * The placement plan is produced by an expert-panel deliberation, and every decision carries a\n * `rationale` written by that panel. Nothing stopped a later edit — a re-run, or a human changing\n * the landed file — from leaving that rationale in place while changing what it explains, so the\n * artifact went on asserting panel reasoning for a decision the panel never took.\n *\n * This is the field that makes the difference legible. It is REQUIRED and has NO DEFAULT, which is\n * the whole point: a defaulted `DELIBERATED` would mean silence claims the panel, and silence is\n * exactly what a hand-edit produces.\n *\n * ⚠️ TRUSTED, like `decisionRef`. `PlacementDecisionGenerationSchema` cannot express it, so a\n * provider cannot declare its own output a human revision; `parsePlacementPlanGeneration` stamps\n * `DELIBERATED` because a panel run is by definition the panel's judgement.\n *\n * ⚠️ This is not an audit trail and must not grow into one. Git already records WHO changed a\n * decision, WHEN, and with what commit message, mergeably and across branches — git is the\n * accepted state, and a second ledger beside it cannot merge. What git cannot tell a reader who is looking at the\n * FILE — the config, in an editor, asking \"why is Billing under Account?\" — is that this particular\n * line is no longer what the panel decided. That is the one fact this carries.\n */\nexport enum PlacementDecisionOrigin {\n /** The expert panel decided it, and nobody has changed it since. */\n DELIBERATED = 'DELIBERATED',\n /** A human changed it after the panel decided otherwise. {@link PlacementSupersededDecisionSchema} says what the panel had said. */\n REVISED = 'REVISED',\n}\n\n/**\n * What a revision replaced — the panel's own reasoning, kept beside the human's.\n *\n * Only the RATIONALE, deliberately. The decision schema's own note already says the reasoning is\n * \"the artifact's most perishable and most valuable part\", and it is the half a reader cannot\n * reconstruct: the prior address is visible in `git diff`, the prior argument is not, because a\n * diff shows the words that changed and never the case they were making.\n *\n * Keeping more — the old address, a timestamp, an author — would grow a shadow decision beside the\n * real one, and every one of those is something git already holds, in a form that merges.\n */\nexport const PlacementSupersededDecisionSchema = z.strictObject({\n /** The rationale the panel gave for the decision this one replaced. */\n rationale: NonEmptyStringSchema,\n});\nexport type PlacementSupersededDecision = z.infer<typeof PlacementSupersededDecisionSchema>;\n\n/**\n * One placement decision.\n *\n * `rationale` is REQUIRED on both arms. It is what lets a creator ask \"why is\n * Billing under Organization?\" and get an answer without re-running the panel\n * that decided it — the plan is produced by an expert-panel deliberation, so\n * the reasoning is the artifact's most perishable and most valuable part.\n *\n * A subject may legitimately be placed on SEVERAL surfaces (billing sits in the\n * settings rail AND answers to the command palette), so one decision per\n * (subject, surface) — never one per subject.\n */\nexport const PlacementDecisionSchema = z.discriminatedUnion('disposition', [\n z.strictObject({\n /** `placement-<slug>`, stamped by the trusted runtime. */\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.PLACED).systemEnum('PlacementDisposition'),\n /** Whose judgement this is. Required, never defaulted — see {@link PlacementDecisionOrigin}. */\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n address: PlacementAddressSchema,\n /** Why this subject belongs at this address. One or two sentences, product-level. */\n rationale: NonEmptyStringSchema,\n /** Required exactly when `origin` is REVISED — enforced below, on the decision itself. */\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n z.strictObject({\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.DECLINED).systemEnum('PlacementDisposition'),\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n /** Why this subject is deliberately NOT surfaced anywhere. */\n rationale: NonEmptyStringSchema,\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n]).superRefine((decision, context) => {\n /*\n * The pairing, enforced on the DECISION rather than on the plan.\n *\n * `PlacementDecisionSchema` is exported and parsed on its own, so a check that lived only in the\n * plan's `superRefine` would hold for a whole plan and not for a decision — one of the two call\n * sites of an invariant — the shape where a guard is applied at one call site and silently\n * missing at another. Here it cannot be bypassed by parsing at a different granularity.\n *\n * Both directions, and the second matters as much as the first. A REVISED decision with no\n * `supersedes` is the defect this whole field was added for, wearing the new vocabulary: it says\n * \"a human changed this\" and still cannot say what was changed. A DELIBERATED decision that\n * CARRIES a `supersedes` is a plan claiming the panel overruled itself — no run produces that, so\n * it can only come from an edit that changed one half and forgot the other.\n */\n if (decision.origin === PlacementDecisionOrigin.REVISED && decision.supersedes === undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is REVISED but records no superseded rationale — a revision must say what the panel had decided, or the artifact loses the argument it replaced`,\n path: ['supersedes'],\n });\n }\n if (decision.origin === PlacementDecisionOrigin.DELIBERATED && decision.supersedes !== undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is DELIBERATED and records a superseded rationale — a panel decision supersedes nothing; set origin to REVISED, or drop the supersedes block`,\n path: ['supersedes'],\n });\n }\n});\nexport type PlacementDecision = z.infer<typeof PlacementDecisionSchema>;\n\n/**\n * THE placement payload — a **single aggregate per application**: which shell\n * surface every destination, resource operation and app view sits on, and why.\n *\n * **Artifact-family id: `placement-plan`.** This schema is the shape of the\n * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===\n * 'placement-plan'` (the `family` vocabulary stays an open string owned by the\n * selector surface; this note is the single place tying the SHAPE to the NAME).\n * Produced by the `bottom_up.placement-plan` playbook — an expert-panel\n * deliberation, not a creator elicitation — and consumed by `build-decompose`,\n * which turns it into the coding tasks that author the real config files.\n *\n * Invariants enforced HERE: unique decision refs; at least one decision; every\n * placement on a grouped surface names a group declared in this plan, of the\n * SAME surface; no two groups share a ref on one surface. Coherence beyond\n * structure — duplicate placements, empty groups, order collisions, coverage\n * against the engine catalog — is `validatePlacementPlan`'s job.\n */\nexport const PlacementPlanSchema = z.object({\n version: z.enum(PlacementPlanVersion).default(PlacementPlanVersion.V1),\n /**\n * The groups the plan decides should exist. May be empty only when no\n * grouped-surface placement is made — enforced below rather than by a\n * `min(1)`, because a plan that places nothing but command-menu entries is\n * legitimate and needs no group.\n */\n groups: z.array(PlacementGroupSchema).default([]),\n /**\n * At least one decision, at the SCHEMA. A plan that decided nothing is a\n * refusal (\"there was nothing to place\"), never an artifact — and an empty\n * artifact that LANDS overwrites a real one, which is exactly how a completed\n * 3-task build plan was destroyed by a vacuous one on 2026-08-24.\n */\n decisions: z.array(PlacementDecisionSchema).min(1),\n}).superRefine((plan, context) => {\n const groupKeys = new Set<string>();\n plan.groups.forEach((group, index) => {\n const key = `${group.surface}::${group.groupRef}`;\n if (groupKeys.has(key)) {\n context.addIssue({ code: 'custom', message: `duplicate placement group \"${group.groupRef}\" on surface ${group.surface}`, path: ['groups', index, 'groupRef'] });\n }\n groupKeys.add(key);\n });\n\n const decisionRefs = new Set<string>();\n plan.decisions.forEach((decision, index) => {\n if (decisionRefs.has(decision.decisionRef)) {\n context.addIssue({ code: 'custom', message: `duplicate placement decision ref \"${decision.decisionRef}\"`, path: ['decisions', index, 'decisionRef'] });\n }\n decisionRefs.add(decision.decisionRef);\n\n if (decision.disposition !== PlacementDisposition.PLACED) return;\n const address = decision.address;\n if (!('groupRef' in address)) return;\n if (!groupKeys.has(`${address.surface}::${address.groupRef}`)) {\n context.addIssue({\n code: 'custom',\n message: `placement \"${decision.decisionRef}\" names group \"${address.groupRef}\", which this plan does not declare for surface ${address.surface}`,\n path: ['decisions', index, 'address', 'groupRef'],\n });\n }\n });\n});\nexport type PlacementPlan = z.infer<typeof PlacementPlanSchema>;\n/** @wildo_source:part:end placement-plan.config */\n"]}
1
+ {"version":3,"file":"placement-plan.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;AACX,CAAC,EAFW,oBAAoB,KAApB,oBAAoB,QAE/B;AAED,4HAA4H;AAC5H,MAAM,CAAC,MAAM,6BAA6B,GAAG,YAAY,CAAC;AAE1D;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,iGAAiG;IACjG,iDAA6B,CAAA;IAC7B,+FAA+F;IAC/F,uCAAmB,CAAA;IACnB,8DAA8D;IAC9D,2CAAuB,CAAA;IACvB,mGAAmG;IACnG,iDAA6B,CAAA;AAC/B,CAAC,EATW,gBAAgB,KAAhB,gBAAgB,QAS3B;AAED,4GAA4G;AAC5G,MAAM,CAAC,MAAM,0BAA0B,GAAgC;IACrE,gBAAgB,CAAC,YAAY;IAC7B,gBAAgB,CAAC,OAAO;CACzB,CAAC;AAEF,4BAA4B;AAC5B,MAAM,CAAN,IAAY,oBAoBX;AApBD,WAAY,oBAAoB;IAC9B;;;;;;;;;;;;;OAaG;IACH,mFAA2D,CAAA;IAC3D,6FAA6F;IAC7F,iEAAyC,CAAA;IACzC,6EAA6E;IAC7E,6CAAqB,CAAA;AACvB,CAAC,EApBW,oBAAoB,KAApB,oBAAoB,QAoB/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAwE;IAC9H,CAAC,gBAAgB,CAAC,YAAY,C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ators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\n/**\n * @wildo_source:part:start placement-plan.config facet:layer:specification facet:family:placement-plan\n *\n * Versioning for the placement-plan payload format itself. `V1` — initial\n * shape (declared groups + one decision per subject). The shape grows\n * additively across versions; `version` is the explicit marker for consumers\n * that branch on era.\n */\nexport enum PlacementPlanVersion {\n V1 = 'v1',\n}\n\n/** Stable prefix every placement decision ref carries; the trusted runtime stamps it, a provider supplies only the slug. */\nexport const PLACEMENT_DECISION_REF_PREFIX = 'placement-';\n\n/**\n * WHICH shell surface a subject is placed on — a closed vocabulary, because\n * each member names a different authoring file with a different vocabulary,\n * and the dispatching coding agent derives which skill and which file from it.\n *\n * Deliberately NOT merged into one \"navigation surface\" bucket: a settings\n * placement names a rail CATEGORY, a sidebar placement names a sidebar\n * SECTION, and the two are different concepts that happen to both be groups.\n */\nexport enum PlacementSurface {\n /** The settings hub rail (`frontend/src/config/settings-hub.config.ts`). Grouped by category. */\n SETTINGS_HUB = 'SETTINGS_HUB',\n /** The application sidebar (`appShellConfig[SIDEBAR].contentSections`). Grouped by section. */\n SIDEBAR = 'SIDEBAR',\n /** The user dropdown's settings entries. Flat — no groups. */\n USER_MENU = 'USER_MENU',\n /** The command palette (Cmd+K). Flat — its `category` is a search facet, not a placement group. */\n COMMAND_MENU = 'COMMAND_MENU',\n}\n\n/** The surfaces whose placements MUST name a declared group. The other members are flat by construction. */\nexport const GROUPED_PLACEMENT_SURFACES: readonly PlacementSurface[] = [\n PlacementSurface.SETTINGS_HUB,\n PlacementSurface.SIDEBAR,\n];\n\n/** WHAT is being placed. */\nexport enum PlacementSubjectKind {\n /**\n * An engine-owned settings destination, named by its `SettingsDestination.ref`.\n *\n * `_core` deliberately does not import a catalog, so ref EXISTENCE is checked by the caller that\n * holds one — see `validatePlacementPlan`'s `knownSubjects`. The app-creation semantic authority\n * supplies `ENGINE_SETTINGS_DESTINATION_REFS` from `@wildo-ai/saas-models`, so an unknown ref is\n * a hard floor there. What each ref MEANS (its render target, its role and capability gating)\n * stays in `@wildo-ai/saas-frontend-lib`, which is why the ref vocabulary was moved out of it on\n * 2026-09-09: a backend-side caller could not reach it, and the floor had no holder.\n *\n * (Two earlier drafts of this note were wrong in ways worth not repeating: the parameter was\n * called `knownSubjectRefs`, a name that never existed and made the pointer ungreppable; and\n * \"no caller supplies one yet\" outlived the wiring that made one.)\n */\n ENGINE_SETTINGS_DESTINATION = 'ENGINE_SETTINGS_DESTINATION',\n /** A resource operation surface the application owns (its LIST, its READ, a custom verb). */\n RESOURCE_OPERATION = 'RESOURCE_OPERATION',\n /** An application-scoped view (composite, chart, execution, full-custom). */\n APP_VIEW = 'APP_VIEW',\n}\n\n/**\n * Which subject kinds each surface can actually CARRY — a property of the shell's vocabulary, stated\n * once, total over {@link PlacementSurface}.\n *\n * The sidebar and the command palette hold LAUNCHERS, and a launcher can open a resource operation, an\n * application view or a settings section. The settings rail and the user dropdown hold SETTINGS\n * DESTINATIONS: the engine's, and the application's own, whose target is a resource operation, a\n * framework panel or a registered component. No settings target renders an application view, so an\n * APP_VIEW placed there is a decision no configuration can realise.\n *\n * Why it is written down rather than left to the coding task: the plan IS that task's specification. A\n * placement no configuration can express produces a task that can never land, however well the agent\n * works, and the first thing to notice would be the landing check after a full coding run. Refused at\n * the plan instead (`validatePlacementPlan`'s `SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE`), the deciding panel\n * is told while it can still put the subject where a subject of that kind can go.\n *\n * A RESOURCE_OPERATION on the settings rail is realised by the application declaring its own\n * destination (`SettingsHubConfig.destinations`) whose target is that operation, then placing it. On\n * the user dropdown it is the same destination, listed in `settingsEntries`.\n *\n * Not offered: a settings target that renders an application view inside the rail's panel. Each view\n * content type would need its own in-panel renderer, and a view already reaches people through the\n * sidebar or the palette. Content that genuinely belongs in settings can be a registered component the\n * application declares as its own destination.\n */\nexport const PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS: Readonly<Record<PlacementSurface, readonly PlacementSubjectKind[]>> = {\n [PlacementSurface.SETTINGS_HUB]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.USER_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION],\n [PlacementSurface.SIDEBAR]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n [PlacementSurface.COMMAND_MENU]: [PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION, PlacementSubjectKind.RESOURCE_OPERATION, PlacementSubjectKind.APP_VIEW],\n};\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * A placement group's OWN key (`groupRef` on the group) — the same slug grammar as the other refs,\n * declared apart from the fields that POINT at a group (an address's `groupRef`).\n */\nconst PlacementGroupKeySchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\nexport const PlacementSubjectSchema = z.discriminatedUnion('kind', [\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION).systemEnum('PlacementSubjectKind'),\n destinationRef: SlugSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.RESOURCE_OPERATION).systemEnum('PlacementSubjectKind'),\n moduleRef: SlugSchema,\n resourceRef: SlugSchema,\n /** The operation this placement surfaces (`list`, `read`, a custom verb ref). */\n operation: NonEmptyStringSchema,\n }),\n z.strictObject({\n kind: z.literal(PlacementSubjectKind.APP_VIEW).systemEnum('PlacementSubjectKind'),\n viewRef: SlugSchema,\n }),\n]);\nexport type PlacementSubject = z.infer<typeof PlacementSubjectSchema>;\n\n/**\n * A container the plan decides should exist on a grouped surface — a settings\n * rail category, or a sidebar section.\n *\n * `purpose` is prose, and it is load-bearing rather than decorative: it is what\n * grounds the generated `settings_hub.categories.<ref>.label` /\n * `sidebar_sections.<ref>.title` labels in authored intent instead of letting a\n * model invent filler from the ref alone. The plan does NOT author the label\n * string — that is the labelling pipeline's job.\n */\nexport const PlacementGroupSchema = z.strictObject({\n groupRef: PlacementGroupKeySchema,\n /** Which grouped surface this group belongs to. */\n surface: z.enum(PlacementSurface).systemEnum('PlacementSurface'),\n /** Why this group exists / what it gathers, from a product perspective. */\n purpose: NonEmptyStringSchema,\n /** Sort order among groups on its surface (lower = higher). */\n order: z.number().int().min(0),\n});\nexport type PlacementGroup = z.infer<typeof PlacementGroupSchema>;\n\n/**\n * WHERE a placed subject sits. Discriminated on surface because the address\n * vocabularies genuinely differ: the grouped surfaces name a group, the flat\n * ones do not have one to name.\n */\nexport const PlacementAddressSchema = z.discriminatedUnion('surface', [\n z.strictObject({\n surface: z.literal(PlacementSurface.SETTINGS_HUB).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the settings rail category. */\n groupRef: SlugSchema,\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.SIDEBAR).systemEnum('PlacementSurface'),\n /** The `PlacementGroup.groupRef` of the sidebar section. */\n groupRef: SlugSchema,\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.USER_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n z.strictObject({\n surface: z.literal(PlacementSurface.COMMAND_MENU).systemEnum('PlacementSurface'),\n order: z.number().int().min(0),\n }),\n]);\nexport type PlacementAddress = z.infer<typeof PlacementAddressSchema>;\n\n/**\n * Whether a considered subject was placed or deliberately left unplaced.\n *\n * `DECLINED` is a first-class outcome, not an absence. A subject that is simply\n * missing from the plan is a COVERAGE GAP (the decision was never taken); a\n * subject recorded as `DECLINED` is a decision, with a reason a reader can\n * disagree with. Collapsing the two would make \"we thought about it and said no\"\n * indistinguishable from \"nobody looked\".\n */\nexport enum PlacementDisposition {\n PLACED = 'PLACED',\n DECLINED = 'DECLINED',\n}\n\n/**\n * WHOSE judgement a decision currently represents.\n *\n * The placement plan is produced by an expert-panel deliberation, and every decision carries a\n * `rationale` written by that panel. Nothing stopped a later edit — a re-run, or a human changing\n * the landed file — from leaving that rationale in place while changing what it explains, so the\n * artifact went on asserting panel reasoning for a decision the panel never took.\n *\n * This is the field that makes the difference legible. It is REQUIRED and has NO DEFAULT, which is\n * the whole point: a defaulted `DELIBERATED` would mean silence claims the panel, and silence is\n * exactly what a hand-edit produces.\n *\n * ⚠️ TRUSTED, like `decisionRef`. `PlacementDecisionGenerationSchema` cannot express it, so a\n * provider cannot declare its own output a human revision; `parsePlacementPlanGeneration` stamps\n * `DELIBERATED` because a panel run is by definition the panel's judgement.\n *\n * ⚠️ This is not an audit trail and must not grow into one. Git already records WHO changed a\n * decision, WHEN, and with what commit message, mergeably and across branches — git is the\n * accepted state, and a second ledger beside it cannot merge. What git cannot tell a reader who is looking at the\n * FILE — the config, in an editor, asking \"why is Billing under Account?\" — is that this particular\n * line is no longer what the panel decided. That is the one fact this carries.\n */\nexport enum PlacementDecisionOrigin {\n /** The expert panel decided it, and nobody has changed it since. */\n DELIBERATED = 'DELIBERATED',\n /** A human changed it after the panel decided otherwise. {@link PlacementSupersededDecisionSchema} says what the panel had said. */\n REVISED = 'REVISED',\n}\n\n/**\n * What a revision replaced — the panel's own reasoning, kept beside the human's.\n *\n * Only the RATIONALE, deliberately. The decision schema's own note already says the reasoning is\n * \"the artifact's most perishable and most valuable part\", and it is the half a reader cannot\n * reconstruct: the prior address is visible in `git diff`, the prior argument is not, because a\n * diff shows the words that changed and never the case they were making.\n *\n * Keeping more — the old address, a timestamp, an author — would grow a shadow decision beside the\n * real one, and every one of those is something git already holds, in a form that merges.\n */\nexport const PlacementSupersededDecisionSchema = z.strictObject({\n /** The rationale the panel gave for the decision this one replaced. */\n rationale: NonEmptyStringSchema,\n});\nexport type PlacementSupersededDecision = z.infer<typeof PlacementSupersededDecisionSchema>;\n\n/**\n * One placement decision.\n *\n * `rationale` is REQUIRED on both arms. It is what lets a creator ask \"why is\n * Billing under Organization?\" and get an answer without re-running the panel\n * that decided it — the plan is produced by an expert-panel deliberation, so\n * the reasoning is the artifact's most perishable and most valuable part.\n *\n * A subject may legitimately be placed on SEVERAL surfaces (billing sits in the\n * settings rail AND answers to the command palette), so one decision per\n * (subject, surface) — never one per subject.\n */\nexport const PlacementDecisionSchema = z.discriminatedUnion('disposition', [\n z.strictObject({\n /** `placement-<slug>`, stamped by the trusted runtime. */\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.PLACED).systemEnum('PlacementDisposition'),\n /** Whose judgement this is. Required, never defaulted — see {@link PlacementDecisionOrigin}. */\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n address: PlacementAddressSchema,\n /** Why this subject belongs at this address. One or two sentences, product-level. */\n rationale: NonEmptyStringSchema,\n /** Required exactly when `origin` is REVISED — enforced below, on the decision itself. */\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n z.strictObject({\n decisionRef: z.string().regex(new RegExp(`^${PLACEMENT_DECISION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n disposition: z.literal(PlacementDisposition.DECLINED).systemEnum('PlacementDisposition'),\n origin: z.enum(PlacementDecisionOrigin).systemEnum('PlacementDecisionOrigin'),\n subject: PlacementSubjectSchema,\n /** Why this subject is deliberately NOT surfaced anywhere. */\n rationale: NonEmptyStringSchema,\n supersedes: PlacementSupersededDecisionSchema.optional(),\n }),\n]).superRefine((decision, context) => {\n /*\n * The pairing, enforced on the DECISION rather than on the plan.\n *\n * `PlacementDecisionSchema` is exported and parsed on its own, so a check that lived only in the\n * plan's `superRefine` would hold for a whole plan and not for a decision — one of the two call\n * sites of an invariant — the shape where a guard is applied at one call site and silently\n * missing at another. Here it cannot be bypassed by parsing at a different granularity.\n *\n * Both directions, and the second matters as much as the first. A REVISED decision with no\n * `supersedes` is the defect this whole field was added for, wearing the new vocabulary: it says\n * \"a human changed this\" and still cannot say what was changed. A DELIBERATED decision that\n * CARRIES a `supersedes` is a plan claiming the panel overruled itself — no run produces that, so\n * it can only come from an edit that changed one half and forgot the other.\n */\n if (decision.origin === PlacementDecisionOrigin.REVISED && decision.supersedes === undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is REVISED but records no superseded rationale — a revision must say what the panel had decided, or the artifact loses the argument it replaced`,\n path: ['supersedes'],\n });\n }\n if (decision.origin === PlacementDecisionOrigin.DELIBERATED && decision.supersedes !== undefined) {\n context.addIssue({\n code: 'custom',\n message: `placement decision \"${decision.decisionRef}\" is DELIBERATED and records a superseded rationale — a panel decision supersedes nothing; set origin to REVISED, or drop the supersedes block`,\n path: ['supersedes'],\n });\n }\n});\nexport type PlacementDecision = z.infer<typeof PlacementDecisionSchema>;\n\n/**\n * THE placement payload — a **single aggregate per application**: which shell\n * surface every destination, resource operation and app view sits on, and why.\n *\n * **Artifact-family id: `placement-plan`.** This schema is the shape of the\n * journey artifact selected by `MetaWorkflow_ArtifactSelector.family ===\n * 'placement-plan'` (the `family` vocabulary stays an open string owned by the\n * selector surface; this note is the single place tying the SHAPE to the NAME).\n * Produced by the `bottom_up.placement-plan` playbook — an expert-panel\n * deliberation, not a creator elicitation — and consumed by `build-decompose`,\n * which turns it into the coding tasks that author the real config files.\n *\n * Invariants enforced HERE: unique decision refs; at least one decision; every\n * placement on a grouped surface names a group declared in this plan, of the\n * SAME surface; no two groups share a ref on one surface. Coherence beyond\n * structure — duplicate placements, empty groups, order collisions, coverage\n * against the engine catalog — is `validatePlacementPlan`'s job.\n */\nexport const PlacementPlanSchema = z.object({\n version: z.enum(PlacementPlanVersion).default(PlacementPlanVersion.V1),\n /**\n * The groups the plan decides should exist. May be empty only when no\n * grouped-surface placement is made — enforced below rather than by a\n * `min(1)`, because a plan that places nothing but command-menu entries is\n * legitimate and needs no group.\n */\n groups: z.array(PlacementGroupSchema).default([]),\n /**\n * At least one decision, at the SCHEMA. A plan that decided nothing is a\n * refusal (\"there was nothing to place\"), never an artifact — and an empty\n * artifact that LANDS overwrites a real one, which is exactly how a completed\n * 3-task build plan was destroyed by a vacuous one on 2026-08-24.\n */\n decisions: z.array(PlacementDecisionSchema).min(1),\n}).superRefine((plan, context) => {\n const groupKeys = new Set<string>();\n plan.groups.forEach((group, index) => {\n const key = `${group.surface}::${group.groupRef}`;\n if (groupKeys.has(key)) {\n context.addIssue({ code: 'custom', message: `duplicate placement group \"${group.groupRef}\" on surface ${group.surface}`, path: ['groups', index, 'groupRef'] });\n }\n groupKeys.add(key);\n });\n\n const decisionRefs = new Set<string>();\n plan.decisions.forEach((decision, index) => {\n if (decisionRefs.has(decision.decisionRef)) {\n context.addIssue({ code: 'custom', message: `duplicate placement decision ref \"${decision.decisionRef}\"`, path: ['decisions', index, 'decisionRef'] });\n }\n decisionRefs.add(decision.decisionRef);\n\n if (decision.disposition !== PlacementDisposition.PLACED) return;\n const address = decision.address;\n if (!('groupRef' in address)) return;\n if (!groupKeys.has(`${address.surface}::${address.groupRef}`)) {\n context.addIssue({\n code: 'custom',\n message: `placement \"${decision.decisionRef}\" names group \"${address.groupRef}\", which this plan does not declare for surface ${address.surface}`,\n path: ['decisions', index, 'address', 'groupRef'],\n });\n }\n });\n});\nexport type PlacementPlan = z.infer<typeof PlacementPlanSchema>;\n/** @wildo_source:part:end placement-plan.config */\n"]}
@@ -47,6 +47,7 @@ export declare const FunctionalRequirementConfigSchema: z.ZodObject<{
47
47
  reviewer: z.ZodOptional<z.ZodString>;
48
48
  notes: z.ZodOptional<z.ZodString>;
49
49
  }, z.core.$strip>>;
50
+ contributedBy: z.ZodOptional<z.ZodString>;
50
51
  }, z.core.$strip>;
51
52
  export type FunctionalRequirementConfig = z.infer<typeof FunctionalRequirementConfigSchema>;
52
53
  /** @wildo_source:part:end requirements.functional-requirement.config */
@@ -1 +1 @@
1
- {"version":3,"file":"functional-requirement.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/functional-requirement.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;iBAsB5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,wEAAwE"}
1
+ {"version":3,"file":"functional-requirement.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/functional-requirement.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;iBA8B5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,wEAAwE"}
@@ -58,6 +58,14 @@ export const FunctionalRequirementConfigSchema = z.object({
58
58
  jobRefs: z.array(NonEmptyStringSchema).optional(),
59
59
  /** Optional per-entity authoring provenance. */
60
60
  authored: RequirementsAuthoredMetadataSchema.optional(),
61
+ /**
62
+ * The SECONDARY LINE that contributed this element (#1608), as `<entry playbook>@<line key>`. STAMPED by the
63
+ * landing, never authored: a value in generated output is discarded. Absent on the main line's own elements.
64
+ * A contributed element belongs to its line: when the main line re-derives this family, an element it
65
+ * leaves out is carried forward rather than dropped, and a line may not overwrite an element it did not
66
+ * contribute.
67
+ */
68
+ contributedBy: z.string().trim().min(1).optional(),
61
69
  });
62
70
  /** @wildo_source:part:end requirements.functional-requirement.config */
63
71
  //# sourceMappingURL=functional-requirement.schemas.js.map