@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
@@ -1,15 +1,13 @@
1
1
  import { z } from "zod";
2
- import { MetaWorkflow_Phase } from "./playbooks.application-creation.schemas";
3
2
  /**
4
3
  * Journey-level autonomy presets (design plan OQ-3 — "lots of people want
5
4
  * quick results").
6
5
  *
7
- * **AUTHORED INTENT ONLY — NOTHING READS THIS ENUM**, measured 2026-08-29 alongside issue #103.
8
- * `Journey_AutonomyPreset` has zero consumers outside this file; the per-playbook
9
- * `MetaWorkflow_ApprovalPolicy` it was to map over is equally inert; and the
10
- * `wildo journey set-autonomy` command the previous revision of this comment named exists in no
11
- * CLI — there is no `journey` command family at all. Selecting a preset today changes nothing,
12
- * because nothing selects one.
6
+ * **Read by the companion since 2026-09-22 (#111):** `APPLICATION_CREATION_AUTONOMY_POSTURE` holds the
7
+ * decided value, and the run checkpoint, the composite round relaunch and the parked-question answer
8
+ * read it (see FIRST READER below). It was authored intent with zero consumers when measured on
9
+ * 2026-08-29; the per-playbook `MetaWorkflow_ApprovalPolicy` it was to map over is still inert, and
10
+ * there is no `wildo journey set-autonomy` command, so the posture changes only by editing that constant.
13
11
  *
14
12
  * Two claims were removed from this comment on that date and MUST NOT be restored while the
15
13
  * mechanism is unbuilt:
@@ -77,46 +75,4 @@ export declare const Journey_ScopeSchema: z.ZodObject<{
77
75
  resourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
78
76
  }, z.core.$strip>;
79
77
  export type Journey_Scope = z.infer<typeof Journey_ScopeSchema>;
80
- /**
81
- * Journey identity + posture. `budget` carries the JOURNEY-level ceilings
82
- * (P-28) that cap the sum of all playbook runs; the runner enforces both
83
- * levels and refuses dispatch once either is hit.
84
- */
85
- export declare const Journey_DefinitionSchema: z.ZodObject<{
86
- journeyId: z.ZodString;
87
- title: z.ZodOptional<z.ZodString>;
88
- phase: z.ZodEnum<typeof MetaWorkflow_Phase>;
89
- autonomyPreset: z.ZodDefault<z.ZodEnum<typeof Journey_AutonomyPreset>>;
90
- scope: z.ZodOptional<z.ZodObject<{
91
- moduleIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
92
- resourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
93
- }, z.core.$strip>>;
94
- budget: z.ZodOptional<z.ZodObject<{
95
- maxCostUsd: z.ZodOptional<z.ZodNumber>;
96
- maxInputTokens: z.ZodOptional<z.ZodNumber>;
97
- maxOutputTokens: z.ZodOptional<z.ZodNumber>;
98
- maxModelCalls: z.ZodOptional<z.ZodNumber>;
99
- maxDurationMs: z.ZodOptional<z.ZodNumber>;
100
- maxRuns: z.ZodOptional<z.ZodNumber>;
101
- }, z.core.$strip>>;
102
- createdAt: z.ZodISODateTime;
103
- updatedAt: z.ZodISODateTime;
104
- }, z.core.$strip>;
105
- export type Journey_Definition = z.infer<typeof Journey_DefinitionSchema>;
106
- /**
107
- * The disposable machine-local resume cache (see file header — cursor is
108
- * NEVER authority; everything in it is either mirrored from git-versioned
109
- * decisions or re-derivable from the snapshot/control-plane).
110
- */
111
- export declare const Journey_CursorSchema: z.ZodObject<{
112
- journeyId: z.ZodString;
113
- phase: z.ZodEnum<typeof MetaWorkflow_Phase>;
114
- autonomyPreset: z.ZodDefault<z.ZodEnum<typeof Journey_AutonomyPreset>>;
115
- resumePointers: z.ZodOptional<z.ZodObject<{
116
- lastExecutionId: z.ZodOptional<z.ZodString>;
117
- lastDecisionRef: z.ZodOptional<z.ZodString>;
118
- }, z.core.$strip>>;
119
- updatedAt: z.ZodISODateTime;
120
- }, z.core.$strip>;
121
- export type Journey_Cursor = z.infer<typeof Journey_CursorSchema>;
122
78
  //# sourceMappingURL=journey.application-creation.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"journey.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AA8B9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,IAAI,SAAS;CACd;AA4BD;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;iBASnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;iBAW/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"journey.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,IAAI,SAAS;CACd;AA4BD;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -1,42 +1,27 @@
1
1
  import { z } from "zod";
2
- import { MetaWorkflow_PlaybookBudgetSchema } from "@wildo-ai/saas-models/meta-workflows";
3
- import { MetaWorkflow_Phase } from "./playbooks.application-creation.schemas.js";
4
2
  //===============================================================
5
- // Meta-Workflow Journey
3
+ // Application creation: journey vocabulary
6
4
  // -----------------------
7
- // A journey is one app-creation run: idea → compliant SaaS (design plan
8
- // `app-creation-meta-workflows.md`, D1). Journey STATE is deliberately
9
- // artifact-first and derived — there is no step ledger. The contracts here
10
- // cover only what cannot be derived:
5
+ // There is no journey RECORD. An application's creation state is its working tree, derived on every
6
+ // read: the families that have landed, the eligibility board over them, and the application's line
7
+ // with its derived active set (`describeApplicationActiveSet`, #1607). What cannot be derived lives
8
+ // where the creator decides it, in the creator dossier (`creator-inputs`: the main line, #1603), and
9
+ // durable decisions are the GIT HISTORY.
11
10
  //
12
- // - `Journey_Definition` — identity + posture (phase, autonomy, scope).
13
- // - `Journey_Cursor` — the DISPOSABLE machine-local resume cache, stored
14
- // per journey at `.wildo-saas/state/journeys/<journeyId>.cursor.json`
15
- // (implementation-spec P-15; path built via `resolveAppLayout`, never
16
- // hand-joined). Losing a cursor costs nothing.
17
- // - Durable decisions are the GIT HISTORY. A journey carries no bespoke
18
- // decision record; see the retirement note below for why.
11
+ // Playbook RUNS are not modeled here either: each run is an actor execution of the meta-workflows
12
+ // actor system, with its task on the existing control plane (the run id IS the execution id, #1358).
19
13
  //
20
- // Playbook RUNS are not modeled here. The CONTRACT (P-11) is that they are `ActorSystem`
21
- // executions + `Actors_Task` rows on the existing control-plane resources, with correlation
22
- // carried by `Actors_Task_Context` and no shadow task system.
23
- //
24
- // That is an OBLIGATION, not a description: measured 2026-09-19, a playbook run creates zero
25
- // actor executions and zero actor tasks, and its durable plane is the parallel `Workbench_*`
26
- // family. This comment asserted it as fact until then. #1343 carries closing the gap; the full
27
- // measurement is at `meta-workflows-lane.models.ts`, beside the constant for the actor system
28
- // that is registered and never executed.
14
+ // What remains in this file is vocabulary other code reads: the autonomy preset and the scope shape.
29
15
  //===============================================================
30
16
  /**
31
17
  * Journey-level autonomy presets (design plan OQ-3 — "lots of people want
32
18
  * quick results").
33
19
  *
34
- * **AUTHORED INTENT ONLY — NOTHING READS THIS ENUM**, measured 2026-08-29 alongside issue #103.
35
- * `Journey_AutonomyPreset` has zero consumers outside this file; the per-playbook
36
- * `MetaWorkflow_ApprovalPolicy` it was to map over is equally inert; and the
37
- * `wildo journey set-autonomy` command the previous revision of this comment named exists in no
38
- * CLI — there is no `journey` command family at all. Selecting a preset today changes nothing,
39
- * because nothing selects one.
20
+ * **Read by the companion since 2026-09-22 (#111):** `APPLICATION_CREATION_AUTONOMY_POSTURE` holds the
21
+ * decided value, and the run checkpoint, the composite round relaunch and the parked-question answer
22
+ * read it (see FIRST READER below). It was authored intent with zero consumers when measured on
23
+ * 2026-08-29; the per-playbook `MetaWorkflow_ApprovalPolicy` it was to map over is still inert, and
24
+ * there is no `wildo journey set-autonomy` command, so the posture changes only by editing that constant.
40
25
  *
41
26
  * Two claims were removed from this comment on that date and MUST NOT be restored while the
42
27
  * mechanism is unbuilt:
@@ -129,36 +114,16 @@ export const Journey_ScopeSchema = z.object({
129
114
  moduleIds: z.array(z.string().min(1)).optional(),
130
115
  resourceTypes: z.array(z.string().min(1)).optional(),
131
116
  });
132
- /**
133
- * Journey identity + posture. `budget` carries the JOURNEY-level ceilings
134
- * (P-28) that cap the sum of all playbook runs; the runner enforces both
135
- * levels and refuses dispatch once either is hit.
136
- */
137
- export const Journey_DefinitionSchema = z.object({
138
- journeyId: z.string().min(1),
139
- title: z.string().min(1).optional(),
140
- phase: z.enum(MetaWorkflow_Phase),
141
- autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),
142
- scope: Journey_ScopeSchema.optional(),
143
- budget: MetaWorkflow_PlaybookBudgetSchema.optional(),
144
- createdAt: z.iso.datetime(),
145
- updatedAt: z.iso.datetime(),
146
- });
147
- /**
148
- * The disposable machine-local resume cache (see file header — cursor is
149
- * NEVER authority; everything in it is either mirrored from git-versioned
150
- * decisions or re-derivable from the snapshot/control-plane).
117
+ /*
118
+ * RETIRED 2026-09-26 (#1607) — `Journey_Definition` and `Journey_Cursor`.
119
+ *
120
+ * Both described "one app-creation run" with an id, a phase, a budget, timestamps and a GUIDED default
121
+ * posture, and neither had a consumer. The two things they gestured at are answered elsewhere, each
122
+ * where it can stay true: what the APPLICATION is and which playbooks it runs is the creator dossier's
123
+ * line plus the derived active set, and resuming is the actor execution each run already is. A record of
124
+ * derivable state is bookkeeping (`one-source-of-truth.md`); an application is not IN a phase, its
125
+ * state is its tree (`MetaWorkflow_Phase` labels a playbook, never an application); and the journey budget
126
+ * was enforced by nothing. What an application ADDS beyond its line — instances, secondary lines — lands
127
+ * in the dossier with the issues that create them (#1609, #1608).
151
128
  */
152
- export const Journey_CursorSchema = z.object({
153
- journeyId: z.string().min(1),
154
- phase: z.enum(MetaWorkflow_Phase),
155
- autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),
156
- resumePointers: z
157
- .object({
158
- lastExecutionId: z.string().min(1).optional(),
159
- lastDecisionRef: z.string().min(1).optional(),
160
- })
161
- .optional(),
162
- updatedAt: z.iso.datetime(),
163
- });
164
129
  //# sourceMappingURL=journey.application-creation.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"journey.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"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","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_PlaybookBudgetSchema } from \"@wildo-ai/saas-models/meta-workflows\";\n\nimport { MetaWorkflow_Phase } from \"./playbooks.application-creation.schemas\";\n\n//===============================================================\n// Meta-Workflow Journey\n// -----------------------\n// A journey is one app-creation run: idea → compliant SaaS (design plan\n// `app-creation-meta-workflows.md`, D1). Journey STATE is deliberately\n// artifact-first and derived — there is no step ledger. The contracts here\n// cover only what cannot be derived:\n//\n// - `Journey_Definition` — identity + posture (phase, autonomy, scope).\n// - `Journey_Cursor` — the DISPOSABLE machine-local resume cache, stored\n// per journey at `.wildo-saas/state/journeys/<journeyId>.cursor.json`\n// (implementation-spec P-15; path built via `resolveAppLayout`, never\n// hand-joined). Losing a cursor costs nothing.\n// - Durable decisions are the GIT HISTORY. A journey carries no bespoke\n// decision record; see the retirement note below for why.\n//\n// Playbook RUNS are not modeled here. The CONTRACT (P-11) is that they are `ActorSystem`\n// executions + `Actors_Task` rows on the existing control-plane resources, with correlation\n// carried by `Actors_Task_Context` and no shadow task system.\n//\n// That is an OBLIGATION, not a description: measured 2026-09-19, a playbook run creates zero\n// actor executions and zero actor tasks, and its durable plane is the parallel `Workbench_*`\n// family. This comment asserted it as fact until then. #1343 carries closing the gap; the full\n// measurement is at `meta-workflows-lane.models.ts`, beside the constant for the actor system\n// that is registered and never executed.\n//===============================================================\n\n\n/**\n * Journey-level autonomy presets (design plan OQ-3 — \"lots of people want\n * quick results\").\n *\n * **AUTHORED INTENT ONLY — NOTHING READS THIS ENUM**, measured 2026-08-29 alongside issue #103.\n * `Journey_AutonomyPreset` has zero consumers outside this file; the per-playbook\n * `MetaWorkflow_ApprovalPolicy` it was to map over is equally inert; and the\n * `wildo journey set-autonomy` command the previous revision of this comment named exists in no\n * CLI — there is no `journey` command family at all. Selecting a preset today changes nothing,\n * because nothing selects one.\n *\n * Two claims were removed from this comment on that date and MUST NOT be restored while the\n * mechanism is unbuilt:\n *\n * - the per-preset mapping (GUIDED applies policies as-is / YOLO_LIGHT downgrades code mutations\n * to APPROVE_RESULT at phase boundaries / YOLO runs everything AUTO). It described dispatch no\n * code performs.\n * - **\"THE NON-BYPASSABLE FLOOR (implementation-spec P-28) applies in ALL presets, including\n * YOLO: budget ceilings, destructive operations, and publishing/off-machine side effects\n * hard-gate preset-independently.\"** No such floor runs. A reader deciding whether YOLO is safe\n * to enable would have been reassured by a guarantee that does not exist, and that is the worst\n * shape of unexecuted declaration — worse than `qualityGates`, which merely restated live checks.\n *\n * The enum is kept because nothing else expresses the posture; building it, or deleting it, is a\n * decision tracked as its own issue (#111). Until then it is a design note that happens to be typed.\n *\n * **DECIDED 2026-08-30: DEFERRED DELIBERATELY.** `application-creation-directive.md` — the system\n * must WORK first, restrictions arrive later from a real incident as judge-style guards. So the\n * absence of a preset mechanism is the current intended posture, and a future author should not\n * read it as an oversight.\n *\n * **The rule conflict this comment used to record is SETTLED — do not re-derive it.** It said the\n * two always-on rules disagreed about who may accept: this enum's `YOLO` row means \"the system\n * commits everything automatically\" (`application-creation-directive.md`), while\n * `one-source-of-truth.md` Rule 3 was read as \"only a human commits\". D5 was amended on 2026-09-03\n * (Paul) and names THIS FILE as the record of the conflict it settles: the AUTONOMY POSTURE governs\n * who commits, the current posture is YOLO for all, and \"only a human commits\" describes the GUIDED\n * posture rather than a floor.\n *\n * So what stood between the decided posture and the running system was a MECHANISM, not a decision.\n * Until 2026-09-23 nothing in the runtime performed a commit, so acceptance was a human commit by\n * ABSENCE. **The mechanism now exists for coding runs (#1534):** the companion's coding dispatch loop\n * commits a run's writes through the same pathspec-bounded door the workbench's `accept` uses,\n * whenever `laneBoundaryTreatmentFor(posture, APPROVE_RESULT)` answers notify-and-proceed — YOLO and\n * YOLO_LIGHT do, GUIDED does not. The generated application's `CLAUDE.md` was already written\n * posture-neutrally (*\"WHO makes that commit … is the host's decision\"*) and still tells the agent\n * not to commit, which stays true: the HOST commits, never the agent.\n *\n * What building the preset still owes, from D5 rather than from a fresh decision: the critical gate\n * points stay MARKED in every mechanism (a legally-binding statement leaving the system,\n * critical-risk acceptance, irreversible outward-facing acts) so they can be armed when the posture\n * changes; under YOLO they notify and proceed. Arming them is part of Gate 3's membership test.\n *\n * **FIRST READER, 2026-09-22 (#111):** the companion's `APPLICATION_CREATION_AUTONOMY_POSTURE`\n * constant holds the decided value (`YOLO`), and `laneBoundaryTreatmentFor(posture, decision)` maps\n * it — total over both vocabularies — to what a lane's boundary decision DOES: recorded on the run's\n * row and proceed, or hold the run (GUIDED, the arm that is marked and not built). There is still no\n * setter; changing the posture is an edit of that constant until one exists.\n */\nexport enum Journey_AutonomyPreset {\n GUIDED = \"guided\",\n YOLO_LIGHT = \"yolo_light\",\n YOLO = \"yolo\",\n}\n\n/*\n * RETIRED 2026-09-17 — the journey's own human-gate vocabulary.\n *\n * `Journey_PendingGate`, `Journey_Cursor.pendingGates`, `Journey_DecisionRecord`,\n * `Journey_DecisionKind` and `Journey_DecisionActor` were all removed together. Every one of them had\n * ZERO consumers outside this file, verified by a source-only sweep across `engine/`, `platform/` and\n * the example applications.\n *\n * `Journey_PendingGate` was declared as \"a human gate awaiting decision, surfaced by the HITL routes\".\n * There were never any HITL routes. Meanwhile the creation lane grew its own ad-hoc question channels\n * — a checkpoint file for a mid-run clarification, an actor-task field for a parked coding run, a\n * playbook declaration for an up-front interview — none of which knew about this type. (The first of\n * those is gone since #1360: a clarification waits on the run's own actor execution row.)\n *\n * The replacement is `HumanDecision_Request` in `@wildo-ai/saas-models`: one payload for what a person\n * is being asked, projected by whichever host owns the suspended work. Populating this type INSTEAD\n * would have produced the second vocabulary the consolidation exists to remove.\n *\n * The decision RECORD went with them for a different reason, and it is the one worth not re-deriving:\n * acceptance in this system is a git commit (`.claude/rules/one-source-of-truth.md`, rules 2 and 3), so\n * a bespoke audit record of \"who approved what, when\" duplicates what the history already carries\n * mergeably, per-commit and signed by the same log everyone audits. Its docstring argued it must be\n * git-versioned precisely BECAUSE the cursor is disposable — which is the argument for using git, not\n * for a record beside it.\n */\n\n/**\n * The journey's declared scope — a FIRST-CLASS concept from day one\n * (design plan S4): the snapshot, choreographer, and coverage judge reason\n * only over the scoped subset. Real journeys iterate module-by-module;\n * the first Wonder Todos dogfood journeys scope to the tasks-manager slice\n * because WT is a deliberately over-built test bench. Omitted axes mean\n * \"no restriction on that axis\".\n */\nexport const Journey_ScopeSchema = z.object({\n moduleIds: z.array(z.string().min(1)).optional(),\n resourceTypes: z.array(z.string().min(1)).optional(),\n});\nexport type Journey_Scope = z.infer<typeof Journey_ScopeSchema>;\n\n/**\n * Journey identity + posture. `budget` carries the JOURNEY-level ceilings\n * (P-28) that cap the sum of all playbook runs; the runner enforces both\n * levels and refuses dispatch once either is hit.\n */\nexport const Journey_DefinitionSchema = z.object({\n journeyId: z.string().min(1),\n title: z.string().min(1).optional(),\n phase: z.enum(MetaWorkflow_Phase),\n autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),\n scope: Journey_ScopeSchema.optional(),\n budget: MetaWorkflow_PlaybookBudgetSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\nexport type Journey_Definition = z.infer<typeof Journey_DefinitionSchema>;\n\n/**\n * The disposable machine-local resume cache (see file header — cursor is\n * NEVER authority; everything in it is either mirrored from git-versioned\n * decisions or re-derivable from the snapshot/control-plane).\n */\nexport const Journey_CursorSchema = z.object({\n journeyId: z.string().min(1),\n phase: z.enum(MetaWorkflow_Phase),\n autonomyPreset: z.enum(Journey_AutonomyPreset).default(Journey_AutonomyPreset.GUIDED),\n resumePointers: z\n .object({\n lastExecutionId: z.string().min(1).optional(),\n lastDecisionRef: z.string().min(1).optional(),\n })\n .optional(),\n updatedAt: z.iso.datetime(),\n});\nexport type Journey_Cursor = z.infer<typeof Journey_CursorSchema>;\n\n\n"]}
1
+ {"version":3,"file":"journey.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/journey.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iEAAiE;AACjE,4CAA4C;AAC5C,0BAA0B;AAC1B,oGAAoG;AACpG,mGAAmG;AACnG,oGAAoG;AACpG,qGAAqG;AACrG,yCAAyC;AACzC,EAAE;AACF,kGAAkG;AAClG,qGAAqG;AACrG,EAAE;AACF,qGAAqG;AACrG,iEAAiE;AAGjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAM,CAAN,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,mDAAyB,CAAA;IACzB,uCAAa,CAAA;AACf,CAAC,EAJW,sBAAsB,KAAtB,sBAAsB,QAIjC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAGH;;;;;;;;;;;GAWG","sourcesContent":["import { z } from \"zod\";\n\n//===============================================================\n// Application creation: journey vocabulary\n// -----------------------\n// There is no journey RECORD. An application's creation state is its working tree, derived on every\n// read: the families that have landed, the eligibility board over them, and the application's line\n// with its derived active set (`describeApplicationActiveSet`, #1607). What cannot be derived lives\n// where the creator decides it, in the creator dossier (`creator-inputs`: the main line, #1603), and\n// durable decisions are the GIT HISTORY.\n//\n// Playbook RUNS are not modeled here either: each run is an actor execution of the meta-workflows\n// actor system, with its task on the existing control plane (the run id IS the execution id, #1358).\n//\n// What remains in this file is vocabulary other code reads: the autonomy preset and the scope shape.\n//===============================================================\n\n\n/**\n * Journey-level autonomy presets (design plan OQ-3 — \"lots of people want\n * quick results\").\n *\n * **Read by the companion since 2026-09-22 (#111):** `APPLICATION_CREATION_AUTONOMY_POSTURE` holds the\n * decided value, and the run checkpoint, the composite round relaunch and the parked-question answer\n * read it (see FIRST READER below). It was authored intent with zero consumers when measured on\n * 2026-08-29; the per-playbook `MetaWorkflow_ApprovalPolicy` it was to map over is still inert, and\n * there is no `wildo journey set-autonomy` command, so the posture changes only by editing that constant.\n *\n * Two claims were removed from this comment on that date and MUST NOT be restored while the\n * mechanism is unbuilt:\n *\n * - the per-preset mapping (GUIDED applies policies as-is / YOLO_LIGHT downgrades code mutations\n * to APPROVE_RESULT at phase boundaries / YOLO runs everything AUTO). It described dispatch no\n * code performs.\n * - **\"THE NON-BYPASSABLE FLOOR (implementation-spec P-28) applies in ALL presets, including\n * YOLO: budget ceilings, destructive operations, and publishing/off-machine side effects\n * hard-gate preset-independently.\"** No such floor runs. A reader deciding whether YOLO is safe\n * to enable would have been reassured by a guarantee that does not exist, and that is the worst\n * shape of unexecuted declaration — worse than `qualityGates`, which merely restated live checks.\n *\n * The enum is kept because nothing else expresses the posture; building it, or deleting it, is a\n * decision tracked as its own issue (#111). Until then it is a design note that happens to be typed.\n *\n * **DECIDED 2026-08-30: DEFERRED DELIBERATELY.** `application-creation-directive.md` — the system\n * must WORK first, restrictions arrive later from a real incident as judge-style guards. So the\n * absence of a preset mechanism is the current intended posture, and a future author should not\n * read it as an oversight.\n *\n * **The rule conflict this comment used to record is SETTLED — do not re-derive it.** It said the\n * two always-on rules disagreed about who may accept: this enum's `YOLO` row means \"the system\n * commits everything automatically\" (`application-creation-directive.md`), while\n * `one-source-of-truth.md` Rule 3 was read as \"only a human commits\". D5 was amended on 2026-09-03\n * (Paul) and names THIS FILE as the record of the conflict it settles: the AUTONOMY POSTURE governs\n * who commits, the current posture is YOLO for all, and \"only a human commits\" describes the GUIDED\n * posture rather than a floor.\n *\n * So what stood between the decided posture and the running system was a MECHANISM, not a decision.\n * Until 2026-09-23 nothing in the runtime performed a commit, so acceptance was a human commit by\n * ABSENCE. **The mechanism now exists for coding runs (#1534):** the companion's coding dispatch loop\n * commits a run's writes through the same pathspec-bounded door the workbench's `accept` uses,\n * whenever `laneBoundaryTreatmentFor(posture, APPROVE_RESULT)` answers notify-and-proceed — YOLO and\n * YOLO_LIGHT do, GUIDED does not. The generated application's `CLAUDE.md` was already written\n * posture-neutrally (*\"WHO makes that commit … is the host's decision\"*) and still tells the agent\n * not to commit, which stays true: the HOST commits, never the agent.\n *\n * What building the preset still owes, from D5 rather than from a fresh decision: the critical gate\n * points stay MARKED in every mechanism (a legally-binding statement leaving the system,\n * critical-risk acceptance, irreversible outward-facing acts) so they can be armed when the posture\n * changes; under YOLO they notify and proceed. Arming them is part of Gate 3's membership test.\n *\n * **FIRST READER, 2026-09-22 (#111):** the companion's `APPLICATION_CREATION_AUTONOMY_POSTURE`\n * constant holds the decided value (`YOLO`), and `laneBoundaryTreatmentFor(posture, decision)` maps\n * it — total over both vocabularies — to what a lane's boundary decision DOES: recorded on the run's\n * row and proceed, or hold the run (GUIDED, the arm that is marked and not built). There is still no\n * setter; changing the posture is an edit of that constant until one exists.\n */\nexport enum Journey_AutonomyPreset {\n GUIDED = \"guided\",\n YOLO_LIGHT = \"yolo_light\",\n YOLO = \"yolo\",\n}\n\n/*\n * RETIRED 2026-09-17 — the journey's own human-gate vocabulary.\n *\n * `Journey_PendingGate`, `Journey_Cursor.pendingGates`, `Journey_DecisionRecord`,\n * `Journey_DecisionKind` and `Journey_DecisionActor` were all removed together. Every one of them had\n * ZERO consumers outside this file, verified by a source-only sweep across `engine/`, `platform/` and\n * the example applications.\n *\n * `Journey_PendingGate` was declared as \"a human gate awaiting decision, surfaced by the HITL routes\".\n * There were never any HITL routes. Meanwhile the creation lane grew its own ad-hoc question channels\n * — a checkpoint file for a mid-run clarification, an actor-task field for a parked coding run, a\n * playbook declaration for an up-front interview — none of which knew about this type. (The first of\n * those is gone since #1360: a clarification waits on the run's own actor execution row.)\n *\n * The replacement is `HumanDecision_Request` in `@wildo-ai/saas-models`: one payload for what a person\n * is being asked, projected by whichever host owns the suspended work. Populating this type INSTEAD\n * would have produced the second vocabulary the consolidation exists to remove.\n *\n * The decision RECORD went with them for a different reason, and it is the one worth not re-deriving:\n * acceptance in this system is a git commit (`.claude/rules/one-source-of-truth.md`, rules 2 and 3), so\n * a bespoke audit record of \"who approved what, when\" duplicates what the history already carries\n * mergeably, per-commit and signed by the same log everyone audits. Its docstring argued it must be\n * git-versioned precisely BECAUSE the cursor is disposable — which is the argument for using git, not\n * for a record beside it.\n */\n\n/**\n * The journey's declared scope — a FIRST-CLASS concept from day one\n * (design plan S4): the snapshot, choreographer, and coverage judge reason\n * only over the scoped subset. Real journeys iterate module-by-module;\n * the first Wonder Todos dogfood journeys scope to the tasks-manager slice\n * because WT is a deliberately over-built test bench. Omitted axes mean\n * \"no restriction on that axis\".\n */\nexport const Journey_ScopeSchema = z.object({\n moduleIds: z.array(z.string().min(1)).optional(),\n resourceTypes: z.array(z.string().min(1)).optional(),\n});\nexport type Journey_Scope = z.infer<typeof Journey_ScopeSchema>;\n\n/*\n * RETIRED 2026-09-26 (#1607) — `Journey_Definition` and `Journey_Cursor`.\n *\n * Both described \"one app-creation run\" with an id, a phase, a budget, timestamps and a GUIDED default\n * posture, and neither had a consumer. The two things they gestured at are answered elsewhere, each\n * where it can stay true: what the APPLICATION is and which playbooks it runs is the creator dossier's\n * line plus the derived active set, and resuming is the actor execution each run already is. A record of\n * derivable state is bookkeeping (`one-source-of-truth.md`); an application is not IN a phase, its\n * state is its tree (`MetaWorkflow_Phase` labels a playbook, never an application); and the journey budget\n * was enforced by nothing. What an application ADDS beyond its line — instances, secondary lines — lands\n * in the dossier with the issues that create them (#1609, #1608).\n */\n"]}
@@ -0,0 +1,28 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * One INSTANCE of a playbook (#1609): the same playbook run for a distinct purpose — one market analysis
4
+ * per segment, one feature development per feature, one refinement per area.
5
+ *
6
+ * An instance is `(playbookRef, instanceKey)`. The DEFAULT instance has no key: it is the playbook's only
7
+ * instance until another is opened, so every run, answer and landed file from before instances existed
8
+ * keeps its meaning with nothing migrated.
9
+ *
10
+ * The key is a kebab-case slug the creator (or the conversation on their behalf) chooses when opening the
11
+ * instance, recorded with its purpose in the dossier's activation record. It is part of the run's identity,
12
+ * never derived from the purpose text: a purpose is prose and can be reworded; the key cannot change
13
+ * without becoming another instance.
14
+ */
15
+ export declare const PlaybookInstanceKeySchema: z.ZodString;
16
+ export type PlaybookInstanceKey = z.infer<typeof PlaybookInstanceKeySchema>;
17
+ /**
18
+ * The one string an instance is addressed by: the playbook ref alone for the default instance, and
19
+ * `<ref>@<key>` otherwise. `@` cannot occur in a playbook ref, so the id parses back unambiguously, and it
20
+ * never collides with the dossier's `<ref>#<question>` answer key.
21
+ */
22
+ export declare function playbookInstanceId(playbookRef: string, instanceKey?: string): string;
23
+ /** The inverse of {@link playbookInstanceId}. */
24
+ export declare function parsePlaybookInstanceId(instanceId: string): {
25
+ readonly playbookRef: string;
26
+ readonly instanceKey?: string;
27
+ };
28
+ //# sourceMappingURL=playbook-instance.application-creation.schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook-instance.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/playbook-instance.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,yBAAyB,aAGoE,CAAC;AAC3G,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAEpF;AAED,iDAAiD;AACjD,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAG3H"}
@@ -0,0 +1,32 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * One INSTANCE of a playbook (#1609): the same playbook run for a distinct purpose — one market analysis
4
+ * per segment, one feature development per feature, one refinement per area.
5
+ *
6
+ * An instance is `(playbookRef, instanceKey)`. The DEFAULT instance has no key: it is the playbook's only
7
+ * instance until another is opened, so every run, answer and landed file from before instances existed
8
+ * keeps its meaning with nothing migrated.
9
+ *
10
+ * The key is a kebab-case slug the creator (or the conversation on their behalf) chooses when opening the
11
+ * instance, recorded with its purpose in the dossier's activation record. It is part of the run's identity,
12
+ * never derived from the purpose text: a purpose is prose and can be reworded; the key cannot change
13
+ * without becoming another instance.
14
+ */
15
+ export const PlaybookInstanceKeySchema = z
16
+ .string()
17
+ .trim()
18
+ .regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u, "an instance key is a kebab-case slug, e.g. `enterprise-segment`");
19
+ /**
20
+ * The one string an instance is addressed by: the playbook ref alone for the default instance, and
21
+ * `<ref>@<key>` otherwise. `@` cannot occur in a playbook ref, so the id parses back unambiguously, and it
22
+ * never collides with the dossier's `<ref>#<question>` answer key.
23
+ */
24
+ export function playbookInstanceId(playbookRef, instanceKey) {
25
+ return instanceKey === undefined ? playbookRef : `${playbookRef}@${instanceKey}`;
26
+ }
27
+ /** The inverse of {@link playbookInstanceId}. */
28
+ export function parsePlaybookInstanceId(instanceId) {
29
+ const at = instanceId.indexOf("@");
30
+ return at < 0 ? { playbookRef: instanceId } : { playbookRef: instanceId.slice(0, at), instanceKey: instanceId.slice(at + 1) };
31
+ }
32
+ //# sourceMappingURL=playbook-instance.application-creation.schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook-instance.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/playbook-instance.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,KAAK,CAAC,6BAA6B,EAAE,iEAAiE,CAAC,CAAC;AAG3G;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,WAAmB,EAAE,WAAoB;IAC1E,OAAO,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,IAAI,WAAW,EAAE,CAAC;AACnF,CAAC;AAED,iDAAiD;AACjD,MAAM,UAAU,uBAAuB,CAAC,UAAkB;IACxD,MAAM,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACnC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,WAAW,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC;AAChI,CAAC","sourcesContent":["import { z } from \"zod\";\n\n/**\n * One INSTANCE of a playbook (#1609): the same playbook run for a distinct purpose — one market analysis\n * per segment, one feature development per feature, one refinement per area.\n *\n * An instance is `(playbookRef, instanceKey)`. The DEFAULT instance has no key: it is the playbook's only\n * instance until another is opened, so every run, answer and landed file from before instances existed\n * keeps its meaning with nothing migrated.\n *\n * The key is a kebab-case slug the creator (or the conversation on their behalf) chooses when opening the\n * instance, recorded with its purpose in the dossier's activation record. It is part of the run's identity,\n * never derived from the purpose text: a purpose is prose and can be reworded; the key cannot change\n * without becoming another instance.\n */\nexport const PlaybookInstanceKeySchema = z\n .string()\n .trim()\n .regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u, \"an instance key is a kebab-case slug, e.g. `enterprise-segment`\");\nexport type PlaybookInstanceKey = z.infer<typeof PlaybookInstanceKeySchema>;\n\n/**\n * The one string an instance is addressed by: the playbook ref alone for the default instance, and\n * `<ref>@<key>` otherwise. `@` cannot occur in a playbook ref, so the id parses back unambiguously, and it\n * never collides with the dossier's `<ref>#<question>` answer key.\n */\nexport function playbookInstanceId(playbookRef: string, instanceKey?: string): string {\n return instanceKey === undefined ? playbookRef : `${playbookRef}@${instanceKey}`;\n}\n\n/** The inverse of {@link playbookInstanceId}. */\nexport function parsePlaybookInstanceId(instanceId: string): { readonly playbookRef: string; readonly instanceKey?: string } {\n const at = instanceId.indexOf(\"@\");\n return at < 0 ? { playbookRef: instanceId } : { playbookRef: instanceId.slice(0, at), instanceKey: instanceId.slice(at + 1) };\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { HumanDecision_FieldKind } from "@wildo-ai/saas-models";
3
- import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy } from "@wildo-ai/saas-models/meta-workflows";
3
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind } from "@wildo-ai/saas-models/meta-workflows";
4
4
  /**
5
5
  * The KIND OF REASONING a playbook embodies — a taxonomy label on the playbook, and nothing else.
6
6
  *
@@ -447,31 +447,39 @@ export declare const MetaWorkflowPlaybookSchema: z.ZodObject<{
447
447
  phase: z.ZodEnum<typeof MetaWorkflow_Phase>;
448
448
  intent: z.ZodString;
449
449
  preconditions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
450
- kind: z.ZodLiteral<import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_PredicateKind.ARTIFACT_EXISTS>;
450
+ kind: z.ZodLiteral<MetaWorkflow_PredicateKind.ARTIFACT_EXISTS>;
451
451
  selector: z.ZodObject<{
452
452
  family: z.ZodString;
453
453
  intent: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_ArtifactIntent>>;
454
454
  }, z.core.$strip>;
455
455
  }, z.core.$strip>, z.ZodObject<{
456
- kind: z.ZodLiteral<import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_PredicateKind.ARTIFACT_VALID>;
456
+ kind: z.ZodLiteral<MetaWorkflow_PredicateKind.ARTIFACT_VALID>;
457
457
  selector: z.ZodObject<{
458
458
  family: z.ZodString;
459
459
  intent: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_ArtifactIntent>>;
460
460
  }, z.core.$strip>;
461
461
  }, z.core.$strip>, z.ZodObject<{
462
- kind: z.ZodLiteral<import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_PredicateKind.ARTIFACT_EXPECTED>;
462
+ kind: z.ZodLiteral<MetaWorkflow_PredicateKind.ARTIFACT_EXPECTED>;
463
463
  selector: z.ZodObject<{
464
464
  family: z.ZodString;
465
465
  intent: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_ArtifactIntent>>;
466
466
  }, z.core.$strip>;
467
467
  }, z.core.$strip>, z.ZodObject<{
468
- kind: z.ZodLiteral<import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_PredicateKind.ARTIFACT_STALE>;
468
+ kind: z.ZodLiteral<MetaWorkflow_PredicateKind.ARTIFACT_STALE>;
469
469
  selector: z.ZodObject<{
470
470
  family: z.ZodString;
471
471
  intent: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_ArtifactIntent>>;
472
472
  }, z.core.$strip>;
473
473
  }, z.core.$strip>, z.ZodObject<{
474
- kind: z.ZodLiteral<import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_PredicateKind.STEP_AVAILABLE>;
474
+ kind: z.ZodLiteral<MetaWorkflow_PredicateKind.ARTIFACT_DECIDES>;
475
+ selector: z.ZodObject<{
476
+ family: z.ZodString;
477
+ intent: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_ArtifactIntent>>;
478
+ }, z.core.$strip>;
479
+ decision: z.ZodString;
480
+ equals: z.ZodString;
481
+ }, z.core.$strip>, z.ZodObject<{
482
+ kind: z.ZodLiteral<MetaWorkflow_PredicateKind.STEP_AVAILABLE>;
475
483
  ref: z.ZodString;
476
484
  requires: z.ZodOptional<z.ZodObject<{
477
485
  path: z.ZodString;
@@ -514,6 +522,10 @@ export declare const MetaWorkflowPlaybookSchema: z.ZodObject<{
514
522
  question: z.ZodString;
515
523
  kind: z.ZodEnum<typeof HumanDecision_FieldKind>;
516
524
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
525
+ sameDecisionAs: z.ZodOptional<z.ZodObject<{
526
+ playbookRef: z.ZodString;
527
+ questionRef: z.ZodString;
528
+ }, z.core.$strip>>;
517
529
  }, z.core.$strip>>;
518
530
  }, z.core.$strip>>;
519
531
  contextSources: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof MetaWorkflow_ContextSource>>>;
@@ -524,6 +536,14 @@ export declare const MetaWorkflowPlaybookSchema: z.ZodObject<{
524
536
  maximumLanesPerIteration: z.ZodDefault<z.ZodNumber>;
525
537
  maximumDepth: z.ZodDefault<z.ZodNumber>;
526
538
  maximumDurationMs: z.ZodDefault<z.ZodNumber>;
539
+ reopenOnVerdict: z.ZodOptional<z.ZodArray<z.ZodObject<{
540
+ whenVerdictOf: z.ZodString;
541
+ via: z.ZodOptional<z.ZodString>;
542
+ criterionRef: z.ZodOptional<z.ZodString>;
543
+ verdicts: z.ZodArray<z.ZodEnum<typeof import("@wildo-ai/saas-models/meta-workflows").MetaWorkflow_EvaluationVerdict>>;
544
+ reopen: z.ZodArray<z.ZodString>;
545
+ }, z.core.$strict>>>;
546
+ actsOnApplication: z.ZodOptional<z.ZodArray<z.ZodString>>;
527
547
  }, z.core.$strip>>;
528
548
  suspendsForClarification: z.ZodDefault<z.ZodBoolean>;
529
549
  briefAdequacyGate: z.ZodDefault<z.ZodBoolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"playbooks.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/playbooks.application-creation.schemas.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"playbooks.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/playbooks.application-creation.schemas.ts"],"names":[],"mappings":"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"}
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
- import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ArtifactContractSchema, MetaWorkflow_ArtifactSelectorSchema, MetaWorkflow_ChoreographySchema, MetaWorkflow_ElicitationSpecSchema, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_JourneyPredicateSchema, MetaWorkflow_PlaybookBudgetSchema, MetaWorkflow_PlaybookDeliberationSchema, MetaWorkflow_StepOutputContractSchema, } from "@wildo-ai/saas-models/meta-workflows";
2
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ArtifactContractSchema, MetaWorkflow_ArtifactSelectorSchema, MetaWorkflow_ChoreographySchema, MetaWorkflow_ElicitationSpecSchema, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_JourneyPredicateSchema, MetaWorkflow_PlaybookBudgetSchema, MetaWorkflow_PlaybookDeliberationSchema, MetaWorkflow_PredicateKind, MetaWorkflow_StepOutputContractSchema, } from "@wildo-ai/saas-models/meta-workflows";
3
+ import { getApplicationSpecificationFamilyDecision } from "./application-specification-family-decisions.application-creation.schemas.js";
3
4
  //===============================================================
4
5
  // Meta-Workflow Playbooks
5
6
  // -------------------------
@@ -761,5 +762,31 @@ export const MetaWorkflowPlaybookSchema = z.object({
761
762
  approval: z.enum(MetaWorkflow_ApprovalPolicy),
762
763
  budget: MetaWorkflow_PlaybookBudgetSchema,
763
764
  onFailure: z.enum(MetaWorkflow_FailurePolicy),
765
+ }).superRefine((playbook, context) => {
766
+ /*
767
+ * An `artifact_decides` gate names a decision its family DECLARES, and one member of that decision's
768
+ * vocabulary (#1606). Refused here, where the generator parses every playbook, because a misspelt
769
+ * decision or value would otherwise make the playbook ineligible forever and report nothing.
770
+ */
771
+ playbook.preconditions.forEach((predicate, index) => {
772
+ if (predicate.kind !== MetaWorkflow_PredicateKind.ARTIFACT_DECIDES)
773
+ return;
774
+ const decision = getApplicationSpecificationFamilyDecision(predicate.selector.family, predicate.decision);
775
+ if (decision === undefined) {
776
+ context.addIssue({
777
+ code: "custom",
778
+ path: ["preconditions", index, "decision"],
779
+ message: `"${predicate.selector.family}" declares no decision "${predicate.decision}" (APPLICATION_SPECIFICATION_FAMILY_DECISIONS).`,
780
+ });
781
+ return;
782
+ }
783
+ if (!decision.vocabulary.includes(predicate.equals)) {
784
+ context.addIssue({
785
+ code: "custom",
786
+ path: ["preconditions", index, "equals"],
787
+ message: `"${predicate.equals}" is not a value of "${predicate.selector.family}" decision "${predicate.decision}"; expected one of ${decision.vocabulary.join(", ")}.`,
788
+ });
789
+ }
790
+ });
764
791
  });
765
792
  //# sourceMappingURL=playbooks.application-creation.schemas.js.map