@wildo-ai/saas-specifications 1.1.4 → 1.1.5

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 (1476) hide show
  1. package/dist/assurance/external-framework-mapping.json +1228 -0
  2. package/dist/esm/_catalogs/index.d.ts.map +1 -1
  3. package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
  4. package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
  5. package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
  6. package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
  7. package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
  8. package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
  9. package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
  10. package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
  11. package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
  12. package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
  13. package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
  14. package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
  15. package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
  16. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
  17. package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
  18. package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
  19. package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
  20. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
  21. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
  22. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
  23. package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
  24. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
  25. package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
  26. package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
  27. package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
  28. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
  29. package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
  30. package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
  31. package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
  32. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
  33. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
  34. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
  35. package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
  36. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
  37. package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
  38. package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
  39. package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
  40. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
  41. package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
  42. package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
  43. package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
  44. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
  45. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  46. package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
  47. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  48. package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
  49. package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
  50. package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
  51. package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
  52. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
  53. package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
  55. package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
  56. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
  57. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  58. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  59. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
  60. package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
  61. package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
  62. package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
  63. package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
  64. package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
  65. package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
  66. package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
  67. package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
  68. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
  69. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  70. package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
  71. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  72. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
  73. package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
  74. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
  75. package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
  76. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
  77. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
  78. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  79. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
  80. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  81. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
  82. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  83. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
  84. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  85. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
  86. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
  87. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
  88. package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
  89. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
  90. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
  91. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
  92. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
  93. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
  94. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
  95. package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
  96. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  97. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  98. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  99. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  100. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
  101. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
  103. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
  104. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
  105. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
  106. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
  107. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
  108. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
  109. package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
  110. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
  111. package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
  112. package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
  113. package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
  114. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
  115. package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
  116. package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
  117. package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
  118. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
  119. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
  120. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
  121. package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
  122. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
  123. package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
  124. package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
  125. package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
  126. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  127. package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +42 -0
  129. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  130. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +60 -2
  131. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  132. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
  133. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
  134. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
  135. package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
  136. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +245 -7
  137. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  138. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +227 -3
  139. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  140. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
  141. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
  142. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
  143. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
  144. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
  145. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
  146. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
  147. package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
  148. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  149. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
  150. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  151. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
  152. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
  153. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
  154. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +218 -4
  155. package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
  156. package/dist/esm/_core/compliance-documents/processor-register.schemas.js +147 -2
  157. package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
  158. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
  159. package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
  160. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
  161. package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
  162. package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
  163. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  164. package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
  165. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  166. package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
  167. package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
  168. package/dist/esm/_core/cross-registry-assertions.js +7 -5
  169. package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
  170. package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
  171. package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
  172. package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
  173. package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
  174. package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
  175. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
  176. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
  178. package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
  179. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
  180. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
  181. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
  182. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
  183. package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
  184. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  185. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
  186. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
  187. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
  188. package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
  189. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
  190. package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
  191. package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
  192. package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
  193. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
  194. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
  195. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
  196. package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
  197. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
  198. package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
  199. package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
  200. package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
  201. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
  202. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
  203. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
  204. package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
  205. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
  206. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  207. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
  208. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  209. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  210. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  211. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
  212. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
  213. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
  214. package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
  215. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
  216. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  217. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
  218. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  219. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
  220. package/dist/esm/_core/family-aspects.registry.js +22 -1
  221. package/dist/esm/_core/family-aspects.registry.js.map +1 -1
  222. package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
  223. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
  224. package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
  225. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +34 -34
  226. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
  227. package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
  228. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
  229. package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
  230. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
  231. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
  232. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
  233. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  234. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  235. package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
  236. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
  237. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
  238. package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
  239. package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
  240. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  241. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  242. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  243. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
  244. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  245. package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
  246. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  247. package/dist/esm/_core/index.d.ts +16 -0
  248. package/dist/esm/_core/index.d.ts.map +1 -1
  249. package/dist/esm/_core/index.js +16 -0
  250. package/dist/esm/_core/index.js.map +1 -1
  251. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
  252. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
  253. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
  254. package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
  255. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
  256. package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
  257. package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
  258. package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
  259. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
  260. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
  261. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
  262. package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
  263. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
  264. package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
  265. package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
  266. package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
  267. package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
  268. package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
  269. package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
  270. package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
  271. package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
  272. package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
  273. package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
  274. package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
  275. package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
  276. package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
  277. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
  278. package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
  279. package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
  280. package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
  281. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
  282. package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
  283. package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
  284. package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
  285. package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
  286. package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
  287. package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
  288. package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
  289. package/dist/esm/_core/market/market-channel.schemas.js +6 -3
  290. package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
  291. package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
  292. package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
  293. package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
  294. package/dist/esm/_core/market/market-gain.schemas.js +4 -1
  295. package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
  296. package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
  297. package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
  298. package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
  299. package/dist/esm/_core/market/market-icp.schemas.js +12 -9
  300. package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
  301. package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
  302. package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
  303. package/dist/esm/_core/market/market-job.schemas.js +4 -1
  304. package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
  305. package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
  306. package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
  307. package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
  308. package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
  309. package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
  310. package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
  311. package/dist/esm/_core/market/market-objection.schemas.js +4 -1
  312. package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
  313. package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
  314. package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
  315. package/dist/esm/_core/market/market-pain.schemas.js +4 -1
  316. package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
  317. package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
  318. package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
  319. package/dist/esm/_core/market/market-persona.schemas.js +5 -2
  320. package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
  321. package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
  322. package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
  323. package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
  324. package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
  325. package/dist/esm/_core/market/market-proof.schemas.js +4 -1
  326. package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
  327. package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
  328. package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
  329. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +68 -68
  330. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  331. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  332. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  333. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  334. package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
  335. package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
  336. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
  337. package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
  338. package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
  339. package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
  340. package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
  341. package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
  342. package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
  343. package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
  344. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
  345. package/dist/esm/_core/market/market.family-aspects.js +25 -1
  346. package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
  347. package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
  348. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
  349. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  350. package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
  351. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  352. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
  353. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  354. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  355. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +8 -0
  356. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  357. package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -1
  358. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  359. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
  360. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
  361. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
  362. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +66 -39
  363. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  364. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +50 -16
  365. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  366. package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
  367. package/dist/esm/_core/provider-specification.schemas.d.ts +3 -0
  368. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
  369. package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
  370. package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
  371. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
  372. package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
  373. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
  374. package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
  375. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
  376. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
  377. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
  378. package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
  379. package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
  380. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  381. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  382. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  383. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  384. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
  385. package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
  386. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
  387. package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
  388. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
  389. package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
  390. package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
  391. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  392. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  393. package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
  394. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
  395. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
  396. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
  397. package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
  398. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
  399. package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
  400. package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
  401. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  402. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  403. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
  404. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  405. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
  406. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  407. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
  408. package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
  409. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
  410. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
  411. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
  412. package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
  413. package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
  414. package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
  415. package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
  416. package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
  417. package/dist/esm/_core/utils/extract-field-specs.js +4 -2
  418. package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
  419. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
  420. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
  421. package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
  422. package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
  423. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
  424. package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
  425. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
  426. package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
  427. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
  428. package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
  429. package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
  430. package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
  431. package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
  432. package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
  433. package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
  434. package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
  435. package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
  436. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  437. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  438. package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
  439. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
  440. package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
  441. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
  442. package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
  443. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
  444. package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
  445. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
  446. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
  447. package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
  448. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
  449. package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
  450. package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
  451. package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
  452. package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
  453. package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
  454. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
  455. package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
  456. package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
  457. package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
  458. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
  459. package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
  460. package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
  461. package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
  462. package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
  463. package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
  464. package/dist/esm/_core/zod-core-nameability.js +1 -0
  465. package/dist/esm/_core/zod-core-nameability.js.map +1 -0
  466. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
  467. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
  468. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
  469. package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
  470. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
  471. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  472. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
  473. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  474. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
  475. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
  476. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
  477. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  478. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
  479. package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
  480. package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
  481. package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
  482. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
  483. package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
  484. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
  485. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
  486. package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
  487. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
  488. package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
  489. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
  490. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  491. package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
  492. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  493. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -503
  494. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  495. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -542
  496. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  497. package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
  498. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
  499. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  500. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
  501. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  502. package/dist/esm/application-creation.exports.d.ts +73 -8
  503. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  504. package/dist/esm/application-creation.exports.js +103 -8
  505. package/dist/esm/application-creation.exports.js.map +1 -1
  506. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
  507. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
  508. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
  509. package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
  510. package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
  511. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  512. package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
  513. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  514. package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
  515. package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
  516. package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
  517. package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
  518. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
  519. package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
  520. package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
  521. package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
  522. package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
  523. package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
  524. package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
  525. package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
  526. package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
  527. package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
  528. package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
  529. package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
  530. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +246 -13
  531. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  532. package/dist/esm/assurance/assurance-authority-basis.definitions.js +821 -87
  533. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  534. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +100 -34
  535. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  536. package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
  537. package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
  538. package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
  539. package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
  540. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  541. package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
  542. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  543. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
  544. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  545. package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
  546. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  547. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
  548. package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
  549. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
  550. package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
  551. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -46
  552. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
  553. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1613 -406
  554. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
  555. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
  556. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
  557. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  558. package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
  559. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  560. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +2 -2
  561. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  562. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +108 -5
  563. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  564. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
  565. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
  566. package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
  567. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
  568. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
  569. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
  570. package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
  571. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
  572. package/dist/esm/assurance/assurance-program.schemas.d.ts +1180 -347
  573. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  574. package/dist/esm/assurance/assurance-program.schemas.js +458 -74
  575. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  576. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  577. package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
  578. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  579. package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
  580. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  581. package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
  582. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  583. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
  584. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +179 -6
  585. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
  586. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
  587. package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
  588. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
  589. package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
  590. package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
  591. package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
  592. package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
  593. package/dist/esm/assurance/governed-document-release.d.ts +211 -0
  594. package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
  595. package/dist/esm/assurance/governed-document-release.js +314 -0
  596. package/dist/esm/assurance/governed-document-release.js.map +1 -0
  597. package/dist/esm/assurance.exports.d.ts +5 -0
  598. package/dist/esm/assurance.exports.d.ts.map +1 -1
  599. package/dist/esm/assurance.exports.js +5 -0
  600. package/dist/esm/assurance.exports.js.map +1 -1
  601. package/dist/esm/companion-exports.d.ts +135 -11
  602. package/dist/esm/companion-exports.d.ts.map +1 -1
  603. package/dist/esm/companion-exports.js.map +1 -1
  604. package/dist/esm/engine/_bootstrap.d.ts +1 -1
  605. package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
  606. package/dist/esm/engine/_bootstrap.js +1 -1
  607. package/dist/esm/engine/_bootstrap.js.map +1 -1
  608. package/dist/esm/engine/applications/index.d.ts.map +1 -1
  609. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  610. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
  612. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  613. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
  614. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  615. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
  616. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  617. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
  618. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  619. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
  620. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  621. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
  622. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  623. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
  624. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  625. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  626. package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
  627. package/dist/esm/engine/auth/index.d.ts.map +1 -1
  628. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +11 -1
  629. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
  630. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +67 -10
  631. package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
  632. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
  633. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
  634. package/dist/esm/engine/auth/resources/index.d.ts +1 -0
  635. package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
  636. package/dist/esm/engine/auth/resources/index.js +1 -0
  637. package/dist/esm/engine/auth/resources/index.js.map +1 -1
  638. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  639. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  640. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  641. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  642. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
  643. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  644. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
  645. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  646. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
  647. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
  648. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
  649. package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
  650. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
  651. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
  652. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
  653. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
  654. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  655. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  656. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  657. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
  658. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  659. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  660. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  661. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  662. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  663. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
  664. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
  665. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
  666. package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
  667. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
  668. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  669. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
  670. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  671. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
  672. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  673. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +5 -26
  674. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  675. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +6 -2
  676. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  677. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
  678. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  679. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
  680. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
  681. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
  682. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
  683. package/dist/esm/engine/billing/index.d.ts.map +1 -1
  684. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  685. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
  686. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  687. package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
  688. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
  689. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
  690. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
  691. package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
  692. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
  693. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
  694. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
  695. package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
  696. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
  697. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
  698. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
  699. package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
  700. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
  701. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
  702. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
  703. package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
  704. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  705. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  706. package/dist/esm/engine/billing/resources/index.d.ts +4 -0
  707. package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
  708. package/dist/esm/engine/billing/resources/index.js +4 -0
  709. package/dist/esm/engine/billing/resources/index.js.map +1 -1
  710. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  711. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  712. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
  713. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  714. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  715. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
  716. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  717. package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
  718. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  719. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  720. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  721. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  722. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  723. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  724. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
  725. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  726. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  727. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  728. package/dist/esm/engine/compliance/index.d.ts.map +1 -1
  729. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -7
  730. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
  731. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +72 -13
  732. package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
  733. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
  734. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  735. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  736. package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
  737. package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
  738. package/dist/esm/engine/compliance/resources/index.js +1 -0
  739. package/dist/esm/engine/compliance/resources/index.js.map +1 -1
  740. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
  741. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
  742. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
  743. package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
  744. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  745. package/dist/esm/engine/engine-resource-specifications.registry.js +24 -0
  746. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  747. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
  748. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
  749. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  750. package/dist/esm/engine/errors/error-messages.specification.js +104 -19
  751. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  752. package/dist/esm/engine/errors/index.d.ts.map +1 -1
  753. package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
  754. package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
  755. package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
  756. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  757. package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
  758. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  759. package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
  760. package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
  761. package/dist/esm/engine/features/index.d.ts.map +1 -1
  762. package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
  763. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  764. package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
  765. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  766. package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
  767. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  768. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
  769. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  770. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  771. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  772. package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
  773. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  774. package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
  775. package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
  776. package/dist/esm/engine/files/index.d.ts.map +1 -1
  777. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  778. package/dist/esm/engine/files/resources/files.resource.specification.js +14 -2
  779. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  780. package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
  781. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  782. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  783. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  784. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  785. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
  786. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  787. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
  788. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  789. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  790. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  791. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
  792. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
  793. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
  794. package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
  795. package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
  796. package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
  797. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
  798. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
  799. package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
  800. package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
  801. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
  802. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
  803. package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
  804. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
  805. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
  806. package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
  807. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
  808. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
  809. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
  810. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
  811. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
  812. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
  813. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
  814. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
  815. package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
  816. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
  817. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
  818. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
  819. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
  820. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
  821. package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
  822. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
  823. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
  824. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
  825. package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
  826. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
  827. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
  828. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
  829. package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
  830. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
  831. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
  832. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
  833. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
  834. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
  835. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
  836. package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
  837. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
  838. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
  839. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
  840. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
  841. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
  842. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
  843. package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
  844. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
  845. package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
  846. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
  847. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
  848. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
  849. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
  850. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
  851. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
  852. package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
  853. package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
  854. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
  855. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
  856. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
  857. package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
  858. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
  859. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
  860. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
  861. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
  862. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
  863. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
  864. package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
  865. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
  866. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
  867. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
  868. package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
  869. package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
  870. package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
  871. package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
  872. package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  873. package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
  874. package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
  875. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
  876. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
  877. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
  878. package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
  879. package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
  880. package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
  881. package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
  882. package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
  883. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
  884. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
  885. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  886. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
  887. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  888. package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
  889. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
  890. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
  891. package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
  892. package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
  893. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
  894. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
  895. package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
  896. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
  897. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
  898. package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
  899. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
  900. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
  901. package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
  902. package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
  903. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
  904. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
  905. package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
  906. package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
  907. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
  908. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
  909. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
  910. package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
  911. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
  912. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
  913. package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
  914. package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
  915. package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
  916. package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
  917. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
  918. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
  919. package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
  920. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
  921. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
  922. package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
  923. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
  924. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
  925. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
  926. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
  927. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
  928. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
  929. package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
  930. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
  931. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
  932. package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
  933. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
  934. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
  935. package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
  936. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
  937. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
  938. package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
  939. package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
  940. package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
  941. package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
  942. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
  943. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
  944. package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
  945. package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
  946. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
  947. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
  948. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
  949. package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
  950. package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
  951. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
  952. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
  953. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
  954. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
  955. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  956. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
  957. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
  958. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
  959. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
  960. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
  961. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
  962. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
  963. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
  964. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
  965. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
  966. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
  967. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
  968. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
  969. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
  970. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  971. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
  972. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
  973. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
  974. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
  975. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  976. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
  977. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  978. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
  979. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
  980. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
  981. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
  982. package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
  983. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
  984. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
  985. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
  986. package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
  987. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
  988. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
  989. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
  990. package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
  991. package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
  992. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
  993. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
  994. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
  995. package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
  996. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
  997. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
  998. package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
  999. package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
  1000. package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
  1001. package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
  1002. package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
  1003. package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
  1004. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
  1005. package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
  1006. package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
  1007. package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
  1008. package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
  1009. package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
  1010. package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
  1011. package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
  1012. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
  1013. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
  1014. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
  1015. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
  1016. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
  1017. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
  1018. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
  1019. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
  1020. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
  1021. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
  1022. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
  1023. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
  1024. package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
  1025. package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
  1026. package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
  1027. package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
  1028. package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
  1029. package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
  1030. package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
  1031. package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
  1032. package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
  1033. package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
  1034. package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
  1035. package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
  1036. package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
  1037. package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
  1038. package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
  1039. package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
  1040. package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
  1041. package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
  1042. package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
  1043. package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
  1044. package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
  1045. package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
  1046. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
  1047. package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
  1048. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
  1049. package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
  1050. package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
  1051. package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
  1052. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
  1053. package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
  1054. package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
  1055. package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
  1056. package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
  1057. package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
  1058. package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
  1059. package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
  1060. package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
  1061. package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
  1062. package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
  1063. package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
  1064. package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
  1065. package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
  1066. package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
  1067. package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
  1068. package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
  1069. package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
  1070. package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
  1071. package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
  1072. package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
  1073. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
  1074. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
  1075. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
  1076. package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
  1077. package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
  1078. package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
  1079. package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
  1080. package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
  1081. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
  1082. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
  1083. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
  1084. package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
  1085. package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1086. package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
  1087. package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
  1088. package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
  1089. package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
  1090. package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
  1091. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
  1092. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
  1093. package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
  1094. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
  1095. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
  1096. package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
  1097. package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
  1098. package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
  1099. package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
  1100. package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
  1101. package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
  1102. package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
  1103. package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
  1104. package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
  1105. package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
  1106. package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
  1107. package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
  1108. package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
  1109. package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
  1110. package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
  1111. package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
  1112. package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
  1113. package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
  1114. package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
  1115. package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
  1116. package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
  1117. package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
  1118. package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
  1119. package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
  1120. package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
  1121. package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
  1122. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
  1123. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
  1124. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
  1125. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
  1126. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
  1127. package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
  1128. package/dist/esm/engine/frontend-components/index.d.ts +12 -0
  1129. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  1130. package/dist/esm/engine/frontend-components/index.js +40 -0
  1131. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  1132. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
  1133. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
  1134. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
  1135. package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
  1136. package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
  1137. package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
  1138. package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
  1139. package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
  1140. package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
  1141. package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
  1142. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
  1143. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
  1144. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
  1145. package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
  1146. package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
  1147. package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
  1148. package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
  1149. package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
  1150. package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
  1151. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
  1152. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
  1153. package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
  1154. package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
  1155. package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
  1156. package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
  1157. package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
  1158. package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
  1159. package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
  1160. package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
  1161. package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
  1162. package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1163. package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
  1164. package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
  1165. package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
  1166. package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
  1167. package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
  1168. package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
  1169. package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
  1170. package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
  1171. package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
  1172. package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
  1173. package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
  1174. package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
  1175. package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
  1176. package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
  1177. package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
  1178. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
  1179. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
  1180. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
  1181. package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
  1182. package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
  1183. package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
  1184. package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
  1185. package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
  1186. package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
  1187. package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
  1188. package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
  1189. package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
  1190. package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
  1191. package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
  1192. package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
  1193. package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
  1194. package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
  1195. package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
  1196. package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
  1197. package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
  1198. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
  1199. package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
  1200. package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
  1201. package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
  1202. package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
  1203. package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
  1204. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
  1205. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
  1206. package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
  1207. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
  1208. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
  1209. package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
  1210. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
  1211. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
  1212. package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
  1213. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
  1214. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
  1215. package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
  1216. package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
  1217. package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
  1218. package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
  1219. package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
  1220. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
  1221. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
  1222. package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
  1223. package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
  1224. package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
  1225. package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
  1226. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
  1227. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
  1228. package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
  1229. package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
  1230. package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
  1231. package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
  1232. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
  1233. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
  1234. package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
  1235. package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
  1236. package/dist/esm/engine/guidance/index.d.ts.map +1 -1
  1237. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  1238. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  1239. package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
  1240. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  1241. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  1242. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
  1243. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  1244. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  1245. package/dist/esm/engine/index.d.ts.map +1 -1
  1246. package/dist/esm/engine/index.js.map +1 -1
  1247. package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
  1248. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  1249. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  1250. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
  1251. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
  1252. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
  1253. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
  1254. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  1255. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
  1256. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  1257. package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
  1258. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
  1259. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  1260. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
  1261. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  1262. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
  1263. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  1264. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
  1265. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  1266. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
  1267. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
  1268. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
  1269. package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
  1270. package/dist/esm/engine/notifications/index.d.ts.map +1 -1
  1271. package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
  1272. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  1273. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
  1274. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  1275. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  1276. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  1277. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  1278. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  1279. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
  1280. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  1281. package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
  1282. package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
  1283. package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
  1284. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
  1285. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
  1286. package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
  1287. package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
  1288. package/dist/esm/engine/organizations/index.d.ts.map +1 -1
  1289. package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
  1290. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  1291. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  1292. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  1293. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  1294. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  1295. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  1296. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  1297. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  1298. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
  1299. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  1300. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  1301. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  1302. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
  1303. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  1304. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
  1305. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  1306. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
  1307. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  1308. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
  1309. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  1310. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
  1311. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
  1312. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
  1313. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
  1314. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
  1315. package/dist/esm/engine/providers/apple.provider.specification.js +2 -0
  1316. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
  1317. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
  1318. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
  1319. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
  1320. package/dist/esm/engine/providers/github.provider.specification.js +2 -0
  1321. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
  1322. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
  1323. package/dist/esm/engine/providers/google.provider.specification.js +2 -0
  1324. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
  1325. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
  1326. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
  1327. package/dist/esm/engine/providers/index.d.ts.map +1 -1
  1328. package/dist/esm/engine/providers/index.js.map +1 -1
  1329. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
  1330. package/dist/esm/engine/providers/microsoft.provider.specification.js +12 -0
  1331. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
  1332. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
  1333. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
  1334. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
  1335. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
  1336. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
  1337. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
  1338. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
  1339. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
  1340. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
  1341. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
  1342. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
  1343. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
  1344. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
  1345. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
  1346. package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
  1347. package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
  1348. package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
  1349. package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
  1350. package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
  1351. package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
  1352. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
  1353. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
  1354. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
  1355. package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
  1356. package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
  1357. package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
  1358. package/dist/esm/engine/roles/index.d.ts +4 -3
  1359. package/dist/esm/engine/roles/index.d.ts.map +1 -1
  1360. package/dist/esm/engine/roles/index.js +6 -4
  1361. package/dist/esm/engine/roles/index.js.map +1 -1
  1362. package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
  1363. package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
  1364. package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
  1365. package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
  1366. package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
  1367. package/dist/esm/engine/users/index.d.ts.map +1 -1
  1368. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
  1369. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  1370. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
  1371. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  1372. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
  1373. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  1374. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
  1375. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  1376. package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
  1377. package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
  1378. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  1379. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  1380. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
  1381. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  1382. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
  1383. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  1384. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
  1385. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
  1386. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
  1387. package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
  1388. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  1389. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  1390. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
  1391. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  1392. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  1393. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  1394. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
  1395. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  1396. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
  1397. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  1398. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  1399. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  1400. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
  1401. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  1402. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  1403. package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
  1404. package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
  1405. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  1406. package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
  1407. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  1408. package/dist/esm/index.d.ts +39 -0
  1409. package/dist/esm/index.d.ts.map +1 -1
  1410. package/dist/esm/index.js +39 -0
  1411. package/dist/esm/index.js.map +1 -1
  1412. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
  1413. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
  1414. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
  1415. package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
  1416. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
  1417. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
  1418. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
  1419. package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
  1420. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
  1421. package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
  1422. package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
  1423. package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
  1424. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
  1425. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
  1426. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
  1427. package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
  1428. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
  1429. package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
  1430. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
  1431. package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
  1432. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  1433. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
  1434. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  1435. package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
  1436. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
  1437. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
  1438. package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
  1439. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
  1440. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
  1441. package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
  1442. package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
  1443. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
  1444. package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
  1445. package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
  1446. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
  1447. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
  1448. package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
  1449. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
  1450. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
  1451. package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
  1452. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
  1453. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
  1454. package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
  1455. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
  1456. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  1457. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
  1458. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  1459. package/dist/esm/technical-documentation.exports.d.ts +4 -0
  1460. package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
  1461. package/dist/esm/technical-documentation.exports.js +24 -0
  1462. package/dist/esm/technical-documentation.exports.js.map +1 -1
  1463. package/dist/tsconfig.build.tsbuildinfo +1 -1
  1464. package/package.json +8 -13
  1465. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
  1466. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
  1467. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
  1468. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
  1469. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
  1470. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
  1471. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
  1472. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
  1473. package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
  1474. package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
  1475. package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
  1476. package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"assurance-program.schemas.js","sourceRoot":"","sources":["../../../src/assurance/assurance-program.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,cAAc,EACd,mCAAmC,EACnC,4BAA4B,EAC5B,wCAAwC,EACxC,qCAAqC,EACrC,+BAA+B,EAC/B,sCAAsC,EACtC,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iCAAiC,EACjC,uBAAuB,EACvB,4BAA4B,EAC5B,+CAA+C,EAC/C,kDAAkD,EAClD,sCAAsC,EACtC,sBAAsB,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QACP,CAAC,CAAC,CAAC;QACH,OAAO,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACvD,MAAM,SAAS,GAAG,kCAAkC,CAAC,GAAG,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC5F,IAAI,SAAS,EAAE,iCAAiC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,qBAAqB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;gBACnH,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,sCAAsC,CAAC,qBAAqB;oBAClE,IAAI,EAAE,4BAA4B,cAAc,2BAA2B;oBAC3E,OAAO,EAAE,GAAG,uBAAuB,CAAC,QAAQ,CAAC,uEAAuE;iBACrH,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,EAAE,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;AAC7C,CAAC,CAAC;AACF,4EAA4E","sourcesContent":["/**\n * entrypoint-closure-waiver: MEASURED SAFE 2026-08-13 — same measurement as `assurance.exports`,\n * of which this module is one publication. It is root-reachable only through that barrel (see the\n * waiver there for the probe and its result), and it crosses into three sibling `assurance/**`\n * modules that the root does not publish. The root-only consumer compile that exercises the\n * root-exported `application-creation` schemas built on these types is clean, with the emitted\n * declaration naming `@wildo-ai/saas-specifications/assurance`.\n *\n * Re-run that probe if this module's public surface starts appearing in a root-exported contract\n * by some path other than `application-creation`; the waiver records a measurement, not a proof\n * about every future shape.\n */\nimport { CoreAuditableEventType } from \"@wildo-ai/saas-models\";\n\nimport { z } from \"zod\";\nimport {\n ALL_ZOD_ISSUES,\n GovernedDocumentApplicabilityStatus,\n GovernedDocumentAudienceKind,\n GovernedDocumentDefinitionIdentitySchema,\n GovernedDocumentGovernanceScopeSchema,\n GovernedDocumentInteractionKind,\n GovernedDocumentPublicationChannelKind,\n GovernedDocumentReviewKind,\n summarizeZodIssues,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n AssuranceCapabilityIdentitySchema,\n AssuranceGapDisposition,\n AssuranceGovernanceActorKind,\n AssuranceImplementationStatementLifecycleStatus,\n AssuranceImplementationStatementCommonFieldsSchema,\n AssuranceImplementationStatementSchema,\n AssuranceIsoDateSchema,\n AssuranceIsoDateTimeSchema,\n AssuranceNamespacedRefSchema,\n AssuranceObjectiveCatalogSchema,\n AssuranceObjectiveLifecycleStatus,\n AssuranceVerificationMethod,\n AssuranceObjectiveIdentitySchema,\n addAssuranceImplementationStatementCommonIssues,\n type AssuranceImplementationStatement,\n type AssuranceObjectiveCatalog,\n} from \"./assurance-foundation.schemas\";\nimport {\n AssuranceDocumentAuthorityCatalogSchema,\n assuranceDocumentQualifiedReviewRequirements,\n collectAssuranceDocumentAuthorityCatalogIssues,\n} from \"./assurance-document-system.schemas\";\nimport {\n AssuranceSourceRegistrySchema,\n AssuranceSourceAuthorityKind,\n AssuranceSourceIdentitySchema,\n AssuranceSourceLifecycleStatus,\n AssuranceSourceUse,\n deriveAssuranceRightsAuthorization,\n type AssuranceSourceIdentity,\n type AssuranceSourceRecord,\n type AssuranceSourceRegistry,\n} from \"./assurance-sources.schemas\";\n\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst timestampIsAfter = (candidate: string, boundary: string): boolean => Date.parse(candidate) > Date.parse(boundary);\nconst utcIsoDateFromInstant = (timestamp: string): string => new Date(Date.parse(timestamp)).toISOString().slice(0, 10);\nconst hostImplementationArtifactOrderKey = (artifact: { artifactKindRef: string; artifactRef: string }): string =>\n `${artifact.artifactKindRef}\\0${artifact.artifactRef}`;\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\n/**\n * @wildo_source:part:start saas.specifications.assurance-program.contract facet:layer:specification facet:family:assurance\n *\n * Application-policy decision state. Missing knowledge remains explicit and cannot be interpreted as non-applicability.\n */\nexport enum AssuranceProgramApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n UNDETERMINED = \"UNDETERMINED\",\n}\n\n/** Declarative scope selector kinds. Live organization and user identities remain runtime facts. */\nexport enum AssuranceProgramScopeSelectorKind {\n APPLICATION = \"APPLICATION\",\n ORGANIZATION_POLICY = \"ORGANIZATION_POLICY\",\n}\n\n/** Honest capability-resolution vocabulary. None of these values is a compliance verdict. */\nexport enum AssuranceProgramCapabilityResolution {\n IMPLEMENTABLE = \"IMPLEMENTABLE\",\n PARTIAL = \"PARTIAL\",\n HUMAN_OR_EXTERNAL = \"HUMAN_OR_EXTERNAL\",\n UNSUPPORTED = \"UNSUPPORTED\",\n}\n\n/** Increasing proof stages without a flattened aggregate `COMPLIANT` state. */\nexport enum AssuranceProgramProofStage {\n SELECTED = \"SELECTED\",\n CONFIGURED = \"CONFIGURED\",\n OPERATING = \"OPERATING\",\n EVIDENCED = \"EVIDENCED\",\n ASSESSED = \"ASSESSED\",\n}\n\n/**\n * WHERE the evidence for one demand lives — and therefore what kind of query a collector must write.\n *\n * Routing a collector is the member set's ONLY job, so it discriminates on the one axis a collector\n * cares about: **can one query, written once, serve every application?** A vocabulary that cannot\n * answer that has to be supplemented out of band, which puts the discrimination somewhere less\n * visible than the vocabulary itself.\n *\n * Settled on #384 from FIVE paper bodies (`__evidence-plane-slice__/`), after two of them found\n * evidence that no member covered. The rejected alternative is recorded because it is the one that\n * looks right: widening `EMITTED` to \"any durable execution/event record\" absorbs both cases with no\n * new member — and also absorbs every product row in every application, so the member comes to mean\n * \"somewhere durable\" and stops discriminating. What ships is that widening BOUNDED BY OWNER, plus\n * the member the bound makes necessary.\n */\nexport enum AssuranceEvidenceHome {\n /** The committed specification IS the evidence. Uniform across applications; one query. */\n DECLARED = \"DECLARED\",\n /**\n * An ENGINE-owned durable record class — the audit trail, or a batch execution record. Uniform\n * across applications because the engine authors the store, so one query serves all.\n *\n * Widened from \"an audit-row class\" by `retention-window-declaration`, whose control emits no\n * auditable event by design (a database TTL deletes silently) and whose evidence is the sweep's\n * execution record.\n */\n EMITTED = \"EMITTED\",\n /**\n * An APPLICATION-authored durable record — a product resource row.\n *\n * Distinct from `EMITTED` because the schema, the status vocabulary and the operation refs are that\n * application's own, so a collector can only query it against that application's specification.\n * Found by `subject-erasure-execution-record`, whose entire intake/withdrawal/execution evidence is\n * an application resource row and for which no audit member exists at all.\n */\n APPLICATION_RECORDED = \"APPLICATION_RECORDED\",\n /** A human act, supplied as a host artifact. Nothing in the running system produces it. */\n PERFORMED = \"PERFORMED\",\n /**\n * Authored, and nothing produces it — a VALUE, never an absence.\n *\n * It carries no severity against an application: a demand nothing can evidence is a framework gap,\n * and raising it against every application forever is noise rather than a finding.\n */\n UNPRODUCED = \"UNPRODUCED\",\n}\n\n/**\n * WHERE the control runs, and therefore what evidence about it can ever exist.\n *\n * Kept separate from the home because a multi-clause intent routinely spans both axes independently,\n * and flattening them lets a reviewer accept a declaration as proof of a runtime property — the\n * error `selected-processor-declaration` was written to prevent, where one clause is a committed\n * selection and its sibling is a claim about behaviour under no selection.\n */\nexport enum AssuranceEvidenceExecutionPlane {\n /** Can evidence that a control is DECLARED or CONFIGURED. Never that it operated. */\n META_APPLICATION = \"META_APPLICATION\",\n /** Can evidence that a control OPERATES when driven. Attests the build it ran against. */\n VERIFICATION = \"VERIFICATION\",\n /** Can evidence that a control operated over a period — the only plane that can. */\n PRODUCTION = \"PRODUCTION\",\n}\n\nexport enum AssuranceProgramCapabilityKind {\n ENGINE = \"ENGINE\",\n PROVIDER = \"PROVIDER\",\n APPLICATION = \"APPLICATION\",\n HUMAN_OR_EXTERNAL = \"HUMAN_OR_EXTERNAL\",\n}\n\nexport enum AssuranceProgramFindingKind {\n GAP = \"GAP\",\n EXCEPTION = \"EXCEPTION\",\n}\n\n/** Applicability of one Wildo obligation outcome, distinct from source-level applicability and runtime activation. */\nexport enum AssuranceProgramObligationApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n UNDETERMINED = \"UNDETERMINED\",\n}\n\n/** Conditional enforcement effect once a later, separately governed lifecycle assessment activates the obligation. */\nexport enum AssuranceProgramObligationBlockingEffect {\n HARD = \"HARD\",\n ADVISORY = \"ADVISORY\",\n}\n\n/** Human review disposition for an exact obligation coverage claim retained inside the accepted program. */\nexport enum AssuranceProgramObligationCoverageReviewDisposition {\n APPROVED = \"APPROVED\",\n REJECTED = \"REJECTED\",\n}\n\n/** Whether shared responsibility has no actor precedence or names one actor whose decision prevails on conflict. */\nexport enum AssuranceProgramSharedResponsibilityPrecedenceMode {\n SHARED_WITHOUT_PRECEDENCE = \"SHARED_WITHOUT_PRECEDENCE\",\n NAMED_ACTOR_PRECEDENCE = \"NAMED_ACTOR_PRECEDENCE\",\n}\n\nexport enum AssuranceProgramDocumentApprovalRequirement {\n APPROVAL_REQUIRED = \"APPROVAL_REQUIRED\",\n NO_APPROVAL_REQUIRED = \"NO_APPROVAL_REQUIRED\",\n}\n\n/** One source artifact contributing to an accepted implementation revision, by its stable ref. */\nexport const AssuranceProgramSourceRevisionArtifactSchema = z.strictObject({\n artifactRef: AssuranceNamespacedRefSchema,\n});\nexport type AssuranceProgramSourceRevisionArtifact = z.infer<typeof AssuranceProgramSourceRevisionArtifactSchema>;\n\n/**\n * Content-addressed application-owned implementation fact supplied by the host at authority-composition time.\n *\n * Unlike `AssuranceProgramSourceRevisionArtifact`, this artifact does not claim to be framework implementation source. It binds the current configured application's\n * compiled state (for example, its subject-export resource graph) into the private authority snapshot used to validate application-specific implementation claims.\n */\nexport const AssuranceProgramHostImplementationArtifactSchema = z.strictObject({\n artifactRef: AssuranceNamespacedRefSchema,\n artifactKindRef: AssuranceNamespacedRefSchema,\n /**\n * Exact portable canonical fact bytes, retained so a later reader can re-derive the claim.\n *\n * The material is the evidence; it carried a self-hash until 2026-08-27, which verified these\n * bytes against a digest stored beside them and therefore proved nothing a reader could not see.\n */\n canonicalMaterial: z.string().min(1),\n});\nexport type AssuranceProgramHostImplementationArtifact = z.infer<typeof AssuranceProgramHostImplementationArtifactSchema>;\n\n/** Implementation-source bundle: a named revision and the ordered artifact inventory it covers. */\nexport const AssuranceProgramSourceRevisionSchema = z\n .strictObject({\n sourceRevisionRef: AssuranceNamespacedRefSchema,\n artifacts: z.array(AssuranceProgramSourceRevisionArtifactSchema).min(1),\n })\n .superRefine((revision, context) => {\n addUniqueSortedIssue(\n revision.artifacts.map((artifact) => artifact.artifactRef),\n context,\n [\"artifacts\"],\n \"source revision artifact refs\",\n );\n });\nexport type AssuranceProgramSourceRevision = z.infer<typeof AssuranceProgramSourceRevisionSchema>;\n\n/**\n * Stable durable subject for one artifact occurrence in a retained v1 source revision.\n *\n * V1 permits the same `artifactRef` in several distinct source revisions. Durable divergence receipts key issues\n * by `(kind, subjectRef)`, so the artifact ref alone would collapse those valid occurrences. A canonical JSON tuple\n * preserves both identity axes without introducing delimiter ambiguity. Consumers must treat this value as opaque.\n */\nconst sourceRevisionArtifactSubjectRef = (sourceRevisionRef: string, artifactRef: string): string => JSON.stringify([sourceRevisionRef, artifactRef]);\n\nconst AssuranceProgramSourceRevisionIdentitySchema = z.strictObject({\n sourceRevisionRef: AssuranceNamespacedRefSchema,\n});\n\n/**\n * Stable identity of one framework-owned authority basis — `basisRef` at `basisVersion`.\n *\n * `basisVersion` is the declared COMPATIBILITY GENERATION: equal versions promise the same\n * interpretation contract. An application pins this identity, so it re-accepts its controls when\n * the framework's contract generation moves — not on every engine byte.\n *\n * There is deliberately no content digest. Until 2026-08-27 there was, and it cost a re-acceptance\n * ritual four times in four days on one application: the pinned hash moved whenever any of the\n * digested engine sources moved, including for purely additive changes that altered no control.\n * Which BYTES an acceptance was made against is answered by the engine's committed git revision\n * plus the commit that recorded the acceptance — both of which merge across branches, which a hash\n * does not (`.claude/rules/one-source-of-truth.md`).\n */\nexport const AssuranceProgramAuthorityBasisIdentitySchema = z.strictObject({\n basisRef: AssuranceNamespacedRefSchema,\n basisVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramAuthorityBasisIdentity = z.infer<typeof AssuranceProgramAuthorityBasisIdentitySchema>;\n\n/** Application-authored basis identity plus the exact engine artifact refs whose meaning it attests. */\nexport const AssuranceProgramAuthorityBasisReferenceSchema = AssuranceProgramAuthorityBasisIdentitySchema.extend({\n attestedArtifactRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n}).superRefine((reference, context) => {\n addUniqueSortedIssue(reference.attestedArtifactRefs, context, [\"attestedArtifactRefs\"], \"attestedArtifactRefs\");\n});\nexport type AssuranceProgramAuthorityBasisReference = z.infer<typeof AssuranceProgramAuthorityBasisReferenceSchema>;\n\n/** Application semantic role bound to one actual application role definition and its exact source revision. */\nexport const AssuranceProgramRoleAuthoritySchema = z.strictObject({\n roleRef: AssuranceNamespacedRefSchema,\n applicationRoleRef: z.string().trim().min(1),\n definitionRevision: AssuranceProgramSourceRevisionIdentitySchema,\n});\nexport type AssuranceProgramRoleAuthority = z.infer<typeof AssuranceProgramRoleAuthoritySchema>;\n\n/** Current role authority bound to one exact framework authority basis rather than its internal inventory. */\nexport const AssuranceProgramRoleAuthorityV2Schema = z.strictObject({\n roleRef: AssuranceNamespacedRefSchema,\n applicationRoleRef: z.string().trim().min(1),\n definitionAuthority: AssuranceProgramAuthorityBasisIdentitySchema,\n});\nexport type AssuranceProgramRoleAuthorityV2 = z.infer<typeof AssuranceProgramRoleAuthorityV2Schema>;\n\n/** Versioned implementation authority for a selectable engine, provider, application or human/external capability. */\nexport const AssuranceProgramCapabilityAuthoritySchema = z\n .strictObject({\n identity: AssuranceCapabilityIdentitySchema,\n capabilityKind: z.enum(AssuranceProgramCapabilityKind),\n implementationRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n implementationRevision: AssuranceProgramSourceRevisionIdentitySchema,\n })\n .superRefine((authority, context) => {\n addUniqueSortedIssue(authority.implementationRefs, context, [\"implementationRefs\"], \"implementationRefs\");\n });\nexport type AssuranceProgramCapabilityAuthority = z.infer<typeof AssuranceProgramCapabilityAuthoritySchema>;\n\n/** Current capability authority bound to one exact framework authority basis rather than its internal inventory. */\nexport const AssuranceProgramCapabilityAuthorityV2Schema = z\n .strictObject({\n identity: AssuranceCapabilityIdentitySchema,\n capabilityKind: z.enum(AssuranceProgramCapabilityKind),\n implementationRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n implementationAuthority: AssuranceProgramAuthorityBasisIdentitySchema,\n })\n .superRefine((authority, context) => {\n addUniqueSortedIssue(authority.implementationRefs, context, [\"implementationRefs\"], \"implementationRefs\");\n });\nexport type AssuranceProgramCapabilityAuthorityV2 = z.infer<typeof AssuranceProgramCapabilityAuthorityV2Schema>;\n\nexport const AssuranceProgramFindingIdentitySchema = z.strictObject({\n findingRef: AssuranceNamespacedRefSchema,\n findingVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramFindingIdentity = z.infer<typeof AssuranceProgramFindingIdentitySchema>;\n\nexport const AssuranceProgramExpectationIdentitySchema = z.strictObject({\n expectationRef: AssuranceNamespacedRefSchema,\n expectationVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramExpectationIdentity = z.infer<typeof AssuranceProgramExpectationIdentitySchema>;\n\nexport const AssuranceProgramCapabilityProfileAuthoritySchema = z\n .strictObject({\n profileRef: AssuranceNamespacedRefSchema,\n parameters: z.array(\n z\n .strictObject({\n parameterRef: AssuranceNamespacedRefSchema,\n allowedOptionRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((parameter, context) => addUniqueSortedIssue(parameter.allowedOptionRefs, context, [\"allowedOptionRefs\"], \"allowedOptionRefs\")),\n ),\n })\n .superRefine((profile, context) => {\n addUniqueSortedIssue(\n profile.parameters.map((parameter) => parameter.parameterRef),\n context,\n [\"parameters\"],\n \"profile parameter refs\",\n );\n });\n\nexport const AssuranceProgramCapabilitySelectionAuthoritySchema = AssuranceProgramCapabilityAuthoritySchema.extend({\n profiles: z.array(AssuranceProgramCapabilityProfileAuthoritySchema),\n requiredHostArtifactKindRefs: z.array(AssuranceNamespacedRefSchema),\n}).superRefine((authority, context) => {\n addUniqueSortedIssue(\n authority.profiles.map((profile) => profile.profileRef),\n context,\n [\"profiles\"],\n \"capability profile refs\",\n );\n addUniqueSortedIssue(authority.requiredHostArtifactKindRefs, context, [\"requiredHostArtifactKindRefs\"], \"required host artifact kind refs\");\n});\n\nexport const AssuranceProgramSourceRequirementAuthoritySchema = z.strictObject({\n source: AssuranceSourceIdentitySchema,\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n canonicalLocator: z.url(),\n reviewedByRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n});\n\nexport const AssuranceProgramImplementationExpectationAuthoritySchema = z\n .strictObject({\n identity: AssuranceProgramExpectationIdentitySchema,\n objective: AssuranceObjectiveIdentitySchema,\n requiredCapabilityRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((authority, context) => addUniqueSortedIssue(authority.requiredCapabilityRefs, context, [\"requiredCapabilityRefs\"], \"requiredCapabilityRefs\"));\n\n/**\n * What one evidence demand actually ASKS FOR — the content behind an otherwise opaque\n * `evidence-requirement:*` slug.\n *\n * Derived from the five paper bodies in `__evidence-plane-slice__/` rather than designed ahead of\n * them (#302's whole premise: a schema error costs 1/49th here of what it costs after authoring at\n * scale). The shape is what all five converged on, and the per-clause split is not decoration —\n * three of the five carry clauses that do NOT share a home or a plane, and a single home per demand\n * would have flattened exactly the distinction those bodies exist to record.\n */\nexport const AssuranceEvidenceRequirementClauseSchema = z.strictObject({\n /** Stable within the body — `C1`, `C2` — so a finding can name the clause it failed. */\n clauseRef: z.string().trim().regex(/^C[0-9]+$/u),\n /** The obligation in the objective's own terms, one clause of its intent. */\n obligation: z.string().trim().min(1),\n home: z.enum(AssuranceEvidenceHome),\n plane: z.enum(AssuranceEvidenceExecutionPlane),\n /**\n * For an `EMITTED` clause whose store is the audit trail: the event members that satisfy it, DERIVED\n * from `CoreAuditableEventType` rather than transcribed.\n *\n * Structured rather than named in prose, and the reason is the harness's own most error-prone step:\n * *\"before naming any audit member, check it has an EMITTER\"*. A member that is declared but never\n * emitted raises a MAJOR against a working control the first time its activity occurs — which the\n * first drafted body did, with `USER_MFA_ENABLED`. As a typed array the members are checkable by a\n * test instead of by an author's memory, and a collector reads the query off the demand rather than\n * parsing English out of `minimumEvidence`.\n *\n * Optional because only an audit-trail-backed clause has them: an application resource row, a batch\n * execution record and a host artifact are all `EMITTED` or otherwise without audit members.\n */\n requiredAuditEventMembers: z.array(z.enum(CoreAuditableEventType)).min(1).optional(),\n /**\n * Why this home, stated as the reasoning that is NOT the proxy.\n *\n * Required, because both available proxies are wrong often enough to matter: the attesting\n * capability misread `PRIVILEGED_REVIEW` as an audit row when it is a human act, and the ref's head\n * noun misread `retention-window-declaration` as `DECLARED` when its clauses demand enforcement.\n */\n homeRationale: z.string().trim().min(1),\n});\n\n/** @see AssuranceEvidenceRequirementClauseSchema */\nexport const AssuranceEvidenceRequirementBodySchema = z.strictObject({\n schemaVersion: z.literal(1),\n /**\n * Whether the demand applies to THIS application at all, and how a judge decides.\n *\n * First field on purpose. `subject-erasure-execution-record` is majority application-owned, and an\n * application that never built an erasure lane has not failed a control — it declared none. A body\n * without this field invites a nonconformity against every application that does not implement it.\n */\n applicability: z.string().trim().min(1),\n clauses: z.array(AssuranceEvidenceRequirementClauseSchema).min(1),\n /** The artifacts that, at minimum, satisfy the demand — named vocabulary members, never prose lists. */\n minimumEvidence: z.string().trim().min(1),\n /** Mechanical enough that two judges gather the same thing. */\n verificationSteps: z.array(z.string().trim().min(1)).min(1),\n /**\n * What an absence or failure MEANS, so severity follows evidenced risk rather than wording\n * intensity — and so a control that operated with a missing evidence export stays an OBSERVATION\n * rather than becoming a nonconformity.\n */\n severityGuidance: z.string().trim().min(1),\n /** What the evidence does NOT prove, and what would make it stale. */\n limits: z.string().trim().min(1),\n});\n\nexport type AssuranceEvidenceRequirementBody = z.infer<typeof AssuranceEvidenceRequirementBodySchema>;\n\nexport const AssuranceProgramEvidenceExpectationAuthoritySchema = z\n .strictObject({\n identity: AssuranceProgramExpectationIdentitySchema,\n objective: AssuranceObjectiveIdentitySchema,\n requiredStatementEvidenceRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n /**\n * REQUIRED since 2026-09-10, when the catalog completed at 51 of 51 (#296 / #302).\n *\n * It was optional only so the basis stayed parseable while the tranche was authored, and the\n * comment here said so — *\"NOT as a permanent posture: a demand with no body is a slug a\n * collector cannot act on\"*. That is the whole reason to close it now rather than to leave a\n * harmless-looking optional in place: an optional field is an invitation to add a fifty-second\n * binding with no body, and nothing would have said anything.\n *\n * The change costs nothing at runtime — every binding already composes a body, so the composer's\n * conditional spread had become unconditional in effect — and it buys a COMPILE-TIME guarantee\n * that a new evidence demand arrives with the thing that makes it actionable.\n *\n * Note the verification authority beside this one is still optional, deliberately: that tranche\n * is a separate population and is not complete. Do not close both because they look alike.\n */\n body: AssuranceEvidenceRequirementBodySchema,\n })\n .superRefine((authority, context) =>\n addUniqueSortedIssue(authority.requiredStatementEvidenceRefs, context, [\"requiredStatementEvidenceRefs\"], \"requiredStatementEvidenceRefs\"),\n );\n\n/**\n * What a VERIFICATION demand actually asks someone to do.\n *\n * The verification plane was degenerate until 2026-09-08: `requiredStatementVerificationRefs` held the\n * expectation's own ref in 50 of 50 bindings, so the demand said \"to verify X, see X\" and stated\n * nothing a verifier could act on (#452). The evidence axis beside it was never degenerate, which is\n * what made the defect specific to this tier rather than a modelling slip.\n *\n * Deliberately NOT a copy of {@link AssuranceEvidenceRequirementBodySchema}. They answer different\n * questions and conflating them is how a verification demand becomes a second evidence list:\n *\n * - EVIDENCE asks *what artifact proves this ran* — a row, an export, a declaration.\n * - VERIFICATION asks *what a person or a test DOES to establish the control holds*, and what that\n * act cannot establish.\n *\n * `acceptableMethods` is the field that makes it a demand rather than prose: it is drawn from\n * {@link AssuranceVerificationMethod}, so a body states which kinds of act satisfy it and an\n * application's own `AssuranceVerificationExpectation.method` can be checked against it.\n */\nexport const AssuranceVerificationRequirementBodySchema = z.strictObject({\n schemaVersion: z.literal(1),\n /**\n * Whether the demand applies to THIS application, and how a judge decides — first field for the\n * same reason as on the evidence body: an application that declared no lane has not failed a\n * control, and a body without this invites a nonconformity against everyone who did not build it.\n */\n applicability: z.string().trim().min(1),\n /** Which kinds of act satisfy the demand. Named vocabulary members, never prose. */\n acceptableMethods: z.array(z.enum(AssuranceVerificationMethod)).min(1),\n /** Mechanical enough that two verifiers perform the same act and can disagree about the result. */\n procedure: z.array(z.string().trim().min(1)).min(1),\n /** What a PASS looks like, stated so it can be false. */\n passCriteria: z.string().trim().min(1),\n /**\n * What this act does NOT establish. The counterpart of an application's `limitationRefs`, and the\n * field that stops a verification being read as operating effectiveness.\n */\n knownLimitations: z.string().trim().min(1),\n /** What a failure MEANS, so severity follows evidenced risk rather than wording intensity. */\n severityGuidance: z.string().trim().min(1),\n});\n\nexport type AssuranceVerificationRequirementBody = z.infer<typeof AssuranceVerificationRequirementBodySchema>;\n\nexport const AssuranceProgramVerificationExpectationAuthoritySchema = z\n .strictObject({\n identity: AssuranceProgramExpectationIdentitySchema,\n objective: AssuranceObjectiveIdentitySchema,\n requiredStatementVerificationRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n /**\n * OPTIONAL while the bodies are authored, exactly as on the evidence authority beside it.\n *\n * Optional so the basis stays parseable during the tranche, NOT as a permanent posture: a demand\n * with no body is a slug a verifier cannot act on. It becomes required when the catalog is\n * complete.\n */\n body: AssuranceVerificationRequirementBodySchema.optional(),\n })\n .superRefine((authority, context) =>\n addUniqueSortedIssue(authority.requiredStatementVerificationRefs, context, [\"requiredStatementVerificationRefs\"], \"requiredStatementVerificationRefs\"),\n );\n\nexport const AssuranceProgramValidationAuthoritySnapshotSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n snapshotRef: AssuranceNamespacedRefSchema,\n snapshotVersion: z.number().int().positive(),\n evaluatedAt: AssuranceIsoDateTimeSchema,\n requestedSourceUses: z.array(z.enum(AssuranceSourceUse)).min(1),\n sourceRegistry: AssuranceSourceRegistrySchema,\n /** Optional only so retained pre-document-system snapshots stay parseable. */\n documentAuthorityCatalog: AssuranceDocumentAuthorityCatalogSchema.optional(),\n objectiveCatalog: AssuranceObjectiveCatalogSchema,\n applicationRoleRefs: z.array(z.string().trim().min(1)).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilitySelectionAuthoritySchema),\n implementationArtifacts: z.array(AssuranceProgramSourceRevisionArtifactSchema).min(1),\n hostImplementationArtifacts: z.array(AssuranceProgramHostImplementationArtifactSchema),\n sourceRequirementAuthorities: z.array(AssuranceProgramSourceRequirementAuthoritySchema),\n implementationExpectationAuthorities: z.array(AssuranceProgramImplementationExpectationAuthoritySchema),\n evidenceExpectationAuthorities: z.array(AssuranceProgramEvidenceExpectationAuthoritySchema),\n verificationExpectationAuthorities: z.array(AssuranceProgramVerificationExpectationAuthoritySchema),\n })\n .superRefine((snapshot, context) => {\n addUniqueSortedIssue(snapshot.requestedSourceUses, context, [\"requestedSourceUses\"], \"requestedSourceUses\");\n addUniqueSortedIssue(snapshot.applicationRoleRefs, context, [\"applicationRoleRefs\"], \"applicationRoleRefs\");\n addUniqueSortedIssue(\n snapshot.capabilityAuthorities.map((authority) => `${authority.identity.capabilityRef}@${authority.identity.capabilityVersion}`),\n context,\n [\"capabilityAuthorities\"],\n \"capability authority identities\",\n );\n addUniqueSortedIssue(\n snapshot.implementationArtifacts.map((artifact) => artifact.artifactRef),\n context,\n [\"implementationArtifacts\"],\n \"implementation artifact refs\",\n );\n const hostArtifactRefs = snapshot.hostImplementationArtifacts.map((artifact) => artifact.artifactRef);\n const hostArtifactKindRefs = snapshot.hostImplementationArtifacts.map((artifact) => artifact.artifactKindRef);\n if (!valuesAreUnique(hostArtifactRefs)) {\n context.addIssue({ code: \"custom\", message: \"host implementation artifact refs must be unique\", path: [\"hostImplementationArtifacts\"] });\n }\n if (!valuesAreUnique(hostArtifactKindRefs)) {\n context.addIssue({ code: \"custom\", message: \"host implementation artifact kind refs must be unique\", path: [\"hostImplementationArtifacts\"] });\n }\n if (!valuesAreLexicallySorted(snapshot.hostImplementationArtifacts.map(hostImplementationArtifactOrderKey))) {\n context.addIssue({\n code: \"custom\",\n message: \"host implementation artifacts must be sorted by artifact kind ref then artifact ref\",\n path: [\"hostImplementationArtifacts\"],\n });\n }\n addUniqueSortedIssue(\n snapshot.sourceRequirementAuthorities.map(\n (authority) => `${authority.source.sourceRef}@${authority.source.sourceVersion}:${authority.requirementRef}@${authority.requirementVersion}`,\n ),\n context,\n [\"sourceRequirementAuthorities\"],\n \"source requirement authority identities\",\n );\n for (const [key, values] of [\n [\"implementationExpectationAuthorities\", snapshot.implementationExpectationAuthorities],\n [\"evidenceExpectationAuthorities\", snapshot.evidenceExpectationAuthorities],\n [\"verificationExpectationAuthorities\", snapshot.verificationExpectationAuthorities],\n ] as const)\n addUniqueSortedIssue(\n values.map((authority) => `${authority.identity.expectationRef}@${authority.identity.expectationVersion}`),\n context,\n [key],\n `${key} identities`,\n );\n\n const rejectFutureAuthorityFact = (value: string, path: PropertyKey[], label: string): void => {\n if (timestampIsAfter(value, snapshot.evaluatedAt)) {\n context.addIssue({ code: \"custom\", message: `${label} cannot be later than evaluatedAt`, path });\n }\n };\n rejectFutureAuthorityFact(snapshot.sourceRegistry.verifiedAt, [\"sourceRegistry\", \"verifiedAt\"], \"source registry verification\");\n snapshot.sourceRegistry.sources.forEach((source, sourceIndex) => {\n rejectFutureAuthorityFact(source.rights.reviewedAt, [\"sourceRegistry\", \"sources\", sourceIndex, \"rights\", \"reviewedAt\"], \"source-rights review\");\n if (source.retrievedArtifact) {\n rejectFutureAuthorityFact(\n source.retrievedArtifact.retrievedAt,\n [\"sourceRegistry\", \"sources\", sourceIndex, \"retrievedArtifact\", \"retrievedAt\"],\n \"source-artifact retrieval\",\n );\n }\n });\n snapshot.sourceRequirementAuthorities.forEach((authority, authorityIndex) =>\n rejectFutureAuthorityFact(authority.reviewedAt, [\"sourceRequirementAuthorities\", authorityIndex, \"reviewedAt\"], \"source-requirement review\"),\n );\n if (snapshot.documentAuthorityCatalog) {\n rejectFutureAuthorityFact(\n snapshot.documentAuthorityCatalog.verifiedAt,\n [\"documentAuthorityCatalog\", \"verifiedAt\"],\n \"document authority catalog verification\",\n );\n snapshot.documentAuthorityCatalog.sourceMonitoringPolicies.forEach((policy, policyIndex) =>\n rejectFutureAuthorityFact(\n policy.lastCheckedAt,\n [\"documentAuthorityCatalog\", \"sourceMonitoringPolicies\", policyIndex, \"lastCheckedAt\"],\n \"document source monitoring check\",\n ),\n );\n }\n });\nexport type AssuranceProgramValidationAuthoritySnapshot = z.infer<typeof AssuranceProgramValidationAuthoritySnapshotSchema>;\n\n/** Exact application reference to a separately governed source-registry record. Normative bytes are never embedded here. */\nexport const AssuranceProgramSourceReferenceSchema = z.strictObject({\n identity: AssuranceSourceIdentitySchema,\n edition: z.string().trim().min(1),\n authorityKind: z.enum(AssuranceSourceAuthorityKind),\n authorityName: z.string().trim().min(1),\n lifecycleStatus: z.enum(AssuranceSourceLifecycleStatus),\n rightsRef: AssuranceNamespacedRefSchema,\n rightsVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramSourceReference = z.infer<typeof AssuranceProgramSourceReferenceSchema>;\n\n/** Reusable application-level scope policy. Runtime resolution supplies actual tenant and assignee identities. */\nexport const AssuranceProgramScopeSelectorSchema = z\n .strictObject({\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n scopeSelectorVersion: z.number().int().positive(),\n kind: z.enum(AssuranceProgramScopeSelectorKind),\n systemBoundaryRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n organizationScopeRuleRefs: z.array(AssuranceNamespacedRefSchema),\n jurisdictionRefs: z.array(AssuranceNamespacedRefSchema),\n dataCategoryRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((scope, context) => {\n addUniqueSortedIssue(scope.systemBoundaryRefs, context, [\"systemBoundaryRefs\"], \"systemBoundaryRefs\");\n addUniqueSortedIssue(scope.organizationScopeRuleRefs, context, [\"organizationScopeRuleRefs\"], \"organizationScopeRuleRefs\");\n addUniqueSortedIssue(scope.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n addUniqueSortedIssue(scope.dataCategoryRefs, context, [\"dataCategoryRefs\"], \"dataCategoryRefs\");\n if (scope.kind === AssuranceProgramScopeSelectorKind.ORGANIZATION_POLICY && scope.organizationScopeRuleRefs.length === 0) {\n context.addIssue({\n code: \"custom\",\n message: \"organization-policy scope requires at least one organization scope rule\",\n path: [\"organizationScopeRuleRefs\"],\n });\n }\n });\nexport type AssuranceProgramScopeSelector = z.infer<typeof AssuranceProgramScopeSelectorSchema>;\n\nexport const AssuranceProgramApplicabilityDecisionSchema = z\n .strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n source: AssuranceSourceIdentitySchema,\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n status: z.enum(AssuranceProgramApplicabilityStatus),\n basis: z.string().trim().min(1),\n authorityDecisionRef: AssuranceNamespacedRefSchema,\n effectiveFrom: AssuranceIsoDateSchema,\n effectiveUntil: AssuranceIsoDateSchema.optional(),\n invalidationConditionRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.invalidationConditionRefs, context, [\"invalidationConditionRefs\"], \"invalidationConditionRefs\");\n if (decision.effectiveUntil && decision.effectiveUntil < decision.effectiveFrom) {\n context.addIssue({ code: \"custom\", message: \"effectiveUntil cannot precede effectiveFrom\", path: [\"effectiveUntil\"] });\n }\n });\nexport type AssuranceProgramApplicabilityDecision = z.infer<typeof AssuranceProgramApplicabilityDecisionSchema>;\n\n/** Exact identity of one retained source/scope applicability decision consumed by a v3 obligation. */\nexport const AssuranceProgramSourceApplicabilityDecisionIdentitySchema = z.strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramSourceApplicabilityDecisionIdentity = z.infer<typeof AssuranceProgramSourceApplicabilityDecisionIdentitySchema>;\n\nexport const AssuranceProgramSourceRequirementReferenceSchema = z.strictObject({\n source: AssuranceSourceIdentitySchema,\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: z.number().int().positive(),\n});\n\nconst versionedSourceKey = (source: AssuranceSourceIdentity): string => `${source.sourceRef}@${source.sourceVersion}`;\nconst versionedObjectiveKey = (objective: { objectiveRef: string; objectiveVersion: number }): string =>\n `${objective.objectiveRef}@${objective.objectiveVersion}`;\nconst versionedCapabilityKey = (capability: { capabilityRef: string; capabilityVersion: number }): string =>\n `${capability.capabilityRef}@${capability.capabilityVersion}`;\nconst versionedDocumentKey = (document: { documentRef: string; documentVersion: number }): string => `${document.documentRef}@${document.documentVersion}`;\nconst sourceRevisionKey = (revision: { sourceRevisionRef: string }): string => revision.sourceRevisionRef;\nconst authorityBasisIdentityKey = (basis: { basisRef: string; basisVersion: number }): string => `${basis.basisRef}@${basis.basisVersion}`;\nconst applicabilitySubjectKey = (source: AssuranceSourceIdentity, scopeSelectorRef: string): string => `${versionedSourceKey(source)}::${scopeSelectorRef}`;\nconst versionedExpectationKey = (identity: { expectationRef: string; expectationVersion: number }): string =>\n `${identity.expectationRef}@${identity.expectationVersion}`;\nconst versionedSourceRequirementKey = (reference: { source: AssuranceSourceIdentity; requirementRef: string; requirementVersion: number }): string =>\n `${versionedSourceKey(reference.source)}:${reference.requirementRef}@${reference.requirementVersion}`;\n\n/** Source-neutral Wildo objective binding. Relationships to restricted targets remain in external mapping packs. */\nexport const AssuranceProgramControlObjectiveBindingSchema = z\n .strictObject({\n bindingRef: AssuranceNamespacedRefSchema,\n bindingVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n sourceRequirementRefs: z.array(AssuranceProgramSourceRequirementReferenceSchema),\n implementationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n evidenceExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n verificationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n requiredProofStage: z.enum(AssuranceProgramProofStage),\n })\n .superRefine((binding, context) => {\n addUniqueSortedIssue(binding.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(\n binding.sourceRequirementRefs.map(\n (reference) => `${reference.source.sourceRef}@${reference.source.sourceVersion}:${reference.requirementRef}@${reference.requirementVersion}`,\n ),\n context,\n [\"sourceRequirementRefs\"],\n \"sourceRequirementRefs\",\n );\n const expectationKey = (identity: AssuranceProgramExpectationIdentity): string => `${identity.expectationRef}@${identity.expectationVersion}`;\n addUniqueSortedIssue(\n binding.implementationExpectationRefs.map(expectationKey),\n context,\n [\"implementationExpectationRefs\"],\n \"implementationExpectationRefs\",\n );\n addUniqueSortedIssue(binding.evidenceExpectationRefs.map(expectationKey), context, [\"evidenceExpectationRefs\"], \"evidenceExpectationRefs\");\n addUniqueSortedIssue(binding.verificationExpectationRefs.map(expectationKey), context, [\"verificationExpectationRefs\"], \"verificationExpectationRefs\");\n });\nexport type AssuranceProgramControlObjectiveBinding = z.infer<typeof AssuranceProgramControlObjectiveBindingSchema>;\n\nexport const AssuranceProgramObligationIdentitySchema = z.strictObject({\n obligationRef: AssuranceNamespacedRefSchema,\n obligationVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramObligationIdentity = z.infer<typeof AssuranceProgramObligationIdentitySchema>;\n\nexport const AssuranceProgramObligationCoverageDecisionIdentitySchema = z.strictObject({\n coverageDecisionRef: AssuranceNamespacedRefSchema,\n coverageDecisionVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramObligationCoverageDecisionIdentity = z.infer<typeof AssuranceProgramObligationCoverageDecisionIdentitySchema>;\n\nexport const AssuranceProgramSharedResponsibilityRuleIdentitySchema = z.strictObject({\n sharedResponsibilityRuleRef: AssuranceNamespacedRefSchema,\n sharedResponsibilityRuleVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramSharedResponsibilityRuleIdentity = z.infer<typeof AssuranceProgramSharedResponsibilityRuleIdentitySchema>;\n\nconst AssuranceProgramSharedResponsibilityPrecedenceSchema = z.discriminatedUnion(\"mode\", [\n z.strictObject({ mode: z.literal(AssuranceProgramSharedResponsibilityPrecedenceMode.SHARED_WITHOUT_PRECEDENCE) }),\n z.strictObject({\n mode: z.literal(AssuranceProgramSharedResponsibilityPrecedenceMode.NAMED_ACTOR_PRECEDENCE),\n precedenceActorKind: z.enum(AssuranceGovernanceActorKind),\n }),\n]);\n\n/**\n * Program-owned reusable party-attribution rule. It is accepted atomically with the obligations that cite it;\n * runtime people, organizations and review occurrences remain deliberately absent.\n */\nexport const AssuranceProgramSharedResponsibilityRuleSchema = z\n .strictObject({\n sharedResponsibilityRuleRef: AssuranceNamespacedRefSchema,\n sharedResponsibilityRuleVersion: z.number().int().positive(),\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n governanceActorKinds: z.array(z.enum(AssuranceGovernanceActorKind)).min(2),\n accountableRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n operatingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n evidenceProviderRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n approvingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n conflictResolutionRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n precedence: AssuranceProgramSharedResponsibilityPrecedenceSchema,\n rationale: z.string().trim().min(1),\n reviewedByRoleRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n })\n .superRefine((rule, context) => {\n addUniqueSortedIssue(rule.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(rule.governanceActorKinds, context, [\"governanceActorKinds\"], \"governanceActorKinds\");\n for (const field of [\"accountableRoleRefs\", \"operatingRoleRefs\", \"evidenceProviderRoleRefs\", \"approvingRoleRefs\", \"conflictResolutionRoleRefs\"] as const)\n addUniqueSortedIssue(rule[field], context, [field], field);\n if (\n rule.precedence.mode === AssuranceProgramSharedResponsibilityPrecedenceMode.NAMED_ACTOR_PRECEDENCE &&\n !rule.governanceActorKinds.includes(rule.precedence.precedenceActorKind)\n )\n context.addIssue({\n code: \"custom\",\n message: \"precedenceActorKind must occur in governanceActorKinds\",\n path: [\"precedence\", \"precedenceActorKind\"],\n });\n });\nexport type AssuranceProgramSharedResponsibilityRule = z.infer<typeof AssuranceProgramSharedResponsibilityRuleSchema>;\n\n/** Exact human-reviewed coverage claim over one obligation and its complete cited source-requirement inventory. */\nexport const AssuranceProgramObligationCoverageDecisionSchema = z\n .strictObject({\n coverageDecisionRef: AssuranceNamespacedRefSchema,\n coverageDecisionVersion: z.number().int().positive(),\n obligation: AssuranceProgramObligationIdentitySchema,\n sourceRequirementRefs: z.array(AssuranceProgramSourceRequirementReferenceSchema).min(1),\n reviewDisposition: z.enum(AssuranceProgramObligationCoverageReviewDisposition),\n reviewedByRoleRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n rationale: z.string().trim().min(1),\n limitationRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.sourceRequirementRefs.map(versionedSourceRequirementKey), context, [\"sourceRequirementRefs\"], \"sourceRequirementRefs\");\n addUniqueSortedIssue(decision.limitationRefs, context, [\"limitationRefs\"], \"limitationRefs\");\n });\nexport type AssuranceProgramObligationCoverageDecision = z.infer<typeof AssuranceProgramObligationCoverageDecisionSchema>;\n\nconst AssuranceProgramObligationApplicabilityDecisionCommonSchema = z.strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n rationale: z.string().trim().min(1),\n reviewedByRoleRef: AssuranceNamespacedRefSchema,\n decidedAt: AssuranceIsoDateTimeSchema,\n evidenceRefs: z.array(AssuranceNamespacedRefSchema),\n invalidationConditionRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n});\n\n/** Outcome-level applicability. It cannot encode lifecycle activation, operating status or a compliance conclusion. */\nexport const AssuranceProgramObligationApplicabilityDecisionSchema = z\n .discriminatedUnion(\"status\", [\n AssuranceProgramObligationApplicabilityDecisionCommonSchema.extend({ status: z.literal(AssuranceProgramObligationApplicabilityStatus.APPLICABLE) }),\n AssuranceProgramObligationApplicabilityDecisionCommonSchema.extend({\n status: z.literal(AssuranceProgramObligationApplicabilityStatus.NOT_APPLICABLE),\n evidenceRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n }),\n AssuranceProgramObligationApplicabilityDecisionCommonSchema.extend({ status: z.literal(AssuranceProgramObligationApplicabilityStatus.UNDETERMINED) }),\n ])\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.evidenceRefs, context, [\"evidenceRefs\"], \"evidenceRefs\");\n addUniqueSortedIssue(decision.invalidationConditionRefs, context, [\"invalidationConditionRefs\"], \"invalidationConditionRefs\");\n });\nexport type AssuranceProgramObligationApplicabilityDecision = z.infer<typeof AssuranceProgramObligationApplicabilityDecisionSchema>;\n\n/** One source-neutral application obligation. External framework ids and protected source bytes remain outside this contract. */\nexport const AssuranceProgramObligationEntrySchema = z\n .strictObject({\n obligationRef: AssuranceNamespacedRefSchema,\n obligationVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n governanceActorKinds: z.array(z.enum(AssuranceGovernanceActorKind)).min(1),\n sharedResponsibilityRule: AssuranceProgramSharedResponsibilityRuleIdentitySchema.optional(),\n sourceRequirementRefs: z.array(AssuranceProgramSourceRequirementReferenceSchema).min(1),\n sourceApplicabilityDecisionRefs: z.array(AssuranceProgramSourceApplicabilityDecisionIdentitySchema).min(1),\n coverageDecision: AssuranceProgramObligationCoverageDecisionIdentitySchema,\n applicability: AssuranceProgramObligationApplicabilityDecisionSchema,\n responsibilityAssignmentRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n implementationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n evidenceExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n verificationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n requiredProofStage: z.enum(AssuranceProgramProofStage),\n blockingEffect: z.enum(AssuranceProgramObligationBlockingEffect),\n gapRefs: z.array(AssuranceProgramFindingIdentitySchema),\n dependencyObligationRefs: z.array(AssuranceProgramObligationIdentitySchema),\n reviewOwnerRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n reviewOn: AssuranceIsoDateSchema,\n reviewTriggerRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((entry, context) => {\n addUniqueSortedIssue(entry.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(entry.governanceActorKinds, context, [\"governanceActorKinds\"], \"governanceActorKinds\");\n addUniqueSortedIssue(entry.sourceRequirementRefs.map(versionedSourceRequirementKey), context, [\"sourceRequirementRefs\"], \"sourceRequirementRefs\");\n addUniqueSortedIssue(\n entry.sourceApplicabilityDecisionRefs.map((identity) => `${identity.decisionRef}@${identity.decisionVersion}`),\n context,\n [\"sourceApplicabilityDecisionRefs\"],\n \"sourceApplicabilityDecisionRefs\",\n );\n addUniqueSortedIssue(entry.responsibilityAssignmentRefs, context, [\"responsibilityAssignmentRefs\"], \"responsibilityAssignmentRefs\");\n for (const field of [\"implementationExpectationRefs\", \"evidenceExpectationRefs\", \"verificationExpectationRefs\"] as const)\n addUniqueSortedIssue(entry[field].map(versionedExpectationKey), context, [field], field);\n addUniqueSortedIssue(\n entry.gapRefs.map((identity) => `${identity.findingRef}@${identity.findingVersion}`),\n context,\n [\"gapRefs\"],\n \"gapRefs\",\n );\n addUniqueSortedIssue(\n entry.dependencyObligationRefs.map((identity) => `${identity.obligationRef}@${identity.obligationVersion}`),\n context,\n [\"dependencyObligationRefs\"],\n \"dependencyObligationRefs\",\n );\n addUniqueSortedIssue(entry.reviewOwnerRoleRefs, context, [\"reviewOwnerRoleRefs\"], \"reviewOwnerRoleRefs\");\n addUniqueSortedIssue(entry.reviewTriggerRefs, context, [\"reviewTriggerRefs\"], \"reviewTriggerRefs\");\n if (entry.governanceActorKinds.length === 1 && entry.sharedResponsibilityRule)\n context.addIssue({ code: \"custom\", message: \"a single governance actor cannot cite a shared-responsibility rule\", path: [\"sharedResponsibilityRule\"] });\n if (entry.governanceActorKinds.length > 1 && !entry.sharedResponsibilityRule)\n context.addIssue({\n code: \"custom\",\n message: \"multiple governance actors require an exact shared-responsibility rule\",\n path: [\"sharedResponsibilityRule\"],\n });\n if (\n entry.dependencyObligationRefs.some(\n (identity) => identity.obligationRef === entry.obligationRef && identity.obligationVersion === entry.obligationVersion,\n )\n )\n context.addIssue({ code: \"custom\", message: \"an obligation cannot depend on itself\", path: [\"dependencyObligationRefs\"] });\n });\nexport type AssuranceProgramObligationEntry = z.infer<typeof AssuranceProgramObligationEntrySchema>;\n\n/**\n * Complete application obligation inventory. It is not the governed-document release register.\n *\n * It carried a digest until the Phase-A demolition (`.claude/rules/one-source-of-truth.md` Rule 0) and the JSDoc went on calling it \"content-addressed\" afterwards. The\n * strict shape below is the whole truth: a ref, a version and the entries. Completeness is proven by `obligationCoverageDecisions` and the uniqueness refinement, not\n * by a hash. A test still named `registerWithoutDigest` is a leftover from when the field existed.\n */\nexport const AssuranceProgramObligationRegisterSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n registerRef: AssuranceNamespacedRefSchema,\n registerVersion: z.number().int().positive(),\n entries: z.array(AssuranceProgramObligationEntrySchema).min(1),\n })\n .superRefine((register, context) =>\n addUniqueSortedIssue(\n register.entries.map((entry) => `${entry.obligationRef}@${entry.obligationVersion}`),\n context,\n [\"entries\"],\n \"obligation identities\",\n ),\n );\nexport type AssuranceProgramObligationRegister = z.infer<typeof AssuranceProgramObligationRegisterSchema>;\n\nconst versionedObligationKey = (identity: { obligationRef: string; obligationVersion: number }): string =>\n `${identity.obligationRef}@${identity.obligationVersion}`;\nconst versionedApplicabilityDecisionKey = (identity: { decisionRef: string; decisionVersion: number }): string =>\n `${identity.decisionRef}@${identity.decisionVersion}`;\nconst versionedCoverageDecisionKey = (identity: { coverageDecisionRef: string; coverageDecisionVersion: number }): string =>\n `${identity.coverageDecisionRef}@${identity.coverageDecisionVersion}`;\nconst versionedSharedResponsibilityRuleKey = (identity: { sharedResponsibilityRuleRef: string; sharedResponsibilityRuleVersion: number }): string =>\n `${identity.sharedResponsibilityRuleRef}@${identity.sharedResponsibilityRuleVersion}`;\n\n/** A non-secret selected option. Values are references to accepted profiles/options rather than arbitrary credential-bearing blobs. */\nexport const AssuranceProgramSelectedOptionSchema = z.strictObject({\n parameterRef: AssuranceNamespacedRefSchema,\n selectedOptionRef: AssuranceNamespacedRefSchema,\n});\n\nexport const AssuranceProgramCapabilitySelectionSchema = z\n .strictObject({\n capabilityKind: z.enum(AssuranceProgramCapabilityKind),\n capabilityRef: AssuranceNamespacedRefSchema,\n capabilityVersion: z.number().int().positive(),\n profileRef: AssuranceNamespacedRefSchema.optional(),\n selectedOptions: z.array(AssuranceProgramSelectedOptionSchema),\n })\n .superRefine((selection, context) => {\n addUniqueSortedIssue(\n selection.selectedOptions.map((option) => option.parameterRef),\n context,\n [\"selectedOptions\"],\n \"selected option parameter refs\",\n );\n });\n\nexport const AssuranceProgramImplementationDecisionSchema = z\n .strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n resolution: z.enum(AssuranceProgramCapabilityResolution),\n capabilitySelections: z.array(AssuranceProgramCapabilitySelectionSchema),\n selectionAuthorityRef: AssuranceNamespacedRefSchema,\n knownLimitations: z.array(z.string().trim().min(1)),\n gapDisposition: z.enum(AssuranceGapDisposition),\n gapRefs: z.array(AssuranceProgramFindingIdentitySchema),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(\n decision.capabilitySelections.map((selection) => selection.capabilityRef),\n context,\n [\"capabilitySelections\"],\n \"capability selection refs\",\n );\n addUniqueSortedIssue(decision.knownLimitations, context, [\"knownLimitations\"], \"knownLimitations\");\n addUniqueSortedIssue(\n decision.gapRefs.map((identity) => `${identity.findingRef}@${identity.findingVersion}`),\n context,\n [\"gapRefs\"],\n \"gapRefs\",\n );\n if (\n (decision.resolution === AssuranceProgramCapabilityResolution.IMPLEMENTABLE || decision.resolution === AssuranceProgramCapabilityResolution.PARTIAL) &&\n decision.capabilitySelections.length === 0\n )\n context.addIssue({\n code: \"custom\",\n message: \"IMPLEMENTABLE and PARTIAL resolutions require at least one selected capability\",\n path: [\"capabilitySelections\"],\n });\n if (decision.resolution === AssuranceProgramCapabilityResolution.UNSUPPORTED && decision.capabilitySelections.length > 0)\n context.addIssue({ code: \"custom\", message: \"UNSUPPORTED resolution cannot select an implementation capability\", path: [\"capabilitySelections\"] });\n if (\n decision.resolution === AssuranceProgramCapabilityResolution.HUMAN_OR_EXTERNAL &&\n !decision.capabilitySelections.some((selection) => selection.capabilityKind === AssuranceProgramCapabilityKind.HUMAN_OR_EXTERNAL)\n )\n context.addIssue({\n code: \"custom\",\n message: \"HUMAN_OR_EXTERNAL resolution requires a human/external capability selection\",\n path: [\"capabilitySelections\"],\n });\n if (decision.gapDisposition === AssuranceGapDisposition.RESOLVED && decision.gapRefs.length > 0)\n context.addIssue({ code: \"custom\", message: \"RESOLVED disposition cannot retain open gap refs\", path: [\"gapRefs\"] });\n const openGapDisposition =\n decision.gapDisposition === AssuranceGapDisposition.OPEN ||\n decision.gapDisposition === AssuranceGapDisposition.RISK_ACCEPTED ||\n decision.gapDisposition === AssuranceGapDisposition.REMEDIATION_PLANNED;\n if (openGapDisposition && decision.gapRefs.length === 0)\n context.addIssue({ code: \"custom\", message: \"an open gap disposition requires explicit gap refs\", path: [\"gapRefs\"] });\n if (\n (decision.gapDisposition === AssuranceGapDisposition.NOT_EVALUATED || decision.gapDisposition === AssuranceGapDisposition.NOT_APPLICABLE) &&\n decision.gapRefs.length > 0\n )\n context.addIssue({ code: \"custom\", message: \"NOT_EVALUATED and NOT_APPLICABLE dispositions cannot cite gap records\", path: [\"gapRefs\"] });\n if (decision.gapDisposition === AssuranceGapDisposition.NOT_APPLICABLE)\n context.addIssue({\n code: \"custom\",\n message: \"implementation decisions cannot use NOT_APPLICABLE; applicability is decided separately per source and scope\",\n path: [\"gapDisposition\"],\n });\n if (\n (decision.resolution === AssuranceProgramCapabilityResolution.PARTIAL || decision.resolution === AssuranceProgramCapabilityResolution.UNSUPPORTED) &&\n decision.knownLimitations.length === 0\n )\n context.addIssue({ code: \"custom\", message: \"PARTIAL and UNSUPPORTED resolutions require known limitations\", path: [\"knownLimitations\"] });\n if (\n (decision.resolution === AssuranceProgramCapabilityResolution.PARTIAL || decision.resolution === AssuranceProgramCapabilityResolution.UNSUPPORTED) &&\n !openGapDisposition\n )\n context.addIssue({ code: \"custom\", message: \"PARTIAL and UNSUPPORTED resolutions require an open gap disposition\", path: [\"gapDisposition\"] });\n });\nexport type AssuranceProgramImplementationDecision = z.infer<typeof AssuranceProgramImplementationDecisionSchema>;\n\n/** Role policy, not a live assignment. Each responsibility remains semantically distinct. */\nexport const AssuranceProgramResponsibilityAssignmentSchema = z\n .strictObject({\n assignmentRef: AssuranceNamespacedRefSchema,\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n responsibleRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n operatingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n evidenceProviderRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n approvingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n escalationRoleRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((assignment, context) => {\n for (const key of [\"responsibleRoleRefs\", \"operatingRoleRefs\", \"evidenceProviderRoleRefs\", \"approvingRoleRefs\", \"escalationRoleRefs\"] as const) {\n addUniqueSortedIssue(assignment[key], context, [key], key);\n }\n });\nexport type AssuranceProgramResponsibilityAssignment = z.infer<typeof AssuranceProgramResponsibilityAssignmentSchema>;\n\nexport const AssuranceProgramGapOrExceptionSchema = z\n .strictObject({\n findingRef: AssuranceNamespacedRefSchema,\n findingVersion: z.number().int().positive(),\n kind: z.enum(AssuranceProgramFindingKind),\n objective: AssuranceObjectiveIdentitySchema.optional(),\n source: AssuranceSourceIdentitySchema.optional(),\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n scopeSelectorVersion: z.number().int().positive(),\n reason: z.string().trim().min(1),\n ownerRoleRef: AssuranceNamespacedRefSchema,\n compensatingControlRefs: z.array(AssuranceNamespacedRefSchema),\n disposition: z.enum(AssuranceGapDisposition),\n authorityDecisionRef: AssuranceNamespacedRefSchema.optional(),\n reviewOn: AssuranceIsoDateSchema,\n expiresOn: AssuranceIsoDateSchema.optional(),\n reopenOnSourceChange: z.literal(true),\n reopenOnScopeChange: z.literal(true),\n })\n .superRefine((finding, context) => {\n addUniqueSortedIssue(finding.compensatingControlRefs, context, [\"compensatingControlRefs\"], \"compensatingControlRefs\");\n if (finding.kind === AssuranceProgramFindingKind.EXCEPTION && (!finding.authorityDecisionRef || !finding.expiresOn)) {\n context.addIssue({ code: \"custom\", message: \"an exception requires explicit authority and expiry\", path: [\"authorityDecisionRef\"] });\n }\n if (finding.disposition === AssuranceGapDisposition.RISK_ACCEPTED && !finding.authorityDecisionRef) {\n context.addIssue({ code: \"custom\", message: \"risk acceptance requires an authority decision\", path: [\"authorityDecisionRef\"] });\n }\n if (finding.expiresOn && finding.reviewOn > finding.expiresOn) {\n context.addIssue({ code: \"custom\", message: \"reviewOn cannot follow expiresOn\", path: [\"reviewOn\"] });\n }\n });\nexport type AssuranceProgramGapOrException = z.infer<typeof AssuranceProgramGapOrExceptionSchema>;\n\nconst AssuranceProgramDocumentationRequirementCommonSchema = z.strictObject({\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: z.number().int().positive(),\n documentKindRef: AssuranceNamespacedRefSchema,\n documentRef: AssuranceNamespacedRefSchema,\n documentVersion: z.number().int().positive(),\n requiredAcceptedFactRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n requiredVariableRefs: z.array(AssuranceNamespacedRefSchema),\n classificationPolicyRef: AssuranceNamespacedRefSchema,\n storagePolicyRef: AssuranceNamespacedRefSchema,\n approvingRoleRefs: z.array(AssuranceNamespacedRefSchema),\n sourceRefs: z.array(AssuranceSourceIdentitySchema),\n contentIdentityRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n});\n\n/** Retained pre-document-authority shape. Parse/replay only; current application authoring uses v2. */\nexport const AssuranceProgramDocumentationRequirementV1Schema = AssuranceProgramDocumentationRequirementCommonSchema.extend({\n approvalRequirement: z.enum(AssuranceProgramDocumentApprovalRequirement),\n}).superRefine((requirement, context) => {\n addUniqueSortedIssue(requirement.requiredAcceptedFactRefs, context, [\"requiredAcceptedFactRefs\"], \"requiredAcceptedFactRefs\");\n addUniqueSortedIssue(requirement.requiredVariableRefs, context, [\"requiredVariableRefs\"], \"requiredVariableRefs\");\n addUniqueSortedIssue(requirement.approvingRoleRefs, context, [\"approvingRoleRefs\"], \"approvingRoleRefs\");\n addUniqueSortedIssue(\n requirement.sourceRefs.map((source) => `${source.sourceRef}@${source.sourceVersion}`),\n context,\n [\"sourceRefs\"],\n \"sourceRefs\",\n );\n addUniqueSortedIssue(requirement.contentIdentityRefs, context, [\"contentIdentityRefs\"], \"contentIdentityRefs\");\n if (requirement.approvalRequirement === AssuranceProgramDocumentApprovalRequirement.APPROVAL_REQUIRED && requirement.approvingRoleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"approval-required documentation needs at least one approving role\", path: [\"approvingRoleRefs\"] });\n }\n if (requirement.approvalRequirement === AssuranceProgramDocumentApprovalRequirement.NO_APPROVAL_REQUIRED && requirement.approvingRoleRefs.length > 0) {\n context.addIssue({ code: \"custom\", message: \"documentation without approval cannot declare approving roles\", path: [\"approvingRoleRefs\"] });\n }\n});\n\n/** Current document requirement bound to an engine-owned definition and an explicit application applicability decision. */\nexport const AssuranceProgramDocumentationRequirementV2Schema = AssuranceProgramDocumentationRequirementCommonSchema.extend({\n schemaVersion: z.literal(2),\n definition: GovernedDocumentDefinitionIdentitySchema,\n governanceScope: GovernedDocumentGovernanceScopeSchema,\n applicabilityStatus: z.enum(GovernedDocumentApplicabilityStatus),\n applicabilityRationale: z.string().trim().min(1),\n applicabilityDecidedByRef: AssuranceNamespacedRefSchema,\n applicabilityDecidedAt: AssuranceIsoDateTimeSchema,\n applicabilityDependencyRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n audienceKinds: z.array(z.enum(GovernedDocumentAudienceKind)).min(1),\n requiredReviewKinds: z.array(z.enum(GovernedDocumentReviewKind)).min(1),\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n publicationChannelKinds: z.array(z.enum(GovernedDocumentPublicationChannelKind)).min(1),\n}).superRefine((requirement, context) => {\n for (const [key, values] of [\n [\"requiredAcceptedFactRefs\", requirement.requiredAcceptedFactRefs],\n [\"requiredVariableRefs\", requirement.requiredVariableRefs],\n [\"approvingRoleRefs\", requirement.approvingRoleRefs],\n [\"contentIdentityRefs\", requirement.contentIdentityRefs],\n [\"applicabilityDependencyRefs\", requirement.applicabilityDependencyRefs],\n [\"audienceKinds\", requirement.audienceKinds],\n [\"requiredReviewKinds\", requirement.requiredReviewKinds],\n [\"allowedInteractionKinds\", requirement.allowedInteractionKinds],\n [\"publicationChannelKinds\", requirement.publicationChannelKinds],\n ] as const)\n addUniqueSortedIssue(values, context, [key], key);\n addUniqueSortedIssue(\n requirement.sourceRefs.map((source) => `${source.sourceRef}@${source.sourceVersion}`),\n context,\n [\"sourceRefs\"],\n \"sourceRefs\",\n );\n if (requirement.applicabilityStatus === GovernedDocumentApplicabilityStatus.APPLICABLE && requirement.approvingRoleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"an applicable governed document requires at least one approving role\", path: [\"approvingRoleRefs\"] });\n }\n});\nexport type AssuranceProgramDocumentationRequirementV2 = z.infer<typeof AssuranceProgramDocumentationRequirementV2Schema>;\n\nexport const AssuranceProgramDocumentationRequirementSchema = z.union([\n AssuranceProgramDocumentationRequirementV1Schema,\n AssuranceProgramDocumentationRequirementV2Schema,\n]);\nexport type AssuranceProgramDocumentationRequirement = z.infer<typeof AssuranceProgramDocumentationRequirementSchema>;\n\n/**\n * Whether an issue is a statement about the authored specification or about the host it was accepted against.\n *\n * An accepted assurance program is a point-in-time governance decision over exact implementation bytes. The host\n * that resolves those bytes keeps moving underneath it. Collapsing both situations into one \"invalid\" verdict is\n * what forces an operator to choose between a dead runtime and deleting the acceptance record — so the two are\n * separated here, in the contract, rather than guessed at by each consumer.\n *\n * - `SPECIFICATION_DEFECT` — the authored bytes are wrong: an unknown objective, a self-inconsistent digest, an\n * expired exception, a capability the host does not offer at all. Nothing the host can do makes these correct.\n * Consumers must fail closed.\n * - `HOST_ATTESTATION_INVALID` — the authored bytes are not implicated; the host's own authority snapshot fails\n * its integrity checks. A corrupt attestation cannot authorize anything, so consumers must also fail closed —\n * but the fault, and therefore the remediation, is the host's compiled basis, not the specification. This class\n * exists so an operator is not sent to debug a specification that is fine.\n * - `HOST_DIVERGENCE` — the authored bytes are well-formed and internally consistent, the host attestation is\n * sound, and the host's view of the implementation has simply moved since acceptance. This is an assurance\n * *finding* — the program needs re-accepting against the new implementation — and consumers that record it\n * durably may continue operating.\n *\n * Two of the three classes fail closed. The classes are not a severity scale: they name *which artifact is at\n * fault*, and only `HOST_DIVERGENCE` is re-acceptable. Do not collapse the two fail-closed classes back together\n * on the grounds that they behave alike — the behaviour is shared, the diagnosis is not.\n *\n * Tolerating `HOST_DIVERGENCE` is only meaningful where a host authority exists to diverge from. A consumer\n * validating a specification with no external authority never observes it.\n */\nexport enum AssuranceProgramSpecificationIssueClass {\n SPECIFICATION_DEFECT = \"SPECIFICATION_DEFECT\",\n HOST_ATTESTATION_INVALID = \"HOST_ATTESTATION_INVALID\",\n HOST_DIVERGENCE = \"HOST_DIVERGENCE\",\n}\n\nexport enum AssuranceProgramSpecificationIssueKind {\n AUTHORITY_SNAPSHOT_DIGEST_MISMATCH = \"AUTHORITY_SNAPSHOT_DIGEST_MISMATCH\",\n AUTHORITY_SNAPSHOT_INVALID = \"AUTHORITY_SNAPSHOT_INVALID\",\n AMBIGUOUS_APPLICABILITY = \"AMBIGUOUS_APPLICABILITY\",\n /**\n * The host offers this exact capability with the same kind and implementation refs, but its implementation\n * revision has moved since the program was accepted. The control is still present and still the same control —\n * only the bytes implementing it changed. Distinct from `UNKNOWN_CAPABILITY`, which means the host does not\n * offer the claimed capability at all.\n */\n HOST_CAPABILITY_IMPLEMENTATION_DRIFT = \"HOST_CAPABILITY_IMPLEMENTATION_DRIFT\",\n /** The host supplies a valid authority basis, but it is not the exact basis identity accepted by the v2/v3 program. */\n HOST_AUTHORITY_BASIS_DRIFT = \"HOST_AUTHORITY_BASIS_DRIFT\",\n /**\n * An artifact pinned by an accepted source revision no longer matches the host-resolved implementation bytes.\n * Distinct from `UNKNOWN_SOURCE_REVISION`, which means the specification references a revision it never declared\n * — an internal inconsistency in the authored bytes rather than a statement about the host.\n */\n HOST_IMPLEMENTATION_ARTIFACT_DRIFT = \"HOST_IMPLEMENTATION_ARTIFACT_DRIFT\",\n AMBIGUOUS_CONTROL_BINDING = \"AMBIGUOUS_CONTROL_BINDING\",\n AMBIGUOUS_OBLIGATION_BINDING = \"AMBIGUOUS_OBLIGATION_BINDING\",\n AMBIGUOUS_SHARED_RESPONSIBILITY_RULE = \"AMBIGUOUS_SHARED_RESPONSIBILITY_RULE\",\n AMBIGUOUS_IMPLEMENTATION_DECISION = \"AMBIGUOUS_IMPLEMENTATION_DECISION\",\n INCOMPLETE_APPLICABILITY = \"INCOMPLETE_APPLICABILITY\",\n INCOMPLETE_IMPLEMENTATION_DECISION = \"INCOMPLETE_IMPLEMENTATION_DECISION\",\n INCOMPLETE_RESPONSIBILITY_ASSIGNMENT = \"INCOMPLETE_RESPONSIBILITY_ASSIGNMENT\",\n DOCUMENT_AUTHORITY_CATALOG_DIGEST_MISMATCH = \"DOCUMENT_AUTHORITY_CATALOG_DIGEST_MISMATCH\",\n DOCUMENT_AUTHORITY_CATALOG_INVALID = \"DOCUMENT_AUTHORITY_CATALOG_INVALID\",\n OBJECTIVE_CATALOG_DIGEST_MISMATCH = \"OBJECTIVE_CATALOG_DIGEST_MISMATCH\",\n OBLIGATION_DEPENDENCY_CYCLE = \"OBLIGATION_DEPENDENCY_CYCLE\",\n OBLIGATION_GOVERNANCE_DIGEST_MISMATCH = \"OBLIGATION_GOVERNANCE_DIGEST_MISMATCH\",\n OBLIGATION_REGISTER_DIGEST_MISMATCH = \"OBLIGATION_REGISTER_DIGEST_MISMATCH\",\n RELATIONSHIP_MISMATCH = \"RELATIONSHIP_MISMATCH\",\n SOURCE_AUTHORITY_MISMATCH = \"SOURCE_AUTHORITY_MISMATCH\",\n SOURCE_IDENTITY_DIGEST_MISMATCH = \"SOURCE_IDENTITY_DIGEST_MISMATCH\",\n SOURCE_LIFECYCLE_CONFLICT = \"SOURCE_LIFECYCLE_CONFLICT\",\n SOURCE_REGISTRY_DIGEST_MISMATCH = \"SOURCE_REGISTRY_DIGEST_MISMATCH\",\n SOURCE_RIGHTS_UNAUTHORIZED = \"SOURCE_RIGHTS_UNAUTHORIZED\",\n SOURCE_REVISION_DIGEST_MISMATCH = \"SOURCE_REVISION_DIGEST_MISMATCH\",\n TEMPORAL_POLICY_CONFLICT = \"TEMPORAL_POLICY_CONFLICT\",\n UNKNOWN_APPLICABILITY_SOURCE = \"UNKNOWN_APPLICABILITY_SOURCE\",\n UNKNOWN_BINDING_SOURCE = \"UNKNOWN_BINDING_SOURCE\",\n /**\n * The host does not offer the claimed capability at all, offers it under a different capability kind, or resolves\n * it to different implementation refs. No host state makes the authored claim true. For a capability that is\n * present and unchanged except for its implementation revision, see `HOST_CAPABILITY_IMPLEMENTATION_DRIFT`.\n */\n UNKNOWN_CAPABILITY = \"UNKNOWN_CAPABILITY\",\n /**\n * An expectation this program claims REQUIRES a capability the application's own configuration does\n * not make available, because the engine capability that carries it is not enabled.\n *\n * Distinct from `RELATIONSHIP_MISMATCH`, which reads as \"the accepted statement forgot to bind\n * something\", and from `UNKNOWN_CAPABILITY`, which is about a capability the program CLAIMS. Here\n * nothing was forgotten and nothing is claimed wrongly: the control simply cannot be attested with\n * this configuration, and no amount of re-authoring the statement changes that. Reported separately\n * because the two remedies are opposites — bind the capability, versus enable the engine capability\n * or stop claiming the objective.\n *\n * The issue carries the resulting applicability so the reader does not have to derive it: an\n * objective whose expectation required ONLY unavailable capabilities is `NOT_APPLICABLE`, while one\n * that also required an available capability is `UNDETERMINED` — the control operates and only the\n * capability attesting it is absent. See `deriveExpectationCapabilityApplicability`.\n */\n REQUIRED_CAPABILITY_UNAVAILABLE = \"REQUIRED_CAPABILITY_UNAVAILABLE\",\n UNKNOWN_DOCUMENT = \"UNKNOWN_DOCUMENT\",\n UNKNOWN_DOCUMENT_SOURCE = \"UNKNOWN_DOCUMENT_SOURCE\",\n UNKNOWN_FINDING = \"UNKNOWN_FINDING\",\n /** An authored v1 inventory or v2/v3 attested-ref set names an artifact which the host authority does not inventory. */\n UNKNOWN_IMPLEMENTATION_ARTIFACT = \"UNKNOWN_IMPLEMENTATION_ARTIFACT\",\n UNKNOWN_OBJECTIVE = \"UNKNOWN_OBJECTIVE\",\n UNKNOWN_OBLIGATION_GOVERNANCE_RECORD = \"UNKNOWN_OBLIGATION_GOVERNANCE_RECORD\",\n UNKNOWN_ROLE = \"UNKNOWN_ROLE\",\n UNKNOWN_SCOPE_SELECTOR = \"UNKNOWN_SCOPE_SELECTOR\",\n UNKNOWN_SOURCE_AUTHORITY = \"UNKNOWN_SOURCE_AUTHORITY\",\n UNKNOWN_SOURCE_REQUIREMENT = \"UNKNOWN_SOURCE_REQUIREMENT\",\n /**\n * The specification references a source revision it never declared — an internal inconsistency in the authored\n * bytes. For a declared revision whose artifact bytes no longer match the host, see\n * `HOST_IMPLEMENTATION_ARTIFACT_DRIFT`.\n */\n UNKNOWN_SOURCE_REVISION = \"UNKNOWN_SOURCE_REVISION\",\n UNKNOWN_VALIDATION_AUTHORITY = \"UNKNOWN_VALIDATION_AUTHORITY\",\n}\n\nexport interface AssuranceProgramSpecificationIssue {\n readonly kind: AssuranceProgramSpecificationIssueKind;\n readonly path: string;\n readonly message: string;\n /**\n * Stable semantic subject of a recordable host-divergence issue.\n *\n * Required on every `HOST_DIVERGENCE` producer and deliberately independent of diagnostic prose and array-path\n * rendering. Durable replay compares `(kind, subjectRef)`; `message` remains operator-facing explanation only.\n * Non-recordable issues may omit it because they are always refused rather than persisted as accepted tolerance.\n */\n readonly subjectRef?: string;\n}\n\n/**\n * The one runtime source classifying every issue kind.\n *\n * Exhaustive by construction: the `Record` key type is the enum itself, so adding a kind without deciding whether\n * it describes the specification or the host is a compile error rather than a silent default. Do not replace this\n * with a predicate over name prefixes — the classification is a semantic decision per kind, not a naming pattern.\n *\n * Every kind maps to exactly one class. That is only well-defined because kinds that previously carried both\n * meanings were split: `UNKNOWN_CAPABILITY` / `HOST_CAPABILITY_IMPLEMENTATION_DRIFT` and\n * `UNKNOWN_SOURCE_REVISION` / `HOST_IMPLEMENTATION_ARTIFACT_DRIFT`. Merging either pair back would make this\n * mapping lossy and silently re-enable tolerance of genuine specification defects.\n */\nexport const ASSURANCE_PROGRAM_SPECIFICATION_ISSUE_CLASS_BY_KIND: Readonly<\n Record<AssuranceProgramSpecificationIssueKind, AssuranceProgramSpecificationIssueClass>\n> = {\n [AssuranceProgramSpecificationIssueKind.HOST_CAPABILITY_IMPLEMENTATION_DRIFT]: AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE,\n [AssuranceProgramSpecificationIssueKind.HOST_AUTHORITY_BASIS_DRIFT]: AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE,\n [AssuranceProgramSpecificationIssueKind.HOST_IMPLEMENTATION_ARTIFACT_DRIFT]: AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE,\n [AssuranceProgramSpecificationIssueKind.AUTHORITY_SNAPSHOT_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.AUTHORITY_SNAPSHOT_INVALID]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_APPLICABILITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_CONTROL_BINDING]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_OBLIGATION_BINDING]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_SHARED_RESPONSIBILITY_RULE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_IMPLEMENTATION_DECISION]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.INCOMPLETE_IMPLEMENTATION_DECISION]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_INVALID]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.OBJECTIVE_CATALOG_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.OBLIGATION_DEPENDENCY_CYCLE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.OBLIGATION_GOVERNANCE_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.OBLIGATION_REGISTER_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n /*\n * SPECIFICATION_DEFECT, and deliberately NOT host divergence: nothing has drifted and there is no\n * newer host state to re-accept. The program claims an objective this application's configuration\n * forecloses, which is a statement about the authored program rather than about the host moving.\n */\n [AssuranceProgramSpecificationIssueKind.REQUIRED_CAPABILITY_UNAVAILABLE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n /*\n * Deliberately a specification defect, not host attestation: the host record is internally sound and the program\n * simply disagrees with it. That is equally consistent with a mis-transcribed reference and with host metadata\n * moving on, and tolerance is the dangerous direction — so this stays fail-closed and spec-pointing until a\n * concrete case proves it is drift.\n */\n [AssuranceProgramSpecificationIssueKind.SOURCE_AUTHORITY_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n /* The host registry record's own identity digest does not match its own canonical bytes — nothing to do with the program. */\n [AssuranceProgramSpecificationIssueKind.SOURCE_IDENTITY_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.SOURCE_LIFECYCLE_CONFLICT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.SOURCE_REGISTRY_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.SOURCE_RIGHTS_UNAUTHORIZED]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.SOURCE_REVISION_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_APPLICABILITY_SOURCE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_BINDING_SOURCE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT_SOURCE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_FINDING]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_IMPLEMENTATION_ARTIFACT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_ROLE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_AUTHORITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REQUIREMENT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REVISION]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_VALIDATION_AUTHORITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n};\n\n/**\n * What an application's enabled capability set does to ONE expectation's demand.\n *\n * A capability an application has not enabled is filtered out of its authority snapshot, so an\n * expectation requiring it can never be satisfied there. The question this answers is what that\n * SHOULD mean, and the answer differs by whether the missing capability IS the control or merely\n * attests one:\n *\n * | required capabilities available | status | reading |\n * |---|---|---|\n * | all | `APPLICABLE` | nothing stands in the way |\n * | none | `NOT_APPLICABLE` | the absent capability IS the control; there is nothing to claim |\n * | some | `UNDETERMINED` | the control operates, and the capability that would ATTEST it is absent |\n *\n * The middle and last rows are the distinction that matters, and collapsing them is the trap. Treating\n * a partly-available expectation as `NOT_APPLICABLE` would let an application escape a control it\n * genuinely implements — a consent record is still written, an administrative floor still refuses —\n * merely by leaving the capability that reports those acts switched off. Treating it as `APPLICABLE`\n * would claim evidence nobody can produce. `UNDETERMINED` is the only one of the three that is true.\n *\n * Deliberately a pure function of two sets, so the same rule serves validation, program generation and\n * anything that wants to warn an application builder BEFORE a run: one rule, one place to read it.\n */\nexport function deriveExpectationCapabilityApplicability(input: {\n readonly requiredCapabilityRefs: readonly string[];\n readonly availableCapabilityRefs: ReadonlySet<string>;\n}): {\n readonly status: AssuranceProgramApplicabilityStatus;\n readonly unavailableCapabilityRefs: readonly string[];\n} {\n const unavailableCapabilityRefs = input.requiredCapabilityRefs.filter((capabilityRef) => !input.availableCapabilityRefs.has(capabilityRef));\n if (unavailableCapabilityRefs.length === 0) return { status: AssuranceProgramApplicabilityStatus.APPLICABLE, unavailableCapabilityRefs };\n /*\n * An expectation authority always declares at least one required capability (its schema sets\n * `.min(1)`), so \"every required capability is unavailable\" cannot be reached vacuously by an empty\n * demand — which would otherwise report NOT_APPLICABLE for an expectation that demanded nothing.\n */\n const status =\n unavailableCapabilityRefs.length === input.requiredCapabilityRefs.length\n ? AssuranceProgramApplicabilityStatus.NOT_APPLICABLE\n : AssuranceProgramApplicabilityStatus.UNDETERMINED;\n return { status, unavailableCapabilityRefs };\n}\n\n/** Classifies one issue as a statement about the specification or about the host. */\nexport function classifyAssuranceProgramSpecificationIssue(issue: Pick<AssuranceProgramSpecificationIssue, \"kind\">): AssuranceProgramSpecificationIssueClass {\n return ASSURANCE_PROGRAM_SPECIFICATION_ISSUE_CLASS_BY_KIND[issue.kind];\n}\n\n/**\n * True when every supplied issue is host divergence — the caller may record a finding and continue.\n *\n * Fails closed on an empty set: \"no issues\" is not host divergence, and a caller that reaches this helper with\n * nothing to classify has already lost the distinction it needs. Callers must gate on validity first.\n */\nexport function assuranceProgramIssuesAreOnlyHostDivergence(issues: readonly Pick<AssuranceProgramSpecificationIssue, \"kind\" | \"subjectRef\">[]): boolean {\n return (\n issues.length > 0 &&\n issues.every(\n (issue) =>\n classifyAssuranceProgramSpecificationIssue(issue) === AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE &&\n typeof issue.subjectRef === \"string\" &&\n issue.subjectRef.length > 0,\n )\n );\n}\n\n/**\n * External authorities required to validate claims that cannot be proven from application-authored bytes alone.\n * A host may supply a larger registry without changing the core model; source names never become branches.\n */\nexport interface AssuranceProgramValidationAuthorities {\n readonly snapshot: AssuranceProgramValidationAuthoritySnapshot;\n}\n\n/** Basis-pinned implementation statement used by current assurance-program versions. */\nexport const AssuranceProgramImplementationStatementV2Schema = z\n .strictObject({\n schemaVersion: z.literal(2),\n ...AssuranceImplementationStatementCommonFieldsSchema.shape,\n basisRef: AssuranceNamespacedRefSchema,\n basisVersion: z.number().int().positive(),\n })\n .superRefine(addAssuranceImplementationStatementCommonIssues);\nexport type AssuranceProgramImplementationStatementV2 = z.infer<typeof AssuranceProgramImplementationStatementV2Schema>;\n\nconst AssuranceProgramCommonFieldsBeforeObjectiveBindingsSchema = z.strictObject({\n programRef: AssuranceNamespacedRefSchema,\n programVersion: z.number().int().positive(),\n sourceReferences: z.array(AssuranceProgramSourceReferenceSchema).min(1),\n scopeSelectors: z.array(AssuranceProgramScopeSelectorSchema).min(1),\n applicabilityDecisions: z.array(AssuranceProgramApplicabilityDecisionSchema).min(1),\n});\n\nconst AssuranceProgramCommonFieldsAfterObjectiveBindingsSchema = z.strictObject({\n implementationDecisions: z.array(AssuranceProgramImplementationDecisionSchema),\n responsibilityAssignments: z.array(AssuranceProgramResponsibilityAssignmentSchema).min(1),\n gapsAndExceptions: z.array(AssuranceProgramGapOrExceptionSchema),\n documentationRequirements: z.array(AssuranceProgramDocumentationRequirementSchema),\n knownProgramLimitations: z.array(z.string().trim().min(1)),\n});\n\n/** Byte-identical common shape retained by v1/v2 programs. */\nconst AssuranceProgramHistoricalCommonFieldsSchema = z.strictObject({\n ...AssuranceProgramCommonFieldsBeforeObjectiveBindingsSchema.shape,\n controlObjectiveBindings: z.array(AssuranceProgramControlObjectiveBindingSchema).min(1),\n ...AssuranceProgramCommonFieldsAfterObjectiveBindingsSchema.shape,\n});\n\n/** Current program shape: obligation entries replace, rather than duplicate, historical control-objective bindings. */\nconst AssuranceProgramV3CommonFieldsSchema = z.strictObject({\n ...AssuranceProgramCommonFieldsBeforeObjectiveBindingsSchema.shape,\n obligationRegister: AssuranceProgramObligationRegisterSchema,\n obligationCoverageDecisions: z.array(AssuranceProgramObligationCoverageDecisionSchema).min(1),\n sharedResponsibilityRules: z.array(AssuranceProgramSharedResponsibilityRuleSchema),\n ...AssuranceProgramCommonFieldsAfterObjectiveBindingsSchema.shape,\n});\n\n/**\n * Historical source-revision-pinned program. Retained payloads remain parseable and replayable.\n *\n * This said \"new authoring is forbidden by the repository pin checker\" until 2026-09-01. **Nothing forbids it.** That checker was\n * `pnpm check:assurance-revision-pin`, removed on 2026-08-27 with the rest of the digest mechanism, and no successor exists — the\n * only assurance check in `package.json` is `check:assurance-control-boundary`, which is about marker source-neutrality.\n *\n * So v1 is discouraged by this comment and by nothing else. A safety claim standing on a removed mechanism is worse than no claim,\n * because a reader stops looking for the guard. Building one is #221; until it lands, \"forbidden\" means \"please do not\".\n */\nexport const AssuranceProgramSpecificationV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n ...AssuranceProgramHistoricalCommonFieldsSchema.shape,\n sourceRevisions: z.array(AssuranceProgramSourceRevisionSchema).min(1),\n roleAuthorities: z.array(AssuranceProgramRoleAuthoritySchema).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilityAuthoritySchema),\n implementationStatements: z.array(AssuranceImplementationStatementSchema),\n })\n .superRefine(addAssuranceProgramSpecificationIssues);\nexport type AssuranceProgramSpecificationV1 = z.infer<typeof AssuranceProgramSpecificationV1Schema>;\n\n/**\n * Retained basis-pinned application program: exactly one basis identity plus readable refs to the attested engine artifacts.\n *\n * Validation authorities currently carry one sealed basis snapshot. Accepting several authored bases would make\n * every extra basis compare against the wrong inventory and could misclassify an unverified authority as tolerable\n * host drift. Multi-basis composition therefore requires a later schema version with basis-indexed snapshots.\n *\n * This claimed a \"repository checker\" recognized v2 authoring \"only through the serialized pre-v3 transition\" until\n * 2026-09-01. There is no such checker — see the note on {@link AssuranceProgramSpecificationV1Schema}. The intent\n * stands and is worth keeping: after an application accepts v3, v2 should remain replayable rather than become a\n * second current authoring shape. It is an intent, not an enforced one (#221).\n *\n * Exactly one v2 programme exists today, `examples/wonder-todos`, and it is the only assurance programme in the\n * repository. Wonder CRM has none: what it carries is a PROCESSOR REGISTER, whose `schemaVersion: 1` belongs to\n * `ApplicationProcessorRegisterSchema` and must not be counted as a v1 programme.\n *\n * prose-referent-waiver: the absent path is quoted precisely BECAUSE it is absent — retiring it by name is what\n * stops the next reader reintroducing it.\n * (Until 2026-09-09 this named that register as `examples/wonder-crm/specifications/src/compliance/index.ts`,\n * a path Wonder CRM has never had — its register is authored under `specifications/src/processor-register/`.\n * The warning is kept because the confusion is real; the file-name half of it was not.)\n */\nexport const AssuranceProgramSpecificationV2Schema = z\n .strictObject({\n schemaVersion: z.literal(2),\n ...AssuranceProgramHistoricalCommonFieldsSchema.shape,\n authorityBases: z.array(AssuranceProgramAuthorityBasisReferenceSchema).length(1),\n roleAuthorities: z.array(AssuranceProgramRoleAuthorityV2Schema).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilityAuthorityV2Schema),\n implementationStatements: z.array(AssuranceProgramImplementationStatementV2Schema),\n })\n .superRefine(addAssuranceProgramSpecificationIssues);\nexport type AssuranceProgramSpecificationV2 = z.infer<typeof AssuranceProgramSpecificationV2Schema>;\n\n/**\n * Current application program. It preserves the v2 single-basis authority model while replacing the overlapping\n * control-objective-binding array with one complete obligation register and its program-owned review\n * records. Activation and operating/evidence truth remain deliberately unrepresentable.\n */\nexport const AssuranceProgramSpecificationV3Schema = z\n .strictObject({\n schemaVersion: z.literal(3),\n ...AssuranceProgramV3CommonFieldsSchema.shape,\n authorityBases: z.array(AssuranceProgramAuthorityBasisReferenceSchema).length(1),\n roleAuthorities: z.array(AssuranceProgramRoleAuthorityV2Schema).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilityAuthorityV2Schema),\n implementationStatements: z.array(AssuranceProgramImplementationStatementV2Schema),\n })\n .superRefine(addAssuranceProgramSpecificationIssues);\nexport type AssuranceProgramSpecificationV3 = z.infer<typeof AssuranceProgramSpecificationV3Schema>;\n\n/**\n * Accepted application compliance policy. Organization-specific occurrences,\n * assignees, reviewer identities, evidence bytes and assessment claims are\n * intentionally unrepresentable and belong to authorized runtime records.\n */\nexport const AssuranceProgramSpecificationSchema = z.discriminatedUnion(\"schemaVersion\", [\n AssuranceProgramSpecificationV1Schema,\n AssuranceProgramSpecificationV2Schema,\n AssuranceProgramSpecificationV3Schema,\n]);\nexport type AssuranceProgramSpecification = z.infer<typeof AssuranceProgramSpecificationSchema>;\n\nexport type AssuranceProgramObjectiveBindingView = Readonly<{\n bindingRef: AssuranceProgramControlObjectiveBinding[\"bindingRef\"];\n objective: AssuranceProgramControlObjectiveBinding[\"objective\"];\n scopeSelectorRefs: AssuranceProgramControlObjectiveBinding[\"scopeSelectorRefs\"];\n sourceRequirementRefs: AssuranceProgramControlObjectiveBinding[\"sourceRequirementRefs\"];\n implementationExpectationRefs: AssuranceProgramControlObjectiveBinding[\"implementationExpectationRefs\"];\n evidenceExpectationRefs: AssuranceProgramControlObjectiveBinding[\"evidenceExpectationRefs\"];\n verificationExpectationRefs: AssuranceProgramControlObjectiveBinding[\"verificationExpectationRefs\"];\n requiredProofStage: AssuranceProgramProofStage;\n}>;\n\n/** One normalized read view keeps historical control bindings and current obligation entries on the same validator path. */\nexport const resolveAssuranceProgramObjectiveBindings = (program: AssuranceProgramSpecification): readonly AssuranceProgramObjectiveBindingView[] =>\n program.schemaVersion === 3\n ? program.obligationRegister.entries.map((entry) => ({\n bindingRef: entry.obligationRef,\n objective: entry.objective,\n scopeSelectorRefs: entry.scopeSelectorRefs,\n sourceRequirementRefs: entry.sourceRequirementRefs,\n implementationExpectationRefs: entry.implementationExpectationRefs,\n evidenceExpectationRefs: entry.evidenceExpectationRefs,\n verificationExpectationRefs: entry.verificationExpectationRefs,\n requiredProofStage: entry.requiredProofStage,\n }))\n : program.controlObjectiveBindings;\n\nconst assuranceProgramObjectiveBindingCollectionPath = (program: AssuranceProgramSpecification): string =>\n program.schemaVersion === 3 ? \"obligationRegister.entries\" : \"controlObjectiveBindings\";\n\nconst stringSetsIntersectOrEitherIsWildcard = (left: readonly string[], right: readonly string[]): boolean =>\n left.length === 0 || right.length === 0 || left.some((value) => right.includes(value));\n\n/**\n * Conservative source-level overlap proof for obligation uniqueness.\n *\n * Empty jurisdiction/data/organization-rule dimensions are wildcards. A false result proves disjointness from the\n * authored selectors; a true result only means they may overlap and therefore cannot independently govern the same\n * objective without creating two accepted answers for one subject.\n */\nconst assuranceProgramScopeSelectorsMayOverlap = (left: AssuranceProgramScopeSelector, right: AssuranceProgramScopeSelector): boolean =>\n left.systemBoundaryRefs.some((value) => right.systemBoundaryRefs.includes(value)) &&\n stringSetsIntersectOrEitherIsWildcard(left.jurisdictionRefs, right.jurisdictionRefs) &&\n stringSetsIntersectOrEitherIsWildcard(left.dataCategoryRefs, right.dataCategoryRefs) &&\n stringSetsIntersectOrEitherIsWildcard(left.organizationScopeRuleRefs, right.organizationScopeRuleRefs);\n\nfunction addAssuranceProgramSpecificationIssues(program: AssuranceProgramSpecification, context: z.RefinementCtx): void {\n const objectiveBindings = resolveAssuranceProgramObjectiveBindings(program);\n const objectiveBindingCollectionPath = assuranceProgramObjectiveBindingCollectionPath(program);\n const orderedRefs: Array<[readonly string[], PropertyKey[], string]> = [\n [\n program.schemaVersion === 1\n ? program.sourceRevisions.map((revision) => revision.sourceRevisionRef)\n : program.authorityBases.map((basis) => `${basis.basisRef}@${basis.basisVersion}`),\n [program.schemaVersion === 1 ? \"sourceRevisions\" : \"authorityBases\"],\n program.schemaVersion === 1 ? \"sourceRevisions\" : \"authorityBases\",\n ],\n [program.roleAuthorities.map((authority) => authority.roleRef), [\"roleAuthorities\"], \"roleAuthorities\"],\n [program.capabilityAuthorities.map((authority) => versionedCapabilityKey(authority.identity)), [\"capabilityAuthorities\"], \"capabilityAuthorities\"],\n [program.sourceReferences.map((source) => versionedSourceKey(source.identity)), [\"sourceReferences\"], \"sourceReferences\"],\n [program.scopeSelectors.map((scope) => scope.scopeSelectorRef), [\"scopeSelectors\"], \"scopeSelectors\"],\n [program.applicabilityDecisions.map((decision) => decision.decisionRef), [\"applicabilityDecisions\"], \"applicabilityDecisions\"],\n [objectiveBindings.map((binding) => binding.bindingRef), objectiveBindingCollectionPath.split(\".\"), objectiveBindingCollectionPath],\n [program.implementationDecisions.map((decision) => decision.decisionRef), [\"implementationDecisions\"], \"implementationDecisions\"],\n [program.responsibilityAssignments.map((assignment) => assignment.assignmentRef), [\"responsibilityAssignments\"], \"responsibilityAssignments\"],\n [program.gapsAndExceptions.map((finding) => finding.findingRef), [\"gapsAndExceptions\"], \"gapsAndExceptions\"],\n [program.documentationRequirements.map((requirement) => requirement.requirementRef), [\"documentationRequirements\"], \"documentationRequirements\"],\n [program.implementationStatements.map((statement) => statement.statementRef), [\"implementationStatements\"], \"implementationStatements\"],\n [program.knownProgramLimitations, [\"knownProgramLimitations\"], \"knownProgramLimitations\"],\n ];\n if (program.schemaVersion === 3) {\n orderedRefs.push(\n [\n program.obligationCoverageDecisions.map((decision) => `${decision.coverageDecisionRef}@${decision.coverageDecisionVersion}`),\n [\"obligationCoverageDecisions\"],\n \"obligationCoverageDecisions\",\n ],\n [\n program.sharedResponsibilityRules.map((rule) => `${rule.sharedResponsibilityRuleRef}@${rule.sharedResponsibilityRuleVersion}`),\n [\"sharedResponsibilityRules\"],\n \"sharedResponsibilityRules\",\n ],\n );\n }\n orderedRefs.forEach(([values, path, label]) => addUniqueSortedIssue(values, context, path, label));\n const documentIdentities = program.documentationRequirements.map(versionedDocumentKey);\n if (!valuesAreUnique(documentIdentities))\n context.addIssue({ code: \"custom\", message: \"document identities must be unique\", path: [\"documentationRequirements\"] });\n const responsibilityScopes = program.responsibilityAssignments.map((assignment) => assignment.scopeSelectorRef);\n if (!valuesAreUnique(responsibilityScopes))\n context.addIssue({ code: \"custom\", message: \"each scope can have only one responsibility assignment\", path: [\"responsibilityAssignments\"] });\n collectAssuranceProgramSpecificationIssues(program).forEach((issue) => {\n context.addIssue({ code: \"custom\", message: `[${issue.kind}] ${issue.message}`, path: issue.path.split(\".\") });\n });\n}\n\nfunction collectAssuranceProgramSpecificationIssues(program: AssuranceProgramSpecification): AssuranceProgramSpecificationIssue[] {\n const objectiveBindings = resolveAssuranceProgramObjectiveBindings(program);\n const objectiveBindingCollectionPath = assuranceProgramObjectiveBindingCollectionPath(program);\n const sourceKeys = new Set(program.sourceReferences.map((source) => versionedSourceKey(source.identity)));\n const scopeByRef = new Map(program.scopeSelectors.map((scope) => [scope.scopeSelectorRef, scope]));\n const objectiveKeys = new Set(objectiveBindings.map((binding) => versionedObjectiveKey(binding.objective)));\n const findingByKey = new Map(program.gapsAndExceptions.map((finding) => [`${finding.findingRef}@${finding.findingVersion}`, finding]));\n const capabilityAuthorityByKey = new Map<string, AssuranceProgramCapabilityAuthority | AssuranceProgramCapabilityAuthorityV2>(\n program.capabilityAuthorities.map((authority) => [versionedCapabilityKey(authority.identity), authority] as const),\n );\n const documentKeys = new Set(program.documentationRequirements.map(versionedDocumentKey));\n const roleRefs = new Set<string>(program.roleAuthorities.map((authority) => authority.roleRef));\n const sourceRevisionKeys = new Set(program.schemaVersion === 1 ? program.sourceRevisions.map(sourceRevisionKey) : []);\n const authorityBasisKeys = new Set(program.schemaVersion === 1 ? [] : program.authorityBases.map(authorityBasisIdentityKey));\n const applicabilityBySubject = new Map<string, AssuranceProgramApplicabilityDecision[]>();\n const controlBindingCountBySubject = new Map<string, number>();\n const implementationDecisionCountBySubject = new Map<string, number>();\n const issues: AssuranceProgramSpecificationIssue[] = [];\n const push = (kind: AssuranceProgramSpecificationIssueKind, path: string, message: string): void => {\n issues.push({ kind, path, message });\n };\n\n const requireRole = (roleRef: string, path: string): void => {\n if (!roleRefs.has(roleRef)) push(AssuranceProgramSpecificationIssueKind.UNKNOWN_ROLE, path, `role ${roleRef} has no declared application authority`);\n };\n const requireRevision = (revision: { sourceRevisionRef: string }, path: string): void => {\n if (!sourceRevisionKeys.has(sourceRevisionKey(revision)))\n push(AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REVISION, path, \"reference does not resolve to an exact declared source revision\");\n };\n const requireBasis = (basis: { basisRef: string; basisVersion: number }, path: string): void => {\n if (!authorityBasisKeys.has(authorityBasisIdentityKey(basis)))\n push(AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH, path, \"reference does not resolve to an exact declared authority basis\");\n };\n\n if (program.schemaVersion === 1) {\n program.roleAuthorities.forEach((authority, index) => requireRevision(authority.definitionRevision, `roleAuthorities.${index}.definitionRevision`));\n program.capabilityAuthorities.forEach((authority, index) =>\n requireRevision(authority.implementationRevision, `capabilityAuthorities.${index}.implementationRevision`),\n );\n } else {\n program.roleAuthorities.forEach((authority, index) => requireBasis(authority.definitionAuthority, `roleAuthorities.${index}.definitionAuthority`));\n program.capabilityAuthorities.forEach((authority, index) =>\n requireBasis(authority.implementationAuthority, `capabilityAuthorities.${index}.implementationAuthority`),\n );\n }\n\n program.applicabilityDecisions.forEach((decision, index) => {\n if (!sourceKeys.has(versionedSourceKey(decision.source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_APPLICABILITY_SOURCE,\n `applicabilityDecisions.${index}.source`,\n \"applicability decision references an undeclared source version\",\n );\n if (!scopeByRef.has(decision.scopeSelectorRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `applicabilityDecisions.${index}.scopeSelectorRef`,\n \"applicability decision references an undeclared scope selector\",\n );\n const key = applicabilitySubjectKey(decision.source, decision.scopeSelectorRef);\n const decisions = applicabilityBySubject.get(key) ?? [];\n decisions.push(decision);\n applicabilityBySubject.set(key, decisions);\n });\n\n applicabilityBySubject.forEach((decisions) => {\n const byEffectiveFrom = [...decisions].sort((left, right) => compareCanonicalText(left.effectiveFrom, right.effectiveFrom));\n byEffectiveFrom.forEach((decision, index) => {\n const previous = byEffectiveFrom[index - 1];\n if (previous && (!previous.effectiveUntil || decision.effectiveFrom <= previous.effectiveUntil))\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_APPLICABILITY,\n \"applicabilityDecisions\",\n `applicability periods overlap for ${versionedSourceKey(decision.source)} and ${decision.scopeSelectorRef}`,\n );\n });\n });\n\n const requiredApplicabilitySubjects = new Set<string>();\n objectiveBindings.forEach((binding, index) => {\n binding.scopeSelectorRefs.forEach((scopeRef) => {\n if (!scopeByRef.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `${objectiveBindingCollectionPath}.${index}.scopeSelectorRefs`,\n `control binding references undeclared scope selector ${scopeRef}`,\n );\n const subject = `${versionedObjectiveKey(binding.objective)}::${scopeRef}`;\n controlBindingCountBySubject.set(subject, (controlBindingCountBySubject.get(subject) ?? 0) + 1);\n });\n binding.sourceRequirementRefs.forEach((reference) => {\n if (!sourceKeys.has(versionedSourceKey(reference.source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_BINDING_SOURCE,\n `${objectiveBindingCollectionPath}.${index}.sourceRequirementRefs`,\n \"control binding references an undeclared source version\",\n );\n binding.scopeSelectorRefs.forEach((scopeRef) => requiredApplicabilitySubjects.add(applicabilitySubjectKey(reference.source, scopeRef)));\n });\n });\n controlBindingCountBySubject.forEach((count, subject) => {\n if (count > 1)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_CONTROL_BINDING,\n objectiveBindingCollectionPath,\n `objective/scope subject ${subject} has ${count} control bindings; exactly one is required`,\n );\n });\n if (program.schemaVersion === 3) {\n const entries = program.obligationRegister.entries;\n const applicabilityDecisionByKey = new Map(\n program.applicabilityDecisions.map((decision) => [versionedApplicabilityDecisionKey(decision), decision] as const),\n );\n const coverageDecisionByKey = new Map(program.obligationCoverageDecisions.map((decision) => [versionedCoverageDecisionKey(decision), decision] as const));\n const sharedResponsibilityRuleByKey = new Map(program.sharedResponsibilityRules.map((rule) => [versionedSharedResponsibilityRuleKey(rule), rule] as const));\n const responsibilityAssignmentByRef = new Map(program.responsibilityAssignments.map((assignment) => [assignment.assignmentRef, assignment] as const));\n const entryByKey = new Map(entries.map((entry) => [versionedObligationKey(entry), entry] as const));\n const usedCoverageDecisionKeys = new Set<string>();\n const usedSharedResponsibilityRuleKeys = new Set<string>();\n\n entries.forEach((entry, entryIndex) => {\n const entryPath = `obligationRegister.entries.${entryIndex}`;\n const entryKey = versionedObligationKey(entry);\n requireRole(entry.applicability.reviewedByRoleRef, `${entryPath}.applicability.reviewedByRoleRef`);\n entry.reviewOwnerRoleRefs.forEach((roleRef) => requireRole(roleRef, `${entryPath}.reviewOwnerRoleRefs`));\n if (!entry.reviewOwnerRoleRefs.includes(entry.applicability.reviewedByRoleRef))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.applicability.reviewedByRoleRef`,\n `obligation ${entryKey} applicability reviewer is not permitted by its review policy`,\n );\n\n const expectedApplicabilitySubjects = new Set(\n entry.sourceRequirementRefs.flatMap((reference) =>\n entry.scopeSelectorRefs.map((scopeSelectorRef) => applicabilitySubjectKey(reference.source, scopeSelectorRef)),\n ),\n );\n const citedApplicabilitySubjects = new Set<string>();\n entry.sourceApplicabilityDecisionRefs.forEach((identity) => {\n const decision = applicabilityDecisionByKey.get(versionedApplicabilityDecisionKey(identity));\n if (!decision) {\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.sourceApplicabilityDecisionRefs`,\n `obligation ${entryKey} references undeclared source applicability decision ${versionedApplicabilityDecisionKey(identity)}`,\n );\n return;\n }\n const subject = applicabilitySubjectKey(decision.source, decision.scopeSelectorRef);\n citedApplicabilitySubjects.add(subject);\n if (!expectedApplicabilitySubjects.has(subject))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.sourceApplicabilityDecisionRefs`,\n `source applicability decision ${versionedApplicabilityDecisionKey(identity)} does not govern a cited source and obligation scope`,\n );\n });\n if (\n entry.sourceApplicabilityDecisionRefs.length !== expectedApplicabilitySubjects.size ||\n citedApplicabilitySubjects.size !== expectedApplicabilitySubjects.size ||\n [...expectedApplicabilitySubjects].some((subject) => !citedApplicabilitySubjects.has(subject))\n )\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n `${entryPath}.sourceApplicabilityDecisionRefs`,\n `obligation ${entryKey} must cite exactly one retained applicability decision for every cited source and scope subject`,\n );\n\n const assignmentScopeRefs = new Set<string>();\n entry.responsibilityAssignmentRefs.forEach((assignmentRef) => {\n const assignment = responsibilityAssignmentByRef.get(assignmentRef);\n if (!assignment) {\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT,\n `${entryPath}.responsibilityAssignmentRefs`,\n `obligation ${entryKey} references undeclared responsibility assignment ${assignmentRef}`,\n );\n return;\n }\n assignmentScopeRefs.add(assignment.scopeSelectorRef);\n });\n if (assignmentScopeRefs.size !== entry.scopeSelectorRefs.length || entry.scopeSelectorRefs.some((scopeRef) => !assignmentScopeRefs.has(scopeRef)))\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT,\n `${entryPath}.responsibilityAssignmentRefs`,\n `obligation ${entryKey} responsibility assignments must cover exactly its scope selectors`,\n );\n\n entry.gapRefs.forEach((identity) => {\n const findingKey = `${identity.findingRef}@${identity.findingVersion}`;\n const finding = findingByKey.get(findingKey);\n if (!finding)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_FINDING,\n `${entryPath}.gapRefs`,\n `obligation ${entryKey} references undeclared finding ${findingKey}`,\n );\n else if (\n !finding.objective ||\n versionedObjectiveKey(finding.objective) !== versionedObjectiveKey(entry.objective) ||\n !entry.scopeSelectorRefs.includes(finding.scopeSelectorRef)\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.gapRefs`,\n `finding ${findingKey} does not match obligation ${entryKey} objective and scope`,\n );\n });\n\n const coverageDecisionKey = versionedCoverageDecisionKey(entry.coverageDecision);\n const coverageDecision = coverageDecisionByKey.get(coverageDecisionKey);\n if (!coverageDecision || coverageDecision.coverageDecisionVersion !== entry.coverageDecision.coverageDecisionVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.coverageDecision`,\n `obligation ${entryKey} coverage decision does not resolve by exact identity and digest`,\n );\n else {\n usedCoverageDecisionKeys.add(coverageDecisionKey);\n if (\n versionedObligationKey(coverageDecision.obligation) !== entryKey ||\n coverageDecision.reviewDisposition !== AssuranceProgramObligationCoverageReviewDisposition.APPROVED ||\n JSON.stringify(coverageDecision.sourceRequirementRefs) !== JSON.stringify(entry.sourceRequirementRefs)\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.coverageDecision`,\n `obligation ${entryKey} requires one approved coverage decision over its exact source-requirement inventory`,\n );\n if (!entry.reviewOwnerRoleRefs.includes(coverageDecision.reviewedByRoleRef))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.coverageDecision`,\n `obligation ${entryKey} coverage reviewer is not permitted by its review policy`,\n );\n }\n\n if (entry.sharedResponsibilityRule) {\n const ruleKey = versionedSharedResponsibilityRuleKey(entry.sharedResponsibilityRule);\n const rule = sharedResponsibilityRuleByKey.get(ruleKey);\n if (!rule || rule.sharedResponsibilityRuleVersion !== entry.sharedResponsibilityRule.sharedResponsibilityRuleVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.sharedResponsibilityRule`,\n `obligation ${entryKey} shared-responsibility rule does not resolve by exact identity and digest`,\n );\n else {\n usedSharedResponsibilityRuleKeys.add(ruleKey);\n if (\n JSON.stringify(rule.scopeSelectorRefs) !== JSON.stringify(entry.scopeSelectorRefs) ||\n JSON.stringify(rule.governanceActorKinds) !== JSON.stringify(entry.governanceActorKinds)\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.sharedResponsibilityRule`,\n `shared-responsibility rule ${ruleKey} must govern the obligation's exact scope and actor set`,\n );\n if (!entry.reviewOwnerRoleRefs.includes(rule.reviewedByRoleRef))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.sharedResponsibilityRule`,\n `shared-responsibility rule ${ruleKey} reviewer is not permitted by obligation ${entryKey}'s review policy`,\n );\n }\n }\n\n entry.dependencyObligationRefs.forEach((dependency) => {\n if (!entryByKey.has(versionedObligationKey(dependency)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.dependencyObligationRefs`,\n `obligation ${entryKey} references undeclared dependency ${versionedObligationKey(dependency)}`,\n );\n });\n });\n\n program.obligationCoverageDecisions.forEach((decision, decisionIndex) => {\n const decisionKey = versionedCoverageDecisionKey(decision);\n requireRole(decision.reviewedByRoleRef, `obligationCoverageDecisions.${decisionIndex}.reviewedByRoleRef`);\n if (!usedCoverageDecisionKeys.has(decisionKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `obligationCoverageDecisions.${decisionIndex}`,\n `coverage decision ${decisionKey} is not retained by an exact obligation entry`,\n );\n });\n program.sharedResponsibilityRules.forEach((rule, ruleIndex) => {\n const ruleKey = versionedSharedResponsibilityRuleKey(rule);\n for (const roleRef of [\n ...rule.accountableRoleRefs,\n ...rule.operatingRoleRefs,\n ...rule.evidenceProviderRoleRefs,\n ...rule.approvingRoleRefs,\n ...rule.conflictResolutionRoleRefs,\n rule.reviewedByRoleRef,\n ])\n requireRole(roleRef, `sharedResponsibilityRules.${ruleIndex}`);\n rule.scopeSelectorRefs.forEach((scopeRef) => {\n if (!scopeByRef.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `sharedResponsibilityRules.${ruleIndex}.scopeSelectorRefs`,\n `shared-responsibility rule ${ruleKey} references undeclared scope ${scopeRef}`,\n );\n });\n if (!usedSharedResponsibilityRuleKeys.has(ruleKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `sharedResponsibilityRules.${ruleIndex}`,\n `shared-responsibility rule ${ruleKey} is not retained by any obligation entry`,\n );\n });\n\n for (let leftIndex = 0; leftIndex < program.sharedResponsibilityRules.length; leftIndex += 1) {\n const left = program.sharedResponsibilityRules[leftIndex]!;\n for (let rightIndex = leftIndex + 1; rightIndex < program.sharedResponsibilityRules.length; rightIndex += 1) {\n const right = program.sharedResponsibilityRules[rightIndex]!;\n if (JSON.stringify(left.governanceActorKinds) !== JSON.stringify(right.governanceActorKinds)) continue;\n const scopesMayOverlap = left.scopeSelectorRefs.some((leftRef) => {\n const leftScope = scopeByRef.get(leftRef);\n return (\n leftScope !== undefined &&\n right.scopeSelectorRefs.some((rightRef) => {\n const rightScope = scopeByRef.get(rightRef);\n return rightScope !== undefined && assuranceProgramScopeSelectorsMayOverlap(leftScope, rightScope);\n })\n );\n });\n if (scopesMayOverlap)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_SHARED_RESPONSIBILITY_RULE,\n \"sharedResponsibilityRules\",\n `shared-responsibility rules ${versionedSharedResponsibilityRuleKey(left)} and ${versionedSharedResponsibilityRuleKey(right)} govern the same actor set over potentially overlapping scopes`,\n );\n }\n }\n\n for (let leftIndex = 0; leftIndex < entries.length; leftIndex += 1) {\n const left = entries[leftIndex]!;\n for (let rightIndex = leftIndex + 1; rightIndex < entries.length; rightIndex += 1) {\n const right = entries[rightIndex]!;\n if (versionedObjectiveKey(left.objective) !== versionedObjectiveKey(right.objective)) continue;\n const scopesMayOverlap = left.scopeSelectorRefs.some((leftRef) => {\n const leftScope = scopeByRef.get(leftRef);\n return (\n leftScope !== undefined &&\n right.scopeSelectorRefs.some((rightRef) => {\n const rightScope = scopeByRef.get(rightRef);\n return rightScope !== undefined && assuranceProgramScopeSelectorsMayOverlap(leftScope, rightScope);\n })\n );\n });\n if (scopesMayOverlap)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_OBLIGATION_BINDING,\n \"obligationRegister.entries\",\n `obligations ${versionedObligationKey(left)} and ${versionedObligationKey(right)} govern the same objective over potentially overlapping scopes`,\n );\n }\n }\n\n const visiting = new Set<string>();\n const visited = new Set<string>();\n const visitDependency = (entryKey: string): void => {\n if (visited.has(entryKey)) return;\n if (visiting.has(entryKey)) {\n push(\n AssuranceProgramSpecificationIssueKind.OBLIGATION_DEPENDENCY_CYCLE,\n \"obligationRegister.entries\",\n `obligation dependency graph contains a cycle through ${entryKey}`,\n );\n return;\n }\n const entry = entryByKey.get(entryKey);\n if (!entry) return;\n visiting.add(entryKey);\n entry.dependencyObligationRefs.forEach((dependency) => visitDependency(versionedObligationKey(dependency)));\n visiting.delete(entryKey);\n visited.add(entryKey);\n };\n entryByKey.forEach((_entry, entryKey) => visitDependency(entryKey));\n }\n requiredApplicabilitySubjects.forEach((subject) => {\n if (!applicabilityBySubject.has(subject))\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n \"applicabilityDecisions\",\n `used source/scope subject ${subject} requires an explicit APPLICABLE, NOT_APPLICABLE or UNDETERMINED decision`,\n );\n });\n program.sourceReferences.forEach((source) => {\n const hasDecision = [...applicabilityBySubject.keys()].some((subject) => subject.startsWith(`${versionedSourceKey(source.identity)}::`));\n if (!hasDecision)\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n \"applicabilityDecisions\",\n `declared source ${versionedSourceKey(source.identity)} has no explicit applicability decision`,\n );\n });\n\n program.implementationDecisions.forEach((decision, index) => {\n const objectiveKey = versionedObjectiveKey(decision.objective);\n if (!objectiveKeys.has(objectiveKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n `implementationDecisions.${index}.objective`,\n \"implementation decision references an unbound Wildo objective version\",\n );\n decision.scopeSelectorRefs.forEach((scopeRef) => {\n if (!scopeByRef.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `implementationDecisions.${index}.scopeSelectorRefs`,\n `implementation decision references undeclared scope selector ${scopeRef}`,\n );\n const hasScopedBinding = objectiveBindings.some(\n (binding) => versionedObjectiveKey(binding.objective) === objectiveKey && binding.scopeSelectorRefs.includes(scopeRef),\n );\n if (!hasScopedBinding)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.scopeSelectorRefs`,\n `objective ${objectiveKey} is not bound to scope ${scopeRef}`,\n );\n const subject = `${objectiveKey}::${scopeRef}`;\n implementationDecisionCountBySubject.set(subject, (implementationDecisionCountBySubject.get(subject) ?? 0) + 1);\n });\n decision.capabilitySelections.forEach((selection) => {\n const authority = capabilityAuthorityByKey.get(versionedCapabilityKey(selection));\n if (!authority)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n `implementationDecisions.${index}.capabilitySelections`,\n `selected capability ${versionedCapabilityKey(selection)} has no declared authority`,\n );\n else if (authority.capabilityKind !== selection.capabilityKind)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.capabilitySelections`,\n `selected capability ${versionedCapabilityKey(selection)} kind does not match its authority`,\n );\n });\n decision.gapRefs.forEach((findingIdentity) => {\n const findingKey = `${findingIdentity.findingRef}@${findingIdentity.findingVersion}`;\n const finding = findingByKey.get(findingKey);\n if (!finding)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_FINDING,\n `implementationDecisions.${index}.gapRefs`,\n `implementation decision references undeclared finding ${findingKey}`,\n );\n else if (\n !finding.objective ||\n versionedObjectiveKey(finding.objective) !== objectiveKey ||\n !decision.scopeSelectorRefs.includes(finding.scopeSelectorRef) ||\n finding.disposition !== decision.gapDisposition\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.gapRefs`,\n `finding ${findingKey} does not match the decision objective, scope and disposition`,\n );\n });\n if (decision.gapRefs.length > 0)\n decision.scopeSelectorRefs.forEach((scopeRef) => {\n const scope = scopeByRef.get(scopeRef);\n const matchingFinding = decision.gapRefs.some((identity) => {\n const finding = findingByKey.get(`${identity.findingRef}@${identity.findingVersion}`);\n if (!finding || !scope) return false;\n return (\n finding.scopeSelectorRef === scopeRef &&\n finding.scopeSelectorVersion === scope.scopeSelectorVersion &&\n finding.objective !== undefined &&\n versionedObjectiveKey(finding.objective) === objectiveKey &&\n finding.disposition === decision.gapDisposition\n );\n });\n if (!matchingFinding)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.gapRefs`,\n `objective/scope subject ${objectiveKey}::${scopeRef} requires its own exact versioned finding`,\n );\n });\n });\n controlBindingCountBySubject.forEach((_count, subject) => {\n const decisionCount = implementationDecisionCountBySubject.get(subject) ?? 0;\n if (decisionCount === 0)\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_IMPLEMENTATION_DECISION,\n \"implementationDecisions\",\n `objective/scope subject ${subject} has no explicit implementation decision`,\n );\n else if (decisionCount > 1)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_IMPLEMENTATION_DECISION,\n \"implementationDecisions\",\n `objective/scope subject ${subject} has ${decisionCount} implementation decisions; exactly one is required`,\n );\n });\n\n program.responsibilityAssignments.forEach((assignment, index) => {\n if (!scopeByRef.has(assignment.scopeSelectorRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `responsibilityAssignments.${index}.scopeSelectorRef`,\n \"responsibility assignment references an undeclared scope selector\",\n );\n for (const roleRef of [\n ...assignment.responsibleRoleRefs,\n ...assignment.operatingRoleRefs,\n ...assignment.evidenceProviderRoleRefs,\n ...assignment.approvingRoleRefs,\n ...assignment.escalationRoleRefs,\n ])\n requireRole(roleRef, `responsibilityAssignments.${index}`);\n });\n const assignedScopeRefs = new Set(program.responsibilityAssignments.map((assignment) => assignment.scopeSelectorRef));\n scopeByRef.forEach((_scope, scopeRef) => {\n if (!assignedScopeRefs.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT,\n \"responsibilityAssignments\",\n `scope ${scopeRef} has no responsibility assignment`,\n );\n });\n\n program.gapsAndExceptions.forEach((finding, index) => {\n const scope = scopeByRef.get(finding.scopeSelectorRef);\n if (!scope || scope.scopeSelectorVersion !== finding.scopeSelectorVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `gapsAndExceptions.${index}.scopeSelectorVersion`,\n \"finding references an undeclared scope selector version\",\n );\n if (finding.source && !sourceKeys.has(versionedSourceKey(finding.source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_BINDING_SOURCE,\n `gapsAndExceptions.${index}.source`,\n \"finding references an undeclared source version\",\n );\n if (finding.objective && !objectiveKeys.has(versionedObjectiveKey(finding.objective)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n `gapsAndExceptions.${index}.objective`,\n \"finding references an unbound Wildo objective version\",\n );\n if (program.schemaVersion === 3 && finding.objective) {\n const matchingObligations = program.obligationRegister.entries.filter(\n (entry) =>\n versionedObjectiveKey(entry.objective) === versionedObjectiveKey(finding.objective!) &&\n entry.scopeSelectorRefs.includes(finding.scopeSelectorRef) &&\n entry.gapRefs.some((identity) => identity.findingRef === finding.findingRef && identity.findingVersion === finding.findingVersion),\n );\n if (matchingObligations.length !== 1)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `gapsAndExceptions.${index}.objective`,\n `objective-bearing finding ${finding.findingRef}@${finding.findingVersion} must resolve exactly one obligation over scope ${finding.scopeSelectorRef}; found ${matchingObligations.length}`,\n );\n }\n if (finding.objective && finding.source) {\n const objectiveKey = versionedObjectiveKey(finding.objective);\n const sourceKey = versionedSourceKey(finding.source);\n const sourceMatchesBinding = objectiveBindings.some(\n (binding) =>\n versionedObjectiveKey(binding.objective) === objectiveKey &&\n binding.scopeSelectorRefs.includes(finding.scopeSelectorRef) &&\n binding.sourceRequirementRefs.some((reference) => versionedSourceKey(reference.source) === sourceKey),\n );\n if (!sourceMatchesBinding)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `gapsAndExceptions.${index}.source`,\n `finding source ${sourceKey} is not bound to ${objectiveKey} in scope ${finding.scopeSelectorRef}`,\n );\n }\n requireRole(finding.ownerRoleRef, `gapsAndExceptions.${index}.ownerRoleRef`);\n });\n\n program.documentationRequirements.forEach((requirement, index) => {\n requirement.sourceRefs.forEach((source) => {\n if (!sourceKeys.has(versionedSourceKey(source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT_SOURCE,\n `documentationRequirements.${index}.sourceRefs`,\n \"documentation requirement references an undeclared source version\",\n );\n });\n requirement.approvingRoleRefs.forEach((roleRef) => requireRole(roleRef, `documentationRequirements.${index}.approvingRoleRefs`));\n });\n\n program.implementationStatements.forEach((statement, index) => {\n const objectiveKey = versionedObjectiveKey(statement.objective);\n if (!objectiveKeys.has(objectiveKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n `implementationStatements.${index}.objective`,\n \"implementation statement references an unbound Wildo objective version\",\n );\n const scope = scopeByRef.get(statement.governanceScope.scopeRef);\n if (!scope || scope.scopeSelectorVersion !== statement.governanceScope.scopeVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `implementationStatements.${index}.governanceScope`,\n \"implementation statement references an undeclared scope selector version\",\n );\n const matchingDecisions = program.implementationDecisions.filter(\n (decision) => versionedObjectiveKey(decision.objective) === objectiveKey && decision.scopeSelectorRefs.includes(statement.governanceScope.scopeRef),\n );\n statement.capabilityBindingRefs.forEach((capability) => {\n const key = versionedCapabilityKey(capability);\n const selectedForStatement = matchingDecisions.some((decision) =>\n decision.capabilitySelections.some((selection) => versionedCapabilityKey(selection) === key),\n );\n if (!selectedForStatement)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationStatements.${index}.capabilityBindingRefs`,\n `capability ${key} is not selected for this exact objective and scope`,\n );\n });\n statement.documentDependencies.forEach((dependency) => {\n if (!documentKeys.has(versionedDocumentKey(dependency)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT,\n `implementationStatements.${index}.documentDependencies`,\n `implementation statement references undeclared document ${versionedDocumentKey(dependency)}`,\n );\n });\n if (program.schemaVersion === 1) requireRevision(statement, `implementationStatements.${index}.sourceRevisionRef`);\n else requireBasis(statement, `implementationStatements.${index}.basisRef`);\n });\n return issues;\n}\n\nconst sourceReferenceMatchesRecord = (reference: AssuranceProgramSourceReference, record: AssuranceSourceRecord): boolean =>\n reference.edition === record.edition &&\n reference.authorityKind === record.authorityKind &&\n reference.authorityName === record.authorityName &&\n reference.lifecycleStatus === record.lifecycleStatus &&\n reference.rightsRef === record.rights.rightsRef &&\n reference.rightsVersion === record.rights.rightsVersion;\n\n/**\n * Deterministic semantic validation consumed by the application-specification family authority.\n *\n * `authorities` is OPTIONAL. Without it, only the program's own structural and coherence issues are\n * collected — the content-validation half, which is a pure function of the authored bytes. The\n * authority-snapshot cross-checks run only when a host supplies a resolved snapshot (the\n * framework-knowledge generation pipeline does; the application-creation landing gate does not, and\n * refusing to validate at all in that case made the compliance-program family unlandable).\n */\nexport const validateAssuranceProgramSpecification = (\n program: AssuranceProgramSpecification,\n authorities?: AssuranceProgramValidationAuthorities,\n): { ok: boolean; issues: AssuranceProgramSpecificationIssue[] } => {\n const issues = collectAssuranceProgramSpecificationIssues(program);\n if (!authorities) {\n return { ok: issues.length === 0, issues };\n }\n const objectiveBindings = resolveAssuranceProgramObjectiveBindings(program);\n const objectiveBindingCollectionPath = assuranceProgramObjectiveBindingCollectionPath(program);\n const parsedSnapshot = AssuranceProgramValidationAuthoritySnapshotSchema.safeParse(authorities.snapshot);\n if (!parsedSnapshot.success) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.AUTHORITY_SNAPSHOT_INVALID,\n path: \"validationAuthorities.snapshot\",\n // Unbounded on purpose: this message is the author-facing account of WHY the\n // authority snapshot is invalid, so eliding issues would hide fixable faults.\n // Rendering delegates to the canonical formatter in `@wildo-ai/saas-models`.\n message: summarizeZodIssues(parsedSnapshot.error.issues, { limit: ALL_ZOD_ISSUES }),\n });\n return { ok: false, issues };\n }\n const snapshot = parsedSnapshot.data;\n if (snapshot.documentAuthorityCatalog) {\n collectAssuranceDocumentAuthorityCatalogIssues({\n catalog: snapshot.documentAuthorityCatalog,\n sourceRegistry: snapshot.sourceRegistry,\n evaluatedAt: snapshot.evaluatedAt,\n }).forEach((message) =>\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_INVALID,\n path: \"validationAuthorities.snapshot.documentAuthorityCatalog\",\n message,\n }),\n );\n }\n /*\n * HOST AUTHORITY BASIS DRIFT — the one cross-boundary check in this block, and the only one that\n * ever meant anything: does the basis the PROGRAM accepted match the basis the HOST is offering?\n * It is keyed on `basisRef@basisVersion`, the declared compatibility generation, so it fires when\n * the framework's interpretation contract moves and stays quiet for byte movement that does not.\n * (Five sibling checks here hashed the snapshot against its own material and were deleted\n * 2026-08-27 — see `.claude/rules/one-source-of-truth.md`.)\n */\n if (program.schemaVersion !== 1) {\n const snapshotBasis = { basisRef: snapshot.snapshotRef, basisVersion: snapshot.snapshotVersion };\n program.authorityBases.forEach((basis, basisIndex) => {\n if (authorityBasisIdentityKey(basis) === authorityBasisIdentityKey(snapshotBasis)) return;\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.HOST_AUTHORITY_BASIS_DRIFT,\n path: `authorityBases.${basisIndex}`,\n subjectRef: `${basis.basisRef}@${basis.basisVersion}`,\n message: `authority basis ${basis.basisRef}@${basis.basisVersion} is not the host basis ${snapshotBasis.basisRef}@${snapshotBasis.basisVersion}`,\n });\n });\n }\n\n // Policy dates use UTC. Deriving from the authored timestamp text would let two offset spellings\n // of the same instant select different applicability, review and expiry decisions.\n const evaluatedOn = utcIsoDateFromInstant(snapshot.evaluatedAt);\n const sourceRecords = new Map(snapshot.sourceRegistry.sources.map((source) => [versionedSourceKey(source.identity), source]));\n const objectiveRecords = new Map(snapshot.objectiveCatalog.objectives.map((objective) => [versionedObjectiveKey(objective.identity), objective]));\n const applicationRoleRefs = new Set<string>(snapshot.applicationRoleRefs);\n const hostCapabilities = new Map(snapshot.capabilityAuthorities.map((authority) => [versionedCapabilityKey(authority.identity), authority]));\n /*\n * Ref-only, unlike `hostCapabilities` above, and the difference is load-bearing. An expectation\n * authority names the capabilities it REQUIRES without a version, so asking the versioned map would\n * report every requirement as unavailable the moment a capability's version moved — a configuration\n * diagnosis for what is really a version question, which `HOST_CAPABILITY_IMPLEMENTATION_DRIFT`\n * already answers properly.\n */\n const hostCapabilityRefs = new Set(snapshot.capabilityAuthorities.map((authority) => authority.identity.capabilityRef));\n const hostArtifacts = new Set(snapshot.implementationArtifacts.map((artifact) => artifact.artifactRef));\n const hostImplementationArtifactsByKind = new Map(snapshot.hostImplementationArtifacts.map((artifact) => [artifact.artifactKindRef, artifact]));\n const sourceRequirementAuthorities = new Map(snapshot.sourceRequirementAuthorities.map((authority) => [versionedSourceRequirementKey(authority), authority]));\n const implementationExpectationAuthorities = new Map(\n snapshot.implementationExpectationAuthorities.map((authority) => [versionedExpectationKey(authority.identity), authority]),\n );\n const evidenceExpectationAuthorities = new Map(\n snapshot.evidenceExpectationAuthorities.map((authority) => [versionedExpectationKey(authority.identity), authority]),\n );\n const verificationExpectationAuthorities = new Map(\n snapshot.verificationExpectationAuthorities.map((authority) => [versionedExpectationKey(authority.identity), authority]),\n );\n\n program.documentationRequirements.forEach((requirement, requirementIndex) => {\n if (!(\"schemaVersion\" in requirement) || requirement.schemaVersion !== 2) return;\n const catalog = snapshot.documentAuthorityCatalog;\n if (!catalog) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_INVALID,\n path: `documentationRequirements.${requirementIndex}.definition`,\n message: \"a v2 documentation requirement requires a validation snapshot carrying the engine-owned document authority catalog\",\n });\n return;\n }\n const definition = catalog.definitions.find(\n (candidate) =>\n candidate.identity.definitionRef === requirement.definition.definitionRef &&\n candidate.identity.definitionVersion === requirement.definition.definitionVersion,\n );\n if (!definition) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT,\n path: `documentationRequirements.${requirementIndex}.definition`,\n message: `document definition ${requirement.definition.definitionRef}@${requirement.definition.definitionVersion} is absent from the engine authority catalog`,\n });\n return;\n }\n const relationshipProblems: string[] = [];\n if (requirement.documentKindRef !== definition.stableKindRef) relationshipProblems.push(\"document kind\");\n if (!definition.governanceSubjectKinds.includes(requirement.governanceScope.subjectKind)) relationshipProblems.push(\"governance subject\");\n if (requirement.audienceKinds.some((audience) => !definition.audienceKinds.includes(audience))) relationshipProblems.push(\"audience\");\n if (requirement.allowedInteractionKinds.some((kind) => !definition.allowedInteractionKinds.includes(kind)))\n relationshipProblems.push(\"interaction meaning\");\n if (requirement.publicationChannelKinds.some((channel) => !definition.publicationChannelKinds.includes(channel)))\n relationshipProblems.push(\"publication channel\");\n if (definition.requiredFactRefs.some((factRef) => !requirement.requiredAcceptedFactRefs.includes(factRef))) relationshipProblems.push(\"required facts\");\n\n const requiredReviewKinds = new Set(\n catalog.qualifiedReviewPolicies\n .filter((policy) => definition.qualifiedReviewPolicyRefs.includes(policy.policyRef))\n .flatMap((policy) => assuranceDocumentQualifiedReviewRequirements(policy).map((reviewRequirement) => reviewRequirement.reviewKind)),\n );\n if ([...requiredReviewKinds].some((reviewKind) => !requirement.requiredReviewKinds.includes(reviewKind))) relationshipProblems.push(\"qualified reviews\");\n\n const requiredSourceKeys = new Set(\n catalog.sourceMonitoringPolicies\n .filter((policy) => definition.sourcePolicyRefs.includes(policy.policyRef))\n .map((policy) => versionedSourceKey(policy.source)),\n );\n const authoredSourceKeys = new Set(requirement.sourceRefs.map(versionedSourceKey));\n if ([...requiredSourceKeys].some((sourceKey) => !authoredSourceKeys.has(sourceKey))) relationshipProblems.push(\"authoritative sources\");\n const declaredScope = program.scopeSelectors.find((scope) => String(scope.scopeSelectorRef) === String(requirement.governanceScope.scopeRef));\n if (!declaredScope || declaredScope.scopeSelectorVersion !== requirement.governanceScope.scopeVersion) relationshipProblems.push(\"governance scope\");\n if (timestampIsAfter(requirement.applicabilityDecidedAt, snapshot.evaluatedAt)) relationshipProblems.push(\"applicability decision time\");\n\n if (relationshipProblems.length > 0) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `documentationRequirements.${requirementIndex}`,\n message: `documentation requirement does not satisfy its exact engine-owned definition: ${relationshipProblems.join(\", \")}`,\n });\n }\n });\n\n if (program.schemaVersion === 3) {\n program.obligationCoverageDecisions.forEach((decision, decisionIndex) => {\n if (timestampIsAfter(decision.reviewedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationCoverageDecisions.${decisionIndex}.reviewedAt`,\n message: \"coverage review cannot be later than the authority evaluation time\",\n });\n decision.sourceRequirementRefs.forEach((reference, referenceIndex) => {\n const requirementAuthority = sourceRequirementAuthorities.get(versionedSourceRequirementKey(reference));\n const sourceAuthority = sourceRecords.get(versionedSourceKey(reference.source));\n const authorityFacts = [\n requirementAuthority && { label: \"source-requirement review\", observedAt: requirementAuthority.reviewedAt },\n sourceAuthority && { label: \"source-rights review\", observedAt: sourceAuthority.rights.reviewedAt },\n sourceAuthority?.retrievedArtifact && { label: \"source-artifact retrieval\", observedAt: sourceAuthority.retrievedArtifact.retrievedAt },\n ].filter((fact): fact is { label: string; observedAt: string } => fact !== undefined);\n authorityFacts.forEach((fact) => {\n if (timestampIsAfter(fact.observedAt, decision.reviewedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationCoverageDecisions.${decisionIndex}.sourceRequirementRefs.${referenceIndex}`,\n message: `coverage review cannot predate the cited ${fact.label} at ${fact.observedAt}`,\n });\n });\n });\n });\n program.sharedResponsibilityRules.forEach((rule, ruleIndex) => {\n if (timestampIsAfter(rule.reviewedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `sharedResponsibilityRules.${ruleIndex}.reviewedAt`,\n message: \"shared-responsibility review cannot be later than the authority evaluation time\",\n });\n });\n program.obligationRegister.entries.forEach((entry, entryIndex) => {\n if (timestampIsAfter(entry.applicability.decidedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationRegister.entries.${entryIndex}.applicability.decidedAt`,\n message: \"obligation applicability decision cannot be later than the authority evaluation time\",\n });\n const coverageDecision = program.obligationCoverageDecisions.find(\n (decision) => versionedCoverageDecisionKey(decision) === versionedCoverageDecisionKey(entry.coverageDecision),\n );\n if (coverageDecision && timestampIsAfter(coverageDecision.reviewedAt, entry.applicability.decidedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationRegister.entries.${entryIndex}.applicability.decidedAt`,\n message: `obligation applicability decision cannot predate its approved coverage review at ${coverageDecision.reviewedAt}`,\n });\n if (entry.reviewOn < evaluatedOn)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationRegister.entries.${entryIndex}.reviewOn`,\n message: `obligation review was due before authority evaluation date ${evaluatedOn}`,\n });\n });\n }\n\n objectiveBindings.forEach((binding, index) => {\n const objectiveKey = versionedObjectiveKey(binding.objective);\n const objective = objectiveRecords.get(objectiveKey);\n if (!objective)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n path: `${objectiveBindingCollectionPath}.${index}.objective`,\n message: `objective ${objectiveKey} is absent from the supplied Wildo objective catalog`,\n });\n else if (objective.lifecycleStatus !== AssuranceObjectiveLifecycleStatus.ACTIVE)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n path: `${objectiveBindingCollectionPath}.${index}.objective`,\n message: `objective ${objectiveKey} is ${objective.lifecycleStatus.toLowerCase()} and cannot authorize current application policy`,\n });\n binding.sourceRequirementRefs.forEach((reference) => {\n const authority = sourceRequirementAuthorities.get(versionedSourceRequirementKey(reference));\n if (!authority || versionedObjectiveKey(authority.objective) !== objectiveKey)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REQUIREMENT,\n path: `${objectiveBindingCollectionPath}.${index}.sourceRequirementRefs`,\n message: `source requirement ${versionedSourceRequirementKey(reference)} is not reviewed for objective ${objectiveKey}`,\n });\n });\n for (const [field, refs, authorityMap] of [\n [\"implementationExpectationRefs\", binding.implementationExpectationRefs, implementationExpectationAuthorities],\n [\"evidenceExpectationRefs\", binding.evidenceExpectationRefs, evidenceExpectationAuthorities],\n [\"verificationExpectationRefs\", binding.verificationExpectationRefs, verificationExpectationAuthorities],\n ] as const)\n refs.forEach((identity) => {\n const key = versionedExpectationKey(identity);\n const authority = authorityMap.get(key);\n if (!authority || versionedObjectiveKey(authority.objective) !== objectiveKey)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_VALIDATION_AUTHORITY,\n path: `${objectiveBindingCollectionPath}.${index}.${field}`,\n message: `${key} is not an exact reviewed authority for objective ${objectiveKey}`,\n });\n });\n });\n\n program.roleAuthorities.forEach((authority, index) => {\n if (!applicationRoleRefs.has(authority.applicationRoleRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_ROLE,\n path: `roleAuthorities.${index}.applicationRoleRef`,\n message: `application role ${authority.applicationRoleRef} is absent from the host application-role catalog`,\n });\n });\n\n program.capabilityAuthorities.forEach((authority, index) => {\n const key = versionedCapabilityKey(authority.identity);\n const host = hostCapabilities.get(key);\n /*\n * Two different verdicts hide behind \"does not match the host catalog\", and collapsing them costs an operator\n * the ability to tell \"this host cannot implement the control I accepted\" from \"the control is intact, its\n * bytes moved\". The first can never be resolved by re-accepting; the second is resolved by exactly that.\n * Identity, kind and implementation refs are checked first because a capability that fails any of them is not\n * the accepted control at all — its revision is then irrelevant.\n */\n if (!host || host.capabilityKind !== authority.capabilityKind || JSON.stringify(host.implementationRefs) !== JSON.stringify(authority.implementationRefs)) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `capabilityAuthorities.${index}`,\n message: `capability authority ${key} is absent from the enabled host capability catalog or resolves to a different capability kind or implementation`,\n });\n return;\n }\n const implementationIdentityMatches =\n program.schemaVersion === 1\n ? sourceRevisionKey(host.implementationRevision) === sourceRevisionKey(authority.implementationRevision)\n : authorityBasisIdentityKey(authority.implementationAuthority) ===\n authorityBasisIdentityKey({ basisRef: snapshot.snapshotRef, basisVersion: snapshot.snapshotVersion });\n if (!implementationIdentityMatches)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.HOST_CAPABILITY_IMPLEMENTATION_DRIFT,\n path: `capabilityAuthorities.${index}`,\n subjectRef: key,\n message: `capability authority ${key} is offered by the host under a different implementation authority than the one it was accepted against`,\n });\n });\n\n program.implementationDecisions.forEach((decision, decisionIndex) => {\n decision.capabilitySelections.forEach((selection, selectionIndex) => {\n const host = hostCapabilities.get(versionedCapabilityKey(selection));\n if (!host) return;\n host.requiredHostArtifactKindRefs.forEach((artifactKindRef) => {\n if (!hostImplementationArtifactsByKind.has(artifactKindRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}`,\n message: `capability selection requires host implementation artifact kind ${artifactKindRef}`,\n });\n });\n const profile = selection.profileRef ? host.profiles.find((candidate) => candidate.profileRef === selection.profileRef) : undefined;\n if ((selection.profileRef && !profile) || (!selection.profileRef && host.profiles.length > 0))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.profileRef`,\n message: `capability selection must resolve one exact host-authorized profile`,\n });\n if (profile) {\n const selectedByParameter = new Map(selection.selectedOptions.map((option) => [option.parameterRef, option.selectedOptionRef]));\n profile.parameters.forEach((parameter) => {\n const selected = selectedByParameter.get(parameter.parameterRef);\n if (!selected || !parameter.allowedOptionRefs.includes(selected))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.selectedOptions`,\n message: `profile ${profile.profileRef} requires one allowed option for ${parameter.parameterRef}`,\n });\n });\n selection.selectedOptions.forEach((option) => {\n if (!profile.parameters.some((parameter) => parameter.parameterRef === option.parameterRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.selectedOptions`,\n message: `parameter ${option.parameterRef} is absent from profile ${profile.profileRef}`,\n });\n });\n } else if (selection.selectedOptions.length > 0)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.selectedOptions`,\n message: \"selected options require an exact host-authorized profile\",\n });\n });\n });\n\n program.sourceReferences.forEach((reference, index) => {\n const key = versionedSourceKey(reference.identity);\n const record = sourceRecords.get(key);\n if (!record) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_AUTHORITY,\n path: `sourceReferences.${index}`,\n message: `source ${key} is absent from the supplied authoritative registry`,\n });\n return;\n }\n if (!sourceReferenceMatchesRecord(reference, record))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_AUTHORITY_MISMATCH,\n path: `sourceReferences.${index}`,\n message: `source ${key} does not exactly match its registry metadata, lifecycle and rights identity`,\n });\n const rightsAuthorization = deriveAssuranceRightsAuthorization(record.rights, snapshot.requestedSourceUses, snapshot.evaluatedAt);\n if (!rightsAuthorization.authorized)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_RIGHTS_UNAUTHORIZED,\n path: `sourceReferences.${index}.rightsRef`,\n message: `source ${key} is not authorized for ${rightsAuthorization.requestedUses.join(\", \")}: ${rightsAuthorization.reasons.join(\", \")}`,\n });\n const currentApplicability = program.applicabilityDecisions.filter(\n (decision) =>\n versionedSourceKey(decision.source) === key &&\n decision.effectiveFrom <= evaluatedOn &&\n (!decision.effectiveUntil || evaluatedOn <= decision.effectiveUntil),\n );\n if (\n record.lifecycleStatus !== AssuranceSourceLifecycleStatus.ACTIVE &&\n currentApplicability.some((decision) => decision.status !== AssuranceProgramApplicabilityStatus.NOT_APPLICABLE)\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_LIFECYCLE_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `${record.lifecycleStatus.toLowerCase()} source ${key} cannot authorize a current applicable or undetermined period`,\n });\n if (\n currentApplicability.some((decision) => decision.status !== AssuranceProgramApplicabilityStatus.NOT_APPLICABLE) &&\n (record.publishedOn > evaluatedOn || (record.effectiveOn !== undefined && record.effectiveOn > evaluatedOn))\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_LIFECYCLE_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `source ${key} cannot authorize current applicability before its publication and effective dates`,\n });\n });\n\n if (program.schemaVersion === 3) {\n const applicabilityDecisionByKey = new Map(\n program.applicabilityDecisions.map((decision) => [versionedApplicabilityDecisionKey(decision), decision] as const),\n );\n program.obligationRegister.entries.forEach((entry, entryIndex) => {\n const citedCurrentDecisions: AssuranceProgramApplicabilityDecision[] = [];\n entry.sourceApplicabilityDecisionRefs.forEach((identity, identityIndex) => {\n const decision = applicabilityDecisionByKey.get(versionedApplicabilityDecisionKey(identity));\n if (decision && (decision.effectiveFrom > evaluatedOn || (decision.effectiveUntil !== undefined && evaluatedOn > decision.effectiveUntil)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n path: `obligationRegister.entries.${entryIndex}.sourceApplicabilityDecisionRefs.${identityIndex}`,\n message: `cited source applicability decision ${versionedApplicabilityDecisionKey(identity)} is not current on ${evaluatedOn}`,\n });\n else if (decision) citedCurrentDecisions.push(decision);\n });\n if (\n entry.applicability.status === AssuranceProgramObligationApplicabilityStatus.APPLICABLE &&\n !citedCurrentDecisions.some((decision) => decision.status === AssuranceProgramApplicabilityStatus.APPLICABLE)\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `obligationRegister.entries.${entryIndex}.applicability.status`,\n message: \"an applicable obligation requires at least one cited source applicability decision that is currently APPLICABLE\",\n });\n });\n }\n\n const requiredApplicabilitySubjects = new Set<string>();\n objectiveBindings.forEach((binding) =>\n binding.sourceRequirementRefs.forEach((reference) =>\n binding.scopeSelectorRefs.forEach((scopeRef) => requiredApplicabilitySubjects.add(applicabilitySubjectKey(reference.source, scopeRef))),\n ),\n );\n program.sourceReferences.forEach((source) => {\n const matchingScopes = program.applicabilityDecisions\n .filter((decision) => versionedSourceKey(decision.source) === versionedSourceKey(source.identity))\n .map((decision) => decision.scopeSelectorRef);\n matchingScopes.forEach((scopeRef) => requiredApplicabilitySubjects.add(applicabilitySubjectKey(source.identity, scopeRef)));\n });\n requiredApplicabilitySubjects.forEach((subject) => {\n const decisions = program.applicabilityDecisions\n .filter((decision) => applicabilitySubjectKey(decision.source, decision.scopeSelectorRef) === subject)\n .sort((left, right) => compareCanonicalText(left.effectiveFrom, right.effectiveFrom));\n const current = decisions.filter(\n (decision) => decision.effectiveFrom <= evaluatedOn && (!decision.effectiveUntil || evaluatedOn <= decision.effectiveUntil),\n );\n if (current.length !== 1)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n path: \"applicabilityDecisions\",\n message: `source/scope subject ${subject} requires exactly one decision current on ${evaluatedOn}; found ${current.length}`,\n });\n decisions.forEach((decision, index) => {\n const next = decisions[index + 1];\n if (!next) return;\n if (!decision.effectiveUntil)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `open applicability period for ${subject} cannot have a successor`,\n });\n else {\n const nextCalendarDay = new Date(`${decision.effectiveUntil}T00:00:00.000Z`);\n nextCalendarDay.setUTCDate(nextCalendarDay.getUTCDate() + 1);\n if (next.effectiveFrom !== nextCalendarDay.toISOString().slice(0, 10))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `declared applicability history for ${subject} contains a temporal gap`,\n });\n }\n });\n });\n\n program.gapsAndExceptions.forEach((finding, index) => {\n if (\n (finding.kind === AssuranceProgramFindingKind.EXCEPTION || finding.disposition === AssuranceGapDisposition.RISK_ACCEPTED) &&\n finding.expiresOn &&\n finding.expiresOn < evaluatedOn\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `gapsAndExceptions.${index}.expiresOn`,\n message: `exception or risk acceptance expired before authority evaluation date ${evaluatedOn}`,\n });\n if (finding.disposition !== AssuranceGapDisposition.RESOLVED && finding.reviewOn < evaluatedOn)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `gapsAndExceptions.${index}.reviewOn`,\n message: `open finding review was due before authority evaluation date ${evaluatedOn}`,\n });\n });\n\n if (program.schemaVersion === 1) {\n program.sourceRevisions.forEach((revision, index) => {\n revision.artifacts.forEach((artifact) => {\n if (!hostArtifacts.has(artifact.artifactRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_IMPLEMENTATION_ARTIFACT,\n path: `sourceRevisions.${index}.artifacts`,\n subjectRef: sourceRevisionArtifactSubjectRef(revision.sourceRevisionRef, artifact.artifactRef),\n message: `artifact ${artifact.artifactRef} is absent from the host authority inventory`,\n });\n });\n });\n } else {\n program.authorityBases.forEach((basis, basisIndex) => {\n basis.attestedArtifactRefs.forEach((artifactRef) => {\n if (!hostArtifacts.has(artifactRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_IMPLEMENTATION_ARTIFACT,\n path: `authorityBases.${basisIndex}.attestedArtifactRefs`,\n message: `artifact ${artifactRef} is not attested by the host authority-basis inventory`,\n });\n });\n });\n }\n\n program.implementationStatements.forEach((statement, statementIndex) => {\n if (statement.acceptedAt && timestampIsAfter(statement.acceptedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: \"implementation-statement acceptance cannot be later than the authority evaluation time\",\n });\n if (statement.invalidatedAt && timestampIsAfter(statement.invalidatedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.invalidatedAt`,\n message: \"implementation-statement invalidation cannot be later than the authority evaluation time\",\n });\n if (statement.lifecycleStatus !== AssuranceImplementationStatementLifecycleStatus.ACCEPTED) return;\n const objectiveKey = versionedObjectiveKey(statement.objective);\n const binding = objectiveBindings.find(\n (candidate) => versionedObjectiveKey(candidate.objective) === objectiveKey && candidate.scopeSelectorRefs.includes(statement.governanceScope.scopeRef),\n );\n if (!binding) return;\n if (statement.acceptedAt) {\n const causallyCheckedSources = new Set<string>();\n binding.sourceRequirementRefs.forEach((reference) => {\n const authority = sourceRequirementAuthorities.get(versionedSourceRequirementKey(reference));\n if (authority && timestampIsAfter(authority.reviewedAt, statement.acceptedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: `accepted statement predates the bound source-requirement review ${versionedSourceRequirementKey(reference)}`,\n });\n const sourceKey = versionedSourceKey(reference.source);\n if (causallyCheckedSources.has(sourceKey)) return;\n causallyCheckedSources.add(sourceKey);\n const source = sourceRecords.get(sourceKey);\n if (source && timestampIsAfter(source.rights.reviewedAt, statement.acceptedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: `accepted statement predates the source-rights review for ${sourceKey}`,\n });\n if (source?.retrievedArtifact && timestampIsAfter(source.retrievedArtifact.retrievedAt, statement.acceptedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: `accepted statement predates the retrieved source artifact for ${sourceKey}`,\n });\n });\n }\n const statementCapabilities = new Set(statement.capabilityBindingRefs.map((identity) => identity.capabilityRef));\n const statementEvidence = new Set(statement.expectedEvidence.map((requirement) => requirement.requirementRef));\n const statementVerification = new Set(statement.verificationExpectations.map((expectation) => expectation.expectationRef));\n binding.implementationExpectationRefs.forEach((identity) => {\n const authority = implementationExpectationAuthorities.get(versionedExpectationKey(identity));\n if (!authority) return;\n /*\n * Ask WHY before reporting that the statement does not satisfy the expectation. A capability the\n * application's configuration withholds cannot be bound by any statement, so the generic mismatch\n * below would tell an author to fix something they cannot fix — and that misdirection is not\n * theoretical: it has already cost rounds of evidence collection against an objective whose\n * attesting capability was never available, answerable from configuration before any was gathered.\n */\n const applicability = deriveExpectationCapabilityApplicability({\n requiredCapabilityRefs: authority.requiredCapabilityRefs,\n availableCapabilityRefs: hostCapabilityRefs,\n });\n if (applicability.status !== AssuranceProgramApplicabilityStatus.APPLICABLE) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.REQUIRED_CAPABILITY_UNAVAILABLE,\n path: `implementationStatements.${statementIndex}.capabilityBindingRefs`,\n subjectRef: versionedExpectationKey(identity),\n message:\n `${versionedExpectationKey(identity)} requires ${applicability.unavailableCapabilityRefs.join(\", \")}, which this ` +\n `application's configuration does not make available, so the objective is ${applicability.status}. ` +\n (applicability.status === AssuranceProgramApplicabilityStatus.NOT_APPLICABLE\n ? \"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.\"\n : \"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.\"),\n });\n return;\n }\n if (authority.requiredCapabilityRefs.some((capabilityRef) => !statementCapabilities.has(capabilityRef)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.capabilityBindingRefs`,\n message: `${versionedExpectationKey(identity)} is not satisfied by the accepted statement capabilities`,\n });\n });\n binding.evidenceExpectationRefs.forEach((identity) => {\n const authority = evidenceExpectationAuthorities.get(versionedExpectationKey(identity));\n if (authority?.requiredStatementEvidenceRefs.some((requirementRef) => !statementEvidence.has(requirementRef)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.expectedEvidence`,\n message: `${versionedExpectationKey(identity)} is not satisfied by the accepted statement evidence requirements`,\n });\n });\n binding.verificationExpectationRefs.forEach((identity) => {\n const authority = verificationExpectationAuthorities.get(versionedExpectationKey(identity));\n if (authority?.requiredStatementVerificationRefs.some((expectationRef) => !statementVerification.has(expectationRef)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.verificationExpectations`,\n message: `${versionedExpectationKey(identity)} is not satisfied by the accepted statement verification expectations`,\n });\n });\n });\n return { ok: issues.length === 0, issues };\n};\n/** @wildo_source:part:end saas.specifications.assurance-program.contract */\n"]}
1
+ {"version":3,"file":"assurance-program.schemas.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-program.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,cAAc,EACd,mCAAmC,EACnC,4BAA4B,EAC5B,wCAAwC,EACxC,qCAAqC,EACrC,+BAA+B,EAC/B,sCAAsC,EACtC,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iCAAiC,EACjC,uBAAuB,EACvB,4BAA4B,EAC5B,+CAA+C,EAC/C,kDAAkD,EAClD,sCAAsC,EACtC,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,+BAA+B,EAC/B,iCAAiC,EACjC,2BAA2B,EAC3B,gCAAgC,EAChC,+CAA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C,uBAAuB,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC5F,IAAI,SAAS,EAAE,iCAAiC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,qBAAqB,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;gBACnH,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,sCAAsC,CAAC,qBAAqB;oBAClE,IAAI,EAAE,4BAA4B,cAAc,2BAA2B;oBAC3E,OAAO,EAAE,GAAG,uBAAuB,CAAC,QAAQ,CAAC,uEAAuE;iBACrH,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,EAAE,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;AAC7C,CAAC,CAAC;AACF,4EAA4E","sourcesContent":["/**\n * entrypoint-closure-waiver: MEASURED SAFE 2026-08-13 — same measurement as `assurance.exports`,\n * of which this module is one publication. It is root-reachable only through that barrel (see the\n * waiver there for the probe and its result), and it crosses into three sibling `assurance/**`\n * modules that the root does not publish. The root-only consumer compile that exercises the\n * root-exported `application-creation` schemas built on these types is clean, with the emitted\n * declaration naming `@wildo-ai/saas-specifications/assurance`.\n *\n * Re-run that probe if this module's public surface starts appearing in a root-exported contract\n * by some path other than `application-creation`; the waiver records a measurement, not a proof\n * about every future shape.\n */\nimport { CoreAuditableEventType } from \"@wildo-ai/saas-models\";\n\nimport { z } from \"zod\";\nimport {\n ALL_ZOD_ISSUES,\n GovernedDocumentApplicabilityStatus,\n GovernedDocumentAudienceKind,\n GovernedDocumentDefinitionIdentitySchema,\n GovernedDocumentGovernanceScopeSchema,\n GovernedDocumentInteractionKind,\n GovernedDocumentPublicationChannelKind,\n GovernedDocumentReviewKind,\n summarizeZodIssues,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n AssuranceCapabilityIdentitySchema,\n AssuranceGapDisposition,\n AssuranceGovernanceActorKind,\n AssuranceImplementationStatementLifecycleStatus,\n AssuranceImplementationStatementCommonFieldsSchema,\n AssuranceImplementationStatementSchema,\n AssuranceIsoDateSchema,\n AssuranceIsoDateTimeSchema,\n AssuranceNamespacedRefSchema,\n AssuranceObjectiveCatalogSchema,\n AssuranceObjectiveLifecycleStatus,\n AssuranceVerificationMethod,\n AssuranceObjectiveIdentitySchema,\n addAssuranceImplementationStatementCommonIssues,\n type AssuranceImplementationStatement,\n type AssuranceObjectiveCatalog,\n} from \"./assurance-foundation.schemas\";\nimport {\n AssuranceDocumentAuthorityCatalogSchema,\n assuranceDocumentQualifiedReviewRequirements,\n collectAssuranceDocumentAuthorityCatalogIssues,\n} from \"./assurance-document-system.schemas\";\nimport {\n AssuranceSourceRegistrySchema,\n AssuranceSourceAuthorityKind,\n AssuranceSourceIdentitySchema,\n AssuranceSourceLifecycleStatus,\n AssuranceSourceUse,\n deriveAssuranceRightsAuthorization,\n type AssuranceSourceIdentity,\n type AssuranceSourceRecord,\n type AssuranceSourceRegistry,\n} from \"./assurance-sources.schemas\";\n\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst timestampIsAfter = (candidate: string, boundary: string): boolean => Date.parse(candidate) > Date.parse(boundary);\nconst utcIsoDateFromInstant = (timestamp: string): string => new Date(Date.parse(timestamp)).toISOString().slice(0, 10);\nconst hostImplementationArtifactOrderKey = (artifact: { artifactKindRef: string; artifactRef: string }): string =>\n `${artifact.artifactKindRef}\\0${artifact.artifactRef}`;\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\n/**\n * @wildo_source:part:start saas.specifications.assurance-program.contract facet:layer:specification facet:family:assurance\n *\n * Application-policy decision state. Missing knowledge remains explicit and cannot be interpreted as non-applicability.\n */\nexport enum AssuranceProgramApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n UNDETERMINED = \"UNDETERMINED\",\n}\n\n/** Declarative scope selector kinds. Live organization and user identities remain runtime facts. */\nexport enum AssuranceProgramScopeSelectorKind {\n APPLICATION = \"APPLICATION\",\n ORGANIZATION_POLICY = \"ORGANIZATION_POLICY\",\n}\n\n/** Honest capability-resolution vocabulary. None of these values is a compliance verdict. */\nexport enum AssuranceProgramCapabilityResolution {\n IMPLEMENTABLE = \"IMPLEMENTABLE\",\n PARTIAL = \"PARTIAL\",\n HUMAN_OR_EXTERNAL = \"HUMAN_OR_EXTERNAL\",\n UNSUPPORTED = \"UNSUPPORTED\",\n}\n\n/** Increasing proof stages without a flattened aggregate `COMPLIANT` state. */\nexport enum AssuranceProgramProofStage {\n SELECTED = \"SELECTED\",\n CONFIGURED = \"CONFIGURED\",\n OPERATING = \"OPERATING\",\n EVIDENCED = \"EVIDENCED\",\n ASSESSED = \"ASSESSED\",\n}\n\n/**\n * WHERE the evidence for one demand lives — and therefore what kind of query a collector must write.\n *\n * Routing a collector is the member set's ONLY job, so it discriminates on the one axis a collector\n * cares about: **can one query, written once, serve every application?** A vocabulary that cannot\n * answer that has to be supplemented out of band, which puts the discrimination somewhere less\n * visible than the vocabulary itself.\n *\n * Settled on #384 from FIVE paper bodies (`__evidence-plane-slice__/`), after two of them found\n * evidence that no member covered. The rejected alternative is recorded because it is the one that\n * looks right: widening `EMITTED` to \"any durable execution/event record\" absorbs both cases with no\n * new member — and also absorbs every product row in every application, so the member comes to mean\n * \"somewhere durable\" and stops discriminating. What ships is that widening BOUNDED BY OWNER, plus\n * the member the bound makes necessary.\n */\nexport enum AssuranceEvidenceHome {\n /** The committed specification IS the evidence. Uniform across applications; one query. */\n DECLARED = \"DECLARED\",\n /**\n * An ENGINE-owned durable record class — the audit trail, or a batch execution record. Uniform\n * across applications because the engine authors the store, so one query serves all.\n *\n * Widened from \"an audit-row class\" by `retention-window-declaration`, on the grounds that a sweep\n * whose control emits no auditable event by design (a database TTL deletes silently) is evidenced\n * by \"the sweep's execution record\".\n *\n * The original batch-record premise was withdrawn in 2026-09-10. Scheduled application\n * receipts now create job-execution records before invoking the batch, with defined successful\n * results retained separately. These operational records have bounded retention: 30 days for\n * execution history and 24 hours for output payloads. They do not establish coverage for a longer\n * assurance period. Sweep-continuity clauses still require period-covering retained evidence;\n * the existence of a recent job row alone does not justify changing their evidence home.\n *\n * The member's meaning is therefore back to what it says above — a store a collector can query.\n *\n * **A STORE, always.** If a collector cannot query it for a window, it is not this — see\n * {@link AssuranceEvidenceHome.OBSERVED} for a driven result and the note there about log lines.\n * An audit row produced BY driving an action is still this, at the `VERIFICATION` plane.\n */\n EMITTED = \"EMITTED\",\n /**\n * An APPLICATION-authored durable record — a product resource row.\n *\n * Distinct from `EMITTED` because the schema, the status vocabulary and the operation refs are that\n * application's own, so a collector can only query it against that application's specification.\n * Found by `subject-erasure-execution-record`, whose entire intake/withdrawal/execution evidence is\n * an application resource row and for which no audit member exists at all.\n */\n APPLICATION_RECORDED = \"APPLICATION_RECORDED\",\n /**\n * A DRIVEN result: a scenario outcome, a refusal, an enumeration. Reproducible on demand, and\n * stored nowhere.\n *\n * Added 2026-09-10 after a six-batch review of all 51 bodies, in which FOUR reviewers\n * independently reported the same thing: `EMITTED` was carrying **56 of 156 clauses** whose\n * evidence is a driven token, a driven refusal or a call-site enumeration — none of which is\n * \"an ENGINE-owned durable record class\". Authors reached for the nearest member because no\n * accurate one existed, and it became the file's dominant convention.\n *\n * **The distinction is operational, not taxonomic.** The home tells a COLLECTOR what to do:\n * `EMITTED` means *query this store for the window*; `OBSERVED` means *drive this and record what\n * happened*. Collapsing them makes the field stop answering the one question it exists for — which\n * is why widening `EMITTED`'s definition was considered and rejected.\n *\n * `plane` is NOT a substitute. It says WHERE a control runs, and `VERIFICATION` is compatible with\n * both readings: an audit row produced by driving an action is `EMITTED` at the `VERIFICATION`\n * plane, because the artifact is still a queryable row. Every one of the 56 reclassified clauses\n * was checked for exactly that and none carried `requiredAuditEventMembers` — they name no store\n * because there is none.\n *\n * NOT `UNPRODUCED`: an observation the framework can produce on demand is available evidence, and\n * `UNPRODUCED` carries no severity. NOT `PERFORMED`: nobody supplies it as a host artifact — the\n * running system produces it when driven.\n *\n * **A LOG LINE is neither this nor `EMITTED`.** It is reproducible only if you were already\n * watching, and it lives in no store the framework owns; judge those per clause as `UNPRODUCED`,\n * or `PERFORMED` against a host-supplied archive.\n */\n OBSERVED = \"OBSERVED\",\n /**\n * An artifact the HOST supplies, because the framework owns no store for it.\n *\n * Two shapes, and the defining property is where a collector must go rather than who made it:\n * - a HUMAN ACT — a privileged-access review, an operator sign-off. Nothing in the running\n * system produces it, which was this member's original and only meaning;\n * - TELEMETRY the running system emits into a store the host owns and retains — a structured\n * log line, a metric counter. The framework produces the signal and keeps none of it.\n *\n * The second shape was added 2026-09-10, in the same review that produced\n * {@link AssuranceEvidenceHome.OBSERVED}, and it is a SMALLER correction than that one: no member\n * is added, and the widening follows from what the home is for. Several clauses had been reading\n * `EMITTED` — \"an ENGINE-owned durable record class\" — off a Pino line or a boot log, which sends\n * a collector to query a store that does not exist. `UNPRODUCED` is equally wrong for them,\n * because the signal IS produced and carries real fields; calling it unproduced retires a working\n * control from examination and assigns it no severity.\n *\n * **What this costs, and it must be said in every clause that uses it:** a host archive has a\n * retention window nobody in the framework decided, and an operational one at that. So a clause\n * homed here can be evidenced for the period the host happens to keep, and no longer. If that is\n * unacceptable for a given obligation, the answer is to give the control a record class — not to\n * re-home the clause.\n */\n PERFORMED = \"PERFORMED\",\n /**\n * Authored, and nothing produces it — a VALUE, never an absence.\n *\n * It carries no severity against an application: a demand nothing can evidence is a framework gap,\n * and raising it against every application forever is noise rather than a finding.\n */\n UNPRODUCED = \"UNPRODUCED\",\n}\n\n/**\n * WHERE the control runs, and therefore what evidence about it can ever exist.\n *\n * Kept separate from the home because a multi-clause intent routinely spans both axes independently,\n * and flattening them lets a reviewer accept a declaration as proof of a runtime property — the\n * error `selected-processor-declaration` was written to prevent, where one clause is a committed\n * selection and its sibling is a claim about behaviour under no selection.\n */\nexport enum AssuranceEvidenceExecutionPlane {\n /** Can evidence that a control is DECLARED or CONFIGURED. Never that it operated. */\n META_APPLICATION = \"META_APPLICATION\",\n /** Can evidence that a control OPERATES when driven. Attests the build it ran against. */\n VERIFICATION = \"VERIFICATION\",\n /** Can evidence that a control operated over a period — the only plane that can. */\n PRODUCTION = \"PRODUCTION\",\n}\n\n/**\n * The outcome of judging ONE evidence demand against what was collected.\n *\n * ## Why this is an enum and not the five strings it replaces\n *\n * These five values already governed the plane — every one of the 51 requirement bodies instructs a\n * judge to \"record `insufficient_evidence` for that clause\" or \"record `not_applicable_as_configured`\n * and stop\" — and they lived only as PROSE inside those instruction sentences. Nowhere could a\n * collector emit one, a reviewer branch on one, or a reader learn how two of them differ. That is\n * the case the closed-vocabulary rule exists for: a bare `\"observation\"` cannot carry who sets it or\n * why it is not a `NONCONFORMITY`, and this can.\n *\n * Distinct from {@link AssuranceProgramFindingKind} (`GAP` / `EXCEPTION`), which classifies what an\n * accepted PROGRAMME declares about its own coverage. This classifies what one judgement RUN\n * concluded about one demand. Merging them would put \"the programme admits it does not cover this\"\n * and \"the evidence for this run was never gathered\" in one field.\n *\n * ## One of these is DERIVED, and the other four are judgements\n *\n * {@link AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED} is resolvable from\n * configuration alone, before a single row is collected, by the same\n * `deriveExpectationCapabilityApplicability` that validates a programme. The other four require\n * evidence in hand. Keeping that asymmetry visible here is the whole lesson of #302 stage 1, which\n * spent TWO full collection rounds evidencing a demand whose attesting capability the application\n * had never enabled, and whose closing note reads: *\"A demand's applicability is decided by the\n * application's enabled capabilities, BEFORE any evidence is collected.\"*\n */\nexport enum AssuranceEvidenceJudgementVerdict {\n /** The evidence was gathered and satisfies every clause of the demand. */\n CONFORMANT = \"CONFORMANT\",\n /**\n * Something worth recording that is NOT a failure against the demand as written.\n *\n * The weakest verdict that still asserts the evidence was sufficient to conclude, which is why it\n * is the one most easily reached for. #302 stage 1's author verdict was `OBSERVATION` and an\n * independent judge overturned it to `INSUFFICIENT_EVIDENCE` on the ground that a clause had been\n * passed on counts rather than on attribution — so prefer the verdict below when a clause was not\n * actually evidenced.\n */\n OBSERVATION = \"OBSERVATION\",\n /** The control does not do what the demand requires, and the evidence shows it. */\n NONCONFORMITY = \"NONCONFORMITY\",\n /**\n * The demand may or may not be met; the evidence needed to decide was not obtained.\n *\n * **Never a pass, and never inherited across clauses.** The bodies state the rule they enforce:\n * *\"Record any clause not run as insufficient_evidence for that clause; never let a NOT RUN clause\n * pass on its siblings' evidence.\"* A multi-clause demand with one unevidenced clause is this,\n * not {@link AssuranceEvidenceJudgementVerdict.CONFORMANT}.\n */\n INSUFFICIENT_EVIDENCE = \"INSUFFICIENT_EVIDENCE\",\n /**\n * The application does not enable the capability the authority basis names as attesting this\n * objective, so the demand cannot be evidenced for it — and nothing is broken.\n *\n * DERIVED, not judged: resolvable from the application's own declared `engineCapabilities` in\n * `wildo.saas.config.ts`, before any collection — no evidence, and no judgement, is needed to\n * reach it. A collector that resolves it FIRST stops rather than gathering evidence for a demand\n * that was never applicable.\n *\n * Distinct from {@link AssuranceEvidenceJudgementVerdict.NONCONFORMITY} in the direction that\n * matters: a control the application never claimed is not a control the application fails.\n */\n NOT_APPLICABLE_AS_CONFIGURED = \"NOT_APPLICABLE_AS_CONFIGURED\",\n}\n\n/**\n * How much a NONCONFORMITY is worth — the severity axis #299 decided and #297 recorded as flat until\n * it existed.\n *\n * ## It grades one verdict, and only one\n *\n * A finding opens on a nonconformity and on nothing else, so this is the only verdict a severity can\n * apply to. {@link AssuranceEvidenceJudgementVerdict.OBSERVATION} is not a milder nonconformity — it\n * asserts the demand is NOT failed — and giving it a severity would make the two comparable on a\n * scale they do not share. `INSUFFICIENT_EVIDENCE` is likewise not a mild failure but an absence of\n * evidence, and grading it would put a number on how badly we failed to look.\n *\n * ## Two members, because the bodies already speak in two\n *\n * Measured across all 58 requirement bodies that carry `severityGuidance`: MAJOR 157 times, MINOR 4,\n * and OBSERVATION 37 — the last being the verdict rather than a grade. So the vocabulary is not\n * invented here; it is the one the authored guidance has used since #296, given a runtime home so\n * something other than a reader can act on it.\n *\n * No CRITICAL, deliberately: no body's guidance reaches for one, and a member with no author is a\n * member a judge would have to decide the meaning of.\n *\n * ## What a severity IS, and the arithmetic it must never become\n *\n * It is the demand body's own statement of what this failure EXPOSES — \"a contradicted absence claim\n * is a MAJOR: the application states in committed configuration that it does not take an exposure the\n * derivation finds present, and that statement is the kind a reader relies on\". That is severity\n * following evidenced risk, which is what #299 decided and what\n * `severityGuidance`'s own JSDoc asks for: \"severity follows evidenced risk rather than wording\n * intensity\".\n *\n * It is NOT a product of the risk register's bands. `ApplicationRiskRegisterSchema` refuses that\n * multiplication for the reason Layer 1 refuses a score — two judgements multiplied into a third is\n * the number a reader trusts without checking — and reintroducing it here, one layer over, would\n * defeat the refusal rather than respect it.\n *\n * assurance-control: WILDO.RISK.TREATMENT_DECLARED — a recorded failure carries what it exposes, not\n * only that it occurred.\n */\nexport enum AssuranceFindingSeverity {\n /**\n * The control does not operate, or the application states something a reader would rely on that\n * the evidence contradicts.\n */\n MAJOR = \"MAJOR\",\n /**\n * The control operates and something around it is owed — an undeclared decision nobody has taken\n * yet, a record that exists in a weaker form than the demand asks for.\n *\n * Honest states live here. The bodies use it for exactly that: \"an undeclared signal is a MINOR on\n * its own — nobody has decided yet, which is an honest state\".\n */\n MINOR = \"MINOR\",\n}\n\nexport enum AssuranceProgramCapabilityKind {\n ENGINE = \"ENGINE\",\n PROVIDER = \"PROVIDER\",\n APPLICATION = \"APPLICATION\",\n HUMAN_OR_EXTERNAL = \"HUMAN_OR_EXTERNAL\",\n}\n\nexport enum AssuranceProgramFindingKind {\n GAP = \"GAP\",\n EXCEPTION = \"EXCEPTION\",\n}\n\n/** Applicability of one Wildo obligation outcome, distinct from source-level applicability and runtime activation. */\nexport enum AssuranceProgramObligationApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n UNDETERMINED = \"UNDETERMINED\",\n}\n\n/** Conditional enforcement effect once a later, separately governed lifecycle assessment activates the obligation. */\nexport enum AssuranceProgramObligationBlockingEffect {\n HARD = \"HARD\",\n ADVISORY = \"ADVISORY\",\n}\n\n/** Human review disposition for an exact obligation coverage claim retained inside the accepted program. */\nexport enum AssuranceProgramObligationCoverageReviewDisposition {\n APPROVED = \"APPROVED\",\n REJECTED = \"REJECTED\",\n}\n\n/** Whether shared responsibility has no actor precedence or names one actor whose decision prevails on conflict. */\nexport enum AssuranceProgramSharedResponsibilityPrecedenceMode {\n SHARED_WITHOUT_PRECEDENCE = \"SHARED_WITHOUT_PRECEDENCE\",\n NAMED_ACTOR_PRECEDENCE = \"NAMED_ACTOR_PRECEDENCE\",\n}\n\nexport enum AssuranceProgramDocumentApprovalRequirement {\n APPROVAL_REQUIRED = \"APPROVAL_REQUIRED\",\n NO_APPROVAL_REQUIRED = \"NO_APPROVAL_REQUIRED\",\n}\n\n/** One source artifact contributing to an accepted implementation revision, by its stable ref. */\nexport const AssuranceProgramSourceRevisionArtifactSchema = z.strictObject({\n artifactRef: AssuranceNamespacedRefSchema,\n});\nexport type AssuranceProgramSourceRevisionArtifact = z.infer<typeof AssuranceProgramSourceRevisionArtifactSchema>;\n\n/**\n * Content-addressed application-owned implementation fact supplied by the host at authority-composition time.\n *\n * Unlike `AssuranceProgramSourceRevisionArtifact`, this artifact does not claim to be framework implementation source. It binds the current configured application's\n * compiled state (for example, its subject-export resource graph) into the private authority snapshot used to validate application-specific implementation claims.\n */\nexport const AssuranceProgramHostImplementationArtifactSchema = z.strictObject({\n artifactRef: AssuranceNamespacedRefSchema,\n artifactKindRef: AssuranceNamespacedRefSchema,\n /**\n * Exact portable canonical fact bytes, retained so a later reader can re-derive the claim.\n *\n * The material is the evidence; it carried a self-hash until 2026-08-27, which verified these\n * bytes against a digest stored beside them and therefore proved nothing a reader could not see.\n */\n canonicalMaterial: z.string().min(1),\n});\nexport type AssuranceProgramHostImplementationArtifact = z.infer<typeof AssuranceProgramHostImplementationArtifactSchema>;\n\n/** Implementation-source bundle: a named revision and the ordered artifact inventory it covers. */\nexport const AssuranceProgramSourceRevisionSchema = z\n .strictObject({\n sourceRevisionRef: AssuranceNamespacedRefSchema,\n artifacts: z.array(AssuranceProgramSourceRevisionArtifactSchema).min(1),\n })\n .superRefine((revision, context) => {\n addUniqueSortedIssue(\n revision.artifacts.map((artifact) => artifact.artifactRef),\n context,\n [\"artifacts\"],\n \"source revision artifact refs\",\n );\n });\nexport type AssuranceProgramSourceRevision = z.infer<typeof AssuranceProgramSourceRevisionSchema>;\n\n/**\n * Stable durable subject for one artifact occurrence in a retained v1 source revision.\n *\n * V1 permits the same `artifactRef` in several distinct source revisions. Durable divergence receipts key issues\n * by `(kind, subjectRef)`, so the artifact ref alone would collapse those valid occurrences. A canonical JSON tuple\n * preserves both identity axes without introducing delimiter ambiguity. Consumers must treat this value as opaque.\n */\nconst sourceRevisionArtifactSubjectRef = (sourceRevisionRef: string, artifactRef: string): string => JSON.stringify([sourceRevisionRef, artifactRef]);\n\nconst AssuranceProgramSourceRevisionIdentitySchema = z.strictObject({\n sourceRevisionRef: AssuranceNamespacedRefSchema,\n});\n\n/**\n * Stable identity of one framework-owned authority basis — `basisRef` at `basisVersion`.\n *\n * `basisVersion` is the declared COMPATIBILITY GENERATION: equal versions promise the same\n * interpretation contract. An application pins this identity, so it re-accepts its controls when\n * the framework's contract generation moves — not on every engine byte.\n *\n * There is deliberately no content digest. Until 2026-08-27 there was, and it cost a re-acceptance\n * ritual four times in four days on one application: the pinned hash moved whenever any of the\n * digested engine sources moved, including for purely additive changes that altered no control.\n * Which BYTES an acceptance was made against is answered by the engine's committed git revision\n * plus the commit that recorded the acceptance — both of which merge across branches, which a hash\n * does not — git is the accepted state, so the evidence of acceptance is a commit.\n */\nexport const AssuranceProgramAuthorityBasisIdentitySchema = z.strictObject({\n basisRef: AssuranceNamespacedRefSchema,\n basisVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramAuthorityBasisIdentity = z.infer<typeof AssuranceProgramAuthorityBasisIdentitySchema>;\n\n/** Application-authored basis identity plus the exact engine artifact refs whose meaning it attests. */\nexport const AssuranceProgramAuthorityBasisReferenceSchema = AssuranceProgramAuthorityBasisIdentitySchema.extend({\n attestedArtifactRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n}).superRefine((reference, context) => {\n addUniqueSortedIssue(reference.attestedArtifactRefs, context, [\"attestedArtifactRefs\"], \"attestedArtifactRefs\");\n});\nexport type AssuranceProgramAuthorityBasisReference = z.infer<typeof AssuranceProgramAuthorityBasisReferenceSchema>;\n\n/** Application semantic role bound to one actual application role definition and its exact source revision. */\nexport const AssuranceProgramRoleAuthoritySchema = z.strictObject({\n roleRef: AssuranceNamespacedRefSchema,\n applicationRoleRef: z.string().trim().min(1),\n definitionRevision: AssuranceProgramSourceRevisionIdentitySchema,\n});\nexport type AssuranceProgramRoleAuthority = z.infer<typeof AssuranceProgramRoleAuthoritySchema>;\n\n/** Current role authority bound to one exact framework authority basis rather than its internal inventory. */\nexport const AssuranceProgramRoleAuthorityV2Schema = z.strictObject({\n roleRef: AssuranceNamespacedRefSchema,\n applicationRoleRef: z.string().trim().min(1),\n definitionAuthority: AssuranceProgramAuthorityBasisIdentitySchema,\n});\nexport type AssuranceProgramRoleAuthorityV2 = z.infer<typeof AssuranceProgramRoleAuthorityV2Schema>;\n\n/** Versioned implementation authority for a selectable engine, provider, application or human/external capability. */\nexport const AssuranceProgramCapabilityAuthoritySchema = z\n .strictObject({\n identity: AssuranceCapabilityIdentitySchema,\n capabilityKind: z.enum(AssuranceProgramCapabilityKind).systemEnum('AssuranceProgramCapabilityKind'),\n implementationRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n implementationRevision: AssuranceProgramSourceRevisionIdentitySchema,\n })\n .superRefine((authority, context) => {\n addUniqueSortedIssue(authority.implementationRefs, context, [\"implementationRefs\"], \"implementationRefs\");\n });\nexport type AssuranceProgramCapabilityAuthority = z.infer<typeof AssuranceProgramCapabilityAuthoritySchema>;\n\n/** Current capability authority bound to one exact framework authority basis rather than its internal inventory. */\nexport const AssuranceProgramCapabilityAuthorityV2Schema = z\n .strictObject({\n identity: AssuranceCapabilityIdentitySchema,\n capabilityKind: z.enum(AssuranceProgramCapabilityKind).systemEnum('AssuranceProgramCapabilityKind'),\n implementationRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n implementationAuthority: AssuranceProgramAuthorityBasisIdentitySchema,\n })\n .superRefine((authority, context) => {\n addUniqueSortedIssue(authority.implementationRefs, context, [\"implementationRefs\"], \"implementationRefs\");\n });\nexport type AssuranceProgramCapabilityAuthorityV2 = z.infer<typeof AssuranceProgramCapabilityAuthorityV2Schema>;\n\nexport const AssuranceProgramFindingIdentitySchema = z.strictObject({\n findingRef: AssuranceNamespacedRefSchema,\n findingVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramFindingIdentity = z.infer<typeof AssuranceProgramFindingIdentitySchema>;\n\nexport const AssuranceProgramExpectationIdentitySchema = z.strictObject({\n expectationRef: AssuranceNamespacedRefSchema,\n expectationVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramExpectationIdentity = z.infer<typeof AssuranceProgramExpectationIdentitySchema>;\n\nexport const AssuranceProgramCapabilityProfileAuthoritySchema = z\n .strictObject({\n profileRef: AssuranceNamespacedRefSchema,\n parameters: z.array(\n z\n .strictObject({\n parameterRef: AssuranceNamespacedRefSchema,\n allowedOptionRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((parameter, context) => addUniqueSortedIssue(parameter.allowedOptionRefs, context, [\"allowedOptionRefs\"], \"allowedOptionRefs\")),\n ),\n })\n .superRefine((profile, context) => {\n addUniqueSortedIssue(\n profile.parameters.map((parameter) => parameter.parameterRef),\n context,\n [\"parameters\"],\n \"profile parameter refs\",\n );\n });\n\nexport const AssuranceProgramCapabilitySelectionAuthoritySchema = AssuranceProgramCapabilityAuthoritySchema.extend({\n profiles: z.array(AssuranceProgramCapabilityProfileAuthoritySchema),\n requiredHostArtifactKindRefs: z.array(AssuranceNamespacedRefSchema),\n}).superRefine((authority, context) => {\n addUniqueSortedIssue(\n authority.profiles.map((profile) => profile.profileRef),\n context,\n [\"profiles\"],\n \"capability profile refs\",\n );\n addUniqueSortedIssue(authority.requiredHostArtifactKindRefs, context, [\"requiredHostArtifactKindRefs\"], \"required host artifact kind refs\");\n});\n\nexport const AssuranceProgramSourceRequirementAuthoritySchema = z.strictObject({\n source: AssuranceSourceIdentitySchema,\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n canonicalLocator: z.url(),\n reviewedByRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n});\n\nexport const AssuranceProgramImplementationExpectationAuthoritySchema = z\n .strictObject({\n identity: AssuranceProgramExpectationIdentitySchema,\n objective: AssuranceObjectiveIdentitySchema,\n requiredCapabilityRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((authority, context) => addUniqueSortedIssue(authority.requiredCapabilityRefs, context, [\"requiredCapabilityRefs\"], \"requiredCapabilityRefs\"));\n\n/**\n * What one evidence demand actually ASKS FOR — the content behind an otherwise opaque\n * `evidence-requirement:*` slug.\n *\n * Derived from the five paper bodies in `__evidence-plane-slice__/` rather than designed ahead of\n * them (#302's whole premise: a schema error costs 1/49th here of what it costs after authoring at\n * scale). The shape is what all five converged on, and the per-clause split is not decoration —\n * three of the five carry clauses that do NOT share a home or a plane, and a single home per demand\n * would have flattened exactly the distinction those bodies exist to record.\n */\nexport const AssuranceEvidenceRequirementClauseSchema = z.strictObject({\n /** Stable within the body — `C1`, `C2` — so a finding can name the clause it failed. */\n clauseRef: z.string().trim().regex(/^C[0-9]+$/u),\n /** The obligation in the objective's own terms, one clause of its intent. */\n obligation: z.string().trim().min(1),\n home: z.enum(AssuranceEvidenceHome).systemEnum('AssuranceEvidenceHome'),\n plane: z.enum(AssuranceEvidenceExecutionPlane).systemEnum('AssuranceEvidenceExecutionPlane'),\n /**\n * For an `EMITTED` clause whose store is the audit trail: the event members that satisfy it, DERIVED\n * from `CoreAuditableEventType` rather than transcribed.\n *\n * Structured rather than named in prose, and the reason is the harness's own most error-prone step:\n * *\"before naming any audit member, check it has an EMITTER\"*. A member that is declared but never\n * emitted raises a MAJOR against a working control the first time its activity occurs — which the\n * first drafted body did, with `USER_MFA_ENABLED`. As a typed array the members are checkable by a\n * test instead of by an author's memory, and a collector reads the query off the demand rather than\n * parsing English out of `minimumEvidence`.\n *\n * Optional because only an audit-trail-backed clause has them: an application resource row, a batch\n * execution record and a host artifact are all `EMITTED` or otherwise without audit members.\n */\n requiredAuditEventMembers: z.array(z.enum(CoreAuditableEventType)).min(1).optional(),\n /**\n * For an audit-trail-backed clause whose event TYPE carries several meanings: which rows of that\n * type satisfy the clause, as one `eventData` field and the values that qualify.\n *\n * An event type is a closed vocabulary of KINDS; some kinds carry a second axis inside the row.\n * `USER_PROVIDER_CREDENTIAL_DELETED` is one row shape for a revocation by its owner, an\n * administrator's hard delete of the account, and a subject erasure, told apart by\n * `eventData.reason`. Only the erasure is erasure evidence, and the requirement body said so in\n * prose — which no collector reads. Counting by type alone over-counted the erasure clause with\n * rows asserting that no erasure happened (#1087). The audit door filters by type, so the collector\n * applies this predicate to every row it reads, and a measurement says how many rows of the type it\n * set aside.\n *\n * Values are the member's own wire values (`ProviderCredentialDeletionReason.USER_ERASED`), named\n * from the enum at the declaring site so the vocabulary stays with its source. Only meaningful\n * beside `requiredAuditEventMembers`; a clause naming no event type has no rows to discriminate,\n * and the refinement below refuses that pairing.\n */\n requiredAuditEventDataMatch: z\n .strictObject({\n /** The `eventData` field the meaning rides on (`reason`). Top-level in `eventData`, no path. */\n field: z.string().trim().min(1),\n /** The values that satisfy the clause. A row whose field holds any other value is set aside, not counted. */\n values: z.array(z.string().trim().min(1)).min(1),\n })\n .optional(),\n /**\n * Why this home, stated as the reasoning that is NOT the proxy.\n *\n * Required, because both available proxies are wrong often enough to matter: the attesting\n * capability misread `PRIVILEGED_REVIEW` as an audit row when it is a human act, and the ref's head\n * noun misread `retention-window-declaration` as `DECLARED` when its clauses demand enforcement.\n */\n /**\n * What a row COUNT of the declared members cannot reach for this clause — present only when it cannot.\n *\n * The judge's EMITTED rule asks the audit trail one question: how many rows of these classes fell in the\n * window. For an obligation that IS an existence claim — \"issuance, refresh, rotation, revocation and\n * expiry are explicit attributable transitions\" — that count settles it, because each member is judged\n * separately and all of them must have rows.\n *\n * It settles nothing for four other obligation shapes, and a count read as a verdict there OVERCLAIMS:\n *\n * | shape | why a count cannot reach it |\n * |---|---|\n * | the row must CARRY something | a count never opens a row, so \"names the purpose, the subject and both withholding lists\" is unread |\n * | a DISJUNCTION | \"audited OR refused\" — rows evidence one branch and say nothing about what took the other |\n * | a NEGATIVE or universal claim | \"spent only for that principal\" is about the rows that do NOT exist |\n * | a property of the SYSTEM | \"without the record itself becoming an availability risk\" is not a property of any row |\n *\n * Declaring this does not weaken the clause; it stops the clause being reported as met on evidence that\n * does not meet it. A member with rows and a declared limit is INSUFFICIENT_EVIDENCE rather than\n * CONFORMANT, and `unreached` is the sentence a reader is given instead of a verdict. The zero-row\n * readings are unaffected: a class that emitted nothing is still a nonconformity where activity is\n * evidenced, and an observation where it is not — UNLESS the clause also declares `absenceUnreadable`.\n *\n * ABSENT means the obligation is an existence claim over the declared members. That is the common case\n * and it is why this is an exception rather than a required field — but it is a CLAIM, so a clause\n * asserting more than emission and declaring no limit here is a defect in the body, not a silence.\n */\n emittedCountLimit: z\n .strictObject({\n /** What the obligation asks that a count of these rows does not establish. One sentence, in the clause's own terms. */\n unreached: z.string().trim().min(1),\n /**\n * Why ZERO rows cannot be read as a quiet period on this clause, where that is so. Present, a member with no rows and\n * no evidenced activity is INSUFFICIENT_EVIDENCE rather than an OBSERVATION.\n *\n * Rare, and it exists for one shape: an obligation whose failing outcome itself leaves no row. \"Audited OR refused\"\n * on a runtime whose emission is fire-and-forget is the instance — the access that was neither audited nor refused is\n * exactly as silent as a window with no access at all, so reading silence as quiet would pass the case the clause\n * exists to catch. Added 2026-09-21 after the adversarial judge (#297) found `security-event-record` C2's severity\n * guidance excusing every absent row; the rule-based judge, which cannot see a runtime profile, needed the body to\n * SAY so rather than infer it.\n */\n absenceUnreadable: z.string().trim().min(1).optional(),\n })\n .optional(),\n homeRationale: z.string().trim().min(1),\n}).superRefine((clause, context) => {\n if (clause.emittedCountLimit && !clause.requiredAuditEventMembers) {\n context.addIssue({\n code: \"custom\",\n path: [\"emittedCountLimit\"],\n message: `clause ${clause.clauseRef} states what a row count does not reach but names no audit event type to count`,\n });\n }\n if (clause.requiredAuditEventDataMatch && !clause.requiredAuditEventMembers) {\n context.addIssue({\n code: \"custom\",\n path: [\"requiredAuditEventDataMatch\"],\n message: `clause ${clause.clauseRef} discriminates on eventData.${clause.requiredAuditEventDataMatch.field} but names no audit event type to read`,\n });\n }\n});\n\n/** @see AssuranceEvidenceRequirementClauseSchema */\nexport const AssuranceEvidenceRequirementBodySchema = z.strictObject({\n schemaVersion: z.literal(1),\n /**\n * Whether the demand applies to THIS application at all, and how a judge decides.\n *\n * First field on purpose. `subject-erasure-execution-record` is majority application-owned, and an\n * application that never built an erasure lane has not failed a control — it declared none. A body\n * without this field invites a nonconformity against every application that does not implement it.\n */\n applicability: z.string().trim().min(1),\n clauses: z.array(AssuranceEvidenceRequirementClauseSchema).min(1),\n /** The artifacts that, at minimum, satisfy the demand — named vocabulary members, never prose lists. */\n minimumEvidence: z.string().trim().min(1),\n /** Mechanical enough that two judges gather the same thing. */\n verificationSteps: z.array(z.string().trim().min(1)).min(1),\n /**\n * What an absence or failure MEANS, so severity follows evidenced risk rather than wording\n * intensity — and so a control that operated with a missing evidence export stays an OBSERVATION\n * rather than becoming a nonconformity.\n */\n severityGuidance: z.string().trim().min(1),\n /** What the evidence does NOT prove, and what would make it stale. */\n limits: z.string().trim().min(1),\n});\n\nexport type AssuranceEvidenceRequirementBody = z.infer<typeof AssuranceEvidenceRequirementBodySchema>;\n\n/**\n * One stated evidence demand, paired with the body that says what would satisfy it.\n *\n * Paired rather than looked up, so a consumer reading an authority's pass conditions never has to decide\n * which of several demands one body belongs to — the decision that went wrong, silently, the first time\n * an authority stated two.\n */\nexport const AssuranceProgramEvidenceRequirementBodyEntrySchema = z.strictObject({\n requirementRef: AssuranceNamespacedRefSchema,\n body: AssuranceEvidenceRequirementBodySchema,\n});\n\nexport type AssuranceProgramEvidenceRequirementBodyEntry = z.infer<typeof AssuranceProgramEvidenceRequirementBodyEntrySchema>;\n\nexport const AssuranceProgramEvidenceExpectationAuthoritySchema = z\n .strictObject({\n identity: AssuranceProgramExpectationIdentitySchema,\n objective: AssuranceObjectiveIdentitySchema,\n requiredStatementEvidenceRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n /**\n * ONE BODY PER STATED DEMAND, in the order of `requiredStatementEvidenceRefs` — since 2026-09-12.\n *\n * This was a single `body`, joined by `requiredStatementEvidenceRefs[0]`, on the premise that every\n * authority states one demand. `4ac83c1f` gave `WILDO.ACCESS.LEAST_PRIVILEGE` a second —\n * `authorization-decision-record` beside `operation-role-declaration` — and the new ref sorts FIRST.\n * From that commit the authority named `evidence-expectation:operation-role-declaration` carried the\n * three clauses of the refusal record, and its own five clauses reached the composed basis nowhere.\n * Nothing reported it: the guard beside the composer asserted that A body was present and that a body\n * existed for `[0]`, and both stayed true. Reproduced on the committed collection plan, which answered\n * a request for `operation-role-declaration` with a plan for a different demand, under that name.\n *\n * The history this field inherits: the single `body` became REQUIRED on 2026-09-10, when the catalog\n * completed at 51 of 51 (#296 / #302), because an optional body invited a binding that shipped with\n * nothing a collector could act on. That reasoning carries over whole — `.min(1)` and the agreement\n * refinement below make a demand without its own body unrepresentable, now for every demand rather\n * than the first.\n *\n * The verification authority below pairs its bodies the same way, and differs in one deliberate\n * respect: it may carry FEWER bodies than demands, because an application's own basis may extend it\n * with demands whose bodies are not written yet.\n */\n requirementBodies: z.array(AssuranceProgramEvidenceRequirementBodyEntrySchema).min(1),\n })\n .superRefine((authority, context) => {\n addUniqueSortedIssue(authority.requiredStatementEvidenceRefs, context, [\"requiredStatementEvidenceRefs\"], \"requiredStatementEvidenceRefs\");\n const pairedRequirementRefs = authority.requirementBodies.map((entry) => entry.requirementRef);\n if (\n pairedRequirementRefs.length !== authority.requiredStatementEvidenceRefs.length ||\n pairedRequirementRefs.some((requirementRef, index) => requirementRef !== authority.requiredStatementEvidenceRefs[index])\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"requirementBodies must pair exactly one body with each stated demand, in the order of requiredStatementEvidenceRefs\",\n path: [\"requirementBodies\"],\n });\n }\n });\n\n/**\n * What a VERIFICATION demand actually asks someone to do.\n *\n * The verification plane was degenerate until 2026-09-08: `requiredStatementVerificationRefs` held the\n * expectation's own ref in 50 of 50 bindings, so the demand said \"to verify X, see X\" and stated\n * nothing a verifier could act on (#452). The evidence axis beside it was never degenerate, which is\n * what made the defect specific to this tier rather than a modelling slip.\n *\n * Deliberately NOT a copy of {@link AssuranceEvidenceRequirementBodySchema}. They answer different\n * questions and conflating them is how a verification demand becomes a second evidence list:\n *\n * - EVIDENCE asks *what artifact proves this ran* — a row, an export, a declaration.\n * - VERIFICATION asks *what a person or a test DOES to establish the control holds*, and what that\n * act cannot establish.\n *\n * `acceptableMethods` is the field that makes it a demand rather than prose: it is drawn from\n * {@link AssuranceVerificationMethod}, so a body states which kinds of act satisfy it and an\n * application's own `AssuranceVerificationExpectation.method` can be checked against it.\n */\nexport const AssuranceVerificationRequirementBodySchema = z.strictObject({\n schemaVersion: z.literal(1),\n /**\n * Whether the demand applies to THIS application, and how a judge decides — first field for the\n * same reason as on the evidence body: an application that declared no lane has not failed a\n * control, and a body without this invites a nonconformity against everyone who did not build it.\n */\n applicability: z.string().trim().min(1),\n /** Which kinds of act satisfy the demand. Named vocabulary members, never prose. */\n acceptableMethods: z.array(z.enum(AssuranceVerificationMethod).systemEnum('AssuranceVerificationMethod')).min(1),\n /** Mechanical enough that two verifiers perform the same act and can disagree about the result. */\n procedure: z.array(z.string().trim().min(1)).min(1),\n /** What a PASS looks like, stated so it can be false. */\n passCriteria: z.string().trim().min(1),\n /**\n * What this act does NOT establish. The counterpart of an application's `limitationRefs`, and the\n * field that stops a verification being read as operating effectiveness.\n */\n knownLimitations: z.string().trim().min(1),\n /** What a failure MEANS, so severity follows evidenced risk rather than wording intensity. */\n severityGuidance: z.string().trim().min(1),\n});\n\nexport type AssuranceVerificationRequirementBody = z.infer<typeof AssuranceVerificationRequirementBodySchema>;\n\n/**\n * One stated verification demand, paired with the body that says what a verifier must do.\n *\n * The verification twin of `AssuranceProgramEvidenceRequirementBodyEntrySchema`: a body names its demand\n * rather than being found by position, so no consumer has to decide which demand a body belongs to.\n */\nexport const AssuranceProgramVerificationRequirementBodyEntrySchema = z.strictObject({\n requirementRef: AssuranceNamespacedRefSchema,\n body: AssuranceVerificationRequirementBodySchema,\n});\n\nexport type AssuranceProgramVerificationRequirementBodyEntry = z.infer<typeof AssuranceProgramVerificationRequirementBodyEntrySchema>;\n\nexport const AssuranceProgramVerificationExpectationAuthoritySchema = z\n .strictObject({\n identity: AssuranceProgramExpectationIdentitySchema,\n objective: AssuranceObjectiveIdentitySchema,\n requiredStatementVerificationRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n /**\n * The bodies AUTHORED so far, each naming the stated demand it belongs to — since 2026-09-12.\n *\n * This was one optional `body`, joined by `requiredStatementVerificationRefs[0]`. The evidence tier\n * beside it had the same join and silently swapped a body the first time an authority stated two\n * demands: the new ref sorted first and took over. No binding states two verification demands, so\n * this tier never swapped — but a body that did not name its demand could not be checked against one.\n *\n * POSSIBLY EMPTY, and fewer entries than demands is legitimate — the reason the single body was\n * optional carries over whole. An application's own basis may extend the model with demands whose\n * bodies are not written yet, and a schema that refused that would refuse a partially-authored\n * extension; completeness for the FRAMEWORK's basis is a test, not a schema rule. What the refinement\n * below does refuse is a body attached to a demand this authority does not state, or two bodies for\n * one demand.\n */\n requirementBodies: z.array(AssuranceProgramVerificationRequirementBodyEntrySchema),\n })\n .superRefine((authority, context) => {\n addUniqueSortedIssue(authority.requiredStatementVerificationRefs, context, [\"requiredStatementVerificationRefs\"], \"requiredStatementVerificationRefs\");\n const pairedRequirementRefs = authority.requirementBodies.map((entry) => entry.requirementRef);\n addUniqueSortedIssue(pairedRequirementRefs, context, [\"requirementBodies\"], \"requirementBodies requirementRefs\");\n const statedRequirementRefs = new Set<string>(authority.requiredStatementVerificationRefs);\n if (pairedRequirementRefs.some((requirementRef) => !statedRequirementRefs.has(requirementRef))) {\n context.addIssue({\n code: \"custom\",\n message: \"every verification body names a demand this authority states in requiredStatementVerificationRefs\",\n path: [\"requirementBodies\"],\n });\n }\n });\n\nexport const AssuranceProgramValidationAuthoritySnapshotSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n snapshotRef: AssuranceNamespacedRefSchema,\n snapshotVersion: z.number().int().positive(),\n evaluatedAt: AssuranceIsoDateTimeSchema,\n requestedSourceUses: z.array(z.enum(AssuranceSourceUse).systemEnum('AssuranceSourceUse')).min(1),\n sourceRegistry: AssuranceSourceRegistrySchema,\n /** Optional only so retained pre-document-system snapshots stay parseable. */\n documentAuthorityCatalog: AssuranceDocumentAuthorityCatalogSchema.optional(),\n objectiveCatalog: AssuranceObjectiveCatalogSchema,\n applicationRoleRefs: z.array(z.string().trim().min(1)).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilitySelectionAuthoritySchema),\n implementationArtifacts: z.array(AssuranceProgramSourceRevisionArtifactSchema).min(1),\n hostImplementationArtifacts: z.array(AssuranceProgramHostImplementationArtifactSchema),\n sourceRequirementAuthorities: z.array(AssuranceProgramSourceRequirementAuthoritySchema),\n implementationExpectationAuthorities: z.array(AssuranceProgramImplementationExpectationAuthoritySchema),\n evidenceExpectationAuthorities: z.array(AssuranceProgramEvidenceExpectationAuthoritySchema),\n verificationExpectationAuthorities: z.array(AssuranceProgramVerificationExpectationAuthoritySchema),\n })\n .superRefine((snapshot, context) => {\n addUniqueSortedIssue(snapshot.requestedSourceUses, context, [\"requestedSourceUses\"], \"requestedSourceUses\");\n addUniqueSortedIssue(snapshot.applicationRoleRefs, context, [\"applicationRoleRefs\"], \"applicationRoleRefs\");\n addUniqueSortedIssue(\n snapshot.capabilityAuthorities.map((authority) => `${authority.identity.capabilityRef}@${authority.identity.capabilityVersion}`),\n context,\n [\"capabilityAuthorities\"],\n \"capability authority identities\",\n );\n addUniqueSortedIssue(\n snapshot.implementationArtifacts.map((artifact) => artifact.artifactRef),\n context,\n [\"implementationArtifacts\"],\n \"implementation artifact refs\",\n );\n const hostArtifactRefs = snapshot.hostImplementationArtifacts.map((artifact) => artifact.artifactRef);\n const hostArtifactKindRefs = snapshot.hostImplementationArtifacts.map((artifact) => artifact.artifactKindRef);\n if (!valuesAreUnique(hostArtifactRefs)) {\n context.addIssue({ code: \"custom\", message: \"host implementation artifact refs must be unique\", path: [\"hostImplementationArtifacts\"] });\n }\n if (!valuesAreUnique(hostArtifactKindRefs)) {\n context.addIssue({ code: \"custom\", message: \"host implementation artifact kind refs must be unique\", path: [\"hostImplementationArtifacts\"] });\n }\n if (!valuesAreLexicallySorted(snapshot.hostImplementationArtifacts.map(hostImplementationArtifactOrderKey))) {\n context.addIssue({\n code: \"custom\",\n message: \"host implementation artifacts must be sorted by artifact kind ref then artifact ref\",\n path: [\"hostImplementationArtifacts\"],\n });\n }\n addUniqueSortedIssue(\n snapshot.sourceRequirementAuthorities.map(\n (authority) => `${authority.source.sourceRef}@${authority.source.sourceVersion}:${authority.requirementRef}@${authority.requirementVersion}`,\n ),\n context,\n [\"sourceRequirementAuthorities\"],\n \"source requirement authority identities\",\n );\n for (const [key, values] of [\n [\"implementationExpectationAuthorities\", snapshot.implementationExpectationAuthorities],\n [\"evidenceExpectationAuthorities\", snapshot.evidenceExpectationAuthorities],\n [\"verificationExpectationAuthorities\", snapshot.verificationExpectationAuthorities],\n ] as const)\n addUniqueSortedIssue(\n values.map((authority) => `${authority.identity.expectationRef}@${authority.identity.expectationVersion}`),\n context,\n [key],\n `${key} identities`,\n );\n\n const rejectFutureAuthorityFact = (value: string, path: PropertyKey[], label: string): void => {\n if (timestampIsAfter(value, snapshot.evaluatedAt)) {\n context.addIssue({ code: \"custom\", message: `${label} cannot be later than evaluatedAt`, path });\n }\n };\n rejectFutureAuthorityFact(snapshot.sourceRegistry.verifiedAt, [\"sourceRegistry\", \"verifiedAt\"], \"source registry verification\");\n snapshot.sourceRegistry.sources.forEach((source, sourceIndex) => {\n rejectFutureAuthorityFact(source.rights.reviewedAt, [\"sourceRegistry\", \"sources\", sourceIndex, \"rights\", \"reviewedAt\"], \"source-rights review\");\n if (source.retrievedArtifact) {\n rejectFutureAuthorityFact(\n source.retrievedArtifact.retrievedAt,\n [\"sourceRegistry\", \"sources\", sourceIndex, \"retrievedArtifact\", \"retrievedAt\"],\n \"source-artifact retrieval\",\n );\n }\n });\n snapshot.sourceRequirementAuthorities.forEach((authority, authorityIndex) =>\n rejectFutureAuthorityFact(authority.reviewedAt, [\"sourceRequirementAuthorities\", authorityIndex, \"reviewedAt\"], \"source-requirement review\"),\n );\n if (snapshot.documentAuthorityCatalog) {\n rejectFutureAuthorityFact(\n snapshot.documentAuthorityCatalog.verifiedAt,\n [\"documentAuthorityCatalog\", \"verifiedAt\"],\n \"document authority catalog verification\",\n );\n snapshot.documentAuthorityCatalog.sourceMonitoringPolicies.forEach((policy, policyIndex) =>\n rejectFutureAuthorityFact(\n policy.lastCheckedAt,\n [\"documentAuthorityCatalog\", \"sourceMonitoringPolicies\", policyIndex, \"lastCheckedAt\"],\n \"document source monitoring check\",\n ),\n );\n }\n });\nexport type AssuranceProgramValidationAuthoritySnapshot = z.infer<typeof AssuranceProgramValidationAuthoritySnapshotSchema>;\n\n/** Exact application reference to a separately governed source-registry record. Normative bytes are never embedded here. */\nexport const AssuranceProgramSourceReferenceSchema = z.strictObject({\n identity: AssuranceSourceIdentitySchema,\n edition: z.string().trim().min(1),\n authorityKind: z.enum(AssuranceSourceAuthorityKind).systemEnum('AssuranceSourceAuthorityKind'),\n authorityName: z.string().trim().min(1),\n lifecycleStatus: z.enum(AssuranceSourceLifecycleStatus).systemEnum('AssuranceSourceLifecycleStatus'),\n rightsRef: AssuranceNamespacedRefSchema,\n rightsVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramSourceReference = z.infer<typeof AssuranceProgramSourceReferenceSchema>;\n\n/** Reusable application-level scope policy. Runtime resolution supplies actual tenant and assignee identities. */\nexport const AssuranceProgramScopeSelectorSchema = z\n .strictObject({\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n scopeSelectorVersion: z.number().int().positive(),\n kind: z.enum(AssuranceProgramScopeSelectorKind).systemEnum('AssuranceProgramScopeSelectorKind'),\n systemBoundaryRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n organizationScopeRuleRefs: z.array(AssuranceNamespacedRefSchema),\n jurisdictionRefs: z.array(AssuranceNamespacedRefSchema),\n dataCategoryRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((scope, context) => {\n addUniqueSortedIssue(scope.systemBoundaryRefs, context, [\"systemBoundaryRefs\"], \"systemBoundaryRefs\");\n addUniqueSortedIssue(scope.organizationScopeRuleRefs, context, [\"organizationScopeRuleRefs\"], \"organizationScopeRuleRefs\");\n addUniqueSortedIssue(scope.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n addUniqueSortedIssue(scope.dataCategoryRefs, context, [\"dataCategoryRefs\"], \"dataCategoryRefs\");\n if (scope.kind === AssuranceProgramScopeSelectorKind.ORGANIZATION_POLICY && scope.organizationScopeRuleRefs.length === 0) {\n context.addIssue({\n code: \"custom\",\n message: \"organization-policy scope requires at least one organization scope rule\",\n path: [\"organizationScopeRuleRefs\"],\n });\n }\n });\nexport type AssuranceProgramScopeSelector = z.infer<typeof AssuranceProgramScopeSelectorSchema>;\n\nexport const AssuranceProgramApplicabilityDecisionSchema = z\n .strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n source: AssuranceSourceIdentitySchema,\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n status: z.enum(AssuranceProgramApplicabilityStatus).systemEnum('AssuranceProgramApplicabilityStatus'),\n basis: z.string().trim().min(1),\n authorityDecisionRef: AssuranceNamespacedRefSchema,\n effectiveFrom: AssuranceIsoDateSchema,\n effectiveUntil: AssuranceIsoDateSchema.optional(),\n invalidationConditionRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.invalidationConditionRefs, context, [\"invalidationConditionRefs\"], \"invalidationConditionRefs\");\n if (decision.effectiveUntil && decision.effectiveUntil < decision.effectiveFrom) {\n context.addIssue({ code: \"custom\", message: \"effectiveUntil cannot precede effectiveFrom\", path: [\"effectiveUntil\"] });\n }\n });\nexport type AssuranceProgramApplicabilityDecision = z.infer<typeof AssuranceProgramApplicabilityDecisionSchema>;\n\n/** Exact identity of one retained source/scope applicability decision consumed by a v3 obligation. */\nexport const AssuranceProgramSourceApplicabilityDecisionIdentitySchema = z.strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramSourceApplicabilityDecisionIdentity = z.infer<typeof AssuranceProgramSourceApplicabilityDecisionIdentitySchema>;\n\nexport const AssuranceProgramSourceRequirementReferenceSchema = z.strictObject({\n source: AssuranceSourceIdentitySchema,\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: z.number().int().positive(),\n});\n\nconst versionedSourceKey = (source: AssuranceSourceIdentity): string => `${source.sourceRef}@${source.sourceVersion}`;\nconst versionedObjectiveKey = (objective: { objectiveRef: string; objectiveVersion: number }): string =>\n `${objective.objectiveRef}@${objective.objectiveVersion}`;\nconst versionedCapabilityKey = (capability: { capabilityRef: string; capabilityVersion: number }): string =>\n `${capability.capabilityRef}@${capability.capabilityVersion}`;\nconst versionedDocumentKey = (document: { documentRef: string; documentVersion: number }): string => `${document.documentRef}@${document.documentVersion}`;\nconst sourceRevisionKey = (revision: { sourceRevisionRef: string }): string => revision.sourceRevisionRef;\nconst authorityBasisIdentityKey = (basis: { basisRef: string; basisVersion: number }): string => `${basis.basisRef}@${basis.basisVersion}`;\nconst applicabilitySubjectKey = (source: AssuranceSourceIdentity, scopeSelectorRef: string): string => `${versionedSourceKey(source)}::${scopeSelectorRef}`;\nconst versionedExpectationKey = (identity: { expectationRef: string; expectationVersion: number }): string =>\n `${identity.expectationRef}@${identity.expectationVersion}`;\nconst versionedSourceRequirementKey = (reference: { source: AssuranceSourceIdentity; requirementRef: string; requirementVersion: number }): string =>\n `${versionedSourceKey(reference.source)}:${reference.requirementRef}@${reference.requirementVersion}`;\n\n/** Source-neutral Wildo objective binding. Relationships to restricted targets remain in external mapping packs. */\nexport const AssuranceProgramControlObjectiveBindingSchema = z\n .strictObject({\n bindingRef: AssuranceNamespacedRefSchema,\n bindingVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n sourceRequirementRefs: z.array(AssuranceProgramSourceRequirementReferenceSchema),\n implementationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n evidenceExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n verificationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n requiredProofStage: z.enum(AssuranceProgramProofStage).systemEnum('AssuranceProgramProofStage'),\n })\n .superRefine((binding, context) => {\n addUniqueSortedIssue(binding.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(\n binding.sourceRequirementRefs.map(\n (reference) => `${reference.source.sourceRef}@${reference.source.sourceVersion}:${reference.requirementRef}@${reference.requirementVersion}`,\n ),\n context,\n [\"sourceRequirementRefs\"],\n \"sourceRequirementRefs\",\n );\n const expectationKey = (identity: AssuranceProgramExpectationIdentity): string => `${identity.expectationRef}@${identity.expectationVersion}`;\n addUniqueSortedIssue(\n binding.implementationExpectationRefs.map(expectationKey),\n context,\n [\"implementationExpectationRefs\"],\n \"implementationExpectationRefs\",\n );\n addUniqueSortedIssue(binding.evidenceExpectationRefs.map(expectationKey), context, [\"evidenceExpectationRefs\"], \"evidenceExpectationRefs\");\n addUniqueSortedIssue(binding.verificationExpectationRefs.map(expectationKey), context, [\"verificationExpectationRefs\"], \"verificationExpectationRefs\");\n });\nexport type AssuranceProgramControlObjectiveBinding = z.infer<typeof AssuranceProgramControlObjectiveBindingSchema>;\n\nexport const AssuranceProgramObligationIdentitySchema = z.strictObject({\n obligationRef: AssuranceNamespacedRefSchema,\n obligationVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramObligationIdentity = z.infer<typeof AssuranceProgramObligationIdentitySchema>;\n\nexport const AssuranceProgramObligationCoverageDecisionIdentitySchema = z.strictObject({\n coverageDecisionRef: AssuranceNamespacedRefSchema,\n coverageDecisionVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramObligationCoverageDecisionIdentity = z.infer<typeof AssuranceProgramObligationCoverageDecisionIdentitySchema>;\n\nexport const AssuranceProgramSharedResponsibilityRuleIdentitySchema = z.strictObject({\n sharedResponsibilityRuleRef: AssuranceNamespacedRefSchema,\n sharedResponsibilityRuleVersion: z.number().int().positive(),\n});\nexport type AssuranceProgramSharedResponsibilityRuleIdentity = z.infer<typeof AssuranceProgramSharedResponsibilityRuleIdentitySchema>;\n\nconst AssuranceProgramSharedResponsibilityPrecedenceSchema = z.discriminatedUnion(\"mode\", [\n z.strictObject({ mode: z.literal(AssuranceProgramSharedResponsibilityPrecedenceMode.SHARED_WITHOUT_PRECEDENCE).systemEnum('AssuranceProgramSharedResponsibilityPrecedenceMode') }),\n z.strictObject({\n mode: z.literal(AssuranceProgramSharedResponsibilityPrecedenceMode.NAMED_ACTOR_PRECEDENCE).systemEnum('AssuranceProgramSharedResponsibilityPrecedenceMode'),\n precedenceActorKind: z.enum(AssuranceGovernanceActorKind).systemEnum('AssuranceGovernanceActorKind'),\n }),\n]);\n\n/**\n * Program-owned reusable party-attribution rule. It is accepted atomically with the obligations that cite it;\n * runtime people, organizations and review occurrences remain deliberately absent.\n */\nexport const AssuranceProgramSharedResponsibilityRuleSchema = z\n .strictObject({\n sharedResponsibilityRuleRef: AssuranceNamespacedRefSchema,\n sharedResponsibilityRuleVersion: z.number().int().positive(),\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n governanceActorKinds: z.array(z.enum(AssuranceGovernanceActorKind).systemEnum('AssuranceGovernanceActorKind')).min(2),\n accountableRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n operatingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n evidenceProviderRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n approvingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n conflictResolutionRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n precedence: AssuranceProgramSharedResponsibilityPrecedenceSchema,\n rationale: z.string().trim().min(1),\n reviewedByRoleRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n })\n .superRefine((rule, context) => {\n addUniqueSortedIssue(rule.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(rule.governanceActorKinds, context, [\"governanceActorKinds\"], \"governanceActorKinds\");\n for (const field of [\"accountableRoleRefs\", \"operatingRoleRefs\", \"evidenceProviderRoleRefs\", \"approvingRoleRefs\", \"conflictResolutionRoleRefs\"] as const)\n addUniqueSortedIssue(rule[field], context, [field], field);\n if (\n rule.precedence.mode === AssuranceProgramSharedResponsibilityPrecedenceMode.NAMED_ACTOR_PRECEDENCE &&\n !rule.governanceActorKinds.includes(rule.precedence.precedenceActorKind)\n )\n context.addIssue({\n code: \"custom\",\n message: \"precedenceActorKind must occur in governanceActorKinds\",\n path: [\"precedence\", \"precedenceActorKind\"],\n });\n });\nexport type AssuranceProgramSharedResponsibilityRule = z.infer<typeof AssuranceProgramSharedResponsibilityRuleSchema>;\n\n/** Exact human-reviewed coverage claim over one obligation and its complete cited source-requirement inventory. */\nexport const AssuranceProgramObligationCoverageDecisionSchema = z\n .strictObject({\n coverageDecisionRef: AssuranceNamespacedRefSchema,\n coverageDecisionVersion: z.number().int().positive(),\n obligation: AssuranceProgramObligationIdentitySchema,\n sourceRequirementRefs: z.array(AssuranceProgramSourceRequirementReferenceSchema).min(1),\n reviewDisposition: z.enum(AssuranceProgramObligationCoverageReviewDisposition).systemEnum('AssuranceProgramObligationCoverageReviewDisposition'),\n reviewedByRoleRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n rationale: z.string().trim().min(1),\n limitationRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.sourceRequirementRefs.map(versionedSourceRequirementKey), context, [\"sourceRequirementRefs\"], \"sourceRequirementRefs\");\n addUniqueSortedIssue(decision.limitationRefs, context, [\"limitationRefs\"], \"limitationRefs\");\n });\nexport type AssuranceProgramObligationCoverageDecision = z.infer<typeof AssuranceProgramObligationCoverageDecisionSchema>;\n\nconst AssuranceProgramObligationApplicabilityDecisionCommonSchema = z.strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n rationale: z.string().trim().min(1),\n reviewedByRoleRef: AssuranceNamespacedRefSchema,\n decidedAt: AssuranceIsoDateTimeSchema,\n evidenceRefs: z.array(AssuranceNamespacedRefSchema),\n invalidationConditionRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n});\n\n/** Outcome-level applicability. It cannot encode lifecycle activation, operating status or a compliance conclusion. */\nexport const AssuranceProgramObligationApplicabilityDecisionSchema = z\n .discriminatedUnion(\"status\", [\n AssuranceProgramObligationApplicabilityDecisionCommonSchema.extend({ status: z.literal(AssuranceProgramObligationApplicabilityStatus.APPLICABLE).systemEnum('AssuranceProgramObligationApplicabilityStatus') }),\n AssuranceProgramObligationApplicabilityDecisionCommonSchema.extend({\n status: z.literal(AssuranceProgramObligationApplicabilityStatus.NOT_APPLICABLE).systemEnum('AssuranceProgramObligationApplicabilityStatus'),\n evidenceRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n }),\n AssuranceProgramObligationApplicabilityDecisionCommonSchema.extend({ status: z.literal(AssuranceProgramObligationApplicabilityStatus.UNDETERMINED).systemEnum('AssuranceProgramObligationApplicabilityStatus') }),\n ])\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.evidenceRefs, context, [\"evidenceRefs\"], \"evidenceRefs\");\n addUniqueSortedIssue(decision.invalidationConditionRefs, context, [\"invalidationConditionRefs\"], \"invalidationConditionRefs\");\n });\nexport type AssuranceProgramObligationApplicabilityDecision = z.infer<typeof AssuranceProgramObligationApplicabilityDecisionSchema>;\n\n/** One source-neutral application obligation. External framework ids and protected source bytes remain outside this contract. */\nexport const AssuranceProgramObligationEntrySchema = z\n .strictObject({\n obligationRef: AssuranceNamespacedRefSchema,\n obligationVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n governanceActorKinds: z.array(z.enum(AssuranceGovernanceActorKind).systemEnum('AssuranceGovernanceActorKind')).min(1),\n sharedResponsibilityRule: AssuranceProgramSharedResponsibilityRuleIdentitySchema.optional(),\n sourceRequirementRefs: z.array(AssuranceProgramSourceRequirementReferenceSchema).min(1),\n sourceApplicabilityDecisionRefs: z.array(AssuranceProgramSourceApplicabilityDecisionIdentitySchema).min(1),\n coverageDecision: AssuranceProgramObligationCoverageDecisionIdentitySchema,\n applicability: AssuranceProgramObligationApplicabilityDecisionSchema,\n responsibilityAssignmentRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n implementationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n evidenceExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n verificationExpectationRefs: z.array(AssuranceProgramExpectationIdentitySchema).min(1),\n requiredProofStage: z.enum(AssuranceProgramProofStage).systemEnum('AssuranceProgramProofStage'),\n blockingEffect: z.enum(AssuranceProgramObligationBlockingEffect).systemEnum('AssuranceProgramObligationBlockingEffect'),\n gapRefs: z.array(AssuranceProgramFindingIdentitySchema),\n dependencyObligationRefs: z.array(AssuranceProgramObligationIdentitySchema),\n reviewOwnerRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n /**\n * When this obligation is next reviewed, or ABSENT when no review schedule is committed.\n *\n * Optional since #647 decision C, and absence is a MARKED state rather than a gap: a programme\n * produced for an application that declares no periodic `assuranceReviewCadence` omits it on every\n * entry and carries a stamped `knownProgramLimitations` line saying no schedule is committed. It was\n * required, which meant an unscheduled programme could not be REPRESENTED at all — so the normalizer\n * refused, and a workflow fact (somebody committing to a schedule) stood in front of the mechanism.\n * An unfinished workflow MARKS; only an artifact that would be FALSE may refuse. Absent is never\n * \"overdue\" — the overdue check below skips it.\n */\n reviewOn: AssuranceIsoDateSchema.optional(),\n reviewTriggerRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((entry, context) => {\n addUniqueSortedIssue(entry.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(entry.governanceActorKinds, context, [\"governanceActorKinds\"], \"governanceActorKinds\");\n addUniqueSortedIssue(entry.sourceRequirementRefs.map(versionedSourceRequirementKey), context, [\"sourceRequirementRefs\"], \"sourceRequirementRefs\");\n addUniqueSortedIssue(\n entry.sourceApplicabilityDecisionRefs.map((identity) => `${identity.decisionRef}@${identity.decisionVersion}`),\n context,\n [\"sourceApplicabilityDecisionRefs\"],\n \"sourceApplicabilityDecisionRefs\",\n );\n addUniqueSortedIssue(entry.responsibilityAssignmentRefs, context, [\"responsibilityAssignmentRefs\"], \"responsibilityAssignmentRefs\");\n for (const field of [\"implementationExpectationRefs\", \"evidenceExpectationRefs\", \"verificationExpectationRefs\"] as const)\n addUniqueSortedIssue(entry[field].map(versionedExpectationKey), context, [field], field);\n addUniqueSortedIssue(\n entry.gapRefs.map((identity) => `${identity.findingRef}@${identity.findingVersion}`),\n context,\n [\"gapRefs\"],\n \"gapRefs\",\n );\n addUniqueSortedIssue(\n entry.dependencyObligationRefs.map((identity) => `${identity.obligationRef}@${identity.obligationVersion}`),\n context,\n [\"dependencyObligationRefs\"],\n \"dependencyObligationRefs\",\n );\n addUniqueSortedIssue(entry.reviewOwnerRoleRefs, context, [\"reviewOwnerRoleRefs\"], \"reviewOwnerRoleRefs\");\n addUniqueSortedIssue(entry.reviewTriggerRefs, context, [\"reviewTriggerRefs\"], \"reviewTriggerRefs\");\n if (entry.governanceActorKinds.length === 1 && entry.sharedResponsibilityRule)\n context.addIssue({ code: \"custom\", message: \"a single governance actor cannot cite a shared-responsibility rule\", path: [\"sharedResponsibilityRule\"] });\n if (entry.governanceActorKinds.length > 1 && !entry.sharedResponsibilityRule)\n context.addIssue({\n code: \"custom\",\n message: \"multiple governance actors require an exact shared-responsibility rule\",\n path: [\"sharedResponsibilityRule\"],\n });\n if (\n entry.dependencyObligationRefs.some(\n (identity) => identity.obligationRef === entry.obligationRef && identity.obligationVersion === entry.obligationVersion,\n )\n )\n context.addIssue({ code: \"custom\", message: \"an obligation cannot depend on itself\", path: [\"dependencyObligationRefs\"] });\n });\nexport type AssuranceProgramObligationEntry = z.infer<typeof AssuranceProgramObligationEntrySchema>;\n\n/**\n * Complete application obligation inventory. It is not the governed-document release register.\n *\n * It carried a digest until every digest was removed from the design (a digest chain cannot merge across branches) and the JSDoc went on calling it \"content-addressed\" afterwards. The\n * strict shape below is the whole truth: a ref, a version and the entries. Completeness is proven by `obligationCoverageDecisions` and the uniqueness refinement, not\n * by a hash. A test still named `registerWithoutDigest` is a leftover from when the field existed.\n */\nexport const AssuranceProgramObligationRegisterSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n registerRef: AssuranceNamespacedRefSchema,\n registerVersion: z.number().int().positive(),\n entries: z.array(AssuranceProgramObligationEntrySchema).min(1),\n })\n .superRefine((register, context) =>\n addUniqueSortedIssue(\n register.entries.map((entry) => `${entry.obligationRef}@${entry.obligationVersion}`),\n context,\n [\"entries\"],\n \"obligation identities\",\n ),\n );\nexport type AssuranceProgramObligationRegister = z.infer<typeof AssuranceProgramObligationRegisterSchema>;\n\nconst versionedObligationKey = (identity: { obligationRef: string; obligationVersion: number }): string =>\n `${identity.obligationRef}@${identity.obligationVersion}`;\nconst versionedApplicabilityDecisionKey = (identity: { decisionRef: string; decisionVersion: number }): string =>\n `${identity.decisionRef}@${identity.decisionVersion}`;\nconst versionedCoverageDecisionKey = (identity: { coverageDecisionRef: string; coverageDecisionVersion: number }): string =>\n `${identity.coverageDecisionRef}@${identity.coverageDecisionVersion}`;\nconst versionedSharedResponsibilityRuleKey = (identity: { sharedResponsibilityRuleRef: string; sharedResponsibilityRuleVersion: number }): string =>\n `${identity.sharedResponsibilityRuleRef}@${identity.sharedResponsibilityRuleVersion}`;\n\n/** A non-secret selected option. Values are references to accepted profiles/options rather than arbitrary credential-bearing blobs. */\nexport const AssuranceProgramSelectedOptionSchema = z.strictObject({\n parameterRef: AssuranceNamespacedRefSchema,\n selectedOptionRef: AssuranceNamespacedRefSchema,\n});\n\nexport const AssuranceProgramCapabilitySelectionSchema = z\n .strictObject({\n capabilityKind: z.enum(AssuranceProgramCapabilityKind).systemEnum('AssuranceProgramCapabilityKind'),\n capabilityRef: AssuranceNamespacedRefSchema,\n capabilityVersion: z.number().int().positive(),\n profileRef: AssuranceNamespacedRefSchema.optional(),\n selectedOptions: z.array(AssuranceProgramSelectedOptionSchema),\n })\n .superRefine((selection, context) => {\n addUniqueSortedIssue(\n selection.selectedOptions.map((option) => option.parameterRef),\n context,\n [\"selectedOptions\"],\n \"selected option parameter refs\",\n );\n });\n\nexport const AssuranceProgramImplementationDecisionSchema = z\n .strictObject({\n decisionRef: AssuranceNamespacedRefSchema,\n decisionVersion: z.number().int().positive(),\n objective: AssuranceObjectiveIdentitySchema,\n scopeSelectorRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n resolution: z.enum(AssuranceProgramCapabilityResolution).systemEnum('AssuranceProgramCapabilityResolution'),\n capabilitySelections: z.array(AssuranceProgramCapabilitySelectionSchema),\n selectionAuthorityRef: AssuranceNamespacedRefSchema,\n knownLimitations: z.array(z.string().trim().min(1)),\n gapDisposition: z.enum(AssuranceGapDisposition).systemEnum('AssuranceGapDisposition'),\n gapRefs: z.array(AssuranceProgramFindingIdentitySchema),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.scopeSelectorRefs, context, [\"scopeSelectorRefs\"], \"scopeSelectorRefs\");\n addUniqueSortedIssue(\n decision.capabilitySelections.map((selection) => selection.capabilityRef),\n context,\n [\"capabilitySelections\"],\n \"capability selection refs\",\n );\n addUniqueSortedIssue(decision.knownLimitations, context, [\"knownLimitations\"], \"knownLimitations\");\n addUniqueSortedIssue(\n decision.gapRefs.map((identity) => `${identity.findingRef}@${identity.findingVersion}`),\n context,\n [\"gapRefs\"],\n \"gapRefs\",\n );\n if (\n (decision.resolution === AssuranceProgramCapabilityResolution.IMPLEMENTABLE || decision.resolution === AssuranceProgramCapabilityResolution.PARTIAL) &&\n decision.capabilitySelections.length === 0\n )\n context.addIssue({\n code: \"custom\",\n message: \"IMPLEMENTABLE and PARTIAL resolutions require at least one selected capability\",\n path: [\"capabilitySelections\"],\n });\n if (decision.resolution === AssuranceProgramCapabilityResolution.UNSUPPORTED && decision.capabilitySelections.length > 0)\n context.addIssue({ code: \"custom\", message: \"UNSUPPORTED resolution cannot select an implementation capability\", path: [\"capabilitySelections\"] });\n /*\n * A HUMAN_OR_EXTERNAL resolution must SAY WHAT THE HUMAN DOES — and it may say so in prose,\n * because there is nothing for it to select.\n *\n * This required a `capabilitySelections` entry of kind `HUMAN_OR_EXTERNAL` until 2026-09-23\n * (#1273), and no producer could ever satisfy it. Measured: the authority basis declares 42\n * capabilities and every one is `ENGINE`; probed wide, `HUMAN_OR_EXTERNAL` appears in the whole\n * specifications tree only as these two enum members and this refusal. Inventing a ref does not\n * help either — the family separately refuses a selection with no declared authority\n * (`UNKNOWN_CAPABILITY`). So the requirement was doubly unsatisfiable, and it refused a producer\n * for being HONEST: on the first end-to-end journey run five obligations were correctly\n * classified as resolved by a human or external party and the programme was rejected three times\n * for it.\n *\n * The conflation underneath is worth naming, because it decides why the fix is not \"add human\n * entries to the basis\": `capabilitySelections` picks from the ENGINE capability basis, and a\n * human control (\"the security officer reviews access quarterly\") is operator-specific and can\n * never come from that basis. Two different kinds of thing were sharing one field.\n *\n * So the obligation moves to prose, which is where an operator control can actually be stated,\n * and the mechanism MARKS instead of refusing — `application-creation-directive.md`: if the\n * remedy is \"author a commitment\", it is a workflow, and a workflow never stands in front of the\n * mechanism. A selection of that kind stays LEGAL, so a future basis that does declare\n * human/external capabilities satisfies this with no change here.\n */\n if (\n decision.resolution === AssuranceProgramCapabilityResolution.HUMAN_OR_EXTERNAL &&\n !decision.capabilitySelections.some((selection) => selection.capabilityKind === AssuranceProgramCapabilityKind.HUMAN_OR_EXTERNAL) &&\n decision.knownLimitations.length === 0\n )\n context.addIssue({\n code: \"custom\",\n message:\n \"HUMAN_OR_EXTERNAL resolution must state the human or external control — either a capability selection of that kind, or at least one knownLimitations entry describing what the human or external party does\",\n path: [\"knownLimitations\"],\n });\n if (decision.gapDisposition === AssuranceGapDisposition.RESOLVED && decision.gapRefs.length > 0)\n context.addIssue({ code: \"custom\", message: \"RESOLVED disposition cannot retain open gap refs\", path: [\"gapRefs\"] });\n const openGapDisposition =\n decision.gapDisposition === AssuranceGapDisposition.OPEN ||\n decision.gapDisposition === AssuranceGapDisposition.RISK_ACCEPTED ||\n decision.gapDisposition === AssuranceGapDisposition.REMEDIATION_PLANNED;\n if (openGapDisposition && decision.gapRefs.length === 0)\n context.addIssue({ code: \"custom\", message: \"an open gap disposition requires explicit gap refs\", path: [\"gapRefs\"] });\n if (\n (decision.gapDisposition === AssuranceGapDisposition.NOT_EVALUATED || decision.gapDisposition === AssuranceGapDisposition.NOT_APPLICABLE) &&\n decision.gapRefs.length > 0\n )\n context.addIssue({ code: \"custom\", message: \"NOT_EVALUATED and NOT_APPLICABLE dispositions cannot cite gap records\", path: [\"gapRefs\"] });\n if (decision.gapDisposition === AssuranceGapDisposition.NOT_APPLICABLE)\n context.addIssue({\n code: \"custom\",\n message: \"implementation decisions cannot use NOT_APPLICABLE; applicability is decided separately per source and scope\",\n path: [\"gapDisposition\"],\n });\n if (\n (decision.resolution === AssuranceProgramCapabilityResolution.PARTIAL || decision.resolution === AssuranceProgramCapabilityResolution.UNSUPPORTED) &&\n decision.knownLimitations.length === 0\n )\n context.addIssue({ code: \"custom\", message: \"PARTIAL and UNSUPPORTED resolutions require known limitations\", path: [\"knownLimitations\"] });\n if (\n (decision.resolution === AssuranceProgramCapabilityResolution.PARTIAL || decision.resolution === AssuranceProgramCapabilityResolution.UNSUPPORTED) &&\n !openGapDisposition\n )\n context.addIssue({ code: \"custom\", message: \"PARTIAL and UNSUPPORTED resolutions require an open gap disposition\", path: [\"gapDisposition\"] });\n });\nexport type AssuranceProgramImplementationDecision = z.infer<typeof AssuranceProgramImplementationDecisionSchema>;\n\n/** Role policy, not a live assignment. Each responsibility remains semantically distinct. */\nexport const AssuranceProgramResponsibilityAssignmentSchema = z\n .strictObject({\n assignmentRef: AssuranceNamespacedRefSchema,\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n responsibleRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n operatingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n evidenceProviderRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n approvingRoleRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n escalationRoleRefs: z.array(AssuranceNamespacedRefSchema),\n })\n .superRefine((assignment, context) => {\n for (const key of [\"responsibleRoleRefs\", \"operatingRoleRefs\", \"evidenceProviderRoleRefs\", \"approvingRoleRefs\", \"escalationRoleRefs\"] as const) {\n addUniqueSortedIssue(assignment[key], context, [key], key);\n }\n });\nexport type AssuranceProgramResponsibilityAssignment = z.infer<typeof AssuranceProgramResponsibilityAssignmentSchema>;\n\nexport const AssuranceProgramGapOrExceptionSchema = z\n .strictObject({\n findingRef: AssuranceNamespacedRefSchema,\n findingVersion: z.number().int().positive(),\n kind: z.enum(AssuranceProgramFindingKind).systemEnum('AssuranceProgramFindingKind'),\n objective: AssuranceObjectiveIdentitySchema.optional(),\n source: AssuranceSourceIdentitySchema.optional(),\n scopeSelectorRef: AssuranceNamespacedRefSchema,\n scopeSelectorVersion: z.number().int().positive(),\n reason: z.string().trim().min(1),\n ownerRoleRef: AssuranceNamespacedRefSchema,\n compensatingControlRefs: z.array(AssuranceNamespacedRefSchema),\n disposition: z.enum(AssuranceGapDisposition).systemEnum('AssuranceGapDisposition'),\n authorityDecisionRef: AssuranceNamespacedRefSchema.optional(),\n /**\n * When this finding is next revisited — DERIVED from the application's declared review cadence,\n * never answered.\n *\n * OPTIONAL, and absent exactly when the application commits to no periodic review (no\n * `assuranceReviewCadence`, or `AS_NEEDED`). The programme then carries\n * `UNSCHEDULED_REVIEW_LIMITATION`, so the absence is stated where every reader of the programme\n * meets it rather than being silent.\n *\n * This was REQUIRED until 2026-09-23 (#1273), and the requirement blocked the compliance lane for\n * every newly created application: nothing in the creation lane declares a cadence and no question\n * asks for one, so a run that honestly found a gap could not record it. The obligation register\n * beside it already marked rather than refused, and the generation module's own prose already said\n * the rule — \"MARKED, never defaulted and never refused\" — so this was that rule's one unvisited\n * site (`.claude/rules/invariant-call-site-enumeration.md`).\n *\n * Never DEFAULT it. Stamping a plausible date manufactures a commitment nobody made.\n */\n reviewOn: AssuranceIsoDateSchema.optional(),\n expiresOn: AssuranceIsoDateSchema.optional(),\n reopenOnSourceChange: z.literal(true),\n reopenOnScopeChange: z.literal(true),\n })\n .superRefine((finding, context) => {\n addUniqueSortedIssue(finding.compensatingControlRefs, context, [\"compensatingControlRefs\"], \"compensatingControlRefs\");\n if (finding.kind === AssuranceProgramFindingKind.EXCEPTION && (!finding.authorityDecisionRef || !finding.expiresOn)) {\n context.addIssue({ code: \"custom\", message: \"an exception requires explicit authority and expiry\", path: [\"authorityDecisionRef\"] });\n }\n if (finding.disposition === AssuranceGapDisposition.RISK_ACCEPTED && !finding.authorityDecisionRef) {\n context.addIssue({ code: \"custom\", message: \"risk acceptance requires an authority decision\", path: [\"authorityDecisionRef\"] });\n }\n if (finding.expiresOn && finding.reviewOn !== undefined && finding.reviewOn > finding.expiresOn) {\n context.addIssue({ code: \"custom\", message: \"reviewOn cannot follow expiresOn\", path: [\"reviewOn\"] });\n }\n });\nexport type AssuranceProgramGapOrException = z.infer<typeof AssuranceProgramGapOrExceptionSchema>;\n\nconst AssuranceProgramDocumentationRequirementCommonSchema = z.strictObject({\n requirementRef: AssuranceNamespacedRefSchema,\n requirementVersion: z.number().int().positive(),\n documentKindRef: AssuranceNamespacedRefSchema,\n documentRef: AssuranceNamespacedRefSchema,\n documentVersion: z.number().int().positive(),\n requiredAcceptedFactRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n requiredVariableRefs: z.array(AssuranceNamespacedRefSchema),\n classificationPolicyRef: AssuranceNamespacedRefSchema,\n storagePolicyRef: AssuranceNamespacedRefSchema,\n approvingRoleRefs: z.array(AssuranceNamespacedRefSchema),\n sourceRefs: z.array(AssuranceSourceIdentitySchema),\n contentIdentityRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n});\n\n/** Retained pre-document-authority shape. Parse/replay only; current application authoring uses v2. */\nexport const AssuranceProgramDocumentationRequirementV1Schema = AssuranceProgramDocumentationRequirementCommonSchema.extend({\n approvalRequirement: z.enum(AssuranceProgramDocumentApprovalRequirement).systemEnum('AssuranceProgramDocumentApprovalRequirement'),\n}).superRefine((requirement, context) => {\n addUniqueSortedIssue(requirement.requiredAcceptedFactRefs, context, [\"requiredAcceptedFactRefs\"], \"requiredAcceptedFactRefs\");\n addUniqueSortedIssue(requirement.requiredVariableRefs, context, [\"requiredVariableRefs\"], \"requiredVariableRefs\");\n addUniqueSortedIssue(requirement.approvingRoleRefs, context, [\"approvingRoleRefs\"], \"approvingRoleRefs\");\n addUniqueSortedIssue(\n requirement.sourceRefs.map((source) => `${source.sourceRef}@${source.sourceVersion}`),\n context,\n [\"sourceRefs\"],\n \"sourceRefs\",\n );\n addUniqueSortedIssue(requirement.contentIdentityRefs, context, [\"contentIdentityRefs\"], \"contentIdentityRefs\");\n if (requirement.approvalRequirement === AssuranceProgramDocumentApprovalRequirement.APPROVAL_REQUIRED && requirement.approvingRoleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"approval-required documentation needs at least one approving role\", path: [\"approvingRoleRefs\"] });\n }\n if (requirement.approvalRequirement === AssuranceProgramDocumentApprovalRequirement.NO_APPROVAL_REQUIRED && requirement.approvingRoleRefs.length > 0) {\n context.addIssue({ code: \"custom\", message: \"documentation without approval cannot declare approving roles\", path: [\"approvingRoleRefs\"] });\n }\n});\n\n/** Current document requirement bound to an engine-owned definition and an explicit application applicability decision. */\nexport const AssuranceProgramDocumentationRequirementV2Schema = AssuranceProgramDocumentationRequirementCommonSchema.extend({\n schemaVersion: z.literal(2),\n definition: GovernedDocumentDefinitionIdentitySchema,\n governanceScope: GovernedDocumentGovernanceScopeSchema,\n applicabilityStatus: z.enum(GovernedDocumentApplicabilityStatus).systemEnum('GovernedDocumentApplicabilityStatus'),\n applicabilityRationale: z.string().trim().min(1),\n applicabilityDecidedByRef: AssuranceNamespacedRefSchema,\n applicabilityDecidedAt: AssuranceIsoDateTimeSchema,\n applicabilityDependencyRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n audienceKinds: z.array(z.enum(GovernedDocumentAudienceKind).systemEnum('GovernedDocumentAudienceKind')).min(1),\n requiredReviewKinds: z.array(z.enum(GovernedDocumentReviewKind).systemEnum('GovernedDocumentReviewKind')).min(1),\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind).systemEnum('GovernedDocumentInteractionKind')),\n publicationChannelKinds: z.array(z.enum(GovernedDocumentPublicationChannelKind).systemEnum('GovernedDocumentPublicationChannelKind')).min(1),\n}).superRefine((requirement, context) => {\n for (const [key, values] of [\n [\"requiredAcceptedFactRefs\", requirement.requiredAcceptedFactRefs],\n [\"requiredVariableRefs\", requirement.requiredVariableRefs],\n [\"approvingRoleRefs\", requirement.approvingRoleRefs],\n [\"contentIdentityRefs\", requirement.contentIdentityRefs],\n [\"applicabilityDependencyRefs\", requirement.applicabilityDependencyRefs],\n [\"audienceKinds\", requirement.audienceKinds],\n [\"requiredReviewKinds\", requirement.requiredReviewKinds],\n [\"allowedInteractionKinds\", requirement.allowedInteractionKinds],\n [\"publicationChannelKinds\", requirement.publicationChannelKinds],\n ] as const)\n addUniqueSortedIssue(values, context, [key], key);\n addUniqueSortedIssue(\n requirement.sourceRefs.map((source) => `${source.sourceRef}@${source.sourceVersion}`),\n context,\n [\"sourceRefs\"],\n \"sourceRefs\",\n );\n if (requirement.applicabilityStatus === GovernedDocumentApplicabilityStatus.APPLICABLE && requirement.approvingRoleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"an applicable governed document requires at least one approving role\", path: [\"approvingRoleRefs\"] });\n }\n});\nexport type AssuranceProgramDocumentationRequirementV2 = z.infer<typeof AssuranceProgramDocumentationRequirementV2Schema>;\n\nexport const AssuranceProgramDocumentationRequirementSchema = z.union([\n AssuranceProgramDocumentationRequirementV1Schema,\n AssuranceProgramDocumentationRequirementV2Schema,\n]);\nexport type AssuranceProgramDocumentationRequirement = z.infer<typeof AssuranceProgramDocumentationRequirementSchema>;\n\n/**\n * Whether an issue is a statement about the authored specification or about the host it was accepted against.\n *\n * An accepted assurance program is a point-in-time governance decision over exact implementation bytes. The host\n * that resolves those bytes keeps moving underneath it. Collapsing both situations into one \"invalid\" verdict is\n * what forces an operator to choose between a dead runtime and deleting the acceptance record — so the two are\n * separated here, in the contract, rather than guessed at by each consumer.\n *\n * - `SPECIFICATION_DEFECT` — the authored bytes are wrong: an unknown objective, a self-inconsistent digest, an\n * expired exception, a capability the host does not offer at all. Nothing the host can do makes these correct.\n * Consumers must fail closed.\n * - `HOST_ATTESTATION_INVALID` — the authored bytes are not implicated; the host's own authority snapshot fails\n * its integrity checks. A corrupt attestation cannot authorize anything, so consumers must also fail closed —\n * but the fault, and therefore the remediation, is the host's compiled basis, not the specification. This class\n * exists so an operator is not sent to debug a specification that is fine.\n * - `HOST_DIVERGENCE` — the authored bytes are well-formed and internally consistent, the host attestation is\n * sound, and the host's view of the implementation has simply moved since acceptance. This is an assurance\n * *finding* — the program needs re-accepting against the new implementation — and consumers that record it\n * durably may continue operating.\n *\n * Two of the three classes fail closed. The classes are not a severity scale: they name *which artifact is at\n * fault*, and only `HOST_DIVERGENCE` is re-acceptable. Do not collapse the two fail-closed classes back together\n * on the grounds that they behave alike — the behaviour is shared, the diagnosis is not.\n *\n * Tolerating `HOST_DIVERGENCE` is only meaningful where a host authority exists to diverge from. A consumer\n * validating a specification with no external authority never observes it.\n */\nexport enum AssuranceProgramSpecificationIssueClass {\n SPECIFICATION_DEFECT = \"SPECIFICATION_DEFECT\",\n HOST_ATTESTATION_INVALID = \"HOST_ATTESTATION_INVALID\",\n HOST_DIVERGENCE = \"HOST_DIVERGENCE\",\n}\n\nexport enum AssuranceProgramSpecificationIssueKind {\n AUTHORITY_SNAPSHOT_DIGEST_MISMATCH = \"AUTHORITY_SNAPSHOT_DIGEST_MISMATCH\",\n AUTHORITY_SNAPSHOT_INVALID = \"AUTHORITY_SNAPSHOT_INVALID\",\n AMBIGUOUS_APPLICABILITY = \"AMBIGUOUS_APPLICABILITY\",\n /**\n * The host offers this exact capability with the same kind and implementation refs, but its implementation\n * revision has moved since the program was accepted. The control is still present and still the same control —\n * only the bytes implementing it changed. Distinct from `UNKNOWN_CAPABILITY`, which means the host does not\n * offer the claimed capability at all.\n */\n HOST_CAPABILITY_IMPLEMENTATION_DRIFT = \"HOST_CAPABILITY_IMPLEMENTATION_DRIFT\",\n /** The host supplies a valid authority basis, but it is not the exact basis identity accepted by the v2/v3 program. */\n HOST_AUTHORITY_BASIS_DRIFT = \"HOST_AUTHORITY_BASIS_DRIFT\",\n /**\n * An artifact pinned by an accepted source revision no longer matches the host-resolved implementation bytes.\n * Distinct from `UNKNOWN_SOURCE_REVISION`, which means the specification references a revision it never declared\n * — an internal inconsistency in the authored bytes rather than a statement about the host.\n */\n HOST_IMPLEMENTATION_ARTIFACT_DRIFT = \"HOST_IMPLEMENTATION_ARTIFACT_DRIFT\",\n AMBIGUOUS_CONTROL_BINDING = \"AMBIGUOUS_CONTROL_BINDING\",\n AMBIGUOUS_OBLIGATION_BINDING = \"AMBIGUOUS_OBLIGATION_BINDING\",\n AMBIGUOUS_SHARED_RESPONSIBILITY_RULE = \"AMBIGUOUS_SHARED_RESPONSIBILITY_RULE\",\n AMBIGUOUS_IMPLEMENTATION_DECISION = \"AMBIGUOUS_IMPLEMENTATION_DECISION\",\n INCOMPLETE_APPLICABILITY = \"INCOMPLETE_APPLICABILITY\",\n INCOMPLETE_IMPLEMENTATION_DECISION = \"INCOMPLETE_IMPLEMENTATION_DECISION\",\n INCOMPLETE_RESPONSIBILITY_ASSIGNMENT = \"INCOMPLETE_RESPONSIBILITY_ASSIGNMENT\",\n DOCUMENT_AUTHORITY_CATALOG_DIGEST_MISMATCH = \"DOCUMENT_AUTHORITY_CATALOG_DIGEST_MISMATCH\",\n DOCUMENT_AUTHORITY_CATALOG_INVALID = \"DOCUMENT_AUTHORITY_CATALOG_INVALID\",\n OBJECTIVE_CATALOG_DIGEST_MISMATCH = \"OBJECTIVE_CATALOG_DIGEST_MISMATCH\",\n OBLIGATION_DEPENDENCY_CYCLE = \"OBLIGATION_DEPENDENCY_CYCLE\",\n OBLIGATION_GOVERNANCE_DIGEST_MISMATCH = \"OBLIGATION_GOVERNANCE_DIGEST_MISMATCH\",\n OBLIGATION_REGISTER_DIGEST_MISMATCH = \"OBLIGATION_REGISTER_DIGEST_MISMATCH\",\n RELATIONSHIP_MISMATCH = \"RELATIONSHIP_MISMATCH\",\n SOURCE_AUTHORITY_MISMATCH = \"SOURCE_AUTHORITY_MISMATCH\",\n SOURCE_IDENTITY_DIGEST_MISMATCH = \"SOURCE_IDENTITY_DIGEST_MISMATCH\",\n SOURCE_LIFECYCLE_CONFLICT = \"SOURCE_LIFECYCLE_CONFLICT\",\n SOURCE_REGISTRY_DIGEST_MISMATCH = \"SOURCE_REGISTRY_DIGEST_MISMATCH\",\n SOURCE_RIGHTS_UNAUTHORIZED = \"SOURCE_RIGHTS_UNAUTHORIZED\",\n SOURCE_REVISION_DIGEST_MISMATCH = \"SOURCE_REVISION_DIGEST_MISMATCH\",\n TEMPORAL_POLICY_CONFLICT = \"TEMPORAL_POLICY_CONFLICT\",\n UNKNOWN_APPLICABILITY_SOURCE = \"UNKNOWN_APPLICABILITY_SOURCE\",\n UNKNOWN_BINDING_SOURCE = \"UNKNOWN_BINDING_SOURCE\",\n /**\n * The host does not offer the claimed capability at all, offers it under a different capability kind, or resolves\n * it to different implementation refs. No host state makes the authored claim true. For a capability that is\n * present and unchanged except for its implementation revision, see `HOST_CAPABILITY_IMPLEMENTATION_DRIFT`.\n */\n UNKNOWN_CAPABILITY = \"UNKNOWN_CAPABILITY\",\n /**\n * An expectation this program claims REQUIRES a capability the application's own configuration does\n * not make available, because the engine capability that carries it is not enabled.\n *\n * Distinct from `RELATIONSHIP_MISMATCH`, which reads as \"the accepted statement forgot to bind\n * something\", and from `UNKNOWN_CAPABILITY`, which is about a capability the program CLAIMS. Here\n * nothing was forgotten and nothing is claimed wrongly: the control simply cannot be attested with\n * this configuration, and no amount of re-authoring the statement changes that. Reported separately\n * because the two remedies are opposites — bind the capability, versus enable the engine capability\n * or stop claiming the objective.\n *\n * The issue carries the resulting applicability so the reader does not have to derive it: an\n * objective whose expectation required ONLY unavailable capabilities is `NOT_APPLICABLE`, while one\n * that also required an available capability is `UNDETERMINED` — the control operates and only the\n * capability attesting it is absent. See `deriveExpectationCapabilityApplicability`.\n */\n REQUIRED_CAPABILITY_UNAVAILABLE = \"REQUIRED_CAPABILITY_UNAVAILABLE\",\n UNKNOWN_DOCUMENT = \"UNKNOWN_DOCUMENT\",\n UNKNOWN_DOCUMENT_SOURCE = \"UNKNOWN_DOCUMENT_SOURCE\",\n UNKNOWN_FINDING = \"UNKNOWN_FINDING\",\n /** An authored v1 inventory or v2/v3 attested-ref set names an artifact which the host authority does not inventory. */\n UNKNOWN_IMPLEMENTATION_ARTIFACT = \"UNKNOWN_IMPLEMENTATION_ARTIFACT\",\n UNKNOWN_OBJECTIVE = \"UNKNOWN_OBJECTIVE\",\n UNKNOWN_OBLIGATION_GOVERNANCE_RECORD = \"UNKNOWN_OBLIGATION_GOVERNANCE_RECORD\",\n UNKNOWN_ROLE = \"UNKNOWN_ROLE\",\n UNKNOWN_SCOPE_SELECTOR = \"UNKNOWN_SCOPE_SELECTOR\",\n UNKNOWN_SOURCE_AUTHORITY = \"UNKNOWN_SOURCE_AUTHORITY\",\n UNKNOWN_SOURCE_REQUIREMENT = \"UNKNOWN_SOURCE_REQUIREMENT\",\n /**\n * The specification references a source revision it never declared — an internal inconsistency in the authored\n * bytes. For a declared revision whose artifact bytes no longer match the host, see\n * `HOST_IMPLEMENTATION_ARTIFACT_DRIFT`.\n */\n UNKNOWN_SOURCE_REVISION = \"UNKNOWN_SOURCE_REVISION\",\n UNKNOWN_VALIDATION_AUTHORITY = \"UNKNOWN_VALIDATION_AUTHORITY\",\n}\n\nexport interface AssuranceProgramSpecificationIssue {\n readonly kind: AssuranceProgramSpecificationIssueKind;\n readonly path: string;\n readonly message: string;\n /**\n * Stable semantic subject of a recordable host-divergence issue.\n *\n * Required on every `HOST_DIVERGENCE` producer and deliberately independent of diagnostic prose and array-path\n * rendering. Durable replay compares `(kind, subjectRef)`; `message` remains operator-facing explanation only.\n * Non-recordable issues may omit it because they are always refused rather than persisted as accepted tolerance.\n */\n readonly subjectRef?: string;\n}\n\n/**\n * The one runtime source classifying every issue kind.\n *\n * Exhaustive by construction: the `Record` key type is the enum itself, so adding a kind without deciding whether\n * it describes the specification or the host is a compile error rather than a silent default. Do not replace this\n * with a predicate over name prefixes — the classification is a semantic decision per kind, not a naming pattern.\n *\n * Every kind maps to exactly one class. That is only well-defined because kinds that previously carried both\n * meanings were split: `UNKNOWN_CAPABILITY` / `HOST_CAPABILITY_IMPLEMENTATION_DRIFT` and\n * `UNKNOWN_SOURCE_REVISION` / `HOST_IMPLEMENTATION_ARTIFACT_DRIFT`. Merging either pair back would make this\n * mapping lossy and silently re-enable tolerance of genuine specification defects.\n */\nexport const ASSURANCE_PROGRAM_SPECIFICATION_ISSUE_CLASS_BY_KIND: Readonly<\n Record<AssuranceProgramSpecificationIssueKind, AssuranceProgramSpecificationIssueClass>\n> = {\n [AssuranceProgramSpecificationIssueKind.HOST_CAPABILITY_IMPLEMENTATION_DRIFT]: AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE,\n [AssuranceProgramSpecificationIssueKind.HOST_AUTHORITY_BASIS_DRIFT]: AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE,\n [AssuranceProgramSpecificationIssueKind.HOST_IMPLEMENTATION_ARTIFACT_DRIFT]: AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE,\n [AssuranceProgramSpecificationIssueKind.AUTHORITY_SNAPSHOT_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.AUTHORITY_SNAPSHOT_INVALID]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_APPLICABILITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_CONTROL_BINDING]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_OBLIGATION_BINDING]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_SHARED_RESPONSIBILITY_RULE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.AMBIGUOUS_IMPLEMENTATION_DECISION]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.INCOMPLETE_IMPLEMENTATION_DECISION]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_INVALID]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.OBJECTIVE_CATALOG_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.OBLIGATION_DEPENDENCY_CYCLE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.OBLIGATION_GOVERNANCE_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.OBLIGATION_REGISTER_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n /*\n * SPECIFICATION_DEFECT, and deliberately NOT host divergence: nothing has drifted and there is no\n * newer host state to re-accept. The program claims an objective this application's configuration\n * forecloses, which is a statement about the authored program rather than about the host moving.\n */\n [AssuranceProgramSpecificationIssueKind.REQUIRED_CAPABILITY_UNAVAILABLE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n /*\n * Deliberately a specification defect, not host attestation: the host record is internally sound and the program\n * simply disagrees with it. That is equally consistent with a mis-transcribed reference and with host metadata\n * moving on, and tolerance is the dangerous direction — so this stays fail-closed and spec-pointing until a\n * concrete case proves it is drift.\n */\n [AssuranceProgramSpecificationIssueKind.SOURCE_AUTHORITY_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n /* The host registry record's own identity digest does not match its own canonical bytes — nothing to do with the program. */\n [AssuranceProgramSpecificationIssueKind.SOURCE_IDENTITY_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.SOURCE_LIFECYCLE_CONFLICT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.SOURCE_REGISTRY_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.HOST_ATTESTATION_INVALID,\n [AssuranceProgramSpecificationIssueKind.SOURCE_RIGHTS_UNAUTHORIZED]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.SOURCE_REVISION_DIGEST_MISMATCH]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_APPLICABILITY_SOURCE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_BINDING_SOURCE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT_SOURCE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_FINDING]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_IMPLEMENTATION_ARTIFACT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_ROLE]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_AUTHORITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REQUIREMENT]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REVISION]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n [AssuranceProgramSpecificationIssueKind.UNKNOWN_VALIDATION_AUTHORITY]: AssuranceProgramSpecificationIssueClass.SPECIFICATION_DEFECT,\n};\n\n/**\n * What an application's enabled capability set does to ONE expectation's demand.\n *\n * A capability an application has not enabled is filtered out of its authority snapshot, so an\n * expectation requiring it can never be satisfied there. The question this answers is what that\n * SHOULD mean, and the answer differs by whether the missing capability IS the control or merely\n * attests one:\n *\n * | required capabilities available | status | reading |\n * |---|---|---|\n * | all | `APPLICABLE` | nothing stands in the way |\n * | none | `NOT_APPLICABLE` | the absent capability IS the control; there is nothing to claim |\n * | some | `UNDETERMINED` | the control operates, and the capability that would ATTEST it is absent |\n *\n * The middle and last rows are the distinction that matters, and collapsing them is the trap. Treating\n * a partly-available expectation as `NOT_APPLICABLE` would let an application escape a control it\n * genuinely implements — a consent record is still written, an administrative floor still refuses —\n * merely by leaving the capability that reports those acts switched off. Treating it as `APPLICABLE`\n * would claim evidence nobody can produce. `UNDETERMINED` is the only one of the three that is true.\n *\n * Deliberately a pure function of two sets, so the same rule serves validation, program generation and\n * anything that wants to warn an application builder BEFORE a run: one rule, one place to read it.\n */\nexport function deriveExpectationCapabilityApplicability(input: {\n readonly requiredCapabilityRefs: readonly string[];\n readonly availableCapabilityRefs: ReadonlySet<string>;\n}): {\n readonly status: AssuranceProgramApplicabilityStatus;\n readonly unavailableCapabilityRefs: readonly string[];\n} {\n const unavailableCapabilityRefs = input.requiredCapabilityRefs.filter((capabilityRef) => !input.availableCapabilityRefs.has(capabilityRef));\n if (unavailableCapabilityRefs.length === 0) return { status: AssuranceProgramApplicabilityStatus.APPLICABLE, unavailableCapabilityRefs };\n /*\n * An expectation authority always declares at least one required capability (its schema sets\n * `.min(1)`), so \"every required capability is unavailable\" cannot be reached vacuously by an empty\n * demand — which would otherwise report NOT_APPLICABLE for an expectation that demanded nothing.\n */\n const status =\n unavailableCapabilityRefs.length === input.requiredCapabilityRefs.length\n ? AssuranceProgramApplicabilityStatus.NOT_APPLICABLE\n : AssuranceProgramApplicabilityStatus.UNDETERMINED;\n return { status, unavailableCapabilityRefs };\n}\n\n/** Classifies one issue as a statement about the specification or about the host. */\nexport function classifyAssuranceProgramSpecificationIssue(issue: Pick<AssuranceProgramSpecificationIssue, \"kind\">): AssuranceProgramSpecificationIssueClass {\n return ASSURANCE_PROGRAM_SPECIFICATION_ISSUE_CLASS_BY_KIND[issue.kind];\n}\n\n/**\n * True when every supplied issue is host divergence — the caller may record a finding and continue.\n *\n * Fails closed on an empty set: \"no issues\" is not host divergence, and a caller that reaches this helper with\n * nothing to classify has already lost the distinction it needs. Callers must gate on validity first.\n */\nexport function assuranceProgramIssuesAreOnlyHostDivergence(issues: readonly Pick<AssuranceProgramSpecificationIssue, \"kind\" | \"subjectRef\">[]): boolean {\n return (\n issues.length > 0 &&\n issues.every(\n (issue) =>\n classifyAssuranceProgramSpecificationIssue(issue) === AssuranceProgramSpecificationIssueClass.HOST_DIVERGENCE &&\n typeof issue.subjectRef === \"string\" &&\n issue.subjectRef.length > 0,\n )\n );\n}\n\n/**\n * External authorities required to validate claims that cannot be proven from application-authored bytes alone.\n * A host may supply a larger registry without changing the core model; source names never become branches.\n */\nexport interface AssuranceProgramValidationAuthorities {\n readonly snapshot: AssuranceProgramValidationAuthoritySnapshot;\n}\n\n/** Basis-pinned implementation statement used by current assurance-program versions. */\nexport const AssuranceProgramImplementationStatementV2Schema = z\n .strictObject({\n schemaVersion: z.literal(2),\n ...AssuranceImplementationStatementCommonFieldsSchema.shape,\n basisRef: AssuranceNamespacedRefSchema,\n basisVersion: z.number().int().positive(),\n })\n .superRefine(addAssuranceImplementationStatementCommonIssues);\nexport type AssuranceProgramImplementationStatementV2 = z.infer<typeof AssuranceProgramImplementationStatementV2Schema>;\n\nconst AssuranceProgramCommonFieldsBeforeObjectiveBindingsSchema = z.strictObject({\n programRef: AssuranceNamespacedRefSchema,\n programVersion: z.number().int().positive(),\n sourceReferences: z.array(AssuranceProgramSourceReferenceSchema).min(1),\n scopeSelectors: z.array(AssuranceProgramScopeSelectorSchema).min(1),\n applicabilityDecisions: z.array(AssuranceProgramApplicabilityDecisionSchema).min(1),\n});\n\nconst AssuranceProgramCommonFieldsAfterObjectiveBindingsSchema = z.strictObject({\n implementationDecisions: z.array(AssuranceProgramImplementationDecisionSchema),\n responsibilityAssignments: z.array(AssuranceProgramResponsibilityAssignmentSchema).min(1),\n gapsAndExceptions: z.array(AssuranceProgramGapOrExceptionSchema),\n documentationRequirements: z.array(AssuranceProgramDocumentationRequirementSchema),\n knownProgramLimitations: z.array(z.string().trim().min(1)),\n});\n\n/** Byte-identical common shape retained by v1/v2 programs. */\nconst AssuranceProgramHistoricalCommonFieldsSchema = z.strictObject({\n ...AssuranceProgramCommonFieldsBeforeObjectiveBindingsSchema.shape,\n controlObjectiveBindings: z.array(AssuranceProgramControlObjectiveBindingSchema).min(1),\n ...AssuranceProgramCommonFieldsAfterObjectiveBindingsSchema.shape,\n});\n\n/** Current program shape: obligation entries replace, rather than duplicate, historical control-objective bindings. */\nconst AssuranceProgramV3CommonFieldsSchema = z.strictObject({\n ...AssuranceProgramCommonFieldsBeforeObjectiveBindingsSchema.shape,\n obligationRegister: AssuranceProgramObligationRegisterSchema,\n obligationCoverageDecisions: z.array(AssuranceProgramObligationCoverageDecisionSchema).min(1),\n sharedResponsibilityRules: z.array(AssuranceProgramSharedResponsibilityRuleSchema),\n ...AssuranceProgramCommonFieldsAfterObjectiveBindingsSchema.shape,\n});\n\n/**\n * Historical source-revision-pinned program. Retained payloads remain parseable and replayable.\n *\n * This said \"new authoring is forbidden by the repository pin checker\" until 2026-09-01. **Nothing forbids it.** That checker was\n * `pnpm check:assurance-revision-pin`, removed on 2026-08-27 with the rest of the digest mechanism, and no successor exists — the\n * only assurance check in `package.json` is `check:assurance-control-boundary`, which is about marker source-neutrality.\n *\n * So v1 is discouraged by this comment and by nothing else. A safety claim standing on a removed mechanism is worse than no claim,\n * because a reader stops looking for the guard. Building one is #221; until it lands, \"forbidden\" means \"please do not\".\n */\nexport const AssuranceProgramSpecificationV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n ...AssuranceProgramHistoricalCommonFieldsSchema.shape,\n sourceRevisions: z.array(AssuranceProgramSourceRevisionSchema).min(1),\n roleAuthorities: z.array(AssuranceProgramRoleAuthoritySchema).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilityAuthoritySchema),\n implementationStatements: z.array(AssuranceImplementationStatementSchema),\n })\n .superRefine(addAssuranceProgramSpecificationIssues);\nexport type AssuranceProgramSpecificationV1 = z.infer<typeof AssuranceProgramSpecificationV1Schema>;\n\n/**\n * Retained basis-pinned application program: exactly one basis identity plus readable refs to the attested engine artifacts.\n *\n * Validation authorities currently carry one sealed basis snapshot. Accepting several authored bases would make\n * every extra basis compare against the wrong inventory and could misclassify an unverified authority as tolerable\n * host drift. Multi-basis composition therefore requires a later schema version with basis-indexed snapshots.\n *\n * This claimed a \"repository checker\" recognized v2 authoring \"only through the serialized pre-v3 transition\" until\n * 2026-09-01. There is no such checker — see the note on {@link AssuranceProgramSpecificationV1Schema}. The intent\n * stands and is worth keeping: after an application accepts v3, v2 should remain replayable rather than become a\n * second current authoring shape. It is an intent, not an enforced one (#221).\n *\n * Exactly one v2 programme exists today, in the framework's own reference application, and it is the only\n * assurance programme the framework ships an example of. Wonder CRM has none: what it carries is a PROCESSOR REGISTER, whose `schemaVersion: 1` belongs to\n * `ApplicationProcessorRegisterSchema` and must not be counted as a v1 programme.\n *\n * (An earlier revision named a `specifications/src/compliance/index.ts` register for the reference application, a\n * path it has never had — a processor register is authored under `specifications/src/processor-register/`. The\n * warning is kept because the confusion is real; the file-name half of it was not.)\n */\nexport const AssuranceProgramSpecificationV2Schema = z\n .strictObject({\n schemaVersion: z.literal(2),\n ...AssuranceProgramHistoricalCommonFieldsSchema.shape,\n authorityBases: z.array(AssuranceProgramAuthorityBasisReferenceSchema).length(1),\n roleAuthorities: z.array(AssuranceProgramRoleAuthorityV2Schema).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilityAuthorityV2Schema),\n implementationStatements: z.array(AssuranceProgramImplementationStatementV2Schema),\n })\n .superRefine(addAssuranceProgramSpecificationIssues);\nexport type AssuranceProgramSpecificationV2 = z.infer<typeof AssuranceProgramSpecificationV2Schema>;\n\n/**\n * Current application program. It preserves the v2 single-basis authority model while replacing the overlapping\n * control-objective-binding array with one complete obligation register and its program-owned review\n * records. Activation and operating/evidence truth remain deliberately unrepresentable.\n */\nexport const AssuranceProgramSpecificationV3Schema = z\n .strictObject({\n schemaVersion: z.literal(3),\n ...AssuranceProgramV3CommonFieldsSchema.shape,\n authorityBases: z.array(AssuranceProgramAuthorityBasisReferenceSchema).length(1),\n roleAuthorities: z.array(AssuranceProgramRoleAuthorityV2Schema).min(1),\n capabilityAuthorities: z.array(AssuranceProgramCapabilityAuthorityV2Schema),\n implementationStatements: z.array(AssuranceProgramImplementationStatementV2Schema),\n })\n .superRefine(addAssuranceProgramSpecificationIssues);\nexport type AssuranceProgramSpecificationV3 = z.infer<typeof AssuranceProgramSpecificationV3Schema>;\n\n/**\n * Accepted application compliance policy. Organization-specific occurrences,\n * assignees, reviewer identities, evidence bytes and assessment claims are\n * intentionally unrepresentable and belong to authorized runtime records.\n */\nexport const AssuranceProgramSpecificationSchema = z.discriminatedUnion(\"schemaVersion\", [\n AssuranceProgramSpecificationV1Schema,\n AssuranceProgramSpecificationV2Schema,\n AssuranceProgramSpecificationV3Schema,\n]);\nexport type AssuranceProgramSpecification = z.infer<typeof AssuranceProgramSpecificationSchema>;\n\nexport type AssuranceProgramObjectiveBindingView = Readonly<{\n bindingRef: AssuranceProgramControlObjectiveBinding[\"bindingRef\"];\n objective: AssuranceProgramControlObjectiveBinding[\"objective\"];\n scopeSelectorRefs: AssuranceProgramControlObjectiveBinding[\"scopeSelectorRefs\"];\n sourceRequirementRefs: AssuranceProgramControlObjectiveBinding[\"sourceRequirementRefs\"];\n implementationExpectationRefs: AssuranceProgramControlObjectiveBinding[\"implementationExpectationRefs\"];\n evidenceExpectationRefs: AssuranceProgramControlObjectiveBinding[\"evidenceExpectationRefs\"];\n verificationExpectationRefs: AssuranceProgramControlObjectiveBinding[\"verificationExpectationRefs\"];\n requiredProofStage: AssuranceProgramProofStage;\n}>;\n\n/** One normalized read view keeps historical control bindings and current obligation entries on the same validator path. */\nexport const resolveAssuranceProgramObjectiveBindings = (program: AssuranceProgramSpecification): readonly AssuranceProgramObjectiveBindingView[] =>\n program.schemaVersion === 3\n ? program.obligationRegister.entries.map((entry) => ({\n bindingRef: entry.obligationRef,\n objective: entry.objective,\n scopeSelectorRefs: entry.scopeSelectorRefs,\n sourceRequirementRefs: entry.sourceRequirementRefs,\n implementationExpectationRefs: entry.implementationExpectationRefs,\n evidenceExpectationRefs: entry.evidenceExpectationRefs,\n verificationExpectationRefs: entry.verificationExpectationRefs,\n requiredProofStage: entry.requiredProofStage,\n }))\n : program.controlObjectiveBindings;\n\nconst assuranceProgramObjectiveBindingCollectionPath = (program: AssuranceProgramSpecification): string =>\n program.schemaVersion === 3 ? \"obligationRegister.entries\" : \"controlObjectiveBindings\";\n\nconst stringSetsIntersectOrEitherIsWildcard = (left: readonly string[], right: readonly string[]): boolean =>\n left.length === 0 || right.length === 0 || left.some((value) => right.includes(value));\n\n/**\n * Conservative source-level overlap proof for obligation uniqueness.\n *\n * Empty jurisdiction/data/organization-rule dimensions are wildcards. A false result proves disjointness from the\n * authored selectors; a true result only means they may overlap and therefore cannot independently govern the same\n * objective without creating two accepted answers for one subject.\n */\nconst assuranceProgramScopeSelectorsMayOverlap = (left: AssuranceProgramScopeSelector, right: AssuranceProgramScopeSelector): boolean =>\n left.systemBoundaryRefs.some((value) => right.systemBoundaryRefs.includes(value)) &&\n stringSetsIntersectOrEitherIsWildcard(left.jurisdictionRefs, right.jurisdictionRefs) &&\n stringSetsIntersectOrEitherIsWildcard(left.dataCategoryRefs, right.dataCategoryRefs) &&\n stringSetsIntersectOrEitherIsWildcard(left.organizationScopeRuleRefs, right.organizationScopeRuleRefs);\n\nfunction addAssuranceProgramSpecificationIssues(program: AssuranceProgramSpecification, context: z.RefinementCtx): void {\n const objectiveBindings = resolveAssuranceProgramObjectiveBindings(program);\n const objectiveBindingCollectionPath = assuranceProgramObjectiveBindingCollectionPath(program);\n const orderedRefs: Array<[readonly string[], PropertyKey[], string]> = [\n [\n program.schemaVersion === 1\n ? program.sourceRevisions.map((revision) => revision.sourceRevisionRef)\n : program.authorityBases.map((basis) => `${basis.basisRef}@${basis.basisVersion}`),\n [program.schemaVersion === 1 ? \"sourceRevisions\" : \"authorityBases\"],\n program.schemaVersion === 1 ? \"sourceRevisions\" : \"authorityBases\",\n ],\n [program.roleAuthorities.map((authority) => authority.roleRef), [\"roleAuthorities\"], \"roleAuthorities\"],\n [program.capabilityAuthorities.map((authority) => versionedCapabilityKey(authority.identity)), [\"capabilityAuthorities\"], \"capabilityAuthorities\"],\n [program.sourceReferences.map((source) => versionedSourceKey(source.identity)), [\"sourceReferences\"], \"sourceReferences\"],\n [program.scopeSelectors.map((scope) => scope.scopeSelectorRef), [\"scopeSelectors\"], \"scopeSelectors\"],\n [program.applicabilityDecisions.map((decision) => decision.decisionRef), [\"applicabilityDecisions\"], \"applicabilityDecisions\"],\n [objectiveBindings.map((binding) => binding.bindingRef), objectiveBindingCollectionPath.split(\".\"), objectiveBindingCollectionPath],\n [program.implementationDecisions.map((decision) => decision.decisionRef), [\"implementationDecisions\"], \"implementationDecisions\"],\n [program.responsibilityAssignments.map((assignment) => assignment.assignmentRef), [\"responsibilityAssignments\"], \"responsibilityAssignments\"],\n [program.gapsAndExceptions.map((finding) => finding.findingRef), [\"gapsAndExceptions\"], \"gapsAndExceptions\"],\n [program.documentationRequirements.map((requirement) => requirement.requirementRef), [\"documentationRequirements\"], \"documentationRequirements\"],\n [program.implementationStatements.map((statement) => statement.statementRef), [\"implementationStatements\"], \"implementationStatements\"],\n [program.knownProgramLimitations, [\"knownProgramLimitations\"], \"knownProgramLimitations\"],\n ];\n if (program.schemaVersion === 3) {\n orderedRefs.push(\n [\n program.obligationCoverageDecisions.map((decision) => `${decision.coverageDecisionRef}@${decision.coverageDecisionVersion}`),\n [\"obligationCoverageDecisions\"],\n \"obligationCoverageDecisions\",\n ],\n [\n program.sharedResponsibilityRules.map((rule) => `${rule.sharedResponsibilityRuleRef}@${rule.sharedResponsibilityRuleVersion}`),\n [\"sharedResponsibilityRules\"],\n \"sharedResponsibilityRules\",\n ],\n );\n }\n orderedRefs.forEach(([values, path, label]) => addUniqueSortedIssue(values, context, path, label));\n const documentIdentities = program.documentationRequirements.map(versionedDocumentKey);\n if (!valuesAreUnique(documentIdentities))\n context.addIssue({ code: \"custom\", message: \"document identities must be unique\", path: [\"documentationRequirements\"] });\n const responsibilityScopes = program.responsibilityAssignments.map((assignment) => assignment.scopeSelectorRef);\n if (!valuesAreUnique(responsibilityScopes))\n context.addIssue({ code: \"custom\", message: \"each scope can have only one responsibility assignment\", path: [\"responsibilityAssignments\"] });\n collectAssuranceProgramSpecificationIssues(program).forEach((issue) => {\n context.addIssue({ code: \"custom\", message: `[${issue.kind}] ${issue.message}`, path: issue.path.split(\".\") });\n });\n}\n\nfunction collectAssuranceProgramSpecificationIssues(program: AssuranceProgramSpecification): AssuranceProgramSpecificationIssue[] {\n const objectiveBindings = resolveAssuranceProgramObjectiveBindings(program);\n const objectiveBindingCollectionPath = assuranceProgramObjectiveBindingCollectionPath(program);\n const sourceKeys = new Set(program.sourceReferences.map((source) => versionedSourceKey(source.identity)));\n const scopeByRef = new Map(program.scopeSelectors.map((scope) => [scope.scopeSelectorRef, scope]));\n const objectiveKeys = new Set(objectiveBindings.map((binding) => versionedObjectiveKey(binding.objective)));\n const findingByKey = new Map(program.gapsAndExceptions.map((finding) => [`${finding.findingRef}@${finding.findingVersion}`, finding]));\n const capabilityAuthorityByKey = new Map<string, AssuranceProgramCapabilityAuthority | AssuranceProgramCapabilityAuthorityV2>(\n program.capabilityAuthorities.map((authority) => [versionedCapabilityKey(authority.identity), authority] as const),\n );\n const documentKeys = new Set(program.documentationRequirements.map(versionedDocumentKey));\n const roleRefs = new Set<string>(program.roleAuthorities.map((authority) => authority.roleRef));\n const sourceRevisionKeys = new Set(program.schemaVersion === 1 ? program.sourceRevisions.map(sourceRevisionKey) : []);\n const authorityBasisKeys = new Set(program.schemaVersion === 1 ? [] : program.authorityBases.map(authorityBasisIdentityKey));\n const applicabilityBySubject = new Map<string, AssuranceProgramApplicabilityDecision[]>();\n const controlBindingCountBySubject = new Map<string, number>();\n const implementationDecisionCountBySubject = new Map<string, number>();\n const issues: AssuranceProgramSpecificationIssue[] = [];\n const push = (kind: AssuranceProgramSpecificationIssueKind, path: string, message: string): void => {\n issues.push({ kind, path, message });\n };\n\n const requireRole = (roleRef: string, path: string): void => {\n if (!roleRefs.has(roleRef)) push(AssuranceProgramSpecificationIssueKind.UNKNOWN_ROLE, path, `role ${roleRef} has no declared application authority`);\n };\n const requireRevision = (revision: { sourceRevisionRef: string }, path: string): void => {\n if (!sourceRevisionKeys.has(sourceRevisionKey(revision)))\n push(AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REVISION, path, \"reference does not resolve to an exact declared source revision\");\n };\n const requireBasis = (basis: { basisRef: string; basisVersion: number }, path: string): void => {\n if (!authorityBasisKeys.has(authorityBasisIdentityKey(basis)))\n push(AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH, path, \"reference does not resolve to an exact declared authority basis\");\n };\n\n if (program.schemaVersion === 1) {\n program.roleAuthorities.forEach((authority, index) => requireRevision(authority.definitionRevision, `roleAuthorities.${index}.definitionRevision`));\n program.capabilityAuthorities.forEach((authority, index) =>\n requireRevision(authority.implementationRevision, `capabilityAuthorities.${index}.implementationRevision`),\n );\n } else {\n program.roleAuthorities.forEach((authority, index) => requireBasis(authority.definitionAuthority, `roleAuthorities.${index}.definitionAuthority`));\n program.capabilityAuthorities.forEach((authority, index) =>\n requireBasis(authority.implementationAuthority, `capabilityAuthorities.${index}.implementationAuthority`),\n );\n }\n\n program.applicabilityDecisions.forEach((decision, index) => {\n if (!sourceKeys.has(versionedSourceKey(decision.source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_APPLICABILITY_SOURCE,\n `applicabilityDecisions.${index}.source`,\n \"applicability decision references an undeclared source version\",\n );\n if (!scopeByRef.has(decision.scopeSelectorRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `applicabilityDecisions.${index}.scopeSelectorRef`,\n \"applicability decision references an undeclared scope selector\",\n );\n const key = applicabilitySubjectKey(decision.source, decision.scopeSelectorRef);\n const decisions = applicabilityBySubject.get(key) ?? [];\n decisions.push(decision);\n applicabilityBySubject.set(key, decisions);\n });\n\n applicabilityBySubject.forEach((decisions) => {\n const byEffectiveFrom = [...decisions].sort((left, right) => compareCanonicalText(left.effectiveFrom, right.effectiveFrom));\n byEffectiveFrom.forEach((decision, index) => {\n const previous = byEffectiveFrom[index - 1];\n if (previous && (!previous.effectiveUntil || decision.effectiveFrom <= previous.effectiveUntil))\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_APPLICABILITY,\n \"applicabilityDecisions\",\n `applicability periods overlap for ${versionedSourceKey(decision.source)} and ${decision.scopeSelectorRef}`,\n );\n });\n });\n\n const requiredApplicabilitySubjects = new Set<string>();\n objectiveBindings.forEach((binding, index) => {\n binding.scopeSelectorRefs.forEach((scopeRef) => {\n if (!scopeByRef.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `${objectiveBindingCollectionPath}.${index}.scopeSelectorRefs`,\n `control binding references undeclared scope selector ${scopeRef}`,\n );\n const subject = `${versionedObjectiveKey(binding.objective)}::${scopeRef}`;\n controlBindingCountBySubject.set(subject, (controlBindingCountBySubject.get(subject) ?? 0) + 1);\n });\n binding.sourceRequirementRefs.forEach((reference) => {\n if (!sourceKeys.has(versionedSourceKey(reference.source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_BINDING_SOURCE,\n `${objectiveBindingCollectionPath}.${index}.sourceRequirementRefs`,\n \"control binding references an undeclared source version\",\n );\n binding.scopeSelectorRefs.forEach((scopeRef) => requiredApplicabilitySubjects.add(applicabilitySubjectKey(reference.source, scopeRef)));\n });\n });\n controlBindingCountBySubject.forEach((count, subject) => {\n if (count > 1)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_CONTROL_BINDING,\n objectiveBindingCollectionPath,\n `objective/scope subject ${subject} has ${count} control bindings; exactly one is required`,\n );\n });\n if (program.schemaVersion === 3) {\n const entries = program.obligationRegister.entries;\n const applicabilityDecisionByKey = new Map(\n program.applicabilityDecisions.map((decision) => [versionedApplicabilityDecisionKey(decision), decision] as const),\n );\n const coverageDecisionByKey = new Map(program.obligationCoverageDecisions.map((decision) => [versionedCoverageDecisionKey(decision), decision] as const));\n const sharedResponsibilityRuleByKey = new Map(program.sharedResponsibilityRules.map((rule) => [versionedSharedResponsibilityRuleKey(rule), rule] as const));\n const responsibilityAssignmentByRef = new Map(program.responsibilityAssignments.map((assignment) => [assignment.assignmentRef, assignment] as const));\n const entryByKey = new Map(entries.map((entry) => [versionedObligationKey(entry), entry] as const));\n const usedCoverageDecisionKeys = new Set<string>();\n const usedSharedResponsibilityRuleKeys = new Set<string>();\n\n entries.forEach((entry, entryIndex) => {\n const entryPath = `obligationRegister.entries.${entryIndex}`;\n const entryKey = versionedObligationKey(entry);\n requireRole(entry.applicability.reviewedByRoleRef, `${entryPath}.applicability.reviewedByRoleRef`);\n entry.reviewOwnerRoleRefs.forEach((roleRef) => requireRole(roleRef, `${entryPath}.reviewOwnerRoleRefs`));\n if (!entry.reviewOwnerRoleRefs.includes(entry.applicability.reviewedByRoleRef))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.applicability.reviewedByRoleRef`,\n `obligation ${entryKey} applicability reviewer is not permitted by its review policy`,\n );\n\n const expectedApplicabilitySubjects = new Set(\n entry.sourceRequirementRefs.flatMap((reference) =>\n entry.scopeSelectorRefs.map((scopeSelectorRef) => applicabilitySubjectKey(reference.source, scopeSelectorRef)),\n ),\n );\n const citedApplicabilitySubjects = new Set<string>();\n entry.sourceApplicabilityDecisionRefs.forEach((identity) => {\n const decision = applicabilityDecisionByKey.get(versionedApplicabilityDecisionKey(identity));\n if (!decision) {\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.sourceApplicabilityDecisionRefs`,\n `obligation ${entryKey} references undeclared source applicability decision ${versionedApplicabilityDecisionKey(identity)}`,\n );\n return;\n }\n const subject = applicabilitySubjectKey(decision.source, decision.scopeSelectorRef);\n citedApplicabilitySubjects.add(subject);\n if (!expectedApplicabilitySubjects.has(subject))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.sourceApplicabilityDecisionRefs`,\n `source applicability decision ${versionedApplicabilityDecisionKey(identity)} does not govern a cited source and obligation scope`,\n );\n });\n if (\n entry.sourceApplicabilityDecisionRefs.length !== expectedApplicabilitySubjects.size ||\n citedApplicabilitySubjects.size !== expectedApplicabilitySubjects.size ||\n [...expectedApplicabilitySubjects].some((subject) => !citedApplicabilitySubjects.has(subject))\n )\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n `${entryPath}.sourceApplicabilityDecisionRefs`,\n `obligation ${entryKey} must cite exactly one retained applicability decision for every cited source and scope subject`,\n );\n\n const assignmentScopeRefs = new Set<string>();\n entry.responsibilityAssignmentRefs.forEach((assignmentRef) => {\n const assignment = responsibilityAssignmentByRef.get(assignmentRef);\n if (!assignment) {\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT,\n `${entryPath}.responsibilityAssignmentRefs`,\n `obligation ${entryKey} references undeclared responsibility assignment ${assignmentRef}`,\n );\n return;\n }\n assignmentScopeRefs.add(assignment.scopeSelectorRef);\n });\n if (assignmentScopeRefs.size !== entry.scopeSelectorRefs.length || entry.scopeSelectorRefs.some((scopeRef) => !assignmentScopeRefs.has(scopeRef)))\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT,\n `${entryPath}.responsibilityAssignmentRefs`,\n `obligation ${entryKey} responsibility assignments must cover exactly its scope selectors`,\n );\n\n entry.gapRefs.forEach((identity) => {\n const findingKey = `${identity.findingRef}@${identity.findingVersion}`;\n const finding = findingByKey.get(findingKey);\n if (!finding)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_FINDING,\n `${entryPath}.gapRefs`,\n `obligation ${entryKey} references undeclared finding ${findingKey}`,\n );\n else if (\n !finding.objective ||\n versionedObjectiveKey(finding.objective) !== versionedObjectiveKey(entry.objective) ||\n !entry.scopeSelectorRefs.includes(finding.scopeSelectorRef)\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.gapRefs`,\n `finding ${findingKey} does not match obligation ${entryKey} objective and scope`,\n );\n });\n\n const coverageDecisionKey = versionedCoverageDecisionKey(entry.coverageDecision);\n const coverageDecision = coverageDecisionByKey.get(coverageDecisionKey);\n if (!coverageDecision || coverageDecision.coverageDecisionVersion !== entry.coverageDecision.coverageDecisionVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.coverageDecision`,\n `obligation ${entryKey} coverage decision does not resolve by exact identity and digest`,\n );\n else {\n usedCoverageDecisionKeys.add(coverageDecisionKey);\n if (\n versionedObligationKey(coverageDecision.obligation) !== entryKey ||\n coverageDecision.reviewDisposition !== AssuranceProgramObligationCoverageReviewDisposition.APPROVED ||\n JSON.stringify(coverageDecision.sourceRequirementRefs) !== JSON.stringify(entry.sourceRequirementRefs)\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.coverageDecision`,\n `obligation ${entryKey} requires one approved coverage decision over its exact source-requirement inventory`,\n );\n if (!entry.reviewOwnerRoleRefs.includes(coverageDecision.reviewedByRoleRef))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.coverageDecision`,\n `obligation ${entryKey} coverage reviewer is not permitted by its review policy`,\n );\n }\n\n if (entry.sharedResponsibilityRule) {\n const ruleKey = versionedSharedResponsibilityRuleKey(entry.sharedResponsibilityRule);\n const rule = sharedResponsibilityRuleByKey.get(ruleKey);\n if (!rule || rule.sharedResponsibilityRuleVersion !== entry.sharedResponsibilityRule.sharedResponsibilityRuleVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.sharedResponsibilityRule`,\n `obligation ${entryKey} shared-responsibility rule does not resolve by exact identity and digest`,\n );\n else {\n usedSharedResponsibilityRuleKeys.add(ruleKey);\n if (\n JSON.stringify(rule.scopeSelectorRefs) !== JSON.stringify(entry.scopeSelectorRefs) ||\n JSON.stringify(rule.governanceActorKinds) !== JSON.stringify(entry.governanceActorKinds)\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.sharedResponsibilityRule`,\n `shared-responsibility rule ${ruleKey} must govern the obligation's exact scope and actor set`,\n );\n if (!entry.reviewOwnerRoleRefs.includes(rule.reviewedByRoleRef))\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `${entryPath}.sharedResponsibilityRule`,\n `shared-responsibility rule ${ruleKey} reviewer is not permitted by obligation ${entryKey}'s review policy`,\n );\n }\n }\n\n entry.dependencyObligationRefs.forEach((dependency) => {\n if (!entryByKey.has(versionedObligationKey(dependency)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `${entryPath}.dependencyObligationRefs`,\n `obligation ${entryKey} references undeclared dependency ${versionedObligationKey(dependency)}`,\n );\n });\n });\n\n program.obligationCoverageDecisions.forEach((decision, decisionIndex) => {\n const decisionKey = versionedCoverageDecisionKey(decision);\n requireRole(decision.reviewedByRoleRef, `obligationCoverageDecisions.${decisionIndex}.reviewedByRoleRef`);\n if (!usedCoverageDecisionKeys.has(decisionKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `obligationCoverageDecisions.${decisionIndex}`,\n `coverage decision ${decisionKey} is not retained by an exact obligation entry`,\n );\n });\n program.sharedResponsibilityRules.forEach((rule, ruleIndex) => {\n const ruleKey = versionedSharedResponsibilityRuleKey(rule);\n for (const roleRef of [\n ...rule.accountableRoleRefs,\n ...rule.operatingRoleRefs,\n ...rule.evidenceProviderRoleRefs,\n ...rule.approvingRoleRefs,\n ...rule.conflictResolutionRoleRefs,\n rule.reviewedByRoleRef,\n ])\n requireRole(roleRef, `sharedResponsibilityRules.${ruleIndex}`);\n rule.scopeSelectorRefs.forEach((scopeRef) => {\n if (!scopeByRef.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `sharedResponsibilityRules.${ruleIndex}.scopeSelectorRefs`,\n `shared-responsibility rule ${ruleKey} references undeclared scope ${scopeRef}`,\n );\n });\n if (!usedSharedResponsibilityRuleKeys.has(ruleKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBLIGATION_GOVERNANCE_RECORD,\n `sharedResponsibilityRules.${ruleIndex}`,\n `shared-responsibility rule ${ruleKey} is not retained by any obligation entry`,\n );\n });\n\n for (let leftIndex = 0; leftIndex < program.sharedResponsibilityRules.length; leftIndex += 1) {\n const left = program.sharedResponsibilityRules[leftIndex]!;\n for (let rightIndex = leftIndex + 1; rightIndex < program.sharedResponsibilityRules.length; rightIndex += 1) {\n const right = program.sharedResponsibilityRules[rightIndex]!;\n if (JSON.stringify(left.governanceActorKinds) !== JSON.stringify(right.governanceActorKinds)) continue;\n const scopesMayOverlap = left.scopeSelectorRefs.some((leftRef) => {\n const leftScope = scopeByRef.get(leftRef);\n return (\n leftScope !== undefined &&\n right.scopeSelectorRefs.some((rightRef) => {\n const rightScope = scopeByRef.get(rightRef);\n return rightScope !== undefined && assuranceProgramScopeSelectorsMayOverlap(leftScope, rightScope);\n })\n );\n });\n if (scopesMayOverlap)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_SHARED_RESPONSIBILITY_RULE,\n \"sharedResponsibilityRules\",\n `shared-responsibility rules ${versionedSharedResponsibilityRuleKey(left)} and ${versionedSharedResponsibilityRuleKey(right)} govern the same actor set over potentially overlapping scopes`,\n );\n }\n }\n\n for (let leftIndex = 0; leftIndex < entries.length; leftIndex += 1) {\n const left = entries[leftIndex]!;\n for (let rightIndex = leftIndex + 1; rightIndex < entries.length; rightIndex += 1) {\n const right = entries[rightIndex]!;\n if (versionedObjectiveKey(left.objective) !== versionedObjectiveKey(right.objective)) continue;\n const scopesMayOverlap = left.scopeSelectorRefs.some((leftRef) => {\n const leftScope = scopeByRef.get(leftRef);\n return (\n leftScope !== undefined &&\n right.scopeSelectorRefs.some((rightRef) => {\n const rightScope = scopeByRef.get(rightRef);\n return rightScope !== undefined && assuranceProgramScopeSelectorsMayOverlap(leftScope, rightScope);\n })\n );\n });\n if (scopesMayOverlap)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_OBLIGATION_BINDING,\n \"obligationRegister.entries\",\n `obligations ${versionedObligationKey(left)} and ${versionedObligationKey(right)} govern the same objective over potentially overlapping scopes`,\n );\n }\n }\n\n const visiting = new Set<string>();\n const visited = new Set<string>();\n const visitDependency = (entryKey: string): void => {\n if (visited.has(entryKey)) return;\n if (visiting.has(entryKey)) {\n push(\n AssuranceProgramSpecificationIssueKind.OBLIGATION_DEPENDENCY_CYCLE,\n \"obligationRegister.entries\",\n `obligation dependency graph contains a cycle through ${entryKey}`,\n );\n return;\n }\n const entry = entryByKey.get(entryKey);\n if (!entry) return;\n visiting.add(entryKey);\n entry.dependencyObligationRefs.forEach((dependency) => visitDependency(versionedObligationKey(dependency)));\n visiting.delete(entryKey);\n visited.add(entryKey);\n };\n entryByKey.forEach((_entry, entryKey) => visitDependency(entryKey));\n }\n requiredApplicabilitySubjects.forEach((subject) => {\n if (!applicabilityBySubject.has(subject))\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n \"applicabilityDecisions\",\n `used source/scope subject ${subject} requires an explicit APPLICABLE, NOT_APPLICABLE or UNDETERMINED decision`,\n );\n });\n program.sourceReferences.forEach((source) => {\n const hasDecision = [...applicabilityBySubject.keys()].some((subject) => subject.startsWith(`${versionedSourceKey(source.identity)}::`));\n if (!hasDecision)\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n \"applicabilityDecisions\",\n `declared source ${versionedSourceKey(source.identity)} has no explicit applicability decision`,\n );\n });\n\n program.implementationDecisions.forEach((decision, index) => {\n const objectiveKey = versionedObjectiveKey(decision.objective);\n if (!objectiveKeys.has(objectiveKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n `implementationDecisions.${index}.objective`,\n \"implementation decision references an unbound Wildo objective version\",\n );\n decision.scopeSelectorRefs.forEach((scopeRef) => {\n if (!scopeByRef.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `implementationDecisions.${index}.scopeSelectorRefs`,\n `implementation decision references undeclared scope selector ${scopeRef}`,\n );\n const hasScopedBinding = objectiveBindings.some(\n (binding) => versionedObjectiveKey(binding.objective) === objectiveKey && binding.scopeSelectorRefs.includes(scopeRef),\n );\n if (!hasScopedBinding)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.scopeSelectorRefs`,\n `objective ${objectiveKey} is not bound to scope ${scopeRef}`,\n );\n const subject = `${objectiveKey}::${scopeRef}`;\n implementationDecisionCountBySubject.set(subject, (implementationDecisionCountBySubject.get(subject) ?? 0) + 1);\n });\n decision.capabilitySelections.forEach((selection) => {\n const authority = capabilityAuthorityByKey.get(versionedCapabilityKey(selection));\n if (!authority)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n `implementationDecisions.${index}.capabilitySelections`,\n `selected capability ${versionedCapabilityKey(selection)} has no declared authority`,\n );\n else if (authority.capabilityKind !== selection.capabilityKind)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.capabilitySelections`,\n `selected capability ${versionedCapabilityKey(selection)} kind does not match its authority`,\n );\n });\n decision.gapRefs.forEach((findingIdentity) => {\n const findingKey = `${findingIdentity.findingRef}@${findingIdentity.findingVersion}`;\n const finding = findingByKey.get(findingKey);\n if (!finding)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_FINDING,\n `implementationDecisions.${index}.gapRefs`,\n `implementation decision references undeclared finding ${findingKey}`,\n );\n else if (\n !finding.objective ||\n versionedObjectiveKey(finding.objective) !== objectiveKey ||\n !decision.scopeSelectorRefs.includes(finding.scopeSelectorRef) ||\n finding.disposition !== decision.gapDisposition\n )\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.gapRefs`,\n `finding ${findingKey} does not match the decision objective, scope and disposition`,\n );\n });\n if (decision.gapRefs.length > 0)\n decision.scopeSelectorRefs.forEach((scopeRef) => {\n const scope = scopeByRef.get(scopeRef);\n const matchingFinding = decision.gapRefs.some((identity) => {\n const finding = findingByKey.get(`${identity.findingRef}@${identity.findingVersion}`);\n if (!finding || !scope) return false;\n return (\n finding.scopeSelectorRef === scopeRef &&\n finding.scopeSelectorVersion === scope.scopeSelectorVersion &&\n finding.objective !== undefined &&\n versionedObjectiveKey(finding.objective) === objectiveKey &&\n finding.disposition === decision.gapDisposition\n );\n });\n if (!matchingFinding)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationDecisions.${index}.gapRefs`,\n `objective/scope subject ${objectiveKey}::${scopeRef} requires its own exact versioned finding`,\n );\n });\n });\n controlBindingCountBySubject.forEach((_count, subject) => {\n const decisionCount = implementationDecisionCountBySubject.get(subject) ?? 0;\n if (decisionCount === 0)\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_IMPLEMENTATION_DECISION,\n \"implementationDecisions\",\n `objective/scope subject ${subject} has no explicit implementation decision`,\n );\n else if (decisionCount > 1)\n push(\n AssuranceProgramSpecificationIssueKind.AMBIGUOUS_IMPLEMENTATION_DECISION,\n \"implementationDecisions\",\n `objective/scope subject ${subject} has ${decisionCount} implementation decisions; exactly one is required`,\n );\n });\n\n program.responsibilityAssignments.forEach((assignment, index) => {\n if (!scopeByRef.has(assignment.scopeSelectorRef))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `responsibilityAssignments.${index}.scopeSelectorRef`,\n \"responsibility assignment references an undeclared scope selector\",\n );\n for (const roleRef of [\n ...assignment.responsibleRoleRefs,\n ...assignment.operatingRoleRefs,\n ...assignment.evidenceProviderRoleRefs,\n ...assignment.approvingRoleRefs,\n ...assignment.escalationRoleRefs,\n ])\n requireRole(roleRef, `responsibilityAssignments.${index}`);\n });\n const assignedScopeRefs = new Set(program.responsibilityAssignments.map((assignment) => assignment.scopeSelectorRef));\n scopeByRef.forEach((_scope, scopeRef) => {\n if (!assignedScopeRefs.has(scopeRef))\n push(\n AssuranceProgramSpecificationIssueKind.INCOMPLETE_RESPONSIBILITY_ASSIGNMENT,\n \"responsibilityAssignments\",\n `scope ${scopeRef} has no responsibility assignment`,\n );\n });\n\n program.gapsAndExceptions.forEach((finding, index) => {\n const scope = scopeByRef.get(finding.scopeSelectorRef);\n if (!scope || scope.scopeSelectorVersion !== finding.scopeSelectorVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `gapsAndExceptions.${index}.scopeSelectorVersion`,\n \"finding references an undeclared scope selector version\",\n );\n if (finding.source && !sourceKeys.has(versionedSourceKey(finding.source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_BINDING_SOURCE,\n `gapsAndExceptions.${index}.source`,\n \"finding references an undeclared source version\",\n );\n if (finding.objective && !objectiveKeys.has(versionedObjectiveKey(finding.objective)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n `gapsAndExceptions.${index}.objective`,\n \"finding references an unbound Wildo objective version\",\n );\n if (program.schemaVersion === 3 && finding.objective) {\n const matchingObligations = program.obligationRegister.entries.filter(\n (entry) =>\n versionedObjectiveKey(entry.objective) === versionedObjectiveKey(finding.objective!) &&\n entry.scopeSelectorRefs.includes(finding.scopeSelectorRef) &&\n entry.gapRefs.some((identity) => identity.findingRef === finding.findingRef && identity.findingVersion === finding.findingVersion),\n );\n if (matchingObligations.length !== 1)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `gapsAndExceptions.${index}.objective`,\n `objective-bearing finding ${finding.findingRef}@${finding.findingVersion} must resolve exactly one obligation over scope ${finding.scopeSelectorRef}; found ${matchingObligations.length}`,\n );\n }\n if (finding.objective && finding.source) {\n const objectiveKey = versionedObjectiveKey(finding.objective);\n const sourceKey = versionedSourceKey(finding.source);\n const sourceMatchesBinding = objectiveBindings.some(\n (binding) =>\n versionedObjectiveKey(binding.objective) === objectiveKey &&\n binding.scopeSelectorRefs.includes(finding.scopeSelectorRef) &&\n binding.sourceRequirementRefs.some((reference) => versionedSourceKey(reference.source) === sourceKey),\n );\n if (!sourceMatchesBinding)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `gapsAndExceptions.${index}.source`,\n `finding source ${sourceKey} is not bound to ${objectiveKey} in scope ${finding.scopeSelectorRef}`,\n );\n }\n requireRole(finding.ownerRoleRef, `gapsAndExceptions.${index}.ownerRoleRef`);\n });\n\n program.documentationRequirements.forEach((requirement, index) => {\n requirement.sourceRefs.forEach((source) => {\n if (!sourceKeys.has(versionedSourceKey(source)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT_SOURCE,\n `documentationRequirements.${index}.sourceRefs`,\n \"documentation requirement references an undeclared source version\",\n );\n });\n requirement.approvingRoleRefs.forEach((roleRef) => requireRole(roleRef, `documentationRequirements.${index}.approvingRoleRefs`));\n });\n\n program.implementationStatements.forEach((statement, index) => {\n const objectiveKey = versionedObjectiveKey(statement.objective);\n if (!objectiveKeys.has(objectiveKey))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n `implementationStatements.${index}.objective`,\n \"implementation statement references an unbound Wildo objective version\",\n );\n const scope = scopeByRef.get(statement.governanceScope.scopeRef);\n if (!scope || scope.scopeSelectorVersion !== statement.governanceScope.scopeVersion)\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_SCOPE_SELECTOR,\n `implementationStatements.${index}.governanceScope`,\n \"implementation statement references an undeclared scope selector version\",\n );\n const matchingDecisions = program.implementationDecisions.filter(\n (decision) => versionedObjectiveKey(decision.objective) === objectiveKey && decision.scopeSelectorRefs.includes(statement.governanceScope.scopeRef),\n );\n statement.capabilityBindingRefs.forEach((capability) => {\n const key = versionedCapabilityKey(capability);\n const selectedForStatement = matchingDecisions.some((decision) =>\n decision.capabilitySelections.some((selection) => versionedCapabilityKey(selection) === key),\n );\n if (!selectedForStatement)\n push(\n AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n `implementationStatements.${index}.capabilityBindingRefs`,\n `capability ${key} is not selected for this exact objective and scope`,\n );\n });\n statement.documentDependencies.forEach((dependency) => {\n if (!documentKeys.has(versionedDocumentKey(dependency)))\n push(\n AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT,\n `implementationStatements.${index}.documentDependencies`,\n `implementation statement references undeclared document ${versionedDocumentKey(dependency)}`,\n );\n });\n if (program.schemaVersion === 1) requireRevision(statement, `implementationStatements.${index}.sourceRevisionRef`);\n else requireBasis(statement, `implementationStatements.${index}.basisRef`);\n });\n return issues;\n}\n\nconst sourceReferenceMatchesRecord = (reference: AssuranceProgramSourceReference, record: AssuranceSourceRecord): boolean =>\n reference.edition === record.edition &&\n reference.authorityKind === record.authorityKind &&\n reference.authorityName === record.authorityName &&\n reference.lifecycleStatus === record.lifecycleStatus &&\n reference.rightsRef === record.rights.rightsRef &&\n reference.rightsVersion === record.rights.rightsVersion;\n\n/**\n * Deterministic semantic validation consumed by the application-specification family authority.\n *\n * `authorities` is OPTIONAL. Without it, only the program's own structural and coherence issues are\n * collected — the content-validation half, which is a pure function of the authored bytes. The\n * authority-snapshot cross-checks run only when a host supplies a resolved snapshot (the\n * framework-knowledge generation pipeline does; the application-creation landing gate does not, and\n * refusing to validate at all in that case made the compliance-program family unlandable).\n */\nexport const validateAssuranceProgramSpecification = (\n program: AssuranceProgramSpecification,\n authorities?: AssuranceProgramValidationAuthorities,\n): { ok: boolean; issues: AssuranceProgramSpecificationIssue[] } => {\n const issues = collectAssuranceProgramSpecificationIssues(program);\n if (!authorities) {\n return { ok: issues.length === 0, issues };\n }\n const objectiveBindings = resolveAssuranceProgramObjectiveBindings(program);\n const objectiveBindingCollectionPath = assuranceProgramObjectiveBindingCollectionPath(program);\n const parsedSnapshot = AssuranceProgramValidationAuthoritySnapshotSchema.safeParse(authorities.snapshot);\n if (!parsedSnapshot.success) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.AUTHORITY_SNAPSHOT_INVALID,\n path: \"validationAuthorities.snapshot\",\n // Unbounded on purpose: this message is the author-facing account of WHY the\n // authority snapshot is invalid, so eliding issues would hide fixable faults.\n // Rendering delegates to the canonical formatter in `@wildo-ai/saas-models`.\n message: summarizeZodIssues(parsedSnapshot.error.issues, { limit: ALL_ZOD_ISSUES }),\n });\n return { ok: false, issues };\n }\n const snapshot = parsedSnapshot.data;\n if (snapshot.documentAuthorityCatalog) {\n collectAssuranceDocumentAuthorityCatalogIssues({\n catalog: snapshot.documentAuthorityCatalog,\n sourceRegistry: snapshot.sourceRegistry,\n evaluatedAt: snapshot.evaluatedAt,\n }).forEach((message) =>\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_INVALID,\n path: \"validationAuthorities.snapshot.documentAuthorityCatalog\",\n message,\n }),\n );\n }\n /*\n * HOST AUTHORITY BASIS DRIFT — the one cross-boundary check in this block, and the only one that\n * ever meant anything: does the basis the PROGRAM accepted match the basis the HOST is offering?\n * It is keyed on `basisRef@basisVersion`, the declared compatibility generation, so it fires when\n * the framework's interpretation contract moves and stays quiet for byte movement that does not.\n * (Five sibling checks here hashed the snapshot against its own material and were deleted\n * 2026-08-27: a hash of a thing against itself can only catch a producer that already computed it wrong.)\n */\n if (program.schemaVersion !== 1) {\n const snapshotBasis = { basisRef: snapshot.snapshotRef, basisVersion: snapshot.snapshotVersion };\n program.authorityBases.forEach((basis, basisIndex) => {\n if (authorityBasisIdentityKey(basis) === authorityBasisIdentityKey(snapshotBasis)) return;\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.HOST_AUTHORITY_BASIS_DRIFT,\n path: `authorityBases.${basisIndex}`,\n subjectRef: `${basis.basisRef}@${basis.basisVersion}`,\n message: `authority basis ${basis.basisRef}@${basis.basisVersion} is not the host basis ${snapshotBasis.basisRef}@${snapshotBasis.basisVersion}`,\n });\n });\n }\n\n // Policy dates use UTC. Deriving from the authored timestamp text would let two offset spellings\n // of the same instant select different applicability, review and expiry decisions.\n const evaluatedOn = utcIsoDateFromInstant(snapshot.evaluatedAt);\n const sourceRecords = new Map(snapshot.sourceRegistry.sources.map((source) => [versionedSourceKey(source.identity), source]));\n const objectiveRecords = new Map(snapshot.objectiveCatalog.objectives.map((objective) => [versionedObjectiveKey(objective.identity), objective]));\n const applicationRoleRefs = new Set<string>(snapshot.applicationRoleRefs);\n const hostCapabilities = new Map(snapshot.capabilityAuthorities.map((authority) => [versionedCapabilityKey(authority.identity), authority]));\n /*\n * Ref-only, unlike `hostCapabilities` above, and the difference is load-bearing. An expectation\n * authority names the capabilities it REQUIRES without a version, so asking the versioned map would\n * report every requirement as unavailable the moment a capability's version moved — a configuration\n * diagnosis for what is really a version question, which `HOST_CAPABILITY_IMPLEMENTATION_DRIFT`\n * already answers properly.\n */\n const hostCapabilityRefs = new Set(snapshot.capabilityAuthorities.map((authority) => authority.identity.capabilityRef));\n const hostArtifacts = new Set(snapshot.implementationArtifacts.map((artifact) => artifact.artifactRef));\n const hostImplementationArtifactsByKind = new Map(snapshot.hostImplementationArtifacts.map((artifact) => [artifact.artifactKindRef, artifact]));\n const sourceRequirementAuthorities = new Map(snapshot.sourceRequirementAuthorities.map((authority) => [versionedSourceRequirementKey(authority), authority]));\n const implementationExpectationAuthorities = new Map(\n snapshot.implementationExpectationAuthorities.map((authority) => [versionedExpectationKey(authority.identity), authority]),\n );\n const evidenceExpectationAuthorities = new Map(\n snapshot.evidenceExpectationAuthorities.map((authority) => [versionedExpectationKey(authority.identity), authority]),\n );\n const verificationExpectationAuthorities = new Map(\n snapshot.verificationExpectationAuthorities.map((authority) => [versionedExpectationKey(authority.identity), authority]),\n );\n\n program.documentationRequirements.forEach((requirement, requirementIndex) => {\n if (!(\"schemaVersion\" in requirement) || requirement.schemaVersion !== 2) return;\n const catalog = snapshot.documentAuthorityCatalog;\n if (!catalog) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.DOCUMENT_AUTHORITY_CATALOG_INVALID,\n path: `documentationRequirements.${requirementIndex}.definition`,\n message: \"a v2 documentation requirement requires a validation snapshot carrying the engine-owned document authority catalog\",\n });\n return;\n }\n const definition = catalog.definitions.find(\n (candidate) =>\n candidate.identity.definitionRef === requirement.definition.definitionRef &&\n candidate.identity.definitionVersion === requirement.definition.definitionVersion,\n );\n if (!definition) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_DOCUMENT,\n path: `documentationRequirements.${requirementIndex}.definition`,\n message: `document definition ${requirement.definition.definitionRef}@${requirement.definition.definitionVersion} is absent from the engine authority catalog`,\n });\n return;\n }\n const relationshipProblems: string[] = [];\n if (requirement.documentKindRef !== definition.stableKindRef) relationshipProblems.push(\"document kind\");\n if (!definition.governanceSubjectKinds.includes(requirement.governanceScope.subjectKind)) relationshipProblems.push(\"governance subject\");\n if (requirement.audienceKinds.some((audience) => !definition.audienceKinds.includes(audience))) relationshipProblems.push(\"audience\");\n if (requirement.allowedInteractionKinds.some((kind) => !definition.allowedInteractionKinds.includes(kind)))\n relationshipProblems.push(\"interaction meaning\");\n if (requirement.publicationChannelKinds.some((channel) => !definition.publicationChannelKinds.includes(channel)))\n relationshipProblems.push(\"publication channel\");\n if (definition.requiredFactRefs.some((factRef) => !requirement.requiredAcceptedFactRefs.includes(factRef))) relationshipProblems.push(\"required facts\");\n\n const requiredReviewKinds = new Set(\n catalog.qualifiedReviewPolicies\n .filter((policy) => definition.qualifiedReviewPolicyRefs.includes(policy.policyRef))\n .flatMap((policy) => assuranceDocumentQualifiedReviewRequirements(policy).map((reviewRequirement) => reviewRequirement.reviewKind)),\n );\n if ([...requiredReviewKinds].some((reviewKind) => !requirement.requiredReviewKinds.includes(reviewKind))) relationshipProblems.push(\"qualified reviews\");\n\n const requiredSourceKeys = new Set(\n catalog.sourceMonitoringPolicies\n .filter((policy) => definition.sourcePolicyRefs.includes(policy.policyRef))\n .map((policy) => versionedSourceKey(policy.source)),\n );\n const authoredSourceKeys = new Set(requirement.sourceRefs.map(versionedSourceKey));\n if ([...requiredSourceKeys].some((sourceKey) => !authoredSourceKeys.has(sourceKey))) relationshipProblems.push(\"authoritative sources\");\n const declaredScope = program.scopeSelectors.find((scope) => String(scope.scopeSelectorRef) === String(requirement.governanceScope.scopeRef));\n if (!declaredScope || declaredScope.scopeSelectorVersion !== requirement.governanceScope.scopeVersion) relationshipProblems.push(\"governance scope\");\n if (timestampIsAfter(requirement.applicabilityDecidedAt, snapshot.evaluatedAt)) relationshipProblems.push(\"applicability decision time\");\n\n if (relationshipProblems.length > 0) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `documentationRequirements.${requirementIndex}`,\n message: `documentation requirement does not satisfy its exact engine-owned definition: ${relationshipProblems.join(\", \")}`,\n });\n }\n });\n\n if (program.schemaVersion === 3) {\n program.obligationCoverageDecisions.forEach((decision, decisionIndex) => {\n if (timestampIsAfter(decision.reviewedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationCoverageDecisions.${decisionIndex}.reviewedAt`,\n message: \"coverage review cannot be later than the authority evaluation time\",\n });\n decision.sourceRequirementRefs.forEach((reference, referenceIndex) => {\n const requirementAuthority = sourceRequirementAuthorities.get(versionedSourceRequirementKey(reference));\n const sourceAuthority = sourceRecords.get(versionedSourceKey(reference.source));\n const authorityFacts = [\n requirementAuthority && { label: \"source-requirement review\", observedAt: requirementAuthority.reviewedAt },\n sourceAuthority && { label: \"source-rights review\", observedAt: sourceAuthority.rights.reviewedAt },\n sourceAuthority?.retrievedArtifact && { label: \"source-artifact retrieval\", observedAt: sourceAuthority.retrievedArtifact.retrievedAt },\n ].filter((fact): fact is { label: string; observedAt: string } => fact !== undefined);\n authorityFacts.forEach((fact) => {\n if (timestampIsAfter(fact.observedAt, decision.reviewedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationCoverageDecisions.${decisionIndex}.sourceRequirementRefs.${referenceIndex}`,\n message: `coverage review cannot predate the cited ${fact.label} at ${fact.observedAt}`,\n });\n });\n });\n });\n program.sharedResponsibilityRules.forEach((rule, ruleIndex) => {\n if (timestampIsAfter(rule.reviewedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `sharedResponsibilityRules.${ruleIndex}.reviewedAt`,\n message: \"shared-responsibility review cannot be later than the authority evaluation time\",\n });\n });\n program.obligationRegister.entries.forEach((entry, entryIndex) => {\n if (timestampIsAfter(entry.applicability.decidedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationRegister.entries.${entryIndex}.applicability.decidedAt`,\n message: \"obligation applicability decision cannot be later than the authority evaluation time\",\n });\n const coverageDecision = program.obligationCoverageDecisions.find(\n (decision) => versionedCoverageDecisionKey(decision) === versionedCoverageDecisionKey(entry.coverageDecision),\n );\n if (coverageDecision && timestampIsAfter(coverageDecision.reviewedAt, entry.applicability.decidedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationRegister.entries.${entryIndex}.applicability.decidedAt`,\n message: `obligation applicability decision cannot predate its approved coverage review at ${coverageDecision.reviewedAt}`,\n });\n if (entry.reviewOn !== undefined && entry.reviewOn < evaluatedOn)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `obligationRegister.entries.${entryIndex}.reviewOn`,\n message: `obligation review was due before authority evaluation date ${evaluatedOn}`,\n });\n });\n }\n\n objectiveBindings.forEach((binding, index) => {\n const objectiveKey = versionedObjectiveKey(binding.objective);\n const objective = objectiveRecords.get(objectiveKey);\n if (!objective)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n path: `${objectiveBindingCollectionPath}.${index}.objective`,\n message: `objective ${objectiveKey} is absent from the supplied Wildo objective catalog`,\n });\n else if (objective.lifecycleStatus !== AssuranceObjectiveLifecycleStatus.ACTIVE)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_OBJECTIVE,\n path: `${objectiveBindingCollectionPath}.${index}.objective`,\n message: `objective ${objectiveKey} is ${objective.lifecycleStatus.toLowerCase()} and cannot authorize current application policy`,\n });\n binding.sourceRequirementRefs.forEach((reference) => {\n const authority = sourceRequirementAuthorities.get(versionedSourceRequirementKey(reference));\n if (!authority || versionedObjectiveKey(authority.objective) !== objectiveKey)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_REQUIREMENT,\n path: `${objectiveBindingCollectionPath}.${index}.sourceRequirementRefs`,\n message: `source requirement ${versionedSourceRequirementKey(reference)} is not reviewed for objective ${objectiveKey}`,\n });\n });\n for (const [field, refs, authorityMap] of [\n [\"implementationExpectationRefs\", binding.implementationExpectationRefs, implementationExpectationAuthorities],\n [\"evidenceExpectationRefs\", binding.evidenceExpectationRefs, evidenceExpectationAuthorities],\n [\"verificationExpectationRefs\", binding.verificationExpectationRefs, verificationExpectationAuthorities],\n ] as const)\n refs.forEach((identity) => {\n const key = versionedExpectationKey(identity);\n const authority = authorityMap.get(key);\n if (!authority || versionedObjectiveKey(authority.objective) !== objectiveKey)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_VALIDATION_AUTHORITY,\n path: `${objectiveBindingCollectionPath}.${index}.${field}`,\n message: `${key} is not an exact reviewed authority for objective ${objectiveKey}`,\n });\n });\n });\n\n program.roleAuthorities.forEach((authority, index) => {\n if (!applicationRoleRefs.has(authority.applicationRoleRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_ROLE,\n path: `roleAuthorities.${index}.applicationRoleRef`,\n message: `application role ${authority.applicationRoleRef} is absent from the host application-role catalog`,\n });\n });\n\n program.capabilityAuthorities.forEach((authority, index) => {\n const key = versionedCapabilityKey(authority.identity);\n const host = hostCapabilities.get(key);\n /*\n * Two different verdicts hide behind \"does not match the host catalog\", and collapsing them costs an operator\n * the ability to tell \"this host cannot implement the control I accepted\" from \"the control is intact, its\n * bytes moved\". The first can never be resolved by re-accepting; the second is resolved by exactly that.\n * Identity, kind and implementation refs are checked first because a capability that fails any of them is not\n * the accepted control at all — its revision is then irrelevant.\n */\n if (!host || host.capabilityKind !== authority.capabilityKind || JSON.stringify(host.implementationRefs) !== JSON.stringify(authority.implementationRefs)) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `capabilityAuthorities.${index}`,\n message: `capability authority ${key} is absent from the enabled host capability catalog or resolves to a different capability kind or implementation`,\n });\n return;\n }\n const implementationIdentityMatches =\n program.schemaVersion === 1\n ? sourceRevisionKey(host.implementationRevision) === sourceRevisionKey(authority.implementationRevision)\n : authorityBasisIdentityKey(authority.implementationAuthority) ===\n authorityBasisIdentityKey({ basisRef: snapshot.snapshotRef, basisVersion: snapshot.snapshotVersion });\n if (!implementationIdentityMatches)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.HOST_CAPABILITY_IMPLEMENTATION_DRIFT,\n path: `capabilityAuthorities.${index}`,\n subjectRef: key,\n message: `capability authority ${key} is offered by the host under a different implementation authority than the one it was accepted against`,\n });\n });\n\n program.implementationDecisions.forEach((decision, decisionIndex) => {\n decision.capabilitySelections.forEach((selection, selectionIndex) => {\n const host = hostCapabilities.get(versionedCapabilityKey(selection));\n if (!host) return;\n host.requiredHostArtifactKindRefs.forEach((artifactKindRef) => {\n if (!hostImplementationArtifactsByKind.has(artifactKindRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}`,\n message: `capability selection requires host implementation artifact kind ${artifactKindRef}`,\n });\n });\n const profile = selection.profileRef ? host.profiles.find((candidate) => candidate.profileRef === selection.profileRef) : undefined;\n if ((selection.profileRef && !profile) || (!selection.profileRef && host.profiles.length > 0))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.profileRef`,\n message: `capability selection must resolve one exact host-authorized profile`,\n });\n if (profile) {\n const selectedByParameter = new Map(selection.selectedOptions.map((option) => [option.parameterRef, option.selectedOptionRef]));\n profile.parameters.forEach((parameter) => {\n const selected = selectedByParameter.get(parameter.parameterRef);\n if (!selected || !parameter.allowedOptionRefs.includes(selected))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.selectedOptions`,\n message: `profile ${profile.profileRef} requires one allowed option for ${parameter.parameterRef}`,\n });\n });\n selection.selectedOptions.forEach((option) => {\n if (!profile.parameters.some((parameter) => parameter.parameterRef === option.parameterRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.selectedOptions`,\n message: `parameter ${option.parameterRef} is absent from profile ${profile.profileRef}`,\n });\n });\n } else if (selection.selectedOptions.length > 0)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_CAPABILITY,\n path: `implementationDecisions.${decisionIndex}.capabilitySelections.${selectionIndex}.selectedOptions`,\n message: \"selected options require an exact host-authorized profile\",\n });\n });\n });\n\n program.sourceReferences.forEach((reference, index) => {\n const key = versionedSourceKey(reference.identity);\n const record = sourceRecords.get(key);\n if (!record) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_SOURCE_AUTHORITY,\n path: `sourceReferences.${index}`,\n message: `source ${key} is absent from the supplied authoritative registry`,\n });\n return;\n }\n if (!sourceReferenceMatchesRecord(reference, record))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_AUTHORITY_MISMATCH,\n path: `sourceReferences.${index}`,\n message: `source ${key} does not exactly match its registry metadata, lifecycle and rights identity`,\n });\n const rightsAuthorization = deriveAssuranceRightsAuthorization(record.rights, snapshot.requestedSourceUses, snapshot.evaluatedAt);\n if (!rightsAuthorization.authorized)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_RIGHTS_UNAUTHORIZED,\n path: `sourceReferences.${index}.rightsRef`,\n message: `source ${key} is not authorized for ${rightsAuthorization.requestedUses.join(\", \")}: ${rightsAuthorization.reasons.join(\", \")}`,\n });\n const currentApplicability = program.applicabilityDecisions.filter(\n (decision) =>\n versionedSourceKey(decision.source) === key &&\n decision.effectiveFrom <= evaluatedOn &&\n (!decision.effectiveUntil || evaluatedOn <= decision.effectiveUntil),\n );\n if (\n record.lifecycleStatus !== AssuranceSourceLifecycleStatus.ACTIVE &&\n currentApplicability.some((decision) => decision.status !== AssuranceProgramApplicabilityStatus.NOT_APPLICABLE)\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_LIFECYCLE_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `${record.lifecycleStatus.toLowerCase()} source ${key} cannot authorize a current applicable or undetermined period`,\n });\n if (\n currentApplicability.some((decision) => decision.status !== AssuranceProgramApplicabilityStatus.NOT_APPLICABLE) &&\n (record.publishedOn > evaluatedOn || (record.effectiveOn !== undefined && record.effectiveOn > evaluatedOn))\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.SOURCE_LIFECYCLE_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `source ${key} cannot authorize current applicability before its publication and effective dates`,\n });\n });\n\n if (program.schemaVersion === 3) {\n const applicabilityDecisionByKey = new Map(\n program.applicabilityDecisions.map((decision) => [versionedApplicabilityDecisionKey(decision), decision] as const),\n );\n program.obligationRegister.entries.forEach((entry, entryIndex) => {\n const citedCurrentDecisions: AssuranceProgramApplicabilityDecision[] = [];\n entry.sourceApplicabilityDecisionRefs.forEach((identity, identityIndex) => {\n const decision = applicabilityDecisionByKey.get(versionedApplicabilityDecisionKey(identity));\n if (decision && (decision.effectiveFrom > evaluatedOn || (decision.effectiveUntil !== undefined && evaluatedOn > decision.effectiveUntil)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n path: `obligationRegister.entries.${entryIndex}.sourceApplicabilityDecisionRefs.${identityIndex}`,\n message: `cited source applicability decision ${versionedApplicabilityDecisionKey(identity)} is not current on ${evaluatedOn}`,\n });\n else if (decision) citedCurrentDecisions.push(decision);\n });\n if (\n entry.applicability.status === AssuranceProgramObligationApplicabilityStatus.APPLICABLE &&\n !citedCurrentDecisions.some((decision) => decision.status === AssuranceProgramApplicabilityStatus.APPLICABLE)\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `obligationRegister.entries.${entryIndex}.applicability.status`,\n message: \"an applicable obligation requires at least one cited source applicability decision that is currently APPLICABLE\",\n });\n });\n }\n\n const requiredApplicabilitySubjects = new Set<string>();\n objectiveBindings.forEach((binding) =>\n binding.sourceRequirementRefs.forEach((reference) =>\n binding.scopeSelectorRefs.forEach((scopeRef) => requiredApplicabilitySubjects.add(applicabilitySubjectKey(reference.source, scopeRef))),\n ),\n );\n program.sourceReferences.forEach((source) => {\n const matchingScopes = program.applicabilityDecisions\n .filter((decision) => versionedSourceKey(decision.source) === versionedSourceKey(source.identity))\n .map((decision) => decision.scopeSelectorRef);\n matchingScopes.forEach((scopeRef) => requiredApplicabilitySubjects.add(applicabilitySubjectKey(source.identity, scopeRef)));\n });\n requiredApplicabilitySubjects.forEach((subject) => {\n const decisions = program.applicabilityDecisions\n .filter((decision) => applicabilitySubjectKey(decision.source, decision.scopeSelectorRef) === subject)\n .sort((left, right) => compareCanonicalText(left.effectiveFrom, right.effectiveFrom));\n const current = decisions.filter(\n (decision) => decision.effectiveFrom <= evaluatedOn && (!decision.effectiveUntil || evaluatedOn <= decision.effectiveUntil),\n );\n if (current.length !== 1)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.INCOMPLETE_APPLICABILITY,\n path: \"applicabilityDecisions\",\n message: `source/scope subject ${subject} requires exactly one decision current on ${evaluatedOn}; found ${current.length}`,\n });\n decisions.forEach((decision, index) => {\n const next = decisions[index + 1];\n if (!next) return;\n if (!decision.effectiveUntil)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `open applicability period for ${subject} cannot have a successor`,\n });\n else {\n const nextCalendarDay = new Date(`${decision.effectiveUntil}T00:00:00.000Z`);\n nextCalendarDay.setUTCDate(nextCalendarDay.getUTCDate() + 1);\n if (next.effectiveFrom !== nextCalendarDay.toISOString().slice(0, 10))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: \"applicabilityDecisions\",\n message: `declared applicability history for ${subject} contains a temporal gap`,\n });\n }\n });\n });\n\n program.gapsAndExceptions.forEach((finding, index) => {\n if (\n (finding.kind === AssuranceProgramFindingKind.EXCEPTION || finding.disposition === AssuranceGapDisposition.RISK_ACCEPTED) &&\n finding.expiresOn &&\n finding.expiresOn < evaluatedOn\n )\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `gapsAndExceptions.${index}.expiresOn`,\n message: `exception or risk acceptance expired before authority evaluation date ${evaluatedOn}`,\n });\n // An unscheduled review cannot be overdue. The programme's stamped limitation is what says so.\n if (finding.disposition !== AssuranceGapDisposition.RESOLVED && finding.reviewOn !== undefined && finding.reviewOn < evaluatedOn)\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `gapsAndExceptions.${index}.reviewOn`,\n message: `open finding review was due before authority evaluation date ${evaluatedOn}`,\n });\n });\n\n if (program.schemaVersion === 1) {\n program.sourceRevisions.forEach((revision, index) => {\n revision.artifacts.forEach((artifact) => {\n if (!hostArtifacts.has(artifact.artifactRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_IMPLEMENTATION_ARTIFACT,\n path: `sourceRevisions.${index}.artifacts`,\n subjectRef: sourceRevisionArtifactSubjectRef(revision.sourceRevisionRef, artifact.artifactRef),\n message: `artifact ${artifact.artifactRef} is absent from the host authority inventory`,\n });\n });\n });\n } else {\n program.authorityBases.forEach((basis, basisIndex) => {\n basis.attestedArtifactRefs.forEach((artifactRef) => {\n if (!hostArtifacts.has(artifactRef))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.UNKNOWN_IMPLEMENTATION_ARTIFACT,\n path: `authorityBases.${basisIndex}.attestedArtifactRefs`,\n message: `artifact ${artifactRef} is not attested by the host authority-basis inventory`,\n });\n });\n });\n }\n\n program.implementationStatements.forEach((statement, statementIndex) => {\n if (statement.acceptedAt && timestampIsAfter(statement.acceptedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: \"implementation-statement acceptance cannot be later than the authority evaluation time\",\n });\n if (statement.invalidatedAt && timestampIsAfter(statement.invalidatedAt, snapshot.evaluatedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.invalidatedAt`,\n message: \"implementation-statement invalidation cannot be later than the authority evaluation time\",\n });\n if (statement.lifecycleStatus !== AssuranceImplementationStatementLifecycleStatus.ACCEPTED) return;\n const objectiveKey = versionedObjectiveKey(statement.objective);\n const binding = objectiveBindings.find(\n (candidate) => versionedObjectiveKey(candidate.objective) === objectiveKey && candidate.scopeSelectorRefs.includes(statement.governanceScope.scopeRef),\n );\n if (!binding) return;\n if (statement.acceptedAt) {\n const causallyCheckedSources = new Set<string>();\n binding.sourceRequirementRefs.forEach((reference) => {\n const authority = sourceRequirementAuthorities.get(versionedSourceRequirementKey(reference));\n if (authority && timestampIsAfter(authority.reviewedAt, statement.acceptedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: `accepted statement predates the bound source-requirement review ${versionedSourceRequirementKey(reference)}`,\n });\n const sourceKey = versionedSourceKey(reference.source);\n if (causallyCheckedSources.has(sourceKey)) return;\n causallyCheckedSources.add(sourceKey);\n const source = sourceRecords.get(sourceKey);\n if (source && timestampIsAfter(source.rights.reviewedAt, statement.acceptedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: `accepted statement predates the source-rights review for ${sourceKey}`,\n });\n if (source?.retrievedArtifact && timestampIsAfter(source.retrievedArtifact.retrievedAt, statement.acceptedAt))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.TEMPORAL_POLICY_CONFLICT,\n path: `implementationStatements.${statementIndex}.acceptedAt`,\n message: `accepted statement predates the retrieved source artifact for ${sourceKey}`,\n });\n });\n }\n const statementCapabilities = new Set(statement.capabilityBindingRefs.map((identity) => identity.capabilityRef));\n const statementEvidence = new Set(statement.expectedEvidence.map((requirement) => requirement.requirementRef));\n const statementVerification = new Set(statement.verificationExpectations.map((expectation) => expectation.expectationRef));\n binding.implementationExpectationRefs.forEach((identity) => {\n const authority = implementationExpectationAuthorities.get(versionedExpectationKey(identity));\n if (!authority) return;\n /*\n * Ask WHY before reporting that the statement does not satisfy the expectation. A capability the\n * application's configuration withholds cannot be bound by any statement, so the generic mismatch\n * below would tell an author to fix something they cannot fix — and that misdirection is not\n * theoretical: it has already cost rounds of evidence collection against an objective whose\n * attesting capability was never available, answerable from configuration before any was gathered.\n */\n const applicability = deriveExpectationCapabilityApplicability({\n requiredCapabilityRefs: authority.requiredCapabilityRefs,\n availableCapabilityRefs: hostCapabilityRefs,\n });\n if (applicability.status !== AssuranceProgramApplicabilityStatus.APPLICABLE) {\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.REQUIRED_CAPABILITY_UNAVAILABLE,\n path: `implementationStatements.${statementIndex}.capabilityBindingRefs`,\n subjectRef: versionedExpectationKey(identity),\n message:\n `${versionedExpectationKey(identity)} requires ${applicability.unavailableCapabilityRefs.join(\", \")}, which this ` +\n `application's configuration does not make available, so the objective is ${applicability.status}. ` +\n (applicability.status === AssuranceProgramApplicabilityStatus.NOT_APPLICABLE\n ? \"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.\"\n : \"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.\"),\n });\n return;\n }\n if (authority.requiredCapabilityRefs.some((capabilityRef) => !statementCapabilities.has(capabilityRef)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.capabilityBindingRefs`,\n message: `${versionedExpectationKey(identity)} is not satisfied by the accepted statement capabilities`,\n });\n });\n binding.evidenceExpectationRefs.forEach((identity) => {\n const authority = evidenceExpectationAuthorities.get(versionedExpectationKey(identity));\n if (authority?.requiredStatementEvidenceRefs.some((requirementRef) => !statementEvidence.has(requirementRef)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.expectedEvidence`,\n message: `${versionedExpectationKey(identity)} is not satisfied by the accepted statement evidence requirements`,\n });\n });\n binding.verificationExpectationRefs.forEach((identity) => {\n const authority = verificationExpectationAuthorities.get(versionedExpectationKey(identity));\n if (authority?.requiredStatementVerificationRefs.some((expectationRef) => !statementVerification.has(expectationRef)))\n issues.push({\n kind: AssuranceProgramSpecificationIssueKind.RELATIONSHIP_MISMATCH,\n path: `implementationStatements.${statementIndex}.verificationExpectations`,\n message: `${versionedExpectationKey(identity)} is not satisfied by the accepted statement verification expectations`,\n });\n });\n });\n return { ok: issues.length === 0, issues };\n};\n/** @wildo_source:part:end saas.specifications.assurance-program.contract */\n"]}