@wildo-ai/saas-specifications 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (410) hide show
  1. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
  2. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  3. package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
  4. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  5. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
  6. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  7. package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
  8. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  9. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
  10. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  11. package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
  12. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  13. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  14. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
  15. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  16. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
  17. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  18. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
  19. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  20. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  21. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
  22. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  23. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
  24. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  25. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  26. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +10 -0
  27. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  28. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +17 -0
  29. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  30. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
  31. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  32. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
  33. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  34. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
  35. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  36. package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
  37. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  38. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
  39. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  40. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
  41. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  42. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  43. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
  44. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  45. package/dist/esm/_core/index.d.ts +1 -0
  46. package/dist/esm/_core/index.d.ts.map +1 -1
  47. package/dist/esm/_core/index.js +1 -0
  48. package/dist/esm/_core/index.js.map +1 -1
  49. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  50. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
  51. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  52. package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
  53. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  54. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  55. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  56. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
  57. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  58. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
  59. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  60. package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
  61. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  62. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
  63. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  64. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
  65. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  66. package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
  67. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
  68. package/dist/esm/_core/provider-specification.schemas.js +144 -0
  69. package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
  70. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  71. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
  72. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  73. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
  74. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  75. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  76. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  77. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
  78. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  79. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
  80. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  81. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  82. package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
  83. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
  84. package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
  85. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
  86. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
  88. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  89. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
  90. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  91. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +7 -7
  92. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  93. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +6 -7
  94. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  95. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
  96. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
  97. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  98. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +2 -2
  99. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +2 -2
  100. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  101. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
  102. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  103. package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
  104. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  105. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +8 -23
  106. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  107. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +57 -27
  108. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  109. package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
  110. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  111. package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
  112. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  113. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +72 -49
  114. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  115. package/dist/esm/assurance/assurance-authority-basis.definitions.js +161 -60
  116. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  117. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +25 -0
  118. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  119. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
  120. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
  121. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
  122. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
  123. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
  124. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  125. package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
  126. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  127. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +14 -7
  128. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  129. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +24 -7
  130. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  131. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +8 -1
  132. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  133. package/dist/esm/assurance/assurance-program-generation.schemas.js +10 -2
  134. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  135. package/dist/esm/assurance/assurance-program.schemas.d.ts +447 -11
  136. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  137. package/dist/esm/assurance/assurance-program.schemas.js +293 -5
  138. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  139. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
  140. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
  141. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
  142. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
  143. package/dist/esm/companion-exports.d.ts +7 -6
  144. package/dist/esm/companion-exports.d.ts.map +1 -1
  145. package/dist/esm/companion-exports.js.map +1 -1
  146. package/dist/esm/engine/_bootstrap.js +3 -1
  147. package/dist/esm/engine/_bootstrap.js.map +1 -1
  148. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  149. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +13 -1
  150. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  151. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  152. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  153. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
  154. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  155. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +14 -2
  156. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  157. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +9 -9
  158. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  159. package/dist/esm/engine/applications/resources/applications.resource.specification.js +1 -1
  160. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  161. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +3 -3
  162. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  163. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +1 -1
  164. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  165. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  166. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +13 -1
  167. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  168. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
  169. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  170. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +14 -2
  171. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  172. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
  173. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
  174. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
  175. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
  176. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +4 -4
  177. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  178. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +2 -2
  179. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  180. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +6 -6
  181. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  182. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +9 -9
  183. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  184. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +2 -2
  185. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  186. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
  187. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  188. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +104 -10
  189. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  190. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
  191. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  192. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
  193. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
  194. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
  195. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
  196. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  197. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -3
  198. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  199. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +2 -2
  200. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  201. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +3 -3
  202. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  203. package/dist/esm/engine/billing/resources/prices.resource.specification.js +7 -7
  204. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  205. package/dist/esm/engine/billing/resources/products.resource.specification.js +7 -7
  206. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  207. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  208. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +14 -12
  209. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  210. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -7
  211. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  212. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  213. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +6 -3
  214. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  215. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +7 -3
  216. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  217. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +28 -11
  218. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  219. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +8 -8
  220. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  221. package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
  222. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  223. package/dist/esm/engine/engine-resource-specifications.registry.js +6 -2
  224. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  225. package/dist/esm/engine/engine-resource-sub-domain.d.ts +20 -0
  226. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  227. package/dist/esm/engine/engine-resource-sub-domain.js +66 -0
  228. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  229. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  230. package/dist/esm/engine/errors/error-messages.specification.js +14 -0
  231. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  232. package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
  233. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  234. package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
  235. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  236. package/dist/esm/engine/features/resources/application-features.resource.specification.js +3 -3
  237. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  238. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +3 -3
  239. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  240. package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
  241. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  242. package/dist/esm/engine/files/resources/files.resource.specification.js +10 -10
  243. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  244. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +11 -11
  245. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  246. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +4 -4
  247. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  248. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +2 -2
  249. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  250. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
  251. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
  252. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
  253. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
  254. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
  255. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
  256. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
  257. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
  258. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
  259. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
  260. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
  261. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
  262. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
  263. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
  264. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
  265. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
  266. package/dist/esm/engine/frontend-components/index.d.ts +0 -2
  267. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  268. package/dist/esm/engine/frontend-components/index.js +4 -6
  269. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  270. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +12 -12
  271. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  272. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +9 -9
  273. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  274. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +8 -0
  275. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  276. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +6 -6
  277. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  278. package/dist/esm/engine/index.d.ts +1 -0
  279. package/dist/esm/engine/index.d.ts.map +1 -1
  280. package/dist/esm/engine/index.js +1 -0
  281. package/dist/esm/engine/index.js.map +1 -1
  282. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +17 -17
  283. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  284. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +7 -7
  285. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  286. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +8 -8
  287. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  288. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
  289. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  290. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +10 -5
  291. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  292. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  293. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -15
  294. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  295. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  296. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +11 -10
  297. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  298. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  299. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +29 -6
  300. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  301. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +9 -9
  302. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +3 -3
  304. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  305. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +4 -4
  306. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  307. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  308. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  309. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +1 -1
  310. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  311. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +7 -7
  312. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  313. package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
  314. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
  315. package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
  316. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
  317. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
  318. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
  319. package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
  320. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
  321. package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
  322. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
  323. package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
  324. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
  325. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
  326. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
  327. package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
  328. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
  329. package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
  330. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
  331. package/dist/esm/engine/providers/github.provider.specification.js +30 -0
  332. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
  333. package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
  334. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
  335. package/dist/esm/engine/providers/google.provider.specification.js +34 -0
  336. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
  337. package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
  338. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
  339. package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
  340. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
  341. package/dist/esm/engine/providers/index.d.ts +23 -0
  342. package/dist/esm/engine/providers/index.d.ts.map +1 -0
  343. package/dist/esm/engine/providers/index.js +37 -0
  344. package/dist/esm/engine/providers/index.js.map +1 -0
  345. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
  346. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
  347. package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
  348. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
  349. package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
  350. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
  351. package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
  352. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
  353. package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
  354. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
  355. package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
  356. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
  357. package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
  358. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
  359. package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
  360. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
  361. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
  362. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
  363. package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
  364. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
  365. package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
  366. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
  367. package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
  368. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
  369. package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
  370. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
  371. package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
  372. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
  373. package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
  374. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
  375. package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
  376. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
  377. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -7
  378. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  379. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +9 -9
  380. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
  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.js +8 -8
  384. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  385. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -4
  386. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +4 -4
  387. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +2 -2
  389. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  390. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  391. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  392. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +13 -11
  393. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  394. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +1 -1
  395. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  396. package/dist/esm/engine/users/resources/user-self.resource.specification.js +8 -8
  397. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  398. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  399. package/dist/esm/engine/users/resources/users.resource.specification.js +93 -0
  400. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  401. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  402. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +95 -45
  403. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  404. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
  405. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  406. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +36 -0
  407. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  408. package/dist/tsconfig.build.tsbuildinfo +1 -1
  409. package/package.json +8 -8
  410. package/dist/assurance/external-framework-mapping.json +0 -980
@@ -10,9 +10,10 @@
10
10
  * by some path other than `application-creation`; the waiver records a measurement, not a proof
11
11
  * about every future shape.
12
12
  */
13
+ import { CoreAuditableEventType } from "@wildo-ai/saas-models";
13
14
  import { z } from "zod";
14
15
  import { ALL_ZOD_ISSUES, GovernedDocumentApplicabilityStatus, GovernedDocumentAudienceKind, GovernedDocumentDefinitionIdentitySchema, GovernedDocumentGovernanceScopeSchema, GovernedDocumentInteractionKind, GovernedDocumentPublicationChannelKind, GovernedDocumentReviewKind, summarizeZodIssues, } from "@wildo-ai/saas-models";
15
- import { AssuranceCapabilityIdentitySchema, AssuranceGapDisposition, AssuranceGovernanceActorKind, AssuranceImplementationStatementLifecycleStatus, AssuranceImplementationStatementCommonFieldsSchema, AssuranceImplementationStatementSchema, AssuranceIsoDateSchema, AssuranceIsoDateTimeSchema, AssuranceNamespacedRefSchema, AssuranceObjectiveCatalogSchema, AssuranceObjectiveLifecycleStatus, AssuranceObjectiveIdentitySchema, addAssuranceImplementationStatementCommonIssues, } from "./assurance-foundation.schemas.js";
16
+ import { AssuranceCapabilityIdentitySchema, AssuranceGapDisposition, AssuranceGovernanceActorKind, AssuranceImplementationStatementLifecycleStatus, AssuranceImplementationStatementCommonFieldsSchema, AssuranceImplementationStatementSchema, AssuranceIsoDateSchema, AssuranceIsoDateTimeSchema, AssuranceNamespacedRefSchema, AssuranceObjectiveCatalogSchema, AssuranceObjectiveLifecycleStatus, AssuranceVerificationMethod, AssuranceObjectiveIdentitySchema, addAssuranceImplementationStatementCommonIssues, } from "./assurance-foundation.schemas.js";
16
17
  import { AssuranceDocumentAuthorityCatalogSchema, assuranceDocumentQualifiedReviewRequirements, collectAssuranceDocumentAuthorityCatalogIssues, } from "./assurance-document-system.schemas.js";
17
18
  import { AssuranceSourceRegistrySchema, AssuranceSourceAuthorityKind, AssuranceSourceIdentitySchema, AssuranceSourceLifecycleStatus, AssuranceSourceUse, deriveAssuranceRightsAuthorization, } from "./assurance-sources.schemas.js";
18
19
  const valuesAreUnique = (values) => new Set(values).size === values.length;
@@ -60,6 +61,70 @@ export var AssuranceProgramProofStage;
60
61
  AssuranceProgramProofStage["EVIDENCED"] = "EVIDENCED";
61
62
  AssuranceProgramProofStage["ASSESSED"] = "ASSESSED";
62
63
  })(AssuranceProgramProofStage || (AssuranceProgramProofStage = {}));
64
+ /**
65
+ * WHERE the evidence for one demand lives — and therefore what kind of query a collector must write.
66
+ *
67
+ * Routing a collector is the member set's ONLY job, so it discriminates on the one axis a collector
68
+ * cares about: **can one query, written once, serve every application?** A vocabulary that cannot
69
+ * answer that has to be supplemented out of band, which puts the discrimination somewhere less
70
+ * visible than the vocabulary itself.
71
+ *
72
+ * Settled on #384 from FIVE paper bodies (`__evidence-plane-slice__/`), after two of them found
73
+ * evidence that no member covered. The rejected alternative is recorded because it is the one that
74
+ * looks right: widening `EMITTED` to "any durable execution/event record" absorbs both cases with no
75
+ * new member — and also absorbs every product row in every application, so the member comes to mean
76
+ * "somewhere durable" and stops discriminating. What ships is that widening BOUNDED BY OWNER, plus
77
+ * the member the bound makes necessary.
78
+ */
79
+ export var AssuranceEvidenceHome;
80
+ (function (AssuranceEvidenceHome) {
81
+ /** The committed specification IS the evidence. Uniform across applications; one query. */
82
+ AssuranceEvidenceHome["DECLARED"] = "DECLARED";
83
+ /**
84
+ * An ENGINE-owned durable record class — the audit trail, or a batch execution record. Uniform
85
+ * across applications because the engine authors the store, so one query serves all.
86
+ *
87
+ * Widened from "an audit-row class" by `retention-window-declaration`, whose control emits no
88
+ * auditable event by design (a database TTL deletes silently) and whose evidence is the sweep's
89
+ * execution record.
90
+ */
91
+ AssuranceEvidenceHome["EMITTED"] = "EMITTED";
92
+ /**
93
+ * An APPLICATION-authored durable record — a product resource row.
94
+ *
95
+ * Distinct from `EMITTED` because the schema, the status vocabulary and the operation refs are that
96
+ * application's own, so a collector can only query it against that application's specification.
97
+ * Found by `subject-erasure-execution-record`, whose entire intake/withdrawal/execution evidence is
98
+ * an application resource row and for which no audit member exists at all.
99
+ */
100
+ AssuranceEvidenceHome["APPLICATION_RECORDED"] = "APPLICATION_RECORDED";
101
+ /** A human act, supplied as a host artifact. Nothing in the running system produces it. */
102
+ AssuranceEvidenceHome["PERFORMED"] = "PERFORMED";
103
+ /**
104
+ * Authored, and nothing produces it — a VALUE, never an absence.
105
+ *
106
+ * It carries no severity against an application: a demand nothing can evidence is a framework gap,
107
+ * and raising it against every application forever is noise rather than a finding.
108
+ */
109
+ AssuranceEvidenceHome["UNPRODUCED"] = "UNPRODUCED";
110
+ })(AssuranceEvidenceHome || (AssuranceEvidenceHome = {}));
111
+ /**
112
+ * WHERE the control runs, and therefore what evidence about it can ever exist.
113
+ *
114
+ * Kept separate from the home because a multi-clause intent routinely spans both axes independently,
115
+ * and flattening them lets a reviewer accept a declaration as proof of a runtime property — the
116
+ * error `selected-processor-declaration` was written to prevent, where one clause is a committed
117
+ * selection and its sibling is a claim about behaviour under no selection.
118
+ */
119
+ export var AssuranceEvidenceExecutionPlane;
120
+ (function (AssuranceEvidenceExecutionPlane) {
121
+ /** Can evidence that a control is DECLARED or CONFIGURED. Never that it operated. */
122
+ AssuranceEvidenceExecutionPlane["META_APPLICATION"] = "META_APPLICATION";
123
+ /** Can evidence that a control OPERATES when driven. Attests the build it ran against. */
124
+ AssuranceEvidenceExecutionPlane["VERIFICATION"] = "VERIFICATION";
125
+ /** Can evidence that a control operated over a period — the only plane that can. */
126
+ AssuranceEvidenceExecutionPlane["PRODUCTION"] = "PRODUCTION";
127
+ })(AssuranceEvidenceExecutionPlane || (AssuranceEvidenceExecutionPlane = {}));
63
128
  export var AssuranceProgramCapabilityKind;
64
129
  (function (AssuranceProgramCapabilityKind) {
65
130
  AssuranceProgramCapabilityKind["ENGINE"] = "ENGINE";
@@ -245,18 +310,142 @@ export const AssuranceProgramImplementationExpectationAuthoritySchema = z
245
310
  requiredCapabilityRefs: z.array(AssuranceNamespacedRefSchema).min(1),
246
311
  })
247
312
  .superRefine((authority, context) => addUniqueSortedIssue(authority.requiredCapabilityRefs, context, ["requiredCapabilityRefs"], "requiredCapabilityRefs"));
313
+ /**
314
+ * What one evidence demand actually ASKS FOR — the content behind an otherwise opaque
315
+ * `evidence-requirement:*` slug.
316
+ *
317
+ * Derived from the five paper bodies in `__evidence-plane-slice__/` rather than designed ahead of
318
+ * them (#302's whole premise: a schema error costs 1/49th here of what it costs after authoring at
319
+ * scale). The shape is what all five converged on, and the per-clause split is not decoration —
320
+ * three of the five carry clauses that do NOT share a home or a plane, and a single home per demand
321
+ * would have flattened exactly the distinction those bodies exist to record.
322
+ */
323
+ export const AssuranceEvidenceRequirementClauseSchema = z.strictObject({
324
+ /** Stable within the body — `C1`, `C2` — so a finding can name the clause it failed. */
325
+ clauseRef: z.string().trim().regex(/^C[0-9]+$/u),
326
+ /** The obligation in the objective's own terms, one clause of its intent. */
327
+ obligation: z.string().trim().min(1),
328
+ home: z.enum(AssuranceEvidenceHome),
329
+ plane: z.enum(AssuranceEvidenceExecutionPlane),
330
+ /**
331
+ * For an `EMITTED` clause whose store is the audit trail: the event members that satisfy it, DERIVED
332
+ * from `CoreAuditableEventType` rather than transcribed.
333
+ *
334
+ * Structured rather than named in prose, and the reason is the harness's own most error-prone step:
335
+ * *"before naming any audit member, check it has an EMITTER"*. A member that is declared but never
336
+ * emitted raises a MAJOR against a working control the first time its activity occurs — which the
337
+ * first drafted body did, with `USER_MFA_ENABLED`. As a typed array the members are checkable by a
338
+ * test instead of by an author's memory, and a collector reads the query off the demand rather than
339
+ * parsing English out of `minimumEvidence`.
340
+ *
341
+ * Optional because only an audit-trail-backed clause has them: an application resource row, a batch
342
+ * execution record and a host artifact are all `EMITTED` or otherwise without audit members.
343
+ */
344
+ requiredAuditEventMembers: z.array(z.enum(CoreAuditableEventType)).min(1).optional(),
345
+ /**
346
+ * Why this home, stated as the reasoning that is NOT the proxy.
347
+ *
348
+ * Required, because both available proxies are wrong often enough to matter: the attesting
349
+ * capability misread `PRIVILEGED_REVIEW` as an audit row when it is a human act, and the ref's head
350
+ * noun misread `retention-window-declaration` as `DECLARED` when its clauses demand enforcement.
351
+ */
352
+ homeRationale: z.string().trim().min(1),
353
+ });
354
+ /** @see AssuranceEvidenceRequirementClauseSchema */
355
+ export const AssuranceEvidenceRequirementBodySchema = z.strictObject({
356
+ schemaVersion: z.literal(1),
357
+ /**
358
+ * Whether the demand applies to THIS application at all, and how a judge decides.
359
+ *
360
+ * First field on purpose. `subject-erasure-execution-record` is majority application-owned, and an
361
+ * application that never built an erasure lane has not failed a control — it declared none. A body
362
+ * without this field invites a nonconformity against every application that does not implement it.
363
+ */
364
+ applicability: z.string().trim().min(1),
365
+ clauses: z.array(AssuranceEvidenceRequirementClauseSchema).min(1),
366
+ /** The artifacts that, at minimum, satisfy the demand — named vocabulary members, never prose lists. */
367
+ minimumEvidence: z.string().trim().min(1),
368
+ /** Mechanical enough that two judges gather the same thing. */
369
+ verificationSteps: z.array(z.string().trim().min(1)).min(1),
370
+ /**
371
+ * What an absence or failure MEANS, so severity follows evidenced risk rather than wording
372
+ * intensity — and so a control that operated with a missing evidence export stays an OBSERVATION
373
+ * rather than becoming a nonconformity.
374
+ */
375
+ severityGuidance: z.string().trim().min(1),
376
+ /** What the evidence does NOT prove, and what would make it stale. */
377
+ limits: z.string().trim().min(1),
378
+ });
248
379
  export const AssuranceProgramEvidenceExpectationAuthoritySchema = z
249
380
  .strictObject({
250
381
  identity: AssuranceProgramExpectationIdentitySchema,
251
382
  objective: AssuranceObjectiveIdentitySchema,
252
383
  requiredStatementEvidenceRefs: z.array(AssuranceNamespacedRefSchema).min(1),
384
+ /**
385
+ * OPTIONAL while the 50 are authored — re-count rather than trusting this line; it said 5 while
386
+ * the file held 20.
387
+ *
388
+ * Optional rather than required so the basis stays parseable during the tranche, NOT as a
389
+ * permanent posture: a demand with no body is a slug a collector cannot act on, which is the
390
+ * defect #296 exists to close. It becomes required when the catalog is complete.
391
+ */
392
+ body: AssuranceEvidenceRequirementBodySchema.optional(),
253
393
  })
254
394
  .superRefine((authority, context) => addUniqueSortedIssue(authority.requiredStatementEvidenceRefs, context, ["requiredStatementEvidenceRefs"], "requiredStatementEvidenceRefs"));
395
+ /**
396
+ * What a VERIFICATION demand actually asks someone to do.
397
+ *
398
+ * The verification plane was degenerate until 2026-09-08: `requiredStatementVerificationRefs` held the
399
+ * expectation's own ref in 50 of 50 bindings, so the demand said "to verify X, see X" and stated
400
+ * nothing a verifier could act on (#452). The evidence axis beside it was never degenerate, which is
401
+ * what made the defect specific to this tier rather than a modelling slip.
402
+ *
403
+ * Deliberately NOT a copy of {@link AssuranceEvidenceRequirementBodySchema}. They answer different
404
+ * questions and conflating them is how a verification demand becomes a second evidence list:
405
+ *
406
+ * - EVIDENCE asks *what artifact proves this ran* — a row, an export, a declaration.
407
+ * - VERIFICATION asks *what a person or a test DOES to establish the control holds*, and what that
408
+ * act cannot establish.
409
+ *
410
+ * `acceptableMethods` is the field that makes it a demand rather than prose: it is drawn from
411
+ * {@link AssuranceVerificationMethod}, so a body states which kinds of act satisfy it and an
412
+ * application's own `AssuranceVerificationExpectation.method` can be checked against it.
413
+ */
414
+ export const AssuranceVerificationRequirementBodySchema = z.strictObject({
415
+ schemaVersion: z.literal(1),
416
+ /**
417
+ * Whether the demand applies to THIS application, and how a judge decides — first field for the
418
+ * same reason as on the evidence body: an application that declared no lane has not failed a
419
+ * control, and a body without this invites a nonconformity against everyone who did not build it.
420
+ */
421
+ applicability: z.string().trim().min(1),
422
+ /** Which kinds of act satisfy the demand. Named vocabulary members, never prose. */
423
+ acceptableMethods: z.array(z.enum(AssuranceVerificationMethod)).min(1),
424
+ /** Mechanical enough that two verifiers perform the same act and can disagree about the result. */
425
+ procedure: z.array(z.string().trim().min(1)).min(1),
426
+ /** What a PASS looks like, stated so it can be false. */
427
+ passCriteria: z.string().trim().min(1),
428
+ /**
429
+ * What this act does NOT establish. The counterpart of an application's `limitationRefs`, and the
430
+ * field that stops a verification being read as operating effectiveness.
431
+ */
432
+ knownLimitations: z.string().trim().min(1),
433
+ /** What a failure MEANS, so severity follows evidenced risk rather than wording intensity. */
434
+ severityGuidance: z.string().trim().min(1),
435
+ });
255
436
  export const AssuranceProgramVerificationExpectationAuthoritySchema = z
256
437
  .strictObject({
257
438
  identity: AssuranceProgramExpectationIdentitySchema,
258
439
  objective: AssuranceObjectiveIdentitySchema,
259
440
  requiredStatementVerificationRefs: z.array(AssuranceNamespacedRefSchema).min(1),
441
+ /**
442
+ * OPTIONAL while the bodies are authored, exactly as on the evidence authority beside it.
443
+ *
444
+ * Optional so the basis stays parseable during the tranche, NOT as a permanent posture: a demand
445
+ * with no body is a slug a verifier cannot act on. It becomes required when the catalog is
446
+ * complete.
447
+ */
448
+ body: AssuranceVerificationRequirementBodySchema.optional(),
260
449
  })
261
450
  .superRefine((authority, context) => addUniqueSortedIssue(authority.requiredStatementVerificationRefs, context, ["requiredStatementVerificationRefs"], "requiredStatementVerificationRefs"));
262
451
  export const AssuranceProgramValidationAuthoritySnapshotSchema = z
@@ -844,6 +1033,23 @@ export var AssuranceProgramSpecificationIssueKind;
844
1033
  * present and unchanged except for its implementation revision, see `HOST_CAPABILITY_IMPLEMENTATION_DRIFT`.
845
1034
  */
846
1035
  AssuranceProgramSpecificationIssueKind["UNKNOWN_CAPABILITY"] = "UNKNOWN_CAPABILITY";
1036
+ /**
1037
+ * An expectation this program claims REQUIRES a capability the application's own configuration does
1038
+ * not make available, because the engine capability that carries it is not enabled.
1039
+ *
1040
+ * Distinct from `RELATIONSHIP_MISMATCH`, which reads as "the accepted statement forgot to bind
1041
+ * something", and from `UNKNOWN_CAPABILITY`, which is about a capability the program CLAIMS. Here
1042
+ * nothing was forgotten and nothing is claimed wrongly: the control simply cannot be attested with
1043
+ * this configuration, and no amount of re-authoring the statement changes that. Reported separately
1044
+ * because the two remedies are opposites — bind the capability, versus enable the engine capability
1045
+ * or stop claiming the objective.
1046
+ *
1047
+ * The issue carries the resulting applicability so the reader does not have to derive it: an
1048
+ * objective whose expectation required ONLY unavailable capabilities is `NOT_APPLICABLE`, while one
1049
+ * that also required an available capability is `UNDETERMINED` — the control operates and only the
1050
+ * capability attesting it is absent. See `deriveExpectationCapabilityApplicability`.
1051
+ */
1052
+ AssuranceProgramSpecificationIssueKind["REQUIRED_CAPABILITY_UNAVAILABLE"] = "REQUIRED_CAPABILITY_UNAVAILABLE";
847
1053
  AssuranceProgramSpecificationIssueKind["UNKNOWN_DOCUMENT"] = "UNKNOWN_DOCUMENT";
848
1054
  AssuranceProgramSpecificationIssueKind["UNKNOWN_DOCUMENT_SOURCE"] = "UNKNOWN_DOCUMENT_SOURCE";
849
1055
  AssuranceProgramSpecificationIssueKind["UNKNOWN_FINDING"] = "UNKNOWN_FINDING";
@@ -896,6 +1102,12 @@ export const ASSURANCE_PROGRAM_SPECIFICATION_ISSUE_CLASS_BY_KIND = {
896
1102
  [AssuranceProgramSpecificationIssueKind.OBLIGATION_GOVERNANCE_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,
897
1103
  [AssuranceProgramSpecificationIssueKind.OBLIGATION_REGISTER_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,
898
1104
  [AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,
1105
+ /*
1106
+ * SPECIFICATION_DEFECT, and deliberately NOT host divergence: nothing has drifted and there is no
1107
+ * newer host state to re-accept. The program claims an objective this application's configuration
1108
+ * forecloses, which is a statement about the authored program rather than about the host moving.
1109
+ */
1110
+ [AssuranceProgramSpecificationIssueKind.REQUIRED_CAPABILITY_UNAVAILABLE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,
899
1111
  /*
900
1112
  * Deliberately a specification defect, not host attestation: the host record is internally sound and the program
901
1113
  * simply disagrees with it. That is equally consistent with a mis-transcribed reference and with host metadata
@@ -926,6 +1138,43 @@ export const ASSURANCE_PROGRAM_SPECIFICATION_ISSUE_CLASS_BY_KIND = {
926
1138
  [AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REVISION]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,
927
1139
  [AssuranceProgramSpecificationIssueKind.UNKNOWN_VALIDATION_AUTHORITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,
928
1140
  };
1141
+ /**
1142
+ * What an application's enabled capability set does to ONE expectation's demand.
1143
+ *
1144
+ * A capability an application has not enabled is filtered out of its authority snapshot, so an
1145
+ * expectation requiring it can never be satisfied there. The question this answers is what that
1146
+ * SHOULD mean, and the answer differs by whether the missing capability IS the control or merely
1147
+ * attests one:
1148
+ *
1149
+ * | required capabilities available | status | reading |
1150
+ * |---|---|---|
1151
+ * | all | `APPLICABLE` | nothing stands in the way |
1152
+ * | none | `NOT_APPLICABLE` | the absent capability IS the control; there is nothing to claim |
1153
+ * | some | `UNDETERMINED` | the control operates, and the capability that would ATTEST it is absent |
1154
+ *
1155
+ * The middle and last rows are the distinction that matters, and collapsing them is the trap. Treating
1156
+ * a partly-available expectation as `NOT_APPLICABLE` would let an application escape a control it
1157
+ * genuinely implements — a consent record is still written, an administrative floor still refuses —
1158
+ * merely by leaving the capability that reports those acts switched off. Treating it as `APPLICABLE`
1159
+ * would claim evidence nobody can produce. `UNDETERMINED` is the only one of the three that is true.
1160
+ *
1161
+ * Deliberately a pure function of two sets, so the same rule serves validation, program generation and
1162
+ * anything that wants to warn an application builder BEFORE a run: one rule, one place to read it.
1163
+ */
1164
+ export function deriveExpectationCapabilityApplicability(input) {
1165
+ const unavailableCapabilityRefs = input.requiredCapabilityRefs.filter((capabilityRef) => !input.availableCapabilityRefs.has(capabilityRef));
1166
+ if (unavailableCapabilityRefs.length === 0)
1167
+ return { status: AssuranceProgramApplicabilityStatus.APPLICABLE, unavailableCapabilityRefs };
1168
+ /*
1169
+ * An expectation authority always declares at least one required capability (its schema sets
1170
+ * `.min(1)`), so "every required capability is unavailable" cannot be reached vacuously by an empty
1171
+ * demand — which would otherwise report NOT_APPLICABLE for an expectation that demanded nothing.
1172
+ */
1173
+ const status = unavailableCapabilityRefs.length === input.requiredCapabilityRefs.length
1174
+ ? AssuranceProgramApplicabilityStatus.NOT_APPLICABLE
1175
+ : AssuranceProgramApplicabilityStatus.UNDETERMINED;
1176
+ return { status, unavailableCapabilityRefs };
1177
+ }
929
1178
  /** Classifies one issue as a statement about the specification or about the host. */
930
1179
  export function classifyAssuranceProgramSpecificationIssue(issue) {
931
1180
  return ASSURANCE_PROGRAM_SPECIFICATION_ISSUE_CLASS_BY_KIND[issue.kind];
@@ -1012,9 +1261,14 @@ export const AssuranceProgramSpecificationV1Schema = z
1012
1261
  * second current authoring shape. It is an intent, not an enforced one (#221).
1013
1262
  *
1014
1263
  * Exactly one v2 programme exists today, `examples/wonder-todos`, and it is the only assurance programme in the
1015
- * repository. (`examples/wonder-crm/specifications/src/compliance/index.ts` is a PROCESSOR REGISTER, not a
1016
- * programme — its `schemaVersion: 1` belongs to `ApplicationProcessorRegisterSchema`, and a grep for the first
1017
- * `schemaVersion` in a file named `compliance/` reads it as a v1 programme.)
1264
+ * repository. Wonder CRM has none: what it carries is a PROCESSOR REGISTER, whose `schemaVersion: 1` belongs to
1265
+ * `ApplicationProcessorRegisterSchema` and must not be counted as a v1 programme.
1266
+ *
1267
+ * prose-referent-waiver: the absent path is quoted precisely BECAUSE it is absent — retiring it by name is what
1268
+ * stops the next reader reintroducing it.
1269
+ * (Until 2026-09-09 this named that register as `examples/wonder-crm/specifications/src/compliance/index.ts`,
1270
+ * a path Wonder CRM has never had — its register is authored under `specifications/src/processor-register/`.
1271
+ * The warning is kept because the confusion is real; the file-name half of it was not.)
1018
1272
  */
1019
1273
  export const AssuranceProgramSpecificationV2Schema = z
1020
1274
  .strictObject({
@@ -1576,6 +1830,14 @@ export const validateAssuranceProgramSpecification = (program, authorities) => {
1576
1830
  const objectiveRecords = new Map(snapshot.objectiveCatalog.objectives.map((objective) => [versionedObjectiveKey(objective.identity), objective]));
1577
1831
  const applicationRoleRefs = new Set(snapshot.applicationRoleRefs);
1578
1832
  const hostCapabilities = new Map(snapshot.capabilityAuthorities.map((authority) => [versionedCapabilityKey(authority.identity), authority]));
1833
+ /*
1834
+ * Ref-only, unlike `hostCapabilities` above, and the difference is load-bearing. An expectation
1835
+ * authority names the capabilities it REQUIRES without a version, so asking the versioned map would
1836
+ * report every requirement as unavailable the moment a capability's version moved — a configuration
1837
+ * diagnosis for what is really a version question, which `HOST_CAPABILITY_IMPLEMENTATION_DRIFT`
1838
+ * already answers properly.
1839
+ */
1840
+ const hostCapabilityRefs = new Set(snapshot.capabilityAuthorities.map((authority) => authority.identity.capabilityRef));
1579
1841
  const hostArtifacts = new Set(snapshot.implementationArtifacts.map((artifact) => artifact.artifactRef));
1580
1842
  const hostImplementationArtifactsByKind = new Map(snapshot.hostImplementationArtifacts.map((artifact) => [artifact.artifactKindRef, artifact]));
1581
1843
  const sourceRequirementAuthorities = new Map(snapshot.sourceRequirementAuthorities.map((authority) => [versionedSourceRequirementKey(authority), authority]));
@@ -2024,7 +2286,33 @@ export const validateAssuranceProgramSpecification = (program, authorities) => {
2024
2286
  const statementVerification = new Set(statement.verificationExpectations.map((expectation) => expectation.expectationRef));
2025
2287
  binding.implementationExpectationRefs.forEach((identity) => {
2026
2288
  const authority = implementationExpectationAuthorities.get(versionedExpectationKey(identity));
2027
- if (authority?.requiredCapabilityRefs.some((capabilityRef) => !statementCapabilities.has(capabilityRef)))
2289
+ if (!authority)
2290
+ return;
2291
+ /*
2292
+ * Ask WHY before reporting that the statement does not satisfy the expectation. A capability the
2293
+ * application's configuration withholds cannot be bound by any statement, so the generic mismatch
2294
+ * below would tell an author to fix something they cannot fix — and that misdirection is not
2295
+ * theoretical: it has already cost rounds of evidence collection against an objective whose
2296
+ * attesting capability was never available, answerable from configuration before any was gathered.
2297
+ */
2298
+ const applicability = deriveExpectationCapabilityApplicability({
2299
+ requiredCapabilityRefs: authority.requiredCapabilityRefs,
2300
+ availableCapabilityRefs: hostCapabilityRefs,
2301
+ });
2302
+ if (applicability.status !== AssuranceProgramApplicabilityStatus.APPLICABLE) {
2303
+ issues.push({
2304
+ kind: AssuranceProgramSpecificationIssueKind.REQUIRED_CAPABILITY_UNAVAILABLE,
2305
+ path: `implementationStatements.${statementIndex}.capabilityBindingRefs`,
2306
+ subjectRef: versionedExpectationKey(identity),
2307
+ message: `${versionedExpectationKey(identity)} requires ${applicability.unavailableCapabilityRefs.join(", ")}, which this ` +
2308
+ `application's configuration does not make available, so the objective is ${applicability.status}. ` +
2309
+ (applicability.status === AssuranceProgramApplicabilityStatus.NOT_APPLICABLE
2310
+ ? "Every capability it required is absent, so there is no control here to claim: enable the engine capability that carries them, or stop claiming this objective."
2311
+ : "The control itself still operates; only the capability that would attest it is absent, so whether the objective holds cannot be determined from this configuration."),
2312
+ });
2313
+ return;
2314
+ }
2315
+ if (authority.requiredCapabilityRefs.some((capabilityRef) => !statementCapabilities.has(capabilityRef)))
2028
2316
  issues.push({
2029
2317
  kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,
2030
2318
  path: `implementationStatements.${statementIndex}.capabilityBindingRefs`,