@wildo-ai/saas-specifications 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (633) hide show
  1. package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
  2. package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
  3. package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
  4. package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
  5. package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
  6. package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
  7. package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
  8. package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
  9. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
  10. package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
  11. package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
  12. package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
  13. package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
  14. package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
  15. package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
  16. package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
  17. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
  18. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
  19. package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
  20. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
  21. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
  22. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
  23. package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
  24. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
  25. package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
  26. package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
  27. package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
  28. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
  29. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
  30. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
  31. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
  32. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
  33. package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
  34. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
  35. package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
  36. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
  37. package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
  38. package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
  39. package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
  40. package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
  41. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
  42. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
  43. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
  44. package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
  45. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
  46. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
  47. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
  48. package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
  49. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
  50. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
  51. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
  52. package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
  53. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
  54. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
  55. package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
  56. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
  57. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
  58. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
  59. package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
  60. package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
  61. package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
  62. package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
  63. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
  64. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
  65. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
  66. package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
  67. package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
  68. package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
  69. package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
  70. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
  71. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
  72. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
  73. package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
  74. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
  75. package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
  76. package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
  77. package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
  78. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
  79. package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
  80. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
  81. package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
  82. package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
  83. package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
  84. package/dist/esm/_core/family-aspects.registry.js +60 -0
  85. package/dist/esm/_core/family-aspects.registry.js.map +1 -0
  86. package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
  87. package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
  88. package/dist/esm/_core/family-aspects.schemas.js +15 -0
  89. package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
  90. package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
  91. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
  92. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
  93. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
  94. package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
  95. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
  96. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
  97. package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
  98. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
  99. package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
  100. package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
  101. package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
  102. package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
  103. package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
  104. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
  105. package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
  106. package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
  107. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
  108. package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
  109. package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
  110. package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
  111. package/dist/esm/_core/index.d.ts +3 -0
  112. package/dist/esm/_core/index.d.ts.map +1 -1
  113. package/dist/esm/_core/index.js +3 -0
  114. package/dist/esm/_core/index.js.map +1 -1
  115. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
  116. package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
  117. package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
  118. package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
  119. package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
  120. package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
  121. package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
  122. package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
  123. package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
  124. package/dist/esm/_core/market/market.family-aspects.js +227 -0
  125. package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
  126. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
  127. package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
  128. package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
  129. package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
  130. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
  131. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
  132. package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
  133. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
  134. package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
  135. package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
  136. package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
  137. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
  138. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
  139. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
  140. package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
  141. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
  142. package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
  143. package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
  144. package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
  145. package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
  146. package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
  147. package/dist/esm/_core/provider-specification.schemas.js +144 -0
  148. package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
  149. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
  150. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
  151. package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
  152. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
  153. package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
  154. package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
  155. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
  156. package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
  157. package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
  158. package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
  159. package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
  160. package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
  161. package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
  162. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
  163. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
  164. package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
  165. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
  166. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
  167. package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
  168. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
  169. package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
  170. package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
  171. package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
  172. package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
  173. package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
  174. package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
  175. package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
  176. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
  177. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
  178. package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
  179. package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
  180. package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
  181. package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
  182. package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
  183. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
  184. package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
  185. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
  186. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
  187. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +157 -57
  188. package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
  189. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
  190. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
  191. package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
  192. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
  193. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
  194. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
  195. package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
  196. package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
  197. package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
  198. package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
  199. package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
  200. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
  201. package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
  202. package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
  203. package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
  204. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
  205. package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
  206. package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
  207. package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
  208. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
  209. package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
  210. package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
  211. package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
  212. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
  213. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
  214. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
  215. package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
  216. package/dist/esm/application-creation.exports.d.ts +11 -0
  217. package/dist/esm/application-creation.exports.d.ts.map +1 -1
  218. package/dist/esm/application-creation.exports.js +11 -0
  219. package/dist/esm/application-creation.exports.js.map +1 -1
  220. package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
  221. package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
  222. package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
  223. package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
  224. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
  225. package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
  226. package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
  227. package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
  228. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
  229. package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
  230. package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
  231. package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
  232. package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
  233. package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
  234. package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
  235. package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
  236. package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
  237. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
  238. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
  239. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
  240. package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
  241. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
  242. package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
  243. package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
  244. package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
  245. package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
  246. package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
  247. package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
  248. package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
  249. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
  250. package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
  251. package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
  252. package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
  253. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
  254. package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
  255. package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
  256. package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
  257. package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
  258. package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
  259. package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
  260. package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
  261. package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
  262. package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
  263. package/dist/esm/assurance/assurance-program.schemas.js +319 -8
  264. package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
  265. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
  266. package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
  267. package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
  268. package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
  269. package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
  270. package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
  271. package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
  272. package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
  273. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
  274. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
  275. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
  276. package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
  277. package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
  278. package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
  279. package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
  280. package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
  281. package/dist/esm/assurance.exports.d.ts +2 -0
  282. package/dist/esm/assurance.exports.d.ts.map +1 -1
  283. package/dist/esm/assurance.exports.js +2 -0
  284. package/dist/esm/assurance.exports.js.map +1 -1
  285. package/dist/esm/companion-exports.d.ts +26 -8
  286. package/dist/esm/companion-exports.d.ts.map +1 -1
  287. package/dist/esm/companion-exports.js.map +1 -1
  288. package/dist/esm/engine/_bootstrap.js +3 -1
  289. package/dist/esm/engine/_bootstrap.js.map +1 -1
  290. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
  291. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +15 -1
  292. package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
  293. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
  294. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
  295. package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
  296. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
  297. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
  298. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +17 -3
  299. package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
  300. package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
  301. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
  302. package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
  303. package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
  304. package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
  305. package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
  306. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
  307. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
  308. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
  309. package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
  310. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
  311. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
  312. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -1
  313. package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
  314. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
  315. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
  316. package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
  317. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
  318. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
  319. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +17 -3
  320. package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
  321. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
  322. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
  323. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
  324. package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
  325. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
  326. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
  327. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
  328. package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
  329. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
  330. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
  331. package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
  332. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
  333. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
  334. package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
  335. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
  336. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -9
  337. package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
  338. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
  339. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
  340. package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
  341. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
  342. package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
  343. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +106 -10
  344. package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
  345. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
  346. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
  347. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
  348. package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
  349. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
  350. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
  351. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
  352. package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
  353. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
  354. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
  355. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +6 -3
  356. package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
  357. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
  358. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
  359. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
  360. package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
  361. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
  362. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
  363. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
  364. package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
  365. package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
  366. package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
  367. package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
  368. package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
  369. package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
  370. package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
  371. package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
  372. package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
  373. package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
  374. package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
  375. package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
  376. package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
  377. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
  378. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
  379. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
  380. package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
  381. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +13 -9
  382. package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
  383. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +30 -11
  384. package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
  385. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
  386. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -8
  387. package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
  388. package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
  389. package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
  390. package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
  391. package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
  392. package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
  393. package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
  394. package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
  395. package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
  396. package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
  397. package/dist/esm/engine/errors/error-messages.specification.js +44 -1
  398. package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
  399. package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
  400. package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
  401. package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
  402. package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
  403. package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
  404. package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
  405. package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
  406. package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
  407. package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -3
  408. package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
  409. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
  410. package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
  411. package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
  412. package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
  413. package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
  414. package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
  415. package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
  416. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
  417. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
  418. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
  419. package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
  420. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
  421. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
  422. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
  423. package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
  424. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
  425. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
  426. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
  427. package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
  428. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
  429. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
  430. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
  431. package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
  432. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
  433. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
  434. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
  435. package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
  436. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
  437. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
  438. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
  439. package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
  440. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
  441. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
  442. package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
  443. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
  444. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
  445. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
  446. package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
  447. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
  448. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
  449. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
  450. package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
  451. package/dist/esm/engine/frontend-components/index.d.ts +0 -2
  452. package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
  453. package/dist/esm/engine/frontend-components/index.js +4 -6
  454. package/dist/esm/engine/frontend-components/index.js.map +1 -1
  455. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
  456. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
  457. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
  458. package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
  459. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
  460. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
  461. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
  462. package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
  463. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
  464. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
  465. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
  466. package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
  467. package/dist/esm/engine/index.d.ts +2 -0
  468. package/dist/esm/engine/index.d.ts.map +1 -1
  469. package/dist/esm/engine/index.js +2 -0
  470. package/dist/esm/engine/index.js.map +1 -1
  471. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
  472. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -17
  473. package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
  474. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
  475. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -7
  476. package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
  477. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
  478. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
  479. package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
  480. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
  481. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
  482. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
  483. package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
  484. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
  485. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -15
  486. package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
  487. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
  488. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
  489. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
  490. package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
  491. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
  492. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
  493. package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
  494. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
  495. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
  496. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -9
  497. package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
  498. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
  499. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
  500. package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
  501. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
  502. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
  503. package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
  504. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
  505. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
  506. package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
  507. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
  508. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
  509. package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
  510. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
  511. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
  512. package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
  513. package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
  514. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
  515. package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
  516. package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
  517. package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
  518. package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
  519. package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
  520. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
  521. package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
  522. package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
  523. package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
  524. package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
  525. package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
  526. package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
  527. package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
  528. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
  529. package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
  530. package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
  531. package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
  532. package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
  533. package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
  534. package/dist/esm/engine/providers/github.provider.specification.js +30 -0
  535. package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
  536. package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
  537. package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
  538. package/dist/esm/engine/providers/google.provider.specification.js +34 -0
  539. package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
  540. package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
  541. package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
  542. package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
  543. package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
  544. package/dist/esm/engine/providers/index.d.ts +23 -0
  545. package/dist/esm/engine/providers/index.d.ts.map +1 -0
  546. package/dist/esm/engine/providers/index.js +37 -0
  547. package/dist/esm/engine/providers/index.js.map +1 -0
  548. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
  549. package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
  550. package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
  551. package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
  552. package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
  553. package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
  554. package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
  555. package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
  556. package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
  557. package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
  558. package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
  559. package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
  560. package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
  561. package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
  562. package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
  563. package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
  564. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
  565. package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
  566. package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
  567. package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
  568. package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
  569. package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
  570. package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
  571. package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
  572. package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
  573. package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
  574. package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
  575. package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
  576. package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
  577. package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
  578. package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
  579. package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
  580. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
  581. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -7
  582. package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
  583. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
  584. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
  585. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
  586. package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
  587. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
  588. package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
  589. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
  590. package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
  591. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
  592. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
  593. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -8
  594. package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
  595. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
  596. package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
  597. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -4
  598. package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
  599. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
  600. package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
  601. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
  602. package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
  603. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +5 -5
  604. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
  605. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +15 -11
  606. package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
  607. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
  608. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
  609. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
  610. package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
  611. package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
  612. package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
  613. package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
  614. package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
  615. package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
  616. package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
  617. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
  618. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
  619. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +451 -25
  620. package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
  621. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
  622. package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
  623. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
  624. package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
  625. package/dist/tsconfig.build.tsbuildinfo +1 -0
  626. package/package.json +8 -8
  627. package/dist/esm/.builder.pid +0 -9
  628. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
  629. package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
  630. package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
  631. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
  632. package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
  633. package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
@@ -40,6 +40,7 @@ export declare const INITIAL_ASSURANCE_SOURCE_REGISTRY: {
40
40
  }[];
41
41
  validUntil?: string;
42
42
  };
43
+ jurisdictionalReach: string[];
43
44
  scopeLimitations: string[];
44
45
  effectiveOn?: string;
45
46
  retrievedArtifact?: {
@@ -1 +1 @@
1
- {"version":3,"file":"assurance-source-registry.definitions.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-source-registry.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAE9B,mBAAmB,EACnB,kBAAkB,EAElB,4BAA4B,EAC7B,MAAM,6BAA6B,CAAC;AAoFrC;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuK5C,CAAC"}
1
+ {"version":3,"file":"assurance-source-registry.definitions.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-source-registry.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAE9B,mBAAmB,EACnB,kBAAkB,EAElB,4BAA4B,EAC7B,MAAM,6BAA6B,CAAC;AAoFrC;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmL5C,CAAC"}
@@ -76,6 +76,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
76
76
  publishedOn: "2026-07-16",
77
77
  canonicalLocator: "https://commission.europa.eu/digital-life/protecting-your-data-and-privacy_en",
78
78
  authorityName: "European Commission",
79
+ jurisdictionalReach: ["eu"],
79
80
  rights: EC_REFERENCE_ONLY_RIGHTS,
80
81
  scopeLimitations: [
81
82
  "Official explanatory guidance supports fact and review questions but does not replace the binding legal text, application-specific applicability or qualified advice.",
@@ -90,6 +91,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
90
91
  publishedOn: "2026-04-29",
91
92
  canonicalLocator: "https://europa.eu/youreurope/citizens/consumers/shopping/contract-information/index_en.htm",
92
93
  authorityName: "European Union",
94
+ jurisdictionalReach: ["eu"],
93
95
  rights: EC_REFERENCE_ONLY_RIGHTS,
94
96
  scopeLimitations: [
95
97
  "Official explanatory guidance covers general EU consumer information and durable-confirmation concerns; B2C applicability, national implementation and contract language still require qualified review.",
@@ -105,6 +107,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
105
107
  effectiveOn: "2018-05-25",
106
108
  canonicalLocator: "https://eur-lex.europa.eu/eli/reg/2016/679/oj",
107
109
  authorityName: "European Union",
110
+ jurisdictionalReach: ["eu"],
108
111
  rights: EUR_LEX_RIGHTS,
109
112
  scopeLimitations: [
110
113
  "Applicability, national law, sector-specific duties and legal interpretation remain application-specific.",
@@ -120,6 +123,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
120
123
  publishedOn: "2026-02-13",
121
124
  canonicalLocator: "https://www.hhs.gov/hipaa/for-professionals/privacy/guidance/privacy-practices-for-protected-health-information/index.html",
122
125
  authorityName: "United States Department of Health and Human Services",
126
+ jurisdictionalReach: ["us"],
123
127
  rights: HHS_REFERENCE_ONLY_RIGHTS,
124
128
  scopeLimitations: [
125
129
  "Only verified covered roles and functions may activate a health notice; this guidance must not be collapsed into a general website privacy notice.",
@@ -134,6 +138,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
134
138
  publishedOn: "2003-02-20",
135
139
  canonicalLocator: "https://www.hhs.gov/hipaa/for-professionals/security/index.html",
136
140
  authorityName: "United States Department of Health and Human Services",
141
+ jurisdictionalReach: ["us"],
137
142
  rights: HHS_REFERENCE_ONLY_RIGHTS,
138
143
  scopeLimitations: [
139
144
  "Does not cover the HIPAA Privacy Rule, Breach Notification Rule, Enforcement Rule, entity applicability, business-associate agreements or state law.",
@@ -149,6 +154,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
149
154
  publishedOn: "2024-02-26",
150
155
  canonicalLocator: "https://doi.org/10.6028/NIST.CSWP.29",
151
156
  authorityName: "National Institute of Standards and Technology",
157
+ jurisdictionalReach: ["us"],
152
158
  rights: NIST_RIGHTS,
153
159
  scopeLimitations: ["Voluntary cybersecurity-risk outcomes; does not prescribe implementation or establish target-framework conformity."],
154
160
  }),
@@ -161,6 +167,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
161
167
  publishedOn: "2026-04-30",
162
168
  canonicalLocator: "https://github.com/usnistgov/OSCAL/releases/tag/v1.2.2",
163
169
  authorityName: "National Institute of Standards and Technology",
170
+ jurisdictionalReach: ["us"],
164
171
  rights: NIST_RIGHTS,
165
172
  scopeLimitations: [
166
173
  "OSCAL is an optional exchange format and never replaces canonical Wildo TypeScript specifications, application decisions or evidence authority.",
@@ -175,6 +182,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
175
182
  publishedOn: "2020-01-16",
176
183
  canonicalLocator: "https://doi.org/10.6028/NIST.CSWP.01162020",
177
184
  authorityName: "National Institute of Standards and Technology",
185
+ jurisdictionalReach: ["us"],
178
186
  rights: NIST_RIGHTS,
179
187
  scopeLimitations: ["Version 1.1 remained an initial public draft at the registry verification point and is not accepted as the final foundation."],
180
188
  }),
@@ -187,6 +195,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
187
195
  publishedOn: "2022-02-03",
188
196
  canonicalLocator: "https://doi.org/10.6028/NIST.SP.800-218",
189
197
  authorityName: "National Institute of Standards and Technology",
198
+ jurisdictionalReach: ["us"],
190
199
  rights: NIST_RIGHTS,
191
200
  scopeLimitations: ["Secure-development guidance is one foundation input; it does not establish operating effectiveness or regulatory applicability."],
192
201
  }),
@@ -199,6 +208,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
199
208
  publishedOn: "2025-08-27",
200
209
  canonicalLocator: "https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final",
201
210
  authorityName: "National Institute of Standards and Technology",
211
+ jurisdictionalReach: ["us"],
202
212
  rights: NIST_RIGHTS,
203
213
  scopeLimitations: ["A control catalog requires tailoring, implementation and assessment; catalog inclusion is not proof of operation."],
204
214
  }),
@@ -211,6 +221,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
211
221
  publishedOn: "2025-08-27",
212
222
  canonicalLocator: "https://csrc.nist.gov/pubs/sp/800/53/a/r5/final",
213
223
  authorityName: "National Institute of Standards and Technology",
224
+ jurisdictionalReach: ["us"],
214
225
  rights: NIST_RIGHTS,
215
226
  scopeLimitations: ["Assessment procedures are customizable starting points and do not reduce assessment to an automatic checklist or pass/fail claim."],
216
227
  }),
@@ -223,6 +234,7 @@ export const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.p
223
234
  publishedOn: "2024-02-14",
224
235
  canonicalLocator: "https://doi.org/10.6028/NIST.SP.800-66r2",
225
236
  authorityName: "National Institute of Standards and Technology",
237
+ jurisdictionalReach: ["us"],
226
238
  rights: NIST_RIGHTS,
227
239
  scopeLimitations: [
228
240
  "Implementation guidance for the HIPAA Security Rule only; it does not cover Privacy, Breach Notification, applicability, contractual duties or all state obligations.",
@@ -1 +1 @@
1
- {"version":3,"file":"assurance-source-registry.definitions.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-source-registry.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,mBAAmB,EACnB,kBAAkB,EAElB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,GAAG,0BAA0B,CAAC;AAC/C,MAAM,YAAY,GAAG,qCAAqC,CAAC;AAE3D,MAAM,kBAAkB,GAAG,CAAC,gBAA2E,EAAE,UAAoB,EAAgC,EAA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AAgD;YAC/D,MAAM,EAAE,WAAW;YACnB,gBAAgB,EAAE,CAAC,mHAAmH,CAAC;SACxI,CAAC;QACF,MAAM,CAAC;YACL,QAAQ,EAAE,EAAE,SAAS,EAAE,4CAA4C,EAAE,aAAa,EAAE,CAAC,EAAE;YACvF,cAAc,EAAE,kFAAkF;YAClG,aAAa,EAAE,4BAA4B,CAAC,sBAAsB;YAClE,IAAI,EAAE,mBAAmB,CAAC,yBAAyB;YACnD,OAAO,EAAE,uCAAuC;YAChD,WAAW,EAAE,YAAY;YACzB,gBAAgB,EAAE,iDAAiD;YACnE,aAAa,EAAE,gDAAgD;YAC/D,MAAM,EAAE,WAAW;YACnB,gBAAgB,EAAE,CAAC,mIAAmI,CAAC;SACxJ,CAAC;QACF,MAAM,CAAC;YACL,QAAQ,EAAE,EAAE,SAAS,EAAE,6BAA6B,EAAE,aAAa,EAAE,CAAC,EAAE;YACxE,cAAc,EAAE,sEAAsE;YACtF,aAAa,EAAE,4BAA4B,CAAC,mBAAmB;YAC/D,IAAI,EAAE,mBAAmB,CAAC,yBAAyB;YACnD,OAAO,EAAE,6BAA6B;YACtC,WAAW,EAAE,YAAY;YACzB,gBAAgB,EAAE,0CAA0C;YAC5D,aAAa,EAAE,gDAAgD;YAC/D,MAAM,EAAE,WAAW;YACnB,gBAAgB,EAAE;gBAChB,uKAAuK;aACxK;SACF,CAAC;KACH;CACF,CAAC,CAAC","sourcesContent":["import {\n AssuranceRightsReviewStatus,\n AssuranceSourceAuthorityKind,\n AssuranceSourceContentHandling,\n AssuranceSourceLifecycleStatus,\n AssuranceSourceRegistrySchema,\n AssuranceSourceTier,\n AssuranceSourceUse,\n AssuranceSourceUseDecision,\n AssuranceSourceUsePermission,\n} from \"./assurance-sources.schemas\";\n\nconst VERIFIED_AT = \"2026-08-08T17:00:00.000Z\";\nconst REVIEWER_REF = \"reviewer:wildo-source-rights-review\";\n\nconst sourceUseDecisions = (permissionForUse: (use: AssuranceSourceUse) => AssuranceSourceUsePermission, conditions: string[]): AssuranceSourceUseDecision[] =>\n Object.values(AssuranceSourceUse).map((use) => ({ use, permission: permissionForUse(use), conditions }));\n\nconst NIST_RIGHTS = {\n rightsRef: \"rights:nist-public-information-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://www.nist.gov/copyrights-disclaimers\",\n basisSummary:\n \"NIST states that, except for material marked as copyrighted, information on NIST sites is public information that may be distributed or copied. Each acquired artifact must still exclude or separately clear marked third-party material.\",\n attributionNotice: \"Credit the National Institute of Standards and Technology and preserve any publication-specific notice; do not imply NIST endorsement.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n () => AssuranceSourceUsePermission.ALLOWED,\n [\"Applies only to NIST-authored material not separately marked as copyrighted.\", \"Credit NIST and do not imply endorsement.\"],\n ),\n};\n\nconst EUR_LEX_RIGHTS = {\n rightsRef: \"rights:eur-lex-legal-document-reuse-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://eur-lex.europa.eu/content/legal-notice/legal-notice.html?locale=en\",\n basisSummary:\n \"EUR-Lex permits commercial and non-commercial reuse of legal documents unless otherwise specified, subject to source acknowledgement, non-distortion and any document-specific or third-party conditions.\",\n attributionNotice: \"Acknowledge EUR-Lex/European Union as source, identify modifications, do not distort meaning and do not imply endorsement.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n () => AssuranceSourceUsePermission.ALLOWED,\n [\n \"Acknowledge the source and identify modifications.\",\n \"Do not distort the original meaning or imply endorsement.\",\n \"Exclude third-party works, marks and logos unless separately authorized.\",\n ],\n ),\n};\n\nconst HHS_REFERENCE_ONLY_RIGHTS = {\n rightsRef: \"rights:hhs-reference-only-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://www.hhs.gov/web/policies-and-standards/hhs-web-policies/index.html\",\n basisSummary:\n \"This Step 0 review authorizes storage and distribution of source identity metadata and links only. It does not claim content-level reuse, derivation, model-input or redistribution rights for HHS page bytes.\",\n attributionNotice: \"Identify HHS as the authority and link to the current official source; no HHS content bytes are bundled under this record.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n (use) => (use === AssuranceSourceUse.STORE_METADATA ? AssuranceSourceUsePermission.ALLOWED : AssuranceSourceUsePermission.REQUIRES_ADDITIONAL_RIGHTS),\n [\"Reference metadata only; acquire and review a publication-specific rights basis before any content operation.\"],\n ),\n};\n\nconst EC_REFERENCE_ONLY_RIGHTS = {\n rightsRef: \"rights:ec-guidance-reference-only-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://commission.europa.eu/legal-notice_en\",\n basisSummary:\n \"This record authorizes source identity metadata and links only. Although the Commission reuse policy covers much site content, each future content operation must separately resolve attribution, third-party material and page-specific conditions.\",\n attributionNotice:\n \"Identify the European Commission or European Union as the source and link to the current official page; no guidance page bytes are bundled.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n (use) => (use === AssuranceSourceUse.STORE_METADATA ? AssuranceSourceUsePermission.ALLOWED : AssuranceSourceUsePermission.REQUIRES_ADDITIONAL_RIGHTS),\n [\"Reference metadata only; review the Commission reuse policy and page-specific third-party material before any content operation.\"],\n ),\n};\n\nconst source = (record: Record<string, unknown>): Record<string, unknown> => ({\n schemaVersion: 1,\n lifecycleStatus: AssuranceSourceLifecycleStatus.ACTIVE,\n contentHandling: AssuranceSourceContentHandling.REFERENCE_ONLY,\n ...record,\n});\n\n/**\n * Smallest Step 0B source registry justified by the current plan. It pins source identities and reviewed handling decisions but intentionally bundles no normative bytes.\n *\n * Privacy Framework 1.0 remains the final publication: 1.1 was still an initial public draft at the 2026-08-02 verification point. HIPAA Privacy and Breach Notification\n * obligations are explicitly outside the HHS Security Rule record rather than being silently collapsed into it.\n */\nexport const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.parse({\n schemaVersion: 1,\n registryVersion: 2,\n verifiedAt: VERIFIED_AT,\n sources: [\n source({\n identity: { sourceRef: \"source:ec-protecting-data-and-privacy\", sourceVersion: 1 },\n canonicalTitle: \"Protecting your data and privacy\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"European Commission page last updated 16 July 2026\",\n publishedOn: \"2026-07-16\",\n canonicalLocator: \"https://commission.europa.eu/digital-life/protecting-your-data-and-privacy_en\",\n authorityName: \"European Commission\",\n rights: EC_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Official explanatory guidance supports fact and review questions but does not replace the binding legal text, application-specific applicability or qualified advice.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:eu-consumer-contract-information\", sourceVersion: 1 },\n canonicalTitle: \"Information you should get when buying and signing a contract\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"Your Europe guidance last checked 29 April 2026\",\n publishedOn: \"2026-04-29\",\n canonicalLocator: \"https://europa.eu/youreurope/citizens/consumers/shopping/contract-information/index_en.htm\",\n authorityName: \"European Union\",\n rights: EC_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Official explanatory guidance covers general EU consumer information and durable-confirmation concerns; B2C applicability, national implementation and contract language still require qualified review.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:eu-gdpr-2016-679\", sourceVersion: 1 },\n canonicalTitle: \"Regulation (EU) 2016/679 (General Data Protection Regulation)\",\n authorityKind: AssuranceSourceAuthorityKind.LAW_OR_REGULATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"Official Journal L 119, 4 May 2016\",\n publishedOn: \"2016-05-04\",\n effectiveOn: \"2018-05-25\",\n canonicalLocator: \"https://eur-lex.europa.eu/eli/reg/2016/679/oj\",\n authorityName: \"European Union\",\n rights: EUR_LEX_RIGHTS,\n scopeLimitations: [\n \"Applicability, national law, sector-specific duties and legal interpretation remain application-specific.\",\n \"A readiness projection is not a legal opinion or authority decision.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:hhs-hipaa-notice-privacy-practices\", sourceVersion: 1 },\n canonicalTitle: \"Notice of Privacy Practices for Protected Health Information\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"HHS OCR guidance content last reviewed 13 February 2026\",\n publishedOn: \"2026-02-13\",\n canonicalLocator: \"https://www.hhs.gov/hipaa/for-professionals/privacy/guidance/privacy-practices-for-protected-health-information/index.html\",\n authorityName: \"United States Department of Health and Human Services\",\n rights: HHS_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Only verified covered roles and functions may activate a health notice; this guidance must not be collapsed into a general website privacy notice.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:hhs-hipaa-security-rule\", sourceVersion: 1 },\n canonicalTitle: \"HIPAA Security Rule\",\n authorityKind: AssuranceSourceAuthorityKind.LAW_OR_REGULATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"Current effective rule boundary reviewed 19 March 2026; 45 CFR Part 160 and Part 164, Subparts A and C\",\n publishedOn: \"2003-02-20\",\n canonicalLocator: \"https://www.hhs.gov/hipaa/for-professionals/security/index.html\",\n authorityName: \"United States Department of Health and Human Services\",\n rights: HHS_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Does not cover the HIPAA Privacy Rule, Breach Notification Rule, Enforcement Rule, entity applicability, business-associate agreements or state law.\",\n \"The January 2025 Security Rule proposal is not treated as the currently effective rule.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:nist-csf-2.0\", sourceVersion: 1 },\n canonicalTitle: \"The NIST Cybersecurity Framework (CSF) 2.0\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST CSWP 29, Version 2.0\",\n publishedOn: \"2024-02-26\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.CSWP.29\",\n authorityName: \"National Institute of Standards and Technology\",\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Voluntary cybersecurity-risk outcomes; does not prescribe implementation or establish target-framework conformity.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-oscal-1.2.2\", sourceVersion: 1 },\n canonicalTitle: \"Open Security Controls Assessment Language (OSCAL)\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"OSCAL Version 1.2.2 patch release\",\n publishedOn: \"2026-04-30\",\n canonicalLocator: \"https://github.com/usnistgov/OSCAL/releases/tag/v1.2.2\",\n authorityName: \"National Institute of Standards and Technology\",\n rights: NIST_RIGHTS,\n scopeLimitations: [\n \"OSCAL is an optional exchange format and never replaces canonical Wildo TypeScript specifications, application decisions or evidence authority.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:nist-privacy-framework-1.0\", sourceVersion: 1 },\n canonicalTitle: \"NIST Privacy Framework: A Tool for Improving Privacy through Enterprise Risk Management, Version 1.0\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST CSWP 01162020, Version 1.0 final\",\n publishedOn: \"2020-01-16\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.CSWP.01162020\",\n authorityName: \"National Institute of Standards and Technology\",\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Version 1.1 remained an initial public draft at the registry verification point and is not accepted as the final foundation.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-218\", sourceVersion: 1 },\n canonicalTitle: \"Secure Software Development Framework (SSDF) Version 1.1\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-218, SSDF Version 1.1 final\",\n publishedOn: \"2022-02-03\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.SP.800-218\",\n authorityName: \"National Institute of Standards and Technology\",\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Secure-development guidance is one foundation input; it does not establish operating effectiveness or regulatory applicability.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-53-rev-5-release-5.2.0\", sourceVersion: 1 },\n canonicalTitle: \"Security and Privacy Controls for Information Systems and Organizations\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-53 Rev. 5, Release 5.2.0\",\n publishedOn: \"2025-08-27\",\n canonicalLocator: \"https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final\",\n authorityName: \"National Institute of Standards and Technology\",\n rights: NIST_RIGHTS,\n scopeLimitations: [\"A control catalog requires tailoring, implementation and assessment; catalog inclusion is not proof of operation.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-53a-rev-5-release-5.2.0\", sourceVersion: 1 },\n canonicalTitle: \"Assessing Security and Privacy Controls in Information Systems and Organizations\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-53A Rev. 5, Release 5.2.0\",\n publishedOn: \"2025-08-27\",\n canonicalLocator: \"https://csrc.nist.gov/pubs/sp/800/53/a/r5/final\",\n authorityName: \"National Institute of Standards and Technology\",\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Assessment procedures are customizable starting points and do not reduce assessment to an automatic checklist or pass/fail claim.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-66-rev-2\", sourceVersion: 1 },\n canonicalTitle: \"Implementing the HIPAA Security Rule: A Cybersecurity Resource Guide\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-66 Rev. 2 final\",\n publishedOn: \"2024-02-14\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.SP.800-66r2\",\n authorityName: \"National Institute of Standards and Technology\",\n rights: NIST_RIGHTS,\n scopeLimitations: [\n \"Implementation guidance for the HIPAA Security Rule only; it does not cover Privacy, Breach Notification, applicability, contractual duties or all state obligations.\",\n ],\n }),\n ],\n});\n"]}
1
+ {"version":3,"file":"assurance-source-registry.definitions.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-source-registry.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,mBAAmB,EACnB,kBAAkB,EAElB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,GAAG,0BAA0B,CAAC;AAC/C,MAAM,YAAY,GAAG,qCAAqC,CAAC;AAE3D,MAAM,kBAAkB,GAAG,CAAC,gBAA2E,EAAE,UAAoB,EAAgC,EAAE,CAC7J,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;AAE3G,MAAM,WAAW,GAAG;IAClB,SAAS,EAAE,mCAAmC;IAC9C,aAAa,EAAE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AO,EAAE,sCAAsC;YAC/C,WAAW,EAAE,YAAY;YACzB,gBAAgB,EAAE,oDAAoD;YACtE,aAAa,EAAE,gDAAgD;YAC/D,mBAAmB,EAAE,CAAC,IAAI,CAAC;YAC3B,MAAM,EAAE,WAAW;YACnB,gBAAgB,EAAE,CAAC,mHAAmH,CAAC;SACxI,CAAC;QACF,MAAM,CAAC;YACL,QAAQ,EAAE,EAAE,SAAS,EAAE,4CAA4C,EAAE,aAAa,EAAE,CAAC,EAAE;YACvF,cAAc,EAAE,kFAAkF;YAClG,aAAa,EAAE,4BAA4B,CAAC,sBAAsB;YAClE,IAAI,EAAE,mBAAmB,CAAC,yBAAyB;YACnD,OAAO,EAAE,uCAAuC;YAChD,WAAW,EAAE,YAAY;YACzB,gBAAgB,EAAE,iDAAiD;YACnE,aAAa,EAAE,gDAAgD;YAC/D,mBAAmB,EAAE,CAAC,IAAI,CAAC;YAC3B,MAAM,EAAE,WAAW;YACnB,gBAAgB,EAAE,CAAC,mIAAmI,CAAC;SACxJ,CAAC;QACF,MAAM,CAAC;YACL,QAAQ,EAAE,EAAE,SAAS,EAAE,6BAA6B,EAAE,aAAa,EAAE,CAAC,EAAE;YACxE,cAAc,EAAE,sEAAsE;YACtF,aAAa,EAAE,4BAA4B,CAAC,mBAAmB;YAC/D,IAAI,EAAE,mBAAmB,CAAC,yBAAyB;YACnD,OAAO,EAAE,6BAA6B;YACtC,WAAW,EAAE,YAAY;YACzB,gBAAgB,EAAE,0CAA0C;YAC5D,aAAa,EAAE,gDAAgD;YAC/D,mBAAmB,EAAE,CAAC,IAAI,CAAC;YAC3B,MAAM,EAAE,WAAW;YACnB,gBAAgB,EAAE;gBAChB,uKAAuK;aACxK;SACF,CAAC;KACH;CACF,CAAC,CAAC","sourcesContent":["import {\n AssuranceRightsReviewStatus,\n AssuranceSourceAuthorityKind,\n AssuranceSourceContentHandling,\n AssuranceSourceLifecycleStatus,\n AssuranceSourceRegistrySchema,\n AssuranceSourceTier,\n AssuranceSourceUse,\n AssuranceSourceUseDecision,\n AssuranceSourceUsePermission,\n} from \"./assurance-sources.schemas\";\n\nconst VERIFIED_AT = \"2026-08-08T17:00:00.000Z\";\nconst REVIEWER_REF = \"reviewer:wildo-source-rights-review\";\n\nconst sourceUseDecisions = (permissionForUse: (use: AssuranceSourceUse) => AssuranceSourceUsePermission, conditions: string[]): AssuranceSourceUseDecision[] =>\n Object.values(AssuranceSourceUse).map((use) => ({ use, permission: permissionForUse(use), conditions }));\n\nconst NIST_RIGHTS = {\n rightsRef: \"rights:nist-public-information-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://www.nist.gov/copyrights-disclaimers\",\n basisSummary:\n \"NIST states that, except for material marked as copyrighted, information on NIST sites is public information that may be distributed or copied. Each acquired artifact must still exclude or separately clear marked third-party material.\",\n attributionNotice: \"Credit the National Institute of Standards and Technology and preserve any publication-specific notice; do not imply NIST endorsement.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n () => AssuranceSourceUsePermission.ALLOWED,\n [\"Applies only to NIST-authored material not separately marked as copyrighted.\", \"Credit NIST and do not imply endorsement.\"],\n ),\n};\n\nconst EUR_LEX_RIGHTS = {\n rightsRef: \"rights:eur-lex-legal-document-reuse-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://eur-lex.europa.eu/content/legal-notice/legal-notice.html?locale=en\",\n basisSummary:\n \"EUR-Lex permits commercial and non-commercial reuse of legal documents unless otherwise specified, subject to source acknowledgement, non-distortion and any document-specific or third-party conditions.\",\n attributionNotice: \"Acknowledge EUR-Lex/European Union as source, identify modifications, do not distort meaning and do not imply endorsement.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n () => AssuranceSourceUsePermission.ALLOWED,\n [\n \"Acknowledge the source and identify modifications.\",\n \"Do not distort the original meaning or imply endorsement.\",\n \"Exclude third-party works, marks and logos unless separately authorized.\",\n ],\n ),\n};\n\nconst HHS_REFERENCE_ONLY_RIGHTS = {\n rightsRef: \"rights:hhs-reference-only-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://www.hhs.gov/web/policies-and-standards/hhs-web-policies/index.html\",\n basisSummary:\n \"This Step 0 review authorizes storage and distribution of source identity metadata and links only. It does not claim content-level reuse, derivation, model-input or redistribution rights for HHS page bytes.\",\n attributionNotice: \"Identify HHS as the authority and link to the current official source; no HHS content bytes are bundled under this record.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n (use) => (use === AssuranceSourceUse.STORE_METADATA ? AssuranceSourceUsePermission.ALLOWED : AssuranceSourceUsePermission.REQUIRES_ADDITIONAL_RIGHTS),\n [\"Reference metadata only; acquire and review a publication-specific rights basis before any content operation.\"],\n ),\n};\n\nconst EC_REFERENCE_ONLY_RIGHTS = {\n rightsRef: \"rights:ec-guidance-reference-only-v1\",\n rightsVersion: 1,\n reviewStatus: AssuranceRightsReviewStatus.REVIEWED,\n basisUrl: \"https://commission.europa.eu/legal-notice_en\",\n basisSummary:\n \"This record authorizes source identity metadata and links only. Although the Commission reuse policy covers much site content, each future content operation must separately resolve attribution, third-party material and page-specific conditions.\",\n attributionNotice:\n \"Identify the European Commission or European Union as the source and link to the current official page; no guidance page bytes are bundled.\",\n reviewedByRef: REVIEWER_REF,\n reviewedAt: VERIFIED_AT,\n useDecisions: sourceUseDecisions(\n (use) => (use === AssuranceSourceUse.STORE_METADATA ? AssuranceSourceUsePermission.ALLOWED : AssuranceSourceUsePermission.REQUIRES_ADDITIONAL_RIGHTS),\n [\"Reference metadata only; review the Commission reuse policy and page-specific third-party material before any content operation.\"],\n ),\n};\n\nconst source = (record: Record<string, unknown>): Record<string, unknown> => ({\n schemaVersion: 1,\n lifecycleStatus: AssuranceSourceLifecycleStatus.ACTIVE,\n contentHandling: AssuranceSourceContentHandling.REFERENCE_ONLY,\n ...record,\n});\n\n/**\n * Smallest Step 0B source registry justified by the current plan. It pins source identities and reviewed handling decisions but intentionally bundles no normative bytes.\n *\n * Privacy Framework 1.0 remains the final publication: 1.1 was still an initial public draft at the 2026-08-02 verification point. HIPAA Privacy and Breach Notification\n * obligations are explicitly outside the HHS Security Rule record rather than being silently collapsed into it.\n */\nexport const INITIAL_ASSURANCE_SOURCE_REGISTRY = AssuranceSourceRegistrySchema.parse({\n schemaVersion: 1,\n registryVersion: 2,\n verifiedAt: VERIFIED_AT,\n sources: [\n source({\n identity: { sourceRef: \"source:ec-protecting-data-and-privacy\", sourceVersion: 1 },\n canonicalTitle: \"Protecting your data and privacy\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"European Commission page last updated 16 July 2026\",\n publishedOn: \"2026-07-16\",\n canonicalLocator: \"https://commission.europa.eu/digital-life/protecting-your-data-and-privacy_en\",\n authorityName: \"European Commission\",\n jurisdictionalReach: [\"eu\"],\n rights: EC_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Official explanatory guidance supports fact and review questions but does not replace the binding legal text, application-specific applicability or qualified advice.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:eu-consumer-contract-information\", sourceVersion: 1 },\n canonicalTitle: \"Information you should get when buying and signing a contract\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"Your Europe guidance last checked 29 April 2026\",\n publishedOn: \"2026-04-29\",\n canonicalLocator: \"https://europa.eu/youreurope/citizens/consumers/shopping/contract-information/index_en.htm\",\n authorityName: \"European Union\",\n jurisdictionalReach: [\"eu\"],\n rights: EC_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Official explanatory guidance covers general EU consumer information and durable-confirmation concerns; B2C applicability, national implementation and contract language still require qualified review.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:eu-gdpr-2016-679\", sourceVersion: 1 },\n canonicalTitle: \"Regulation (EU) 2016/679 (General Data Protection Regulation)\",\n authorityKind: AssuranceSourceAuthorityKind.LAW_OR_REGULATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"Official Journal L 119, 4 May 2016\",\n publishedOn: \"2016-05-04\",\n effectiveOn: \"2018-05-25\",\n canonicalLocator: \"https://eur-lex.europa.eu/eli/reg/2016/679/oj\",\n authorityName: \"European Union\",\n jurisdictionalReach: [\"eu\"],\n rights: EUR_LEX_RIGHTS,\n scopeLimitations: [\n \"Applicability, national law, sector-specific duties and legal interpretation remain application-specific.\",\n \"A readiness projection is not a legal opinion or authority decision.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:hhs-hipaa-notice-privacy-practices\", sourceVersion: 1 },\n canonicalTitle: \"Notice of Privacy Practices for Protected Health Information\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"HHS OCR guidance content last reviewed 13 February 2026\",\n publishedOn: \"2026-02-13\",\n canonicalLocator: \"https://www.hhs.gov/hipaa/for-professionals/privacy/guidance/privacy-practices-for-protected-health-information/index.html\",\n authorityName: \"United States Department of Health and Human Services\",\n jurisdictionalReach: [\"us\"],\n rights: HHS_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Only verified covered roles and functions may activate a health notice; this guidance must not be collapsed into a general website privacy notice.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:hhs-hipaa-security-rule\", sourceVersion: 1 },\n canonicalTitle: \"HIPAA Security Rule\",\n authorityKind: AssuranceSourceAuthorityKind.LAW_OR_REGULATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"Current effective rule boundary reviewed 19 March 2026; 45 CFR Part 160 and Part 164, Subparts A and C\",\n publishedOn: \"2003-02-20\",\n canonicalLocator: \"https://www.hhs.gov/hipaa/for-professionals/security/index.html\",\n authorityName: \"United States Department of Health and Human Services\",\n jurisdictionalReach: [\"us\"],\n rights: HHS_REFERENCE_ONLY_RIGHTS,\n scopeLimitations: [\n \"Does not cover the HIPAA Privacy Rule, Breach Notification Rule, Enforcement Rule, entity applicability, business-associate agreements or state law.\",\n \"The January 2025 Security Rule proposal is not treated as the currently effective rule.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:nist-csf-2.0\", sourceVersion: 1 },\n canonicalTitle: \"The NIST Cybersecurity Framework (CSF) 2.0\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST CSWP 29, Version 2.0\",\n publishedOn: \"2024-02-26\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.CSWP.29\",\n authorityName: \"National Institute of Standards and Technology\",\n jurisdictionalReach: [\"us\"],\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Voluntary cybersecurity-risk outcomes; does not prescribe implementation or establish target-framework conformity.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-oscal-1.2.2\", sourceVersion: 1 },\n canonicalTitle: \"Open Security Controls Assessment Language (OSCAL)\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"OSCAL Version 1.2.2 patch release\",\n publishedOn: \"2026-04-30\",\n canonicalLocator: \"https://github.com/usnistgov/OSCAL/releases/tag/v1.2.2\",\n authorityName: \"National Institute of Standards and Technology\",\n jurisdictionalReach: [\"us\"],\n rights: NIST_RIGHTS,\n scopeLimitations: [\n \"OSCAL is an optional exchange format and never replaces canonical Wildo TypeScript specifications, application decisions or evidence authority.\",\n ],\n }),\n source({\n identity: { sourceRef: \"source:nist-privacy-framework-1.0\", sourceVersion: 1 },\n canonicalTitle: \"NIST Privacy Framework: A Tool for Improving Privacy through Enterprise Risk Management, Version 1.0\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST CSWP 01162020, Version 1.0 final\",\n publishedOn: \"2020-01-16\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.CSWP.01162020\",\n authorityName: \"National Institute of Standards and Technology\",\n jurisdictionalReach: [\"us\"],\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Version 1.1 remained an initial public draft at the registry verification point and is not accepted as the final foundation.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-218\", sourceVersion: 1 },\n canonicalTitle: \"Secure Software Development Framework (SSDF) Version 1.1\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-218, SSDF Version 1.1 final\",\n publishedOn: \"2022-02-03\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.SP.800-218\",\n authorityName: \"National Institute of Standards and Technology\",\n jurisdictionalReach: [\"us\"],\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Secure-development guidance is one foundation input; it does not establish operating effectiveness or regulatory applicability.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-53-rev-5-release-5.2.0\", sourceVersion: 1 },\n canonicalTitle: \"Security and Privacy Controls for Information Systems and Organizations\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-53 Rev. 5, Release 5.2.0\",\n publishedOn: \"2025-08-27\",\n canonicalLocator: \"https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final\",\n authorityName: \"National Institute of Standards and Technology\",\n jurisdictionalReach: [\"us\"],\n rights: NIST_RIGHTS,\n scopeLimitations: [\"A control catalog requires tailoring, implementation and assessment; catalog inclusion is not proof of operation.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-53a-rev-5-release-5.2.0\", sourceVersion: 1 },\n canonicalTitle: \"Assessing Security and Privacy Controls in Information Systems and Organizations\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_PUBLICATION,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-53A Rev. 5, Release 5.2.0\",\n publishedOn: \"2025-08-27\",\n canonicalLocator: \"https://csrc.nist.gov/pubs/sp/800/53/a/r5/final\",\n authorityName: \"National Institute of Standards and Technology\",\n jurisdictionalReach: [\"us\"],\n rights: NIST_RIGHTS,\n scopeLimitations: [\"Assessment procedures are customizable starting points and do not reduce assessment to an automatic checklist or pass/fail claim.\"],\n }),\n source({\n identity: { sourceRef: \"source:nist-sp-800-66-rev-2\", sourceVersion: 1 },\n canonicalTitle: \"Implementing the HIPAA Security Rule: A Cybersecurity Resource Guide\",\n authorityKind: AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE,\n tier: AssuranceSourceTier.AUTHORITATIVE_OPEN_PUBLIC,\n edition: \"NIST SP 800-66 Rev. 2 final\",\n publishedOn: \"2024-02-14\",\n canonicalLocator: \"https://doi.org/10.6028/NIST.SP.800-66r2\",\n authorityName: \"National Institute of Standards and Technology\",\n jurisdictionalReach: [\"us\"],\n rights: NIST_RIGHTS,\n scopeLimitations: [\n \"Implementation guidance for the HIPAA Security Rule only; it does not cover Privacy, Breach Notification, applicability, contractual duties or all state obligations.\",\n ],\n }),\n ],\n});\n"]}
@@ -130,6 +130,19 @@ export declare const AssuranceSourceRecordSchema: z.ZodObject<{
130
130
  sourceRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
131
131
  sourceVersion: z.ZodNumber;
132
132
  }, z.core.$strict>>;
133
+ /**
134
+ * Which jurisdictions' requirements this source STATES (issue #229).
135
+ *
136
+ * The question this answers is "whose law or guidance is this", not "whom does it bind". GDPR
137
+ * reaches `["eu"]` even though Art. 3(2) binds operators established anywhere: an operator in
138
+ * Brazil serving EU subjects is answered by the EU entry, and adding every country GDPR can bind
139
+ * would make the field useless for the one question it exists for. Do not "correct" it that way.
140
+ *
141
+ * REQUIRED, because a source that states no reach cannot answer the coverage question at all, and
142
+ * an optional field here would silently make every uncovered jurisdiction look considered. This is
143
+ * a curated registry authored in one file — there is no migration cost to requiring it.
144
+ */
145
+ jurisdictionalReach: z.ZodArray<z.ZodString>;
133
146
  scopeLimitations: z.ZodArray<z.ZodString>;
134
147
  }, z.core.$strict>;
135
148
  export type AssuranceSourceRecord = z.infer<typeof AssuranceSourceRecordSchema>;
@@ -178,6 +191,19 @@ export declare const AssuranceSourceRegistrySchema: z.ZodObject<{
178
191
  sourceRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
179
192
  sourceVersion: z.ZodNumber;
180
193
  }, z.core.$strict>>;
194
+ /**
195
+ * Which jurisdictions' requirements this source STATES (issue #229).
196
+ *
197
+ * The question this answers is "whose law or guidance is this", not "whom does it bind". GDPR
198
+ * reaches `["eu"]` even though Art. 3(2) binds operators established anywhere: an operator in
199
+ * Brazil serving EU subjects is answered by the EU entry, and adding every country GDPR can bind
200
+ * would make the field useless for the one question it exists for. Do not "correct" it that way.
201
+ *
202
+ * REQUIRED, because a source that states no reach cannot answer the coverage question at all, and
203
+ * an optional field here would silently make every uncovered jurisdiction look considered. This is
204
+ * a curated registry authored in one file — there is no migration cost to requiring it.
205
+ */
206
+ jurisdictionalReach: z.ZodArray<z.ZodString>;
181
207
  scopeLimitations: z.ZodArray<z.ZodString>;
182
208
  }, z.core.$strict>>;
183
209
  }, z.core.$strict>;
@@ -196,4 +222,54 @@ export declare const AssuranceRightsAuthorizationSchema: z.ZodObject<{
196
222
  export type AssuranceRightsAuthorization = z.infer<typeof AssuranceRightsAuthorizationSchema>;
197
223
  /** Fail-closed authorization for source or mapping-pack operations. Only an unexpired explicit ALLOWED decision authorizes a requested use. */
198
224
  export declare const deriveAssuranceRightsAuthorization: (rights: AssuranceSourceRights, requestedUses: readonly AssuranceSourceUse[], evaluatedAt: string) => AssuranceRightsAuthorization;
225
+ /**
226
+ * How well the registry can speak to one jurisdiction an application declared (issue #229).
227
+ *
228
+ * Three members rather than a boolean, because "we know nothing about this place" and "we hold
229
+ * guidance but no law for it" are different things to tell an operator, and collapsing them would
230
+ * report a product covered by a voluntary framework as covered by law.
231
+ */
232
+ export declare enum AssuranceJurisdictionCoverageStatus {
233
+ /** At least one ACTIVE `LAW_OR_REGULATION` source states this jurisdiction's requirements. */
234
+ COVERED_BY_LAW = "COVERED_BY_LAW",
235
+ /** Sources reach it, but none is law — guidance and frameworks only, which is not the same claim. */
236
+ GUIDANCE_ONLY = "GUIDANCE_ONLY",
237
+ /** Nothing in the registry reaches it. A KNOWN UNKNOWN, and the case this whole report exists for. */
238
+ NOT_COVERED = "NOT_COVERED"
239
+ }
240
+ export interface AssuranceJurisdictionCoverage {
241
+ readonly jurisdictionSlug: string;
242
+ readonly status: AssuranceJurisdictionCoverageStatus;
243
+ /** The sources that reach it, so a reader can check the verdict rather than trust it. */
244
+ readonly reachingSourceRefs: readonly string[];
245
+ }
246
+ /**
247
+ * `NOT_DECLARED` is a distinct answer and never an empty assessment.
248
+ *
249
+ * An application that declared no jurisdictions has not been asked, and an assessment listing zero
250
+ * uncovered jurisdictions is what "everything is fine" looks like. Conflating them turns a wiring gap
251
+ * into a clean bill of health — the failure direction `negative-results-require-a-positive-probe.md`
252
+ * exists to prevent — so callers are forced to branch.
253
+ */
254
+ export type AssuranceJurisdictionCoverageReport = {
255
+ readonly kind: "NOT_DECLARED";
256
+ } | {
257
+ readonly kind: "ASSESSED";
258
+ readonly entries: readonly AssuranceJurisdictionCoverage[];
259
+ };
260
+ /**
261
+ * Which of an application's declared jurisdictions the source registry can actually speak to.
262
+ *
263
+ * A pure function of two declarations, so it merges: two branches may declare different jurisdictions
264
+ * and each branch's answer is about its own tree (`.claude/rules/one-source-of-truth.md` Rule 0).
265
+ *
266
+ * Only ACTIVE sources count. A SUPERSEDED or WITHDRAWN source reaching a jurisdiction is not coverage
267
+ * — treating it as such would let a repealed instrument answer for a place, and the whole point of the
268
+ * report is that silence about an unknown jurisdiction is indistinguishable from a claim of coverage.
269
+ */
270
+ export declare function assessAssuranceJurisdictionCoverage(declared: {
271
+ readonly jurisdictions: readonly {
272
+ readonly jurisdictionSlug: string;
273
+ }[];
274
+ } | undefined, sources: readonly AssuranceSourceRecord[]): AssuranceJurisdictionCoverageReport;
199
275
  //# sourceMappingURL=assurance-sources.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"assurance-sources.schemas.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-sources.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,oBAAY,mBAAmB;IAC7B,yBAAyB,8BAA8B;IACvD,uBAAuB,4BAA4B;IACnD,sBAAsB,2BAA2B;IACjD,gBAAgB,qBAAqB;CACtC;AAED,oBAAY,4BAA4B;IACtC,sBAAsB,2BAA2B;IACjD,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;IAC7C,sBAAsB,2BAA2B;CAClD;AAED,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,oBAAY,8BAA8B;IACxC,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;CAC1C;AAED,oBAAY,kBAAkB;IAC5B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;IAC3C,YAAY,i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AAoB;CACpC;AAED,eAAO,MAAM,kCAAkC;;;;kBAI7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,+IAA+I;AAC/I,eAAO,MAAM,kCAAkC,GAC7C,QAAQ,qBAAqB,EAC7B,eAAe,SAAS,kBAAkB,EAAE,EAC5C,aAAa,MAAM,KAClB,4BAuBF,CAAC"}
1
+ {"version":3,"file":"assurance-sources.schemas.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-sources.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,oBAAY,mBAAmB;IAC7B,yBAAyB,8BAA8B;IACvD,uBAAuB,4BAA4B;IACnD,sBAAsB,2BAA2B;IACjD,gBAAgB,qBAAqB;CACtC;AAED,oBAAY,4BAA4B;IACtC,sBAAsB,2BAA2B;IACjD,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;IAC7C,sBAAsB,2BAA2B;CAClD;AAED,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,oBAAY,8BAA8B;IACxC,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;CAC1C;AAED,oBAAY,kBAAkB;IAC5B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;IAC3C,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,MAAM,WAAW;CAClB;AAED,oBAAY,4BAA4B;IACtC,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,0BAA0B,+BAA+B;IACzD,OAAO,YAAY;CACpB;AAED,oBAAY,2BAA2B;IACrC,QAAQ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C;AAE9F,+IAA+I;AAC/I,eAAO,MAAM,kCAAkC,GAC7C,QAAQ,qBAAqB,EAC7B,eAAe,SAAS,kBAAkB,EAAE,EAC5C,aAAa,MAAM,KAClB,4BAuBF,CAAC;AAEF;;;;;;GAMG;AACH,oBAAY,mCAAmC;IAC7C,8FAA8F;IAC9F,cAAc,mBAAmB;IACjC,qGAAqG;IACrG,aAAa,kBAAkB;IAC/B,sGAAsG;IACtG,WAAW,gBAAgB;CAC5B;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,mCAAmC,CAAC;IACrD,yFAAyF;IACzF,QAAQ,CAAC,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;CAChD;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,mCAAmC,GAC3C;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;CAAE,GACjC;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,6BAA6B,EAAE,CAAA;CAAE,CAAC;AAE9F;;;;;;;;;GASG;AACH,wBAAgB,mCAAmC,CACjD,QAAQ,EAAE;IAAE,QAAQ,CAAC,aAAa,EAAE,SAAS;QAAE,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAAE,GAAG,SAAS,EAClG,OAAO,EAAE,SAAS,qBAAqB,EAAE,GACxC,mCAAmC,CAqBrC"}
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { JurisdictionSlugSchema, jurisdictionReachCovers } from "@wildo-ai/saas-models";
2
3
  import { AssuranceIsoDateSchema, AssuranceIsoDateTimeSchema, AssuranceNamespacedRefSchema } from "./assurance-foundation.schemas.js";
3
4
  const uniqueValues = (values) => new Set(values).size === values.length;
4
5
  const compareCanonicalText = (left, right) => (left < right ? -1 : left > right ? 1 : 0);
@@ -117,6 +118,19 @@ export const AssuranceSourceRecordSchema = z
117
118
  retrievedArtifact: AssuranceRetrievedSourceArtifactSchema.optional(),
118
119
  rights: AssuranceSourceRightsSchema,
119
120
  supersededBy: AssuranceSourceIdentitySchema.optional(),
121
+ /**
122
+ * Which jurisdictions' requirements this source STATES (issue #229).
123
+ *
124
+ * The question this answers is "whose law or guidance is this", not "whom does it bind". GDPR
125
+ * reaches `["eu"]` even though Art. 3(2) binds operators established anywhere: an operator in
126
+ * Brazil serving EU subjects is answered by the EU entry, and adding every country GDPR can bind
127
+ * would make the field useless for the one question it exists for. Do not "correct" it that way.
128
+ *
129
+ * REQUIRED, because a source that states no reach cannot answer the coverage question at all, and
130
+ * an optional field here would silently make every uncovered jurisdiction look considered. This is
131
+ * a curated registry authored in one file — there is no migration cost to requiring it.
132
+ */
133
+ jurisdictionalReach: z.array(JurisdictionSlugSchema).min(1),
120
134
  scopeLimitations: z.array(z.string().min(1)),
121
135
  })
122
136
  .superRefine((source, context) => {
@@ -214,4 +228,49 @@ export const deriveAssuranceRightsAuthorization = (rights, requestedUses, evalua
214
228
  reasons: [...reasons].sort(),
215
229
  });
216
230
  };
231
+ /**
232
+ * How well the registry can speak to one jurisdiction an application declared (issue #229).
233
+ *
234
+ * Three members rather than a boolean, because "we know nothing about this place" and "we hold
235
+ * guidance but no law for it" are different things to tell an operator, and collapsing them would
236
+ * report a product covered by a voluntary framework as covered by law.
237
+ */
238
+ export var AssuranceJurisdictionCoverageStatus;
239
+ (function (AssuranceJurisdictionCoverageStatus) {
240
+ /** At least one ACTIVE `LAW_OR_REGULATION` source states this jurisdiction's requirements. */
241
+ AssuranceJurisdictionCoverageStatus["COVERED_BY_LAW"] = "COVERED_BY_LAW";
242
+ /** Sources reach it, but none is law — guidance and frameworks only, which is not the same claim. */
243
+ AssuranceJurisdictionCoverageStatus["GUIDANCE_ONLY"] = "GUIDANCE_ONLY";
244
+ /** Nothing in the registry reaches it. A KNOWN UNKNOWN, and the case this whole report exists for. */
245
+ AssuranceJurisdictionCoverageStatus["NOT_COVERED"] = "NOT_COVERED";
246
+ })(AssuranceJurisdictionCoverageStatus || (AssuranceJurisdictionCoverageStatus = {}));
247
+ /**
248
+ * Which of an application's declared jurisdictions the source registry can actually speak to.
249
+ *
250
+ * A pure function of two declarations, so it merges: two branches may declare different jurisdictions
251
+ * and each branch's answer is about its own tree (`.claude/rules/one-source-of-truth.md` Rule 0).
252
+ *
253
+ * Only ACTIVE sources count. A SUPERSEDED or WITHDRAWN source reaching a jurisdiction is not coverage
254
+ * — treating it as such would let a repealed instrument answer for a place, and the whole point of the
255
+ * report is that silence about an unknown jurisdiction is indistinguishable from a claim of coverage.
256
+ */
257
+ export function assessAssuranceJurisdictionCoverage(declared, sources) {
258
+ if (declared === undefined)
259
+ return { kind: "NOT_DECLARED" };
260
+ const activeSources = sources.filter((source) => source.lifecycleStatus === AssuranceSourceLifecycleStatus.ACTIVE);
261
+ const entries = declared.jurisdictions.map((entry) => {
262
+ const reaching = activeSources.filter((source) => source.jurisdictionalReach.some((reach) => jurisdictionReachCovers(reach, entry.jurisdictionSlug)));
263
+ const hasLaw = reaching.some((source) => source.authorityKind === AssuranceSourceAuthorityKind.LAW_OR_REGULATION);
264
+ return {
265
+ jurisdictionSlug: entry.jurisdictionSlug,
266
+ status: reaching.length === 0
267
+ ? AssuranceJurisdictionCoverageStatus.NOT_COVERED
268
+ : hasLaw
269
+ ? AssuranceJurisdictionCoverageStatus.COVERED_BY_LAW
270
+ : AssuranceJurisdictionCoverageStatus.GUIDANCE_ONLY,
271
+ reachingSourceRefs: reaching.map((source) => source.identity.sourceRef).sort(),
272
+ };
273
+ });
274
+ return { kind: "ASSESSED", entries };
275
+ }
217
276
  //# sourceMappingURL=assurance-sources.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assurance-sources.schemas.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-sources.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,K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IAAI,EAAE,CAAC,CAAC;IAC7C,MAAM,iBAAiB,GAAG,0BAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,IAAI,GAAG,EAAsC,CAAC;IAC9D,IAAI,YAAY,CAAC,YAAY,KAAK,2BAA2B,CAAC,SAAS;QAAE,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,gBAAgB,CAAC,CAAC;IAC1I,IAAI,YAAY,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC;QAChG,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,cAAc,CAAC,CAAC;IAEjE,mBAAmB,CAAC,OAAO,CAAC,CAAC,YAAY,EAAE,EAAE;QAC3C,MAAM,QAAQ,GAAG,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,KAAK,YAAY,CAAC,CAAC;QAC/F,IAAI,CAAC,QAAQ;YAAE,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,oBAAoB,CAAC,CAAC;aAC/E,IAAI,QAAQ,CAAC,UAAU,KAAK,4BAA4B,CAAC,OAAO;YAAE,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,eAAe,CAAC,CAAC;IACzI,CAAC,CAAC,CAAC;IAEH,OAAO,kCAAkC,CAAC,KAAK,CAAC;QAC9C,UAAU,EAAE,OAAO,CAAC,IAAI,KAAK,CAAC;QAC9B,aAAa,EAAE,mBAAmB;QAClC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,IAAI,EAAE;KAC7B,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { AssuranceIsoDateSchema, AssuranceIsoDateTimeSchema, AssuranceNamespacedRefSchema } from \"./assurance-foundation.schemas\";\n\nconst uniqueValues = (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 lexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nexport enum AssuranceSourceTier {\n AUTHORITATIVE_OPEN_PUBLIC = \"AUTHORITATIVE_OPEN_PUBLIC\",\n PUBLIC_ADVISORY_MAPPING = \"PUBLIC_ADVISORY_MAPPING\",\n RESTRICTED_PROPRIETARY = \"RESTRICTED_PROPRIETARY\",\n PRIVATE_CUSTOMER = \"PRIVATE_CUSTOMER\",\n}\n\nexport enum AssuranceSourceAuthorityKind {\n GOVERNMENT_PUBLICATION = \"GOVERNMENT_PUBLICATION\",\n GOVERNMENT_GUIDANCE = \"GOVERNMENT_GUIDANCE\",\n LAW_OR_REGULATION = \"LAW_OR_REGULATION\",\n COMMUNITY_MAPPING = \"COMMUNITY_MAPPING\",\n PROPRIETARY_STANDARD = \"PROPRIETARY_STANDARD\",\n PRIVATE_OBLIGATION_SET = \"PRIVATE_OBLIGATION_SET\",\n}\n\nexport enum AssuranceSourceLifecycleStatus {\n ACTIVE = \"ACTIVE\",\n DRAFT = \"DRAFT\",\n SUPERSEDED = \"SUPERSEDED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\nexport enum AssuranceSourceContentHandling {\n REFERENCE_ONLY = \"REFERENCE_ONLY\",\n RETRIEVED_ARTIFACT = \"RETRIEVED_ARTIFACT\",\n}\n\nexport enum AssuranceSourceUse {\n STORE_METADATA = \"STORE_METADATA\",\n STORE_CONTENT = \"STORE_CONTENT\",\n EXTRACT_CONTENT = \"EXTRACT_CONTENT\",\n MODIFY_OR_DERIVE = \"MODIFY_OR_DERIVE\",\n MODEL_INPUT = \"MODEL_INPUT\",\n GENERATE_PROJECTION = \"GENERATE_PROJECTION\",\n REDISTRIBUTE = \"REDISTRIBUTE\",\n COMMERCIAL_USE = \"COMMERCIAL_USE\",\n EXPORT = \"EXPORT\",\n}\n\nexport enum AssuranceSourceUsePermission {\n ALLOWED = \"ALLOWED\",\n PROHIBITED = \"PROHIBITED\",\n REQUIRES_ADDITIONAL_RIGHTS = \"REQUIRES_ADDITIONAL_RIGHTS\",\n UNKNOWN = \"UNKNOWN\",\n}\n\nexport enum AssuranceRightsReviewStatus {\n REVIEWED = \"REVIEWED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\nexport const AssuranceSourceIdentitySchema = z.strictObject({\n sourceRef: AssuranceNamespacedRefSchema,\n sourceVersion: z.number().int().positive(),\n});\nexport type AssuranceSourceIdentity = z.infer<typeof AssuranceSourceIdentitySchema>;\n\nexport const AssuranceSourceUseDecisionSchema = z.strictObject({\n use: z.enum(AssuranceSourceUse),\n permission: z.enum(AssuranceSourceUsePermission),\n conditions: z.array(z.string().min(1)),\n});\nexport type AssuranceSourceUseDecision = z.infer<typeof AssuranceSourceUseDecisionSchema>;\n\n/**\n * A complete, reviewed decision matrix. The schema requires one decision for every operation so adding a new operation makes existing records fail closed until reviewed.\n */\nexport const AssuranceSourceRightsSchema = z\n .strictObject({\n rightsRef: AssuranceNamespacedRefSchema,\n rightsVersion: z.number().int().positive(),\n reviewStatus: z.enum(AssuranceRightsReviewStatus),\n basisUrl: z.url(),\n basisSummary: z.string().min(1),\n attributionNotice: z.string().min(1),\n reviewedByRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n validUntil: AssuranceIsoDateTimeSchema.optional(),\n useDecisions: z.array(AssuranceSourceUseDecisionSchema),\n })\n .superRefine((rights, context) => {\n const actualUses = rights.useDecisions.map((decision) => decision.use);\n const expectedUses = Object.values(AssuranceSourceUse);\n if (!uniqueValues(actualUses) || actualUses.length !== expectedUses.length || expectedUses.some((use) => !actualUses.includes(use))) {\n context.addIssue({ code: \"custom\", message: \"useDecisions must contain exactly one decision for every AssuranceSourceUse\", path: [\"useDecisions\"] });\n }\n });\nexport type AssuranceSourceRights = z.infer<typeof AssuranceSourceRightsSchema>;\n\n/**\n * Provenance of one retrieval of an external source document.\n *\n * Carries no content digest: an external standard is identified by its EDITION, which is immutable\n * by publication (NIST SP 800-53 Rev 5 is one document forever), so `edition` + `publishedOn` +\n * `canonicalLocator` + `retrievedAt` already say exactly which bytes were read. Hashing the fetch\n * added a step to every source record and answered a question the edition had already answered.\n */\nexport const AssuranceRetrievedSourceArtifactSchema = z.strictObject({\n retrievedAt: AssuranceIsoDateTimeSchema,\n mediaType: z.string().min(1),\n retrievalLocator: z.url(),\n});\nexport type AssuranceRetrievedSourceArtifact = z.infer<typeof AssuranceRetrievedSourceArtifactSchema>;\n\nexport const AssuranceSourceRecordSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n identity: AssuranceSourceIdentitySchema,\n canonicalTitle: z.string().min(1),\n authorityKind: z.enum(AssuranceSourceAuthorityKind),\n tier: z.enum(AssuranceSourceTier),\n edition: z.string().min(1),\n publishedOn: AssuranceIsoDateSchema,\n effectiveOn: AssuranceIsoDateSchema.optional(),\n lifecycleStatus: z.enum(AssuranceSourceLifecycleStatus),\n canonicalLocator: z.url(),\n authorityName: z.string().min(1),\n contentHandling: z.enum(AssuranceSourceContentHandling),\n retrievedArtifact: AssuranceRetrievedSourceArtifactSchema.optional(),\n rights: AssuranceSourceRightsSchema,\n supersededBy: AssuranceSourceIdentitySchema.optional(),\n scopeLimitations: z.array(z.string().min(1)),\n })\n .superRefine((source, context) => {\n if (source.contentHandling === AssuranceSourceContentHandling.REFERENCE_ONLY && source.retrievedArtifact) {\n context.addIssue({ code: \"custom\", message: \"reference-only sources cannot claim a retrieved artifact\", path: [\"retrievedArtifact\"] });\n }\n if (source.contentHandling === AssuranceSourceContentHandling.RETRIEVED_ARTIFACT && !source.retrievedArtifact) {\n context.addIssue({ code: \"custom\", message: \"retrieved-artifact sources require exact retrieval provenance\", path: [\"retrievedArtifact\"] });\n }\n if (source.lifecycleStatus === AssuranceSourceLifecycleStatus.SUPERSEDED && !source.supersededBy) {\n context.addIssue({ code: \"custom\", message: \"superseded sources require a successor identity\", path: [\"supersededBy\"] });\n }\n if (source.lifecycleStatus !== AssuranceSourceLifecycleStatus.SUPERSEDED && source.supersededBy)\n context.addIssue({ code: \"custom\", message: \"only superseded sources can name a successor identity\", path: [\"supersededBy\"] });\n const rightsAreWithdrawn = source.rights.reviewStatus === AssuranceRightsReviewStatus.WITHDRAWN;\n if (source.lifecycleStatus === AssuranceSourceLifecycleStatus.WITHDRAWN && !rightsAreWithdrawn)\n context.addIssue({ code: \"custom\", message: \"a withdrawn source must also withdraw its rights authorization\", path: [\"rights\", \"reviewStatus\"] });\n });\nexport type AssuranceSourceRecord = z.infer<typeof AssuranceSourceRecordSchema>;\n\nexport const AssuranceSourceRegistrySchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n registryVersion: z.number().int().positive(),\n verifiedAt: AssuranceIsoDateTimeSchema,\n sources: z.array(AssuranceSourceRecordSchema).min(1),\n })\n .superRefine((registry, context) => {\n const identities = registry.sources.map((source) => `${source.identity.sourceRef}@${source.identity.sourceVersion}`);\n if (!uniqueValues(identities) || !lexicallySorted(identities)) {\n context.addIssue({ code: \"custom\", message: \"sources must be unique and lexically sorted by versioned identity\", path: [\"sources\"] });\n }\n const knownIdentities = new Set(identities);\n registry.sources.forEach((source, index) => {\n if (!source.supersededBy) return;\n const sourceKey = `${source.identity.sourceRef}@${source.identity.sourceVersion}`;\n const successorKey = `${source.supersededBy.sourceRef}@${source.supersededBy.sourceVersion}`;\n if (successorKey === sourceKey)\n context.addIssue({ code: \"custom\", message: \"a source cannot supersede itself\", path: [\"sources\", index, \"supersededBy\"] });\n else if (!knownIdentities.has(successorKey))\n context.addIssue({ code: \"custom\", message: \"a successor identity must resolve inside the same registry snapshot\", path: [\"sources\", index, \"supersededBy\"] });\n });\n registry.sources.forEach((source, index) => {\n const visited = new Set<string>();\n let current = source;\n while (current.supersededBy) {\n const currentKey = `${current.identity.sourceRef}@${current.identity.sourceVersion}`;\n if (visited.has(currentKey)) {\n context.addIssue({ code: \"custom\", message: \"source supersession graph cannot contain a cycle\", path: [\"sources\", index, \"supersededBy\"] });\n break;\n }\n visited.add(currentKey);\n const nextKey = `${current.supersededBy.sourceRef}@${current.supersededBy.sourceVersion}`;\n const next = registry.sources.find((candidate) => `${candidate.identity.sourceRef}@${candidate.identity.sourceVersion}` === nextKey);\n if (!next) break;\n current = next;\n }\n });\n });\nexport type AssuranceSourceRegistry = z.infer<typeof AssuranceSourceRegistrySchema>;\n\nexport enum AssuranceRightsAuthorizationReason {\n RIGHTS_WITHDRAWN = \"RIGHTS_WITHDRAWN\",\n RIGHTS_EXPIRED = \"RIGHTS_EXPIRED\",\n USE_DECISION_MISSING = \"USE_DECISION_MISSING\",\n USE_NOT_ALLOWED = \"USE_NOT_ALLOWED\",\n}\n\nexport const AssuranceRightsAuthorizationSchema = z.strictObject({\n authorized: z.boolean(),\n requestedUses: z.array(z.enum(AssuranceSourceUse)).min(1),\n reasons: z.array(z.enum(AssuranceRightsAuthorizationReason)),\n});\nexport type AssuranceRightsAuthorization = z.infer<typeof AssuranceRightsAuthorizationSchema>;\n\n/** Fail-closed authorization for source or mapping-pack operations. Only an unexpired explicit ALLOWED decision authorizes a requested use. */\nexport const deriveAssuranceRightsAuthorization = (\n rights: AssuranceSourceRights,\n requestedUses: readonly AssuranceSourceUse[],\n evaluatedAt: string,\n): AssuranceRightsAuthorization => {\n const parsedRights = AssuranceSourceRightsSchema.parse(rights);\n const parsedRequestedUses = z\n .array(z.enum(AssuranceSourceUse))\n .min(1)\n .parse([...new Set(requestedUses)].sort());\n const parsedEvaluatedAt = AssuranceIsoDateTimeSchema.parse(evaluatedAt);\n const reasons = new Set<AssuranceRightsAuthorizationReason>();\n if (parsedRights.reviewStatus === AssuranceRightsReviewStatus.WITHDRAWN) reasons.add(AssuranceRightsAuthorizationReason.RIGHTS_WITHDRAWN);\n if (parsedRights.validUntil && Date.parse(parsedRights.validUntil) < Date.parse(parsedEvaluatedAt))\n reasons.add(AssuranceRightsAuthorizationReason.RIGHTS_EXPIRED);\n\n parsedRequestedUses.forEach((requestedUse) => {\n const decision = parsedRights.useDecisions.find((candidate) => candidate.use === requestedUse);\n if (!decision) reasons.add(AssuranceRightsAuthorizationReason.USE_DECISION_MISSING);\n else if (decision.permission !== AssuranceSourceUsePermission.ALLOWED) reasons.add(AssuranceRightsAuthorizationReason.USE_NOT_ALLOWED);\n });\n\n return AssuranceRightsAuthorizationSchema.parse({\n authorized: reasons.size === 0,\n requestedUses: parsedRequestedUses,\n reasons: [...reasons].sort(),\n });\n};\n"]}
1
+ {"version":3,"file":"assurance-sources.schemas.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-sources.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAExF,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAElI,MAAM,YAAY,GAAG,CAAC,MAAyB,EAAW,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,CAAC;AACpG,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,KAAa,EAAU,EAAE,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjH,MAAM,eAAe,GAAG,CAAC,MAAyB,EAAW,EAAE,CAC7D,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAA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AC,mBAAmB,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;QACtG,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,aAAa,KAAK,4BAA4B,CAAC,iBAAiB,CAAC,CAAC;QAClH,OAAO;YACL,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;YACxC,MAAM,EAAE,QAAQ,CAAC,MAAM,KAAK,CAAC;gBAC3B,CAAC,CAAC,mCAAmC,CAAC,WAAW;gBACjD,CAAC,CAAC,MAAM;oBACN,CAAC,CAAC,mCAAmC,CAAC,cAAc;oBACpD,CAAC,CAAC,mCAAmC,CAAC,aAAa;YACvD,kBAAkB,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE;SAC/E,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AACvC,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { JurisdictionSlugSchema, jurisdictionReachCovers } from \"@wildo-ai/saas-models\";\n\nimport { AssuranceIsoDateSchema, AssuranceIsoDateTimeSchema, AssuranceNamespacedRefSchema } from \"./assurance-foundation.schemas\";\n\nconst uniqueValues = (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 lexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nexport enum AssuranceSourceTier {\n AUTHORITATIVE_OPEN_PUBLIC = \"AUTHORITATIVE_OPEN_PUBLIC\",\n PUBLIC_ADVISORY_MAPPING = \"PUBLIC_ADVISORY_MAPPING\",\n RESTRICTED_PROPRIETARY = \"RESTRICTED_PROPRIETARY\",\n PRIVATE_CUSTOMER = \"PRIVATE_CUSTOMER\",\n}\n\nexport enum AssuranceSourceAuthorityKind {\n GOVERNMENT_PUBLICATION = \"GOVERNMENT_PUBLICATION\",\n GOVERNMENT_GUIDANCE = \"GOVERNMENT_GUIDANCE\",\n LAW_OR_REGULATION = \"LAW_OR_REGULATION\",\n COMMUNITY_MAPPING = \"COMMUNITY_MAPPING\",\n PROPRIETARY_STANDARD = \"PROPRIETARY_STANDARD\",\n PRIVATE_OBLIGATION_SET = \"PRIVATE_OBLIGATION_SET\",\n}\n\nexport enum AssuranceSourceLifecycleStatus {\n ACTIVE = \"ACTIVE\",\n DRAFT = \"DRAFT\",\n SUPERSEDED = \"SUPERSEDED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\nexport enum AssuranceSourceContentHandling {\n REFERENCE_ONLY = \"REFERENCE_ONLY\",\n RETRIEVED_ARTIFACT = \"RETRIEVED_ARTIFACT\",\n}\n\nexport enum AssuranceSourceUse {\n STORE_METADATA = \"STORE_METADATA\",\n STORE_CONTENT = \"STORE_CONTENT\",\n EXTRACT_CONTENT = \"EXTRACT_CONTENT\",\n MODIFY_OR_DERIVE = \"MODIFY_OR_DERIVE\",\n MODEL_INPUT = \"MODEL_INPUT\",\n GENERATE_PROJECTION = \"GENERATE_PROJECTION\",\n REDISTRIBUTE = \"REDISTRIBUTE\",\n COMMERCIAL_USE = \"COMMERCIAL_USE\",\n EXPORT = \"EXPORT\",\n}\n\nexport enum AssuranceSourceUsePermission {\n ALLOWED = \"ALLOWED\",\n PROHIBITED = \"PROHIBITED\",\n REQUIRES_ADDITIONAL_RIGHTS = \"REQUIRES_ADDITIONAL_RIGHTS\",\n UNKNOWN = \"UNKNOWN\",\n}\n\nexport enum AssuranceRightsReviewStatus {\n REVIEWED = \"REVIEWED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\nexport const AssuranceSourceIdentitySchema = z.strictObject({\n sourceRef: AssuranceNamespacedRefSchema,\n sourceVersion: z.number().int().positive(),\n});\nexport type AssuranceSourceIdentity = z.infer<typeof AssuranceSourceIdentitySchema>;\n\nexport const AssuranceSourceUseDecisionSchema = z.strictObject({\n use: z.enum(AssuranceSourceUse),\n permission: z.enum(AssuranceSourceUsePermission),\n conditions: z.array(z.string().min(1)),\n});\nexport type AssuranceSourceUseDecision = z.infer<typeof AssuranceSourceUseDecisionSchema>;\n\n/**\n * A complete, reviewed decision matrix. The schema requires one decision for every operation so adding a new operation makes existing records fail closed until reviewed.\n */\nexport const AssuranceSourceRightsSchema = z\n .strictObject({\n rightsRef: AssuranceNamespacedRefSchema,\n rightsVersion: z.number().int().positive(),\n reviewStatus: z.enum(AssuranceRightsReviewStatus),\n basisUrl: z.url(),\n basisSummary: z.string().min(1),\n attributionNotice: z.string().min(1),\n reviewedByRef: AssuranceNamespacedRefSchema,\n reviewedAt: AssuranceIsoDateTimeSchema,\n validUntil: AssuranceIsoDateTimeSchema.optional(),\n useDecisions: z.array(AssuranceSourceUseDecisionSchema),\n })\n .superRefine((rights, context) => {\n const actualUses = rights.useDecisions.map((decision) => decision.use);\n const expectedUses = Object.values(AssuranceSourceUse);\n if (!uniqueValues(actualUses) || actualUses.length !== expectedUses.length || expectedUses.some((use) => !actualUses.includes(use))) {\n context.addIssue({ code: \"custom\", message: \"useDecisions must contain exactly one decision for every AssuranceSourceUse\", path: [\"useDecisions\"] });\n }\n });\nexport type AssuranceSourceRights = z.infer<typeof AssuranceSourceRightsSchema>;\n\n/**\n * Provenance of one retrieval of an external source document.\n *\n * Carries no content digest: an external standard is identified by its EDITION, which is immutable\n * by publication (NIST SP 800-53 Rev 5 is one document forever), so `edition` + `publishedOn` +\n * `canonicalLocator` + `retrievedAt` already say exactly which bytes were read. Hashing the fetch\n * added a step to every source record and answered a question the edition had already answered.\n */\nexport const AssuranceRetrievedSourceArtifactSchema = z.strictObject({\n retrievedAt: AssuranceIsoDateTimeSchema,\n mediaType: z.string().min(1),\n retrievalLocator: z.url(),\n});\nexport type AssuranceRetrievedSourceArtifact = z.infer<typeof AssuranceRetrievedSourceArtifactSchema>;\n\nexport const AssuranceSourceRecordSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n identity: AssuranceSourceIdentitySchema,\n canonicalTitle: z.string().min(1),\n authorityKind: z.enum(AssuranceSourceAuthorityKind),\n tier: z.enum(AssuranceSourceTier),\n edition: z.string().min(1),\n publishedOn: AssuranceIsoDateSchema,\n effectiveOn: AssuranceIsoDateSchema.optional(),\n lifecycleStatus: z.enum(AssuranceSourceLifecycleStatus),\n canonicalLocator: z.url(),\n authorityName: z.string().min(1),\n contentHandling: z.enum(AssuranceSourceContentHandling),\n retrievedArtifact: AssuranceRetrievedSourceArtifactSchema.optional(),\n rights: AssuranceSourceRightsSchema,\n supersededBy: AssuranceSourceIdentitySchema.optional(),\n /**\n * Which jurisdictions' requirements this source STATES (issue #229).\n *\n * The question this answers is \"whose law or guidance is this\", not \"whom does it bind\". GDPR\n * reaches `[\"eu\"]` even though Art. 3(2) binds operators established anywhere: an operator in\n * Brazil serving EU subjects is answered by the EU entry, and adding every country GDPR can bind\n * would make the field useless for the one question it exists for. Do not \"correct\" it that way.\n *\n * REQUIRED, because a source that states no reach cannot answer the coverage question at all, and\n * an optional field here would silently make every uncovered jurisdiction look considered. This is\n * a curated registry authored in one file — there is no migration cost to requiring it.\n */\n jurisdictionalReach: z.array(JurisdictionSlugSchema).min(1),\n scopeLimitations: z.array(z.string().min(1)),\n })\n .superRefine((source, context) => {\n if (source.contentHandling === AssuranceSourceContentHandling.REFERENCE_ONLY && source.retrievedArtifact) {\n context.addIssue({ code: \"custom\", message: \"reference-only sources cannot claim a retrieved artifact\", path: [\"retrievedArtifact\"] });\n }\n if (source.contentHandling === AssuranceSourceContentHandling.RETRIEVED_ARTIFACT && !source.retrievedArtifact) {\n context.addIssue({ code: \"custom\", message: \"retrieved-artifact sources require exact retrieval provenance\", path: [\"retrievedArtifact\"] });\n }\n if (source.lifecycleStatus === AssuranceSourceLifecycleStatus.SUPERSEDED && !source.supersededBy) {\n context.addIssue({ code: \"custom\", message: \"superseded sources require a successor identity\", path: [\"supersededBy\"] });\n }\n if (source.lifecycleStatus !== AssuranceSourceLifecycleStatus.SUPERSEDED && source.supersededBy)\n context.addIssue({ code: \"custom\", message: \"only superseded sources can name a successor identity\", path: [\"supersededBy\"] });\n const rightsAreWithdrawn = source.rights.reviewStatus === AssuranceRightsReviewStatus.WITHDRAWN;\n if (source.lifecycleStatus === AssuranceSourceLifecycleStatus.WITHDRAWN && !rightsAreWithdrawn)\n context.addIssue({ code: \"custom\", message: \"a withdrawn source must also withdraw its rights authorization\", path: [\"rights\", \"reviewStatus\"] });\n });\nexport type AssuranceSourceRecord = z.infer<typeof AssuranceSourceRecordSchema>;\n\nexport const AssuranceSourceRegistrySchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n registryVersion: z.number().int().positive(),\n verifiedAt: AssuranceIsoDateTimeSchema,\n sources: z.array(AssuranceSourceRecordSchema).min(1),\n })\n .superRefine((registry, context) => {\n const identities = registry.sources.map((source) => `${source.identity.sourceRef}@${source.identity.sourceVersion}`);\n if (!uniqueValues(identities) || !lexicallySorted(identities)) {\n context.addIssue({ code: \"custom\", message: \"sources must be unique and lexically sorted by versioned identity\", path: [\"sources\"] });\n }\n const knownIdentities = new Set(identities);\n registry.sources.forEach((source, index) => {\n if (!source.supersededBy) return;\n const sourceKey = `${source.identity.sourceRef}@${source.identity.sourceVersion}`;\n const successorKey = `${source.supersededBy.sourceRef}@${source.supersededBy.sourceVersion}`;\n if (successorKey === sourceKey)\n context.addIssue({ code: \"custom\", message: \"a source cannot supersede itself\", path: [\"sources\", index, \"supersededBy\"] });\n else if (!knownIdentities.has(successorKey))\n context.addIssue({ code: \"custom\", message: \"a successor identity must resolve inside the same registry snapshot\", path: [\"sources\", index, \"supersededBy\"] });\n });\n registry.sources.forEach((source, index) => {\n const visited = new Set<string>();\n let current = source;\n while (current.supersededBy) {\n const currentKey = `${current.identity.sourceRef}@${current.identity.sourceVersion}`;\n if (visited.has(currentKey)) {\n context.addIssue({ code: \"custom\", message: \"source supersession graph cannot contain a cycle\", path: [\"sources\", index, \"supersededBy\"] });\n break;\n }\n visited.add(currentKey);\n const nextKey = `${current.supersededBy.sourceRef}@${current.supersededBy.sourceVersion}`;\n const next = registry.sources.find((candidate) => `${candidate.identity.sourceRef}@${candidate.identity.sourceVersion}` === nextKey);\n if (!next) break;\n current = next;\n }\n });\n });\nexport type AssuranceSourceRegistry = z.infer<typeof AssuranceSourceRegistrySchema>;\n\nexport enum AssuranceRightsAuthorizationReason {\n RIGHTS_WITHDRAWN = \"RIGHTS_WITHDRAWN\",\n RIGHTS_EXPIRED = \"RIGHTS_EXPIRED\",\n USE_DECISION_MISSING = \"USE_DECISION_MISSING\",\n USE_NOT_ALLOWED = \"USE_NOT_ALLOWED\",\n}\n\nexport const AssuranceRightsAuthorizationSchema = z.strictObject({\n authorized: z.boolean(),\n requestedUses: z.array(z.enum(AssuranceSourceUse)).min(1),\n reasons: z.array(z.enum(AssuranceRightsAuthorizationReason)),\n});\nexport type AssuranceRightsAuthorization = z.infer<typeof AssuranceRightsAuthorizationSchema>;\n\n/** Fail-closed authorization for source or mapping-pack operations. Only an unexpired explicit ALLOWED decision authorizes a requested use. */\nexport const deriveAssuranceRightsAuthorization = (\n rights: AssuranceSourceRights,\n requestedUses: readonly AssuranceSourceUse[],\n evaluatedAt: string,\n): AssuranceRightsAuthorization => {\n const parsedRights = AssuranceSourceRightsSchema.parse(rights);\n const parsedRequestedUses = z\n .array(z.enum(AssuranceSourceUse))\n .min(1)\n .parse([...new Set(requestedUses)].sort());\n const parsedEvaluatedAt = AssuranceIsoDateTimeSchema.parse(evaluatedAt);\n const reasons = new Set<AssuranceRightsAuthorizationReason>();\n if (parsedRights.reviewStatus === AssuranceRightsReviewStatus.WITHDRAWN) reasons.add(AssuranceRightsAuthorizationReason.RIGHTS_WITHDRAWN);\n if (parsedRights.validUntil && Date.parse(parsedRights.validUntil) < Date.parse(parsedEvaluatedAt))\n reasons.add(AssuranceRightsAuthorizationReason.RIGHTS_EXPIRED);\n\n parsedRequestedUses.forEach((requestedUse) => {\n const decision = parsedRights.useDecisions.find((candidate) => candidate.use === requestedUse);\n if (!decision) reasons.add(AssuranceRightsAuthorizationReason.USE_DECISION_MISSING);\n else if (decision.permission !== AssuranceSourceUsePermission.ALLOWED) reasons.add(AssuranceRightsAuthorizationReason.USE_NOT_ALLOWED);\n });\n\n return AssuranceRightsAuthorizationSchema.parse({\n authorized: reasons.size === 0,\n requestedUses: parsedRequestedUses,\n reasons: [...reasons].sort(),\n });\n};\n\n/**\n * How well the registry can speak to one jurisdiction an application declared (issue #229).\n *\n * Three members rather than a boolean, because \"we know nothing about this place\" and \"we hold\n * guidance but no law for it\" are different things to tell an operator, and collapsing them would\n * report a product covered by a voluntary framework as covered by law.\n */\nexport enum AssuranceJurisdictionCoverageStatus {\n /** At least one ACTIVE `LAW_OR_REGULATION` source states this jurisdiction's requirements. */\n COVERED_BY_LAW = \"COVERED_BY_LAW\",\n /** Sources reach it, but none is law — guidance and frameworks only, which is not the same claim. */\n GUIDANCE_ONLY = \"GUIDANCE_ONLY\",\n /** Nothing in the registry reaches it. A KNOWN UNKNOWN, and the case this whole report exists for. */\n NOT_COVERED = \"NOT_COVERED\",\n}\n\nexport interface AssuranceJurisdictionCoverage {\n readonly jurisdictionSlug: string;\n readonly status: AssuranceJurisdictionCoverageStatus;\n /** The sources that reach it, so a reader can check the verdict rather than trust it. */\n readonly reachingSourceRefs: readonly string[];\n}\n\n/**\n * `NOT_DECLARED` is a distinct answer and never an empty assessment.\n *\n * An application that declared no jurisdictions has not been asked, and an assessment listing zero\n * uncovered jurisdictions is what \"everything is fine\" looks like. Conflating them turns a wiring gap\n * into a clean bill of health — the failure direction `negative-results-require-a-positive-probe.md`\n * exists to prevent — so callers are forced to branch.\n */\nexport type AssuranceJurisdictionCoverageReport =\n | { readonly kind: \"NOT_DECLARED\" }\n | { readonly kind: \"ASSESSED\"; readonly entries: readonly AssuranceJurisdictionCoverage[] };\n\n/**\n * Which of an application's declared jurisdictions the source registry can actually speak to.\n *\n * A pure function of two declarations, so it merges: two branches may declare different jurisdictions\n * and each branch's answer is about its own tree (`.claude/rules/one-source-of-truth.md` Rule 0).\n *\n * Only ACTIVE sources count. A SUPERSEDED or WITHDRAWN source reaching a jurisdiction is not coverage\n * — treating it as such would let a repealed instrument answer for a place, and the whole point of the\n * report is that silence about an unknown jurisdiction is indistinguishable from a claim of coverage.\n */\nexport function assessAssuranceJurisdictionCoverage(\n declared: { readonly jurisdictions: readonly { readonly jurisdictionSlug: string }[] } | undefined,\n sources: readonly AssuranceSourceRecord[],\n): AssuranceJurisdictionCoverageReport {\n if (declared === undefined) return { kind: \"NOT_DECLARED\" };\n\n const activeSources = sources.filter((source) => source.lifecycleStatus === AssuranceSourceLifecycleStatus.ACTIVE);\n\n const entries = declared.jurisdictions.map((entry) => {\n const reaching = activeSources.filter((source) =>\n source.jurisdictionalReach.some((reach) => jurisdictionReachCovers(reach, entry.jurisdictionSlug)));\n const hasLaw = reaching.some((source) => source.authorityKind === AssuranceSourceAuthorityKind.LAW_OR_REGULATION);\n return {\n jurisdictionSlug: entry.jurisdictionSlug,\n status: reaching.length === 0\n ? AssuranceJurisdictionCoverageStatus.NOT_COVERED\n : hasLaw\n ? AssuranceJurisdictionCoverageStatus.COVERED_BY_LAW\n : AssuranceJurisdictionCoverageStatus.GUIDANCE_ONLY,\n reachingSourceRefs: reaching.map((source) => source.identity.sourceRef).sort(),\n };\n });\n\n return { kind: \"ASSESSED\", entries };\n}\n"]}
@@ -0,0 +1,35 @@
1
+ import type { AssuranceVerificationRequirementBody } from "./assurance-program.schemas";
2
+ /**
3
+ * What a verification demand asks someone to DO, per requirement.
4
+ *
5
+ * ## Why this file exists
6
+ *
7
+ * Until 2026-09-08 the verification plane was degenerate: `requiredStatementVerificationRefs` held
8
+ * the expectation's OWN ref in 50 of 50 bindings, so the basis stored its demand twice and stated
9
+ * nothing a verifier could act on (#452). The refs now name a real `verification-requirement:*`
10
+ * namespace, and a body here is what makes one actionable.
11
+ *
12
+ * ## The split from evidence, which is the thing to keep straight
13
+ *
14
+ * `ASSURANCE_EVIDENCE_REQUIREMENT_BODIES` answers *what artifact proves this ran*. This file answers
15
+ * *what act establishes that the control holds, and what that act cannot establish*. A body that
16
+ * lists artifacts has been written against the wrong tier.
17
+ *
18
+ * ## The catalog is COMPLETE, and a test keeps it that way
19
+ *
20
+ * Authored in tranches, exactly as the evidence bodies were, and completed on 2026-09-09: every
21
+ * demand the framework's basis makes now has a body. That intermediate state had an end, and this is
22
+ * it — a demand with no body is a slug a verifier cannot act on.
23
+ *
24
+ * `body` stays OPTIONAL on the authority schema, deliberately. An application's OWN basis may extend
25
+ * the model and would be refused mid-authoring by a schema-level requirement. What binds the
26
+ * FRAMEWORK's basis — the one that ships as a claim — is the pair of guards in
27
+ * `assurance-authority-basis.schemas.test.ts`: every authored body is reached by a demand, and every
28
+ * demand has an authored body. Neither alone is sufficient; the first catches an inert body keyed to
29
+ * nothing, the second catches a demand added later with no body, and both are mutation-proven.
30
+ *
31
+ * Re-count before quoting a number. The evidence file's own comment said 5 while the file held 20,
32
+ * and this file's own count moved four times while it was being written.
33
+ */
34
+ export declare const ASSURANCE_VERIFICATION_REQUIREMENT_BODIES: Readonly<Record<string, AssuranceVerificationRequirementBody>>;
35
+ //# sourceMappingURL=assurance-verification-requirement-bodies.definitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assurance-verification-requirement-bodies.definitions.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-verification-requirement-bodies.definitions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,6BAA6B,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,yCAAyC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,oCAAoC,CAAC,CA6nCpH,CAAC"}