@wildo-ai/saas-specifications 1.1.5 → 1.1.7

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 +2 -2
  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
@@ -0,0 +1,58 @@
1
+ import { z } from 'zod';
2
+ import { SchemaOrgCatalogEntryBaseSchema } from './_catalog-spec.shared.schemas.js';
3
+ /**
4
+ * @wildo_source:part:start saas.specifications.catalogs.schema-org.entity-software-application facet:layer:specification facet:family:catalog
5
+ *
6
+ * Schema.org `SoftwareApplication` catalog entry — the product a Wildo
7
+ * application's public website sells: the application itself. Use it for
8
+ * the site's canonical product entity (typically emitted by the home page
9
+ * hero or the pricing section), paired with `Offer` / `AggregateOffer` for
10
+ * the plans and `AggregateRating` when the site shows review aggregates.
11
+ * Prefer it over `Product` for the application; keep `Product` for a
12
+ * discrete good the site sells beside it.
13
+ *
14
+ * **Why the engine ships it.** It used to be reserved for an app-side
15
+ * extension, on the reasoning that most Wildo applications are not software
16
+ * products. That reasoning did not survive the website lane: an application
17
+ * only gets a public website when its capability composition decides it has
18
+ * buyers to reach, and what those buyers buy is the software. The recorded
19
+ * promotion criteria — a second consuming application shape, a stable field
20
+ * list, no domain vocabulary — were met on 2026-09-25, when a journey-built
21
+ * application's pricing section emitted this type (as the pricing skill told
22
+ * it to) and failed the structured-data audit because no application-side
23
+ * entry existed to declare it.
24
+ *
25
+ * Spec citation: https://schema.org/SoftwareApplication
26
+ */
27
+ const _SoftwareApplicationCatalogEntrySchema = SchemaOrgCatalogEntryBaseSchema.extend({
28
+ '@type': z.literal('SoftwareApplication'),
29
+ });
30
+ export const SoftwareApplicationCatalogEntrySchema = _SoftwareApplicationCatalogEntrySchema;
31
+ export const SOFTWARE_APPLICATION_CATALOG_ENTRY = _SoftwareApplicationCatalogEntrySchema.parse({
32
+ '@type': 'SoftwareApplication',
33
+ schemaOrgUrl: 'https://schema.org/SoftwareApplication',
34
+ description: 'The software product the website sells — the application itself (web, mobile or desktop). Pair with `Offer` / `AggregateOffer` for pricing surfaces and `AggregateRating` for review aggregates. Prefer it over `Product` for the application.',
35
+ developmentNotes: '`applicationCategory` should match how the site positions the product (e.g. "BusinessApplication", "ProductivityApplication"); `operatingSystem` lists the platforms the product runs on ("Web" for a browser-based application). Emit it once per page, from the section that owns the product claim.',
36
+ requiredFields: ['name', 'applicationCategory', 'operatingSystem'],
37
+ optionalFields: [
38
+ 'description',
39
+ 'offers',
40
+ 'aggregateRating',
41
+ 'review',
42
+ 'screenshot',
43
+ 'softwareVersion',
44
+ 'downloadUrl',
45
+ 'featureList',
46
+ 'url',
47
+ 'image',
48
+ ],
49
+ /*
50
+ * Not recommended wholesale: `aggregateRating` and `review` are truthful only when the site has
51
+ * real ratings, and recommending them to every generated site invites fabricated review markup,
52
+ * which search engines treat as spam. The fields stay listed as optional.
53
+ */
54
+ recommendOptionals: false,
55
+ deprecatedFields: [],
56
+ });
57
+ /** @wildo_source:part:end saas.specifications.catalogs.schema-org.entity-software-application */
58
+ //# sourceMappingURL=software-application.catalog-spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"software-application.catalog-spec.js","sourceRoot":"","sources":["../../../../../src/_catalogs/schema-org/software-application.catalog-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAEjF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,sCAAsC,GAAG,+BAA+B,CAAC,MAAM,CAAC;IACpF,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CAC1C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAChD,sCAAsC,CAAC;AAIzC,MAAM,CAAC,MAAM,kCAAkC,GAAoC,sCAAsC,CAAC,KAAK,CAAC;IAC9H,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,wCAAwC;IACtD,WAAW,EACT,gPAAgP;IAClP,gBAAgB,EACd,wSAAwS;IAC1S,cAAc,EAAE,CAAC,MAAM,EAAE,qBAAqB,EAAE,iBAAiB,CAAC;IAClE,cAAc,EAAE;QACd,aAAa;QACb,QAAQ;QACR,iBAAiB;QACjB,QAAQ;QACR,YAAY;QACZ,iBAAiB;QACjB,aAAa;QACb,aAAa;QACb,KAAK;QACL,OAAO;KACR;IACD;;;;OAIG;IACH,kBAAkB,EAAE,KAAK;IACzB,gBAAgB,EAAE,EAAE;CACrB,CAAC,CAAC;AACH,iGAAiG","sourcesContent":["import { z } from 'zod';\n\nimport { SchemaOrgCatalogEntryBaseSchema } from './_catalog-spec.shared.schemas';\n\n/**\n * @wildo_source:part:start saas.specifications.catalogs.schema-org.entity-software-application facet:layer:specification facet:family:catalog\n *\n * Schema.org `SoftwareApplication` catalog entry — the product a Wildo\n * application's public website sells: the application itself. Use it for\n * the site's canonical product entity (typically emitted by the home page\n * hero or the pricing section), paired with `Offer` / `AggregateOffer` for\n * the plans and `AggregateRating` when the site shows review aggregates.\n * Prefer it over `Product` for the application; keep `Product` for a\n * discrete good the site sells beside it.\n *\n * **Why the engine ships it.** It used to be reserved for an app-side\n * extension, on the reasoning that most Wildo applications are not software\n * products. That reasoning did not survive the website lane: an application\n * only gets a public website when its capability composition decides it has\n * buyers to reach, and what those buyers buy is the software. The recorded\n * promotion criteria — a second consuming application shape, a stable field\n * list, no domain vocabulary — were met on 2026-09-25, when a journey-built\n * application's pricing section emitted this type (as the pricing skill told\n * it to) and failed the structured-data audit because no application-side\n * entry existed to declare it.\n *\n * Spec citation: https://schema.org/SoftwareApplication\n */\nconst _SoftwareApplicationCatalogEntrySchema = SchemaOrgCatalogEntryBaseSchema.extend({\n '@type': z.literal('SoftwareApplication'),\n});\n\nexport const SoftwareApplicationCatalogEntrySchema: typeof _SoftwareApplicationCatalogEntrySchema =\n _SoftwareApplicationCatalogEntrySchema;\n\nexport type SoftwareApplicationCatalogEntry = z.infer<typeof _SoftwareApplicationCatalogEntrySchema>;\n\nexport const SOFTWARE_APPLICATION_CATALOG_ENTRY: SoftwareApplicationCatalogEntry = _SoftwareApplicationCatalogEntrySchema.parse({\n '@type': 'SoftwareApplication',\n schemaOrgUrl: 'https://schema.org/SoftwareApplication',\n description:\n 'The software product the website sells — the application itself (web, mobile or desktop). Pair with `Offer` / `AggregateOffer` for pricing surfaces and `AggregateRating` for review aggregates. Prefer it over `Product` for the application.',\n developmentNotes:\n '`applicationCategory` should match how the site positions the product (e.g. \"BusinessApplication\", \"ProductivityApplication\"); `operatingSystem` lists the platforms the product runs on (\"Web\" for a browser-based application). Emit it once per page, from the section that owns the product claim.',\n requiredFields: ['name', 'applicationCategory', 'operatingSystem'],\n optionalFields: [\n 'description',\n 'offers',\n 'aggregateRating',\n 'review',\n 'screenshot',\n 'softwareVersion',\n 'downloadUrl',\n 'featureList',\n 'url',\n 'image',\n ],\n /*\n * Not recommended wholesale: `aggregateRating` and `review` are truthful only when the site has\n * real ratings, and recommending them to every generated site invites fabricated review markup,\n * which search engines treat as spam. The fields stay listed as optional.\n */\n recommendOptionals: false,\n deprecatedFields: [],\n});\n/** @wildo_source:part:end saas.specifications.catalogs.schema-org.entity-software-application */\n"]}
@@ -141,8 +141,9 @@ export declare enum ApplicationSpecificationFamily {
141
141
  DOCUMENTATION_PLAN = "documentation-plan",
142
142
  /**
143
143
  * WHAT RUNS BESIDE THE BACKEND and what the application reaches out to (#1495) — its workers, its
144
- * minions and the providers it binds. Produced by `bottom_up.integration-plan`, turned into
145
- * worker, minion and provider-binding build tasks by the decomposer.
144
+ * minions and the providers it binds — and what reaches IN, its inbound channels (#1630). Produced by
145
+ * `bottom_up.integration-plan`, turned into worker, minion, provider-binding and inbound channel
146
+ * handler build tasks by the decomposer (#1832).
146
147
  */
147
148
  INTEGRATION_PLAN = "integration-plan",
148
149
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"application-specification-family-identity.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/application-specification-family-identity.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,oBAAY,8BAA8B;IACxC,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;IAC3B,kBAAkB,uBAAuB;IACzC,oEAAoE;IACpE,6BAA6B,kCAAkC;IAC/D,+EAA+E;IAC/E,iCAAiC,sCAAsC;IACvE,oBAAoB,yBAAyB;IAC7C,uBAAuB,4BAA4B;IACnD,oBAAoB,yBAAyB;IAC7C,0CAA0C;IAC1C,cAAc,mBAAmB;IACjC,+FAA+F;IAC/F,uBAAuB,4BAA4B;IACnD,kBAAkB,uBAAuB;IACzC;;;;;;;OAOG;IACH,aAAa,kBAAkB;IAC/B;;;;;;;;;;;;;OAaG;IACH,cAAc,mBAAmB;IACjC;;;;;;;;;OASG;IACH,eAAe,oBAAoB;IACnC;;;;;OAKG;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ED,eAAO,MAAM,oDAAoD,0FAaL,CAAC;AAC7D,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oDAAoD,CAAC,CAAC"}
1
+ {"version":3,"file":"application-specification-family-identity.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/application-specification-family-identity.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,oBAAY,8BAA8B;IACxC,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;IAC3B,kBAAkB,uBAAuB;IACzC,oEAAoE;IACpE,6BAA6B,kCAAkC;IAC/D,+EAA+E;IAC/E,iCAAiC,sCAAsC;IACvE,oBAAoB,yBAAyB;IAC7C,uBAAuB,4BAA4B;IACnD,oBAAoB,yBAAyB;IAC7C,0CAA0C;IAC1C,cAAc,mBAAmB;IACjC,+FAA+F;IAC/F,uBAAuB,4BAA4B;IACnD,kBAAkB,uBAAuB;IACzC;;;;;;;OAOG;IACH,aAAa,kBAAkB;IAC/B;;;;;;;;;;;;;OAaG;IACH,cAAc,mBAAmB;IACjC;;;;;;;;;OASG;IACH,eAAe,oBAAoB;IACnC;;;;;OAKG;IACH,sBAAsB,2BAA2B;IACjD;;;;;OAKG;IACH,YAAY,iBAAiB;IAC7B;;;;;;OAMG;IACH,eAAe,oBAAoB;IACnC;;;;;OAKG;IACH,kBAAkB,uBAAuB;IACzC;;;;;OAKG;IACH,gBAAgB,qBAAqB;IACrC;;;;OAIG;IACH,oBAAoB,yBAAyB;CAC9C;AAED;;;;;;;;;;;;;GAaG;AACH,oBAAY,+CAA+C;IACzD,gCAAgC,4EAA4E;IAC5G,eAAe,uCAAuC;IACtD,eAAe,uCAAuC;IACtD,qBAAqB,6CAA6C;IAClE,4BAA4B,mDAAmD;IAC/E,gBAAgB,wCAAwC;IACxD,qBAAqB,2CAA2C;IAChE;;;;;OAKG;IACH,cAAc,sCAAsC;IACpD,iGAAiG;IACjG,sBAAsB,4CAA4C;IAClE,4BAA4B,kDAAkD;IAC9E,cAAc,sCAAsC;IACpD,+BAA+B,sDAAsD;IACrF,6BAA6B,oDAAoD;IACjF;;;;;;;OAOG;IACH,iCAAiC,kEAAkE;IACnG,kIAAkI;IAClI,uBAAuB,8CAA8C;IACrE;;;;;OAKG;IACH,8CAA8C,oEAAoE;IAClH;;;;OAIG;IACH,iDAAiD,sEAAsE;IACvH;;;;;;OAMG;IACH,gCAAgC,sDAAsD;IACtF;;;;;;;;OAQG;IACH,uCAAuC,6DAA6D;IACpG;;;;;;;;;;;;OAYG;IACH,gDAAgD,qEAAqE;IACrH;;;;;;;;;;;;;;OAcG;IACH,8BAA8B,qDAAqD;IAEnF;;;;;;;;;;;;;OAaG;IACH,yBAAyB,gDAAgD;IAEzE;;;;OAIG;IACH,0BAA0B,iDAAiD;IAC3E;;;OAGG;IACH,sBAAsB,8CAA8C;IACpE;;;OAGG;IACH,YAAY,oCAAoC;IAChD,4FAA4F;IAC5F,eAAe,uCAAuC;IACtD,qFAAqF;IACrF,kBAAkB,qDAAqD;IACvE,4FAA4F;IAC5F,gBAAgB,wCAAwC;IACxD,iGAAiG;IACjG,oBAAoB,4CAA4C;CACjE;AAED,eAAO,MAAM,oDAAoD,0FAaL,CAAC;AAC7D,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oDAAoD,CAAC,CAAC"}
@@ -142,8 +142,9 @@ export var ApplicationSpecificationFamily;
142
142
  ApplicationSpecificationFamily["DOCUMENTATION_PLAN"] = "documentation-plan";
143
143
  /**
144
144
  * WHAT RUNS BESIDE THE BACKEND and what the application reaches out to (#1495) — its workers, its
145
- * minions and the providers it binds. Produced by `bottom_up.integration-plan`, turned into
146
- * worker, minion and provider-binding build tasks by the decomposer.
145
+ * minions and the providers it binds — and what reaches IN, its inbound channels (#1630). Produced by
146
+ * `bottom_up.integration-plan`, turned into worker, minion, provider-binding and inbound channel
147
+ * handler build tasks by the decomposer (#1832).
147
148
  */
148
149
  ApplicationSpecificationFamily["INTEGRATION_PLAN"] = "integration-plan";
149
150
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"application-specification-family-identity.schemas.js","sourceRoot":"","sources":["../../../../src/_core/application-specification-family-identity.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAN,IAAY,8BAoGX;AApGD,WAAY,8BAA8B;IACxC,+DAA6B,CAAA;IAC7B,qEAAmC,CAAA;IACnC,+DAA6B,CAAA;IAC7B,mEAAiC,CAAA;IACjC,mEAAiC,CAAA;IACjC,qDAAmB,CAAA;IACnB,6DAA2B,CAAA;IAC3B,2DAAyB,CAAA;IACzB,mEAAiC,CAAA;IACjC,6DAA2B,CAAA;IAC3B,2EAAyC,CAAA;IACzC,oEAAoE;IACpE,iGAA+D,CAAA;IAC/D,+EAA+E;IAC/E,yGAAuE,CAAA;IACvE,+EAA6C,CAAA;IAC7C,qFAAmD,CAAA;IACnD,+EAA6C,CAAA;IAC7C,0CAA0C;IAC1C,mEAAiC,CAAA;IACjC,+FAA+F;IAC/F,qFAAmD,CAAA;IACnD,2EAAyC,CAAA;IACzC;;;;;;;OAOG;IACH,iEAA+B,CAAA;IAC/B;;;;;;;;;;;;;OAaG;IACH,mEAAiC,CAAA;IACjC;;;;;;;;;OASG;IACH,qEAAmC,CAAA;IACnC;;;;;OAKG;IACH,mFAAiD,CAAA;IACjD;;;;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,KAA/C,+CAA+C,QAsI1D;AAED,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAAC;KAClE,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CACP,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;IACrB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;IACxB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;IACpB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,EAC/E;IACE,OAAO,EAAE,qEAAqE;CAC/E,CACF;KACA,KAAK,EAAoD,CAAC","sourcesContent":["import { z } from \"zod\";\n\n/**\n * The CONTENT vocabulary of an application specification family: which family, which schema contract, and\n * where its file sits.\n *\n * This is the surviving remnant of a 900-line module that also carried descriptors, locators, head-set\n * bases, accepted manifests, validation receipts and validator identities. Every one of those described\n * the LEDGER — which bytes had been accepted, by which validator, against which head. Git answers all of\n * it now, so what is left is the part that was always about meaning: `market-snapshot` names a family,\n * `saas-specifications:MarketSnapshot` names the contract its content must satisfy.\n *\n * Nothing here is a digest, a revision, or a claim about acceptance. That is why it survives Rule 0 in\n * `.claude/rules/one-source-of-truth.md`: two branches can each add a family and the merge is meaningful.\n */\n\n/**\n * WHICH family — the closed vocabulary every artifact row, every playbook output and every\n * presentation map is keyed by.\n *\n * ## Why this is an enum, and what stood here before\n *\n * A branded string (`z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/).brand<…>()`) stood here until\n * 2026-09-19 and had **zero consumers anywhere in the repository** — measured, not assumed. So the\n * family vocabulary's named home named nothing, and every real consumer took `family: string`\n * instead: the semantic authority's binding, the workbench's presentation registry, its icon map,\n * the projection rows. A brand admits any kebab-case word, so even a consumer that had used it\n * would have been no better off — `'vision-breif'` is a valid brand and a valid regex match.\n *\n * The cost was measured the day this enum was written: the authority bound **19** families, the\n * workbench registered **19** presentations, and its icon map held **18**.\n * `compliance-document-candidate-set` had no glyph and rendered the generic fallback beside a\n * sibling that had one, for as long as both existed. Nothing could report it, because no two of\n * those three maps shared a type — and only one of them had a coverage test.\n *\n * Its sibling {@link ApplicationSpecificationFamilySemanticSchemaRef} has been an enum since it was\n * written. These two are the same kind of thing — one names the family, the other names the\n * contract its content must satisfy — and only one of them could be checked.\n *\n * ## The two vocabularies are NOT one-to-one, deliberately\n *\n * A schema ref may exist with no family bound to it (a contract authored ahead of its producer), and\n * one family's content may be produced against a different ref than it lands under — see the\n * candidate/candidate-set pair. Folding them into one vocabulary would merge \"which document is\n * this\" with \"which shape must it satisfy\", which is exactly the merge this repository calls a\n * trick.\n *\n * ## A lookup from transport data still takes a `string`\n *\n * The artifact ROW carries `family` as a plain string across HTTP, and a playbook declares its\n * outputs' families as authored text. Those are untrusted inputs that NARROW into this vocabulary;\n * they are not typed by it. What this enum types is every place the framework DECLARES a family —\n * the authority's bindings and the maps keyed by them — so a key that names no family is a compile\n * error rather than a silent fallback.\n */\nexport enum ApplicationSpecificationFamily {\n VISION_BRIEF = \"vision-brief\",\n MARKET_SNAPSHOT = \"market-snapshot\",\n REQUIREMENTS = \"requirements\",\n FEATURE_DRAFTS = \"feature-drafts\",\n BUSINESS_MODEL = \"business-model\",\n ROADMAP = \"roadmap\",\n DOMAIN_PLAN = \"domain-plan\",\n BUILD_PLAN = \"build-plan\",\n PLACEMENT_PLAN = \"placement-plan\",\n BRAND_BRIEF = \"brand-brief\",\n COMPLIANCE_PROGRAM = \"compliance-program\",\n /** The PRODUCER's family — one drafting run writes one document. */\n COMPLIANCE_DOCUMENT_CANDIDATE = \"compliance-document-candidate\",\n /** What LANDS — every governed-document draft the application holds (#895). */\n COMPLIANCE_DOCUMENT_CANDIDATE_SET = \"compliance-document-candidate-set\",\n DOCUMENT_PUBLICATION = \"document-publication\",\n DOCUMENT_RELEASE_POLICY = \"document-release-policy\",\n DOCUMENT_RELEASE_SET = \"document-release-set\",\n /** Facts a producer regenerates whole. */\n DOCUMENT_FACTS = \"document-facts\",\n /** The same shape, and a separate family so a regeneration cannot destroy a human decision. */\n DOCUMENT_FACTS_AUTHORED = \"document-facts-authored\",\n PROCESSOR_REGISTER = \"processor-register\",\n /**\n * WHICH RISKS this application carries, and under what posture (#300).\n *\n * Everything this family needs existed before it was bound: a playbook that produces it\n * (`top_down.risk-register`), a schema, a validator, a landing render profile and a landing\n * placement. Only the semantic binding was missing — so the playbook could run and its output\n * could not land, which is what an unbound family means in practice.\n */\n RISK_REGISTER = \"risk-register\",\n /**\n * WHAT THE CREATOR SAID — the dossier of interview answers (#1454, Step 5).\n *\n * Every playbook that interviews a creator declares its questions in the compiled catalog, and\n * until this family existed the answers survived only in a gitignored trace: to change one you\n * re-answered fifteen, and a second run of the same playbook asked everything again. This family\n * keeps each answer by the question ref the playbook already declares, committed like every other\n * family (truth ⇒ git), so a run reads its interview from here by default.\n *\n * It is NOT produced by any playbook — a person answers, one question at a time, and the file is\n * the sum of those answers. That is why it has no generation contract, no aspects (its only reader\n * is the workbench dossier, which joins the answers with the declared questions — a join no aspect\n * over the raw file can make) and no place among the OUTCOMES: it is input, never a deliverable.\n */\n CREATOR_INPUTS = \"creator-inputs\",\n /**\n * The application's EXPERT-PERSONA charters (#572) — one per framework expert role a deliberated\n * playbook or a companion generation step convenes, committed under `src/personas/` by the\n * companion's derive → accept flow and wired onto the `expertPersonaCharters` companion-exports\n * slot. Named `expert-personas` rather than `personas` because the market family already owns\n * `personas` for the BUYER personas the product sells to; these are the WORKER personas that\n * review it. Produced by `top_down.expert-personas`, the playbook that staffs every panel the\n * catalog convenes — before it existed the panel's staffing was not a journey step at all, and\n * `bottom_up.placement-plan` failed closed on every application whose charters nobody had curled in.\n */\n EXPERT_PERSONAS = \"expert-personas\",\n /**\n * WHICH composition scenarios this application needs — a website, a documentation portal, a\n * worker, a minion — DERIVED from what the definition families declare, one decision per scenario\n * the framework ships, applied by the foundation executor (#1491). Never asked: every decision\n * names the declaration it was read from, or the typed declaration that would decide it.\n */\n CAPABILITY_COMPOSITION = \"capability-composition\",\n /**\n * WHAT the marketing website says — its pages, their sections in reading order, and the market\n * entries each draws on (#1492). Produced by `bottom_up.website-plan`, turned into `WEBSITE_PAGE`\n * and `WEBSITE_SECTION` build tasks by the decomposer. The family exists because the build plan\n * has one producer: a second one would destroy the first's output (#895).\n */\n WEBSITE_PLAN = \"website-plan\",\n /**\n * WHAT THE APPLICATION'S EXPERIENCE IS (#1493) — the views it carries beyond a resource's own\n * screens, how its shell and navigation are composed, and which preset components its views\n * reuse. Produced by `bottom_up.experience-plan`, turned into view, component and\n * frontend-configuration build tasks by the decomposer. Distinct from the PLACEMENT plan, which\n * decides where a decided subject sits rather than which surfaces exist.\n */\n EXPERIENCE_PLAN = \"experience-plan\",\n /**\n * WHICH CHAPTERS the documentation portal carries, what each documents and who it is for (#1494) —\n * the accepted application-authored source the documentation derivation has been waiting for\n * (#874). Its schema lives beside the documentation vocabulary it is typed by, under\n * `src/technical-documentation/`, as the risk register lives beside the assurance one.\n */\n DOCUMENTATION_PLAN = \"documentation-plan\",\n /**\n * WHAT RUNS BESIDE THE BACKEND and what the application reaches out to (#1495) — its workers, its\n * minions and the providers it binds. Produced by `bottom_up.integration-plan`, turned into\n * worker, minion and provider-binding build tasks by the decomposer.\n */\n INTEGRATION_PLAN = \"integration-plan\",\n /**\n * WHERE THE APPLICATION STANDS against its own requirements (#1496) — one row per requirement,\n * the evidence that exists for it, and the stage that follows. DERIVED, never generated, and a\n * reading rather than a gate: there is no \"done\" for an application.\n */\n APPLICATION_MATURITY = \"application-maturity\",\n}\n\n/**\n * Standard semantic validation policies available to application-owned\n * TypeScript specification families.\n *\n * A descriptor's `schemaRef` selects one of these policies; it is not passive\n * documentation. Precise snapshot policies execute their Zod + deterministic\n * semantic validator. The module policy is the explicit floor for\n * heterogeneous families whose meaning is expressed through the typed\n * `SpecificationsCompanionExports` aggregate rather than one snapshot value.\n *\n * The descriptor contract intentionally remains open to additional\n * namespaced refs so future trusted profiles can register new policies. A\n * concrete runtime must nevertheless resolve every selected ref fail closed.\n */\nexport enum ApplicationSpecificationFamilySemanticSchemaRef {\n EFFECT_FREE_TYPESCRIPT_MODULE_V1 = \"wildo.application-specification-family:effect-free-typescript-module-v1\",\n VISION_SNAPSHOT = \"saas-specifications:VisionSnapshot\",\n MARKET_SNAPSHOT = \"saas-specifications:MarketSnapshot\",\n REQUIREMENTS_SNAPSHOT = \"saas-specifications:RequirementsSnapshot\",\n FEATURE_SPECIFICATION_DRAFTS = \"saas-specifications:FeatureSpecificationDrafts\",\n ROADMAP_SNAPSHOT = \"saas-specifications:RoadmapSnapshot\",\n BUILD_PLAN_TASK_GRAPH = \"saas-specifications:BuildPlanTaskGraph\",\n /**\n * WHERE every settings destination, resource operation and app view sits in\n * the application shell, and WHY (`_core/placement-plan/`). Produced by an\n * expert-panel deliberation rather than a creator elicitation, so the\n * per-decision `rationale` is the artifact's most valuable part.\n */\n PLACEMENT_PLAN = \"saas-specifications:PlacementPlan\",\n /** The atomic domain plan: modules + relationship drafts in one value (`_core/domain-plan/`). */\n DOMAIN_PLAN_OUTPUT_SET = \"saas-specifications:DomainPlanOutputSet\",\n BUSINESS_MODEL_LITE_SNAPSHOT = \"saas-specifications:BusinessModelLiteSnapshot\",\n BRAND_SNAPSHOT = \"saas-specifications:BrandSnapshot\",\n ASSURANCE_PROGRAM_SPECIFICATION = \"saas-specifications:AssuranceProgramSpecification\",\n COMPLIANCE_DOCUMENT_CANDIDATE = \"saas-specifications:ComplianceDocumentCandidate\",\n /**\n * Every governed-document DRAFT the application holds (issue #895).\n *\n * The SET is what lands; {@link ApplicationSpecificationFamilySemanticSchemaRef.COMPLIANCE_DOCUMENT_CANDIDATE}\n * above stays the PRODUCER's contract, because a drafting run writes one document. They are the\n * first pair in this vocabulary where what a playbook emits and what its file holds differ, and\n * that is deliberate: a candidate landed singular destroyed the previous document every time.\n */\n COMPLIANCE_DOCUMENT_CANDIDATE_SET = \"saas-specifications:ApplicationComplianceDocumentCandidateSet\",\n /** The committed expert-persona charter SET — `ExpertPersonaCharter[]`, validated as a set by `validateExpertPersonaCharters`. */\n EXPERT_PERSONA_CHARTERS = \"saas-specifications:ExpertPersonaCharters\",\n /**\n * WHERE and IN WHICH LANGUAGE the application publishes public governed\n * documents. Deliberately a separate family from the assurance program: the\n * program decides which documents are required, this decides which\n * locale/jurisdiction combinations exist to publish them in.\n */\n APPLICATION_DOCUMENT_PUBLICATION_SPECIFICATION = \"saas-specifications:ApplicationDocumentPublicationSpecification\",\n /**\n * Application-owned selection of whether each required governed document\n * remains a draft, may use an explicitly limited operator attestation, or\n * requires the existing qualified-review lane before release.\n */\n APPLICATION_DOCUMENT_RELEASE_POLICY_SPECIFICATION = \"saas-specifications:ApplicationDocumentReleasePolicySpecification\",\n /**\n * The governed-document RELEASES an application has committed — which drafted\n * content takes effect, when, and what it supersedes. Separate from the\n * release POLICY beside it: the policy decides which approval lane a\n * requirement must go through, this records the releases actually composed,\n * each stating its own approval standing.\n */\n APPLICATION_DOCUMENT_RELEASE_SET = \"saas-specifications:ApplicationDocumentReleaseSet\",\n /**\n * Accepted raw document facts the ACCEPTED SPECIFICATION answers. Distinct\n * from the compliance program (which declares requirements) and publication\n * variants (which declare routing). Declarations are read as authored;\n * nothing seals them into a resolver contribution any more.\n *\n * Regenerated whole by `refinement.document-facts`, which is why the human\n * half is a separate family below (#192).\n */\n APPLICATION_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationDocumentFactSpecification\",\n /**\n * Accepted raw document facts only a HUMAN may establish — a creator\n * decision or a qualified review.\n *\n * The same shape as the family above and deliberately a different family: a\n * producer regenerates the derived file whole, so a human decision sharing\n * that file is destroyed on the next run and nothing notices (there is no\n * compare-and-swap here, by design — `one-source-of-truth.md` Rule 0). Two\n * families make the two writers unable to reach each other's half.\n *\n * It has no generation contract, and that absence is the point rather than\n * an omission: nothing may produce this family.\n */\n APPLICATION_AUTHORED_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationAuthoredDocumentFactSpecification\",\n /**\n * WHO ELSE processes this application's personal data — the processor register.\n *\n * A family in its own right since 2026-09-03, and it had to become one: it has a schema, a\n * companion-exports slot and two applications authoring it, but no PLACEMENT — so it was\n * hand-authored into `src/compliance/`, which is the directory `compliance-program` lands into.\n * Wonder CRM kept its register there while Wonder Todos kept its programme there, and the first\n * conception run on CRM would have replaced 22 hand-verified vendor legal identities with a\n * programme and broken the package's own import.\n *\n * Like the authored document facts, it has NO generation contract. A processor's legal entity,\n * processing region and subprocessor list are facts about the arrangement THIS operator has —\n * checked against a vendor's legal pages on a date — and a model asserting one would be inventing\n * a published legal identity.\n */\n APPLICATION_PROCESSOR_REGISTER = \"saas-specifications:ApplicationProcessorRegister\",\n\n /**\n * WHICH RISKS this application carries, and under what posture — the accepted risk register (#300).\n *\n * Distinct from `APPLICATION_COMPLIANCE_PROGRAM`, which says which control OBJECTIVES an\n * application claims. The two inform each other and answer different questions: a programme is\n * about controls, a register about exposures, and folding either into the other would merge two\n * concepts for the convenience of one file.\n *\n * It is a family rather than a report because it is ACCEPTED: a model completes it from the\n * derived risk signals and the application's own specification families, a human accepts it, and\n * the acceptance is the commit. That is the same standing as the programme beside it and the\n * reason both need a placement — the note on the processor register above records what a family\n * without one cost when two artifacts landed in the same directory.\n */\n APPLICATION_RISK_REGISTER = \"saas-specifications:ApplicationRiskRegister\",\n\n /**\n * The creator's interview answers, keyed by playbook and question ref — the dossier's committed\n * half (#1454). See {@link ApplicationSpecificationFamily.CREATOR_INPUTS} for why it is a family\n * and what it deliberately is not.\n */\n APPLICATION_CREATOR_INPUTS = \"saas-specifications:ApplicationCreatorInputs\",\n /**\n * The composition decisions — one per framework scenario, with the declaration each was derived\n * from (`_core/capability-composition/`). See {@link ApplicationSpecificationFamily.CAPABILITY_COMPOSITION}.\n */\n CAPABILITY_COMPOSITION = \"saas-specifications:CapabilityComposition\",\n /**\n * The marketing site's pages and sections (`_core/website-plan/`). See\n * {@link ApplicationSpecificationFamily.WEBSITE_PLAN}.\n */\n WEBSITE_PLAN = \"saas-specifications:WebsitePlan\",\n /** The application's views, shell and navigation composition (`_core/experience-plan/`). */\n EXPERIENCE_PLAN = \"saas-specifications:ExperiencePlan\",\n /** The documentation portal's authored chapters (`src/technical-documentation/`). */\n DOCUMENTATION_PLAN = \"saas-specifications:ApplicationDocumentationPlan\",\n /** The application's workers, minions and provider bindings (`_core/integration-plan/`). */\n INTEGRATION_PLAN = \"saas-specifications:IntegrationPlan\",\n /** Where the application stands against its own requirements (`_core/application-maturity/`). */\n APPLICATION_MATURITY = \"saas-specifications:ApplicationMaturity\",\n}\n\nexport const ApplicationSpecificationNormalizedRelativePathSchema = z\n .string()\n .min(1)\n .refine(\n (path) =>\n !path.startsWith(\"/\") &&\n !/^[A-Za-z]:/.test(path) &&\n !path.includes(\"\\\\\") &&\n path.split(\"/\").every((part) => part !== \"\" && part !== \".\" && part !== \"..\"),\n {\n message: \"expected a normalized POSIX subject-relative path without traversal\",\n },\n )\n .brand<\"ApplicationSpecificationNormalizedRelativePath\">();\nexport type ApplicationSpecificationNormalizedRelativePath = z.infer<typeof ApplicationSpecificationNormalizedRelativePathSchema>;\n"]}
1
+ {"version":3,"file":"application-specification-family-identity.schemas.js","sourceRoot":"","sources":["../../../../src/_core/application-specification-family-identity.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAN,IAAY,8BAqGX;AArGD,WAAY,8BAA8B;IACxC,+DAA6B,CAAA;IAC7B,qEAAmC,CAAA;IACnC,+DAA6B,CAAA;IAC7B,mEAAiC,CAAA;IACjC,mEAAiC,CAAA;IACjC,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H;;;;OAIG;IACH,0KAAuH,CAAA;IACvH;;;;;;OAMG;IACH,yIAAsF,CAAA;IACtF;;;;;;;;OAQG;IACH,uJAAoG,CAAA;IACpG;;;;;;;;;;;;OAYG;IACH,wKAAqH,CAAA;IACrH;;;;;;;;;;;;;;OAcG;IACH,sIAAmF,CAAA;IAEnF;;;;;;;;;;;;;OAaG;IACH,4HAAyE,CAAA;IAEzE;;;;OAIG;IACH,8HAA2E,CAAA;IAC3E;;;OAGG;IACH,uHAAoE,CAAA;IACpE;;;OAGG;IACH,mGAAgD,CAAA;IAChD,4FAA4F;IAC5F,yGAAsD,CAAA;IACtD,qFAAqF;IACrF,0HAAuE,CAAA;IACvE,4FAA4F;IAC5F,2GAAwD,CAAA;IACxD,iGAAiG;IACjG,mHAAgE,CAAA;AAClE,CAAC,EAtIW,+CAA+C,KAA/C,+CAA+C,QAsI1D;AAED,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAAC;KAClE,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CACP,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;IACrB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;IACxB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;IACpB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,EAC/E;IACE,OAAO,EAAE,qEAAqE;CAC/E,CACF;KACA,KAAK,EAAoD,CAAC","sourcesContent":["import { z } from \"zod\";\n\n/**\n * The CONTENT vocabulary of an application specification family: which family, which schema contract, and\n * where its file sits.\n *\n * This is the surviving remnant of a 900-line module that also carried descriptors, locators, head-set\n * bases, accepted manifests, validation receipts and validator identities. Every one of those described\n * the LEDGER — which bytes had been accepted, by which validator, against which head. Git answers all of\n * it now, so what is left is the part that was always about meaning: `market-snapshot` names a family,\n * `saas-specifications:MarketSnapshot` names the contract its content must satisfy.\n *\n * Nothing here is a digest, a revision, or a claim about acceptance. That is why it survives Rule 0 in\n * `.claude/rules/one-source-of-truth.md`: two branches can each add a family and the merge is meaningful.\n */\n\n/**\n * WHICH family — the closed vocabulary every artifact row, every playbook output and every\n * presentation map is keyed by.\n *\n * ## Why this is an enum, and what stood here before\n *\n * A branded string (`z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/).brand<…>()`) stood here until\n * 2026-09-19 and had **zero consumers anywhere in the repository** — measured, not assumed. So the\n * family vocabulary's named home named nothing, and every real consumer took `family: string`\n * instead: the semantic authority's binding, the workbench's presentation registry, its icon map,\n * the projection rows. A brand admits any kebab-case word, so even a consumer that had used it\n * would have been no better off — `'vision-breif'` is a valid brand and a valid regex match.\n *\n * The cost was measured the day this enum was written: the authority bound **19** families, the\n * workbench registered **19** presentations, and its icon map held **18**.\n * `compliance-document-candidate-set` had no glyph and rendered the generic fallback beside a\n * sibling that had one, for as long as both existed. Nothing could report it, because no two of\n * those three maps shared a type — and only one of them had a coverage test.\n *\n * Its sibling {@link ApplicationSpecificationFamilySemanticSchemaRef} has been an enum since it was\n * written. These two are the same kind of thing — one names the family, the other names the\n * contract its content must satisfy — and only one of them could be checked.\n *\n * ## The two vocabularies are NOT one-to-one, deliberately\n *\n * A schema ref may exist with no family bound to it (a contract authored ahead of its producer), and\n * one family's content may be produced against a different ref than it lands under — see the\n * candidate/candidate-set pair. Folding them into one vocabulary would merge \"which document is\n * this\" with \"which shape must it satisfy\", which is exactly the merge this repository calls a\n * trick.\n *\n * ## A lookup from transport data still takes a `string`\n *\n * The artifact ROW carries `family` as a plain string across HTTP, and a playbook declares its\n * outputs' families as authored text. Those are untrusted inputs that NARROW into this vocabulary;\n * they are not typed by it. What this enum types is every place the framework DECLARES a family —\n * the authority's bindings and the maps keyed by them — so a key that names no family is a compile\n * error rather than a silent fallback.\n */\nexport enum ApplicationSpecificationFamily {\n VISION_BRIEF = \"vision-brief\",\n MARKET_SNAPSHOT = \"market-snapshot\",\n REQUIREMENTS = \"requirements\",\n FEATURE_DRAFTS = \"feature-drafts\",\n BUSINESS_MODEL = \"business-model\",\n ROADMAP = \"roadmap\",\n DOMAIN_PLAN = \"domain-plan\",\n BUILD_PLAN = \"build-plan\",\n PLACEMENT_PLAN = \"placement-plan\",\n BRAND_BRIEF = \"brand-brief\",\n COMPLIANCE_PROGRAM = \"compliance-program\",\n /** The PRODUCER's family — one drafting run writes one document. */\n COMPLIANCE_DOCUMENT_CANDIDATE = \"compliance-document-candidate\",\n /** What LANDS — every governed-document draft the application holds (#895). */\n COMPLIANCE_DOCUMENT_CANDIDATE_SET = \"compliance-document-candidate-set\",\n DOCUMENT_PUBLICATION = \"document-publication\",\n DOCUMENT_RELEASE_POLICY = \"document-release-policy\",\n DOCUMENT_RELEASE_SET = \"document-release-set\",\n /** Facts a producer regenerates whole. */\n DOCUMENT_FACTS = \"document-facts\",\n /** The same shape, and a separate family so a regeneration cannot destroy a human decision. */\n DOCUMENT_FACTS_AUTHORED = \"document-facts-authored\",\n PROCESSOR_REGISTER = \"processor-register\",\n /**\n * WHICH RISKS this application carries, and under what posture (#300).\n *\n * Everything this family needs existed before it was bound: a playbook that produces it\n * (`top_down.risk-register`), a schema, a validator, a landing render profile and a landing\n * placement. Only the semantic binding was missing — so the playbook could run and its output\n * could not land, which is what an unbound family means in practice.\n */\n RISK_REGISTER = \"risk-register\",\n /**\n * WHAT THE CREATOR SAID — the dossier of interview answers (#1454, Step 5).\n *\n * Every playbook that interviews a creator declares its questions in the compiled catalog, and\n * until this family existed the answers survived only in a gitignored trace: to change one you\n * re-answered fifteen, and a second run of the same playbook asked everything again. This family\n * keeps each answer by the question ref the playbook already declares, committed like every other\n * family (truth ⇒ git), so a run reads its interview from here by default.\n *\n * It is NOT produced by any playbook — a person answers, one question at a time, and the file is\n * the sum of those answers. That is why it has no generation contract, no aspects (its only reader\n * is the workbench dossier, which joins the answers with the declared questions — a join no aspect\n * over the raw file can make) and no place among the OUTCOMES: it is input, never a deliverable.\n */\n CREATOR_INPUTS = \"creator-inputs\",\n /**\n * The application's EXPERT-PERSONA charters (#572) — one per framework expert role a deliberated\n * playbook or a companion generation step convenes, committed under `src/personas/` by the\n * companion's derive → accept flow and wired onto the `expertPersonaCharters` companion-exports\n * slot. Named `expert-personas` rather than `personas` because the market family already owns\n * `personas` for the BUYER personas the product sells to; these are the WORKER personas that\n * review it. Produced by `top_down.expert-personas`, the playbook that staffs every panel the\n * catalog convenes — before it existed the panel's staffing was not a journey step at all, and\n * `bottom_up.placement-plan` failed closed on every application whose charters nobody had curled in.\n */\n EXPERT_PERSONAS = \"expert-personas\",\n /**\n * WHICH composition scenarios this application needs — a website, a documentation portal, a\n * worker, a minion — DERIVED from what the definition families declare, one decision per scenario\n * the framework ships, applied by the foundation executor (#1491). Never asked: every decision\n * names the declaration it was read from, or the typed declaration that would decide it.\n */\n CAPABILITY_COMPOSITION = \"capability-composition\",\n /**\n * WHAT the marketing website says — its pages, their sections in reading order, and the market\n * entries each draws on (#1492). Produced by `bottom_up.website-plan`, turned into `WEBSITE_PAGE`\n * and `WEBSITE_SECTION` build tasks by the decomposer. The family exists because the build plan\n * has one producer: a second one would destroy the first's output (#895).\n */\n WEBSITE_PLAN = \"website-plan\",\n /**\n * WHAT THE APPLICATION'S EXPERIENCE IS (#1493) — the views it carries beyond a resource's own\n * screens, how its shell and navigation are composed, and which preset components its views\n * reuse. Produced by `bottom_up.experience-plan`, turned into view, component and\n * frontend-configuration build tasks by the decomposer. Distinct from the PLACEMENT plan, which\n * decides where a decided subject sits rather than which surfaces exist.\n */\n EXPERIENCE_PLAN = \"experience-plan\",\n /**\n * WHICH CHAPTERS the documentation portal carries, what each documents and who it is for (#1494) —\n * the accepted application-authored source the documentation derivation has been waiting for\n * (#874). Its schema lives beside the documentation vocabulary it is typed by, under\n * `src/technical-documentation/`, as the risk register lives beside the assurance one.\n */\n DOCUMENTATION_PLAN = \"documentation-plan\",\n /**\n * WHAT RUNS BESIDE THE BACKEND and what the application reaches out to (#1495) — its workers, its\n * minions and the providers it binds — and what reaches IN, its inbound channels (#1630). Produced by\n * `bottom_up.integration-plan`, turned into worker, minion, provider-binding and inbound channel\n * handler build tasks by the decomposer (#1832).\n */\n INTEGRATION_PLAN = \"integration-plan\",\n /**\n * WHERE THE APPLICATION STANDS against its own requirements (#1496) — one row per requirement,\n * the evidence that exists for it, and the stage that follows. DERIVED, never generated, and a\n * reading rather than a gate: there is no \"done\" for an application.\n */\n APPLICATION_MATURITY = \"application-maturity\",\n}\n\n/**\n * Standard semantic validation policies available to application-owned\n * TypeScript specification families.\n *\n * A descriptor's `schemaRef` selects one of these policies; it is not passive\n * documentation. Precise snapshot policies execute their Zod + deterministic\n * semantic validator. The module policy is the explicit floor for\n * heterogeneous families whose meaning is expressed through the typed\n * `SpecificationsCompanionExports` aggregate rather than one snapshot value.\n *\n * The descriptor contract intentionally remains open to additional\n * namespaced refs so future trusted profiles can register new policies. A\n * concrete runtime must nevertheless resolve every selected ref fail closed.\n */\nexport enum ApplicationSpecificationFamilySemanticSchemaRef {\n EFFECT_FREE_TYPESCRIPT_MODULE_V1 = \"wildo.application-specification-family:effect-free-typescript-module-v1\",\n VISION_SNAPSHOT = \"saas-specifications:VisionSnapshot\",\n MARKET_SNAPSHOT = \"saas-specifications:MarketSnapshot\",\n REQUIREMENTS_SNAPSHOT = \"saas-specifications:RequirementsSnapshot\",\n FEATURE_SPECIFICATION_DRAFTS = \"saas-specifications:FeatureSpecificationDrafts\",\n ROADMAP_SNAPSHOT = \"saas-specifications:RoadmapSnapshot\",\n BUILD_PLAN_TASK_GRAPH = \"saas-specifications:BuildPlanTaskGraph\",\n /**\n * WHERE every settings destination, resource operation and app view sits in\n * the application shell, and WHY (`_core/placement-plan/`). Produced by an\n * expert-panel deliberation rather than a creator elicitation, so the\n * per-decision `rationale` is the artifact's most valuable part.\n */\n PLACEMENT_PLAN = \"saas-specifications:PlacementPlan\",\n /** The atomic domain plan: modules + relationship drafts in one value (`_core/domain-plan/`). */\n DOMAIN_PLAN_OUTPUT_SET = \"saas-specifications:DomainPlanOutputSet\",\n BUSINESS_MODEL_LITE_SNAPSHOT = \"saas-specifications:BusinessModelLiteSnapshot\",\n BRAND_SNAPSHOT = \"saas-specifications:BrandSnapshot\",\n ASSURANCE_PROGRAM_SPECIFICATION = \"saas-specifications:AssuranceProgramSpecification\",\n COMPLIANCE_DOCUMENT_CANDIDATE = \"saas-specifications:ComplianceDocumentCandidate\",\n /**\n * Every governed-document DRAFT the application holds (issue #895).\n *\n * The SET is what lands; {@link ApplicationSpecificationFamilySemanticSchemaRef.COMPLIANCE_DOCUMENT_CANDIDATE}\n * above stays the PRODUCER's contract, because a drafting run writes one document. They are the\n * first pair in this vocabulary where what a playbook emits and what its file holds differ, and\n * that is deliberate: a candidate landed singular destroyed the previous document every time.\n */\n COMPLIANCE_DOCUMENT_CANDIDATE_SET = \"saas-specifications:ApplicationComplianceDocumentCandidateSet\",\n /** The committed expert-persona charter SET — `ExpertPersonaCharter[]`, validated as a set by `validateExpertPersonaCharters`. */\n EXPERT_PERSONA_CHARTERS = \"saas-specifications:ExpertPersonaCharters\",\n /**\n * WHERE and IN WHICH LANGUAGE the application publishes public governed\n * documents. Deliberately a separate family from the assurance program: the\n * program decides which documents are required, this decides which\n * locale/jurisdiction combinations exist to publish them in.\n */\n APPLICATION_DOCUMENT_PUBLICATION_SPECIFICATION = \"saas-specifications:ApplicationDocumentPublicationSpecification\",\n /**\n * Application-owned selection of whether each required governed document\n * remains a draft, may use an explicitly limited operator attestation, or\n * requires the existing qualified-review lane before release.\n */\n APPLICATION_DOCUMENT_RELEASE_POLICY_SPECIFICATION = \"saas-specifications:ApplicationDocumentReleasePolicySpecification\",\n /**\n * The governed-document RELEASES an application has committed — which drafted\n * content takes effect, when, and what it supersedes. Separate from the\n * release POLICY beside it: the policy decides which approval lane a\n * requirement must go through, this records the releases actually composed,\n * each stating its own approval standing.\n */\n APPLICATION_DOCUMENT_RELEASE_SET = \"saas-specifications:ApplicationDocumentReleaseSet\",\n /**\n * Accepted raw document facts the ACCEPTED SPECIFICATION answers. Distinct\n * from the compliance program (which declares requirements) and publication\n * variants (which declare routing). Declarations are read as authored;\n * nothing seals them into a resolver contribution any more.\n *\n * Regenerated whole by `refinement.document-facts`, which is why the human\n * half is a separate family below (#192).\n */\n APPLICATION_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationDocumentFactSpecification\",\n /**\n * Accepted raw document facts only a HUMAN may establish — a creator\n * decision or a qualified review.\n *\n * The same shape as the family above and deliberately a different family: a\n * producer regenerates the derived file whole, so a human decision sharing\n * that file is destroyed on the next run and nothing notices (there is no\n * compare-and-swap here, by design — `one-source-of-truth.md` Rule 0). Two\n * families make the two writers unable to reach each other's half.\n *\n * It has no generation contract, and that absence is the point rather than\n * an omission: nothing may produce this family.\n */\n APPLICATION_AUTHORED_DOCUMENT_FACT_SPECIFICATION = \"saas-specifications:ApplicationAuthoredDocumentFactSpecification\",\n /**\n * WHO ELSE processes this application's personal data — the processor register.\n *\n * A family in its own right since 2026-09-03, and it had to become one: it has a schema, a\n * companion-exports slot and two applications authoring it, but no PLACEMENT — so it was\n * hand-authored into `src/compliance/`, which is the directory `compliance-program` lands into.\n * Wonder CRM kept its register there while Wonder Todos kept its programme there, and the first\n * conception run on CRM would have replaced 22 hand-verified vendor legal identities with a\n * programme and broken the package's own import.\n *\n * Like the authored document facts, it has NO generation contract. A processor's legal entity,\n * processing region and subprocessor list are facts about the arrangement THIS operator has —\n * checked against a vendor's legal pages on a date — and a model asserting one would be inventing\n * a published legal identity.\n */\n APPLICATION_PROCESSOR_REGISTER = \"saas-specifications:ApplicationProcessorRegister\",\n\n /**\n * WHICH RISKS this application carries, and under what posture — the accepted risk register (#300).\n *\n * Distinct from `APPLICATION_COMPLIANCE_PROGRAM`, which says which control OBJECTIVES an\n * application claims. The two inform each other and answer different questions: a programme is\n * about controls, a register about exposures, and folding either into the other would merge two\n * concepts for the convenience of one file.\n *\n * It is a family rather than a report because it is ACCEPTED: a model completes it from the\n * derived risk signals and the application's own specification families, a human accepts it, and\n * the acceptance is the commit. That is the same standing as the programme beside it and the\n * reason both need a placement — the note on the processor register above records what a family\n * without one cost when two artifacts landed in the same directory.\n */\n APPLICATION_RISK_REGISTER = \"saas-specifications:ApplicationRiskRegister\",\n\n /**\n * The creator's interview answers, keyed by playbook and question ref — the dossier's committed\n * half (#1454). See {@link ApplicationSpecificationFamily.CREATOR_INPUTS} for why it is a family\n * and what it deliberately is not.\n */\n APPLICATION_CREATOR_INPUTS = \"saas-specifications:ApplicationCreatorInputs\",\n /**\n * The composition decisions — one per framework scenario, with the declaration each was derived\n * from (`_core/capability-composition/`). See {@link ApplicationSpecificationFamily.CAPABILITY_COMPOSITION}.\n */\n CAPABILITY_COMPOSITION = \"saas-specifications:CapabilityComposition\",\n /**\n * The marketing site's pages and sections (`_core/website-plan/`). See\n * {@link ApplicationSpecificationFamily.WEBSITE_PLAN}.\n */\n WEBSITE_PLAN = \"saas-specifications:WebsitePlan\",\n /** The application's views, shell and navigation composition (`_core/experience-plan/`). */\n EXPERIENCE_PLAN = \"saas-specifications:ExperiencePlan\",\n /** The documentation portal's authored chapters (`src/technical-documentation/`). */\n DOCUMENTATION_PLAN = \"saas-specifications:ApplicationDocumentationPlan\",\n /** The application's workers, minions and provider bindings (`_core/integration-plan/`). */\n INTEGRATION_PLAN = \"saas-specifications:IntegrationPlan\",\n /** Where the application stands against its own requirements (`_core/application-maturity/`). */\n APPLICATION_MATURITY = \"saas-specifications:ApplicationMaturity\",\n}\n\nexport const ApplicationSpecificationNormalizedRelativePathSchema = z\n .string()\n .min(1)\n .refine(\n (path) =>\n !path.startsWith(\"/\") &&\n !/^[A-Za-z]:/.test(path) &&\n !path.includes(\"\\\\\") &&\n path.split(\"/\").every((part) => part !== \"\" && part !== \".\" && part !== \"..\"),\n {\n message: \"expected a normalized POSIX subject-relative path without traversal\",\n },\n )\n .brand<\"ApplicationSpecificationNormalizedRelativePath\">();\nexport type ApplicationSpecificationNormalizedRelativePath = z.infer<typeof ApplicationSpecificationNormalizedRelativePathSchema>;\n"]}
@@ -51,6 +51,8 @@ export declare const BuildPlanTaskGenerationSchema: z.ZodObject<{
51
51
  }, z.core.$strict>, z.ZodObject<{
52
52
  kind: z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskTargetKind.PROVIDER_BINDING>;
53
53
  providerRef: z.ZodString;
54
+ }, z.core.$strict>, z.ZodObject<{
55
+ kind: z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskTargetKind.BILLING_CATALOG>;
54
56
  }, z.core.$strict>], "kind">;
55
57
  /**
56
58
  * The artifacts this task is accountable for. The provider authors these
@@ -143,6 +145,9 @@ export declare const BuildPlanTaskGenerationSchema: z.ZodObject<{
143
145
  kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.PROVIDER_BINDING>>;
144
146
  providerRef: z.ZodString;
145
147
  scope: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./build-plan-task-graph.schemas").ProviderBindingScope>>;
148
+ }, z.core.$strict>, z.ZodObject<{
149
+ kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.APPLICATION_BILLING_PRODUCT>>;
150
+ productKey: z.ZodString;
146
151
  }, z.core.$strict>, z.ZodObject<{
147
152
  kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.WEBSITE_PAGE>>;
148
153
  pageRef: z.ZodString;
@@ -153,6 +158,10 @@ export declare const BuildPlanTaskGenerationSchema: z.ZodObject<{
153
158
  }, z.core.$strict>, z.ZodObject<{
154
159
  kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.DOCUMENTATION_CHAPTER>>;
155
160
  chapterRef: z.ZodString;
161
+ }, z.core.$strict>, z.ZodObject<{
162
+ kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.INBOUND_CHANNEL_HANDLER>>;
163
+ channel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("@wildo-ai/saas-models").InboundChannelKind.EMAIL>>;
164
+ handlerRef: z.ZodString;
156
165
  }, z.core.$strict>], "kind">>>;
157
166
  functionalTopic: z.ZodEnum<typeof MetaWorkflow_FunctionalTopic>;
158
167
  skillRefs: z.ZodArray<z.ZodString>;
@@ -207,6 +216,8 @@ export declare const BuildPlanTaskGraphGenerationSchema: z.ZodObject<{
207
216
  }, z.core.$strict>, z.ZodObject<{
208
217
  kind: z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskTargetKind.PROVIDER_BINDING>;
209
218
  providerRef: z.ZodString;
219
+ }, z.core.$strict>, z.ZodObject<{
220
+ kind: z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskTargetKind.BILLING_CATALOG>;
210
221
  }, z.core.$strict>], "kind">;
211
222
  /**
212
223
  * The artifacts this task is accountable for. The provider authors these
@@ -299,6 +310,9 @@ export declare const BuildPlanTaskGraphGenerationSchema: z.ZodObject<{
299
310
  kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.PROVIDER_BINDING>>;
300
311
  providerRef: z.ZodString;
301
312
  scope: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./build-plan-task-graph.schemas").ProviderBindingScope>>;
313
+ }, z.core.$strict>, z.ZodObject<{
314
+ kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.APPLICATION_BILLING_PRODUCT>>;
315
+ productKey: z.ZodString;
302
316
  }, z.core.$strict>, z.ZodObject<{
303
317
  kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.WEBSITE_PAGE>>;
304
318
  pageRef: z.ZodString;
@@ -309,6 +323,10 @@ export declare const BuildPlanTaskGraphGenerationSchema: z.ZodObject<{
309
323
  }, z.core.$strict>, z.ZodObject<{
310
324
  kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.DOCUMENTATION_CHAPTER>>;
311
325
  chapterRef: z.ZodString;
326
+ }, z.core.$strict>, z.ZodObject<{
327
+ kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./build-plan-task-graph.schemas").BuildPlanTaskProductKind.INBOUND_CHANNEL_HANDLER>>;
328
+ channel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("@wildo-ai/saas-models").InboundChannelKind.EMAIL>>;
329
+ handlerRef: z.ZodString;
312
330
  }, z.core.$strict>], "kind">>>;
313
331
  functionalTopic: z.ZodEnum<typeof MetaWorkflow_FunctionalTopic>;
314
332
  skillRefs: z.ZodArray<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AAEjH,OAAO,EAML,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AAYzC;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIxC;;;;;;;;;;;;;;;OAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIH,qEAAqE;;;kBAGrE,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,+FAA+F;AAC/F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA1B7C;;;;;;;;;;;;;;;WAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAIH,qEAAqE;;;;kBAqBrE,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,8FAA8F;AAC9F,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,CAkBpF"}
1
+ {"version":3,"file":"build-plan-task-graph-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,mEAAmE,CAAC;AAEjH,OAAO,EAML,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AAYzC;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIxC;;;;;;;;;;;;;;;OAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIH,qEAAqE;;;kBAGrE,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,+FAA+F;AAC/F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA1B7C;;;;;;;;;;;;;;;WAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAIH,qEAAqE;;;;kBAqBrE,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,8FAA8F;AAC9F,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,CAkBpF"}
@@ -95,19 +95,6 @@ export interface BuildPlanTaskGraphFinding {
95
95
  readonly taskRef: string | null;
96
96
  readonly message: string;
97
97
  }
98
- /**
99
- * The finding codes that must block a landing; everything else is an authoring warning.
100
- *
101
- * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity
102
- * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be
103
- * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which
104
- * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused
105
- * it, with nothing naming the disagreement.
106
- *
107
- * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits
108
- * none at all; an undeclared stage edge admits one that builds config before schema). Everything
109
- * else here is a judgement about authoring taste, which the creator's review owns.
110
- */
111
98
  /**
112
99
  * The core operations the `add-resource` composition scenario writes into EVERY resource's
113
100
  * `resources-config.ts` on day one — so naming one of them proves nothing about a build task.
@@ -119,6 +106,45 @@ export interface BuildPlanTaskGraphFinding {
119
106
  export declare const SCAFFOLDED_RESOURCE_CORE_OPERATIONS: readonly CoreResourceOperation[];
120
107
  /** True when an operation ref names a verb composition already wrote, so it is no evidence of work. */
121
108
  export declare function isScaffoldedResourceOperationRef(operationRef: string): boolean;
109
+ /**
110
+ * The page and section the `add-website` composition scenario writes as its STARTER — a placeholder
111
+ * the build replaces, never evidence of a website task.
112
+ *
113
+ * The scaffold ships a `landing` page registered in the root config and a `landing-hero` section
114
+ * defined in `landing.sections.tsx`. The website plan's method says every site gets a landing page,
115
+ * so a plan naming its front door `page-landing` (with a `landing-hero` section) would find both
116
+ * probes satisfied the moment the scaffold is applied — the page task would read LANDED before any
117
+ * agent ran, and the starter's neutral placeholder copy would ship as the application's front door.
118
+ * The run that exercised this lane avoided it only because its plan happened to say `page-home`.
119
+ *
120
+ * Same treatment as {@link SCAFFOLDED_RESOURCE_CORE_OPERATIONS}: a product naming only the starter
121
+ * yields no probe, so the task is dispatched rather than skipped, and is marked unverifiable after
122
+ * its run rather than blocking. Pinned to the template by `scaffolded-website-starter.parity.test.ts`.
123
+ */
124
+ export declare const SCAFFOLDED_WEBSITE_STARTER: {
125
+ /** The starter page's identity in the tree — the website plan's `page-landing` without its prefix. */
126
+ readonly pageIdentity: "landing";
127
+ readonly sectionRefs: readonly ["landing-hero"];
128
+ };
129
+ /** True when a website page identity names the scaffold's starter page, so the page existing proves nothing. */
130
+ export declare function isScaffoldedWebsiteStarterPage(pageIdentity: string): boolean;
131
+ /** True when a section ref names a section the scaffold's starter already defines, so it proves nothing. */
132
+ export declare function isScaffoldedWebsiteStarterSection(sectionRef: string): boolean;
133
+ /**
134
+ * The finding codes that must block a landing; everything else is an authoring warning.
135
+ *
136
+ * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity
137
+ * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be
138
+ * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which
139
+ * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused
140
+ * it, with nothing naming the disagreement.
141
+ *
142
+ * Each member makes the plan WRONG rather than merely weak. The first two admit a dispatch order that
143
+ * is wrong (a cycle admits none at all; an undeclared stage edge admits one that builds config before
144
+ * schema); the third makes the plan a lie about what its tasks produce, since a phrase is no artifact
145
+ * any probe can find. Everything else here is a judgement about authoring taste, which the creator's
146
+ * review owns.
147
+ */
122
148
  export declare const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[];
123
149
  /** True when a product ref could be an artifact's identifier. */
124
150
  export declare function isIdentifierShapedProductRef(ref: string): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAmE,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAE9J,OAAO,EAA6E,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErJ,4GAA4G;AAC5G,oBAAY,6BAA6B;IACvC,oFAAoF;IACpF,kBAAkB,uBAAuB;IACzC;;;;;;OAMG;IACH,wBAAwB,6BAA6B;IACrD;;;;;;;;;;;;;OAaG;IACH,wCAAwC,6CAA6C;IACrF;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,iCAAiC,sCAAsC;IACvE,wIAAwI;IACxI,kCAAkC,uCAAuC;IACzE;;;;;;;;;;;;;;;;OAgBG;IACH,uCAAuC,4CAA4C;IACnF;;;;;;;;;;;;;;OAcG;IACH,gCAAgC,qCAAqC;CACtE;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;GAYG;AACH;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC,EAAE,SAAS,qBAAqB,EAM/E,CAAC;AAEF,uGAAuG;AACvG,wBAAgB,gCAAgC,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAE9E;AAED,eAAO,MAAM,sCAAsC,EAAE,SAAS,6BAA6B,EAI1F,CAAC;AA+BF,iEAAiE;AACjE,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEjE;AASD;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,yBAAyB,EAAE,CAiI1G;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;;CAGrC,CAAC;AAEX,mGAAmG;AACnG,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,aAAa,EAAE,SAAS,wBAAwB,EAAE,CAAC;IAC5D,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;CACpD;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,0BAA0B,EAAE,CAOrH;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAKxJ"}
1
+ {"version":3,"file":"build-plan-task-graph-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAmE,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAE9J,OAAO,EAA6E,KAAK,kBAAkB,EAAE,MAAM,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G;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;;CAGrC,CAAC;AAEX,mGAAmG;AACnG,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,aAAa,EAAE,SAAS,wBAAwB,EAAE,CAAC;IAC5D,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;CACpD;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,0BAA0B,EAAE,CAOrH;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAKxJ"}
@@ -91,19 +91,6 @@ export var BuildPlanTaskGraphFindingCode;
91
91
  */
92
92
  BuildPlanTaskGraphFindingCode["PRODUCT_REF_IS_NOT_AN_IDENTIFIER"] = "PRODUCT_REF_IS_NOT_AN_IDENTIFIER";
93
93
  })(BuildPlanTaskGraphFindingCode || (BuildPlanTaskGraphFindingCode = {}));
94
- /**
95
- * The finding codes that must block a landing; everything else is an authoring warning.
96
- *
97
- * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity
98
- * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be
99
- * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which
100
- * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused
101
- * it, with nothing naming the disagreement.
102
- *
103
- * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits
104
- * none at all; an undeclared stage edge admits one that builds config before schema). Everything
105
- * else here is a judgement about authoring taste, which the creator's review owns.
106
- */
107
94
  /**
108
95
  * The core operations the `add-resource` composition scenario writes into EVERY resource's
109
96
  * `resources-config.ts` on day one — so naming one of them proves nothing about a build task.
@@ -123,6 +110,49 @@ export const SCAFFOLDED_RESOURCE_CORE_OPERATIONS = [
123
110
  export function isScaffoldedResourceOperationRef(operationRef) {
124
111
  return SCAFFOLDED_RESOURCE_CORE_OPERATIONS.includes(operationRef.trim().toLowerCase());
125
112
  }
113
+ /**
114
+ * The page and section the `add-website` composition scenario writes as its STARTER — a placeholder
115
+ * the build replaces, never evidence of a website task.
116
+ *
117
+ * The scaffold ships a `landing` page registered in the root config and a `landing-hero` section
118
+ * defined in `landing.sections.tsx`. The website plan's method says every site gets a landing page,
119
+ * so a plan naming its front door `page-landing` (with a `landing-hero` section) would find both
120
+ * probes satisfied the moment the scaffold is applied — the page task would read LANDED before any
121
+ * agent ran, and the starter's neutral placeholder copy would ship as the application's front door.
122
+ * The run that exercised this lane avoided it only because its plan happened to say `page-home`.
123
+ *
124
+ * Same treatment as {@link SCAFFOLDED_RESOURCE_CORE_OPERATIONS}: a product naming only the starter
125
+ * yields no probe, so the task is dispatched rather than skipped, and is marked unverifiable after
126
+ * its run rather than blocking. Pinned to the template by `scaffolded-website-starter.parity.test.ts`.
127
+ */
128
+ export const SCAFFOLDED_WEBSITE_STARTER = {
129
+ /** The starter page's identity in the tree — the website plan's `page-landing` without its prefix. */
130
+ pageIdentity: 'landing',
131
+ sectionRefs: ['landing-hero'],
132
+ };
133
+ /** True when a website page identity names the scaffold's starter page, so the page existing proves nothing. */
134
+ export function isScaffoldedWebsiteStarterPage(pageIdentity) {
135
+ return pageIdentity === SCAFFOLDED_WEBSITE_STARTER.pageIdentity;
136
+ }
137
+ /** True when a section ref names a section the scaffold's starter already defines, so it proves nothing. */
138
+ export function isScaffoldedWebsiteStarterSection(sectionRef) {
139
+ return SCAFFOLDED_WEBSITE_STARTER.sectionRefs.includes(sectionRef);
140
+ }
141
+ /**
142
+ * The finding codes that must block a landing; everything else is an authoring warning.
143
+ *
144
+ * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity
145
+ * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be
146
+ * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which
147
+ * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused
148
+ * it, with nothing naming the disagreement.
149
+ *
150
+ * Each member makes the plan WRONG rather than merely weak. The first two admit a dispatch order that
151
+ * is wrong (a cycle admits none at all; an undeclared stage edge admits one that builds config before
152
+ * schema); the third makes the plan a lie about what its tasks produce, since a phrase is no artifact
153
+ * any probe can find. Everything else here is a judgement about authoring taste, which the creator's
154
+ * review owns.
155
+ */
126
156
  export const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES = [
127
157
  BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,
128
158
  BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-task-graph-validation.js","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,6BAA6B,EAAiC,MAAM,uBAAuB,CAAC;AAE9J,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,uBAAuB,EAA2B,MAAM,iCAAiC,CAAC;AAErJ,4GAA4G;AAC5G,MAAM,CAAN,IAAY,6BAwFX;AAxFD,WAAY,6BAA6B;IACvC,oFAAoF;IACpF,0EAAyC,CAAA;IACzC;;;;;;OAMG;IACH,sFAAqD,CAAA;IACrD;;;;;;;;;;;;;OAaG;IACH,sHAAqF,CAAA;IACrF;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,wGAAuE,CAAA;IACvE,wIAAwI;IACxI,0GAAyE,CAAA;IACzE;;;;;;;;;;;;;;;;OAgBG;IACH,oHAAmF,CAAA;IACnF;;;;;;;;;;;;;;OAcG;IACH,sGA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AAC;YACZ,IAAI,EAAE,6BAA6B,CAAC,wBAAwB;YAC5D,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,2GAA2G;SACpI,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,MAAM,EAAE,iCAAiC;IACzC,aAAa,EAAE,0BAA0B;CACjC,CAAC;AASX;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,oCAAoC,CAAC,KAAyB;IAC5E,OAAO,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAChC,GAAG,EAAE,IAAI,CAAC,OAAO;QACjB,aAAa,EAAE,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAC5D,gCAAgC,CAAC,EAAE,GAAG,kCAAkC,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC;QACxG,IAAI;KACL,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAAyB,EAAE,cAAmC;IACtG,OAAO,6BAA6B,CAClC,oCAAoC,CAAC,KAAK,CAAC,EAC3C,CAAC,UAAU,EAAE,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,UAAU,CAAC,CAC/C,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC","sourcesContent":["import { CoreResourceOperation, buildExecutionPlanStepDependency, selectReadyExecutionPlanSteps, type FlowsActors_Relationship } from '@wildo-ai/saas-models';\n\nimport { BuildPlanResourceStage, BuildPlanTaskProductKind, BuildPlanTaskTargetKind, type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';\n\n/** Deterministic finding over a build-plan task graph; authoring consistency beyond structural validity. */\nexport enum BuildPlanTaskGraphFindingCode {\n /** A prerequisite chain returns to its own task: no valid dispatch order exists. */\n PREREQUISITE_CYCLE = 'PREREQUISITE_CYCLE',\n /**\n * A coding task declares no product, so nothing in the tree can prove it landed.\n *\n * The host treats such a task as NEVER landed, which is the safe direction — it is re-offered,\n * visibly, rather than silently skipped. Reported and not a hard floor because both committed\n * plans predate `produces`; promote it once they are regenerated (#597).\n */\n TASK_DECLARES_NO_PRODUCT = 'TASK_DECLARES_NO_PRODUCT',\n /**\n * A resource-registration product names ONLY operations the scaffold already writes, so it is true\n * before the task runs and the host would report the task landed having done nothing.\n *\n * Measured 2026-09-13 on Wonder CRM's first regenerated plan: all six CONFIG tasks declared\n * `create / read / list / update / delete`, which `add-resource` writes on every resource on day\n * one, and the dispatcher reported all six LANDED with no config task ever run — #597 returning\n * through the vocabulary built to end it. The rule already existed in prose at three sites (this\n * kind's JSDoc, the decomposer's output contract, the judge checklist) and was enforced at none.\n *\n * A WARNING, like {@link TASK_DECLARES_NO_PRODUCT}, and for the same reason: the host now discounts\n * scaffolded operations as landing evidence, so such a task is treated as unproven rather than\n * landed — marked, never blocking. Refusing would stall a lane over an authoring gap.\n */\n PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS = 'PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS',\n /**\n * A task's `objective` names a COMMAND or a CHECK ID, so it states a completion condition the\n * dispatch contract will never evaluate.\n *\n * The contract is explicit and predates this: *\"The task never carries paths, commands, prompts or\n * runtime controls — the dispatch host derives mutation scope and verification from the target\n * kind.\"* The host resolves each target kind to a mutation scope and a check set; nothing reads an\n * objective for a check, so a check named there is a promise to nobody.\n *\n * Measured on the first end-to-end journey run (#1273): the decomposer wrote *\"finish when\n * `wildo db diff --check` is clean\"* into NINE task objectives. The dispatch judge then correctly\n * reported CONCERN on `build-task-verified-change-set` — the objective required a verification the\n * recorded check list did not contain — for tasks whose work was entirely correct. The migration\n * obligation was never missing: a migration is a `COMPANION_GENERATION_STEP`, landed through\n * `SCHEMA_PLAN_IN_SYNC`, which runs that exact command on every landed resolution. The objective\n * was claiming a gate that lives somewhere else.\n *\n * The cost is the judge's signal. A criterion that can never be satisfied returns CONCERN on good\n * work, and a reviewer who sees CONCERN on everything stops reading it.\n *\n * A WARNING, like its two siblings above and for the same reason: this is an authoring gap, and\n * refusing would stall a whole lane over prose. The decomposer's own method already says the\n * migration is not a coding objective and names the application-wide backstop — so, once more, a\n * rule that existed in prose and was enforced nowhere.\n */\n OBJECTIVE_NAMES_A_RUNTIME_CONTROL = 'OBJECTIVE_NAMES_A_RUNTIME_CONTROL',\n /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */\n RESOURCE_STAGE_WITHOUT_PREDECESSOR = 'RESOURCE_STAGE_WITHOUT_PREDECESSOR',\n /**\n * The predecessor stage IS in the graph, and this task does not depend on it —\n * so a dispatch order exists that runs this stage FIRST.\n *\n * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the\n * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a\n * resource whose schema already stands in the tree and needs no task, which is why that finding is\n * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being\n * (re)authored by a task in this same graph, and then permits the config to be written first.\n *\n * It is invisible without this check because the two mechanisms that decide ordering and the one\n * that reports on it were reading different things: dispatch order comes SOLELY from\n * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only\n * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was\n * therefore simultaneously finding-free and immediately ready, and a coding agent could be\n * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.\n */\n RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR = 'RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR',\n /**\n * A product ref that cannot be an identifier: it has whitespace, an apostrophe, a bracket or a\n * sentence's punctuation, or is far longer than a name — so the artifact it claims can never be\n * found, and the task can never land (#1543).\n *\n * A decomposing model naturally writes the CONCEPT: measured on the first end-to-end run, 52 of 52\n * `fieldRefs` read like `\"the item's title\"` where the schema spells `title`, and every schema task\n * was unlandable until a human noticed the board had stopped moving. The decomposer's method says a\n * ref is an artifact identity, and a method instruction is a prompt, not a gate.\n *\n * Deliberately LEXICAL and conservative: it cannot tell whether `title` is the RIGHT field, only that\n * a phrase is not a field name at all. A HARD FLOOR, because the plan would be a lie about what its\n * tasks produce — and at generation a floor goes back to the model with the finding, which is the\n * cheapest moment to fix it.\n */\n PRODUCT_REF_IS_NOT_AN_IDENTIFIER = 'PRODUCT_REF_IS_NOT_AN_IDENTIFIER',\n}\n\nexport interface BuildPlanTaskGraphFinding {\n readonly code: BuildPlanTaskGraphFindingCode;\n readonly taskRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing; everything else is an authoring warning.\n *\n * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity\n * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be\n * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which\n * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused\n * it, with nothing naming the disagreement.\n *\n * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits\n * none at all; an undeclared stage edge admits one that builds config before schema). Everything\n * else here is a judgement about authoring taste, which the creator's review owns.\n */\n/**\n * The core operations the `add-resource` composition scenario writes into EVERY resource's\n * `resources-config.ts` on day one — so naming one of them proves nothing about a build task.\n *\n * One named source for a fact that otherwise lives only inside a Handlebars template, pinned to that\n * template by `scaffolded-resource-operations.parity.test.ts`: change the scenario and the test\n * fails until this list moves with it.\n */\nexport const SCAFFOLDED_RESOURCE_CORE_OPERATIONS: readonly CoreResourceOperation[] = [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.CREATE,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.DELETE,\n];\n\n/** True when an operation ref names a verb composition already wrote, so it is no evidence of work. */\nexport function isScaffoldedResourceOperationRef(operationRef: string): boolean {\n return (SCAFFOLDED_RESOURCE_CORE_OPERATIONS as readonly string[]).includes(operationRef.trim().toLowerCase());\n}\n\nexport const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[] = [\n BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,\n BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,\n];\n\n/**\n * What an identifier an artifact can spell looks like: a letter or `_`/`$` first, then word characters\n * and the separators identifiers and addresses use (`.`, `-`, `:`, `/`). No whitespace, no quote, no\n * bracket — the marks of a phrase. Longer than {@link MAXIMUM_IDENTIFIER_LENGTH} is a sentence.\n */\nconst IDENTIFIER_SHAPE = /^[A-Za-z_$][\\w$.:/-]*$/;\nconst MAXIMUM_IDENTIFIER_LENGTH = 80;\n\n/** The FREE-TEXT ref lists of a product — the ones the schema leaves unconstrained. Slug-typed refs are already checked by the schema. */\nfunction freeTextProductRefs(product: BuildPlanTaskGraph['tasks'][number]['produces'][number]): readonly string[] {\n switch (product.kind) {\n case BuildPlanTaskProductKind.RESOURCE_SCHEMA_FIELDS:\n case BuildPlanTaskProductKind.RESOURCE_SPECIFICATION:\n return product.fieldRefs;\n case BuildPlanTaskProductKind.RESOURCE_REGISTRATION:\n return product.operationRefs;\n case BuildPlanTaskProductKind.APPLICATION_FRONTEND_CONFIG:\n return product.declarationRefs;\n case BuildPlanTaskProductKind.APPLICATION_WORKER:\n return product.jobRefs;\n case BuildPlanTaskProductKind.APPLICATION_MINION:\n return product.behaviorRefs;\n case BuildPlanTaskProductKind.PDF_TEMPLATE:\n return [product.templateRef];\n default:\n return [];\n }\n}\n\n/** True when a product ref could be an artifact's identifier. */\nexport function isIdentifierShapedProductRef(ref: string): boolean {\n return ref.length <= MAXIMUM_IDENTIFIER_LENGTH && IDENTIFIER_SHAPE.test(ref);\n}\n\nconst STAGE_ORDER: readonly BuildPlanResourceStage[] = [\n BuildPlanResourceStage.SCHEMA,\n BuildPlanResourceStage.CONFIG,\n BuildPlanResourceStage.UI_BEHAVIOR,\n BuildPlanResourceStage.SPEC,\n];\n\n/**\n * Validate what Zod cannot: prerequisite cycles and the per-resource stage\n * sequence. Returns findings rather than throwing so a caller can treat a\n * cycle as a hard floor and a missing predecessor as an authoring warning;\n * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.\n *\n * The stage-sequence check asks TWO questions, because \"the predecessor exists\"\n * and \"this task waits for it\" are different claims and only the second one\n * constrains what the host may dispatch.\n */\nexport function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[] {\n // An empty graph is unrepresentable: the schema requires min(1) tasks (a zero-task decomposition is\n // a refusal at generation, never an artifact — proven necessary by the first live loop run).\n const findings: BuildPlanTaskGraphFinding[] = [];\n const byRef = new Map(graph.tasks.map((task) => [task.taskRef, task]));\n // Cycle detection over declared prerequisites (depth-first with colours).\n const state = new Map<string, 'visiting' | 'done'>();\n const visit = (taskRef: string, trail: string[]): void => {\n const current = state.get(taskRef);\n if (current === 'done') return;\n if (current === 'visiting') {\n findings.push({ code: BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE, taskRef, message: `Prerequisite cycle: ${[...trail, taskRef].join(' → ')}` });\n return;\n }\n state.set(taskRef, 'visiting');\n for (const prerequisite of byRef.get(taskRef)?.prerequisiteTaskRefs ?? []) visit(prerequisite, [...trail, taskRef]);\n state.set(taskRef, 'done');\n };\n for (const task of graph.tasks) visit(task.taskRef, []);\n\n /**\n * Every task that must have landed before `taskRef` may be dispatched — the TRANSITIVE closure of\n * declared prerequisites, memoized, and cycle-safe by construction (the `seen` set terminates).\n *\n * Transitive rather than direct, because transitive reachability is exactly the property that\n * matters: it is the statement \"no dispatch order the host can produce puts this task before that\n * one\". A direct-edge requirement would refuse the legitimate authoring a live decomposition\n * actually produces — `config` depending on `module`, which depends on `schema` — which would make\n * the check a style rule rather than an ordering guarantee.\n */\n const closures = new Map<string, ReadonlySet<string>>();\n const prerequisiteClosure = (taskRef: string): ReadonlySet<string> => {\n const memoized = closures.get(taskRef);\n if (memoized !== undefined) return memoized;\n const reached = new Set<string>();\n // Seed the memo BEFORE walking so a cyclic graph resolves to the partial set rather than recursing.\n closures.set(taskRef, reached);\n const walk = (current: string): void => {\n for (const prerequisite of byRef.get(current)?.prerequisiteTaskRefs ?? []) {\n if (reached.has(prerequisite)) continue;\n reached.add(prerequisite);\n walk(prerequisite);\n }\n };\n walk(taskRef);\n return reached;\n };\n\n // Per-resource stage sequence: each stage after SCHEMA needs its predecessor DECLARED for the same\n // resource, and needs to WAIT for it.\n for (const task of graph.tasks) {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE) continue;\n const stageIndex = STAGE_ORDER.indexOf(task.target.stage);\n if (stageIndex <= 0) continue;\n const predecessorStage = STAGE_ORDER[stageIndex - 1]!;\n const target = task.target;\n const isPredecessor = (candidate: BuildPlanTaskGraph['tasks'][number] | undefined): boolean =>\n candidate !== undefined\n && candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && candidate.target.moduleRef === target.moduleRef\n && candidate.target.resourceRef === target.resourceRef\n && candidate.target.stage === predecessorStage;\n\n if (!graph.tasks.some(isPredecessor)) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_WITHOUT_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} without its ${predecessorStage} stage.`,\n });\n continue;\n }\n if (![...prerequisiteClosure(task.taskRef)].some((prerequisite) => isPredecessor(byRef.get(prerequisite)))) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} and its ${predecessorStage} stage, but ${task.taskRef} does not depend on it — the host may dispatch ${target.stage} first.`,\n });\n }\n }\n graph.tasks.forEach((task) => {\n task.produces.forEach((product) => {\n if (product.kind !== BuildPlanTaskProductKind.RESOURCE_REGISTRATION) return;\n if (!product.operationRefs.every(isScaffoldedResourceOperationRef)) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares ${product.resourceRef}'s registration as [${product.operationRefs.join(', ')}], which the add-resource scaffold already writes; name the operations this task ADDS, or the host cannot tell it ran.`,\n });\n });\n });\n graph.tasks.forEach((task) => {\n task.produces.forEach((product) => {\n const phrases = freeTextProductRefs(product).filter((ref) => !isIdentifierShapedProductRef(ref));\n if (phrases.length === 0) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares its ${product.kind} product as ${phrases.map((ref) => JSON.stringify(ref)).join(', ')}, which cannot be an identifier `\n + '(whitespace, a quote, a bracket, or too long to be a name). Name the artifact as the code spells it (`title`, not \"the item\\'s title\"), or the task can never be proven landed.',\n });\n });\n });\n /*\n * A shell command, a package-manager invocation, or a `check:` id in the objective. Matched on the\n * VERB rather than on any particular tool so a plan naming `pnpm check:x` and one naming\n * `wildo db diff` are the same finding — what is wrong is that a task states a runtime control at\n * all, not which one it chose.\n */\n const RUNTIME_CONTROL_IN_PROSE = /\\b(?:wildo|pnpm|npm|npx|yarn|tsc)\\s+[a-z]|\\bcheck:[a-z][a-z0-9-]*/iu;\n graph.tasks.forEach((task) => {\n const objective = typeof task.objective === 'string' ? task.objective : '';\n const named = RUNTIME_CONTROL_IN_PROSE.exec(objective);\n if (named === null) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.OBJECTIVE_NAMES_A_RUNTIME_CONTROL,\n taskRef: task.taskRef,\n message: `${task.taskRef}'s objective names the runtime control \"${named[0]}\", which the dispatch host never evaluates — it derives verification from the target kind. State WHAT the task must produce, not how it will be checked.`,\n });\n });\n graph.tasks.forEach((task) => {\n if (task.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) return;\n if (task.produces.length > 0) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.TASK_DECLARES_NO_PRODUCT,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares no product, so nothing in the working tree can prove it landed; the host will keep offering it.`,\n });\n });\n return findings;\n}\n\n/**\n * The identity a build plan has as an ENGINE execution plan (#1359).\n *\n * An application has one build plan, so both refs are constants. `actorSystemId` names the actor\n * system that OWNS the plan — the host registers its build system under this exact ref, so the edge\n * a step carries and the system a run executes under cannot be two spellings of one thing.\n */\nexport const BUILD_PLAN_EXECUTION_PLAN_IDENTITY = {\n planId: 'application-creation.build-plan',\n actorSystemId: 'application-build.system',\n} as const;\n\n/** One build-plan task as the engine's scheduler sees it: a plan step whose id is the task ref. */\nexport interface BuildPlanExecutionPlanStep {\n readonly _id: string;\n readonly relationships: readonly FlowsActors_Relationship[];\n readonly task: BuildPlanTaskGraph['tasks'][number];\n}\n\n/**\n * The build plan AS engine plan steps: one step per task, one `DEPENDS_ON` edge per prerequisite.\n *\n * ## Why a projection, and why it is not a second copy\n *\n * The authored plan is a specification FILE, and its `prerequisiteTaskRefs` are what a model writes\n * and a human reviews. The engine's dependency vocabulary is `FlowsActors_Relation.DEPENDS_ON`\n * between plan steps. Until 2026-09-20 nothing connected them: the engine's edge had no reader, and\n * this file scheduled the plan itself with a one-line filter.\n *\n * This is a pure function of the file, evaluated when readiness is asked for and STORED NOWHERE, so\n * there is one authored source and nothing that can drift from it. What was rejected is the other\n * arrangement — keeping `prerequisiteTaskRefs` as the scheduler's input and writing `DEPENDS_ON`\n * beside it as a record: two sources for one edge, only one of them read.\n *\n * Total over the graph: every task becomes a step, and every prerequisite an edge, including one\n * that names a task the plan does not contain — which the scheduler fails closed on.\n */\nexport function projectBuildPlanAsExecutionPlanSteps(graph: BuildPlanTaskGraph): readonly BuildPlanExecutionPlanStep[] {\n return graph.tasks.map((task) => ({\n _id: task.taskRef,\n relationships: task.prerequisiteTaskRefs.map((prerequisite) =>\n buildExecutionPlanStepDependency({ ...BUILD_PLAN_EXECUTION_PLAN_IDENTITY, planStepId: prerequisite })),\n task,\n }));\n}\n\n/**\n * The tasks whose declared prerequisites are all in `landedTaskRefs`; the\n * host's dependency-readiness resolution, in graph order. Pure and total.\n *\n * Decided by the ENGINE's scheduler since #1359 (`selectReadyExecutionPlanSteps`): this supplies the\n * plan as steps and the one thing that is app-creation's — what \"done\" means. A build task is done\n * when its declared products are COMMITTED, which is git-as-acceptance and the product; the engine\n * is told the answer and never how it was reached.\n */\nexport function selectReadyBuildPlanTasks(graph: BuildPlanTaskGraph, landedTaskRefs: ReadonlySet<string>): readonly BuildPlanTaskGraph['tasks'][number][] {\n return selectReadyExecutionPlanSteps(\n projectBuildPlanAsExecutionPlanSteps(graph),\n (planStepId) => landedTaskRefs.has(planStepId),\n ).map((step) => step.task);\n}\n"]}
1
+ {"version":3,"file":"build-plan-task-graph-validation.js","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,6BAA6B,EAAiC,MAAM,uBAAuB,CAAC;AAE9J,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,uBAAuB,EAA2B,MAAM,iCAAiC,CAAC;AAErJ,4GAA4G;AAC5G,MAAM,CAAN,IAAY,6BAwFX;AAxFD,WAAY,6BAA6B;IACvC,oFAAoF;IACpF,0EAAyC,CAAA;IACzC;;;;;;OAMG;IACH,sFAAqD,CAAA;IACrD;;;;;;;;;;;;;OAaG;IACH,sHAAqF,CAAA;IACrF;;;;;;;;;;;;;;;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AAY,EAAE,CAAC,CAAC;QACxG,IAAI;KACL,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAAyB,EAAE,cAAmC;IACtG,OAAO,6BAA6B,CAClC,oCAAoC,CAAC,KAAK,CAAC,EAC3C,CAAC,UAAU,EAAE,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,UAAU,CAAC,CAC/C,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC","sourcesContent":["import { CoreResourceOperation, buildExecutionPlanStepDependency, selectReadyExecutionPlanSteps, type FlowsActors_Relationship } from '@wildo-ai/saas-models';\n\nimport { BuildPlanResourceStage, BuildPlanTaskProductKind, BuildPlanTaskTargetKind, type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';\n\n/** Deterministic finding over a build-plan task graph; authoring consistency beyond structural validity. */\nexport enum BuildPlanTaskGraphFindingCode {\n /** A prerequisite chain returns to its own task: no valid dispatch order exists. */\n PREREQUISITE_CYCLE = 'PREREQUISITE_CYCLE',\n /**\n * A coding task declares no product, so nothing in the tree can prove it landed.\n *\n * The host treats such a task as NEVER landed, which is the safe direction — it is re-offered,\n * visibly, rather than silently skipped. Reported and not a hard floor because both committed\n * plans predate `produces`; promote it once they are regenerated (#597).\n */\n TASK_DECLARES_NO_PRODUCT = 'TASK_DECLARES_NO_PRODUCT',\n /**\n * A resource-registration product names ONLY operations the scaffold already writes, so it is true\n * before the task runs and the host would report the task landed having done nothing.\n *\n * Measured 2026-09-13 on Wonder CRM's first regenerated plan: all six CONFIG tasks declared\n * `create / read / list / update / delete`, which `add-resource` writes on every resource on day\n * one, and the dispatcher reported all six LANDED with no config task ever run — #597 returning\n * through the vocabulary built to end it. The rule already existed in prose at three sites (this\n * kind's JSDoc, the decomposer's output contract, the judge checklist) and was enforced at none.\n *\n * A WARNING, like {@link TASK_DECLARES_NO_PRODUCT}, and for the same reason: the host now discounts\n * scaffolded operations as landing evidence, so such a task is treated as unproven rather than\n * landed — marked, never blocking. Refusing would stall a lane over an authoring gap.\n */\n PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS = 'PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS',\n /**\n * A task's `objective` names a COMMAND or a CHECK ID, so it states a completion condition the\n * dispatch contract will never evaluate.\n *\n * The contract is explicit and predates this: *\"The task never carries paths, commands, prompts or\n * runtime controls — the dispatch host derives mutation scope and verification from the target\n * kind.\"* The host resolves each target kind to a mutation scope and a check set; nothing reads an\n * objective for a check, so a check named there is a promise to nobody.\n *\n * Measured on the first end-to-end journey run (#1273): the decomposer wrote *\"finish when\n * `wildo db diff --check` is clean\"* into NINE task objectives. The dispatch judge then correctly\n * reported CONCERN on `build-task-verified-change-set` — the objective required a verification the\n * recorded check list did not contain — for tasks whose work was entirely correct. The migration\n * obligation was never missing: a migration is a `COMPANION_GENERATION_STEP`, landed through\n * `SCHEMA_PLAN_IN_SYNC`, which runs that exact command on every landed resolution. The objective\n * was claiming a gate that lives somewhere else.\n *\n * The cost is the judge's signal. A criterion that can never be satisfied returns CONCERN on good\n * work, and a reviewer who sees CONCERN on everything stops reading it.\n *\n * A WARNING, like its two siblings above and for the same reason: this is an authoring gap, and\n * refusing would stall a whole lane over prose. The decomposer's own method already says the\n * migration is not a coding objective and names the application-wide backstop — so, once more, a\n * rule that existed in prose and was enforced nowhere.\n */\n OBJECTIVE_NAMES_A_RUNTIME_CONTROL = 'OBJECTIVE_NAMES_A_RUNTIME_CONTROL',\n /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */\n RESOURCE_STAGE_WITHOUT_PREDECESSOR = 'RESOURCE_STAGE_WITHOUT_PREDECESSOR',\n /**\n * The predecessor stage IS in the graph, and this task does not depend on it —\n * so a dispatch order exists that runs this stage FIRST.\n *\n * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the\n * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a\n * resource whose schema already stands in the tree and needs no task, which is why that finding is\n * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being\n * (re)authored by a task in this same graph, and then permits the config to be written first.\n *\n * It is invisible without this check because the two mechanisms that decide ordering and the one\n * that reports on it were reading different things: dispatch order comes SOLELY from\n * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only\n * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was\n * therefore simultaneously finding-free and immediately ready, and a coding agent could be\n * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.\n */\n RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR = 'RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR',\n /**\n * A product ref that cannot be an identifier: it has whitespace, an apostrophe, a bracket or a\n * sentence's punctuation, or is far longer than a name — so the artifact it claims can never be\n * found, and the task can never land (#1543).\n *\n * A decomposing model naturally writes the CONCEPT: measured on the first end-to-end run, 52 of 52\n * `fieldRefs` read like `\"the item's title\"` where the schema spells `title`, and every schema task\n * was unlandable until a human noticed the board had stopped moving. The decomposer's method says a\n * ref is an artifact identity, and a method instruction is a prompt, not a gate.\n *\n * Deliberately LEXICAL and conservative: it cannot tell whether `title` is the RIGHT field, only that\n * a phrase is not a field name at all. A HARD FLOOR, because the plan would be a lie about what its\n * tasks produce — and at generation a floor goes back to the model with the finding, which is the\n * cheapest moment to fix it.\n */\n PRODUCT_REF_IS_NOT_AN_IDENTIFIER = 'PRODUCT_REF_IS_NOT_AN_IDENTIFIER',\n}\n\nexport interface BuildPlanTaskGraphFinding {\n readonly code: BuildPlanTaskGraphFindingCode;\n readonly taskRef: string | null;\n readonly message: string;\n}\n\n/**\n * The core operations the `add-resource` composition scenario writes into EVERY resource's\n * `resources-config.ts` on day one — so naming one of them proves nothing about a build task.\n *\n * One named source for a fact that otherwise lives only inside a Handlebars template, pinned to that\n * template by `scaffolded-resource-operations.parity.test.ts`: change the scenario and the test\n * fails until this list moves with it.\n */\nexport const SCAFFOLDED_RESOURCE_CORE_OPERATIONS: readonly CoreResourceOperation[] = [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.CREATE,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.DELETE,\n];\n\n/** True when an operation ref names a verb composition already wrote, so it is no evidence of work. */\nexport function isScaffoldedResourceOperationRef(operationRef: string): boolean {\n return (SCAFFOLDED_RESOURCE_CORE_OPERATIONS as readonly string[]).includes(operationRef.trim().toLowerCase());\n}\n\n/**\n * The page and section the `add-website` composition scenario writes as its STARTER — a placeholder\n * the build replaces, never evidence of a website task.\n *\n * The scaffold ships a `landing` page registered in the root config and a `landing-hero` section\n * defined in `landing.sections.tsx`. The website plan's method says every site gets a landing page,\n * so a plan naming its front door `page-landing` (with a `landing-hero` section) would find both\n * probes satisfied the moment the scaffold is applied — the page task would read LANDED before any\n * agent ran, and the starter's neutral placeholder copy would ship as the application's front door.\n * The run that exercised this lane avoided it only because its plan happened to say `page-home`.\n *\n * Same treatment as {@link SCAFFOLDED_RESOURCE_CORE_OPERATIONS}: a product naming only the starter\n * yields no probe, so the task is dispatched rather than skipped, and is marked unverifiable after\n * its run rather than blocking. Pinned to the template by `scaffolded-website-starter.parity.test.ts`.\n */\nexport const SCAFFOLDED_WEBSITE_STARTER = {\n /** The starter page's identity in the tree — the website plan's `page-landing` without its prefix. */\n pageIdentity: 'landing',\n sectionRefs: ['landing-hero'],\n} as const satisfies { readonly pageIdentity: string; readonly sectionRefs: readonly string[] };\n\n/** True when a website page identity names the scaffold's starter page, so the page existing proves nothing. */\nexport function isScaffoldedWebsiteStarterPage(pageIdentity: string): boolean {\n return pageIdentity === SCAFFOLDED_WEBSITE_STARTER.pageIdentity;\n}\n\n/** True when a section ref names a section the scaffold's starter already defines, so it proves nothing. */\nexport function isScaffoldedWebsiteStarterSection(sectionRef: string): boolean {\n return (SCAFFOLDED_WEBSITE_STARTER.sectionRefs as readonly string[]).includes(sectionRef);\n}\n\n/**\n * The finding codes that must block a landing; everything else is an authoring warning.\n *\n * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity\n * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be\n * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which\n * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused\n * it, with nothing naming the disagreement.\n *\n * Each member makes the plan WRONG rather than merely weak. The first two admit a dispatch order that\n * is wrong (a cycle admits none at all; an undeclared stage edge admits one that builds config before\n * schema); the third makes the plan a lie about what its tasks produce, since a phrase is no artifact\n * any probe can find. Everything else here is a judgement about authoring taste, which the creator's\n * review owns.\n */\nexport const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[] = [\n BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,\n BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,\n];\n\n/**\n * What an identifier an artifact can spell looks like: a letter or `_`/`$` first, then word characters\n * and the separators identifiers and addresses use (`.`, `-`, `:`, `/`). No whitespace, no quote, no\n * bracket — the marks of a phrase. Longer than {@link MAXIMUM_IDENTIFIER_LENGTH} is a sentence.\n */\nconst IDENTIFIER_SHAPE = /^[A-Za-z_$][\\w$.:/-]*$/;\nconst MAXIMUM_IDENTIFIER_LENGTH = 80;\n\n/** The FREE-TEXT ref lists of a product — the ones the schema leaves unconstrained. Slug-typed refs are already checked by the schema. */\nfunction freeTextProductRefs(product: BuildPlanTaskGraph['tasks'][number]['produces'][number]): readonly string[] {\n switch (product.kind) {\n case BuildPlanTaskProductKind.RESOURCE_SCHEMA_FIELDS:\n case BuildPlanTaskProductKind.RESOURCE_SPECIFICATION:\n return product.fieldRefs;\n case BuildPlanTaskProductKind.RESOURCE_REGISTRATION:\n return product.operationRefs;\n case BuildPlanTaskProductKind.APPLICATION_FRONTEND_CONFIG:\n return product.declarationRefs;\n case BuildPlanTaskProductKind.APPLICATION_WORKER:\n return product.jobRefs;\n case BuildPlanTaskProductKind.APPLICATION_MINION:\n return product.behaviorRefs;\n case BuildPlanTaskProductKind.PDF_TEMPLATE:\n return [product.templateRef];\n default:\n return [];\n }\n}\n\n/** True when a product ref could be an artifact's identifier. */\nexport function isIdentifierShapedProductRef(ref: string): boolean {\n return ref.length <= MAXIMUM_IDENTIFIER_LENGTH && IDENTIFIER_SHAPE.test(ref);\n}\n\nconst STAGE_ORDER: readonly BuildPlanResourceStage[] = [\n BuildPlanResourceStage.SCHEMA,\n BuildPlanResourceStage.CONFIG,\n BuildPlanResourceStage.UI_BEHAVIOR,\n BuildPlanResourceStage.SPEC,\n];\n\n/**\n * Validate what Zod cannot: prerequisite cycles and the per-resource stage\n * sequence. Returns findings rather than throwing so a caller can treat a\n * cycle as a hard floor and a missing predecessor as an authoring warning;\n * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.\n *\n * The stage-sequence check asks TWO questions, because \"the predecessor exists\"\n * and \"this task waits for it\" are different claims and only the second one\n * constrains what the host may dispatch.\n */\nexport function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[] {\n // An empty graph is unrepresentable: the schema requires min(1) tasks (a zero-task decomposition is\n // a refusal at generation, never an artifact — proven necessary by the first live loop run).\n const findings: BuildPlanTaskGraphFinding[] = [];\n const byRef = new Map(graph.tasks.map((task) => [task.taskRef, task]));\n // Cycle detection over declared prerequisites (depth-first with colours).\n const state = new Map<string, 'visiting' | 'done'>();\n const visit = (taskRef: string, trail: string[]): void => {\n const current = state.get(taskRef);\n if (current === 'done') return;\n if (current === 'visiting') {\n findings.push({ code: BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE, taskRef, message: `Prerequisite cycle: ${[...trail, taskRef].join(' → ')}` });\n return;\n }\n state.set(taskRef, 'visiting');\n for (const prerequisite of byRef.get(taskRef)?.prerequisiteTaskRefs ?? []) visit(prerequisite, [...trail, taskRef]);\n state.set(taskRef, 'done');\n };\n for (const task of graph.tasks) visit(task.taskRef, []);\n\n /**\n * Every task that must have landed before `taskRef` may be dispatched — the TRANSITIVE closure of\n * declared prerequisites, memoized, and cycle-safe by construction (the `seen` set terminates).\n *\n * Transitive rather than direct, because transitive reachability is exactly the property that\n * matters: it is the statement \"no dispatch order the host can produce puts this task before that\n * one\". A direct-edge requirement would refuse the legitimate authoring a live decomposition\n * actually produces — `config` depending on `module`, which depends on `schema` — which would make\n * the check a style rule rather than an ordering guarantee.\n */\n const closures = new Map<string, ReadonlySet<string>>();\n const prerequisiteClosure = (taskRef: string): ReadonlySet<string> => {\n const memoized = closures.get(taskRef);\n if (memoized !== undefined) return memoized;\n const reached = new Set<string>();\n // Seed the memo BEFORE walking so a cyclic graph resolves to the partial set rather than recursing.\n closures.set(taskRef, reached);\n const walk = (current: string): void => {\n for (const prerequisite of byRef.get(current)?.prerequisiteTaskRefs ?? []) {\n if (reached.has(prerequisite)) continue;\n reached.add(prerequisite);\n walk(prerequisite);\n }\n };\n walk(taskRef);\n return reached;\n };\n\n // Per-resource stage sequence: each stage after SCHEMA needs its predecessor DECLARED for the same\n // resource, and needs to WAIT for it.\n for (const task of graph.tasks) {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE) continue;\n const stageIndex = STAGE_ORDER.indexOf(task.target.stage);\n if (stageIndex <= 0) continue;\n const predecessorStage = STAGE_ORDER[stageIndex - 1]!;\n const target = task.target;\n const isPredecessor = (candidate: BuildPlanTaskGraph['tasks'][number] | undefined): boolean =>\n candidate !== undefined\n && candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && candidate.target.moduleRef === target.moduleRef\n && candidate.target.resourceRef === target.resourceRef\n && candidate.target.stage === predecessorStage;\n\n if (!graph.tasks.some(isPredecessor)) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_WITHOUT_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} without its ${predecessorStage} stage.`,\n });\n continue;\n }\n if (![...prerequisiteClosure(task.taskRef)].some((prerequisite) => isPredecessor(byRef.get(prerequisite)))) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} and its ${predecessorStage} stage, but ${task.taskRef} does not depend on it — the host may dispatch ${target.stage} first.`,\n });\n }\n }\n graph.tasks.forEach((task) => {\n task.produces.forEach((product) => {\n if (product.kind !== BuildPlanTaskProductKind.RESOURCE_REGISTRATION) return;\n if (!product.operationRefs.every(isScaffoldedResourceOperationRef)) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares ${product.resourceRef}'s registration as [${product.operationRefs.join(', ')}], which the add-resource scaffold already writes; name the operations this task ADDS, or the host cannot tell it ran.`,\n });\n });\n });\n graph.tasks.forEach((task) => {\n task.produces.forEach((product) => {\n const phrases = freeTextProductRefs(product).filter((ref) => !isIdentifierShapedProductRef(ref));\n if (phrases.length === 0) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares its ${product.kind} product as ${phrases.map((ref) => JSON.stringify(ref)).join(', ')}, which cannot be an identifier `\n + '(whitespace, a quote, a bracket, or too long to be a name). Name the artifact as the code spells it (`title`, not \"the item\\'s title\"), or the task can never be proven landed.',\n });\n });\n });\n /*\n * A shell command, a package-manager invocation, or a `check:` id in the objective. Matched on the\n * VERB rather than on any particular tool so a plan naming `pnpm check:x` and one naming\n * `wildo db diff` are the same finding — what is wrong is that a task states a runtime control at\n * all, not which one it chose.\n */\n const RUNTIME_CONTROL_IN_PROSE = /\\b(?:wildo|pnpm|npm|npx|yarn|tsc)\\s+[a-z]|\\bcheck:[a-z][a-z0-9-]*/iu;\n graph.tasks.forEach((task) => {\n const objective = typeof task.objective === 'string' ? task.objective : '';\n const named = RUNTIME_CONTROL_IN_PROSE.exec(objective);\n if (named === null) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.OBJECTIVE_NAMES_A_RUNTIME_CONTROL,\n taskRef: task.taskRef,\n message: `${task.taskRef}'s objective names the runtime control \"${named[0]}\", which the dispatch host never evaluates — it derives verification from the target kind. State WHAT the task must produce, not how it will be checked.`,\n });\n });\n graph.tasks.forEach((task) => {\n if (task.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) return;\n if (task.produces.length > 0) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.TASK_DECLARES_NO_PRODUCT,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares no product, so nothing in the working tree can prove it landed; the host will keep offering it.`,\n });\n });\n return findings;\n}\n\n/**\n * The identity a build plan has as an ENGINE execution plan (#1359).\n *\n * An application has one build plan, so both refs are constants. `actorSystemId` names the actor\n * system that OWNS the plan — the host registers its build system under this exact ref, so the edge\n * a step carries and the system a run executes under cannot be two spellings of one thing.\n */\nexport const BUILD_PLAN_EXECUTION_PLAN_IDENTITY = {\n planId: 'application-creation.build-plan',\n actorSystemId: 'application-build.system',\n} as const;\n\n/** One build-plan task as the engine's scheduler sees it: a plan step whose id is the task ref. */\nexport interface BuildPlanExecutionPlanStep {\n readonly _id: string;\n readonly relationships: readonly FlowsActors_Relationship[];\n readonly task: BuildPlanTaskGraph['tasks'][number];\n}\n\n/**\n * The build plan AS engine plan steps: one step per task, one `DEPENDS_ON` edge per prerequisite.\n *\n * ## Why a projection, and why it is not a second copy\n *\n * The authored plan is a specification FILE, and its `prerequisiteTaskRefs` are what a model writes\n * and a human reviews. The engine's dependency vocabulary is `FlowsActors_Relation.DEPENDS_ON`\n * between plan steps. Until 2026-09-20 nothing connected them: the engine's edge had no reader, and\n * this file scheduled the plan itself with a one-line filter.\n *\n * This is a pure function of the file, evaluated when readiness is asked for and STORED NOWHERE, so\n * there is one authored source and nothing that can drift from it. What was rejected is the other\n * arrangement — keeping `prerequisiteTaskRefs` as the scheduler's input and writing `DEPENDS_ON`\n * beside it as a record: two sources for one edge, only one of them read.\n *\n * Total over the graph: every task becomes a step, and every prerequisite an edge, including one\n * that names a task the plan does not contain — which the scheduler fails closed on.\n */\nexport function projectBuildPlanAsExecutionPlanSteps(graph: BuildPlanTaskGraph): readonly BuildPlanExecutionPlanStep[] {\n return graph.tasks.map((task) => ({\n _id: task.taskRef,\n relationships: task.prerequisiteTaskRefs.map((prerequisite) =>\n buildExecutionPlanStepDependency({ ...BUILD_PLAN_EXECUTION_PLAN_IDENTITY, planStepId: prerequisite })),\n task,\n }));\n}\n\n/**\n * The tasks whose declared prerequisites are all in `landedTaskRefs`; the\n * host's dependency-readiness resolution, in graph order. Pure and total.\n *\n * Decided by the ENGINE's scheduler since #1359 (`selectReadyExecutionPlanSteps`): this supplies the\n * plan as steps and the one thing that is app-creation's — what \"done\" means. A build task is done\n * when its declared products are COMMITTED, which is git-as-acceptance and the product; the engine\n * is told the answer and never how it was reached.\n */\nexport function selectReadyBuildPlanTasks(graph: BuildPlanTaskGraph, landedTaskRefs: ReadonlySet<string>): readonly BuildPlanTaskGraph['tasks'][number][] {\n return selectReadyExecutionPlanSteps(\n projectBuildPlanAsExecutionPlanSteps(graph),\n (planStepId) => landedTaskRefs.has(planStepId),\n ).map((step) => step.task);\n}\n"]}