@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
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { JurisdictionSlugSchema } from "@wildo-ai/saas-models";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { ASSURANCE_CAPABILITY_AUTHORITIES, ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS, INITIAL_ASSURANCE_AUTHORITY_BASIS_REF, INITIAL_ASSURANCE_AUTHORITY_BASIS_VERSION, } from "./assurance-authority-basis.definitions.js";
|
|
4
|
+
import { AssuranceGapDisposition, AssuranceGovernanceActorKind } from "./assurance-foundation.schemas.js";
|
|
5
|
+
import { AssuranceProgramApplicabilityStatus, AssuranceProgramCapabilityResolution, AssuranceProgramObligationApplicabilityStatus, AssuranceProgramObligationBlockingEffect, AssuranceProgramObligationCoverageReviewDisposition, AssuranceProgramProofStage, AssuranceProgramScopeSelectorKind, AssuranceProgramSpecificationV3Schema, } from "./assurance-program.schemas.js";
|
|
6
|
+
import { INITIAL_ASSURANCE_SOURCE_REGISTRY } from "./assurance-source-registry.definitions.js";
|
|
7
|
+
/**
|
|
8
|
+
* The STRICT contract a provider answers for the `compliance-program` family.
|
|
9
|
+
*
|
|
10
|
+
* ## Why the family schema is not this contract
|
|
11
|
+
*
|
|
12
|
+
* `AssuranceProgramSpecificationV3Schema` is what a HAND-AUTHORED programme is parsed against. It carries sixteen top-level collections, and one obligation entry alone
|
|
13
|
+
* has twenty-one fields — most of them `.min(1)` arrays of namespaced refs that must agree with each other across five other collections. Handing that to a provider is
|
|
14
|
+
* handing it a dozen ways to fail on FORM rather than on substance. The binding that consumes this pair says what the absence costs: three families shipped a strict
|
|
15
|
+
* generation schema with no caller while the lane constrained the model with the permissive family schema, and `tasks: []` / `modules: []` became generatable and landed
|
|
16
|
+
* over real artifacts (live incidents 2026-08-24/25).
|
|
17
|
+
*
|
|
18
|
+
* ## What a generator may NOT decide, and why this contract is narrower than it looks
|
|
19
|
+
*
|
|
20
|
+
* Two things are looked up rather than asked for, and both refusals are the point:
|
|
21
|
+
*
|
|
22
|
+
* - **Which objectives may be bound at all.** {@link ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS} covers a SUBSET of the catalog's 49 objectives — 9, measured
|
|
23
|
+
* 2026-09-02, tracked as #207; count them rather than quoting that. Every obligation needs
|
|
24
|
+
* implementation, evidence and verification expectation refs at `.min(1)`, and only the basis may say what an objective demands. Asked for, a provider would invent
|
|
25
|
+
* an expectation ref for any UNBOUND objective and the result would VALIDATE — a programme claiming coverage the framework has never stated a demand for. Looked up,
|
|
26
|
+
* the ceiling is mechanical (#207).
|
|
27
|
+
* - **What a source is and what may be done with it.** Source edition, authority kind and name, lifecycle status and the RIGHTS reference are stamped from
|
|
28
|
+
* {@link INITIAL_ASSURANCE_SOURCE_REGISTRY}. A model must never author a rights record: rights decide what may be reproduced, and a fabricated one is a licensing
|
|
29
|
+
* claim nobody reviewed.
|
|
30
|
+
*
|
|
31
|
+
* ## What it DOES ask for is a human's answer, carried through
|
|
32
|
+
*
|
|
33
|
+
* `reviewedAt`, `reviewerRoleSlug`, `firstReviewOn` and every coverage disposition are human decisions. A coverage decision's own schema calls it an "Exact
|
|
34
|
+
* human-reviewed coverage claim" and its disposition enum has no unreviewed member, so a programme cannot exist without one. This contract does not let a model INVENT
|
|
35
|
+
* them — it carries answers the playbook elicited from the creator, which is a live path (the companion reads `elicitationAnswers` on dispatch). The method prose is
|
|
36
|
+
* what binds them to the elicited answer; nothing here can tell an echoed answer from an invented one, and that guard belongs later, judge-style
|
|
37
|
+
* (`.claude/rules/application-creation-directive.md`).
|
|
38
|
+
*
|
|
39
|
+
* `NOT_APPLICABLE` is deliberately absent from the obligation applicability options below: that branch of the family's discriminated union requires `evidenceRefs`
|
|
40
|
+
* at `.min(1)`, and evidence that an obligation does not apply is not derivable. `UNDETERMINED` with a rationale is the honest answer, and the compliance-posture
|
|
41
|
+
* method asks for exactly that — "record any missing detail as `UNDETERMINED` or an explicit gap".
|
|
42
|
+
*/
|
|
43
|
+
const SemanticSlugSchema = z.string().trim().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u, "expected a kebab-case slug");
|
|
44
|
+
const ProseSchema = z.string().trim().min(1);
|
|
45
|
+
/** The two applicability answers a derivation may honestly give. See the file header for why `NOT_APPLICABLE` is absent. */
|
|
46
|
+
const GenerableObligationApplicabilityStatusSchema = z.enum([
|
|
47
|
+
AssuranceProgramObligationApplicabilityStatus.APPLICABLE,
|
|
48
|
+
AssuranceProgramObligationApplicabilityStatus.UNDETERMINED,
|
|
49
|
+
]);
|
|
50
|
+
export const AssuranceProgramObligationGenerationSchema = z.strictObject({
|
|
51
|
+
/** Stamped into `obligation:<slug>`, `obligation-applicability:<slug>` and `obligation-coverage:<slug>`. */
|
|
52
|
+
slug: SemanticSlugSchema,
|
|
53
|
+
/** Must be an objective {@link ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS} covers; the normalizer refuses any other. */
|
|
54
|
+
objectiveRef: z.string().trim().min(1),
|
|
55
|
+
/** Which of the declared `sources` this obligation answers. */
|
|
56
|
+
sourceSlug: SemanticSlugSchema,
|
|
57
|
+
/** Stamped into `source-requirement:<slug>` — the specific requirement of that source. */
|
|
58
|
+
requirementSlug: SemanticSlugSchema,
|
|
59
|
+
governanceActorKinds: z.array(z.enum(AssuranceGovernanceActorKind)).min(1),
|
|
60
|
+
applicabilityStatus: GenerableObligationApplicabilityStatusSchema,
|
|
61
|
+
applicabilityRationale: ProseSchema,
|
|
62
|
+
/** A HUMAN decision, elicited — see the file header. */
|
|
63
|
+
coverageDisposition: z.enum(AssuranceProgramObligationCoverageReviewDisposition),
|
|
64
|
+
coverageRationale: ProseSchema,
|
|
65
|
+
requiredProofStage: z.enum(AssuranceProgramProofStage),
|
|
66
|
+
blockingEffect: z.enum(AssuranceProgramObligationBlockingEffect),
|
|
67
|
+
/** Stamped into `review-trigger:<slug>` — what invalidates this obligation's review. */
|
|
68
|
+
reviewTriggerSlugs: z.array(SemanticSlugSchema).min(1),
|
|
69
|
+
/**
|
|
70
|
+
* How far the selected capability actually carries this objective.
|
|
71
|
+
*
|
|
72
|
+
* Required because the family refuses an obligation with no implementation decision
|
|
73
|
+
* (`INCOMPLETE_IMPLEMENTATION_DECISION`) — a bound objective with no stated means is a claim with no
|
|
74
|
+
* mechanism. WHICH capability is not asked for: it is derived from the authority basis, which is the
|
|
75
|
+
* only thing entitled to say what satisfies an objective.
|
|
76
|
+
*/
|
|
77
|
+
implementationResolution: z.enum(AssuranceProgramCapabilityResolution),
|
|
78
|
+
/** Where the gap between the objective and the selected capability stands. `NOT_EVALUATED` is honest; a silent omission is not. */
|
|
79
|
+
gapDisposition: z.enum(AssuranceGapDisposition),
|
|
80
|
+
/** What the selected capability does NOT cover. Deduplicated and sorted by the runtime. */
|
|
81
|
+
implementationLimitations: z.array(ProseSchema),
|
|
82
|
+
});
|
|
83
|
+
export const AssuranceProgramSourceApplicabilityGenerationSchema = z.strictObject({
|
|
84
|
+
/** A `sourceRef` of {@link INITIAL_ASSURANCE_SOURCE_REGISTRY} WITHOUT its `source:` prefix. The normalizer refuses an unknown one. */
|
|
85
|
+
sourceSlug: SemanticSlugSchema,
|
|
86
|
+
status: z.enum(AssuranceProgramApplicabilityStatus),
|
|
87
|
+
/** Why this source does or does not reach the application. Never a restatement of the source's own title. */
|
|
88
|
+
basis: ProseSchema,
|
|
89
|
+
effectiveFrom: z.iso.date(),
|
|
90
|
+
/** Stamped into `invalidation:<slug>` — what would force this applicability decision to be retaken. */
|
|
91
|
+
invalidationSlugs: z.array(SemanticSlugSchema).min(1),
|
|
92
|
+
});
|
|
93
|
+
export const AssuranceProgramGenerationSchema = z
|
|
94
|
+
.strictObject({
|
|
95
|
+
/** Stamped into `compliance-program:<slug>`, `scope:<slug>`, `system-boundary:<slug>` and the obligation register's ref. */
|
|
96
|
+
applicationSlug: SemanticSlugSchema,
|
|
97
|
+
scopeKind: z.enum(AssuranceProgramScopeSelectorKind),
|
|
98
|
+
/**
|
|
99
|
+
* Stamped into `jurisdiction:<slug>`. Empty is a WILDCARD in the family's overlap proof, not an omission.
|
|
100
|
+
*
|
|
101
|
+
* Held to {@link JurisdictionSlugSchema} rather than to a generic kebab-case slug, because this is
|
|
102
|
+
* the one place a jurisdiction enters the system as MODEL-SUPPLIED TEXT and is then concatenated
|
|
103
|
+
* into a ref that a persisted scope selector carries. A generic slug accepts `united-kingdom`,
|
|
104
|
+
* which is not a jurisdiction anything else in this repository can resolve.
|
|
105
|
+
*/
|
|
106
|
+
jurisdictionSlugs: z.array(JurisdictionSlugSchema),
|
|
107
|
+
/** Stamped into `data-category:<slug>`. Empty is a wildcard, as above. */
|
|
108
|
+
dataCategorySlugs: z.array(SemanticSlugSchema),
|
|
109
|
+
/** The programme's roles. `applicationRoleRef` is the application's OWN role key, not a namespaced ref. */
|
|
110
|
+
roles: z.array(z.strictObject({ slug: SemanticSlugSchema, applicationRoleRef: z.string().trim().min(1) })).min(1),
|
|
111
|
+
responsibility: z.strictObject({
|
|
112
|
+
responsibleRoleSlugs: z.array(SemanticSlugSchema).min(1),
|
|
113
|
+
operatingRoleSlugs: z.array(SemanticSlugSchema).min(1),
|
|
114
|
+
evidenceProviderRoleSlugs: z.array(SemanticSlugSchema).min(1),
|
|
115
|
+
approvingRoleSlugs: z.array(SemanticSlugSchema).min(1),
|
|
116
|
+
}),
|
|
117
|
+
/** The role that reviewed the coverage decisions. A human answer, elicited. */
|
|
118
|
+
reviewerRoleSlug: SemanticSlugSchema,
|
|
119
|
+
/** When that review happened. A human answer, elicited — never `now`, which no normalizer has. */
|
|
120
|
+
reviewedAt: z.iso.datetime({ offset: true }),
|
|
121
|
+
/** When each obligation is next reviewed. A human answer, elicited: a commitment nobody may invent. */
|
|
122
|
+
firstReviewOn: z.iso.date(),
|
|
123
|
+
sources: z.array(AssuranceProgramSourceApplicabilityGenerationSchema).min(1),
|
|
124
|
+
obligations: z.array(AssuranceProgramObligationGenerationSchema).min(1),
|
|
125
|
+
/**
|
|
126
|
+
* What this programme does NOT claim.
|
|
127
|
+
*
|
|
128
|
+
* `.min(1)` where the family permits zero, deliberately. A programme binding two of forty-nine objectives that states no limitation reads as a complete assurance
|
|
129
|
+
* posture, and the claim guards downstream refuse exactly that reading. Saying what is out of scope is the cheapest thing that keeps it honest.
|
|
130
|
+
*/
|
|
131
|
+
limitations: z.array(ProseSchema).min(1),
|
|
132
|
+
})
|
|
133
|
+
.superRefine((generated, context) => {
|
|
134
|
+
const roleSlugs = new Set(generated.roles.map((role) => role.slug));
|
|
135
|
+
generated.roles.forEach((role, index) => {
|
|
136
|
+
if (generated.roles.filter((candidate) => candidate.slug === role.slug).length > 1) {
|
|
137
|
+
context.addIssue({ code: "custom", path: ["roles", index, "slug"], message: `duplicate role slug "${role.slug}"` });
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
const requireRole = (slug, path) => {
|
|
141
|
+
if (!roleSlugs.has(slug))
|
|
142
|
+
context.addIssue({ code: "custom", path, message: `"${slug}" is not one of the declared roles` });
|
|
143
|
+
};
|
|
144
|
+
requireRole(generated.reviewerRoleSlug, ["reviewerRoleSlug"]);
|
|
145
|
+
for (const [field, slugs] of Object.entries(generated.responsibility)) {
|
|
146
|
+
slugs.forEach((slug, index) => requireRole(slug, ["responsibility", field, index]));
|
|
147
|
+
}
|
|
148
|
+
const sourceSlugs = new Set(generated.sources.map((source) => source.sourceSlug));
|
|
149
|
+
generated.sources.forEach((source, index) => {
|
|
150
|
+
if (generated.sources.filter((candidate) => candidate.sourceSlug === source.sourceSlug).length > 1) {
|
|
151
|
+
context.addIssue({ code: "custom", path: ["sources", index, "sourceSlug"], message: `duplicate source "${source.sourceSlug}"` });
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
/*
|
|
155
|
+
* A review scheduled BEFORE the review that scheduled it is not a commitment, it is an already-missed one. Nothing downstream catches this: the family takes
|
|
156
|
+
* `reviewOn` as a plain date and never compares it to the coverage decision's `reviewedAt`.
|
|
157
|
+
*/
|
|
158
|
+
if (generated.firstReviewOn <= generated.reviewedAt.slice(0, 10)) {
|
|
159
|
+
context.addIssue({
|
|
160
|
+
code: "custom",
|
|
161
|
+
path: ["firstReviewOn"],
|
|
162
|
+
message: `the next review (${generated.firstReviewOn}) must fall after the review that scheduled it (${generated.reviewedAt.slice(0, 10)})`,
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
const seenObligationObjectives = new Set();
|
|
166
|
+
const seenObligationSlugs = new Set();
|
|
167
|
+
generated.obligations.forEach((obligation, index) => {
|
|
168
|
+
/*
|
|
169
|
+
* One objective, one obligation. The family refuses two obligations over the same objective/scope subject as `AMBIGUOUS_OBLIGATION_BINDING`, several layers
|
|
170
|
+
* later and by path index. Catching it here tells the model WHICH objective it bound twice, which is the difference between a useful retry and a guess.
|
|
171
|
+
*/
|
|
172
|
+
if (seenObligationObjectives.has(obligation.objectiveRef)) {
|
|
173
|
+
context.addIssue({
|
|
174
|
+
code: "custom",
|
|
175
|
+
path: ["obligations", index, "objectiveRef"],
|
|
176
|
+
message: `"${obligation.objectiveRef}" is bound twice; one objective carries one obligation in a single programme scope`,
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
seenObligationObjectives.add(obligation.objectiveRef);
|
|
180
|
+
if (seenObligationSlugs.has(obligation.slug)) {
|
|
181
|
+
context.addIssue({ code: "custom", path: ["obligations", index, "slug"], message: `duplicate obligation slug "${obligation.slug}"` });
|
|
182
|
+
}
|
|
183
|
+
seenObligationSlugs.add(obligation.slug);
|
|
184
|
+
if (!sourceSlugs.has(obligation.sourceSlug)) {
|
|
185
|
+
context.addIssue({
|
|
186
|
+
code: "custom",
|
|
187
|
+
path: ["obligations", index, "sourceSlug"],
|
|
188
|
+
message: `"${obligation.sourceSlug}" is not declared in \`sources\`; an obligation may only answer a source whose applicability this programme decided`,
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
/**
|
|
194
|
+
* The basis's authority for a capability an expectation requires.
|
|
195
|
+
*
|
|
196
|
+
* Throws rather than returning undefined: an expectation naming a capability the basis does not attest is a hole in the basis itself, and the family would refuse the
|
|
197
|
+
* programme with `UNKNOWN_CAPABILITY` several layers later, where the cause is far less legible.
|
|
198
|
+
*/
|
|
199
|
+
function capabilityAuthorityFor(capabilityRef) {
|
|
200
|
+
const authority = ASSURANCE_CAPABILITY_AUTHORITIES.find((candidate) => candidate.identity.capabilityRef === capabilityRef);
|
|
201
|
+
if (!authority)
|
|
202
|
+
throw new Error(`The assurance authority basis requires "${capabilityRef}" but attests no such capability.`);
|
|
203
|
+
return authority;
|
|
204
|
+
}
|
|
205
|
+
/** Objectives a generated programme may bind, as a readable list for a rejection message. */
|
|
206
|
+
const coveredObjectiveRefs = () => ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS.map((binding) => binding.objective.objectiveRef);
|
|
207
|
+
/**
|
|
208
|
+
* Normalize strict provider output into a canonical, persistable V3 assurance programme.
|
|
209
|
+
*
|
|
210
|
+
* Everything namespaced, versioned or ordered is stamped here. The family requires several collections lexically sorted by their identity, which is a canonicalization
|
|
211
|
+
* concern rather than a content one — asking a provider to sort is asking it to fail on form.
|
|
212
|
+
*
|
|
213
|
+
* Two lookups are REFUSALS rather than conveniences, and both throw so the lane returns the finding to the model exactly like a validator rejection: an objective the
|
|
214
|
+
* authority basis does not cover, and a source the registry does not know.
|
|
215
|
+
*/
|
|
216
|
+
export function parseAssuranceProgramGeneration(input) {
|
|
217
|
+
const generated = AssuranceProgramGenerationSchema.parse(input);
|
|
218
|
+
const scopeSelectorRef = `scope:${generated.applicationSlug}`;
|
|
219
|
+
const basisIdentity = { basisRef: INITIAL_ASSURANCE_AUTHORITY_BASIS_REF, basisVersion: INITIAL_ASSURANCE_AUTHORITY_BASIS_VERSION };
|
|
220
|
+
const sortByKey = (values, key) => [...values].sort((left, right) => (key(left) < key(right) ? -1 : key(left) > key(right) ? 1 : 0));
|
|
221
|
+
const sourceReferences = generated.sources.map((declared) => {
|
|
222
|
+
const registered = INITIAL_ASSURANCE_SOURCE_REGISTRY.sources.find((source) => source.identity.sourceRef === `source:${declared.sourceSlug}`);
|
|
223
|
+
if (!registered) {
|
|
224
|
+
throw new Error(`Unknown assurance source "source:${declared.sourceSlug}". A programme may only cite a source the registry carries, because the registry is what records its edition, authority and RIGHTS.`);
|
|
225
|
+
}
|
|
226
|
+
return {
|
|
227
|
+
identity: registered.identity,
|
|
228
|
+
edition: registered.edition,
|
|
229
|
+
authorityKind: registered.authorityKind,
|
|
230
|
+
authorityName: registered.authorityName,
|
|
231
|
+
lifecycleStatus: registered.lifecycleStatus,
|
|
232
|
+
rightsRef: registered.rights.rightsRef,
|
|
233
|
+
rightsVersion: registered.rights.rightsVersion,
|
|
234
|
+
};
|
|
235
|
+
});
|
|
236
|
+
const registeredSourceBySlug = new Map(generated.sources.map((declared, index) => [declared.sourceSlug, sourceReferences[index]]));
|
|
237
|
+
const applicabilityDecisions = generated.sources.map((declared) => ({
|
|
238
|
+
decisionRef: `applicability:${declared.sourceSlug}`,
|
|
239
|
+
decisionVersion: 1,
|
|
240
|
+
source: registeredSourceBySlug.get(declared.sourceSlug).identity,
|
|
241
|
+
scopeSelectorRef,
|
|
242
|
+
status: declared.status,
|
|
243
|
+
basis: declared.basis,
|
|
244
|
+
authorityDecisionRef: `authority-decision:${declared.sourceSlug}`,
|
|
245
|
+
effectiveFrom: declared.effectiveFrom,
|
|
246
|
+
invalidationConditionRefs: sortByKey(declared.invalidationSlugs.map((slug) => `invalidation:${slug}`), (value) => value),
|
|
247
|
+
}));
|
|
248
|
+
const obligations = generated.obligations.map((obligation) => {
|
|
249
|
+
const binding = ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS.find((candidate) => candidate.objective.objectiveRef === obligation.objectiveRef);
|
|
250
|
+
if (!binding) {
|
|
251
|
+
throw new Error(`The assurance authority basis states no expectation for "${obligation.objectiveRef}", so a programme cannot bind it. Covered today: ${coveredObjectiveRefs().join(", ")}. Extending that coverage is framework authoring, not generation (#207).`);
|
|
252
|
+
}
|
|
253
|
+
const sourceIdentity = registeredSourceBySlug.get(obligation.sourceSlug).identity;
|
|
254
|
+
const sourceRequirementRefs = [{ source: sourceIdentity, requirementRef: `source-requirement:${obligation.requirementSlug}`, requirementVersion: 1 }];
|
|
255
|
+
return {
|
|
256
|
+
entry: {
|
|
257
|
+
obligationRef: `obligation:${obligation.slug}`,
|
|
258
|
+
obligationVersion: 1,
|
|
259
|
+
objective: binding.objective,
|
|
260
|
+
scopeSelectorRefs: [scopeSelectorRef],
|
|
261
|
+
governanceActorKinds: [...obligation.governanceActorKinds].sort(),
|
|
262
|
+
sourceRequirementRefs,
|
|
263
|
+
sourceApplicabilityDecisionRefs: [{ decisionRef: `applicability:${obligation.sourceSlug}`, decisionVersion: 1 }],
|
|
264
|
+
coverageDecision: { coverageDecisionRef: `obligation-coverage:${obligation.slug}`, coverageDecisionVersion: 1 },
|
|
265
|
+
applicability: {
|
|
266
|
+
decisionRef: `obligation-applicability:${obligation.slug}`,
|
|
267
|
+
decisionVersion: 1,
|
|
268
|
+
status: obligation.applicabilityStatus,
|
|
269
|
+
rationale: obligation.applicabilityRationale,
|
|
270
|
+
reviewedByRoleRef: `role:${generated.reviewerRoleSlug}`,
|
|
271
|
+
decidedAt: generated.reviewedAt,
|
|
272
|
+
evidenceRefs: [],
|
|
273
|
+
invalidationConditionRefs: sortByKey(obligation.reviewTriggerSlugs.map((slug) => `invalidation:${slug}`), (value) => value),
|
|
274
|
+
},
|
|
275
|
+
responsibilityAssignmentRefs: [`assignment:${generated.applicationSlug}`],
|
|
276
|
+
implementationExpectationRefs: [{ expectationRef: binding.implementationExpectationRef, expectationVersion: 1 }],
|
|
277
|
+
evidenceExpectationRefs: [{ expectationRef: binding.evidenceExpectationRef, expectationVersion: 1 }],
|
|
278
|
+
verificationExpectationRefs: [{ expectationRef: binding.verificationExpectationRef, expectationVersion: 1 }],
|
|
279
|
+
requiredProofStage: obligation.requiredProofStage,
|
|
280
|
+
blockingEffect: obligation.blockingEffect,
|
|
281
|
+
gapRefs: [],
|
|
282
|
+
dependencyObligationRefs: [],
|
|
283
|
+
reviewOwnerRoleRefs: [`role:${generated.reviewerRoleSlug}`],
|
|
284
|
+
reviewOn: generated.firstReviewOn,
|
|
285
|
+
reviewTriggerRefs: sortByKey(obligation.reviewTriggerSlugs.map((slug) => `review-trigger:${slug}`), (value) => value),
|
|
286
|
+
},
|
|
287
|
+
decision: {
|
|
288
|
+
decisionRef: `implementation-decision:${obligation.slug}`,
|
|
289
|
+
decisionVersion: 1,
|
|
290
|
+
objective: binding.objective,
|
|
291
|
+
scopeSelectorRefs: [scopeSelectorRef],
|
|
292
|
+
resolution: obligation.implementationResolution,
|
|
293
|
+
/*
|
|
294
|
+
* Derived, never asked for: the authority basis is the only thing entitled to say WHICH capability satisfies an objective. A provider naming its own would be
|
|
295
|
+
* choosing the mechanism and then attesting to it.
|
|
296
|
+
*/
|
|
297
|
+
capabilitySelections: sortByKey(binding.requiredCapabilityRefs.map((capabilityRef) => ({
|
|
298
|
+
capabilityKind: capabilityAuthorityFor(capabilityRef).capabilityKind,
|
|
299
|
+
capabilityRef,
|
|
300
|
+
capabilityVersion: 1,
|
|
301
|
+
selectedOptions: [],
|
|
302
|
+
})), (selection) => selection.capabilityRef),
|
|
303
|
+
selectionAuthorityRef: `authority-decision:${generated.applicationSlug}-implementation`,
|
|
304
|
+
knownLimitations: sortByKey([...new Set(obligation.implementationLimitations)], (value) => value),
|
|
305
|
+
gapDisposition: obligation.gapDisposition,
|
|
306
|
+
gapRefs: [],
|
|
307
|
+
},
|
|
308
|
+
coverage: {
|
|
309
|
+
coverageDecisionRef: `obligation-coverage:${obligation.slug}`,
|
|
310
|
+
coverageDecisionVersion: 1,
|
|
311
|
+
obligation: { obligationRef: `obligation:${obligation.slug}`, obligationVersion: 1 },
|
|
312
|
+
sourceRequirementRefs,
|
|
313
|
+
reviewDisposition: obligation.coverageDisposition,
|
|
314
|
+
reviewedByRoleRef: `role:${generated.reviewerRoleSlug}`,
|
|
315
|
+
reviewedAt: generated.reviewedAt,
|
|
316
|
+
rationale: obligation.coverageRationale,
|
|
317
|
+
limitationRefs: [],
|
|
318
|
+
},
|
|
319
|
+
};
|
|
320
|
+
});
|
|
321
|
+
return AssuranceProgramSpecificationV3Schema.parse({
|
|
322
|
+
schemaVersion: 3,
|
|
323
|
+
programRef: `compliance-program:${generated.applicationSlug}`,
|
|
324
|
+
programVersion: 1,
|
|
325
|
+
sourceReferences: sortByKey(sourceReferences, (reference) => `${reference.identity.sourceRef}@${reference.identity.sourceVersion}`),
|
|
326
|
+
scopeSelectors: [
|
|
327
|
+
{
|
|
328
|
+
scopeSelectorRef,
|
|
329
|
+
scopeSelectorVersion: 1,
|
|
330
|
+
kind: generated.scopeKind,
|
|
331
|
+
systemBoundaryRefs: [`system-boundary:${generated.applicationSlug}`],
|
|
332
|
+
organizationScopeRuleRefs: [],
|
|
333
|
+
jurisdictionRefs: sortByKey(generated.jurisdictionSlugs.map((slug) => `jurisdiction:${slug}`), (value) => value),
|
|
334
|
+
dataCategoryRefs: sortByKey(generated.dataCategorySlugs.map((slug) => `data-category:${slug}`), (value) => value),
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
applicabilityDecisions: sortByKey(applicabilityDecisions, (decision) => `${decision.decisionRef}@${decision.decisionVersion}`),
|
|
338
|
+
obligationRegister: {
|
|
339
|
+
schemaVersion: 1,
|
|
340
|
+
registerRef: `obligation-register:${generated.applicationSlug}`,
|
|
341
|
+
registerVersion: 1,
|
|
342
|
+
entries: sortByKey(obligations.map((obligation) => obligation.entry), (entry) => `${entry.obligationRef}@${entry.obligationVersion}`),
|
|
343
|
+
},
|
|
344
|
+
obligationCoverageDecisions: sortByKey(obligations.map((obligation) => obligation.coverage), (coverage) => `${coverage.coverageDecisionRef}@${coverage.coverageDecisionVersion}`),
|
|
345
|
+
sharedResponsibilityRules: [],
|
|
346
|
+
implementationDecisions: sortByKey(obligations.map((obligation) => obligation.decision), (decision) => `${decision.decisionRef}@${decision.decisionVersion}`),
|
|
347
|
+
responsibilityAssignments: [
|
|
348
|
+
{
|
|
349
|
+
assignmentRef: `assignment:${generated.applicationSlug}`,
|
|
350
|
+
scopeSelectorRef,
|
|
351
|
+
responsibleRoleRefs: sortByKey(generated.responsibility.responsibleRoleSlugs.map((slug) => `role:${slug}`), (value) => value),
|
|
352
|
+
operatingRoleRefs: sortByKey(generated.responsibility.operatingRoleSlugs.map((slug) => `role:${slug}`), (value) => value),
|
|
353
|
+
evidenceProviderRoleRefs: sortByKey(generated.responsibility.evidenceProviderRoleSlugs.map((slug) => `role:${slug}`), (value) => value),
|
|
354
|
+
approvingRoleRefs: sortByKey(generated.responsibility.approvingRoleSlugs.map((slug) => `role:${slug}`), (value) => value),
|
|
355
|
+
escalationRoleRefs: [],
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
gapsAndExceptions: [],
|
|
359
|
+
documentationRequirements: [],
|
|
360
|
+
knownProgramLimitations: generated.limitations,
|
|
361
|
+
authorityBases: [
|
|
362
|
+
{
|
|
363
|
+
...basisIdentity,
|
|
364
|
+
/*
|
|
365
|
+
* The engine-side baseline this programme was derived against. It is a single ref because `createInitialAssuranceProgramAuthorityBasis` — which composes the
|
|
366
|
+
* basis around a real implementation revision and its artifacts — has NO production caller today, only tests. When it gains one, this must become that
|
|
367
|
+
* revision's artifact refs rather than this stand-in name.
|
|
368
|
+
*/
|
|
369
|
+
attestedArtifactRefs: ["source-artifact:wildo-assurance-authority-basis"],
|
|
370
|
+
},
|
|
371
|
+
],
|
|
372
|
+
roleAuthorities: sortByKey(generated.roles.map((role) => ({ roleRef: `role:${role.slug}`, applicationRoleRef: role.applicationRoleRef, definitionAuthority: basisIdentity })), (authority) => authority.roleRef),
|
|
373
|
+
capabilityAuthorities: sortByKey([...new Set(obligations.flatMap((obligation) => obligation.decision.capabilitySelections.map((selection) => selection.capabilityRef)))].map((capabilityRef) => {
|
|
374
|
+
const authority = capabilityAuthorityFor(capabilityRef);
|
|
375
|
+
return {
|
|
376
|
+
identity: authority.identity,
|
|
377
|
+
capabilityKind: authority.capabilityKind,
|
|
378
|
+
implementationRefs: [...authority.implementationRefs],
|
|
379
|
+
implementationAuthority: basisIdentity,
|
|
380
|
+
};
|
|
381
|
+
}), (authority) => `${authority.identity.capabilityRef}@${authority.identity.capabilityVersion}`),
|
|
382
|
+
implementationStatements: [],
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
//# sourceMappingURL=assurance-program-generation.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assurance-program-generation.schemas.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-program-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;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uB,EAAE,aAAa;aACvC,CAAC;QACJ,CAAC,CAAC,EACF,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,CAAC,QAAQ,CAAC,aAAa,IAAI,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,CAC7F;QACD,wBAAwB,EAAE,EAAE;KAC7B,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { JurisdictionSlugSchema } from \"@wildo-ai/saas-models\";\nimport { z } from \"zod\";\n\nimport {\n ASSURANCE_CAPABILITY_AUTHORITIES,\n ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS,\n INITIAL_ASSURANCE_AUTHORITY_BASIS_REF,\n INITIAL_ASSURANCE_AUTHORITY_BASIS_VERSION,\n} from \"./assurance-authority-basis.definitions\";\nimport { AssuranceGapDisposition, AssuranceGovernanceActorKind } from \"./assurance-foundation.schemas\";\nimport {\n AssuranceProgramApplicabilityStatus,\n AssuranceProgramCapabilityResolution,\n AssuranceProgramObligationApplicabilityStatus,\n AssuranceProgramObligationBlockingEffect,\n AssuranceProgramObligationCoverageReviewDisposition,\n AssuranceProgramProofStage,\n AssuranceProgramScopeSelectorKind,\n AssuranceProgramSpecificationV3Schema,\n type AssuranceProgramSpecification,\n} from \"./assurance-program.schemas\";\nimport { INITIAL_ASSURANCE_SOURCE_REGISTRY } from \"./assurance-source-registry.definitions\";\n\n/**\n * The STRICT contract a provider answers for the `compliance-program` family.\n *\n * ## Why the family schema is not this contract\n *\n * `AssuranceProgramSpecificationV3Schema` is what a HAND-AUTHORED programme is parsed against. It carries sixteen top-level collections, and one obligation entry alone\n * has twenty-one fields — most of them `.min(1)` arrays of namespaced refs that must agree with each other across five other collections. Handing that to a provider is\n * handing it a dozen ways to fail on FORM rather than on substance. The binding that consumes this pair says what the absence costs: three families shipped a strict\n * generation schema with no caller while the lane constrained the model with the permissive family schema, and `tasks: []` / `modules: []` became generatable and landed\n * over real artifacts (live incidents 2026-08-24/25).\n *\n * ## What a generator may NOT decide, and why this contract is narrower than it looks\n *\n * Two things are looked up rather than asked for, and both refusals are the point:\n *\n * - **Which objectives may be bound at all.** {@link ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS} covers a SUBSET of the catalog's 49 objectives — 9, measured\n * 2026-09-02, tracked as #207; count them rather than quoting that. Every obligation needs\n * implementation, evidence and verification expectation refs at `.min(1)`, and only the basis may say what an objective demands. Asked for, a provider would invent\n * an expectation ref for any UNBOUND objective and the result would VALIDATE — a programme claiming coverage the framework has never stated a demand for. Looked up,\n * the ceiling is mechanical (#207).\n * - **What a source is and what may be done with it.** Source edition, authority kind and name, lifecycle status and the RIGHTS reference are stamped from\n * {@link INITIAL_ASSURANCE_SOURCE_REGISTRY}. A model must never author a rights record: rights decide what may be reproduced, and a fabricated one is a licensing\n * claim nobody reviewed.\n *\n * ## What it DOES ask for is a human's answer, carried through\n *\n * `reviewedAt`, `reviewerRoleSlug`, `firstReviewOn` and every coverage disposition are human decisions. A coverage decision's own schema calls it an \"Exact\n * human-reviewed coverage claim\" and its disposition enum has no unreviewed member, so a programme cannot exist without one. This contract does not let a model INVENT\n * them — it carries answers the playbook elicited from the creator, which is a live path (the companion reads `elicitationAnswers` on dispatch). The method prose is\n * what binds them to the elicited answer; nothing here can tell an echoed answer from an invented one, and that guard belongs later, judge-style\n * (`.claude/rules/application-creation-directive.md`).\n *\n * `NOT_APPLICABLE` is deliberately absent from the obligation applicability options below: that branch of the family's discriminated union requires `evidenceRefs`\n * at `.min(1)`, and evidence that an obligation does not apply is not derivable. `UNDETERMINED` with a rationale is the honest answer, and the compliance-posture\n * method asks for exactly that — \"record any missing detail as `UNDETERMINED` or an explicit gap\".\n */\n\nconst SemanticSlugSchema = z.string().trim().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/u, \"expected a kebab-case slug\");\nconst ProseSchema = z.string().trim().min(1);\n\n/** The two applicability answers a derivation may honestly give. See the file header for why `NOT_APPLICABLE` is absent. */\nconst GenerableObligationApplicabilityStatusSchema = z.enum([\n AssuranceProgramObligationApplicabilityStatus.APPLICABLE,\n AssuranceProgramObligationApplicabilityStatus.UNDETERMINED,\n]);\n\nexport const AssuranceProgramObligationGenerationSchema = z.strictObject({\n /** Stamped into `obligation:<slug>`, `obligation-applicability:<slug>` and `obligation-coverage:<slug>`. */\n slug: SemanticSlugSchema,\n /** Must be an objective {@link ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS} covers; the normalizer refuses any other. */\n objectiveRef: z.string().trim().min(1),\n /** Which of the declared `sources` this obligation answers. */\n sourceSlug: SemanticSlugSchema,\n /** Stamped into `source-requirement:<slug>` — the specific requirement of that source. */\n requirementSlug: SemanticSlugSchema,\n governanceActorKinds: z.array(z.enum(AssuranceGovernanceActorKind)).min(1),\n applicabilityStatus: GenerableObligationApplicabilityStatusSchema,\n applicabilityRationale: ProseSchema,\n /** A HUMAN decision, elicited — see the file header. */\n coverageDisposition: z.enum(AssuranceProgramObligationCoverageReviewDisposition),\n coverageRationale: ProseSchema,\n requiredProofStage: z.enum(AssuranceProgramProofStage),\n blockingEffect: z.enum(AssuranceProgramObligationBlockingEffect),\n /** Stamped into `review-trigger:<slug>` — what invalidates this obligation's review. */\n reviewTriggerSlugs: z.array(SemanticSlugSchema).min(1),\n /**\n * How far the selected capability actually carries this objective.\n *\n * Required because the family refuses an obligation with no implementation decision\n * (`INCOMPLETE_IMPLEMENTATION_DECISION`) — a bound objective with no stated means is a claim with no\n * mechanism. WHICH capability is not asked for: it is derived from the authority basis, which is the\n * only thing entitled to say what satisfies an objective.\n */\n implementationResolution: z.enum(AssuranceProgramCapabilityResolution),\n /** Where the gap between the objective and the selected capability stands. `NOT_EVALUATED` is honest; a silent omission is not. */\n gapDisposition: z.enum(AssuranceGapDisposition),\n /** What the selected capability does NOT cover. Deduplicated and sorted by the runtime. */\n implementationLimitations: z.array(ProseSchema),\n});\nexport type AssuranceProgramObligationGeneration = z.infer<typeof AssuranceProgramObligationGenerationSchema>;\n\nexport const AssuranceProgramSourceApplicabilityGenerationSchema = z.strictObject({\n /** A `sourceRef` of {@link INITIAL_ASSURANCE_SOURCE_REGISTRY} WITHOUT its `source:` prefix. The normalizer refuses an unknown one. */\n sourceSlug: SemanticSlugSchema,\n status: z.enum(AssuranceProgramApplicabilityStatus),\n /** Why this source does or does not reach the application. Never a restatement of the source's own title. */\n basis: ProseSchema,\n effectiveFrom: z.iso.date(),\n /** Stamped into `invalidation:<slug>` — what would force this applicability decision to be retaken. */\n invalidationSlugs: z.array(SemanticSlugSchema).min(1),\n});\n\nexport const AssuranceProgramGenerationSchema = z\n .strictObject({\n /** Stamped into `compliance-program:<slug>`, `scope:<slug>`, `system-boundary:<slug>` and the obligation register's ref. */\n applicationSlug: SemanticSlugSchema,\n scopeKind: z.enum(AssuranceProgramScopeSelectorKind),\n /**\n * Stamped into `jurisdiction:<slug>`. Empty is a WILDCARD in the family's overlap proof, not an omission.\n *\n * Held to {@link JurisdictionSlugSchema} rather than to a generic kebab-case slug, because this is\n * the one place a jurisdiction enters the system as MODEL-SUPPLIED TEXT and is then concatenated\n * into a ref that a persisted scope selector carries. A generic slug accepts `united-kingdom`,\n * which is not a jurisdiction anything else in this repository can resolve.\n */\n jurisdictionSlugs: z.array(JurisdictionSlugSchema),\n /** Stamped into `data-category:<slug>`. Empty is a wildcard, as above. */\n dataCategorySlugs: z.array(SemanticSlugSchema),\n /** The programme's roles. `applicationRoleRef` is the application's OWN role key, not a namespaced ref. */\n roles: z.array(z.strictObject({ slug: SemanticSlugSchema, applicationRoleRef: z.string().trim().min(1) })).min(1),\n responsibility: z.strictObject({\n responsibleRoleSlugs: z.array(SemanticSlugSchema).min(1),\n operatingRoleSlugs: z.array(SemanticSlugSchema).min(1),\n evidenceProviderRoleSlugs: z.array(SemanticSlugSchema).min(1),\n approvingRoleSlugs: z.array(SemanticSlugSchema).min(1),\n }),\n /** The role that reviewed the coverage decisions. A human answer, elicited. */\n reviewerRoleSlug: SemanticSlugSchema,\n /** When that review happened. A human answer, elicited — never `now`, which no normalizer has. */\n reviewedAt: z.iso.datetime({ offset: true }),\n /** When each obligation is next reviewed. A human answer, elicited: a commitment nobody may invent. */\n firstReviewOn: z.iso.date(),\n sources: z.array(AssuranceProgramSourceApplicabilityGenerationSchema).min(1),\n obligations: z.array(AssuranceProgramObligationGenerationSchema).min(1),\n /**\n * What this programme does NOT claim.\n *\n * `.min(1)` where the family permits zero, deliberately. A programme binding two of forty-nine objectives that states no limitation reads as a complete assurance\n * posture, and the claim guards downstream refuse exactly that reading. Saying what is out of scope is the cheapest thing that keeps it honest.\n */\n limitations: z.array(ProseSchema).min(1),\n })\n .superRefine((generated, context) => {\n const roleSlugs = new Set(generated.roles.map((role) => role.slug));\n generated.roles.forEach((role, index) => {\n if (generated.roles.filter((candidate) => candidate.slug === role.slug).length > 1) {\n context.addIssue({ code: \"custom\", path: [\"roles\", index, \"slug\"], message: `duplicate role slug \"${role.slug}\"` });\n }\n });\n const requireRole = (slug: string, path: PropertyKey[]): void => {\n if (!roleSlugs.has(slug)) context.addIssue({ code: \"custom\", path, message: `\"${slug}\" is not one of the declared roles` });\n };\n requireRole(generated.reviewerRoleSlug, [\"reviewerRoleSlug\"]);\n for (const [field, slugs] of Object.entries(generated.responsibility)) {\n slugs.forEach((slug, index) => requireRole(slug, [\"responsibility\", field, index]));\n }\n\n const sourceSlugs = new Set(generated.sources.map((source) => source.sourceSlug));\n generated.sources.forEach((source, index) => {\n if (generated.sources.filter((candidate) => candidate.sourceSlug === source.sourceSlug).length > 1) {\n context.addIssue({ code: \"custom\", path: [\"sources\", index, \"sourceSlug\"], message: `duplicate source \"${source.sourceSlug}\"` });\n }\n });\n\n /*\n * A review scheduled BEFORE the review that scheduled it is not a commitment, it is an already-missed one. Nothing downstream catches this: the family takes\n * `reviewOn` as a plain date and never compares it to the coverage decision's `reviewedAt`.\n */\n if (generated.firstReviewOn <= generated.reviewedAt.slice(0, 10)) {\n context.addIssue({\n code: \"custom\",\n path: [\"firstReviewOn\"],\n message: `the next review (${generated.firstReviewOn}) must fall after the review that scheduled it (${generated.reviewedAt.slice(0, 10)})`,\n });\n }\n\n const seenObligationObjectives = new Set<string>();\n const seenObligationSlugs = new Set<string>();\n generated.obligations.forEach((obligation, index) => {\n /*\n * One objective, one obligation. The family refuses two obligations over the same objective/scope subject as `AMBIGUOUS_OBLIGATION_BINDING`, several layers\n * later and by path index. Catching it here tells the model WHICH objective it bound twice, which is the difference between a useful retry and a guess.\n */\n if (seenObligationObjectives.has(obligation.objectiveRef)) {\n context.addIssue({\n code: \"custom\",\n path: [\"obligations\", index, \"objectiveRef\"],\n message: `\"${obligation.objectiveRef}\" is bound twice; one objective carries one obligation in a single programme scope`,\n });\n }\n seenObligationObjectives.add(obligation.objectiveRef);\n if (seenObligationSlugs.has(obligation.slug)) {\n context.addIssue({ code: \"custom\", path: [\"obligations\", index, \"slug\"], message: `duplicate obligation slug \"${obligation.slug}\"` });\n }\n seenObligationSlugs.add(obligation.slug);\n if (!sourceSlugs.has(obligation.sourceSlug)) {\n context.addIssue({\n code: \"custom\",\n path: [\"obligations\", index, \"sourceSlug\"],\n message: `\"${obligation.sourceSlug}\" is not declared in \\`sources\\`; an obligation may only answer a source whose applicability this programme decided`,\n });\n }\n });\n });\nexport type AssuranceProgramGeneration = z.infer<typeof AssuranceProgramGenerationSchema>;\n\n/**\n * The basis's authority for a capability an expectation requires.\n *\n * Throws rather than returning undefined: an expectation naming a capability the basis does not attest is a hole in the basis itself, and the family would refuse the\n * programme with `UNKNOWN_CAPABILITY` several layers later, where the cause is far less legible.\n */\nfunction capabilityAuthorityFor(capabilityRef: string): (typeof ASSURANCE_CAPABILITY_AUTHORITIES)[number] {\n const authority = ASSURANCE_CAPABILITY_AUTHORITIES.find((candidate) => candidate.identity.capabilityRef === capabilityRef);\n if (!authority) throw new Error(`The assurance authority basis requires \"${capabilityRef}\" but attests no such capability.`);\n return authority;\n}\n\n/** Objectives a generated programme may bind, as a readable list for a rejection message. */\nconst coveredObjectiveRefs = (): readonly string[] => ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS.map((binding) => binding.objective.objectiveRef);\n\n/**\n * Normalize strict provider output into a canonical, persistable V3 assurance programme.\n *\n * Everything namespaced, versioned or ordered is stamped here. The family requires several collections lexically sorted by their identity, which is a canonicalization\n * concern rather than a content one — asking a provider to sort is asking it to fail on form.\n *\n * Two lookups are REFUSALS rather than conveniences, and both throw so the lane returns the finding to the model exactly like a validator rejection: an objective the\n * authority basis does not cover, and a source the registry does not know.\n */\nexport function parseAssuranceProgramGeneration(input: unknown): AssuranceProgramSpecification {\n const generated = AssuranceProgramGenerationSchema.parse(input);\n const scopeSelectorRef = `scope:${generated.applicationSlug}`;\n const basisIdentity = { basisRef: INITIAL_ASSURANCE_AUTHORITY_BASIS_REF, basisVersion: INITIAL_ASSURANCE_AUTHORITY_BASIS_VERSION } as const;\n const sortByKey = <T>(values: readonly T[], key: (value: T) => string): T[] => [...values].sort((left, right) => (key(left) < key(right) ? -1 : key(left) > key(right) ? 1 : 0));\n\n const sourceReferences = generated.sources.map((declared) => {\n const registered = INITIAL_ASSURANCE_SOURCE_REGISTRY.sources.find((source) => source.identity.sourceRef === `source:${declared.sourceSlug}`);\n if (!registered) {\n throw new Error(\n `Unknown assurance source \"source:${declared.sourceSlug}\". A programme may only cite a source the registry carries, because the registry is what records its edition, authority and RIGHTS.`,\n );\n }\n return {\n identity: registered.identity,\n edition: registered.edition,\n authorityKind: registered.authorityKind,\n authorityName: registered.authorityName,\n lifecycleStatus: registered.lifecycleStatus,\n rightsRef: registered.rights.rightsRef,\n rightsVersion: registered.rights.rightsVersion,\n };\n });\n const registeredSourceBySlug = new Map(generated.sources.map((declared, index) => [declared.sourceSlug, sourceReferences[index]!]));\n\n const applicabilityDecisions = generated.sources.map((declared) => ({\n decisionRef: `applicability:${declared.sourceSlug}`,\n decisionVersion: 1,\n source: registeredSourceBySlug.get(declared.sourceSlug)!.identity,\n scopeSelectorRef,\n status: declared.status,\n basis: declared.basis,\n authorityDecisionRef: `authority-decision:${declared.sourceSlug}`,\n effectiveFrom: declared.effectiveFrom,\n invalidationConditionRefs: sortByKey(\n declared.invalidationSlugs.map((slug) => `invalidation:${slug}`),\n (value) => value,\n ),\n }));\n\n const obligations = generated.obligations.map((obligation) => {\n const binding = ASSURANCE_OBJECTIVE_EXPECTATION_BINDINGS.find((candidate) => candidate.objective.objectiveRef === obligation.objectiveRef);\n if (!binding) {\n throw new Error(\n `The assurance authority basis states no expectation for \"${obligation.objectiveRef}\", so a programme cannot bind it. Covered today: ${coveredObjectiveRefs().join(\", \")}. Extending that coverage is framework authoring, not generation (#207).`,\n );\n }\n const sourceIdentity = registeredSourceBySlug.get(obligation.sourceSlug)!.identity;\n const sourceRequirementRefs = [{ source: sourceIdentity, requirementRef: `source-requirement:${obligation.requirementSlug}`, requirementVersion: 1 }];\n return {\n entry: {\n obligationRef: `obligation:${obligation.slug}`,\n obligationVersion: 1,\n objective: binding.objective,\n scopeSelectorRefs: [scopeSelectorRef],\n governanceActorKinds: [...obligation.governanceActorKinds].sort(),\n sourceRequirementRefs,\n sourceApplicabilityDecisionRefs: [{ decisionRef: `applicability:${obligation.sourceSlug}`, decisionVersion: 1 }],\n coverageDecision: { coverageDecisionRef: `obligation-coverage:${obligation.slug}`, coverageDecisionVersion: 1 },\n applicability: {\n decisionRef: `obligation-applicability:${obligation.slug}`,\n decisionVersion: 1,\n status: obligation.applicabilityStatus,\n rationale: obligation.applicabilityRationale,\n reviewedByRoleRef: `role:${generated.reviewerRoleSlug}`,\n decidedAt: generated.reviewedAt,\n evidenceRefs: [],\n invalidationConditionRefs: sortByKey(\n obligation.reviewTriggerSlugs.map((slug) => `invalidation:${slug}`),\n (value) => value,\n ),\n },\n responsibilityAssignmentRefs: [`assignment:${generated.applicationSlug}`],\n implementationExpectationRefs: [{ expectationRef: binding.implementationExpectationRef, expectationVersion: 1 }],\n evidenceExpectationRefs: [{ expectationRef: binding.evidenceExpectationRef, expectationVersion: 1 }],\n verificationExpectationRefs: [{ expectationRef: binding.verificationExpectationRef, expectationVersion: 1 }],\n requiredProofStage: obligation.requiredProofStage,\n blockingEffect: obligation.blockingEffect,\n gapRefs: [],\n dependencyObligationRefs: [],\n reviewOwnerRoleRefs: [`role:${generated.reviewerRoleSlug}`],\n reviewOn: generated.firstReviewOn,\n reviewTriggerRefs: sortByKey(\n obligation.reviewTriggerSlugs.map((slug) => `review-trigger:${slug}`),\n (value) => value,\n ),\n },\n decision: {\n decisionRef: `implementation-decision:${obligation.slug}`,\n decisionVersion: 1,\n objective: binding.objective,\n scopeSelectorRefs: [scopeSelectorRef],\n resolution: obligation.implementationResolution,\n /*\n * Derived, never asked for: the authority basis is the only thing entitled to say WHICH capability satisfies an objective. A provider naming its own would be\n * choosing the mechanism and then attesting to it.\n */\n capabilitySelections: sortByKey(\n binding.requiredCapabilityRefs.map((capabilityRef) => ({\n capabilityKind: capabilityAuthorityFor(capabilityRef).capabilityKind,\n capabilityRef,\n capabilityVersion: 1,\n selectedOptions: [],\n })),\n (selection) => selection.capabilityRef,\n ),\n selectionAuthorityRef: `authority-decision:${generated.applicationSlug}-implementation`,\n knownLimitations: sortByKey([...new Set(obligation.implementationLimitations)], (value) => value),\n gapDisposition: obligation.gapDisposition,\n gapRefs: [],\n },\n coverage: {\n coverageDecisionRef: `obligation-coverage:${obligation.slug}`,\n coverageDecisionVersion: 1,\n obligation: { obligationRef: `obligation:${obligation.slug}`, obligationVersion: 1 },\n sourceRequirementRefs,\n reviewDisposition: obligation.coverageDisposition,\n reviewedByRoleRef: `role:${generated.reviewerRoleSlug}`,\n reviewedAt: generated.reviewedAt,\n rationale: obligation.coverageRationale,\n limitationRefs: [],\n },\n };\n });\n\n return AssuranceProgramSpecificationV3Schema.parse({\n schemaVersion: 3,\n programRef: `compliance-program:${generated.applicationSlug}`,\n programVersion: 1,\n sourceReferences: sortByKey(sourceReferences, (reference) => `${reference.identity.sourceRef}@${reference.identity.sourceVersion}`),\n scopeSelectors: [\n {\n scopeSelectorRef,\n scopeSelectorVersion: 1,\n kind: generated.scopeKind,\n systemBoundaryRefs: [`system-boundary:${generated.applicationSlug}`],\n organizationScopeRuleRefs: [],\n jurisdictionRefs: sortByKey(\n generated.jurisdictionSlugs.map((slug) => `jurisdiction:${slug}`),\n (value) => value,\n ),\n dataCategoryRefs: sortByKey(\n generated.dataCategorySlugs.map((slug) => `data-category:${slug}`),\n (value) => value,\n ),\n },\n ],\n applicabilityDecisions: sortByKey(applicabilityDecisions, (decision) => `${decision.decisionRef}@${decision.decisionVersion}`),\n obligationRegister: {\n schemaVersion: 1,\n registerRef: `obligation-register:${generated.applicationSlug}`,\n registerVersion: 1,\n entries: sortByKey(\n obligations.map((obligation) => obligation.entry),\n (entry) => `${entry.obligationRef}@${entry.obligationVersion}`,\n ),\n },\n obligationCoverageDecisions: sortByKey(\n obligations.map((obligation) => obligation.coverage),\n (coverage) => `${coverage.coverageDecisionRef}@${coverage.coverageDecisionVersion}`,\n ),\n sharedResponsibilityRules: [],\n implementationDecisions: sortByKey(\n obligations.map((obligation) => obligation.decision),\n (decision) => `${decision.decisionRef}@${decision.decisionVersion}`,\n ),\n responsibilityAssignments: [\n {\n assignmentRef: `assignment:${generated.applicationSlug}`,\n scopeSelectorRef,\n responsibleRoleRefs: sortByKey(generated.responsibility.responsibleRoleSlugs.map((slug) => `role:${slug}`), (value) => value),\n operatingRoleRefs: sortByKey(generated.responsibility.operatingRoleSlugs.map((slug) => `role:${slug}`), (value) => value),\n evidenceProviderRoleRefs: sortByKey(generated.responsibility.evidenceProviderRoleSlugs.map((slug) => `role:${slug}`), (value) => value),\n approvingRoleRefs: sortByKey(generated.responsibility.approvingRoleSlugs.map((slug) => `role:${slug}`), (value) => value),\n escalationRoleRefs: [],\n },\n ],\n gapsAndExceptions: [],\n documentationRequirements: [],\n knownProgramLimitations: generated.limitations,\n authorityBases: [\n {\n ...basisIdentity,\n /*\n * The engine-side baseline this programme was derived against. It is a single ref because `createInitialAssuranceProgramAuthorityBasis` — which composes the\n * basis around a real implementation revision and its artifacts — has NO production caller today, only tests. When it gains one, this must become that\n * revision's artifact refs rather than this stand-in name.\n */\n attestedArtifactRefs: [\"source-artifact:wildo-assurance-authority-basis\"],\n },\n ],\n roleAuthorities: sortByKey(\n generated.roles.map((role) => ({ roleRef: `role:${role.slug}`, applicationRoleRef: role.applicationRoleRef, definitionAuthority: basisIdentity })),\n (authority) => authority.roleRef,\n ),\n capabilityAuthorities: sortByKey(\n [...new Set(obligations.flatMap((obligation) => obligation.decision.capabilitySelections.map((selection) => selection.capabilityRef)))].map((capabilityRef) => {\n const authority = capabilityAuthorityFor(capabilityRef);\n return {\n identity: authority.identity,\n capabilityKind: authority.capabilityKind,\n implementationRefs: [...authority.implementationRefs],\n implementationAuthority: basisIdentity,\n };\n }),\n (authority) => `${authority.identity.capabilityRef}@${authority.identity.capabilityVersion}`,\n ),\n implementationStatements: [],\n });\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';
|
|
2
|
+
/**
|
|
3
|
+
* The assurance programme family — declared with NO aspects, deliberately.
|
|
4
|
+
*
|
|
5
|
+
* The snapshot is a VERSIONED discriminated union (V1/V2/V3) whose collections differ per era:
|
|
6
|
+
* an aspect declaration would either pick one era's shape (refusing exactly the older programme a
|
|
7
|
+
* reviewer needs beside a migration — the argument the family's own template records) or invent a
|
|
8
|
+
* merged shape none of the eras validates. Its second-level structure becomes aspects in a
|
|
9
|
+
* dedicated pass that models the eras honestly; until then the registry covers the family and
|
|
10
|
+
* says so, instead of the family being silently absent.
|
|
11
|
+
*/
|
|
12
|
+
export declare const ASSURANCE_PROGRAM_FAMILY_ASPECTS: FamilyAspectsDeclaration;
|
|
13
|
+
//# sourceMappingURL=assurance-program.family-aspects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assurance-program.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-program.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAEhF;;;;;;;;;GASG;AACH,eAAO,MAAM,gCAAgC,EAAE,wBAG9C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-creation/application-specification-family-identity.application-creation.schemas.js';
|
|
2
|
+
/**
|
|
3
|
+
* The assurance programme family — declared with NO aspects, deliberately.
|
|
4
|
+
*
|
|
5
|
+
* The snapshot is a VERSIONED discriminated union (V1/V2/V3) whose collections differ per era:
|
|
6
|
+
* an aspect declaration would either pick one era's shape (refusing exactly the older programme a
|
|
7
|
+
* reviewer needs beside a migration — the argument the family's own template records) or invent a
|
|
8
|
+
* merged shape none of the eras validates. Its second-level structure becomes aspects in a
|
|
9
|
+
* dedicated pass that models the eras honestly; until then the registry covers the family and
|
|
10
|
+
* says so, instead of the family being silently absent.
|
|
11
|
+
*/
|
|
12
|
+
export const ASSURANCE_PROGRAM_FAMILY_ASPECTS = {
|
|
13
|
+
schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.ASSURANCE_PROGRAM_SPECIFICATION,
|
|
14
|
+
aspects: [],
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=assurance-program.family-aspects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assurance-program.family-aspects.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-program.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,gGAAgG,CAAC;AAGjK;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA6B;IACxE,SAAS,EAAE,+CAA+C,CAAC,+BAA+B;IAC1F,OAAO,EAAE,EAAE;CACZ,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-creation/application-specification-family-identity.application-creation.schemas';\nimport type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';\n\n/**\n * The assurance programme family — declared with NO aspects, deliberately.\n *\n * The snapshot is a VERSIONED discriminated union (V1/V2/V3) whose collections differ per era:\n * an aspect declaration would either pick one era's shape (refusing exactly the older programme a\n * reviewer needs beside a migration — the argument the family's own template records) or invent a\n * merged shape none of the eras validates. Its second-level structure becomes aspects in a\n * dedicated pass that models the eras honestly; until then the registry covers the family and\n * says so, instead of the family being silently absent.\n */\nexport const ASSURANCE_PROGRAM_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.ASSURANCE_PROGRAM_SPECIFICATION,\n aspects: [],\n};\n"]}
|