@wildo-ai/saas-specifications 1.1.1 → 1.1.2

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 (423) hide show
  1. package/dist/assurance/external-framework-mapping.json +980 -0
  2. package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
  3. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
  4. package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
  5. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
  6. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
  7. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
  8. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
  9. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
  10. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
  11. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
  12. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
  13. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
  14. package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
  15. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  16. package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
  17. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
  18. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  19. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
  20. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  21. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +168 -2
  22. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  23. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +98 -9
  24. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  25. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
  26. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
  27. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
  28. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
  29. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  30. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
  31. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  32. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
  33. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
  34. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
  35. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
  36. package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
  37. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  39. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
  40. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
  41. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
  42. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
  43. package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
  44. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  45. package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
  46. package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
  47. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
  48. package/dist/esm/_core/family-aspects.registry.js +60 -0
  49. package/dist/esm/_core/family-aspects.registry.js.map +1 -0
  50. package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
  51. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
  52. package/dist/esm/_core/family-aspects.schemas.js +15 -0
  53. package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
  54. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
  55. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
  56. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
  57. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
  58. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
  59. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
  60. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
  62. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  63. package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
  64. package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
  65. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
  66. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  67. package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
  68. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
  69. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  70. package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
  71. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  72. package/dist/esm/_core/index.d.ts +2 -0
  73. package/dist/esm/_core/index.d.ts.map +1 -1
  74. package/dist/esm/_core/index.js +2 -0
  75. package/dist/esm/_core/index.js.map +1 -1
  76. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
  77. package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
  78. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
  79. package/dist/esm/_core/market/market.family-aspects.js +227 -0
  80. package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
  81. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
  82. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  83. package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
  84. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  85. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
  86. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
  87. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
  88. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
  89. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
  90. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
  91. package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
  92. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
  93. package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
  94. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  95. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  96. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
  97. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
  98. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
  99. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
  100. package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
  101. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
  102. package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
  103. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
  104. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +188 -33
  105. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  106. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +158 -57
  107. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  108. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
  109. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  110. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
  111. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  112. package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
  113. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
  114. package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
  115. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
  116. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
  117. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
  118. package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
  119. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
  120. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +93 -62
  121. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  122. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +114 -59
  123. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  124. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
  125. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  126. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
  127. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  128. package/dist/esm/application-creation.exports.d.ts +11 -0
  129. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  130. package/dist/esm/application-creation.exports.js +11 -0
  131. package/dist/esm/application-creation.exports.js.map +1 -1
  132. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +976 -2
  133. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  134. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2026 -61
  135. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  136. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +1 -0
  137. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  138. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  139. package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
  140. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  141. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
  142. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  143. package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
  144. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  145. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
  146. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
  147. package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
  148. package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
  149. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +71 -1
  150. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  151. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +545 -5
  152. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  153. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +141 -0
  154. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
  155. package/dist/esm/assurance/assurance-program-generation.schemas.js +377 -0
  156. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
  157. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
  158. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
  159. package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
  160. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
  161. package/dist/esm/assurance/assurance-program.schemas.d.ts +30 -6
  162. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  163. package/dist/esm/assurance/assurance-program.schemas.js +29 -6
  164. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  165. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
  166. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  167. package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
  168. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  169. package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
  170. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  171. package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
  172. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  173. package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
  174. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
  175. package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
  176. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
  177. package/dist/esm/assurance.exports.d.ts +2 -0
  178. package/dist/esm/assurance.exports.d.ts.map +1 -1
  179. package/dist/esm/assurance.exports.js +2 -0
  180. package/dist/esm/assurance.exports.js.map +1 -1
  181. package/dist/esm/companion-exports.d.ts +19 -2
  182. package/dist/esm/companion-exports.d.ts.map +1 -1
  183. package/dist/esm/companion-exports.js.map +1 -1
  184. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  185. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +2 -0
  186. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  187. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  188. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +3 -1
  189. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  190. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  191. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +3 -1
  192. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  193. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  194. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +3 -1
  195. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  196. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  197. package/dist/esm/engine/applications/resources/applications.resource.specification.js +3 -1
  198. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  199. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
  200. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
  201. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
  202. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
  203. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
  204. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  205. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -0
  206. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  207. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  208. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +2 -0
  209. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  210. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  211. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +3 -1
  212. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  213. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
  214. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  215. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +2 -0
  216. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  217. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  218. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +2 -0
  219. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  220. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  221. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +2 -0
  222. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  223. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  224. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -0
  225. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  226. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  227. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +6 -4
  228. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  229. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  230. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +2 -0
  231. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  232. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  233. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
  234. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  235. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
  236. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  237. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -0
  238. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  239. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
  240. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  241. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +2 -0
  242. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  243. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
  244. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  245. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +2 -0
  246. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  247. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  248. package/dist/esm/engine/billing/resources/prices.resource.specification.js +3 -1
  249. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  250. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  251. package/dist/esm/engine/billing/resources/products.resource.specification.js +3 -1
  252. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  253. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  254. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +2 -0
  255. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  256. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  257. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +3 -1
  258. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  259. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
  260. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  261. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +2 -0
  262. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  263. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +6 -6
  264. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  265. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -0
  266. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  267. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  268. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +2 -0
  269. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  270. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  271. package/dist/esm/engine/engine-resource-specifications.registry.js +5 -0
  272. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  273. package/dist/esm/engine/engine-resource-sub-domain.d.ts +63 -0
  274. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
  275. package/dist/esm/engine/engine-resource-sub-domain.js +87 -0
  276. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
  277. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  278. package/dist/esm/engine/errors/error-messages.specification.js +30 -1
  279. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  280. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  281. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -0
  282. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  283. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  284. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +2 -0
  285. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  287. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  288. package/dist/esm/engine/features/resources/user-features.resource.specification.js +2 -0
  289. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  290. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/files/resources/files.resource.specification.js +2 -0
  292. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
  294. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  295. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +12 -0
  296. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  297. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
  298. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  299. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +2 -0
  300. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  301. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
  302. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  303. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +2 -0
  304. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  305. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  306. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  307. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
  308. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  309. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  310. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
  311. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  312. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
  313. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  314. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +3 -0
  315. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  316. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
  317. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  318. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +3 -0
  319. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  320. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +1 -1
  321. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  322. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +3 -0
  323. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  324. package/dist/esm/engine/index.d.ts +1 -0
  325. package/dist/esm/engine/index.d.ts.map +1 -1
  326. package/dist/esm/engine/index.js +1 -0
  327. package/dist/esm/engine/index.js.map +1 -1
  328. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  329. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -0
  330. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  331. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  332. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +2 -0
  333. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  334. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  335. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -0
  336. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  337. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  338. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +2 -0
  339. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  340. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  341. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +2 -0
  342. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  343. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  344. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  345. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +3 -0
  346. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  347. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  348. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +2 -0
  349. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  350. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  351. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  352. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +2 -0
  353. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  354. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -0
  356. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  358. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -0
  359. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  360. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  361. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -0
  362. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  363. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  364. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +2 -0
  365. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  366. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  367. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
  368. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  369. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  370. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +2 -0
  371. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  372. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  373. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -0
  374. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  375. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
  376. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  377. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -0
  378. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  379. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
  380. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  381. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -0
  382. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  383. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  384. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  385. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +2 -0
  386. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  387. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +1 -1
  388. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  389. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +2 -0
  390. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  391. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
  392. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  393. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +2 -0
  394. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  395. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +1 -1
  396. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  397. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +2 -0
  398. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  399. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
  400. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  401. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +2 -0
  402. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  403. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  404. package/dist/esm/engine/users/resources/user-self.resource.specification.js +3 -1
  405. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  406. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/users/resources/users.resource.specification.js +2 -0
  408. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  409. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
  410. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  411. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +385 -9
  412. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  413. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +1 -1
  414. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  415. package/dist/tsconfig.build.tsbuildinfo +1 -0
  416. package/package.json +8 -8
  417. package/dist/esm/.builder.pid +0 -9
  418. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
  419. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
  420. package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
  421. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
  422. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
  423. package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
@@ -0,0 +1,37 @@
1
+ import { ApplicationSpecificationFamilySemanticSchemaRef } from './application-specification-family-identity.application-creation.schemas.js';
2
+ import { FamilyAspectKind } from '../_core/family-aspects.schemas.js';
3
+ import { ApplicationAuthoredDocumentFactDeclarationSchema, ApplicationDerivedDocumentFactDeclarationSchema, } from './application-document-fact-specification.application-creation.schemas.js';
4
+ const documentFactDeclarationAspect = (
5
+ // Aspect keys are GLOBALLY unique across the registry (pinned in `family-aspects.registry.test.ts`),
6
+ // so the two families cannot share one even though the row they describe is the same shape.
7
+ key, itemSchema) => ({
8
+ key,
9
+ snapshotPath: 'declarations',
10
+ kind: FamilyAspectKind.COLLECTION,
11
+ // A discriminated union (KNOWN | NOT_APPLICABLE) — the drift pins read its MERGED shape.
12
+ itemSchema,
13
+ businessKey: 'declarationRef',
14
+ headlineField: 'factRef',
15
+ edges: [],
16
+ nonEdgeRefFields: {
17
+ factRef: 'document-fact catalog key — the row RESOLVES this fact; the catalog is a vocabulary, not an aspect',
18
+ sensitivityRef: 'sensitivity vocabulary key',
19
+ },
20
+ });
21
+ export const DOCUMENT_FACTS_FAMILY_ASPECTS = {
22
+ schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_DOCUMENT_FACT_SPECIFICATION,
23
+ aspects: [documentFactDeclarationAspect('document-facts.declaration', ApplicationDerivedDocumentFactDeclarationSchema)],
24
+ };
25
+ /**
26
+ * The AUTHORED half's aspects (#192).
27
+ *
28
+ * Same snapshot path, same business key, same headline — the two families describe the same kind of
29
+ * row and differ only in who may assert it, so an aspect declaration that differed elsewhere would be
30
+ * describing a difference that does not exist. The `itemSchema` is the narrowed one, which is where
31
+ * the difference actually lives; the KEY differs only because keys are globally unique.
32
+ */
33
+ export const AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS = {
34
+ schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_AUTHORED_DOCUMENT_FACT_SPECIFICATION,
35
+ aspects: [documentFactDeclarationAspect('document-facts-authored.declaration', ApplicationAuthoredDocumentFactDeclarationSchema)],
36
+ };
37
+ //# sourceMappingURL=document-facts.family-aspects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-facts.family-aspects.js","sourceRoot":"","sources":["../../../../src/application-creation/document-facts.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,0EAA0E,CAAC;AAE3I,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EACL,gDAAgD,EAChD,+CAA+C,GAChD,MAAM,wEAAwE,CAAC;AAEhF,MAAM,6BAA6B,GAAG;AACpC,qGAAqG;AACrG,4FAA4F;AAC5F,GAAuD,EACvD,UAAqE,EACxB,EAAE,CAAC,CAAC;IACjD,GAAG;IACH,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,gBAAgB,CAAC,UAAU;IACjC,yFAAyF;IACzF,UAAU;IACV,WAAW,EAAE,gBAAgB;IAC7B,aAAa,EAAE,SAAS;IACxB,KAAK,EAAE,EAAE;IACT,gBAAgB,EAAE;QAChB,OAAO,EAAE,oGAAoG;QAC7G,cAAc,EAAE,4BAA4B;KAC7C;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAA6B;IACrE,SAAS,EAAE,+CAA+C,CAAC,uCAAuC;IAClG,OAAO,EAAE,CAAC,6BAA6B,CAAC,4BAA4B,EAAE,+CAA+C,CAAC,CAAC;CACxH,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAA6B;IAC9E,SAAS,EAAE,+CAA+C,CAAC,gDAAgD;IAC3G,OAAO,EAAE,CAAC,6BAA6B,CAAC,qCAAqC,EAAE,gDAAgD,CAAC,CAAC;CAClI,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from './application-specification-family-identity.application-creation.schemas';\nimport type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';\nimport { FamilyAspectKind } from '../_core/family-aspects.schemas';\nimport {\n ApplicationAuthoredDocumentFactDeclarationSchema,\n ApplicationDerivedDocumentFactDeclarationSchema,\n} from './application-document-fact-specification.application-creation.schemas';\n\nconst documentFactDeclarationAspect = (\n // Aspect keys are GLOBALLY unique across the registry (pinned in `family-aspects.registry.test.ts`),\n // so the two families cannot share one even though the row they describe is the same shape.\n key: FamilyAspectsDeclaration['aspects'][number]['key'],\n itemSchema: FamilyAspectsDeclaration['aspects'][number]['itemSchema'],\n): FamilyAspectsDeclaration['aspects'][number] => ({\n key,\n snapshotPath: 'declarations',\n kind: FamilyAspectKind.COLLECTION,\n // A discriminated union (KNOWN | NOT_APPLICABLE) — the drift pins read its MERGED shape.\n itemSchema,\n businessKey: 'declarationRef',\n headlineField: 'factRef',\n edges: [],\n nonEdgeRefFields: {\n factRef: 'document-fact catalog key — the row RESOLVES this fact; the catalog is a vocabulary, not an aspect',\n sensitivityRef: 'sensitivity vocabulary key',\n },\n});\n\nexport const DOCUMENT_FACTS_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_DOCUMENT_FACT_SPECIFICATION,\n aspects: [documentFactDeclarationAspect('document-facts.declaration', ApplicationDerivedDocumentFactDeclarationSchema)],\n};\n\n/**\n * The AUTHORED half's aspects (#192).\n *\n * Same snapshot path, same business key, same headline — the two families describe the same kind of\n * row and differ only in who may assert it, so an aspect declaration that differed elsewhere would be\n * describing a difference that does not exist. The `itemSchema` is the narrowed one, which is where\n * the difference actually lives; the KEY differs only because keys are globally unique.\n */\nexport const AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_AUTHORED_DOCUMENT_FACT_SPECIFICATION,\n aspects: [documentFactDeclarationAspect('document-facts-authored.declaration', ApplicationAuthoredDocumentFactDeclarationSchema)],\n};\n"]}
@@ -0,0 +1,3 @@
1
+ import type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';
2
+ export declare const DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS: FamilyAspectsDeclaration;
3
+ //# sourceMappingURL=document-release-policy.family-aspects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-release-policy.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/document-release-policy.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAIhF,eAAO,MAAM,sCAAsC,EAAE,wBAkBpD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { ApplicationSpecificationFamilySemanticSchemaRef } from './application-specification-family-identity.application-creation.schemas.js';
2
+ import { FamilyAspectKind } from '../_core/family-aspects.schemas.js';
3
+ import { ApplicationDocumentReleasePolicySelectionV1Schema } from './application-document-release-policy-specification.application-creation.schemas.js';
4
+ export const DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS = {
5
+ schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_DOCUMENT_RELEASE_POLICY_SPECIFICATION,
6
+ aspects: [
7
+ {
8
+ key: 'release-policy.selection',
9
+ snapshotPath: 'selections',
10
+ kind: FamilyAspectKind.COLLECTION,
11
+ itemSchema: ApplicationDocumentReleasePolicySelectionV1Schema,
12
+ businessKey: 'requirementRef',
13
+ headlineField: 'requirementRef',
14
+ edges: [],
15
+ nonEdgeRefFields: {
16
+ requirementRef: 'governed-document requirement catalog key — the selection SUBJECT, also its business key',
17
+ policyRef: 'assurance release-policy catalog key',
18
+ operatorAttestationLimitationRefs: 'attestation-limitation vocabulary keys',
19
+ },
20
+ },
21
+ ],
22
+ };
23
+ //# sourceMappingURL=document-release-policy.family-aspects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-release-policy.family-aspects.js","sourceRoot":"","sources":["../../../../src/application-creation/document-release-policy.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,0EAA0E,CAAC;AAE3I,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,iDAAiD,EAAE,MAAM,kFAAkF,CAAC;AAErJ,MAAM,CAAC,MAAM,sCAAsC,GAA6B;IAC9E,SAAS,EAAE,+CAA+C,CAAC,iDAAiD;IAC5G,OAAO,EAAE;QACP;YACE,GAAG,EAAE,0BAA0B;YAC/B,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iDAAiD;YAC7D,WAAW,EAAE,gBAAgB;YAC7B,aAAa,EAAE,gBAAgB;YAC/B,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,cAAc,EAAE,0FAA0F;gBAC1G,SAAS,EAAE,sCAAsC;gBACjD,iCAAiC,EAAE,wCAAwC;aAC5E;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from './application-specification-family-identity.application-creation.schemas';\nimport type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';\nimport { FamilyAspectKind } from '../_core/family-aspects.schemas';\nimport { ApplicationDocumentReleasePolicySelectionV1Schema } from './application-document-release-policy-specification.application-creation.schemas';\n\nexport const DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_DOCUMENT_RELEASE_POLICY_SPECIFICATION,\n aspects: [\n {\n key: 'release-policy.selection',\n snapshotPath: 'selections',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ApplicationDocumentReleasePolicySelectionV1Schema,\n businessKey: 'requirementRef',\n headlineField: 'requirementRef',\n edges: [],\n nonEdgeRefFields: {\n requirementRef: 'governed-document requirement catalog key — the selection SUBJECT, also its business key',\n policyRef: 'assurance release-policy catalog key',\n operatorAttestationLimitationRefs: 'attestation-limitation vocabulary keys',\n },\n },\n ],\n};\n"]}
@@ -1,46 +1,54 @@
1
1
  import { z } from "zod";
2
2
  import { AppsBlueprint_AgentPersonas } from "@wildo-ai/saas-models/meta-workflows";
3
3
  import { ExpertWorkDomain } from "@wildo-ai/saas-models";
4
- /** Macro phase of the app-creation journey a playbook belongs to. */
4
+ /**
5
+ * The KIND OF REASONING a playbook embodies — a taxonomy label on the playbook, and nothing else.
6
+ *
7
+ * ## What this is NOT, since 2026-09-04
8
+ *
9
+ * It is not a state an application can be in. There was a `deriveJourneyPhase` that computed one —
10
+ * `bottom_up` the moment `domain-plan` or `build-plan` had content, monotonic and irreversible — and
11
+ * 19 playbooks gated on matching it. It has been deleted, along with the `PHASE_IS` predicate, and
12
+ * neither should come back.
13
+ *
14
+ * The reason is recorded in `.claude/context/app-creation-composite-choreography.md` §13: **an
15
+ * evolving application is not in a phase; it is in a STATE, and the state is the tree.** Top-down and
16
+ * bottom-up are ways of APPROACHING a problem. An application holds artifacts produced by both, all
17
+ * of them still valid inputs, and moving between the modes is ordinary product work. What legitimately
18
+ * constrains what may run is DEPENDENCY, and the ARTIFACT preconditions express that exactly.
19
+ *
20
+ * The derived phase failed in three separate ways at once, all measured before it went:
21
+ *
22
+ * - on the `bottom_up` side it was **provably redundant** — every playbook gated on it already
23
+ * required `domain-plan` or `build-plan`, the two families that DEFINED the phase, so it could
24
+ * refuse nothing readiness had not already refused;
25
+ * - it contained a **deadlock**: `bottom_up.domain-plan` gated on `bottom_up` and PRODUCED the family
26
+ * that creates it, so the unattended loop could never enter that phase at all;
27
+ * - on the `top_down` side it blocked **return**, not incoherence — after a domain plan landed, the
28
+ * loop could never revisit market analysis or requirements, whose real inputs were still valid.
29
+ *
30
+ * Three patches preserved it before it was removed: reclassifying `PHASE_IS` as SEQUENCING so humans
31
+ * could bypass it, removing the gate from one playbook (#116), and threading a
32
+ * `proceedPastSequencing` flag through the choreography so a composite's children inherited the
33
+ * parent's bypass. Each moved the pain to the next caller.
34
+ *
35
+ * ## What it still does
36
+ *
37
+ * It labels a playbook, which is true and useful: it says what kind of thinking that playbook
38
+ * embodies, and it groups the catalog for whoever reads it. Nothing gates on it, so every member is
39
+ * equally usable — {@link MetaWorkflow_Phase.REFINEMENT} and {@link MetaWorkflow_Phase.CROSS_CUTTING}
40
+ * were "unreachable" only because a gate demanded a derivation that could not produce them.
41
+ */
5
42
  export declare enum MetaWorkflow_Phase {
43
+ /** Reasoning from intent down to structure: vision, market, requirements, roadmap, compliance posture. */
6
44
  TOP_DOWN = "top_down",
45
+ /** Reasoning from structure up: the domain model, the build plan, placement, execution. */
7
46
  BOTTOM_UP = "bottom_up",
8
- /**
9
- * NOT DERIVABLE — `deriveJourneyPhase` returns only TOP_DOWN or BOTTOM_UP, so the unattended loop
10
- * can never select a playbook gating on `PHASE_IS: REFINEMENT`. `refinement.document-facts` does
11
- * exactly that. An explicit human run may proceed past it (PHASE_IS is SEQUENCING); the loop may
12
- * not. Kept, not deleted: refinement is a real phase two playbooks declare — what is missing is the
13
- * derivation, or their gate. Issue #116.
14
- */
47
+ /** Revisiting a produced artifact against what the application has since become. */
15
48
  REFINEMENT = "refinement",
16
- /** Declared by no playbook and derivable by nothing — a phase that cannot be entered. Issue #116. */
49
+ /** Work that belongs to no single direction. */
17
50
  CROSS_CUTTING = "cross_cutting"
18
51
  }
19
- /**
20
- * The phases a journey can actually BE IN — the subset of {@link MetaWorkflow_Phase} that
21
- * `deriveJourneyPhase` (application-creation runtime) can return.
22
- *
23
- * This exists because the enum and the derivation disagreed silently. `MetaWorkflow_Phase` declares
24
- * four members; the derivation returns two. A playbook gating on `PHASE_IS` with either of the other
25
- * two can never be selected by the unattended loop — and nothing reported it, because an ineligible
26
- * playbook never reaches the eligibility board. That is how `refinement.document-facts` came to be
27
- * unreachable from the day it was authored (issue #116), the fifth instance of one pattern: a
28
- * capability that exists and cannot be reached, found by accident rather than by a check.
29
- *
30
- * It lives HERE, beside the vocabulary, rather than in the runtime that computes it, because two
31
- * consumers need it and only one of them can execute the derivation: the runtime, which must not
32
- * return anything outside it, and the framework-knowledge AUDIT, which is a static reader of the
33
- * compiled catalog and cannot call a function. A checker that hardcoded its own copy would be a
34
- * second authority on the same fact.
35
- *
36
- * Both copies are pinned: `playbook-eligibility.application-creation.service.test.ts` asserts that
37
- * `deriveJourneyPhase` returns only members of this set AND that every member is reachable, so
38
- * widening the derivation without widening this constant — or the reverse — reddens a test.
39
- *
40
- * Widen it only when the derivation genuinely learns a new phase. Adding a member here to silence an
41
- * audit finding would invert the rule: the finding is the report that a gate cannot be satisfied.
42
- */
43
- export declare const META_WORKFLOW_DERIVABLE_PHASES: readonly MetaWorkflow_Phase[];
44
52
  /**
45
53
  * The seven functional topics of the canonical app-development workflow taxonomy — a **BUILD**
46
54
  * taxonomy, in build order: configure the foundation, model the domain, define interaction, shape
@@ -52,13 +60,18 @@ export declare const META_WORKFLOW_DERIVABLE_PHASES: readonly MetaWorkflow_Phase
52
60
  * |---|---|
53
61
  * | `BuildPlanTask.functionalTopic` | **LIVE** — stamped into the coding-agent dispatch payload as context the agent reads |
54
62
  * | `MetaWorkflowPlaybook.functionalTopics` | **AUTHORED INTENT ONLY** — the compiler copies it into the compiled catalog and nothing else reads it |
55
- * | `MetaWorkflow_PredicateKind.TOPIC_COMPLETE` | **PRESENT AND PERMANENTLY UNSATISFIABLE** — a real precondition kind with a real evaluator that always returns `satisfied: false`, because topic completion was a journey-record fact and nothing derives it from the working tree. Zero playbooks gate on it |
63
+ * | `MetaWorkflow_PredicateKind.TOPIC_COMPLETE` | **GONE (2026-09-05)** — it was a real precondition kind whose evaluator always returned `satisfied: false`, because topic completion was a journey-record fact and nothing derives it from the working tree. Zero playbooks ever gated on it |
56
64
  *
57
65
  * So a topic reaches exactly one decision anywhere: none. Build-task ordering is
58
- * `prerequisiteTaskRefs` alone. Playbook eligibility is `preconditions`, and the one precondition
59
- * keyed on a topic can never be satisfied — a playbook that gated on it would be permanently
60
- * ineligible, which is the failure shape issue #116 records for `PHASE_IS`. Do not author a
61
- * `TOPIC_COMPLETE` precondition until something derives completion.
66
+ * `prerequisiteTaskRefs` alone, and playbook eligibility is `preconditions` — where the one kind
67
+ * keyed on a topic could never be satisfied, so any playbook declaring it would have been permanently
68
+ * ineligible with nothing reporting it. It followed `PHASE_IS` out on 2026-09-05 for exactly that
69
+ * reason: both gated on a derived global state that nothing derives (see {@link MetaWorkflow_Phase}).
70
+ *
71
+ * The vocabulary itself stays, because `BuildPlanTask.functionalTopic` is live. What went is the idea
72
+ * that a topic could grant PERMISSION. If completion ever becomes derivable from the working tree,
73
+ * it belongs as an artifact-shaped precondition or as a runtime-synthesized verdict — not as a new
74
+ * global state a playbook can demand.
62
75
  *
63
76
  * ## The claim this replaced
64
77
  *
@@ -100,14 +113,35 @@ export declare enum MetaWorkflow_FunctionalTopic {
100
113
  * the two arms of the engine's `FlowActorSystem` union, and this contract stays engine-agnostic (see
101
114
  * P-1 above).
102
115
  *
103
- * The runtime honours ONE of these five, measured 2026-08-29 (issue #119). `RESEARCH_AGENT` is read
104
- * by `runChoreographyChild` to route the read-only lane. `COMPANION_AGENT` is the DEFAULT path, so it
105
- * is right by accident rather than by branching. `CODING_AGENT` is declared by two playbooks and
106
- * honoured by nothing — the coding-agent dispatch is reachable only through its own companion HTTP
107
- * endpoints, never from this declaration. `HUMAN` and `DETERMINISTIC_CLI` have no authors at all.
116
+ * The runtime honours FOUR of these five by branching, and refuses the fifth by name. Re-measured
117
+ * 2026-09-02 against `playbook-run.companion.service.ts`:
108
118
  *
109
- * Declaring a tier is therefore a statement of INTENT that the runner may not act on. Do not read a
110
- * value here as a guarantee about what will execute.
119
+ * | tier | how it is honoured | authors |
120
+ * |---|---|---|
121
+ * | `COMPANION_AGENT` | the DEFAULT path — right without branching | 17 declared + 2 undeclared |
122
+ * | `RESEARCH_AGENT` | `runChoreographyChild` routes the read-only lane (`:928`) | 1 |
123
+ * | `CODING_AGENT` | dispatches the next build task via `ApplicationBuildDispatchService` (`:2022`), and carries child step outputs (`:959`) | 2 |
124
+ * | `DETERMINISTIC_CLI` | runs the host-owned check set for the playbook's ref (`:2087`) | 1 |
125
+ * | `HUMAN` | REFUSES by name (`:2131`) — the contract is undecided, and silence was the defect | 0 |
126
+ *
127
+ * A tier is therefore a real routing key: any playbook declaring `CODING_AGENT` or
128
+ * `DETERMINISTIC_CLI` gets that mechanism with no host edit, which is precisely what separates a TIER
129
+ * from the bespoke executor keyed to `bottom_up.foundation`'s ref.
130
+ *
131
+ * ## What this paragraph used to say, and why it is worth recording
132
+ *
133
+ * Until 2026-09-02 it said the runtime honours ONE of the five, that `CODING_AGENT` is "honoured by
134
+ * nothing — reachable only through its own companion HTTP endpoints", and that `HUMAN` and
135
+ * `DETERMINISTIC_CLI` "have no authors at all". All three were true when written (2026-08-29, issue
136
+ * #119) and all three were fixed within days: #119 wired the executor branch, and `assemble-verify`
137
+ * came back with `DETERMINISTIC_CLI` (`11b78bb5`). Nothing updated the sentence.
138
+ *
139
+ * It then did real damage: a session planning new work read this paragraph, concluded a playbook
140
+ * could not reach the coding lane by declaring a tier, and reported that constraint as measured fact.
141
+ * The runtime had disagreed for days. **Prose describing what the runtime does is an artifact that
142
+ * goes stale exactly like a compiled one** — see `.claude/rules/staleness-presents-as-a-logic-defect.md`
143
+ * — and a docstring stating a NEGATIVE capability is the most dangerous shape, because a reader who
144
+ * believes it stops looking. Verify against the branch, not against this comment.
111
145
  */
112
146
  export declare enum MetaWorkflow_Executor {
113
147
  COMPANION_AGENT = "companion_agent",
@@ -228,9 +262,7 @@ export declare enum MetaWorkflow_PredicateKind {
228
262
  * shared check answers both — so the ONLY difference is the class. Use it whenever running early
229
263
  * degrades the output rather than invalidating it.
230
264
  */
231
- ARTIFACT_EXPECTED = "artifact_expected",
232
- TOPIC_COMPLETE = "topic_complete",
233
- PHASE_IS = "phase_is"
265
+ ARTIFACT_EXPECTED = "artifact_expected"
234
266
  }
235
267
  /** Elicitation question kinds for HUMAN-facing playbook steps. */
236
268
  export declare enum MetaWorkflow_ElicitationQuestionKind {
@@ -480,12 +512,6 @@ declare const _MetaWorkflow_JourneyPredicateSchema: z.ZodDiscriminatedUnion<[z.Z
480
512
  path: z.ZodString;
481
513
  equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
482
514
  }, z.core.$strip>>;
483
- }, z.core.$strip>, z.ZodObject<{
484
- kind: z.ZodLiteral<MetaWorkflow_PredicateKind.TOPIC_COMPLETE>;
485
- topic: z.ZodEnum<typeof MetaWorkflow_FunctionalTopic>;
486
- }, z.core.$strip>, z.ZodObject<{
487
- kind: z.ZodLiteral<MetaWorkflow_PredicateKind.PHASE_IS>;
488
- phase: z.ZodEnum<typeof MetaWorkflow_Phase>;
489
515
  }, z.core.$strip>], "kind">;
490
516
  export declare const MetaWorkflow_JourneyPredicateSchema: typeof _MetaWorkflow_JourneyPredicateSchema;
491
517
  export type MetaWorkflow_JourneyPredicate = z.infer<typeof _MetaWorkflow_JourneyPredicateSchema>;
@@ -603,7 +629,16 @@ export declare enum MetaWorkflow_ContextSource {
603
629
  * 2026-08-28 — two days before that measurement. Prose has been tried; what was never supplied is
604
630
  * the closed set the catalog has held all along.
605
631
  */
606
- DOCUMENT_FACT_OBLIGATIONS = "document_fact_obligations"
632
+ DOCUMENT_FACT_OBLIGATIONS = "document_fact_obligations",
633
+ /**
634
+ * The closed sets a compliance programme may bind and cite: the objectives the assurance authority basis states an
635
+ * expectation for, and the sources the registry carries.
636
+ *
637
+ * Same lesson as {@link DOCUMENT_FACT_OBLIGATIONS}, with a harsher failure. The programme's normalizer REFUSES an
638
+ * objective the basis has no expectation for and a source the registry does not carry, so a producer that guesses does
639
+ * not land a subtly wrong artifact — it spends a run, out of the three a playbook is budgeted.
640
+ */
641
+ ASSURANCE_PROGRAM_AUTHORITY = "assurance_program_authority"
607
642
  }
608
643
  export declare const MetaWorkflow_ElicitationSpecSchema: z.ZodObject<{
609
644
  questions: z.ZodArray<z.ZodObject<{
@@ -752,12 +787,6 @@ export declare const MetaWorkflowPlaybookSchema: z.ZodObject<{
752
787
  path: z.ZodString;
753
788
  equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
754
789
  }, z.core.$strip>>;
755
- }, z.core.$strip>, z.ZodObject<{
756
- kind: z.ZodLiteral<MetaWorkflow_PredicateKind.TOPIC_COMPLETE>;
757
- topic: z.ZodEnum<typeof MetaWorkflow_FunctionalTopic>;
758
- }, z.core.$strip>, z.ZodObject<{
759
- kind: z.ZodLiteral<MetaWorkflow_PredicateKind.PHASE_IS>;
760
- phase: z.ZodEnum<typeof MetaWorkflow_Phase>;
761
790
  }, z.core.$strip>], "kind">>>;
762
791
  inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
763
792
  family: z.ZodString;
@@ -796,6 +825,8 @@ export declare const MetaWorkflowPlaybookSchema: z.ZodObject<{
796
825
  maximumDurationMs: z.ZodDefault<z.ZodNumber>;
797
826
  }, z.core.$strip>>;
798
827
  suspendsForClarification: z.ZodDefault<z.ZodBoolean>;
828
+ briefAdequacyGate: z.ZodDefault<z.ZodBoolean>;
829
+ briefAdequacyExcludedSources: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof MetaWorkflow_ContextSource>>>;
799
830
  deliberation: z.ZodOptional<z.ZodObject<{
800
831
  workDomain: z.ZodEnum<typeof ExpertWorkDomain>;
801
832
  reviewerRoleRefs: z.ZodArray<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"playbooks.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/playbooks.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAgDzD,qEAAqE;AACrE,oBAAY,kBAAkB;IAC5B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB;;;;;;OAMG;IACH,UAAU,eAAe;IACzB,qGAAqG;IACrG,aAAa,kBAAkB;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,8BAA8B,EAAE,SAAS,kBAAkB,EAGtE,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,oBAAY,4BAA4B;IACtC,gCAAgC,qCAAqC;IACrE,kBAAkB,uBAAuB;IACzC,4BAA4B,iCAAiC;IAC7D,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;IACzC,yCAAyC,8CAA8C;IACvF,2BAA2B,gCAAgC;CAC5D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAC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AAO,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"playbooks.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/playbooks.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAgDzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,oBAAY,kBAAkB;IAC5B,0GAA0G;IAC1G,QAAQ,aAAa;IACrB,2FAA2F;IAC3F,SAAS,cAAc;IACvB,oFAAoF;IACpF,UAAU,eAAe;IACzB,gDAAgD;IAChD,aAAa,kBAAkB;CAChC;AAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,oBAAY,4BAA4B;IACtC,gCAAgC,qCAAqC;IACrE,kBAAkB,uBAAuB;IACzC,4BAA4B,iCAAiC;IAC7D,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;IACzC,yCAAyC,8CAA8C;IACvF,2BAA2B,gCAAgC;CAC5D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,oBAAY,qBAAqB;IAC/B,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B;;;;;;;;;;OAUG;IACH,cAAc,mBAAmB;IACjC,KAAK,UAAU;IACf,iBAAiB,sBAAsB;CACxC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,oBAAY,2BAA2B;IACrC,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;CAClC;AAED;;;;GAIG;AACH;;;;;;;;GAQG;AACH,oBAAY,0BAA0B;IACpC,gBAAgB,qBAAqB;IACrC,aAAa,kBAAkB;CAChC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AACH,eAAO,MAAM,iCAAiC;;;;;;;iBAU5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,+BAA+B;;;;;;iBAwB1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;;;;;GAQG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;iBAoBlD,CAAC;AACH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AAExG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiJrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E;;;;;GAKG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -45,50 +45,55 @@ import { ExpertWorkDomain } from "@wildo-ai/saas-models";
45
45
  // playbooks may later COMPILE into FlowSystems; the contract stays
46
46
  // engine-agnostic here.
47
47
  //===============================================================
48
- /** Macro phase of the app-creation journey a playbook belongs to. */
48
+ /**
49
+ * The KIND OF REASONING a playbook embodies — a taxonomy label on the playbook, and nothing else.
50
+ *
51
+ * ## What this is NOT, since 2026-09-04
52
+ *
53
+ * It is not a state an application can be in. There was a `deriveJourneyPhase` that computed one —
54
+ * `bottom_up` the moment `domain-plan` or `build-plan` had content, monotonic and irreversible — and
55
+ * 19 playbooks gated on matching it. It has been deleted, along with the `PHASE_IS` predicate, and
56
+ * neither should come back.
57
+ *
58
+ * The reason is recorded in `.claude/context/app-creation-composite-choreography.md` §13: **an
59
+ * evolving application is not in a phase; it is in a STATE, and the state is the tree.** Top-down and
60
+ * bottom-up are ways of APPROACHING a problem. An application holds artifacts produced by both, all
61
+ * of them still valid inputs, and moving between the modes is ordinary product work. What legitimately
62
+ * constrains what may run is DEPENDENCY, and the ARTIFACT preconditions express that exactly.
63
+ *
64
+ * The derived phase failed in three separate ways at once, all measured before it went:
65
+ *
66
+ * - on the `bottom_up` side it was **provably redundant** — every playbook gated on it already
67
+ * required `domain-plan` or `build-plan`, the two families that DEFINED the phase, so it could
68
+ * refuse nothing readiness had not already refused;
69
+ * - it contained a **deadlock**: `bottom_up.domain-plan` gated on `bottom_up` and PRODUCED the family
70
+ * that creates it, so the unattended loop could never enter that phase at all;
71
+ * - on the `top_down` side it blocked **return**, not incoherence — after a domain plan landed, the
72
+ * loop could never revisit market analysis or requirements, whose real inputs were still valid.
73
+ *
74
+ * Three patches preserved it before it was removed: reclassifying `PHASE_IS` as SEQUENCING so humans
75
+ * could bypass it, removing the gate from one playbook (#116), and threading a
76
+ * `proceedPastSequencing` flag through the choreography so a composite's children inherited the
77
+ * parent's bypass. Each moved the pain to the next caller.
78
+ *
79
+ * ## What it still does
80
+ *
81
+ * It labels a playbook, which is true and useful: it says what kind of thinking that playbook
82
+ * embodies, and it groups the catalog for whoever reads it. Nothing gates on it, so every member is
83
+ * equally usable — {@link MetaWorkflow_Phase.REFINEMENT} and {@link MetaWorkflow_Phase.CROSS_CUTTING}
84
+ * were "unreachable" only because a gate demanded a derivation that could not produce them.
85
+ */
49
86
  export var MetaWorkflow_Phase;
50
87
  (function (MetaWorkflow_Phase) {
88
+ /** Reasoning from intent down to structure: vision, market, requirements, roadmap, compliance posture. */
51
89
  MetaWorkflow_Phase["TOP_DOWN"] = "top_down";
90
+ /** Reasoning from structure up: the domain model, the build plan, placement, execution. */
52
91
  MetaWorkflow_Phase["BOTTOM_UP"] = "bottom_up";
53
- /**
54
- * NOT DERIVABLE — `deriveJourneyPhase` returns only TOP_DOWN or BOTTOM_UP, so the unattended loop
55
- * can never select a playbook gating on `PHASE_IS: REFINEMENT`. `refinement.document-facts` does
56
- * exactly that. An explicit human run may proceed past it (PHASE_IS is SEQUENCING); the loop may
57
- * not. Kept, not deleted: refinement is a real phase two playbooks declare — what is missing is the
58
- * derivation, or their gate. Issue #116.
59
- */
92
+ /** Revisiting a produced artifact against what the application has since become. */
60
93
  MetaWorkflow_Phase["REFINEMENT"] = "refinement";
61
- /** Declared by no playbook and derivable by nothing — a phase that cannot be entered. Issue #116. */
94
+ /** Work that belongs to no single direction. */
62
95
  MetaWorkflow_Phase["CROSS_CUTTING"] = "cross_cutting";
63
96
  })(MetaWorkflow_Phase || (MetaWorkflow_Phase = {}));
64
- /**
65
- * The phases a journey can actually BE IN — the subset of {@link MetaWorkflow_Phase} that
66
- * `deriveJourneyPhase` (application-creation runtime) can return.
67
- *
68
- * This exists because the enum and the derivation disagreed silently. `MetaWorkflow_Phase` declares
69
- * four members; the derivation returns two. A playbook gating on `PHASE_IS` with either of the other
70
- * two can never be selected by the unattended loop — and nothing reported it, because an ineligible
71
- * playbook never reaches the eligibility board. That is how `refinement.document-facts` came to be
72
- * unreachable from the day it was authored (issue #116), the fifth instance of one pattern: a
73
- * capability that exists and cannot be reached, found by accident rather than by a check.
74
- *
75
- * It lives HERE, beside the vocabulary, rather than in the runtime that computes it, because two
76
- * consumers need it and only one of them can execute the derivation: the runtime, which must not
77
- * return anything outside it, and the framework-knowledge AUDIT, which is a static reader of the
78
- * compiled catalog and cannot call a function. A checker that hardcoded its own copy would be a
79
- * second authority on the same fact.
80
- *
81
- * Both copies are pinned: `playbook-eligibility.application-creation.service.test.ts` asserts that
82
- * `deriveJourneyPhase` returns only members of this set AND that every member is reachable, so
83
- * widening the derivation without widening this constant — or the reverse — reddens a test.
84
- *
85
- * Widen it only when the derivation genuinely learns a new phase. Adding a member here to silence an
86
- * audit finding would invert the rule: the finding is the report that a gate cannot be satisfied.
87
- */
88
- export const META_WORKFLOW_DERIVABLE_PHASES = Object.freeze([
89
- MetaWorkflow_Phase.TOP_DOWN,
90
- MetaWorkflow_Phase.BOTTOM_UP,
91
- ]);
92
97
  /**
93
98
  * The seven functional topics of the canonical app-development workflow taxonomy — a **BUILD**
94
99
  * taxonomy, in build order: configure the foundation, model the domain, define interaction, shape
@@ -100,13 +105,18 @@ export const META_WORKFLOW_DERIVABLE_PHASES = Object.freeze([
100
105
  * |---|---|
101
106
  * | `BuildPlanTask.functionalTopic` | **LIVE** — stamped into the coding-agent dispatch payload as context the agent reads |
102
107
  * | `MetaWorkflowPlaybook.functionalTopics` | **AUTHORED INTENT ONLY** — the compiler copies it into the compiled catalog and nothing else reads it |
103
- * | `MetaWorkflow_PredicateKind.TOPIC_COMPLETE` | **PRESENT AND PERMANENTLY UNSATISFIABLE** — a real precondition kind with a real evaluator that always returns `satisfied: false`, because topic completion was a journey-record fact and nothing derives it from the working tree. Zero playbooks gate on it |
108
+ * | `MetaWorkflow_PredicateKind.TOPIC_COMPLETE` | **GONE (2026-09-05)** — it was a real precondition kind whose evaluator always returned `satisfied: false`, because topic completion was a journey-record fact and nothing derives it from the working tree. Zero playbooks ever gated on it |
104
109
  *
105
110
  * So a topic reaches exactly one decision anywhere: none. Build-task ordering is
106
- * `prerequisiteTaskRefs` alone. Playbook eligibility is `preconditions`, and the one precondition
107
- * keyed on a topic can never be satisfied — a playbook that gated on it would be permanently
108
- * ineligible, which is the failure shape issue #116 records for `PHASE_IS`. Do not author a
109
- * `TOPIC_COMPLETE` precondition until something derives completion.
111
+ * `prerequisiteTaskRefs` alone, and playbook eligibility is `preconditions` — where the one kind
112
+ * keyed on a topic could never be satisfied, so any playbook declaring it would have been permanently
113
+ * ineligible with nothing reporting it. It followed `PHASE_IS` out on 2026-09-05 for exactly that
114
+ * reason: both gated on a derived global state that nothing derives (see {@link MetaWorkflow_Phase}).
115
+ *
116
+ * The vocabulary itself stays, because `BuildPlanTask.functionalTopic` is live. What went is the idea
117
+ * that a topic could grant PERMISSION. If completion ever becomes derivable from the working tree,
118
+ * it belongs as an artifact-shaped precondition or as a runtime-synthesized verdict — not as a new
119
+ * global state a playbook can demand.
110
120
  *
111
121
  * ## The claim this replaced
112
122
  *
@@ -149,14 +159,35 @@ export var MetaWorkflow_FunctionalTopic;
149
159
  * the two arms of the engine's `FlowActorSystem` union, and this contract stays engine-agnostic (see
150
160
  * P-1 above).
151
161
  *
152
- * The runtime honours ONE of these five, measured 2026-08-29 (issue #119). `RESEARCH_AGENT` is read
153
- * by `runChoreographyChild` to route the read-only lane. `COMPANION_AGENT` is the DEFAULT path, so it
154
- * is right by accident rather than by branching. `CODING_AGENT` is declared by two playbooks and
155
- * honoured by nothing — the coding-agent dispatch is reachable only through its own companion HTTP
156
- * endpoints, never from this declaration. `HUMAN` and `DETERMINISTIC_CLI` have no authors at all.
162
+ * The runtime honours FOUR of these five by branching, and refuses the fifth by name. Re-measured
163
+ * 2026-09-02 against `playbook-run.companion.service.ts`:
157
164
  *
158
- * Declaring a tier is therefore a statement of INTENT that the runner may not act on. Do not read a
159
- * value here as a guarantee about what will execute.
165
+ * | tier | how it is honoured | authors |
166
+ * |---|---|---|
167
+ * | `COMPANION_AGENT` | the DEFAULT path — right without branching | 17 declared + 2 undeclared |
168
+ * | `RESEARCH_AGENT` | `runChoreographyChild` routes the read-only lane (`:928`) | 1 |
169
+ * | `CODING_AGENT` | dispatches the next build task via `ApplicationBuildDispatchService` (`:2022`), and carries child step outputs (`:959`) | 2 |
170
+ * | `DETERMINISTIC_CLI` | runs the host-owned check set for the playbook's ref (`:2087`) | 1 |
171
+ * | `HUMAN` | REFUSES by name (`:2131`) — the contract is undecided, and silence was the defect | 0 |
172
+ *
173
+ * A tier is therefore a real routing key: any playbook declaring `CODING_AGENT` or
174
+ * `DETERMINISTIC_CLI` gets that mechanism with no host edit, which is precisely what separates a TIER
175
+ * from the bespoke executor keyed to `bottom_up.foundation`'s ref.
176
+ *
177
+ * ## What this paragraph used to say, and why it is worth recording
178
+ *
179
+ * Until 2026-09-02 it said the runtime honours ONE of the five, that `CODING_AGENT` is "honoured by
180
+ * nothing — reachable only through its own companion HTTP endpoints", and that `HUMAN` and
181
+ * `DETERMINISTIC_CLI` "have no authors at all". All three were true when written (2026-08-29, issue
182
+ * #119) and all three were fixed within days: #119 wired the executor branch, and `assemble-verify`
183
+ * came back with `DETERMINISTIC_CLI` (`11b78bb5`). Nothing updated the sentence.
184
+ *
185
+ * It then did real damage: a session planning new work read this paragraph, concluded a playbook
186
+ * could not reach the coding lane by declaring a tier, and reported that constraint as measured fact.
187
+ * The runtime had disagreed for days. **Prose describing what the runtime does is an artifact that
188
+ * goes stale exactly like a compiled one** — see `.claude/rules/staleness-presents-as-a-logic-defect.md`
189
+ * — and a docstring stating a NEGATIVE capability is the most dangerous shape, because a reader who
190
+ * believes it stops looking. Verify against the branch, not against this comment.
160
191
  */
161
192
  export var MetaWorkflow_Executor;
162
193
  (function (MetaWorkflow_Executor) {
@@ -282,8 +313,6 @@ export var MetaWorkflow_PredicateKind;
282
313
  * degrades the output rather than invalidating it.
283
314
  */
284
315
  MetaWorkflow_PredicateKind["ARTIFACT_EXPECTED"] = "artifact_expected";
285
- MetaWorkflow_PredicateKind["TOPIC_COMPLETE"] = "topic_complete";
286
- MetaWorkflow_PredicateKind["PHASE_IS"] = "phase_is";
287
316
  })(MetaWorkflow_PredicateKind || (MetaWorkflow_PredicateKind = {}));
288
317
  /** Elicitation question kinds for HUMAN-facing playbook steps. */
289
318
  export var MetaWorkflow_ElicitationQuestionKind;
@@ -564,14 +593,6 @@ const _MetaWorkflow_JourneyPredicateSchema = z.discriminatedUnion("kind", [
564
593
  /** Optional value assertion. Absent = presence is enough. */
565
594
  requires: MetaWorkflow_StepValueAssertionSchema.optional(),
566
595
  }),
567
- z.object({
568
- kind: z.literal(MetaWorkflow_PredicateKind.TOPIC_COMPLETE),
569
- topic: z.enum(MetaWorkflow_FunctionalTopic),
570
- }),
571
- z.object({
572
- kind: z.literal(MetaWorkflow_PredicateKind.PHASE_IS),
573
- phase: z.enum(MetaWorkflow_Phase),
574
- }),
575
596
  ]);
576
597
  export const MetaWorkflow_JourneyPredicateSchema = _MetaWorkflow_JourneyPredicateSchema;
577
598
  /**
@@ -690,6 +711,15 @@ export var MetaWorkflow_ContextSource;
690
711
  * the closed set the catalog has held all along.
691
712
  */
692
713
  MetaWorkflow_ContextSource["DOCUMENT_FACT_OBLIGATIONS"] = "document_fact_obligations";
714
+ /**
715
+ * The closed sets a compliance programme may bind and cite: the objectives the assurance authority basis states an
716
+ * expectation for, and the sources the registry carries.
717
+ *
718
+ * Same lesson as {@link DOCUMENT_FACT_OBLIGATIONS}, with a harsher failure. The programme's normalizer REFUSES an
719
+ * objective the basis has no expectation for and a source the registry does not carry, so a producer that guesses does
720
+ * not land a subtly wrong artifact — it spends a run, out of the three a playbook is budgeted.
721
+ */
722
+ MetaWorkflow_ContextSource["ASSURANCE_PROGRAM_AUTHORITY"] = "assurance_program_authority";
693
723
  })(MetaWorkflow_ContextSource || (MetaWorkflow_ContextSource = {}));
694
724
  export const MetaWorkflow_ElicitationSpecSchema = z.object({
695
725
  questions: z
@@ -878,6 +908,31 @@ export const MetaWorkflowPlaybookSchema = z.object({
878
908
  * state its assumption rather than stalling.
879
909
  */
880
910
  suspendsForClarification: z.boolean().default(false),
911
+ /**
912
+ * May this playbook's composed brief be JUDGED for sufficiency before generation, with ONE
913
+ * monotonic repair pass on an INSUFFICIENT verdict?
914
+ *
915
+ * #254's rescoped shape (decision 2026-09-02, built 2026-09-04): a tool-free structured judge
916
+ * reads the composed brief and the closed list of UNDECLARED context sources; `insufficient`
917
+ * adds the proposed sources to the declaration FOR THIS RUN ONLY — add-only, never removing or
918
+ * softening a declared source — and the brief recomposes once. The gate never runs twice, and a
919
+ * gate fault fails OPEN to the static brief: an auxiliary judgment must never withhold a run.
920
+ *
921
+ * Opt-in per playbook, exactly like `suspendsForClarification`, because the gate costs one
922
+ * model call per run and pays only where context needs genuinely vary per application — the
923
+ * document lane, per the recorded pilot decision.
924
+ */
925
+ briefAdequacyGate: z.boolean().default(false),
926
+ /**
927
+ * Sources the gate may NEVER propose, carrying an authored boundary into the mechanism.
928
+ *
929
+ * Monotonic is not the same as safe: an ADD can still violate a deliberate exclusion — the
930
+ * document drafter's own `//contextSources` reason forbids `compliance_primary_facts` because a
931
+ * drafter given raw mechanism could write a clause resting on something the application never
932
+ * DECLARED. A prose reason is invisible to the runtime (unknown keys are stripped at parse);
933
+ * this field is the same decision, enforceable. Meaningless without `briefAdequacyGate`.
934
+ */
935
+ briefAdequacyExcludedSources: z.array(z.enum(MetaWorkflow_ContextSource)).default([]),
881
936
  /**
882
937
  * Present exactly when this playbook's artifact is DELIBERATED rather than
883
938
  * generated in one pass — an expert panel argues over several candidates and a