@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.
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.registry.js +60 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.js +15 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/market/market.family-aspects.js +227 -0
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
- package/dist/esm/_core/provider-specification.schemas.js +144 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +157 -57
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +11 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +11 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +319 -8
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +2 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +2 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +26 -8
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.js +3 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -9
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +106 -10
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +6 -3
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +13 -9
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +30 -11
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -8
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
- package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +44 -1
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/index.d.ts +0 -2
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +4 -6
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +2 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +2 -0
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -17
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -7
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -15
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -9
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.js +30 -0
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +34 -0
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +23 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -0
- package/dist/esm/engine/providers/index.js +37 -0
- package/dist/esm/engine/providers/index.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -7
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -8
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +15 -11
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +451 -25
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -8
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assurance-document-system.definitions.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-document-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACrB,qCAAqC,EACrC,+BAA+B,EAC/B,sCAAsC,EACtC,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,uCAAuC,EACvC,gCAAgC,EAChC,yCAAyC,EACzC,6CAA6C,EAC7C,iCAAiC,EACjC,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACnC,2CAA2C,EAC3C,uCAAuC,EACvC,2BAA2B,EAC3B,4CAA4C,GAG7C,MAAM,qCAAqC,CAAC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vB,sCAAsC,CAAC,eAAe;oBACtD,sCAAsC,CAAC,gBAAgB;oBACvD,sCAAsC,CAAC,UAAU;iBAClD;gBACD,uBAAuB,EAAE,CAAC,+BAA+B,CAAC,iBAAiB,CAAC;gBAC5E,kBAAkB,EAAE,6CAA6C;gBACjE,iBAAiB,EAAE;oBACjB,yDAAyD;oBACzD,sDAAsD;oBACtD,uCAAuC;iBACxC;gBACD,cAAc,EAAE,gCAAgC;aACjD;SACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QACxG,UAAU;KACX,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n GovernedDocumentAudienceKind,\n GovernedDocumentClass,\n GovernedDocumentGovernanceSubjectKind,\n GovernedDocumentInteractionKind,\n GovernedDocumentPublicationChannelKind,\n GovernedDocumentReviewKind,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n AssuranceDocumentAuthorityCatalogSchema,\n AssuranceDocumentBlueprintSchema,\n AssuranceDocumentCatalogApplicabilityKind,\n AssuranceDocumentClaimGuardFailureDisposition,\n AssuranceDocumentClaimProhibition,\n AssuranceDocumentClauseInclusionKind,\n AssuranceDocumentConditionOperator,\n AssuranceDocumentFactAuthorityKind,\n AssuranceDocumentQuestionAnswerKind,\n AssuranceDocumentReviewChecklistSubjectKind,\n AssuranceDocumentSourceMonitoringStatus,\n AssuranceDocumentSourceRole,\n AssuranceDocumentVariantSelectionCardinality,\n type AssuranceDocumentAuthorityCatalog,\n type AssuranceDocumentBlueprint,\n} from \"./assurance-document-system.schemas\";\nimport { INITIAL_ASSURANCE_SOURCE_REGISTRY } from \"./assurance-source-registry.definitions\";\nimport { AssuranceSourceAuthorityKind, AssuranceSourceUse } from \"./assurance-sources.schemas\";\n\nconst VERIFIED_AT = \"2026-08-08T17:00:00.000Z\";\nconst NEXT_CHECK_ON = \"2026-11-08\";\n\nconst DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF = \"document-definition:public.privacy-notice\";\nconst DOCUMENT_DEFINITION_SERVICE_TERMS_REF = \"document-definition:public.service-terms\";\nconst DOCUMENT_DEFINITION_DOCUMENT_RECORD_CONTROL_REF = \"document-definition:governance.document-record-control\";\nconst DOCUMENT_DEFINITION_PROGRAM_HANDBOOK_REF = \"document-definition:governance.program-handbook\";\nconst DOCUMENT_DEFINITION_ROLES_RESPONSIBILITIES_REF = \"document-definition:governance.roles-responsibilities\";\nconst DOCUMENT_DEFINITION_SCOPE_SYSTEM_DESCRIPTION_REF = \"document-definition:governance.scope-system-description\";\nconst CORE_INTERNAL_GOVERNANCE_DEFINITION_REFS = [\n DOCUMENT_DEFINITION_DOCUMENT_RECORD_CONTROL_REF,\n DOCUMENT_DEFINITION_PROGRAM_HANDBOOK_REF,\n DOCUMENT_DEFINITION_ROLES_RESPONSIBILITIES_REF,\n DOCUMENT_DEFINITION_SCOPE_SYSTEM_DESCRIPTION_REF,\n];\nconst PUBLIC_DOCUMENT_CLAIM_POLICY_REF = \"document-claim-policy:public-safe-baseline\";\nconst INTERNAL_GOVERNANCE_CLAIM_POLICY_REF = \"document-claim-policy:internal-governance-safe-baseline\";\nconst PRIVACY_REVIEW_POLICY_REF = \"document-review-policy:public-privacy-notice\";\nconst TERMS_REVIEW_POLICY_REF = \"document-review-policy:public-service-terms\";\nconst INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF = \"document-review-policy:internal-governance-business\";\nconst INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF = \"document-review-policy:internal-governance-content\";\nconst PRIVACY_SOURCE_POLICY_REFS = [\"document-source-monitoring:ec-protecting-data-and-privacy\", \"document-source-monitoring:eu-gdpr-2016-679\"];\nconst TERMS_SOURCE_POLICY_REFS = [\"document-source-monitoring:eu-consumer-contract-information\"];\nconst INTERNAL_GOVERNANCE_SOURCE_POLICY_REFS = [\n \"document-source-monitoring:nist-csf-2.0\",\n \"document-source-monitoring:nist-sp-800-53-rev-5-release-5.2.0\",\n];\nconst PRIVACY_CLAIM_GUARD_REF = \"document-claim-guard:public-privacy-notice\";\nconst TERMS_CLAIM_GUARD_REF = \"document-claim-guard:public-service-terms\";\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\n\nconst sourceRoleFor = (authorityKind: AssuranceSourceAuthorityKind, sourceRef: string): AssuranceDocumentSourceRole => {\n if (sourceRef === \"source:nist-oscal-1.2.2\") return AssuranceDocumentSourceRole.TECHNICAL_EXCHANGE_FORMAT;\n if (authorityKind === AssuranceSourceAuthorityKind.LAW_OR_REGULATION) return AssuranceDocumentSourceRole.NORMATIVE_LEGAL_TEXT;\n if (authorityKind === AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE) return AssuranceDocumentSourceRole.OFFICIAL_GUIDANCE;\n return AssuranceDocumentSourceRole.VOLUNTARY_FRAMEWORK;\n};\n\nconst dependentDefinitionRefsFor = (sourceRef: string): string[] => {\n if (sourceRef === \"source:ec-protecting-data-and-privacy\" || sourceRef === \"source:eu-gdpr-2016-679\") {\n return [DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF];\n }\n if (sourceRef === \"source:eu-consumer-contract-information\") return [DOCUMENT_DEFINITION_SERVICE_TERMS_REF];\n if (sourceRef === \"source:nist-csf-2.0\" || sourceRef === \"source:nist-sp-800-53-rev-5-release-5.2.0\") {\n return CORE_INTERNAL_GOVERNANCE_DEFINITION_REFS;\n }\n return [];\n};\n\nconst factRef = (suffix: string): string => `document-fact:${suffix}`;\nconst sectionRef = (suffix: string): string => `document-section:${suffix}`;\n\nconst createQuestion = (input: {\n readonly suffix: string;\n readonly creatorPrompt: string;\n readonly decisionPurpose: string;\n readonly answerKind?: AssuranceDocumentQuestionAnswerKind;\n readonly factAuthorityKind?: AssuranceDocumentFactAuthorityKind;\n readonly allowsNotApplicable?: boolean;\n readonly semanticOptions?: readonly { readonly suffix: string; readonly creatorMeaning: string }[];\n}) => ({\n questionRef: `document-question:${input.suffix}`,\n questionVersion: 1,\n factRef: factRef(input.suffix),\n creatorPrompt: input.creatorPrompt,\n decisionPurpose: input.decisionPurpose,\n answerKind: input.answerKind ?? AssuranceDocumentQuestionAnswerKind.TEXT,\n factAuthorityKind: input.factAuthorityKind ?? AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n sensitivityRef: \"sensitivity:internal-governance\",\n allowsNotApplicable: input.allowsNotApplicable ?? false,\n semanticOptions: (input.semanticOptions ?? []).map((option) => ({\n optionRef: `document-option:${option.suffix}`,\n creatorMeaning: option.creatorMeaning,\n })),\n});\n\nconst createClause = (input: {\n readonly clauseSuffix: string;\n readonly sectionSuffix: string;\n readonly factSuffixes: readonly string[];\n readonly draftingPurpose: string;\n readonly sourcePolicyRefs: readonly string[];\n readonly claimGuardRef: string;\n readonly inclusionKind?: AssuranceDocumentClauseInclusionKind;\n readonly conditionGroups?: readonly {\n readonly conditionGroupRef: string;\n readonly conditions: readonly Record<string, string>[];\n }[];\n}) => ({\n clauseRef: `document-clause:${input.clauseSuffix}`,\n clauseVersion: 1,\n sectionRef: sectionRef(input.sectionSuffix),\n inclusionKind: input.inclusionKind ?? AssuranceDocumentClauseInclusionKind.REQUIRED,\n draftingPurpose: input.draftingPurpose,\n requiredFactRefs: input.factSuffixes.map(factRef).sort(compareCanonicalText),\n variables: input.factSuffixes\n .map((suffix) => ({ variableRef: `document-variable:${suffix}`, factRef: factRef(suffix) }))\n .sort((left, right) => compareCanonicalText(left.variableRef, right.variableRef)),\n sourcePolicyRefs: [...input.sourcePolicyRefs].sort(compareCanonicalText),\n claimGuardRefs: [input.claimGuardRef],\n conditionGroups: input.conditionGroups ?? [],\n});\n\nconst createSection = (input: {\n readonly suffix: string;\n readonly order: number;\n readonly draftingPurpose: string;\n readonly factSuffixes: readonly string[];\n readonly clauseSuffixes: readonly string[];\n}) => ({\n sectionRef: sectionRef(input.suffix),\n sectionVersion: 1,\n order: input.order,\n draftingPurpose: input.draftingPurpose,\n requiredFactRefs: input.factSuffixes.map(factRef),\n clauseRefs: input.clauseSuffixes.map((suffix) => `document-clause:${suffix}`),\n});\n\nconst createChecklist = (input: {\n readonly suffix: string;\n readonly reviewPolicyRef: string;\n readonly reviewKind: GovernedDocumentReviewKind;\n readonly blueprintRef: string;\n readonly prompts: readonly string[];\n}) => ({\n checklistRef: `document-review-checklist:${input.suffix}`,\n checklistVersion: 1,\n reviewPolicyRef: input.reviewPolicyRef,\n reviewKind: input.reviewKind,\n items: input.prompts.map((reviewPrompt, index) => ({\n itemRef: `document-review-item:${input.suffix}-${String(index + 1).padStart(2, \"0\")}`,\n order: index + 1,\n subjectKind: AssuranceDocumentReviewChecklistSubjectKind.BLUEPRINT,\n subjectRef: input.blueprintRef,\n reviewPrompt,\n blocksApproval: true,\n })),\n});\n\n/** Parse one authored blueprint. (It stamped a self-digest until 2026-08-27; identity is `blueprintRef@blueprintVersion`.) */\nconst sealBlueprint = (blueprint: Record<string, unknown>): AssuranceDocumentBlueprint => AssuranceDocumentBlueprintSchema.parse(blueprint);\n\ntype CoreInternalGovernanceBlueprintConfig = {\n readonly definitionRef: string;\n readonly stableKindRef: string;\n readonly blueprintRef: string;\n readonly label: string;\n readonly facts: readonly {\n readonly suffix: string;\n readonly creatorPrompt: string;\n readonly decisionPurpose: string;\n readonly factAuthorityKind: AssuranceDocumentFactAuthorityKind;\n }[];\n readonly sections: readonly {\n readonly suffix: string;\n readonly draftingPurpose: string;\n readonly factSuffixes: readonly string[];\n readonly clauseDraftingPurpose: string;\n }[];\n};\n\n/**\n * The first Step 6 catalog slice is ordered deliberately: these four documents\n * establish the program boundary, accountable roles and document custody that\n * every later policy, procedure, register and assessment must reference. They\n * remain semantic blueprints; none of the prompts supplies application facts\n * or asserts that a control has operated.\n */\nconst CORE_INTERNAL_GOVERNANCE_BLUEPRINT_CONFIGS: readonly CoreInternalGovernanceBlueprintConfig[] = [\n {\n definitionRef: DOCUMENT_DEFINITION_DOCUMENT_RECORD_CONTROL_REF,\n stableKindRef: \"document-kind:governance-document-record-control\",\n blueprintRef: \"document-blueprint:governance-document-record-control\",\n label: \"document and record control policy\",\n facts: [\n {\n suffix: \"governance-document-change-history\",\n creatorPrompt: \"Define how changes, corrections, supersession and prior-version access are recorded for governed documents and records.\",\n decisionPurpose: \"Make every version transition reconstructable without rewriting retained history.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-document-identity-ownership\",\n creatorPrompt: \"Identify document classes, stable identities, accountable owners, custodians and classification rules for this governance scope.\",\n decisionPurpose: \"Prevent anonymous documents or ambiguous ownership from entering the governed repository.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-document-release-distribution\",\n creatorPrompt: \"Define approved release, repository, distribution, access and acknowledgement channels for each document class.\",\n decisionPurpose: \"Separate an approved immutable release from drafts, copies and uncontrolled distribution.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-document-retention-disposal\",\n creatorPrompt: \"Define retention, legal-hold, archive, disposal and destruction-verification rules for governed documents and records.\",\n decisionPurpose: \"Prevent both premature evidence loss and indefinite retention without authority.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n {\n suffix: \"governance-document-review-approval\",\n creatorPrompt: \"Define author, reviewer, approver, independence, review cadence and emergency-change authority by document class.\",\n decisionPurpose: \"Keep authorship, qualified review and final approval as distinct accountable actions.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n ],\n sections: [\n {\n suffix: \"governance-document-identity-ownership\",\n draftingPurpose: \"Establish controlled document identity, classification and ownership.\",\n factSuffixes: [\"governance-document-identity-ownership\"],\n clauseDraftingPurpose: \"State the accepted identity, classification, owner and custodian rules without inventing organization assignments.\",\n },\n {\n suffix: \"governance-document-review-approval\",\n draftingPurpose: \"Define review, approval and separation requirements.\",\n factSuffixes: [\"governance-document-review-approval\"],\n clauseDraftingPurpose: \"State the accepted review, approval, independence, cadence and emergency authority decisions.\",\n },\n {\n suffix: \"governance-document-release-distribution\",\n draftingPurpose: \"Control release, storage, access and distribution.\",\n factSuffixes: [\"governance-document-release-distribution\"],\n clauseDraftingPurpose: \"Describe only the approved release and distribution channels for each governed class.\",\n },\n {\n suffix: \"governance-document-retention-disposal\",\n draftingPurpose: \"Control retention, holds, archive and disposal.\",\n factSuffixes: [\"governance-document-retention-disposal\"],\n clauseDraftingPurpose: \"State qualified retention and disposal rules, including holds and destruction verification.\",\n },\n {\n suffix: \"governance-document-change-history\",\n draftingPurpose: \"Preserve controlled change and prior-version history.\",\n factSuffixes: [\"governance-document-change-history\"],\n clauseDraftingPurpose: \"Describe correction, supersession and history access without altering immutable prior releases.\",\n },\n ],\n },\n {\n definitionRef: DOCUMENT_DEFINITION_PROGRAM_HANDBOOK_REF,\n stableKindRef: \"document-kind:governance-program-handbook\",\n blueprintRef: \"document-blueprint:governance-program-handbook\",\n label: \"assurance program handbook\",\n facts: [\n {\n suffix: \"governance-document-map-improvement\",\n creatorPrompt: \"Identify the governed document map, review cycle, findings route and continual-improvement loop for this program.\",\n decisionPurpose: \"Connect program direction to controlled documents, findings and accountable improvement rather than a static policy pack.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-operating-model\",\n creatorPrompt: \"Describe the accepted governance forums, decision paths, escalation routes, assurance cadence and operating interfaces.\",\n decisionPurpose: \"Record how governance is intended to operate without claiming that any meeting or control has occurred.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-program-purpose-context\",\n creatorPrompt: \"Define the program purpose, intended outcomes, organizational context and explicit limitations for this governance scope.\",\n decisionPurpose: \"Keep the program's objective and boundaries application-specific and prevent generic certification claims.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-scope-boundaries\",\n creatorPrompt: \"Resolve the exact organizations, products, environments, services and exclusions governed by this program.\",\n decisionPurpose: \"Bind the handbook to the accepted system scope instead of an unscoped organization-wide assertion.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n {\n suffix: \"governance-stakeholders-obligations\",\n creatorPrompt: \"Identify material stakeholders, approved obligation categories, accountable owners and unresolved applicability gaps.\",\n decisionPurpose: \"Connect program governance to accepted obligations without turning a source catalog into a legal conclusion.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n ],\n sections: [\n {\n suffix: \"governance-program-purpose-context\",\n draftingPurpose: \"State program purpose, context, outcomes and limitations.\",\n factSuffixes: [\"governance-program-purpose-context\"],\n clauseDraftingPurpose: \"State the accepted program purpose and limitations without implying certification or operating effectiveness.\",\n },\n {\n suffix: \"governance-program-scope\",\n draftingPurpose: \"Describe the exact governed scope and exclusions.\",\n factSuffixes: [\"governance-scope-boundaries\"],\n clauseDraftingPurpose: \"Describe only the accepted organizations, products, environments, services and exclusions.\",\n },\n {\n suffix: \"governance-program-stakeholders-obligations\",\n draftingPurpose: \"Connect stakeholders and qualified obligation decisions.\",\n factSuffixes: [\"governance-stakeholders-obligations\"],\n clauseDraftingPurpose: \"Identify accepted stakeholders, obligation categories, owners and visible unresolved gaps.\",\n },\n {\n suffix: \"governance-program-operating-model\",\n draftingPurpose: \"Define governance forums, decision paths and cadence.\",\n factSuffixes: [\"governance-operating-model\"],\n clauseDraftingPurpose: \"Describe the approved operating model as intent and responsibility, not evidence that activities occurred.\",\n },\n {\n suffix: \"governance-program-document-map-improvement\",\n draftingPurpose: \"Link controlled documents, findings and continual improvement.\",\n factSuffixes: [\"governance-document-map-improvement\"],\n clauseDraftingPurpose: \"Describe the governed document map and accountable improvement loop without manufacturing review records.\",\n },\n ],\n },\n {\n definitionRef: DOCUMENT_DEFINITION_ROLES_RESPONSIBILITIES_REF,\n stableKindRef: \"document-kind:governance-roles-responsibilities\",\n blueprintRef: \"document-blueprint:governance-roles-responsibilities\",\n label: \"roles and responsibilities policy\",\n facts: [\n {\n suffix: \"governance-accountable-roles\",\n creatorPrompt: \"Identify accountable executives, control owners, process owners, technical operators and record custodians for the declared scope.\",\n decisionPurpose: \"Require named accountability without inheriting Wildo personnel or placeholder roles.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-conflict-separation\",\n creatorPrompt: \"Define incompatible duties, conflict declarations, independent checks and approved compensating oversight for constrained teams.\",\n decisionPurpose: \"Expose actual separation limitations rather than asserting independence that the organization cannot provide.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n {\n suffix: \"governance-delegation-escalation\",\n creatorPrompt: \"Define delegation limits, alternates, escalation paths and decisions that cannot be delegated.\",\n decisionPurpose: \"Keep authority transitions explicit and prevent silent delegation of accountable decisions.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-operational-responsibilities\",\n creatorPrompt: \"Map recurring governance, security, privacy, engineering and response responsibilities to actual operator roles.\",\n decisionPurpose: \"Describe expected responsibility without claiming that an assigned control has operated.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-review-independence\",\n creatorPrompt: \"Define reviewer competence, authority, independence disclosure and conflict-handling requirements for each review family.\",\n decisionPurpose: \"Preserve honest independence limits and qualified-review authority.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n ],\n sections: [\n {\n suffix: \"governance-accountable-roles\",\n draftingPurpose: \"Assign accountable and operational roles.\",\n factSuffixes: [\"governance-accountable-roles\"],\n clauseDraftingPurpose: \"State accepted role accountability and custody without inventing people or assignments.\",\n },\n {\n suffix: \"governance-operational-responsibilities\",\n draftingPurpose: \"Map recurring responsibilities to actual roles.\",\n factSuffixes: [\"governance-operational-responsibilities\"],\n clauseDraftingPurpose: \"Describe assigned responsibilities as obligations, not proof of execution.\",\n },\n {\n suffix: \"governance-conflict-separation\",\n draftingPurpose: \"Define separation, conflicts and compensating oversight.\",\n factSuffixes: [\"governance-conflict-separation\"],\n clauseDraftingPurpose: \"State qualified separation decisions and disclose constrained-team limitations.\",\n },\n {\n suffix: \"governance-review-independence\",\n draftingPurpose: \"Define competence and independence for reviews.\",\n factSuffixes: [\"governance-review-independence\"],\n clauseDraftingPurpose: \"State reviewer competence, authority and independence-disclosure requirements.\",\n },\n {\n suffix: \"governance-delegation-escalation\",\n draftingPurpose: \"Control delegation, alternates and escalation.\",\n factSuffixes: [\"governance-delegation-escalation\"],\n clauseDraftingPurpose: \"Describe delegation boundaries and escalation routes for unresolved or conflicted decisions.\",\n },\n ],\n },\n {\n definitionRef: DOCUMENT_DEFINITION_SCOPE_SYSTEM_DESCRIPTION_REF,\n stableKindRef: \"document-kind:governance-scope-system-description\",\n blueprintRef: \"document-blueprint:governance-scope-system-description\",\n label: \"scope and system description\",\n facts: [\n {\n suffix: \"governance-dependencies-responsibilities\",\n creatorPrompt: \"Identify material platform, supplier, tenant and external dependencies with their attributed responsibilities and unresolved handoffs.\",\n decisionPurpose: \"Preserve shared-responsibility attribution instead of flattening every capability into operator ownership.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n {\n suffix: \"governance-entities-products-environments\",\n creatorPrompt: \"Identify the legal/organizational entities, products, domains, environments and service locations included in this scope.\",\n decisionPurpose: \"Anchor the system description to accepted application and deployment identities.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n {\n suffix: \"governance-scope-exclusions\",\n creatorPrompt: \"Record explicit exclusions, their rationale, affected responsibilities and any resulting gaps or external dependencies.\",\n decisionPurpose: \"Make exclusions reviewable and prevent a broad scope statement from hiding material omissions.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n {\n suffix: \"governance-scope-review-triggers\",\n creatorPrompt: \"Define the application, deployment, organization, supplier and obligation changes that require scope review.\",\n decisionPurpose: \"Keep the system description continuously aligned with material change.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-system-boundaries\",\n creatorPrompt: \"Describe system boundaries, major components, data/trust boundaries, interfaces and lifecycle ownership from accepted technical facts.\",\n decisionPurpose: \"Provide a reproducible boundary description without inventing architecture or operating evidence.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n ],\n sections: [\n {\n suffix: \"governance-entities-products-environments\",\n draftingPurpose: \"Identify included entities, products and environments.\",\n factSuffixes: [\"governance-entities-products-environments\"],\n clauseDraftingPurpose: \"Describe only accepted entity, product, domain, environment and location facts.\",\n },\n {\n suffix: \"governance-system-boundaries\",\n draftingPurpose: \"Describe the system and trust boundaries.\",\n factSuffixes: [\"governance-system-boundaries\"],\n clauseDraftingPurpose: \"Describe accepted components, interfaces and boundaries without inferring unverified architecture.\",\n },\n {\n suffix: \"governance-dependencies-responsibilities\",\n draftingPurpose: \"Attribute dependencies and shared responsibilities.\",\n factSuffixes: [\"governance-dependencies-responsibilities\"],\n clauseDraftingPurpose: \"Attribute provider, operator, tenant and supplier responsibilities and retain unresolved handoffs.\",\n },\n {\n suffix: \"governance-scope-exclusions\",\n draftingPurpose: \"Expose scope exclusions and resulting limitations.\",\n factSuffixes: [\"governance-scope-exclusions\"],\n clauseDraftingPurpose: \"State qualified exclusions, rationale and gaps without presenting them as implemented alternatives.\",\n },\n {\n suffix: \"governance-scope-review-triggers\",\n draftingPurpose: \"Define material scope-change triggers.\",\n factSuffixes: [\"governance-scope-review-triggers\"],\n clauseDraftingPurpose: \"State the accepted events that invalidate or require review of this system description.\",\n },\n ],\n },\n];\n\nconst createCoreInternalGovernanceBlueprint = (config: CoreInternalGovernanceBlueprintConfig): AssuranceDocumentBlueprint => {\n const claimGuardRef = `document-claim-guard:${config.blueprintRef.slice(\"document-blueprint:\".length)}`;\n const questions = config.facts\n .map((fact) =>\n createQuestion({\n suffix: fact.suffix,\n creatorPrompt: fact.creatorPrompt,\n decisionPurpose: fact.decisionPurpose,\n factAuthorityKind: fact.factAuthorityKind,\n }),\n )\n .sort((left, right) => compareCanonicalText(left.questionRef, right.questionRef));\n const clauses = config.sections\n .map((section) =>\n createClause({\n clauseSuffix: section.suffix,\n sectionSuffix: section.suffix,\n factSuffixes: section.factSuffixes,\n draftingPurpose: section.clauseDraftingPurpose,\n sourcePolicyRefs: INTERNAL_GOVERNANCE_SOURCE_POLICY_REFS,\n claimGuardRef,\n }),\n )\n .sort((left, right) => compareCanonicalText(left.clauseRef, right.clauseRef));\n const sections = config.sections.map((section, index) =>\n createSection({\n suffix: section.suffix,\n order: index + 1,\n draftingPurpose: section.draftingPurpose,\n factSuffixes: section.factSuffixes,\n clauseSuffixes: [section.suffix],\n }),\n );\n const reviewChecklists = [\n createChecklist({\n suffix: `${config.blueprintRef.slice(\"document-blueprint:\".length)}-business`,\n reviewPolicyRef: INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n blueprintRef: config.blueprintRef,\n prompts: [\n `Confirm the ${config.label} has an accountable owner, matches the accepted organizational decisions and does not promise activities the operator cannot support.`,\n ],\n }),\n createChecklist({\n suffix: `${config.blueprintRef.slice(\"document-blueprint:\".length)}-content`,\n reviewPolicyRef: INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.CONTENT,\n blueprintRef: config.blueprintRef,\n prompts: [\n `Trace every material statement in the ${config.label} to the accepted facts, source policies and explicit limitations; reject implementation or operating claims without scoped evidence.`,\n ],\n }),\n ].sort((left, right) => compareCanonicalText(left.checklistRef, right.checklistRef));\n\n return sealBlueprint(\n {\n identity: { blueprintRef: config.blueprintRef, blueprintVersion: 1 },\n definition: { definitionRef: config.definitionRef, definitionVersion: 1 },\n questions,\n sections,\n clauses,\n claimGuards: [\n {\n guardRef: claimGuardRef,\n guardVersion: 1,\n claimPolicyRef: INTERNAL_GOVERNANCE_CLAIM_POLICY_REF,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiredFactRefs: config.facts.map((fact) => factRef(fact.suffix)).sort(compareCanonicalText),\n requiredEvidenceRefs: [],\n requiredAuthorityRefs: [\"review-authority:qualified-internal-governance\"],\n failureDisposition: AssuranceDocumentClaimGuardFailureDisposition.BLOCK_CANDIDATE,\n reviewerInstruction:\n \"Approve governance intent only. Reject claims of implementation, operation, effectiveness, certification, equivalence or independence unless separately supported by exact scoped authority and evidence.\",\n },\n ],\n reviewChecklists,\n variantAxes: [],\n },\n );\n};\n\nconst createCoreInternalGovernanceDefinition = (config: CoreInternalGovernanceBlueprintConfig) => ({\n identity: { definitionRef: config.definitionRef, definitionVersion: 1 },\n stableKindRef: config.stableKindRef,\n documentClass: GovernedDocumentClass.GOVERNANCE_POLICY,\n applicabilityKind: AssuranceDocumentCatalogApplicabilityKind.CORE,\n governanceSubjectKinds: [GovernedDocumentGovernanceSubjectKind.APPLICATION_OPERATOR, GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY],\n audienceKinds: [GovernedDocumentAudienceKind.QUALIFIED_REVIEWER, GovernedDocumentAudienceKind.WORKFORCE],\n requiredFactRefs: config.facts.map((fact) => factRef(fact.suffix)).sort(compareCanonicalText),\n requiredSectionRefs: config.sections.map((section) => sectionRef(section.suffix)).sort(compareCanonicalText),\n qualifiedReviewPolicyRefs: [INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF, INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF],\n sourcePolicyRefs: INTERNAL_GOVERNANCE_SOURCE_POLICY_REFS,\n publicationChannelKinds: [GovernedDocumentPublicationChannelKind.DURABLE_DOWNLOAD, GovernedDocumentPublicationChannelKind.GOVERNANCE_REPOSITORY],\n allowedInteractionKinds: [],\n retentionPolicyRef: \"retention-policy:governed-internal-documents\",\n reviewTriggerRefs: [\n \"document-review-trigger:governance-scope-or-responsibility-change\",\n \"document-review-trigger:periodic-governance-review\",\n \"document-review-trigger:source-change\",\n ],\n claimPolicyRef: INTERNAL_GOVERNANCE_CLAIM_POLICY_REF,\n});\n\nconst createPrivacyNoticeBlueprint = (): AssuranceDocumentBlueprint => {\n const blueprintRef = \"document-blueprint:public-privacy-notice\";\n const questions = [\n createQuestion({\n suffix: \"controller-and-contact\",\n creatorPrompt: \"Identify every party acting as controller or joint controller and the public privacy contact route for this application scope.\",\n decisionPurpose: \"Attribute the notice to the actual operator or shared-responsibility parties instead of inheriting Wildo's identity.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"data-categories-and-sources\",\n creatorPrompt: \"Describe the personal-data categories, data-subject groups and collection sources that are actually present in the application.\",\n decisionPurpose: \"Bound the notice to verified collection and derived-data facts.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"international-transfers\",\n creatorPrompt:\n \"Identify transfers outside the subject's jurisdiction, the recipients and the approved transfer mechanism, or explicitly resolve that no such transfer occurs.\",\n decisionPurpose: \"Prevent a generic transfer statement from replacing the application's real deployment and supplier facts.\",\n allowsNotApplicable: true,\n }),\n createQuestion({\n suffix: \"lawful-bases\",\n creatorPrompt: \"Select the bases approved for the application's processing purposes; do not infer a basis from a technical capability.\",\n decisionPurpose: \"Require an accountable privacy decision before a candidate can associate purposes with legal bases.\",\n answerKind: AssuranceDocumentQuestionAnswerKind.SEMANTIC_MULTI_SELECT,\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n semanticOptions: [\n { suffix: \"lawful-basis-consent\", creatorMeaning: \"Consent approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-contract\", creatorMeaning: \"Contract necessity approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-legal-obligation\", creatorMeaning: \"A cited legal obligation approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-legitimate-interests\", creatorMeaning: \"Legitimate interests approved with the required balancing assessment.\" },\n { suffix: \"lawful-basis-public-task\", creatorMeaning: \"Public task or official authority approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-vital-interests\", creatorMeaning: \"Vital interests approved for a specified processing purpose.\" },\n ].sort((left, right) => compareCanonicalText(left.suffix, right.suffix)),\n }),\n createQuestion({\n suffix: \"processing-purposes\",\n creatorPrompt: \"Describe each actual processing purpose and link it to the relevant data categories, recipients and lifecycle.\",\n decisionPurpose: \"Keep purpose statements specific enough to review against the application specification.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"recipients-and-processors\",\n creatorPrompt: \"Identify recipient categories, processors and subprocessors that receive data in this application scope.\",\n decisionPurpose: \"Prevent an unverified generic recipient list.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"retention-rules\",\n creatorPrompt:\n \"State the retention trigger, period or decision rule for each material data category and the verified deletion or anonymization behavior.\",\n decisionPurpose: \"Require application-specific lifecycle facts rather than an indefinite or aspirational retention promise.\",\n }),\n createQuestion({\n suffix: \"rights-and-complaint-route\",\n creatorPrompt: \"Confirm the applicable rights, request channel, identity-verification path, response ownership and supervisory complaint route.\",\n decisionPurpose: \"Bind rights language to an operating request path and qualified jurisdiction review.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n ].sort((left, right) => compareCanonicalText(left.questionRef, right.questionRef));\n\n const clauses = [\n createClause({\n clauseSuffix: \"privacy-automated-decisions\",\n sectionSuffix: \"automated-decisions\",\n factSuffixes: [\"data-categories-and-sources\", \"processing-purposes\"],\n draftingPurpose:\n \"State truthfully whether automated decision-making or profiling is in scope and, when it is, route meaningful logic and consequence disclosures to qualified review.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-changes-effective-date\",\n sectionSuffix: \"changes-and-effective-date\",\n factSuffixes: [\"controller-and-contact\"],\n draftingPurpose:\n \"Explain the release effective date and the approved change-notice channel without predicting whether re-acknowledgement is legally required.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-contact\",\n sectionSuffix: \"contact\",\n factSuffixes: [\"controller-and-contact\", \"rights-and-complaint-route\"],\n draftingPurpose: \"Provide the verified privacy request and complaint contacts for the responsible parties.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-data-and-sources\",\n sectionSuffix: \"data-and-sources\",\n factSuffixes: [\"data-categories-and-sources\"],\n draftingPurpose: \"Describe collected and derived personal-data categories and their actual sources in audience-readable language.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-identity-and-role\",\n sectionSuffix: \"identity-and-role\",\n factSuffixes: [\"controller-and-contact\"],\n draftingPurpose: \"Identify the responsible operator and distinguish controller, joint-controller and processor roles where applicable.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-purposes-and-bases\",\n sectionSuffix: \"purposes-and-bases\",\n factSuffixes: [\"lawful-bases\", \"processing-purposes\"],\n draftingPurpose: \"Associate each verified processing purpose with its qualified-review-approved legal basis and any necessary limitations.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-recipients-and-transfers\",\n sectionSuffix: \"recipients-and-transfers\",\n factSuffixes: [\"international-transfers\", \"recipients-and-processors\"],\n draftingPurpose: \"Describe recipient categories and international transfers, including the reviewed safeguard or an explicit not-applicable resolution.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-retention\",\n sectionSuffix: \"retention\",\n factSuffixes: [\"retention-rules\"],\n draftingPurpose: \"State verified retention periods or criteria and avoid claiming deletion behavior that has no operating path.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-rights\",\n sectionSuffix: \"rights\",\n factSuffixes: [\"rights-and-complaint-route\"],\n draftingPurpose: \"Explain applicable rights, request handling and complaint routes as qualified for the declared audience and jurisdictions.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-scope-and-audience\",\n sectionSuffix: \"scope-and-audience\",\n factSuffixes: [\"controller-and-contact\", \"data-categories-and-sources\"],\n draftingPurpose: \"Define the application, audience and governance scope covered by this notice and expose material exclusions.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-security-summary\",\n sectionSuffix: \"security-summary\",\n factSuffixes: [\"data-categories-and-sources\"],\n draftingPurpose:\n \"Provide a bounded security summary without disclosing sensitive implementation detail or claiming operating effectiveness without evidence.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n ].sort((left, right) => compareCanonicalText(left.clauseRef, right.clauseRef));\n\n const sections = [\n createSection({\n suffix: \"scope-and-audience\",\n order: 1,\n draftingPurpose: \"Orient the reader to the covered application and audience.\",\n factSuffixes: [\"controller-and-contact\", \"data-categories-and-sources\"],\n clauseSuffixes: [\"privacy-scope-and-audience\"],\n }),\n createSection({\n suffix: \"identity-and-role\",\n order: 2,\n draftingPurpose: \"Identify responsible parties and roles.\",\n factSuffixes: [\"controller-and-contact\"],\n clauseSuffixes: [\"privacy-identity-and-role\"],\n }),\n createSection({\n suffix: \"data-and-sources\",\n order: 3,\n draftingPurpose: \"Explain personal data and collection sources.\",\n factSuffixes: [\"data-categories-and-sources\"],\n clauseSuffixes: [\"privacy-data-and-sources\"],\n }),\n createSection({\n suffix: \"purposes-and-bases\",\n order: 4,\n draftingPurpose: \"Explain purposes and reviewed bases together.\",\n factSuffixes: [\"lawful-bases\", \"processing-purposes\"],\n clauseSuffixes: [\"privacy-purposes-and-bases\"],\n }),\n createSection({\n suffix: \"recipients-and-transfers\",\n order: 5,\n draftingPurpose: \"Explain disclosures and cross-border transfers.\",\n factSuffixes: [\"international-transfers\", \"recipients-and-processors\"],\n clauseSuffixes: [\"privacy-recipients-and-transfers\"],\n }),\n createSection({\n suffix: \"retention\",\n order: 6,\n draftingPurpose: \"Explain lifecycle and retention criteria.\",\n factSuffixes: [\"retention-rules\"],\n clauseSuffixes: [\"privacy-retention\"],\n }),\n createSection({\n suffix: \"rights\",\n order: 7,\n draftingPurpose: \"Explain rights and usable request routes.\",\n factSuffixes: [\"rights-and-complaint-route\"],\n clauseSuffixes: [\"privacy-rights\"],\n }),\n createSection({\n suffix: \"automated-decisions\",\n order: 8,\n draftingPurpose: \"Resolve automation and profiling disclosures.\",\n factSuffixes: [\"data-categories-and-sources\", \"processing-purposes\"],\n clauseSuffixes: [\"privacy-automated-decisions\"],\n }),\n createSection({\n suffix: \"security-summary\",\n order: 9,\n draftingPurpose: \"Provide a bounded security summary.\",\n factSuffixes: [\"data-categories-and-sources\"],\n clauseSuffixes: [\"privacy-security-summary\"],\n }),\n createSection({\n suffix: \"changes-and-effective-date\",\n order: 10,\n draftingPurpose: \"Explain release timing and change communication.\",\n factSuffixes: [\"controller-and-contact\"],\n clauseSuffixes: [\"privacy-changes-effective-date\"],\n }),\n createSection({\n suffix: \"contact\",\n order: 11,\n draftingPurpose: \"Repeat actionable privacy contacts.\",\n factSuffixes: [\"controller-and-contact\", \"rights-and-complaint-route\"],\n clauseSuffixes: [\"privacy-contact\"],\n }),\n ];\n\n const claimGuards = [\n {\n guardRef: PRIVACY_CLAIM_GUARD_REF,\n guardVersion: 1,\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiredFactRefs: [factRef(\"controller-and-contact\"), factRef(\"lawful-bases\"), factRef(\"processing-purposes\")].sort(compareCanonicalText),\n requiredEvidenceRefs: [],\n requiredAuthorityRefs: [\"review-authority:qualified-privacy-legal\"],\n failureDisposition: AssuranceDocumentClaimGuardFailureDisposition.BLOCK_CANDIDATE,\n reviewerInstruction:\n \"Reject unsupported legal, certification, independence or operating-effectiveness claims; expose unresolved scope or evidence limitations instead.\",\n },\n ];\n\n const reviewChecklists = [\n createChecklist({\n suffix: \"privacy-business\",\n reviewPolicyRef: PRIVACY_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n blueprintRef,\n prompts: [\"Confirm the operator identity, service scope, public contacts and operational commitments are owned and supportable.\"],\n }),\n createChecklist({\n suffix: \"privacy-legal\",\n reviewPolicyRef: PRIVACY_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.LEGAL,\n blueprintRef,\n prompts: [\n \"Confirm jurisdiction applicability, required disclosures, legal-basis statements, rights wording and change duties against current authoritative sources.\",\n ],\n }),\n createChecklist({\n suffix: \"privacy-privacy\",\n reviewPolicyRef: PRIVACY_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.PRIVACY,\n blueprintRef,\n prompts: [\"Trace every material data flow, purpose, recipient, retention rule and request route to accepted application facts and visible gaps.\"],\n }),\n ].sort((left, right) => compareCanonicalText(left.checklistRef, right.checklistRef));\n\n const variantAxes = [\n {\n axisRef: \"document-variant-axis:privacy-collection-source\",\n axisVersion: 1,\n selectionCardinality: AssuranceDocumentVariantSelectionCardinality.ONE_OR_MORE,\n creatorPrompt: \"Select every collection-source form that the resolved data-category/source fact establishes for this notice scope.\",\n options: [\n {\n optionRef: \"document-variant-option:privacy-source-derived\",\n creatorMeaning: \"The notice includes personal data derived or inferred from other information.\",\n supportingFactRefs: [factRef(\"data-categories-and-sources\")],\n },\n {\n optionRef: \"document-variant-option:privacy-source-direct\",\n creatorMeaning: \"The notice includes personal data collected directly from the person.\",\n supportingFactRefs: [factRef(\"data-categories-and-sources\")],\n },\n {\n optionRef: \"document-variant-option:privacy-source-indirect\",\n creatorMeaning: \"The notice includes personal data obtained from another person, organization or public source.\",\n supportingFactRefs: [factRef(\"data-categories-and-sources\")],\n },\n ],\n },\n {\n axisRef: \"document-variant-axis:privacy-processing-role\",\n axisVersion: 1,\n selectionCardinality: AssuranceDocumentVariantSelectionCardinality.EXACTLY_ONE,\n creatorPrompt:\n \"Select the processing-role posture established by the resolved responsible-party fact; use mixed-per-activity when one global role would be false.\",\n options: [\n {\n optionRef: \"document-variant-option:privacy-role-controller\",\n creatorMeaning: \"The responsible party acts as controller for the processing described by this candidate.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n {\n optionRef: \"document-variant-option:privacy-role-joint-controller\",\n creatorMeaning: \"The candidate must attribute a joint-controller arrangement and its allocation of responsibility.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n {\n optionRef: \"document-variant-option:privacy-role-mixed-per-activity\",\n creatorMeaning: \"Processing roles differ by activity and the candidate must not flatten them into one global role.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n {\n optionRef: \"document-variant-option:privacy-role-processor\",\n creatorMeaning: \"The responsible party acts as processor for the processing described by this candidate and attributes the controller.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n ],\n },\n ].sort((left, right) => compareCanonicalText(left.axisRef, right.axisRef));\n\n return sealBlueprint(\n {\n identity: { blueprintRef, blueprintVersion: 1 },\n definition: { definitionRef: DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF, definitionVersion: 1 },\n questions,\n sections,\n clauses,\n claimGuards,\n reviewChecklists,\n variantAxes,\n },\n );\n};\n\nconst createServiceTermsBlueprint = (): AssuranceDocumentBlueprint => {\n const blueprintRef = \"document-blueprint:public-service-terms\";\n const questions = [\n createQuestion({\n suffix: \"account-eligibility\",\n creatorPrompt: \"Define who may create or use an account, required authority and any age or representative-capacity restrictions.\",\n decisionPurpose: \"Prevent generic eligibility language from overriding the approved audience model.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n createQuestion({\n suffix: \"audience-commercial-model\",\n creatorPrompt: \"Select every audience model served under these terms and identify which offer, price and contracting path applies to each.\",\n decisionPurpose: \"Drive consumer-specific clauses only when the application actually offers to consumers.\",\n answerKind: AssuranceDocumentQuestionAnswerKind.SEMANTIC_MULTI_SELECT,\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n semanticOptions: [\n { suffix: \"commercial-audience-business\", creatorMeaning: \"Business customers contract for professional use.\" },\n { suffix: \"commercial-audience-consumer\", creatorMeaning: \"Consumers may contract for personal use.\" },\n { suffix: \"commercial-audience-internal\", creatorMeaning: \"Access is limited to an operator-controlled internal audience.\" },\n ],\n }),\n createQuestion({\n suffix: \"billing-renewal-cancellation\",\n creatorPrompt: \"Describe total price presentation, billing cadence, renewal, cancellation, refund and any consumer withdrawal handling.\",\n decisionPurpose: \"Bind commercial text to the actual offer and cancellation workflow.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"data-exit\",\n creatorPrompt: \"Describe export, deletion and account-closure behavior, including timing and limitations that the application actually supports.\",\n decisionPurpose: \"Avoid promising portability or deletion beyond implemented and reviewed capabilities.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"ai-features-and-content-use\",\n creatorPrompt:\n \"Describe any AI-assisted feature, the role of user content and outputs, provider involvement, human responsibility and whether customer content is used for model improvement; resolve the fact as not applicable when no AI feature reaches the contracted service.\",\n decisionPurpose: \"Include AI-specific terms only when the accepted application specification proves that AI participates in the contracted service.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n allowsNotApplicable: true,\n }),\n createQuestion({\n suffix: \"dispute-and-governing-law\",\n creatorPrompt: \"Record the qualified-review-approved governing law, dispute route, mandatory consumer forum limits and complaint channels.\",\n decisionPurpose: \"Keep jurisdiction decisions outside templates and model inference.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n createQuestion({\n suffix: \"liability-position\",\n creatorPrompt: \"Record the approved warranty, responsibility, remedy and liability position for each audience, including non-excludable rights.\",\n decisionPurpose: \"Require qualified approval for risk allocation instead of generating a generic limitation.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n createQuestion({\n suffix: \"operator-legal-identity\",\n creatorPrompt: \"Provide the contracting entity's registered identity, address, contact details and any required registration or tax identifiers.\",\n decisionPurpose: \"Attribute the terms to the real application operator.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"service-scope\",\n creatorPrompt: \"Describe the service, material functionality, technical or interoperability constraints and support commitments included in the offer.\",\n decisionPurpose: \"Bound the contract to the actual product and approved commitments.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"service-level-commitments\",\n creatorPrompt:\n \"Record any approved availability, support, response, maintenance or service-credit commitment; resolve the fact as not applicable when the offer makes no service-level commitment.\",\n decisionPurpose: \"Prevent operational aspirations or monitoring targets from becoming contractual service levels without qualified approval.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n allowsNotApplicable: true,\n }),\n createQuestion({\n suffix: \"third-party-service-dependencies\",\n creatorPrompt:\n \"Describe material third-party services or platform dependencies that affect contracted functionality, customer obligations or incorporated provider terms; resolve the fact as not applicable when none affect the offer.\",\n decisionPurpose: \"Include third-party dependency terms only from the accepted application implementation and offer, never from a generic provider list.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n allowsNotApplicable: true,\n }),\n ].sort((left, right) => compareCanonicalText(left.questionRef, right.questionRef));\n\n const consumerCondition = [\n {\n conditionGroupRef: \"document-condition-group:consumer-audience\",\n conditions: [\n {\n operator: AssuranceDocumentConditionOperator.FACT_CONTAINS_SEMANTIC_OPTION,\n factRef: factRef(\"audience-commercial-model\"),\n semanticOptionRef: \"document-option:commercial-audience-consumer\",\n },\n ],\n },\n ];\n const includeWhenFactIsKnown = (suffix: string) => [\n {\n conditionGroupRef: `document-condition-group:${suffix}`,\n conditions: [{ operator: AssuranceDocumentConditionOperator.FACT_KNOWN, factRef: factRef(suffix) }],\n },\n ];\n const clauses = [\n createClause({\n clauseSuffix: \"terms-account-duties\",\n sectionSuffix: \"account-duties\",\n factSuffixes: [\"account-eligibility\", \"service-scope\"],\n draftingPurpose: \"Describe account security, authorized use and user responsibilities without transferring operator duties that remain non-delegable.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-ai-features-and-content-use\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"ai-features-and-content-use\"],\n draftingPurpose:\n \"State only the verified AI feature boundary, user-content and output responsibilities, provider involvement and approved model-improvement posture.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: includeWhenFactIsKnown(\"ai-features-and-content-use\"),\n }),\n createClause({\n clauseSuffix: \"terms-billing\",\n sectionSuffix: \"billing\",\n factSuffixes: [\"audience-commercial-model\", \"billing-renewal-cancellation\"],\n draftingPurpose: \"State price, billing, renewal and cancellation mechanics for the verified offer.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-changes\",\n sectionSuffix: \"changes\",\n factSuffixes: [\"audience-commercial-model\", \"service-scope\"],\n draftingPurpose: \"Describe the approved change-notice and effective-date mechanism without assuming unilateral-change rights.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-consumer-precontract\",\n sectionSuffix: \"eligibility\",\n factSuffixes: [\"account-eligibility\", \"audience-commercial-model\", \"billing-renewal-cancellation\", \"operator-legal-identity\", \"service-scope\"],\n draftingPurpose:\n \"When consumers are in scope, surface the reviewed pre-contract identity, offer, price, cancellation and mandatory-rights information through the applicable contracting flow.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: consumerCondition,\n }),\n createClause({\n clauseSuffix: \"terms-data-exit\",\n sectionSuffix: \"data-exit\",\n factSuffixes: [\"data-exit\"],\n draftingPurpose: \"State supported export, deletion and closure outcomes together with honest limitations and separate privacy-rights routes.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-disputes\",\n sectionSuffix: \"disputes\",\n factSuffixes: [\"audience-commercial-model\", \"dispute-and-governing-law\"],\n draftingPurpose: \"State qualified-review-approved governing law and dispute routes while preserving mandatory consumer forums and remedies.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-eligibility\",\n sectionSuffix: \"eligibility\",\n factSuffixes: [\"account-eligibility\", \"audience-commercial-model\"],\n draftingPurpose: \"Describe eligible users, authority to contract and audience boundaries.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-intellectual-property\",\n sectionSuffix: \"intellectual-property\",\n factSuffixes: [\"service-scope\"],\n draftingPurpose: \"Distinguish service, operator, customer and user-content rights according to the approved product model.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-liability\",\n sectionSuffix: \"liability\",\n factSuffixes: [\"audience-commercial-model\", \"liability-position\"],\n draftingPurpose: \"Render only the reviewed warranty, remedy and liability allocation, including mandatory non-excludable rights.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-operator-identity\",\n sectionSuffix: \"operator-identity\",\n factSuffixes: [\"operator-legal-identity\"],\n draftingPurpose: \"Identify the actual contracting entity and required contact or registration information.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-service-scope\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"service-scope\"],\n draftingPurpose: \"Describe the product, material functionality, constraints and included support without converting roadmap intent into a promise.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-service-level-commitments\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"service-level-commitments\"],\n draftingPurpose: \"State only qualified-review-approved service levels, exclusions, support response commitments and remedies that the offer can operate.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: includeWhenFactIsKnown(\"service-level-commitments\"),\n }),\n createClause({\n clauseSuffix: \"terms-third-party-service-dependencies\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"third-party-service-dependencies\"],\n draftingPurpose:\n \"Identify only material verified third-party dependencies and any approved incorporated obligations without making the provider a contracting party by implication.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: includeWhenFactIsKnown(\"third-party-service-dependencies\"),\n }),\n createClause({\n clauseSuffix: \"terms-suspension-termination\",\n sectionSuffix: \"suspension-and-termination\",\n factSuffixes: [\"account-eligibility\", \"data-exit\", \"service-scope\"],\n draftingPurpose: \"State approved suspension, termination, notice and post-termination data outcomes with due-process and mandatory-rights limits.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n ].sort((left, right) => compareCanonicalText(left.clauseRef, right.clauseRef));\n\n const sections = [\n createSection({\n suffix: \"operator-identity\",\n order: 1,\n draftingPurpose: \"Identify the contracting operator.\",\n factSuffixes: [\"operator-legal-identity\"],\n clauseSuffixes: [\"terms-operator-identity\"],\n }),\n createSection({\n suffix: \"service-scope\",\n order: 2,\n draftingPurpose: \"Define the contracted service.\",\n factSuffixes: [\"ai-features-and-content-use\", \"service-level-commitments\", \"service-scope\", \"third-party-service-dependencies\"],\n clauseSuffixes: [\"terms-ai-features-and-content-use\", \"terms-service-level-commitments\", \"terms-service-scope\", \"terms-third-party-service-dependencies\"],\n }),\n createSection({\n suffix: \"eligibility\",\n order: 3,\n draftingPurpose: \"Define audience, eligibility and conditional consumer information.\",\n factSuffixes: [\"account-eligibility\", \"audience-commercial-model\", \"billing-renewal-cancellation\", \"operator-legal-identity\", \"service-scope\"],\n clauseSuffixes: [\"terms-eligibility\", \"terms-consumer-precontract\"],\n }),\n createSection({\n suffix: \"account-duties\",\n order: 4,\n draftingPurpose: \"Explain account responsibilities.\",\n factSuffixes: [\"account-eligibility\", \"service-scope\"],\n clauseSuffixes: [\"terms-account-duties\"],\n }),\n createSection({\n suffix: \"billing\",\n order: 5,\n draftingPurpose: \"Explain price and subscription mechanics.\",\n factSuffixes: [\"audience-commercial-model\", \"billing-renewal-cancellation\"],\n clauseSuffixes: [\"terms-billing\"],\n }),\n createSection({\n suffix: \"intellectual-property\",\n order: 6,\n draftingPurpose: \"Explain approved rights in service and content.\",\n factSuffixes: [\"service-scope\"],\n clauseSuffixes: [\"terms-intellectual-property\"],\n }),\n createSection({\n suffix: \"suspension-and-termination\",\n order: 7,\n draftingPurpose: \"Explain suspension, termination and consequences.\",\n factSuffixes: [\"account-eligibility\", \"data-exit\", \"service-scope\"],\n clauseSuffixes: [\"terms-suspension-termination\"],\n }),\n createSection({\n suffix: \"data-exit\",\n order: 8,\n draftingPurpose: \"Explain data access and closure outcomes.\",\n factSuffixes: [\"data-exit\"],\n clauseSuffixes: [\"terms-data-exit\"],\n }),\n createSection({\n suffix: \"liability\",\n order: 9,\n draftingPurpose: \"Present the reviewed risk allocation.\",\n factSuffixes: [\"audience-commercial-model\", \"liability-position\"],\n clauseSuffixes: [\"terms-liability\"],\n }),\n createSection({\n suffix: \"disputes\",\n order: 10,\n draftingPurpose: \"Present reviewed law and dispute routes.\",\n factSuffixes: [\"audience-commercial-model\", \"dispute-and-governing-law\"],\n clauseSuffixes: [\"terms-disputes\"],\n }),\n createSection({\n suffix: \"changes\",\n order: 11,\n draftingPurpose: \"Explain approved contract-change mechanics.\",\n factSuffixes: [\"audience-commercial-model\", \"service-scope\"],\n clauseSuffixes: [\"terms-changes\"],\n }),\n ];\n\n const claimGuards = [\n {\n guardRef: TERMS_CLAIM_GUARD_REF,\n guardVersion: 1,\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiredFactRefs: [\n factRef(\"audience-commercial-model\"),\n factRef(\"dispute-and-governing-law\"),\n factRef(\"liability-position\"),\n factRef(\"operator-legal-identity\"),\n ].sort(compareCanonicalText),\n requiredEvidenceRefs: [],\n requiredAuthorityRefs: [\"review-authority:qualified-contract-legal\"],\n failureDisposition: AssuranceDocumentClaimGuardFailureDisposition.BLOCK_CANDIDATE,\n reviewerInstruction:\n \"Reject unsupported legal, consumer-rights, certification or operating-effectiveness claims and any term that exceeds the approved offer or application behavior.\",\n },\n ];\n\n const reviewChecklists = [\n createChecklist({\n suffix: \"terms-business\",\n reviewPolicyRef: TERMS_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n blueprintRef,\n prompts: [\n \"Confirm the operator, offer, audience, commercial mechanics, third-party dependencies, AI boundary, service commitments and lifecycle behavior are accurate and operationally supportable.\",\n ],\n }),\n createChecklist({\n suffix: \"terms-legal\",\n reviewPolicyRef: TERMS_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.LEGAL,\n blueprintRef,\n prompts: [\n \"Confirm applicability, pre-contract disclosures, AI/content and third-party terms, service-level commitments, mandatory rights, liability, termination, change and dispute terms against current authoritative sources for every declared audience.\",\n ],\n }),\n ].sort((left, right) => compareCanonicalText(left.checklistRef, right.checklistRef));\n\n return sealBlueprint(\n {\n identity: { blueprintRef, blueprintVersion: 2 },\n definition: { definitionRef: DOCUMENT_DEFINITION_SERVICE_TERMS_REF, definitionVersion: 2 },\n questions,\n sections,\n clauses,\n claimGuards,\n reviewChecklists,\n variantAxes: [],\n },\n );\n};\n\n/**\n * Build the engine-owned document authority catalog from the exact source registry accepted into the same basis.\n *\n * The catalog contains source monitoring, review and claim policy plus definition metadata. It intentionally carries no\n * application facts, generated clauses, approval decisions or publication state.\n */\nexport function createInitialAssuranceDocumentAuthorityCatalog(): AssuranceDocumentAuthorityCatalog {\n const coreInternalDefinitions = CORE_INTERNAL_GOVERNANCE_BLUEPRINT_CONFIGS.map(createCoreInternalGovernanceDefinition);\n const blueprints = [\n ...CORE_INTERNAL_GOVERNANCE_BLUEPRINT_CONFIGS.map((config) => createCoreInternalGovernanceBlueprint(config)),\n createPrivacyNoticeBlueprint(),\n createServiceTermsBlueprint(),\n ].sort((left, right) => compareCanonicalText(left.identity.blueprintRef, right.identity.blueprintRef));\n return AssuranceDocumentAuthorityCatalogSchema.parse({\n schemaVersion: 2,\n catalogRef: \"document-authority-catalog:wildo-safe-baseline-v1\",\n catalogVersion: 5,\n verifiedAt: VERIFIED_AT,\n sourceMonitoringPolicies: INITIAL_ASSURANCE_SOURCE_REGISTRY.sources.map((source) => ({\n policyRef: `document-source-monitoring:${source.identity.sourceRef.slice(\"source:\".length)}`,\n policyVersion: 1,\n source: source.identity,\n sourceRole: sourceRoleFor(source.authorityKind, source.identity.sourceRef),\n canonicalLocator: source.canonicalLocator,\n expectedLifecycleStatus: source.lifecycleStatus,\n checkedByRef: \"reviewer:wildo-document-source-monitor\",\n lastCheckedAt: VERIFIED_AT,\n nextCheckOn: NEXT_CHECK_ON,\n monitoringStatus: AssuranceDocumentSourceMonitoringStatus.CURRENT,\n updateChannelRefs: [\"source-update-channel:official-canonical-origin\"],\n dependentDefinitionRefs: dependentDefinitionRefsFor(source.identity.sourceRef),\n requiredSourceUses: [AssuranceSourceUse.STORE_METADATA],\n })),\n qualifiedReviewPolicies: [\n {\n policyRef: INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.GOVERNANCE_POLICY],\n audienceKinds: [GovernedDocumentAudienceKind.QUALIFIED_REVIEWER, GovernedDocumentAudienceKind.WORKFORCE],\n jurisdictionRefs: [],\n reviewRequirements: [\n {\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n reviewerQualificationRefs: [\"reviewer-qualification:accountable-executive\"],\n },\n ],\n soleAuthorMayApprove: false,\n },\n {\n policyRef: INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.GOVERNANCE_POLICY],\n audienceKinds: [GovernedDocumentAudienceKind.QUALIFIED_REVIEWER, GovernedDocumentAudienceKind.WORKFORCE],\n jurisdictionRefs: [],\n reviewRequirements: [\n {\n reviewKind: GovernedDocumentReviewKind.CONTENT,\n reviewerQualificationRefs: [\"reviewer-qualification:document-owner\"],\n },\n ],\n soleAuthorMayApprove: false,\n },\n {\n policyRef: PRIVACY_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.PUBLIC_NOTICE],\n audienceKinds: [GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n jurisdictionRefs: [],\n reviewRequirements: [\n { reviewKind: GovernedDocumentReviewKind.BUSINESS, reviewerQualificationRefs: [\"reviewer-qualification:business-owner\"] },\n { reviewKind: GovernedDocumentReviewKind.LEGAL, reviewerQualificationRefs: [\"reviewer-qualification:privacy-legal\"] },\n { reviewKind: GovernedDocumentReviewKind.PRIVACY, reviewerQualificationRefs: [\"reviewer-qualification:privacy-legal\"] },\n ],\n soleAuthorMayApprove: false,\n },\n {\n policyRef: TERMS_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.CONTRACTUAL_TERMS],\n audienceKinds: [GovernedDocumentAudienceKind.BUSINESS_CUSTOMER, GovernedDocumentAudienceKind.CONSUMER, GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n jurisdictionRefs: [],\n reviewRequirements: [\n { reviewKind: GovernedDocumentReviewKind.BUSINESS, reviewerQualificationRefs: [\"reviewer-qualification:business-owner\"] },\n { reviewKind: GovernedDocumentReviewKind.LEGAL, reviewerQualificationRefs: [\"reviewer-qualification:contract-legal\"] },\n ],\n soleAuthorMayApprove: false,\n },\n ].sort((left, right) => compareCanonicalText(left.policyRef, right.policyRef)),\n claimPolicies: [\n {\n policyRef: INTERNAL_GOVERNANCE_CLAIM_POLICY_REF,\n policyVersion: 1,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiresExplicitAuthorityForPositiveAssuranceClaim: true,\n requiresEvidenceScopeAndPeriodForOperatingClaim: true,\n },\n {\n policyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n policyVersion: 1,\n prohibitedClaims: [\n AssuranceDocumentClaimProhibition.CERTIFICATION_WITHOUT_AUTHORITY,\n AssuranceDocumentClaimProhibition.LEGAL_ADVICE_OR_LEGAL_CONCLUSION,\n AssuranceDocumentClaimProhibition.NIST_AS_LEGAL_EQUIVALENCE,\n AssuranceDocumentClaimProhibition.OPERATING_EFFECTIVENESS_WITHOUT_EVIDENCE,\n AssuranceDocumentClaimProhibition.SELF_ATTESTATION_AS_INDEPENDENT_ASSURANCE,\n AssuranceDocumentClaimProhibition.UNSCOPED_COMPLIANCE_CLAIM,\n ],\n requiresExplicitAuthorityForPositiveAssuranceClaim: true,\n requiresEvidenceScopeAndPeriodForOperatingClaim: true,\n },\n ].sort((left, right) => compareCanonicalText(left.policyRef, right.policyRef)),\n definitions: [\n ...coreInternalDefinitions,\n {\n identity: { definitionRef: DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF, definitionVersion: 1 },\n stableKindRef: \"document-kind:privacy-notice\",\n documentClass: GovernedDocumentClass.PUBLIC_NOTICE,\n applicabilityKind: AssuranceDocumentCatalogApplicabilityKind.CORE,\n governanceSubjectKinds: [\n GovernedDocumentGovernanceSubjectKind.APPLICATION_OPERATOR,\n GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY,\n GovernedDocumentGovernanceSubjectKind.TENANT_ORGANIZATION,\n ],\n audienceKinds: [GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n requiredFactRefs: [\n \"document-fact:controller-and-contact\",\n \"document-fact:data-categories-and-sources\",\n \"document-fact:international-transfers\",\n \"document-fact:lawful-bases\",\n \"document-fact:processing-purposes\",\n \"document-fact:recipients-and-processors\",\n \"document-fact:retention-rules\",\n \"document-fact:rights-and-complaint-route\",\n ],\n requiredSectionRefs: [\n \"document-section:automated-decisions\",\n \"document-section:changes-and-effective-date\",\n \"document-section:contact\",\n \"document-section:data-and-sources\",\n \"document-section:identity-and-role\",\n \"document-section:purposes-and-bases\",\n \"document-section:recipients-and-transfers\",\n \"document-section:retention\",\n \"document-section:rights\",\n \"document-section:scope-and-audience\",\n \"document-section:security-summary\",\n ],\n qualifiedReviewPolicyRefs: [PRIVACY_REVIEW_POLICY_REF],\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n publicationChannelKinds: [GovernedDocumentPublicationChannelKind.DURABLE_DOWNLOAD, GovernedDocumentPublicationChannelKind.PUBLIC_WEB],\n allowedInteractionKinds: [GovernedDocumentInteractionKind.NOTICE_ACKNOWLEDGED, GovernedDocumentInteractionKind.NOTICE_DELIVERED],\n retentionPolicyRef: \"retention-policy:governed-public-documents\",\n reviewTriggerRefs: [\n \"document-review-trigger:audience-or-jurisdiction-change\",\n \"document-review-trigger:processing-or-provider-change\",\n \"document-review-trigger:source-change\",\n ],\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n },\n {\n identity: { definitionRef: DOCUMENT_DEFINITION_SERVICE_TERMS_REF, definitionVersion: 2 },\n stableKindRef: \"document-kind:service-terms\",\n documentClass: GovernedDocumentClass.CONTRACTUAL_TERMS,\n applicabilityKind: AssuranceDocumentCatalogApplicabilityKind.CORE,\n governanceSubjectKinds: [GovernedDocumentGovernanceSubjectKind.APPLICATION_OPERATOR],\n audienceKinds: [GovernedDocumentAudienceKind.BUSINESS_CUSTOMER, GovernedDocumentAudienceKind.CONSUMER, GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n requiredFactRefs: [\n \"document-fact:account-eligibility\",\n \"document-fact:ai-features-and-content-use\",\n \"document-fact:audience-commercial-model\",\n \"document-fact:billing-renewal-cancellation\",\n \"document-fact:data-exit\",\n \"document-fact:dispute-and-governing-law\",\n \"document-fact:liability-position\",\n \"document-fact:operator-legal-identity\",\n \"document-fact:service-level-commitments\",\n \"document-fact:service-scope\",\n \"document-fact:third-party-service-dependencies\",\n ],\n requiredSectionRefs: [\n \"document-section:account-duties\",\n \"document-section:billing\",\n \"document-section:changes\",\n \"document-section:data-exit\",\n \"document-section:disputes\",\n \"document-section:eligibility\",\n \"document-section:intellectual-property\",\n \"document-section:liability\",\n \"document-section:operator-identity\",\n \"document-section:service-scope\",\n \"document-section:suspension-and-termination\",\n ],\n qualifiedReviewPolicyRefs: [TERMS_REVIEW_POLICY_REF],\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n publicationChannelKinds: [\n GovernedDocumentPublicationChannelKind.DIRECT_DELIVERY,\n GovernedDocumentPublicationChannelKind.DURABLE_DOWNLOAD,\n GovernedDocumentPublicationChannelKind.PUBLIC_WEB,\n ],\n allowedInteractionKinds: [GovernedDocumentInteractionKind.CONTRACT_ACCEPTED],\n retentionPolicyRef: \"retention-policy:governed-contract-releases\",\n reviewTriggerRefs: [\n \"document-review-trigger:audience-or-jurisdiction-change\",\n \"document-review-trigger:commercial-or-service-change\",\n \"document-review-trigger:source-change\",\n ],\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n },\n ].sort((left, right) => compareCanonicalText(left.identity.definitionRef, right.identity.definitionRef)),\n blueprints,\n });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"assurance-document-system.definitions.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-document-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACrB,qCAAqC,EACrC,+BAA+B,EAC/B,sCAAsC,EACtC,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,uCAAuC,EACvC,gCAAgC,EAChC,yCAAyC,EACzC,6CAA6C,EAC7C,iCAAiC,EACjC,oCAAoC,EACpC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACnC,2CAA2C,EAC3C,uCAAuC,EACvC,2BAA2B,EAC3B,4CAA4C,GAG7C,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAE/F;;;;;;;;;;;;;GAaG;AACH,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AACvD,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAC1D,MAAM,aAAa,GAAG,YAAY,CAAC;AAEnC,MAAM,sCAAsC,GAAG,2CAA2C,CAAC;AAC3F,MAAM,qCAAqC,GAAG,0CAA0C,CAAC;AACzF,MAAM,+CAA+C,GAAG,wDAAwD,CAAC;AACjH,MAAM,wCAAwC,GAAG,iDAAiD,CAAC;AACnG,MAAM,8CAA8C,GAAG,uDAAuD,CAAC;AAC/G,MAAM,gDAAgD,GAAG,yDAAyD,CAAC;AACnH,MAAM,wCAAwC,GAAG;IAC/C,+CAA+C;IAC/C,wCAAwC;IACxC,8CAA8C;IAC9C,gDAAgD;CACjD,CAAC;AACF,MAAM,gCAAgC,GAAG,4CAA4C,CAAC;AACtF,MAAM,oCAAoC,GAAG,yDAAyD,CAAC;AACvG,MAAM,yBAAyB,GAAG,8CAA8C,CAAC;AACjF,MAAM,uBAAuB,GAAG,6CAA6C,CAAC;AAC9E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,CAAC;gBACnJ,gBAAgB,EAAE;oBAChB,mCAAmC;oBACnC,2CAA2C;oBAC3C,yCAAyC;oBACzC,4CAA4C;oBAC5C,yBAAyB;oBACzB,yCAAyC;oBACzC,kCAAkC;oBAClC,uCAAuC;oBACvC,yCAAyC;oBACzC,6BAA6B;oBAC7B,gDAAgD;iBACjD;gBACD,mBAAmB,EAAE;oBACnB,iCAAiC;oBACjC,0BAA0B;oBAC1B,0BAA0B;oBAC1B,4BAA4B;oBAC5B,2BAA2B;oBAC3B,8BAA8B;oBAC9B,wCAAwC;oBACxC,4BAA4B;oBAC5B,oCAAoC;oBACpC,gCAAgC;oBAChC,6CAA6C;iBAC9C;gBACD,yBAAyB,EAAE,CAAC,uBAAuB,CAAC;gBACpD,gBAAgB,EAAE,wBAAwB;gBAC1C,uBAAuB,EAAE;oBACvB,sCAAsC,CAAC,eAAe;oBACtD,sCAAsC,CAAC,gBAAgB;oBACvD,sCAAsC,CAAC,UAAU;iBAClD;gBACD,uBAAuB,EAAE,CAAC,+BAA+B,CAAC,iBAAiB,CAAC;gBAC5E,kBAAkB,EAAE,6CAA6C;gBACjE,iBAAiB,EAAE;oBACjB,yDAAyD;oBACzD,sDAAsD;oBACtD,uCAAuC;iBACxC;gBACD,cAAc,EAAE,gCAAgC;aACjD;SACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QACxG,UAAU;KACX,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n GovernedDocumentAudienceKind,\n GovernedDocumentClass,\n GovernedDocumentGovernanceSubjectKind,\n GovernedDocumentInteractionKind,\n GovernedDocumentPublicationChannelKind,\n GovernedDocumentReviewKind,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n AssuranceDocumentAuthorityCatalogSchema,\n AssuranceDocumentBlueprintSchema,\n AssuranceDocumentCatalogApplicabilityKind,\n AssuranceDocumentClaimGuardFailureDisposition,\n AssuranceDocumentClaimProhibition,\n AssuranceDocumentClauseInclusionKind,\n AssuranceDocumentConditionOperator,\n AssuranceDocumentFactAuthorityKind,\n AssuranceDocumentQuestionAnswerKind,\n AssuranceDocumentReviewChecklistSubjectKind,\n AssuranceDocumentSourceMonitoringStatus,\n AssuranceDocumentSourceRole,\n AssuranceDocumentVariantSelectionCardinality,\n type AssuranceDocumentAuthorityCatalog,\n type AssuranceDocumentBlueprint,\n} from \"./assurance-document-system.schemas\";\nimport { INITIAL_ASSURANCE_SOURCE_REGISTRY } from \"./assurance-source-registry.definitions\";\nimport { AssuranceSourceAuthorityKind, AssuranceSourceUse } from \"./assurance-sources.schemas\";\n\n/*\n * TWO instants, split 2026-09-01, because they assert different things and only one of them can be re-stated without visiting the internet.\n *\n * `CATALOG_VERIFIED_AT` is when the catalog was last confirmed COHERENT with the registry it cites — every monitoring policy matching its source's current locator and\n * lifecycle, rights authorized, nothing overdue. `collectAssuranceDocumentAuthorityCatalogIssues` computes exactly that, so advancing this is a checked claim rather\n * than an asserted one, and it must only ever be advanced together with a passing run of that function.\n *\n * `SOURCE_LAST_CHECKED_AT` is when somebody last looked at the SOURCE itself for a new edition. That cannot be established from inside this repository, so it does not\n * move when the catalog is re-verified. It stayed at 2026-08-08 while the catalog advanced, and the coherence rule tolerates exactly that: `lastCheckedAt` must be no\n * later than the evaluation, and `nextCheckOn` (2026-11-08) must not have passed.\n *\n * They were one constant until the 2026-09-01 mapping tranche needed the basis re-evaluated. Collapsing them again would make re-verifying the catalog silently claim\n * the upstream sources were re-read.\n */\nconst CATALOG_VERIFIED_AT = \"2026-09-01T00:00:00.000Z\";\nconst SOURCE_LAST_CHECKED_AT = \"2026-08-08T17:00:00.000Z\";\nconst NEXT_CHECK_ON = \"2026-11-08\";\n\nconst DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF = \"document-definition:public.privacy-notice\";\nconst DOCUMENT_DEFINITION_SERVICE_TERMS_REF = \"document-definition:public.service-terms\";\nconst DOCUMENT_DEFINITION_DOCUMENT_RECORD_CONTROL_REF = \"document-definition:governance.document-record-control\";\nconst DOCUMENT_DEFINITION_PROGRAM_HANDBOOK_REF = \"document-definition:governance.program-handbook\";\nconst DOCUMENT_DEFINITION_ROLES_RESPONSIBILITIES_REF = \"document-definition:governance.roles-responsibilities\";\nconst DOCUMENT_DEFINITION_SCOPE_SYSTEM_DESCRIPTION_REF = \"document-definition:governance.scope-system-description\";\nconst CORE_INTERNAL_GOVERNANCE_DEFINITION_REFS = [\n DOCUMENT_DEFINITION_DOCUMENT_RECORD_CONTROL_REF,\n DOCUMENT_DEFINITION_PROGRAM_HANDBOOK_REF,\n DOCUMENT_DEFINITION_ROLES_RESPONSIBILITIES_REF,\n DOCUMENT_DEFINITION_SCOPE_SYSTEM_DESCRIPTION_REF,\n];\nconst PUBLIC_DOCUMENT_CLAIM_POLICY_REF = \"document-claim-policy:public-safe-baseline\";\nconst INTERNAL_GOVERNANCE_CLAIM_POLICY_REF = \"document-claim-policy:internal-governance-safe-baseline\";\nconst PRIVACY_REVIEW_POLICY_REF = \"document-review-policy:public-privacy-notice\";\nconst TERMS_REVIEW_POLICY_REF = \"document-review-policy:public-service-terms\";\nconst INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF = \"document-review-policy:internal-governance-business\";\nconst INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF = \"document-review-policy:internal-governance-content\";\nconst PRIVACY_SOURCE_POLICY_REFS = [\"document-source-monitoring:ec-protecting-data-and-privacy\", \"document-source-monitoring:eu-gdpr-2016-679\"];\nconst TERMS_SOURCE_POLICY_REFS = [\"document-source-monitoring:eu-consumer-contract-information\"];\nconst INTERNAL_GOVERNANCE_SOURCE_POLICY_REFS = [\n \"document-source-monitoring:nist-csf-2.0\",\n \"document-source-monitoring:nist-sp-800-53-rev-5-release-5.2.0\",\n];\nconst PRIVACY_CLAIM_GUARD_REF = \"document-claim-guard:public-privacy-notice\";\nconst TERMS_CLAIM_GUARD_REF = \"document-claim-guard:public-service-terms\";\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\n\nconst sourceRoleFor = (authorityKind: AssuranceSourceAuthorityKind, sourceRef: string): AssuranceDocumentSourceRole => {\n if (sourceRef === \"source:nist-oscal-1.2.2\") return AssuranceDocumentSourceRole.TECHNICAL_EXCHANGE_FORMAT;\n if (authorityKind === AssuranceSourceAuthorityKind.LAW_OR_REGULATION) return AssuranceDocumentSourceRole.NORMATIVE_LEGAL_TEXT;\n if (authorityKind === AssuranceSourceAuthorityKind.GOVERNMENT_GUIDANCE) return AssuranceDocumentSourceRole.OFFICIAL_GUIDANCE;\n return AssuranceDocumentSourceRole.VOLUNTARY_FRAMEWORK;\n};\n\nconst dependentDefinitionRefsFor = (sourceRef: string): string[] => {\n if (sourceRef === \"source:ec-protecting-data-and-privacy\" || sourceRef === \"source:eu-gdpr-2016-679\") {\n return [DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF];\n }\n if (sourceRef === \"source:eu-consumer-contract-information\") return [DOCUMENT_DEFINITION_SERVICE_TERMS_REF];\n if (sourceRef === \"source:nist-csf-2.0\" || sourceRef === \"source:nist-sp-800-53-rev-5-release-5.2.0\") {\n return CORE_INTERNAL_GOVERNANCE_DEFINITION_REFS;\n }\n return [];\n};\n\nconst factRef = (suffix: string): string => `document-fact:${suffix}`;\nconst sectionRef = (suffix: string): string => `document-section:${suffix}`;\n\nconst createQuestion = (input: {\n readonly suffix: string;\n readonly creatorPrompt: string;\n readonly decisionPurpose: string;\n readonly answerKind?: AssuranceDocumentQuestionAnswerKind;\n readonly factAuthorityKind?: AssuranceDocumentFactAuthorityKind;\n readonly allowsNotApplicable?: boolean;\n readonly semanticOptions?: readonly { readonly suffix: string; readonly creatorMeaning: string }[];\n}) => ({\n questionRef: `document-question:${input.suffix}`,\n questionVersion: 1,\n factRef: factRef(input.suffix),\n creatorPrompt: input.creatorPrompt,\n decisionPurpose: input.decisionPurpose,\n answerKind: input.answerKind ?? AssuranceDocumentQuestionAnswerKind.TEXT,\n factAuthorityKind: input.factAuthorityKind ?? AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n sensitivityRef: \"sensitivity:internal-governance\",\n allowsNotApplicable: input.allowsNotApplicable ?? false,\n semanticOptions: (input.semanticOptions ?? []).map((option) => ({\n optionRef: `document-option:${option.suffix}`,\n creatorMeaning: option.creatorMeaning,\n })),\n});\n\nconst createClause = (input: {\n readonly clauseSuffix: string;\n readonly sectionSuffix: string;\n readonly factSuffixes: readonly string[];\n readonly draftingPurpose: string;\n readonly sourcePolicyRefs: readonly string[];\n readonly claimGuardRef: string;\n readonly inclusionKind?: AssuranceDocumentClauseInclusionKind;\n readonly conditionGroups?: readonly {\n readonly conditionGroupRef: string;\n readonly conditions: readonly Record<string, string>[];\n }[];\n}) => ({\n clauseRef: `document-clause:${input.clauseSuffix}`,\n clauseVersion: 1,\n sectionRef: sectionRef(input.sectionSuffix),\n inclusionKind: input.inclusionKind ?? AssuranceDocumentClauseInclusionKind.REQUIRED,\n draftingPurpose: input.draftingPurpose,\n requiredFactRefs: input.factSuffixes.map(factRef).sort(compareCanonicalText),\n variables: input.factSuffixes\n .map((suffix) => ({ variableRef: `document-variable:${suffix}`, factRef: factRef(suffix) }))\n .sort((left, right) => compareCanonicalText(left.variableRef, right.variableRef)),\n sourcePolicyRefs: [...input.sourcePolicyRefs].sort(compareCanonicalText),\n claimGuardRefs: [input.claimGuardRef],\n conditionGroups: input.conditionGroups ?? [],\n});\n\nconst createSection = (input: {\n readonly suffix: string;\n readonly order: number;\n readonly draftingPurpose: string;\n readonly factSuffixes: readonly string[];\n readonly clauseSuffixes: readonly string[];\n}) => ({\n sectionRef: sectionRef(input.suffix),\n sectionVersion: 1,\n order: input.order,\n draftingPurpose: input.draftingPurpose,\n requiredFactRefs: input.factSuffixes.map(factRef),\n clauseRefs: input.clauseSuffixes.map((suffix) => `document-clause:${suffix}`),\n});\n\nconst createChecklist = (input: {\n readonly suffix: string;\n readonly reviewPolicyRef: string;\n readonly reviewKind: GovernedDocumentReviewKind;\n readonly blueprintRef: string;\n readonly prompts: readonly string[];\n}) => ({\n checklistRef: `document-review-checklist:${input.suffix}`,\n checklistVersion: 1,\n reviewPolicyRef: input.reviewPolicyRef,\n reviewKind: input.reviewKind,\n items: input.prompts.map((reviewPrompt, index) => ({\n itemRef: `document-review-item:${input.suffix}-${String(index + 1).padStart(2, \"0\")}`,\n order: index + 1,\n subjectKind: AssuranceDocumentReviewChecklistSubjectKind.BLUEPRINT,\n subjectRef: input.blueprintRef,\n reviewPrompt,\n blocksApproval: true,\n })),\n});\n\n/** Parse one authored blueprint. (It stamped a self-digest until 2026-08-27; identity is `blueprintRef@blueprintVersion`.) */\nconst sealBlueprint = (blueprint: Record<string, unknown>): AssuranceDocumentBlueprint => AssuranceDocumentBlueprintSchema.parse(blueprint);\n\ntype CoreInternalGovernanceBlueprintConfig = {\n readonly definitionRef: string;\n readonly stableKindRef: string;\n readonly blueprintRef: string;\n readonly label: string;\n readonly facts: readonly {\n readonly suffix: string;\n readonly creatorPrompt: string;\n readonly decisionPurpose: string;\n readonly factAuthorityKind: AssuranceDocumentFactAuthorityKind;\n }[];\n readonly sections: readonly {\n readonly suffix: string;\n readonly draftingPurpose: string;\n readonly factSuffixes: readonly string[];\n readonly clauseDraftingPurpose: string;\n }[];\n};\n\n/**\n * The first Step 6 catalog slice is ordered deliberately: these four documents\n * establish the program boundary, accountable roles and document custody that\n * every later policy, procedure, register and assessment must reference. They\n * remain semantic blueprints; none of the prompts supplies application facts\n * or asserts that a control has operated.\n */\nconst CORE_INTERNAL_GOVERNANCE_BLUEPRINT_CONFIGS: readonly CoreInternalGovernanceBlueprintConfig[] = [\n {\n definitionRef: DOCUMENT_DEFINITION_DOCUMENT_RECORD_CONTROL_REF,\n stableKindRef: \"document-kind:governance-document-record-control\",\n blueprintRef: \"document-blueprint:governance-document-record-control\",\n label: \"document and record control policy\",\n facts: [\n {\n suffix: \"governance-document-change-history\",\n creatorPrompt: \"Define how changes, corrections, supersession and prior-version access are recorded for governed documents and records.\",\n decisionPurpose: \"Make every version transition reconstructable without rewriting retained history.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-document-identity-ownership\",\n creatorPrompt: \"Identify document classes, stable identities, accountable owners, custodians and classification rules for this governance scope.\",\n decisionPurpose: \"Prevent anonymous documents or ambiguous ownership from entering the governed repository.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-document-release-distribution\",\n creatorPrompt: \"Define approved release, repository, distribution, access and acknowledgement channels for each document class.\",\n decisionPurpose: \"Separate an approved immutable release from drafts, copies and uncontrolled distribution.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-document-retention-disposal\",\n creatorPrompt: \"Define retention, legal-hold, archive, disposal and destruction-verification rules for governed documents and records.\",\n decisionPurpose: \"Prevent both premature evidence loss and indefinite retention without authority.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n {\n suffix: \"governance-document-review-approval\",\n creatorPrompt: \"Define author, reviewer, approver, independence, review cadence and emergency-change authority by document class.\",\n decisionPurpose: \"Keep authorship, qualified review and final approval as distinct accountable actions.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n ],\n sections: [\n {\n suffix: \"governance-document-identity-ownership\",\n draftingPurpose: \"Establish controlled document identity, classification and ownership.\",\n factSuffixes: [\"governance-document-identity-ownership\"],\n clauseDraftingPurpose: \"State the accepted identity, classification, owner and custodian rules without inventing organization assignments.\",\n },\n {\n suffix: \"governance-document-review-approval\",\n draftingPurpose: \"Define review, approval and separation requirements.\",\n factSuffixes: [\"governance-document-review-approval\"],\n clauseDraftingPurpose: \"State the accepted review, approval, independence, cadence and emergency authority decisions.\",\n },\n {\n suffix: \"governance-document-release-distribution\",\n draftingPurpose: \"Control release, storage, access and distribution.\",\n factSuffixes: [\"governance-document-release-distribution\"],\n clauseDraftingPurpose: \"Describe only the approved release and distribution channels for each governed class.\",\n },\n {\n suffix: \"governance-document-retention-disposal\",\n draftingPurpose: \"Control retention, holds, archive and disposal.\",\n factSuffixes: [\"governance-document-retention-disposal\"],\n clauseDraftingPurpose: \"State qualified retention and disposal rules, including holds and destruction verification.\",\n },\n {\n suffix: \"governance-document-change-history\",\n draftingPurpose: \"Preserve controlled change and prior-version history.\",\n factSuffixes: [\"governance-document-change-history\"],\n clauseDraftingPurpose: \"Describe correction, supersession and history access without altering immutable prior releases.\",\n },\n ],\n },\n {\n definitionRef: DOCUMENT_DEFINITION_PROGRAM_HANDBOOK_REF,\n stableKindRef: \"document-kind:governance-program-handbook\",\n blueprintRef: \"document-blueprint:governance-program-handbook\",\n label: \"assurance program handbook\",\n facts: [\n {\n suffix: \"governance-document-map-improvement\",\n creatorPrompt: \"Identify the governed document map, review cycle, findings route and continual-improvement loop for this program.\",\n decisionPurpose: \"Connect program direction to controlled documents, findings and accountable improvement rather than a static policy pack.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-operating-model\",\n creatorPrompt: \"Describe the accepted governance forums, decision paths, escalation routes, assurance cadence and operating interfaces.\",\n decisionPurpose: \"Record how governance is intended to operate without claiming that any meeting or control has occurred.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-program-purpose-context\",\n creatorPrompt: \"Define the program purpose, intended outcomes, organizational context and explicit limitations for this governance scope.\",\n decisionPurpose: \"Keep the program's objective and boundaries application-specific and prevent generic certification claims.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-scope-boundaries\",\n creatorPrompt: \"Resolve the exact organizations, products, environments, services and exclusions governed by this program.\",\n decisionPurpose: \"Bind the handbook to the accepted system scope instead of an unscoped organization-wide assertion.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n {\n suffix: \"governance-stakeholders-obligations\",\n creatorPrompt: \"Identify material stakeholders, approved obligation categories, accountable owners and unresolved applicability gaps.\",\n decisionPurpose: \"Connect program governance to accepted obligations without turning a source catalog into a legal conclusion.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n ],\n sections: [\n {\n suffix: \"governance-program-purpose-context\",\n draftingPurpose: \"State program purpose, context, outcomes and limitations.\",\n factSuffixes: [\"governance-program-purpose-context\"],\n clauseDraftingPurpose: \"State the accepted program purpose and limitations without implying certification or operating effectiveness.\",\n },\n {\n suffix: \"governance-program-scope\",\n draftingPurpose: \"Describe the exact governed scope and exclusions.\",\n factSuffixes: [\"governance-scope-boundaries\"],\n clauseDraftingPurpose: \"Describe only the accepted organizations, products, environments, services and exclusions.\",\n },\n {\n suffix: \"governance-program-stakeholders-obligations\",\n draftingPurpose: \"Connect stakeholders and qualified obligation decisions.\",\n factSuffixes: [\"governance-stakeholders-obligations\"],\n clauseDraftingPurpose: \"Identify accepted stakeholders, obligation categories, owners and visible unresolved gaps.\",\n },\n {\n suffix: \"governance-program-operating-model\",\n draftingPurpose: \"Define governance forums, decision paths and cadence.\",\n factSuffixes: [\"governance-operating-model\"],\n clauseDraftingPurpose: \"Describe the approved operating model as intent and responsibility, not evidence that activities occurred.\",\n },\n {\n suffix: \"governance-program-document-map-improvement\",\n draftingPurpose: \"Link controlled documents, findings and continual improvement.\",\n factSuffixes: [\"governance-document-map-improvement\"],\n clauseDraftingPurpose: \"Describe the governed document map and accountable improvement loop without manufacturing review records.\",\n },\n ],\n },\n {\n definitionRef: DOCUMENT_DEFINITION_ROLES_RESPONSIBILITIES_REF,\n stableKindRef: \"document-kind:governance-roles-responsibilities\",\n blueprintRef: \"document-blueprint:governance-roles-responsibilities\",\n label: \"roles and responsibilities policy\",\n facts: [\n {\n suffix: \"governance-accountable-roles\",\n creatorPrompt: \"Identify accountable executives, control owners, process owners, technical operators and record custodians for the declared scope.\",\n decisionPurpose: \"Require named accountability without inheriting Wildo personnel or placeholder roles.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-conflict-separation\",\n creatorPrompt: \"Define incompatible duties, conflict declarations, independent checks and approved compensating oversight for constrained teams.\",\n decisionPurpose: \"Expose actual separation limitations rather than asserting independence that the organization cannot provide.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n {\n suffix: \"governance-delegation-escalation\",\n creatorPrompt: \"Define delegation limits, alternates, escalation paths and decisions that cannot be delegated.\",\n decisionPurpose: \"Keep authority transitions explicit and prevent silent delegation of accountable decisions.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-operational-responsibilities\",\n creatorPrompt: \"Map recurring governance, security, privacy, engineering and response responsibilities to actual operator roles.\",\n decisionPurpose: \"Describe expected responsibility without claiming that an assigned control has operated.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-review-independence\",\n creatorPrompt: \"Define reviewer competence, authority, independence disclosure and conflict-handling requirements for each review family.\",\n decisionPurpose: \"Preserve honest independence limits and qualified-review authority.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n ],\n sections: [\n {\n suffix: \"governance-accountable-roles\",\n draftingPurpose: \"Assign accountable and operational roles.\",\n factSuffixes: [\"governance-accountable-roles\"],\n clauseDraftingPurpose: \"State accepted role accountability and custody without inventing people or assignments.\",\n },\n {\n suffix: \"governance-operational-responsibilities\",\n draftingPurpose: \"Map recurring responsibilities to actual roles.\",\n factSuffixes: [\"governance-operational-responsibilities\"],\n clauseDraftingPurpose: \"Describe assigned responsibilities as obligations, not proof of execution.\",\n },\n {\n suffix: \"governance-conflict-separation\",\n draftingPurpose: \"Define separation, conflicts and compensating oversight.\",\n factSuffixes: [\"governance-conflict-separation\"],\n clauseDraftingPurpose: \"State qualified separation decisions and disclose constrained-team limitations.\",\n },\n {\n suffix: \"governance-review-independence\",\n draftingPurpose: \"Define competence and independence for reviews.\",\n factSuffixes: [\"governance-review-independence\"],\n clauseDraftingPurpose: \"State reviewer competence, authority and independence-disclosure requirements.\",\n },\n {\n suffix: \"governance-delegation-escalation\",\n draftingPurpose: \"Control delegation, alternates and escalation.\",\n factSuffixes: [\"governance-delegation-escalation\"],\n clauseDraftingPurpose: \"Describe delegation boundaries and escalation routes for unresolved or conflicted decisions.\",\n },\n ],\n },\n {\n definitionRef: DOCUMENT_DEFINITION_SCOPE_SYSTEM_DESCRIPTION_REF,\n stableKindRef: \"document-kind:governance-scope-system-description\",\n blueprintRef: \"document-blueprint:governance-scope-system-description\",\n label: \"scope and system description\",\n facts: [\n {\n suffix: \"governance-dependencies-responsibilities\",\n creatorPrompt: \"Identify material platform, supplier, tenant and external dependencies with their attributed responsibilities and unresolved handoffs.\",\n decisionPurpose: \"Preserve shared-responsibility attribution instead of flattening every capability into operator ownership.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n {\n suffix: \"governance-entities-products-environments\",\n creatorPrompt: \"Identify the legal/organizational entities, products, domains, environments and service locations included in this scope.\",\n decisionPurpose: \"Anchor the system description to accepted application and deployment identities.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n {\n suffix: \"governance-scope-exclusions\",\n creatorPrompt: \"Record explicit exclusions, their rationale, affected responsibilities and any resulting gaps or external dependencies.\",\n decisionPurpose: \"Make exclusions reviewable and prevent a broad scope statement from hiding material omissions.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n },\n {\n suffix: \"governance-scope-review-triggers\",\n creatorPrompt: \"Define the application, deployment, organization, supplier and obligation changes that require scope review.\",\n decisionPurpose: \"Keep the system description continuously aligned with material change.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.CREATOR_DECISION,\n },\n {\n suffix: \"governance-system-boundaries\",\n creatorPrompt: \"Describe system boundaries, major components, data/trust boundaries, interfaces and lifecycle ownership from accepted technical facts.\",\n decisionPurpose: \"Provide a reproducible boundary description without inventing architecture or operating evidence.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n },\n ],\n sections: [\n {\n suffix: \"governance-entities-products-environments\",\n draftingPurpose: \"Identify included entities, products and environments.\",\n factSuffixes: [\"governance-entities-products-environments\"],\n clauseDraftingPurpose: \"Describe only accepted entity, product, domain, environment and location facts.\",\n },\n {\n suffix: \"governance-system-boundaries\",\n draftingPurpose: \"Describe the system and trust boundaries.\",\n factSuffixes: [\"governance-system-boundaries\"],\n clauseDraftingPurpose: \"Describe accepted components, interfaces and boundaries without inferring unverified architecture.\",\n },\n {\n suffix: \"governance-dependencies-responsibilities\",\n draftingPurpose: \"Attribute dependencies and shared responsibilities.\",\n factSuffixes: [\"governance-dependencies-responsibilities\"],\n clauseDraftingPurpose: \"Attribute provider, operator, tenant and supplier responsibilities and retain unresolved handoffs.\",\n },\n {\n suffix: \"governance-scope-exclusions\",\n draftingPurpose: \"Expose scope exclusions and resulting limitations.\",\n factSuffixes: [\"governance-scope-exclusions\"],\n clauseDraftingPurpose: \"State qualified exclusions, rationale and gaps without presenting them as implemented alternatives.\",\n },\n {\n suffix: \"governance-scope-review-triggers\",\n draftingPurpose: \"Define material scope-change triggers.\",\n factSuffixes: [\"governance-scope-review-triggers\"],\n clauseDraftingPurpose: \"State the accepted events that invalidate or require review of this system description.\",\n },\n ],\n },\n];\n\nconst createCoreInternalGovernanceBlueprint = (config: CoreInternalGovernanceBlueprintConfig): AssuranceDocumentBlueprint => {\n const claimGuardRef = `document-claim-guard:${config.blueprintRef.slice(\"document-blueprint:\".length)}`;\n const questions = config.facts\n .map((fact) =>\n createQuestion({\n suffix: fact.suffix,\n creatorPrompt: fact.creatorPrompt,\n decisionPurpose: fact.decisionPurpose,\n factAuthorityKind: fact.factAuthorityKind,\n }),\n )\n .sort((left, right) => compareCanonicalText(left.questionRef, right.questionRef));\n const clauses = config.sections\n .map((section) =>\n createClause({\n clauseSuffix: section.suffix,\n sectionSuffix: section.suffix,\n factSuffixes: section.factSuffixes,\n draftingPurpose: section.clauseDraftingPurpose,\n sourcePolicyRefs: INTERNAL_GOVERNANCE_SOURCE_POLICY_REFS,\n claimGuardRef,\n }),\n )\n .sort((left, right) => compareCanonicalText(left.clauseRef, right.clauseRef));\n const sections = config.sections.map((section, index) =>\n createSection({\n suffix: section.suffix,\n order: index + 1,\n draftingPurpose: section.draftingPurpose,\n factSuffixes: section.factSuffixes,\n clauseSuffixes: [section.suffix],\n }),\n );\n const reviewChecklists = [\n createChecklist({\n suffix: `${config.blueprintRef.slice(\"document-blueprint:\".length)}-business`,\n reviewPolicyRef: INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n blueprintRef: config.blueprintRef,\n prompts: [\n `Confirm the ${config.label} has an accountable owner, matches the accepted organizational decisions and does not promise activities the operator cannot support.`,\n ],\n }),\n createChecklist({\n suffix: `${config.blueprintRef.slice(\"document-blueprint:\".length)}-content`,\n reviewPolicyRef: INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.CONTENT,\n blueprintRef: config.blueprintRef,\n prompts: [\n `Trace every material statement in the ${config.label} to the accepted facts, source policies and explicit limitations; reject implementation or operating claims without scoped evidence.`,\n ],\n }),\n ].sort((left, right) => compareCanonicalText(left.checklistRef, right.checklistRef));\n\n return sealBlueprint(\n {\n identity: { blueprintRef: config.blueprintRef, blueprintVersion: 1 },\n definition: { definitionRef: config.definitionRef, definitionVersion: 1 },\n questions,\n sections,\n clauses,\n claimGuards: [\n {\n guardRef: claimGuardRef,\n guardVersion: 1,\n claimPolicyRef: INTERNAL_GOVERNANCE_CLAIM_POLICY_REF,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiredFactRefs: config.facts.map((fact) => factRef(fact.suffix)).sort(compareCanonicalText),\n requiredEvidenceRefs: [],\n requiredAuthorityRefs: [\"review-authority:qualified-internal-governance\"],\n failureDisposition: AssuranceDocumentClaimGuardFailureDisposition.BLOCK_CANDIDATE,\n reviewerInstruction:\n \"Approve governance intent only. Reject claims of implementation, operation, effectiveness, certification, equivalence or independence unless separately supported by exact scoped authority and evidence.\",\n },\n ],\n reviewChecklists,\n variantAxes: [],\n },\n );\n};\n\nconst createCoreInternalGovernanceDefinition = (config: CoreInternalGovernanceBlueprintConfig) => ({\n identity: { definitionRef: config.definitionRef, definitionVersion: 1 },\n stableKindRef: config.stableKindRef,\n documentClass: GovernedDocumentClass.GOVERNANCE_POLICY,\n applicabilityKind: AssuranceDocumentCatalogApplicabilityKind.CORE,\n governanceSubjectKinds: [GovernedDocumentGovernanceSubjectKind.APPLICATION_OPERATOR, GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY],\n audienceKinds: [GovernedDocumentAudienceKind.QUALIFIED_REVIEWER, GovernedDocumentAudienceKind.WORKFORCE],\n requiredFactRefs: config.facts.map((fact) => factRef(fact.suffix)).sort(compareCanonicalText),\n requiredSectionRefs: config.sections.map((section) => sectionRef(section.suffix)).sort(compareCanonicalText),\n qualifiedReviewPolicyRefs: [INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF, INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF],\n sourcePolicyRefs: INTERNAL_GOVERNANCE_SOURCE_POLICY_REFS,\n publicationChannelKinds: [GovernedDocumentPublicationChannelKind.DURABLE_DOWNLOAD, GovernedDocumentPublicationChannelKind.GOVERNANCE_REPOSITORY],\n allowedInteractionKinds: [],\n retentionPolicyRef: \"retention-policy:governed-internal-documents\",\n reviewTriggerRefs: [\n \"document-review-trigger:governance-scope-or-responsibility-change\",\n \"document-review-trigger:periodic-governance-review\",\n \"document-review-trigger:source-change\",\n ],\n claimPolicyRef: INTERNAL_GOVERNANCE_CLAIM_POLICY_REF,\n});\n\nconst createPrivacyNoticeBlueprint = (): AssuranceDocumentBlueprint => {\n const blueprintRef = \"document-blueprint:public-privacy-notice\";\n const questions = [\n createQuestion({\n suffix: \"controller-and-contact\",\n creatorPrompt: \"Identify every party acting as controller or joint controller and the public privacy contact route for this application scope.\",\n decisionPurpose: \"Attribute the notice to the actual operator or shared-responsibility parties instead of inheriting Wildo's identity.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"data-categories-and-sources\",\n creatorPrompt: \"Describe the personal-data categories, data-subject groups and collection sources that are actually present in the application.\",\n decisionPurpose: \"Bound the notice to verified collection and derived-data facts.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"international-transfers\",\n creatorPrompt:\n \"Identify transfers outside the subject's jurisdiction, the recipients and the approved transfer mechanism, or explicitly resolve that no such transfer occurs.\",\n decisionPurpose: \"Prevent a generic transfer statement from replacing the application's real deployment and supplier facts.\",\n allowsNotApplicable: true,\n }),\n createQuestion({\n suffix: \"lawful-bases\",\n creatorPrompt: \"Select the bases approved for the application's processing purposes; do not infer a basis from a technical capability.\",\n decisionPurpose: \"Require an accountable privacy decision before a candidate can associate purposes with legal bases.\",\n answerKind: AssuranceDocumentQuestionAnswerKind.SEMANTIC_MULTI_SELECT,\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n semanticOptions: [\n { suffix: \"lawful-basis-consent\", creatorMeaning: \"Consent approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-contract\", creatorMeaning: \"Contract necessity approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-legal-obligation\", creatorMeaning: \"A cited legal obligation approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-legitimate-interests\", creatorMeaning: \"Legitimate interests approved with the required balancing assessment.\" },\n { suffix: \"lawful-basis-public-task\", creatorMeaning: \"Public task or official authority approved for a specified processing purpose.\" },\n { suffix: \"lawful-basis-vital-interests\", creatorMeaning: \"Vital interests approved for a specified processing purpose.\" },\n ].sort((left, right) => compareCanonicalText(left.suffix, right.suffix)),\n }),\n createQuestion({\n suffix: \"processing-purposes\",\n creatorPrompt: \"Describe each actual processing purpose and link it to the relevant data categories, recipients and lifecycle.\",\n decisionPurpose: \"Keep purpose statements specific enough to review against the application specification.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"recipients-and-processors\",\n creatorPrompt: \"Identify recipient categories, processors and subprocessors that receive data in this application scope.\",\n decisionPurpose: \"Prevent an unverified generic recipient list.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"retention-rules\",\n creatorPrompt:\n \"State the retention trigger, period or decision rule for each material data category and the verified deletion or anonymization behavior.\",\n decisionPurpose: \"Require application-specific lifecycle facts rather than an indefinite or aspirational retention promise.\",\n }),\n createQuestion({\n suffix: \"rights-and-complaint-route\",\n creatorPrompt: \"Confirm the applicable rights, request channel, identity-verification path, response ownership and supervisory complaint route.\",\n decisionPurpose: \"Bind rights language to an operating request path and qualified jurisdiction review.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n ].sort((left, right) => compareCanonicalText(left.questionRef, right.questionRef));\n\n const clauses = [\n createClause({\n clauseSuffix: \"privacy-automated-decisions\",\n sectionSuffix: \"automated-decisions\",\n factSuffixes: [\"data-categories-and-sources\", \"processing-purposes\"],\n draftingPurpose:\n \"State truthfully whether automated decision-making or profiling is in scope and, when it is, route meaningful logic and consequence disclosures to qualified review.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-changes-effective-date\",\n sectionSuffix: \"changes-and-effective-date\",\n factSuffixes: [\"controller-and-contact\"],\n draftingPurpose:\n \"Explain the release effective date and the approved change-notice channel without predicting whether re-acknowledgement is legally required.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-contact\",\n sectionSuffix: \"contact\",\n factSuffixes: [\"controller-and-contact\", \"rights-and-complaint-route\"],\n draftingPurpose: \"Provide the verified privacy request and complaint contacts for the responsible parties.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-data-and-sources\",\n sectionSuffix: \"data-and-sources\",\n factSuffixes: [\"data-categories-and-sources\"],\n draftingPurpose: \"Describe collected and derived personal-data categories and their actual sources in audience-readable language.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-identity-and-role\",\n sectionSuffix: \"identity-and-role\",\n factSuffixes: [\"controller-and-contact\"],\n draftingPurpose: \"Identify the responsible operator and distinguish controller, joint-controller and processor roles where applicable.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-purposes-and-bases\",\n sectionSuffix: \"purposes-and-bases\",\n factSuffixes: [\"lawful-bases\", \"processing-purposes\"],\n draftingPurpose: \"Associate each verified processing purpose with its qualified-review-approved legal basis and any necessary limitations.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-recipients-and-transfers\",\n sectionSuffix: \"recipients-and-transfers\",\n factSuffixes: [\"international-transfers\", \"recipients-and-processors\"],\n draftingPurpose: \"Describe recipient categories and international transfers, including the reviewed safeguard or an explicit not-applicable resolution.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-retention\",\n sectionSuffix: \"retention\",\n factSuffixes: [\"retention-rules\"],\n draftingPurpose: \"State verified retention periods or criteria and avoid claiming deletion behavior that has no operating path.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-rights\",\n sectionSuffix: \"rights\",\n factSuffixes: [\"rights-and-complaint-route\"],\n draftingPurpose: \"Explain applicable rights, request handling and complaint routes as qualified for the declared audience and jurisdictions.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-scope-and-audience\",\n sectionSuffix: \"scope-and-audience\",\n factSuffixes: [\"controller-and-contact\", \"data-categories-and-sources\"],\n draftingPurpose: \"Define the application, audience and governance scope covered by this notice and expose material exclusions.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"privacy-security-summary\",\n sectionSuffix: \"security-summary\",\n factSuffixes: [\"data-categories-and-sources\"],\n draftingPurpose:\n \"Provide a bounded security summary without disclosing sensitive implementation detail or claiming operating effectiveness without evidence.\",\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n claimGuardRef: PRIVACY_CLAIM_GUARD_REF,\n }),\n ].sort((left, right) => compareCanonicalText(left.clauseRef, right.clauseRef));\n\n const sections = [\n createSection({\n suffix: \"scope-and-audience\",\n order: 1,\n draftingPurpose: \"Orient the reader to the covered application and audience.\",\n factSuffixes: [\"controller-and-contact\", \"data-categories-and-sources\"],\n clauseSuffixes: [\"privacy-scope-and-audience\"],\n }),\n createSection({\n suffix: \"identity-and-role\",\n order: 2,\n draftingPurpose: \"Identify responsible parties and roles.\",\n factSuffixes: [\"controller-and-contact\"],\n clauseSuffixes: [\"privacy-identity-and-role\"],\n }),\n createSection({\n suffix: \"data-and-sources\",\n order: 3,\n draftingPurpose: \"Explain personal data and collection sources.\",\n factSuffixes: [\"data-categories-and-sources\"],\n clauseSuffixes: [\"privacy-data-and-sources\"],\n }),\n createSection({\n suffix: \"purposes-and-bases\",\n order: 4,\n draftingPurpose: \"Explain purposes and reviewed bases together.\",\n factSuffixes: [\"lawful-bases\", \"processing-purposes\"],\n clauseSuffixes: [\"privacy-purposes-and-bases\"],\n }),\n createSection({\n suffix: \"recipients-and-transfers\",\n order: 5,\n draftingPurpose: \"Explain disclosures and cross-border transfers.\",\n factSuffixes: [\"international-transfers\", \"recipients-and-processors\"],\n clauseSuffixes: [\"privacy-recipients-and-transfers\"],\n }),\n createSection({\n suffix: \"retention\",\n order: 6,\n draftingPurpose: \"Explain lifecycle and retention criteria.\",\n factSuffixes: [\"retention-rules\"],\n clauseSuffixes: [\"privacy-retention\"],\n }),\n createSection({\n suffix: \"rights\",\n order: 7,\n draftingPurpose: \"Explain rights and usable request routes.\",\n factSuffixes: [\"rights-and-complaint-route\"],\n clauseSuffixes: [\"privacy-rights\"],\n }),\n createSection({\n suffix: \"automated-decisions\",\n order: 8,\n draftingPurpose: \"Resolve automation and profiling disclosures.\",\n factSuffixes: [\"data-categories-and-sources\", \"processing-purposes\"],\n clauseSuffixes: [\"privacy-automated-decisions\"],\n }),\n createSection({\n suffix: \"security-summary\",\n order: 9,\n draftingPurpose: \"Provide a bounded security summary.\",\n factSuffixes: [\"data-categories-and-sources\"],\n clauseSuffixes: [\"privacy-security-summary\"],\n }),\n createSection({\n suffix: \"changes-and-effective-date\",\n order: 10,\n draftingPurpose: \"Explain release timing and change communication.\",\n factSuffixes: [\"controller-and-contact\"],\n clauseSuffixes: [\"privacy-changes-effective-date\"],\n }),\n createSection({\n suffix: \"contact\",\n order: 11,\n draftingPurpose: \"Repeat actionable privacy contacts.\",\n factSuffixes: [\"controller-and-contact\", \"rights-and-complaint-route\"],\n clauseSuffixes: [\"privacy-contact\"],\n }),\n ];\n\n const claimGuards = [\n {\n guardRef: PRIVACY_CLAIM_GUARD_REF,\n guardVersion: 1,\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiredFactRefs: [factRef(\"controller-and-contact\"), factRef(\"lawful-bases\"), factRef(\"processing-purposes\")].sort(compareCanonicalText),\n requiredEvidenceRefs: [],\n requiredAuthorityRefs: [\"review-authority:qualified-privacy-legal\"],\n failureDisposition: AssuranceDocumentClaimGuardFailureDisposition.BLOCK_CANDIDATE,\n reviewerInstruction:\n \"Reject unsupported legal, certification, independence or operating-effectiveness claims; expose unresolved scope or evidence limitations instead.\",\n },\n ];\n\n const reviewChecklists = [\n createChecklist({\n suffix: \"privacy-business\",\n reviewPolicyRef: PRIVACY_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n blueprintRef,\n prompts: [\"Confirm the operator identity, service scope, public contacts and operational commitments are owned and supportable.\"],\n }),\n createChecklist({\n suffix: \"privacy-legal\",\n reviewPolicyRef: PRIVACY_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.LEGAL,\n blueprintRef,\n prompts: [\n \"Confirm jurisdiction applicability, required disclosures, legal-basis statements, rights wording and change duties against current authoritative sources.\",\n ],\n }),\n createChecklist({\n suffix: \"privacy-privacy\",\n reviewPolicyRef: PRIVACY_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.PRIVACY,\n blueprintRef,\n prompts: [\"Trace every material data flow, purpose, recipient, retention rule and request route to accepted application facts and visible gaps.\"],\n }),\n ].sort((left, right) => compareCanonicalText(left.checklistRef, right.checklistRef));\n\n const variantAxes = [\n {\n axisRef: \"document-variant-axis:privacy-collection-source\",\n axisVersion: 1,\n selectionCardinality: AssuranceDocumentVariantSelectionCardinality.ONE_OR_MORE,\n creatorPrompt: \"Select every collection-source form that the resolved data-category/source fact establishes for this notice scope.\",\n options: [\n {\n optionRef: \"document-variant-option:privacy-source-derived\",\n creatorMeaning: \"The notice includes personal data derived or inferred from other information.\",\n supportingFactRefs: [factRef(\"data-categories-and-sources\")],\n },\n {\n optionRef: \"document-variant-option:privacy-source-direct\",\n creatorMeaning: \"The notice includes personal data collected directly from the person.\",\n supportingFactRefs: [factRef(\"data-categories-and-sources\")],\n },\n {\n optionRef: \"document-variant-option:privacy-source-indirect\",\n creatorMeaning: \"The notice includes personal data obtained from another person, organization or public source.\",\n supportingFactRefs: [factRef(\"data-categories-and-sources\")],\n },\n ],\n },\n {\n axisRef: \"document-variant-axis:privacy-processing-role\",\n axisVersion: 1,\n selectionCardinality: AssuranceDocumentVariantSelectionCardinality.EXACTLY_ONE,\n creatorPrompt:\n \"Select the processing-role posture established by the resolved responsible-party fact; use mixed-per-activity when one global role would be false.\",\n options: [\n {\n optionRef: \"document-variant-option:privacy-role-controller\",\n creatorMeaning: \"The responsible party acts as controller for the processing described by this candidate.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n {\n optionRef: \"document-variant-option:privacy-role-joint-controller\",\n creatorMeaning: \"The candidate must attribute a joint-controller arrangement and its allocation of responsibility.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n {\n optionRef: \"document-variant-option:privacy-role-mixed-per-activity\",\n creatorMeaning: \"Processing roles differ by activity and the candidate must not flatten them into one global role.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n {\n optionRef: \"document-variant-option:privacy-role-processor\",\n creatorMeaning: \"The responsible party acts as processor for the processing described by this candidate and attributes the controller.\",\n supportingFactRefs: [factRef(\"controller-and-contact\")],\n },\n ],\n },\n ].sort((left, right) => compareCanonicalText(left.axisRef, right.axisRef));\n\n return sealBlueprint(\n {\n identity: { blueprintRef, blueprintVersion: 1 },\n definition: { definitionRef: DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF, definitionVersion: 1 },\n questions,\n sections,\n clauses,\n claimGuards,\n reviewChecklists,\n variantAxes,\n },\n );\n};\n\nconst createServiceTermsBlueprint = (): AssuranceDocumentBlueprint => {\n const blueprintRef = \"document-blueprint:public-service-terms\";\n const questions = [\n createQuestion({\n suffix: \"account-eligibility\",\n creatorPrompt: \"Define who may create or use an account, required authority and any age or representative-capacity restrictions.\",\n decisionPurpose: \"Prevent generic eligibility language from overriding the approved audience model.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n createQuestion({\n suffix: \"audience-commercial-model\",\n creatorPrompt: \"Select every audience model served under these terms and identify which offer, price and contracting path applies to each.\",\n decisionPurpose: \"Drive consumer-specific clauses only when the application actually offers to consumers.\",\n answerKind: AssuranceDocumentQuestionAnswerKind.SEMANTIC_MULTI_SELECT,\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n semanticOptions: [\n { suffix: \"commercial-audience-business\", creatorMeaning: \"Business customers contract for professional use.\" },\n { suffix: \"commercial-audience-consumer\", creatorMeaning: \"Consumers may contract for personal use.\" },\n { suffix: \"commercial-audience-internal\", creatorMeaning: \"Access is limited to an operator-controlled internal audience.\" },\n ],\n }),\n createQuestion({\n suffix: \"billing-renewal-cancellation\",\n creatorPrompt: \"Describe total price presentation, billing cadence, renewal, cancellation, refund and any consumer withdrawal handling.\",\n decisionPurpose: \"Bind commercial text to the actual offer and cancellation workflow.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"data-exit\",\n creatorPrompt: \"Describe export, deletion and account-closure behavior, including timing and limitations that the application actually supports.\",\n decisionPurpose: \"Avoid promising portability or deletion beyond implemented and reviewed capabilities.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"ai-features-and-content-use\",\n creatorPrompt:\n \"Describe any AI-assisted feature, the role of user content and outputs, provider involvement, human responsibility and whether customer content is used for model improvement; resolve the fact as not applicable when no AI feature reaches the contracted service.\",\n decisionPurpose: \"Include AI-specific terms only when the accepted application specification proves that AI participates in the contracted service.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n allowsNotApplicable: true,\n }),\n createQuestion({\n suffix: \"dispute-and-governing-law\",\n creatorPrompt: \"Record the qualified-review-approved governing law, dispute route, mandatory consumer forum limits and complaint channels.\",\n decisionPurpose: \"Keep jurisdiction decisions outside templates and model inference.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n createQuestion({\n suffix: \"liability-position\",\n creatorPrompt: \"Record the approved warranty, responsibility, remedy and liability position for each audience, including non-excludable rights.\",\n decisionPurpose: \"Require qualified approval for risk allocation instead of generating a generic limitation.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n }),\n createQuestion({\n suffix: \"operator-legal-identity\",\n creatorPrompt: \"Provide the contracting entity's registered identity, address, contact details and any required registration or tax identifiers.\",\n decisionPurpose: \"Attribute the terms to the real application operator.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"service-scope\",\n creatorPrompt: \"Describe the service, material functionality, technical or interoperability constraints and support commitments included in the offer.\",\n decisionPurpose: \"Bound the contract to the actual product and approved commitments.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n }),\n createQuestion({\n suffix: \"service-level-commitments\",\n creatorPrompt:\n \"Record any approved availability, support, response, maintenance or service-credit commitment; resolve the fact as not applicable when the offer makes no service-level commitment.\",\n decisionPurpose: \"Prevent operational aspirations or monitoring targets from becoming contractual service levels without qualified approval.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.QUALIFIED_REVIEW,\n allowsNotApplicable: true,\n }),\n createQuestion({\n suffix: \"third-party-service-dependencies\",\n creatorPrompt:\n \"Describe material third-party services or platform dependencies that affect contracted functionality, customer obligations or incorporated provider terms; resolve the fact as not applicable when none affect the offer.\",\n decisionPurpose: \"Include third-party dependency terms only from the accepted application implementation and offer, never from a generic provider list.\",\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n allowsNotApplicable: true,\n }),\n ].sort((left, right) => compareCanonicalText(left.questionRef, right.questionRef));\n\n const consumerCondition = [\n {\n conditionGroupRef: \"document-condition-group:consumer-audience\",\n conditions: [\n {\n operator: AssuranceDocumentConditionOperator.FACT_CONTAINS_SEMANTIC_OPTION,\n factRef: factRef(\"audience-commercial-model\"),\n semanticOptionRef: \"document-option:commercial-audience-consumer\",\n },\n ],\n },\n ];\n const includeWhenFactIsKnown = (suffix: string) => [\n {\n conditionGroupRef: `document-condition-group:${suffix}`,\n conditions: [{ operator: AssuranceDocumentConditionOperator.FACT_KNOWN, factRef: factRef(suffix) }],\n },\n ];\n const clauses = [\n createClause({\n clauseSuffix: \"terms-account-duties\",\n sectionSuffix: \"account-duties\",\n factSuffixes: [\"account-eligibility\", \"service-scope\"],\n draftingPurpose: \"Describe account security, authorized use and user responsibilities without transferring operator duties that remain non-delegable.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-ai-features-and-content-use\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"ai-features-and-content-use\"],\n draftingPurpose:\n \"State only the verified AI feature boundary, user-content and output responsibilities, provider involvement and approved model-improvement posture.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: includeWhenFactIsKnown(\"ai-features-and-content-use\"),\n }),\n createClause({\n clauseSuffix: \"terms-billing\",\n sectionSuffix: \"billing\",\n factSuffixes: [\"audience-commercial-model\", \"billing-renewal-cancellation\"],\n draftingPurpose: \"State price, billing, renewal and cancellation mechanics for the verified offer.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-changes\",\n sectionSuffix: \"changes\",\n factSuffixes: [\"audience-commercial-model\", \"service-scope\"],\n draftingPurpose: \"Describe the approved change-notice and effective-date mechanism without assuming unilateral-change rights.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-consumer-precontract\",\n sectionSuffix: \"eligibility\",\n factSuffixes: [\"account-eligibility\", \"audience-commercial-model\", \"billing-renewal-cancellation\", \"operator-legal-identity\", \"service-scope\"],\n draftingPurpose:\n \"When consumers are in scope, surface the reviewed pre-contract identity, offer, price, cancellation and mandatory-rights information through the applicable contracting flow.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: consumerCondition,\n }),\n createClause({\n clauseSuffix: \"terms-data-exit\",\n sectionSuffix: \"data-exit\",\n factSuffixes: [\"data-exit\"],\n draftingPurpose: \"State supported export, deletion and closure outcomes together with honest limitations and separate privacy-rights routes.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-disputes\",\n sectionSuffix: \"disputes\",\n factSuffixes: [\"audience-commercial-model\", \"dispute-and-governing-law\"],\n draftingPurpose: \"State qualified-review-approved governing law and dispute routes while preserving mandatory consumer forums and remedies.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-eligibility\",\n sectionSuffix: \"eligibility\",\n factSuffixes: [\"account-eligibility\", \"audience-commercial-model\"],\n draftingPurpose: \"Describe eligible users, authority to contract and audience boundaries.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-intellectual-property\",\n sectionSuffix: \"intellectual-property\",\n factSuffixes: [\"service-scope\"],\n draftingPurpose: \"Distinguish service, operator, customer and user-content rights according to the approved product model.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-liability\",\n sectionSuffix: \"liability\",\n factSuffixes: [\"audience-commercial-model\", \"liability-position\"],\n draftingPurpose: \"Render only the reviewed warranty, remedy and liability allocation, including mandatory non-excludable rights.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-operator-identity\",\n sectionSuffix: \"operator-identity\",\n factSuffixes: [\"operator-legal-identity\"],\n draftingPurpose: \"Identify the actual contracting entity and required contact or registration information.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-service-scope\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"service-scope\"],\n draftingPurpose: \"Describe the product, material functionality, constraints and included support without converting roadmap intent into a promise.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n createClause({\n clauseSuffix: \"terms-service-level-commitments\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"service-level-commitments\"],\n draftingPurpose: \"State only qualified-review-approved service levels, exclusions, support response commitments and remedies that the offer can operate.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: includeWhenFactIsKnown(\"service-level-commitments\"),\n }),\n createClause({\n clauseSuffix: \"terms-third-party-service-dependencies\",\n sectionSuffix: \"service-scope\",\n factSuffixes: [\"third-party-service-dependencies\"],\n draftingPurpose:\n \"Identify only material verified third-party dependencies and any approved incorporated obligations without making the provider a contracting party by implication.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n inclusionKind: AssuranceDocumentClauseInclusionKind.CONDITIONAL,\n conditionGroups: includeWhenFactIsKnown(\"third-party-service-dependencies\"),\n }),\n createClause({\n clauseSuffix: \"terms-suspension-termination\",\n sectionSuffix: \"suspension-and-termination\",\n factSuffixes: [\"account-eligibility\", \"data-exit\", \"service-scope\"],\n draftingPurpose: \"State approved suspension, termination, notice and post-termination data outcomes with due-process and mandatory-rights limits.\",\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n claimGuardRef: TERMS_CLAIM_GUARD_REF,\n }),\n ].sort((left, right) => compareCanonicalText(left.clauseRef, right.clauseRef));\n\n const sections = [\n createSection({\n suffix: \"operator-identity\",\n order: 1,\n draftingPurpose: \"Identify the contracting operator.\",\n factSuffixes: [\"operator-legal-identity\"],\n clauseSuffixes: [\"terms-operator-identity\"],\n }),\n createSection({\n suffix: \"service-scope\",\n order: 2,\n draftingPurpose: \"Define the contracted service.\",\n factSuffixes: [\"ai-features-and-content-use\", \"service-level-commitments\", \"service-scope\", \"third-party-service-dependencies\"],\n clauseSuffixes: [\"terms-ai-features-and-content-use\", \"terms-service-level-commitments\", \"terms-service-scope\", \"terms-third-party-service-dependencies\"],\n }),\n createSection({\n suffix: \"eligibility\",\n order: 3,\n draftingPurpose: \"Define audience, eligibility and conditional consumer information.\",\n factSuffixes: [\"account-eligibility\", \"audience-commercial-model\", \"billing-renewal-cancellation\", \"operator-legal-identity\", \"service-scope\"],\n clauseSuffixes: [\"terms-eligibility\", \"terms-consumer-precontract\"],\n }),\n createSection({\n suffix: \"account-duties\",\n order: 4,\n draftingPurpose: \"Explain account responsibilities.\",\n factSuffixes: [\"account-eligibility\", \"service-scope\"],\n clauseSuffixes: [\"terms-account-duties\"],\n }),\n createSection({\n suffix: \"billing\",\n order: 5,\n draftingPurpose: \"Explain price and subscription mechanics.\",\n factSuffixes: [\"audience-commercial-model\", \"billing-renewal-cancellation\"],\n clauseSuffixes: [\"terms-billing\"],\n }),\n createSection({\n suffix: \"intellectual-property\",\n order: 6,\n draftingPurpose: \"Explain approved rights in service and content.\",\n factSuffixes: [\"service-scope\"],\n clauseSuffixes: [\"terms-intellectual-property\"],\n }),\n createSection({\n suffix: \"suspension-and-termination\",\n order: 7,\n draftingPurpose: \"Explain suspension, termination and consequences.\",\n factSuffixes: [\"account-eligibility\", \"data-exit\", \"service-scope\"],\n clauseSuffixes: [\"terms-suspension-termination\"],\n }),\n createSection({\n suffix: \"data-exit\",\n order: 8,\n draftingPurpose: \"Explain data access and closure outcomes.\",\n factSuffixes: [\"data-exit\"],\n clauseSuffixes: [\"terms-data-exit\"],\n }),\n createSection({\n suffix: \"liability\",\n order: 9,\n draftingPurpose: \"Present the reviewed risk allocation.\",\n factSuffixes: [\"audience-commercial-model\", \"liability-position\"],\n clauseSuffixes: [\"terms-liability\"],\n }),\n createSection({\n suffix: \"disputes\",\n order: 10,\n draftingPurpose: \"Present reviewed law and dispute routes.\",\n factSuffixes: [\"audience-commercial-model\", \"dispute-and-governing-law\"],\n clauseSuffixes: [\"terms-disputes\"],\n }),\n createSection({\n suffix: \"changes\",\n order: 11,\n draftingPurpose: \"Explain approved contract-change mechanics.\",\n factSuffixes: [\"audience-commercial-model\", \"service-scope\"],\n clauseSuffixes: [\"terms-changes\"],\n }),\n ];\n\n const claimGuards = [\n {\n guardRef: TERMS_CLAIM_GUARD_REF,\n guardVersion: 1,\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiredFactRefs: [\n factRef(\"audience-commercial-model\"),\n factRef(\"dispute-and-governing-law\"),\n factRef(\"liability-position\"),\n factRef(\"operator-legal-identity\"),\n ].sort(compareCanonicalText),\n requiredEvidenceRefs: [],\n requiredAuthorityRefs: [\"review-authority:qualified-contract-legal\"],\n failureDisposition: AssuranceDocumentClaimGuardFailureDisposition.BLOCK_CANDIDATE,\n reviewerInstruction:\n \"Reject unsupported legal, consumer-rights, certification or operating-effectiveness claims and any term that exceeds the approved offer or application behavior.\",\n },\n ];\n\n const reviewChecklists = [\n createChecklist({\n suffix: \"terms-business\",\n reviewPolicyRef: TERMS_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n blueprintRef,\n prompts: [\n \"Confirm the operator, offer, audience, commercial mechanics, third-party dependencies, AI boundary, service commitments and lifecycle behavior are accurate and operationally supportable.\",\n ],\n }),\n createChecklist({\n suffix: \"terms-legal\",\n reviewPolicyRef: TERMS_REVIEW_POLICY_REF,\n reviewKind: GovernedDocumentReviewKind.LEGAL,\n blueprintRef,\n prompts: [\n \"Confirm applicability, pre-contract disclosures, AI/content and third-party terms, service-level commitments, mandatory rights, liability, termination, change and dispute terms against current authoritative sources for every declared audience.\",\n ],\n }),\n ].sort((left, right) => compareCanonicalText(left.checklistRef, right.checklistRef));\n\n return sealBlueprint(\n {\n identity: { blueprintRef, blueprintVersion: 2 },\n definition: { definitionRef: DOCUMENT_DEFINITION_SERVICE_TERMS_REF, definitionVersion: 2 },\n questions,\n sections,\n clauses,\n claimGuards,\n reviewChecklists,\n variantAxes: [],\n },\n );\n};\n\n/**\n * Build the engine-owned document authority catalog from the exact source registry accepted into the same basis.\n *\n * The catalog contains source monitoring, review and claim policy plus definition metadata. It intentionally carries no\n * application facts, generated clauses, approval decisions or publication state.\n */\nexport function createInitialAssuranceDocumentAuthorityCatalog(): AssuranceDocumentAuthorityCatalog {\n const coreInternalDefinitions = CORE_INTERNAL_GOVERNANCE_BLUEPRINT_CONFIGS.map(createCoreInternalGovernanceDefinition);\n const blueprints = [\n ...CORE_INTERNAL_GOVERNANCE_BLUEPRINT_CONFIGS.map((config) => createCoreInternalGovernanceBlueprint(config)),\n createPrivacyNoticeBlueprint(),\n createServiceTermsBlueprint(),\n ].sort((left, right) => compareCanonicalText(left.identity.blueprintRef, right.identity.blueprintRef));\n return AssuranceDocumentAuthorityCatalogSchema.parse({\n schemaVersion: 2,\n catalogRef: \"document-authority-catalog:wildo-safe-baseline-v1\",\n catalogVersion: 5,\n verifiedAt: CATALOG_VERIFIED_AT,\n sourceMonitoringPolicies: INITIAL_ASSURANCE_SOURCE_REGISTRY.sources.map((source) => ({\n policyRef: `document-source-monitoring:${source.identity.sourceRef.slice(\"source:\".length)}`,\n policyVersion: 1,\n source: source.identity,\n sourceRole: sourceRoleFor(source.authorityKind, source.identity.sourceRef),\n canonicalLocator: source.canonicalLocator,\n expectedLifecycleStatus: source.lifecycleStatus,\n checkedByRef: \"reviewer:wildo-document-source-monitor\",\n lastCheckedAt: SOURCE_LAST_CHECKED_AT,\n nextCheckOn: NEXT_CHECK_ON,\n monitoringStatus: AssuranceDocumentSourceMonitoringStatus.CURRENT,\n updateChannelRefs: [\"source-update-channel:official-canonical-origin\"],\n dependentDefinitionRefs: dependentDefinitionRefsFor(source.identity.sourceRef),\n requiredSourceUses: [AssuranceSourceUse.STORE_METADATA],\n })),\n qualifiedReviewPolicies: [\n {\n policyRef: INTERNAL_GOVERNANCE_BUSINESS_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.GOVERNANCE_POLICY],\n audienceKinds: [GovernedDocumentAudienceKind.QUALIFIED_REVIEWER, GovernedDocumentAudienceKind.WORKFORCE],\n jurisdictionRefs: [],\n reviewRequirements: [\n {\n reviewKind: GovernedDocumentReviewKind.BUSINESS,\n reviewerQualificationRefs: [\"reviewer-qualification:accountable-executive\"],\n },\n ],\n soleAuthorMayApprove: false,\n },\n {\n policyRef: INTERNAL_GOVERNANCE_CONTENT_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.GOVERNANCE_POLICY],\n audienceKinds: [GovernedDocumentAudienceKind.QUALIFIED_REVIEWER, GovernedDocumentAudienceKind.WORKFORCE],\n jurisdictionRefs: [],\n reviewRequirements: [\n {\n reviewKind: GovernedDocumentReviewKind.CONTENT,\n reviewerQualificationRefs: [\"reviewer-qualification:document-owner\"],\n },\n ],\n soleAuthorMayApprove: false,\n },\n {\n policyRef: PRIVACY_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.PUBLIC_NOTICE],\n audienceKinds: [GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n jurisdictionRefs: [],\n reviewRequirements: [\n { reviewKind: GovernedDocumentReviewKind.BUSINESS, reviewerQualificationRefs: [\"reviewer-qualification:business-owner\"] },\n { reviewKind: GovernedDocumentReviewKind.LEGAL, reviewerQualificationRefs: [\"reviewer-qualification:privacy-legal\"] },\n { reviewKind: GovernedDocumentReviewKind.PRIVACY, reviewerQualificationRefs: [\"reviewer-qualification:privacy-legal\"] },\n ],\n soleAuthorMayApprove: false,\n },\n {\n policyRef: TERMS_REVIEW_POLICY_REF,\n policyVersion: 1,\n documentClasses: [GovernedDocumentClass.CONTRACTUAL_TERMS],\n audienceKinds: [GovernedDocumentAudienceKind.BUSINESS_CUSTOMER, GovernedDocumentAudienceKind.CONSUMER, GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n jurisdictionRefs: [],\n reviewRequirements: [\n { reviewKind: GovernedDocumentReviewKind.BUSINESS, reviewerQualificationRefs: [\"reviewer-qualification:business-owner\"] },\n { reviewKind: GovernedDocumentReviewKind.LEGAL, reviewerQualificationRefs: [\"reviewer-qualification:contract-legal\"] },\n ],\n soleAuthorMayApprove: false,\n },\n ].sort((left, right) => compareCanonicalText(left.policyRef, right.policyRef)),\n claimPolicies: [\n {\n policyRef: INTERNAL_GOVERNANCE_CLAIM_POLICY_REF,\n policyVersion: 1,\n prohibitedClaims: Object.values(AssuranceDocumentClaimProhibition).sort(compareCanonicalText),\n requiresExplicitAuthorityForPositiveAssuranceClaim: true,\n requiresEvidenceScopeAndPeriodForOperatingClaim: true,\n },\n {\n policyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n policyVersion: 1,\n prohibitedClaims: [\n AssuranceDocumentClaimProhibition.CERTIFICATION_WITHOUT_AUTHORITY,\n AssuranceDocumentClaimProhibition.LEGAL_ADVICE_OR_LEGAL_CONCLUSION,\n AssuranceDocumentClaimProhibition.NIST_AS_LEGAL_EQUIVALENCE,\n AssuranceDocumentClaimProhibition.OPERATING_EFFECTIVENESS_WITHOUT_EVIDENCE,\n AssuranceDocumentClaimProhibition.SELF_ATTESTATION_AS_INDEPENDENT_ASSURANCE,\n AssuranceDocumentClaimProhibition.UNSCOPED_COMPLIANCE_CLAIM,\n ],\n requiresExplicitAuthorityForPositiveAssuranceClaim: true,\n requiresEvidenceScopeAndPeriodForOperatingClaim: true,\n },\n ].sort((left, right) => compareCanonicalText(left.policyRef, right.policyRef)),\n definitions: [\n ...coreInternalDefinitions,\n {\n identity: { definitionRef: DOCUMENT_DEFINITION_PRIVACY_NOTICE_REF, definitionVersion: 1 },\n stableKindRef: \"document-kind:privacy-notice\",\n documentClass: GovernedDocumentClass.PUBLIC_NOTICE,\n applicabilityKind: AssuranceDocumentCatalogApplicabilityKind.CORE,\n governanceSubjectKinds: [\n GovernedDocumentGovernanceSubjectKind.APPLICATION_OPERATOR,\n GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY,\n GovernedDocumentGovernanceSubjectKind.TENANT_ORGANIZATION,\n ],\n audienceKinds: [GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n requiredFactRefs: [\n \"document-fact:controller-and-contact\",\n \"document-fact:data-categories-and-sources\",\n \"document-fact:international-transfers\",\n \"document-fact:lawful-bases\",\n \"document-fact:processing-purposes\",\n \"document-fact:recipients-and-processors\",\n \"document-fact:retention-rules\",\n \"document-fact:rights-and-complaint-route\",\n ],\n requiredSectionRefs: [\n \"document-section:automated-decisions\",\n \"document-section:changes-and-effective-date\",\n \"document-section:contact\",\n \"document-section:data-and-sources\",\n \"document-section:identity-and-role\",\n \"document-section:purposes-and-bases\",\n \"document-section:recipients-and-transfers\",\n \"document-section:retention\",\n \"document-section:rights\",\n \"document-section:scope-and-audience\",\n \"document-section:security-summary\",\n ],\n qualifiedReviewPolicyRefs: [PRIVACY_REVIEW_POLICY_REF],\n sourcePolicyRefs: PRIVACY_SOURCE_POLICY_REFS,\n publicationChannelKinds: [GovernedDocumentPublicationChannelKind.DURABLE_DOWNLOAD, GovernedDocumentPublicationChannelKind.PUBLIC_WEB],\n allowedInteractionKinds: [GovernedDocumentInteractionKind.NOTICE_ACKNOWLEDGED, GovernedDocumentInteractionKind.NOTICE_DELIVERED],\n retentionPolicyRef: \"retention-policy:governed-public-documents\",\n reviewTriggerRefs: [\n \"document-review-trigger:audience-or-jurisdiction-change\",\n \"document-review-trigger:processing-or-provider-change\",\n \"document-review-trigger:source-change\",\n ],\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n },\n {\n identity: { definitionRef: DOCUMENT_DEFINITION_SERVICE_TERMS_REF, definitionVersion: 2 },\n stableKindRef: \"document-kind:service-terms\",\n documentClass: GovernedDocumentClass.CONTRACTUAL_TERMS,\n applicabilityKind: AssuranceDocumentCatalogApplicabilityKind.CORE,\n governanceSubjectKinds: [GovernedDocumentGovernanceSubjectKind.APPLICATION_OPERATOR],\n audienceKinds: [GovernedDocumentAudienceKind.BUSINESS_CUSTOMER, GovernedDocumentAudienceKind.CONSUMER, GovernedDocumentAudienceKind.PUBLIC_GENERAL],\n requiredFactRefs: [\n \"document-fact:account-eligibility\",\n \"document-fact:ai-features-and-content-use\",\n \"document-fact:audience-commercial-model\",\n \"document-fact:billing-renewal-cancellation\",\n \"document-fact:data-exit\",\n \"document-fact:dispute-and-governing-law\",\n \"document-fact:liability-position\",\n \"document-fact:operator-legal-identity\",\n \"document-fact:service-level-commitments\",\n \"document-fact:service-scope\",\n \"document-fact:third-party-service-dependencies\",\n ],\n requiredSectionRefs: [\n \"document-section:account-duties\",\n \"document-section:billing\",\n \"document-section:changes\",\n \"document-section:data-exit\",\n \"document-section:disputes\",\n \"document-section:eligibility\",\n \"document-section:intellectual-property\",\n \"document-section:liability\",\n \"document-section:operator-identity\",\n \"document-section:service-scope\",\n \"document-section:suspension-and-termination\",\n ],\n qualifiedReviewPolicyRefs: [TERMS_REVIEW_POLICY_REF],\n sourcePolicyRefs: TERMS_SOURCE_POLICY_REFS,\n publicationChannelKinds: [\n GovernedDocumentPublicationChannelKind.DIRECT_DELIVERY,\n GovernedDocumentPublicationChannelKind.DURABLE_DOWNLOAD,\n GovernedDocumentPublicationChannelKind.PUBLIC_WEB,\n ],\n allowedInteractionKinds: [GovernedDocumentInteractionKind.CONTRACT_ACCEPTED],\n retentionPolicyRef: \"retention-policy:governed-contract-releases\",\n reviewTriggerRefs: [\n \"document-review-trigger:audience-or-jurisdiction-change\",\n \"document-review-trigger:commercial-or-service-change\",\n \"document-review-trigger:source-change\",\n ],\n claimPolicyRef: PUBLIC_DOCUMENT_CLAIM_POLICY_REF,\n },\n ].sort((left, right) => compareCanonicalText(left.identity.definitionRef, right.identity.definitionRef)),\n blueprints,\n });\n}\n"]}
|