@wildo-ai/saas-specifications 1.1.9 → 1.1.11
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/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -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-validation.d.ts +7 -2
- 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 +21 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -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 +3 -0
- 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 +6 -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 +20 -0
- 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-lite-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- 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 +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- 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 +6 -3
- 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 +12 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- 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.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -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 +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -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 +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +75 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
- 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 +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- 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 +1 -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 +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +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 +33 -5
- 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 +9 -12
- 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 +1 -1
- 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 +60 -6
- 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.js +4 -4
- 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 +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
- 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 +15 -4
- 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 +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 +40 -11
- 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 +1 -1
- 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 +44 -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 +7 -3
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
- 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 +72 -19
- 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 +2 -2
- 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 +6 -6
- 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 +1 -0
- 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 +14 -13
- 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 +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- 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 +68 -12
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- 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 +3 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
- 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 +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -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 +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- 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 +4 -0
- 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 +4 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
- 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 +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +300 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
- 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 +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -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 +24 -3
- 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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
- 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.js +6 -6
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
- 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 +118 -18
- 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 -0
- 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 +9 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.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 +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- 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 +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.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 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
- 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 -4
- 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 +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- 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 +3 -3
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
- 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 +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- 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 +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +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 +6 -4
- 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.js +2 -2
- 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 +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +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 +7 -5
- 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 +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- 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 +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
- 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 +3 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
- 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 +4 -0
- 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 +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- 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 +33 -0
- 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 +2 -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 +10 -4
- 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.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
|
@@ -0,0 +1,825 @@
|
|
|
1
|
+
import { jurisdictionReachCovers } from "@wildo-ai/saas-models";
|
|
2
|
+
import { AssuranceEvidenceRunKind, AssuranceJudgementCalibrationState } from "./assurance-evidence-judgement.schemas.js";
|
|
3
|
+
import { ASSURANCE_EXTERNAL_MAPPING_TAILORING_CAVEAT, AssuranceExternalMappingRightsError } from "./assurance-external-framework-mapping.js";
|
|
4
|
+
import { AssuranceEvidenceExecutionPlane, AssuranceEvidenceHome, AssuranceEvidenceJudgementVerdict, AssuranceSourceRequirementAnswerExtent } from "./assurance-program.schemas.js";
|
|
5
|
+
import { INITIAL_ASSURANCE_SOURCE_REQUIREMENT_INVENTORY } from "./assurance-source-requirement-inventory.definitions.js";
|
|
6
|
+
import { describeAnswerExtent } from "./assurance-open-compliance-answer-cell.js";
|
|
7
|
+
import { AssuranceSourceAuthorityKind, AssuranceSourceLifecycleStatus, AssuranceSourceRequirementInventoryStanding, AssuranceSourceUse, deriveAssuranceRightsAuthorization, } from "./assurance-sources.schemas.js";
|
|
8
|
+
/**
|
|
9
|
+
* The open-compliance coverage pack (#2849): the open-source half of a binding a customer makes to whatever licensed
|
|
10
|
+
* standard its auditor works from.
|
|
11
|
+
*
|
|
12
|
+
* ## Why it exists, and the decision it serves
|
|
13
|
+
*
|
|
14
|
+
* The epic (#2836, decision 1, Paul 2026-10-18) decided that Wildo never names a licensed standard. It covers their
|
|
15
|
+
* topics through OPEN sources, and the customer does the binding. That only works if Wildo hands over the open-side
|
|
16
|
+
* half: every requirement of every open source a section is organised by, each with the Wildo objective(s) that
|
|
17
|
+
* answer it, the evidence those objectives demand, what this application's evidence plane last judged, and an EMPTY
|
|
18
|
+
* column for the customer's own standard. That empty column is the point of the decision: Wildo ships the open side,
|
|
19
|
+
* and the customer or its auditor maps it.
|
|
20
|
+
*
|
|
21
|
+
* ## It is DERIVED, and total over what it is derived from
|
|
22
|
+
*
|
|
23
|
+
* Nothing in the pack is authored beside its inputs:
|
|
24
|
+
*
|
|
25
|
+
* - the requirements are the source-requirement INVENTORY (the denominator, #2837) plus every reviewed row of the
|
|
26
|
+
* authority basis citing a section's source;
|
|
27
|
+
* - the answers are the basis's reviewed rows, joined through the inventory's `answeredBy`;
|
|
28
|
+
* - the evidence clauses and their homes are the basis's evidence requirement bodies;
|
|
29
|
+
* - the verdicts are the application's COMMITTED runs (`judged-runs/`, `derived-runs/` of its assurance repository).
|
|
30
|
+
*
|
|
31
|
+
* So an inventory entry added tomorrow appears in the pack, as "nothing answers it yet", with no edit here; a row added
|
|
32
|
+
* by a binding moves the entry to answered; an objective added under a section's namespace with no row appears among
|
|
33
|
+
* the unmapped objectives. A hand-kept pack would be free to disagree with the basis, invisibly, and a pack is read
|
|
34
|
+
* precisely by people who cannot check it (the reasoning `deriveAssuranceExternalFrameworkMapping` records).
|
|
35
|
+
*
|
|
36
|
+
* ## Nothing is omitted: every requirement has a standing
|
|
37
|
+
*
|
|
38
|
+
* | standing | means |
|
|
39
|
+
* |---|---|
|
|
40
|
+
* | `ANSWERED` | a reviewed row joins it to a Wildo objective |
|
|
41
|
+
* | `NOTHING_ANSWERS_YET` | within what Wildo supports, and no reviewed row answers it: a coverage gap, listed |
|
|
42
|
+
* | `OUTSIDE_SUPPORTED_SCOPE` | outside what Wildo supports yet (the AI Act's high-risk obligations, #2851): "not supported yet", never "not covered" |
|
|
43
|
+
*
|
|
44
|
+
* A law-derived source an application's declared jurisdictions do not fall under is named, with its reason, and its
|
|
45
|
+
* requirements are withheld (#2852): voluntary guidance always appears.
|
|
46
|
+
*
|
|
47
|
+
* ## Sections: one generator, several packs
|
|
48
|
+
*
|
|
49
|
+
* #2291's security readiness pack needs this same generator (#2836, coordination table). A section names the sources
|
|
50
|
+
* it is organised by and the objective namespaces it accounts for; everything else is shared, including the empty
|
|
51
|
+
* customer column, the claim guard and the jurisdiction filtering. #2291 adds a section by adding a member to
|
|
52
|
+
* {@link OpenComplianceCoverageSection} and its definition to {@link OPEN_COMPLIANCE_COVERAGE_SECTIONS}; the `Record`
|
|
53
|
+
* type makes a member without a definition a compile error.
|
|
54
|
+
*
|
|
55
|
+
* ## What it refuses
|
|
56
|
+
*
|
|
57
|
+
* - a cited source whose rights record does not authorize even a metadata citation (the external mapping's refusal,
|
|
58
|
+
* with its error type);
|
|
59
|
+
* - an inventory join or a section source that names nothing in the basis;
|
|
60
|
+
* - any sentence that names a licensed standard, asserts conformity or certification, or claims operating
|
|
61
|
+
* effectiveness ({@link findOpenComplianceClaimViolations}). The pack is refused whole rather than published with a
|
|
62
|
+
* flag a reader would have to notice.
|
|
63
|
+
*/
|
|
64
|
+
/** The sections a coverage pack can be generated for. #2291 adds `SECURITY` with its definition. */
|
|
65
|
+
export var OpenComplianceCoverageSection;
|
|
66
|
+
(function (OpenComplianceCoverageSection) {
|
|
67
|
+
/** AI use: the actor-flow plane (an application's agents) and the creation plane (code a coding agent writes). */
|
|
68
|
+
OpenComplianceCoverageSection["AI"] = "AI";
|
|
69
|
+
})(OpenComplianceCoverageSection || (OpenComplianceCoverageSection = {}));
|
|
70
|
+
export const OPEN_COMPLIANCE_COVERAGE_SECTIONS = Object.freeze({
|
|
71
|
+
[OpenComplianceCoverageSection.AI]: {
|
|
72
|
+
title: "AI use",
|
|
73
|
+
fileStem: "ai",
|
|
74
|
+
purpose: "What the open AI sources ask of an application that runs AI agents, or whose code a coding agent writes, and which Wildo objectives answer each requirement.",
|
|
75
|
+
/*
|
|
76
|
+
* The sources #2836 registers for AI (#2837) and the AI RMF. Three choices, recorded at the site:
|
|
77
|
+
*
|
|
78
|
+
* - SP 800-218 is here because its reviewed rows answer how a coding agent's code was produced
|
|
79
|
+
* (`WILDO.SOFTWARE.AI_PRODUCED_CHANGE_CONTROL`, #2845), the creation plane #2849 asks for. Its AI profile, SP 800-218A,
|
|
80
|
+
* is listed beside it with its practices inventoried. Its scope includes integrating AI models into other software,
|
|
81
|
+
* which an application calling a model does, so its practices are gaps where nothing answers them; only PW.3, about a
|
|
82
|
+
* model's training data, is marked not supported yet (#2956 review).
|
|
83
|
+
* - The agentic Top 10 and ATLAS are informative and metadata-only: they appear as a title and a link.
|
|
84
|
+
* - AI 100-2 is a taxonomy; its inventory is its attack sections, and its reviewed rows are mitigations under them.
|
|
85
|
+
*/
|
|
86
|
+
sourceRefs: [
|
|
87
|
+
"source:nist-ai-rmf-1.0",
|
|
88
|
+
"source:nist-ai-600-1",
|
|
89
|
+
"source:owasp-ai-exchange",
|
|
90
|
+
"source:uk-ai-cyber-security-code-of-practice",
|
|
91
|
+
"source:eu-ai-act-2024-1689",
|
|
92
|
+
"source:nist-ai-100-2-e2025",
|
|
93
|
+
"source:nist-sp-800-218",
|
|
94
|
+
"source:nist-sp-800-218a",
|
|
95
|
+
"source:owasp-top-10-agentic-2026",
|
|
96
|
+
"source:mitre-atlas",
|
|
97
|
+
],
|
|
98
|
+
objectiveRefPrefixes: ["WILDO.AI."],
|
|
99
|
+
// The creation plane's objective lives in `WILDO.SOFTWARE` on purpose (an application is not an AI system because an
|
|
100
|
+
// AI wrote its code, #2845), so the namespace does not reach it; named here so it is reported unmapped if its rows go.
|
|
101
|
+
objectiveRefs: ["WILDO.SOFTWARE.AI_PRODUCED_CHANGE_CONTROL"],
|
|
102
|
+
},
|
|
103
|
+
});
|
|
104
|
+
/** Whether a source's rights let the pack carry more than a reference to it. */
|
|
105
|
+
export var OpenComplianceSourceContentUse;
|
|
106
|
+
(function (OpenComplianceSourceContentUse) {
|
|
107
|
+
/** Its rights allow extraction, projection, redistribution and commercial use, with its attribution printed. */
|
|
108
|
+
OpenComplianceSourceContentUse["CONTENT_PERMITTED_WITH_ATTRIBUTION"] = "CONTENT_PERMITTED_WITH_ATTRIBUTION";
|
|
109
|
+
/** Metadata only: the pack carries the source's title, locator and Wildo's requirement slugs, and no subject lines. */
|
|
110
|
+
OpenComplianceSourceContentUse["LINK_ONLY"] = "LINK_ONLY";
|
|
111
|
+
})(OpenComplianceSourceContentUse || (OpenComplianceSourceContentUse = {}));
|
|
112
|
+
/**
|
|
113
|
+
* Whether WHERE the application operates lets a source's requirements apply (#2852), at the level of a source.
|
|
114
|
+
*
|
|
115
|
+
* The same rule `deriveObjectiveJurisdictionApplicability` applies to an objective: only a law is scoped by territory,
|
|
116
|
+
* containment is `jurisdictionReachCovers`, and "declares none" keeps the requirements with the jurisdiction owed rather
|
|
117
|
+
* than dropping them.
|
|
118
|
+
*/
|
|
119
|
+
export var OpenComplianceSourceTerritorialStanding;
|
|
120
|
+
(function (OpenComplianceSourceTerritorialStanding) {
|
|
121
|
+
/** Not a law: voluntary guidance applies wherever the application operates, and always appears. */
|
|
122
|
+
OpenComplianceSourceTerritorialStanding["UNIVERSAL_GUIDANCE"] = "UNIVERSAL_GUIDANCE";
|
|
123
|
+
/** A law whose reach covers a jurisdiction the application declares. */
|
|
124
|
+
OpenComplianceSourceTerritorialStanding["WITHIN_DECLARED_JURISDICTIONS"] = "WITHIN_DECLARED_JURISDICTIONS";
|
|
125
|
+
/** A law, and the application declares no jurisdiction: its requirements appear, and the jurisdiction is owed. */
|
|
126
|
+
OpenComplianceSourceTerritorialStanding["JURISDICTION_OWED"] = "JURISDICTION_OWED";
|
|
127
|
+
/** A law whose reach covers no declared jurisdiction: named with its reason, its requirements withheld. */
|
|
128
|
+
OpenComplianceSourceTerritorialStanding["OUTSIDE_DECLARED_JURISDICTIONS"] = "OUTSIDE_DECLARED_JURISDICTIONS";
|
|
129
|
+
})(OpenComplianceSourceTerritorialStanding || (OpenComplianceSourceTerritorialStanding = {}));
|
|
130
|
+
/** Whether the pack knows a source's whole list of top-level requirements. */
|
|
131
|
+
export var OpenComplianceSourceDenominator;
|
|
132
|
+
(function (OpenComplianceSourceDenominator) {
|
|
133
|
+
/** The source-requirement inventory holds its top-level entries, so what nothing answers is listed. */
|
|
134
|
+
OpenComplianceSourceDenominator["INVENTORIED"] = "INVENTORIED";
|
|
135
|
+
/** Only the reviewed rows citing it are known; what it asks beyond them is not listed (#2956 owes the inventory). */
|
|
136
|
+
OpenComplianceSourceDenominator["NOT_INVENTORIED"] = "NOT_INVENTORIED";
|
|
137
|
+
})(OpenComplianceSourceDenominator || (OpenComplianceSourceDenominator = {}));
|
|
138
|
+
/** Where a requirement of the pack comes from. */
|
|
139
|
+
export var OpenComplianceRequirementKind;
|
|
140
|
+
(function (OpenComplianceRequirementKind) {
|
|
141
|
+
/** A top-level entry of the source-requirement inventory. */
|
|
142
|
+
OpenComplianceRequirementKind["INVENTORY_ENTRY"] = "INVENTORY_ENTRY";
|
|
143
|
+
/** A reviewed row of the basis that sits under no inventory entry: every row of an un-inventoried source. */
|
|
144
|
+
OpenComplianceRequirementKind["REVIEWED_ROW"] = "REVIEWED_ROW";
|
|
145
|
+
})(OpenComplianceRequirementKind || (OpenComplianceRequirementKind = {}));
|
|
146
|
+
/** What the pack says about one requirement. */
|
|
147
|
+
export var OpenComplianceRequirementStanding;
|
|
148
|
+
(function (OpenComplianceRequirementStanding) {
|
|
149
|
+
OpenComplianceRequirementStanding["ANSWERED"] = "ANSWERED";
|
|
150
|
+
OpenComplianceRequirementStanding["NOTHING_ANSWERS_YET"] = "NOTHING_ANSWERS_YET";
|
|
151
|
+
OpenComplianceRequirementStanding["OUTSIDE_SUPPORTED_SCOPE"] = "OUTSIDE_SUPPORTED_SCOPE";
|
|
152
|
+
})(OpenComplianceRequirementStanding || (OpenComplianceRequirementStanding = {}));
|
|
153
|
+
/**
|
|
154
|
+
* How much of a requirement a reviewed row answers, read from the row's own grade (`AssuranceSourceRequirementAnswer`,
|
|
155
|
+
* #2956). The pack's own vocabulary rather than the basis's, so a pack format can outlive a basis edition; one member
|
|
156
|
+
* per basis member, joined by {@link OPEN_COMPLIANCE_ANSWER_EXTENT_OF}.
|
|
157
|
+
*/
|
|
158
|
+
export var OpenComplianceAnswerExtent;
|
|
159
|
+
(function (OpenComplianceAnswerExtent) {
|
|
160
|
+
/** The reviewer graded the requirement answered whole by the objective's intent. */
|
|
161
|
+
OpenComplianceAnswerExtent["FULL"] = "FULL";
|
|
162
|
+
/** The requirement asks for more; the answer carries what, as the row states it. */
|
|
163
|
+
OpenComplianceAnswerExtent["PARTIAL"] = "PARTIAL";
|
|
164
|
+
})(OpenComplianceAnswerExtent || (OpenComplianceAnswerExtent = {}));
|
|
165
|
+
/** The pack's extent for each basis extent: total over the basis vocabulary, so a new grade is a compile error here. */
|
|
166
|
+
export const OPEN_COMPLIANCE_ANSWER_EXTENT_OF = Object.freeze({
|
|
167
|
+
[AssuranceSourceRequirementAnswerExtent.FULL]: OpenComplianceAnswerExtent.FULL,
|
|
168
|
+
[AssuranceSourceRequirementAnswerExtent.PARTIAL]: OpenComplianceAnswerExtent.PARTIAL,
|
|
169
|
+
});
|
|
170
|
+
/** What the application's evidence plane holds for one (objective, demand) pair. */
|
|
171
|
+
export var OpenComplianceEvidenceStanding;
|
|
172
|
+
(function (OpenComplianceEvidenceStanding) {
|
|
173
|
+
/** A judge reached a verdict over collected evidence; the pack reports it with its calibration and revision. */
|
|
174
|
+
OpenComplianceEvidenceStanding["JUDGED"] = "JUDGED";
|
|
175
|
+
/** Resolved from configuration before collection: the demand does not apply as the application is configured. */
|
|
176
|
+
OpenComplianceEvidenceStanding["DERIVED_NOT_APPLICABLE"] = "DERIVED_NOT_APPLICABLE";
|
|
177
|
+
/** No committed run: the demand has not been judged for this application. */
|
|
178
|
+
OpenComplianceEvidenceStanding["NO_EVIDENCE"] = "NO_EVIDENCE";
|
|
179
|
+
})(OpenComplianceEvidenceStanding || (OpenComplianceEvidenceStanding = {}));
|
|
180
|
+
/** The kind of claim the guard refuses. */
|
|
181
|
+
export var OpenComplianceClaimKind;
|
|
182
|
+
(function (OpenComplianceClaimKind) {
|
|
183
|
+
/** A licensed standard named, by the boundary checker's own pattern. */
|
|
184
|
+
OpenComplianceClaimKind["LICENSED_STANDARD_NAMED"] = "LICENSED_STANDARD_NAMED";
|
|
185
|
+
/** A sentence stating that something conforms, complies, or is certified or accredited. */
|
|
186
|
+
OpenComplianceClaimKind["CONFORMITY_OR_CERTIFICATION_ASSERTED"] = "CONFORMITY_OR_CERTIFICATION_ASSERTED";
|
|
187
|
+
/** A sentence stating that a control operates effectively, or fully meets a requirement. */
|
|
188
|
+
OpenComplianceClaimKind["OPERATING_EFFECTIVENESS_ASSERTED"] = "OPERATING_EFFECTIVENESS_ASSERTED";
|
|
189
|
+
})(OpenComplianceClaimKind || (OpenComplianceClaimKind = {}));
|
|
190
|
+
const COPULA = String.raw `\b(?:is|are|be|been|being|was|were|becomes?|became|remains?)`;
|
|
191
|
+
const assertion = (kind, source) => ({ kind, pattern: new RegExp(source, "giu") });
|
|
192
|
+
/**
|
|
193
|
+
* The assertion SHAPES the guard refuses, beside the licensed-name pattern the caller supplies.
|
|
194
|
+
*
|
|
195
|
+
* Shapes, never words: "compliance profile", "a conformity assertion is not made" and "claims no operating effectiveness"
|
|
196
|
+
* are all honest sentences this pack carries, so a word list would refuse the disclaimers it exists to protect. What is
|
|
197
|
+
* refused is a sentence that ASSERTS: something "is compliant", "is <up to three words> compliant", "compliant with",
|
|
198
|
+
* "complies with", "conforms to", "certified against", "in conformity with", "ensures compliance", "operates
|
|
199
|
+
* effectively", "fully meets", "satisfies it in full".
|
|
200
|
+
*
|
|
201
|
+
* A match that is negated, hypothetical or a question is not a claim, and {@link isNegatedOrHypotheticalClaim} sets it
|
|
202
|
+
* aside: "does not comply with", "isn't certified", "has not yet been certified", "nothing here is certified", "whether
|
|
203
|
+
* it is compliant", "Is it compliant?". The patterns themselves carry no negation logic, so one rule decides it for all.
|
|
204
|
+
*/
|
|
205
|
+
export const OPEN_COMPLIANCE_ASSERTION_PATTERNS = Object.freeze([
|
|
206
|
+
// "is compliant", "is fully compliant", "is AI Act compliant", "are now certified": up to three words between.
|
|
207
|
+
assertion(OpenComplianceClaimKind.CONFORMITY_OR_CERTIFICATION_ASSERTED, String.raw `${COPULA}\s+(?:[\w-]+\s+){0,3}?(?:compliant|conformant|certified|accredited)\b`),
|
|
208
|
+
// "Fully compliant with the code", "conformant to the article", with no copula.
|
|
209
|
+
assertion(OpenComplianceClaimKind.CONFORMITY_OR_CERTIFICATION_ASSERTED, String.raw `\b(?:compliant|conformant)\s+(?:with|to)\b`),
|
|
210
|
+
assertion(OpenComplianceClaimKind.CONFORMITY_OR_CERTIFICATION_ASSERTED, String.raw `\b(?:complies|comply|complying|conforms?|conforming)\s+(?:fully\s+)?(?:with|to)\b`),
|
|
211
|
+
assertion(OpenComplianceClaimKind.CONFORMITY_OR_CERTIFICATION_ASSERTED, String.raw `\bin\s+(?:full\s+)?(?:compliance|conformity|conformance)\s+with\b`),
|
|
212
|
+
assertion(OpenComplianceClaimKind.CONFORMITY_OR_CERTIFICATION_ASSERTED, String.raw `\b(?:certified|accredited)\s+(?:to|against|by|under|for)\b`),
|
|
213
|
+
assertion(OpenComplianceClaimKind.CONFORMITY_OR_CERTIFICATION_ASSERTED, String.raw `\b(?:achieves?|achieved|meets?|grants?|confers?|ensures?|ensured|guarantees?|guaranteed|demonstrates?|demonstrated|proves?|proved|attains?|attained|delivers?)\s+(?:full\s+)?(?:compliance|certification|conformity|conformance|accreditation)\b`),
|
|
214
|
+
assertion(OpenComplianceClaimKind.OPERATING_EFFECTIVENESS_ASSERTED, String.raw `\b(?:operates?|operating|operated|works?|functions?|performs?)\s+effectively\b`),
|
|
215
|
+
assertion(OpenComplianceClaimKind.OPERATING_EFFECTIVENESS_ASSERTED, String.raw `\b(?:is|are|was|were|proven|demonstrated|shown\s+to\s+be)\s+(?:fully\s+)?effective\b`),
|
|
216
|
+
assertion(OpenComplianceClaimKind.OPERATING_EFFECTIVENESS_ASSERTED, String.raw `\beffectiveness\s+(?:is|was|has\s+been|is\s+now)\s+(?:demonstrated|proven|established|confirmed|assured)\b`),
|
|
217
|
+
assertion(OpenComplianceClaimKind.OPERATING_EFFECTIVENESS_ASSERTED, String.raw `\bfully\s+(?:meets|satisfies|implements|covers|answers|addresses|discharges)\b`),
|
|
218
|
+
// "satisfies the requirement in full", "meets every clause in full".
|
|
219
|
+
assertion(OpenComplianceClaimKind.OPERATING_EFFECTIVENESS_ASSERTED, String.raw `\b(?:meets|satisfies|satisfied|discharges|answers)\s+(?:[\w-]+\s+){0,4}?in\s+full\b`),
|
|
220
|
+
]);
|
|
221
|
+
/**
|
|
222
|
+
* The words that make a claim NOT a claim: a negation ("not", "never", "cannot", "nothing", "none", "neither", "nor",
|
|
223
|
+
* "without", any "n't", the pair "no longer"), a failure ("fail", "fails", "failed"), or a condition ("whether", "if",
|
|
224
|
+
* "unless"): exactly {@link CLAIM_CANCELLING_WORDS}. A cancelling word counts only inside the claim's own phrase: the
|
|
225
|
+
* match itself, and up to six words before it, stopping at the clause's start and at a comma, a colon, or a joining word
|
|
226
|
+
* ({@link CLAIM_PHRASE_BOUNDARY_WORDS}), so "Without any configuration, it complies with" and "It has no gaps and
|
|
227
|
+
* complies with" are still refused. Bare "no" is not a cancelling word: "There is no doubt it is compliant" asserts.
|
|
228
|
+
*
|
|
229
|
+
* A question cancels a claim only when the question mark closes the claim itself ("Is it compliant?"); a tag question
|
|
230
|
+
* after a comma ("It is compliant with the code, isn't it?") still asserts.
|
|
231
|
+
*
|
|
232
|
+
* Both directions of the limits, stated plainly:
|
|
233
|
+
*
|
|
234
|
+
* - MISSED claims (the unsafe direction for a guard): a claim cancelled by a word in its own phrase that does not
|
|
235
|
+
* negate it ("not only does it comply with"), and a claim worded in a shape no pattern names. The guard is a lexical
|
|
236
|
+
* floor over framework-written text, not a proof.
|
|
237
|
+
* - REFUSED honest sentences (the safe direction: the pack stops loudly): a claim hypothetical by grammar alone
|
|
238
|
+
* ("responsible for being compliant"), a subject negated by bare "no" ("No part of it is certified"), a negation the
|
|
239
|
+
* comma cut separates from its claim ("It does not, as of today, comply with"), and a question whose mark sits past a
|
|
240
|
+
* comma or past an abbreviation's period ("Is it, in your view, compliant with Art. 4?").
|
|
241
|
+
*/
|
|
242
|
+
const CLAIM_CANCELLING_WORDS = new Set(["not", "never", "cannot", "nothing", "none", "neither", "nor", "without", "fail", "fails", "failed", "whether", "if", "unless"]);
|
|
243
|
+
const CLAIM_PHRASE_BOUNDARY_WORDS = new Set(["and", "but", "that", "which", "unlike", "while", "whereas", "although", "though"]);
|
|
244
|
+
const CLAIM_CANCELLING_WINDOW_WORDS = 6;
|
|
245
|
+
/** Whether the claim matched at `index` is cancelled by its own phrase: a question it closes, or a cancelling word. */
|
|
246
|
+
export function isNegatedOrHypotheticalClaim(text, index, length) {
|
|
247
|
+
const before = text.slice(0, index);
|
|
248
|
+
const clauseStart = Math.max(...[".", ";", "!", "?", "\n", ",", ":"].map((terminator) => before.lastIndexOf(terminator))) + 1;
|
|
249
|
+
const after = text.slice(index + length);
|
|
250
|
+
const clauseEnd = after.search(/[.;!?\n]/u);
|
|
251
|
+
if (clauseEnd !== -1 && after[clauseEnd] === "?" && !after.slice(0, clauseEnd).includes(","))
|
|
252
|
+
return true;
|
|
253
|
+
const words = (value) => value.toLowerCase().split(/[^\p{L}'’]+/u).filter(Boolean);
|
|
254
|
+
const prefix = words(text.slice(clauseStart, index));
|
|
255
|
+
const lastBoundary = prefix.map((word) => CLAIM_PHRASE_BOUNDARY_WORDS.has(word)).lastIndexOf(true);
|
|
256
|
+
const window = [...prefix.slice(lastBoundary + 1).slice(-CLAIM_CANCELLING_WINDOW_WORDS), ...words(text.slice(index, index + length))];
|
|
257
|
+
return window.some((word, position) => CLAIM_CANCELLING_WORDS.has(word) || /n['’]t$/u.test(word) || (word === "no" && window[position + 1] === "longer"));
|
|
258
|
+
}
|
|
259
|
+
/** Raised when a pack, or a rendering of one, carries a sentence the claim guard refuses. */
|
|
260
|
+
export class OpenComplianceClaimRefusedError extends Error {
|
|
261
|
+
violations;
|
|
262
|
+
constructor(violations) {
|
|
263
|
+
super(`The coverage pack carries ${violations.length} refused claim(s); it is never published with one:\n`
|
|
264
|
+
+ violations.map((violation) => ` ${violation.kind} at ${violation.location}: "${violation.match}"`).join("\n"));
|
|
265
|
+
this.violations = violations;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Every claim the guard refuses in one text.
|
|
270
|
+
*
|
|
271
|
+
* The licensed-name pattern is a REQUIRED parameter, never defaulted, and the reason is where the names may live: only
|
|
272
|
+
* the boundary checker (`scripts/code-conduct/check-assurance-control-boundary.mjs`) may spell them, as the definition
|
|
273
|
+
* site of the refusal, and that checker reads this package. So a copy of the list here would be refused by the gate
|
|
274
|
+
* that owns it, and a default would let a caller skip the half of the guard that matters most. The caller passes the
|
|
275
|
+
* checker's exported pattern; a test passes a planted one.
|
|
276
|
+
*/
|
|
277
|
+
export function findOpenComplianceClaimViolations(text, location, restrictedTargetReferencePattern) {
|
|
278
|
+
const violations = [];
|
|
279
|
+
const scan = (kind, pattern, cancellable) => {
|
|
280
|
+
// A fresh global RegExp: a shared one carries `lastIndex` between calls and skips matches.
|
|
281
|
+
for (const match of text.matchAll(new RegExp(pattern.source, pattern.flags.includes("g") ? pattern.flags : `${pattern.flags}g`))) {
|
|
282
|
+
if (cancellable && isNegatedOrHypotheticalClaim(text, match.index, match[0].length))
|
|
283
|
+
continue;
|
|
284
|
+
violations.push({ kind, match: match[0], location });
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
// A licensed name is refused whatever surrounds it: "this is not <name>" still names it.
|
|
288
|
+
scan(OpenComplianceClaimKind.LICENSED_STANDARD_NAMED, restrictedTargetReferencePattern, false);
|
|
289
|
+
for (const { kind, pattern } of OPEN_COMPLIANCE_ASSERTION_PATTERNS)
|
|
290
|
+
scan(kind, pattern, true);
|
|
291
|
+
return violations;
|
|
292
|
+
}
|
|
293
|
+
/** Throws {@link OpenComplianceClaimRefusedError} when any text carries a refused claim. */
|
|
294
|
+
export function assertOpenComplianceClaimsGuarded(texts, restrictedTargetReferencePattern) {
|
|
295
|
+
const violations = texts.flatMap(({ location, text }) => findOpenComplianceClaimViolations(text, location, restrictedTargetReferencePattern));
|
|
296
|
+
if (violations.length > 0)
|
|
297
|
+
throw new OpenComplianceClaimRefusedError(violations);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* What the pack says it is not, carried IN the artifact, because the pack is the file that gets forwarded.
|
|
301
|
+
* The tailoring caveat is the external mapping's own, reused rather than restated (#2849, required outcome 4).
|
|
302
|
+
*/
|
|
303
|
+
export const OPEN_COMPLIANCE_COVERAGE_PACK_STATEMENTS = Object.freeze([
|
|
304
|
+
ASSURANCE_EXTERNAL_MAPPING_TAILORING_CAVEAT,
|
|
305
|
+
"Wildo names no licensed standard and states no correspondence to one. The column for your standard's requirement is empty on purpose: you, or your auditor, map each open requirement to it.",
|
|
306
|
+
"Every verdict is the operator's INTERNAL evidence, reached by Wildo's own tooling: assessor independence is not achieved by anything in this lane, so a judged verdict carries no certification value.",
|
|
307
|
+
"An inventory entry is a top-level provision of its source, and the reviewed rows answering it are provisions under it: an answered entry is answered only as far as those rows go.",
|
|
308
|
+
"Each answer carries the reviewer's grade from the authority basis: the whole requirement, or part of it with what is left out. The grade compares the requirement's text with the objective's intent; it is not evidence about the running product, which the verdict column carries.",
|
|
309
|
+
"Requirements outside the supported scope are not supported yet: Wildo does not support them today, which is a different statement from leaving them uncovered.",
|
|
310
|
+
]);
|
|
311
|
+
const UNMAPPED_OBJECTIVE_REASON = "No reviewed row of this section's sources joins a requirement to this objective.";
|
|
312
|
+
const byText = (left, right) => (left < right ? -1 : left > right ? 1 : 0);
|
|
313
|
+
/** Every string of a value, with its path, so the claim guard reads every sentence the pack carries. */
|
|
314
|
+
export function collectOpenCompliancePackTexts(value, location = "pack") {
|
|
315
|
+
if (typeof value === "string")
|
|
316
|
+
return [{ location, text: value }];
|
|
317
|
+
if (Array.isArray(value))
|
|
318
|
+
return value.flatMap((item, index) => collectOpenCompliancePackTexts(item, `${location}[${index}]`));
|
|
319
|
+
if (value !== null && typeof value === "object") {
|
|
320
|
+
return Object.entries(value).flatMap(([key, item]) => collectOpenCompliancePackTexts(item, `${location}.${key}`));
|
|
321
|
+
}
|
|
322
|
+
return [];
|
|
323
|
+
}
|
|
324
|
+
function deriveTerritorialStanding(source, operatingJurisdictionSlugs) {
|
|
325
|
+
if (source.authorityKind !== AssuranceSourceAuthorityKind.LAW_OR_REGULATION)
|
|
326
|
+
return { standing: OpenComplianceSourceTerritorialStanding.UNIVERSAL_GUIDANCE };
|
|
327
|
+
const reach = source.jurisdictionalReach.join(", ");
|
|
328
|
+
const declared = operatingJurisdictionSlugs ?? [];
|
|
329
|
+
if (declared.length === 0) {
|
|
330
|
+
return {
|
|
331
|
+
standing: OpenComplianceSourceTerritorialStanding.JURISDICTION_OWED,
|
|
332
|
+
reason: `A law reaching ${reach}; the application declares no operating jurisdiction, so whether it applies is owed.`,
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
const covered = declared.some((slug) => source.jurisdictionalReach.some((reachSlug) => jurisdictionReachCovers(reachSlug, slug)));
|
|
336
|
+
return covered
|
|
337
|
+
? {
|
|
338
|
+
standing: OpenComplianceSourceTerritorialStanding.WITHIN_DECLARED_JURISDICTIONS,
|
|
339
|
+
reason: `A law reaching ${reach}, which covers a declared operating jurisdiction (${declared.join(", ")}).`,
|
|
340
|
+
}
|
|
341
|
+
: {
|
|
342
|
+
standing: OpenComplianceSourceTerritorialStanding.OUTSIDE_DECLARED_JURISDICTIONS,
|
|
343
|
+
reason: `A law reaching ${reach}, which covers none of the declared operating jurisdictions (${declared.join(", ")}); its requirements are withheld.`,
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Derive one section's pack from the committed basis, the source-requirement inventory and an application's committed
|
|
348
|
+
* runs. Pure: the same inputs give the same pack, and every refusal names what it refused.
|
|
349
|
+
*
|
|
350
|
+
* The inventory is a PARAMETER, defaulted, for the reason the external mapping takes its registry as one: a test must
|
|
351
|
+
* be able to add an entry and see it appear, which is the totality claim, and that cannot be shown against the real
|
|
352
|
+
* inventory alone.
|
|
353
|
+
*/
|
|
354
|
+
export function deriveOpenComplianceCoveragePack(input) {
|
|
355
|
+
const { basis, application, evaluatedAt } = input;
|
|
356
|
+
const inventory = input.inventory ?? INITIAL_ASSURANCE_SOURCE_REQUIREMENT_INVENTORY;
|
|
357
|
+
const definition = (input.sectionDefinitions ?? OPEN_COMPLIANCE_COVERAGE_SECTIONS)[input.section];
|
|
358
|
+
/*
|
|
359
|
+
* A section names a source by ref, without a version, because every source in the registry has one record today. A
|
|
360
|
+
* second edition would make the ref ambiguous, and picking one silently would drop the rows citing the other, so it
|
|
361
|
+
* refuses below instead: the section must then say which edition it is organised by.
|
|
362
|
+
*/
|
|
363
|
+
const sourcesByRef = new Map();
|
|
364
|
+
for (const source of basis.sourceRegistry.sources) {
|
|
365
|
+
const ref = source.identity.sourceRef;
|
|
366
|
+
sourcesByRef.set(ref, [...(sourcesByRef.get(ref) ?? []), source]);
|
|
367
|
+
}
|
|
368
|
+
const objectiveByRef = new Map(basis.objectiveCatalog.objectives.map((objective) => [objective.identity.objectiveRef, objective]));
|
|
369
|
+
// The evidence each objective demands, clause by clause, from the bodies the basis composes.
|
|
370
|
+
const demandsByObjective = new Map();
|
|
371
|
+
for (const authority of basis.evidenceExpectationAuthorities) {
|
|
372
|
+
const objectiveRef = authority.objective.objectiveRef;
|
|
373
|
+
const demands = demandsByObjective.get(objectiveRef) ?? [];
|
|
374
|
+
for (const entry of authority.requirementBodies) {
|
|
375
|
+
demands.push({
|
|
376
|
+
demandRef: entry.requirementRef,
|
|
377
|
+
clauses: entry.body.clauses.map((clause) => ({ clauseRef: clause.clauseRef, home: clause.home, plane: clause.plane, obligation: clause.obligation })),
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
demandsByObjective.set(objectiveRef, demands);
|
|
381
|
+
}
|
|
382
|
+
// The application's committed runs, keyed by (objective, demand): one judged and one derived at most per pair.
|
|
383
|
+
const judgedByPair = new Map();
|
|
384
|
+
const derivedByPair = new Map();
|
|
385
|
+
for (const record of application.evidenceRecords) {
|
|
386
|
+
const key = `${record.run.objectiveRef} ${record.run.demandRef}`;
|
|
387
|
+
const index = record.run.kind === AssuranceEvidenceRunKind.JUDGED ? judgedByPair : derivedByPair;
|
|
388
|
+
if (index.has(key))
|
|
389
|
+
throw new Error(`Two committed ${record.run.kind} runs for ${key}: ${index.get(key).recordPath} and ${record.recordPath}.`);
|
|
390
|
+
index.set(key, record);
|
|
391
|
+
}
|
|
392
|
+
/*
|
|
393
|
+
* Which record speaks for the pair when both are committed: the NEWER one. A derived run is re-derived from the
|
|
394
|
+
* configuration on every plan while a judged run persists, so after a configuration change makes a demand not
|
|
395
|
+
* applicable, an older judged verdict would otherwise be reported as the latest. Both stay on the demand; only the
|
|
396
|
+
* standing follows recency. When either record is undated the order is unknown, and the judged run speaks: it is the
|
|
397
|
+
* one that carries evidence, and the derived record is still printed beside it.
|
|
398
|
+
*/
|
|
399
|
+
const latestStanding = (judged, derived) => {
|
|
400
|
+
if (judged && derived && judged.recordedAt !== null && derived.recordedAt !== null && Date.parse(derived.recordedAt) > Date.parse(judged.recordedAt)) {
|
|
401
|
+
return OpenComplianceEvidenceStanding.DERIVED_NOT_APPLICABLE;
|
|
402
|
+
}
|
|
403
|
+
if (judged)
|
|
404
|
+
return OpenComplianceEvidenceStanding.JUDGED;
|
|
405
|
+
return derived ? OpenComplianceEvidenceStanding.DERIVED_NOT_APPLICABLE : OpenComplianceEvidenceStanding.NO_EVIDENCE;
|
|
406
|
+
};
|
|
407
|
+
const evidenceFor = (objectiveRef) => (demandsByObjective.get(objectiveRef) ?? []).map(({ demandRef, clauses }) => {
|
|
408
|
+
const key = `${objectiveRef} ${demandRef}`;
|
|
409
|
+
const judgedRecord = judgedByPair.get(key);
|
|
410
|
+
const derivedRecord = derivedByPair.get(key);
|
|
411
|
+
const judgedRun = judgedRecord?.run.kind === AssuranceEvidenceRunKind.JUDGED ? judgedRecord.run : undefined;
|
|
412
|
+
const clauseVerdicts = new Map(judgedRun?.clauseJudgements.map((clause) => [clause.clauseRef, clause.verdict]) ?? []);
|
|
413
|
+
const derivedRun = derivedRecord?.run.kind === AssuranceEvidenceRunKind.DERIVED ? derivedRecord.run : undefined;
|
|
414
|
+
return {
|
|
415
|
+
demandRef,
|
|
416
|
+
standing: latestStanding(judgedRun ? judgedRecord : undefined, derivedRun ? derivedRecord : undefined),
|
|
417
|
+
clauses: clauses.map((clause) => {
|
|
418
|
+
const judgedVerdict = clauseVerdicts.get(clause.clauseRef);
|
|
419
|
+
return judgedVerdict === undefined ? clause : { ...clause, judgedVerdict };
|
|
420
|
+
}),
|
|
421
|
+
...(judgedRun && judgedRecord
|
|
422
|
+
? {
|
|
423
|
+
judged: {
|
|
424
|
+
verdict: judgedRun.verdict,
|
|
425
|
+
calibration: judgedRun.calibration,
|
|
426
|
+
applicationRevision: judgedRun.applicationRevision,
|
|
427
|
+
recordPath: judgedRecord.recordPath,
|
|
428
|
+
recordedAt: judgedRecord.recordedAt,
|
|
429
|
+
measurementCount: judgedRun.measurements.length,
|
|
430
|
+
withheldRuleCount: judgedRun.withheldRules?.length ?? 0,
|
|
431
|
+
},
|
|
432
|
+
}
|
|
433
|
+
: {}),
|
|
434
|
+
...(derivedRun && derivedRecord
|
|
435
|
+
? {
|
|
436
|
+
derivedNotApplicable: {
|
|
437
|
+
applicationRevision: derivedRun.applicationRevision,
|
|
438
|
+
recordPath: derivedRecord.recordPath,
|
|
439
|
+
recordedAt: derivedRecord.recordedAt,
|
|
440
|
+
unavailableCapabilityRefs: [...(derivedRun.unavailableCapabilityRefs ?? [])],
|
|
441
|
+
outsideJurisdictionLawSourceRefs: [...(derivedRun.outsideJurisdictions?.lawSourceRefs ?? [])],
|
|
442
|
+
},
|
|
443
|
+
}
|
|
444
|
+
: {}),
|
|
445
|
+
};
|
|
446
|
+
});
|
|
447
|
+
const answerFor = (row) => {
|
|
448
|
+
const objectiveRef = row.objective.objectiveRef;
|
|
449
|
+
const objective = objectiveByRef.get(objectiveRef);
|
|
450
|
+
if (objective === undefined)
|
|
451
|
+
throw new Error(`The reviewed row ${row.requirementRef} answers ${objectiveRef}, which the basis's objective catalog does not carry.`);
|
|
452
|
+
return {
|
|
453
|
+
reviewedRowRef: row.requirementRef,
|
|
454
|
+
objectiveRef,
|
|
455
|
+
objectiveVersion: row.objective.objectiveVersion,
|
|
456
|
+
objectiveTitle: objective.title,
|
|
457
|
+
extent: OPEN_COMPLIANCE_ANSWER_EXTENT_OF[row.answer.extent],
|
|
458
|
+
...(row.answer.extent === AssuranceSourceRequirementAnswerExtent.PARTIAL ? { remainder: row.answer.remainder } : {}),
|
|
459
|
+
reviewedByRef: row.reviewedByRef,
|
|
460
|
+
reviewedAt: row.reviewedAt,
|
|
461
|
+
evidence: evidenceFor(objectiveRef),
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
const attributionNotices = new Set();
|
|
465
|
+
const answeredObjectiveRefs = new Set();
|
|
466
|
+
const unmappedRequirements = [];
|
|
467
|
+
const sources = [];
|
|
468
|
+
for (const sourceRef of definition.sourceRefs) {
|
|
469
|
+
const records = sourcesByRef.get(sourceRef) ?? [];
|
|
470
|
+
if (records.length === 0)
|
|
471
|
+
throw new Error(`The ${input.section} section names ${sourceRef}, which the basis's source registry does not carry.`);
|
|
472
|
+
if (records.length > 1) {
|
|
473
|
+
throw new Error(`The ${input.section} section names ${sourceRef}, which the registry holds in ${records.length} versions; a section must name the edition it is organised by.`);
|
|
474
|
+
}
|
|
475
|
+
const source = records[0];
|
|
476
|
+
/*
|
|
477
|
+
* Rights, asked per source and never presumed from a source being public (#2849, required outcome 5). A source that
|
|
478
|
+
* does not authorize even a metadata citation refuses the pack, with the external mapping's error: a flag saying
|
|
479
|
+
* "we named a source we had no right to name" would be a record of the violation, not a control.
|
|
480
|
+
*/
|
|
481
|
+
if (!deriveAssuranceRightsAuthorization(source.rights, [AssuranceSourceUse.STORE_METADATA], evaluatedAt).authorized) {
|
|
482
|
+
throw new AssuranceExternalMappingRightsError(`Cannot name "${sourceRef}" in a coverage pack: its rights record does not authorize STORE_METADATA as of ${evaluatedAt}.`);
|
|
483
|
+
}
|
|
484
|
+
const contentUse = deriveAssuranceRightsAuthorization(source.rights, [AssuranceSourceUse.EXTRACT_CONTENT, AssuranceSourceUse.GENERATE_PROJECTION, AssuranceSourceUse.REDISTRIBUTE, AssuranceSourceUse.COMMERCIAL_USE], evaluatedAt).authorized
|
|
485
|
+
? OpenComplianceSourceContentUse.CONTENT_PERMITTED_WITH_ATTRIBUTION
|
|
486
|
+
: OpenComplianceSourceContentUse.LINK_ONLY;
|
|
487
|
+
attributionNotices.add(source.rights.attributionNotice);
|
|
488
|
+
/*
|
|
489
|
+
* A link-only source carries its title, its locator and Wildo's requirement slugs, and never a subject line: a
|
|
490
|
+
* subject is a paraphrase of the source's own structure, and for a share-alike source a paraphrase is the adaptation
|
|
491
|
+
* its rights record declines. The slugs and locators stay, because they are the references a metadata citation is.
|
|
492
|
+
*/
|
|
493
|
+
const subjectFor = (subject) => contentUse === OpenComplianceSourceContentUse.LINK_ONLY ? {} : { subject };
|
|
494
|
+
const rows = basis.sourceRequirementAuthorities.filter((row) => row.source.sourceRef === sourceRef && row.source.sourceVersion === source.identity.sourceVersion);
|
|
495
|
+
for (const row of rows)
|
|
496
|
+
answeredObjectiveRefs.add(row.objective.objectiveRef);
|
|
497
|
+
const rowByRef = new Map(rows.map((row) => [row.requirementRef, row]));
|
|
498
|
+
const entries = inventory.entries.filter((entry) => entry.source.sourceRef === sourceRef && entry.source.sourceVersion === source.identity.sourceVersion);
|
|
499
|
+
const requirements = [];
|
|
500
|
+
const placedRowRefs = new Set();
|
|
501
|
+
for (const entry of entries) {
|
|
502
|
+
const answers = entry.answeredBy.map((ref) => {
|
|
503
|
+
const row = rowByRef.get(ref);
|
|
504
|
+
if (row === undefined)
|
|
505
|
+
throw new Error(`The inventory entry ${entry.requirementRef} is answered by ${ref}, which no reviewed row of ${sourceRef} carries.`);
|
|
506
|
+
placedRowRefs.add(ref);
|
|
507
|
+
return answerFor(row);
|
|
508
|
+
});
|
|
509
|
+
const outside = entry.standing === AssuranceSourceRequirementInventoryStanding.OUTSIDE_SUPPORTED_SCOPE;
|
|
510
|
+
requirements.push({
|
|
511
|
+
kind: OpenComplianceRequirementKind.INVENTORY_ENTRY,
|
|
512
|
+
requirementRef: entry.requirementRef,
|
|
513
|
+
locator: entry.locator,
|
|
514
|
+
...subjectFor(entry.subject),
|
|
515
|
+
standing: outside
|
|
516
|
+
? OpenComplianceRequirementStanding.OUTSIDE_SUPPORTED_SCOPE
|
|
517
|
+
: answers.length > 0
|
|
518
|
+
? OpenComplianceRequirementStanding.ANSWERED
|
|
519
|
+
: OpenComplianceRequirementStanding.NOTHING_ANSWERS_YET,
|
|
520
|
+
...(entry.standingReason === undefined ? {} : { standingReason: entry.standingReason }),
|
|
521
|
+
answers,
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
// Every reviewed row the inventory does not place is its own requirement: for an un-inventoried source that is every
|
|
525
|
+
// row, and for an inventoried one it is a row added after the inventory, which must not vanish from the pack.
|
|
526
|
+
for (const row of rows) {
|
|
527
|
+
if (placedRowRefs.has(row.requirementRef))
|
|
528
|
+
continue;
|
|
529
|
+
requirements.push({
|
|
530
|
+
kind: OpenComplianceRequirementKind.REVIEWED_ROW,
|
|
531
|
+
requirementRef: row.requirementRef,
|
|
532
|
+
locator: row.canonicalLocator,
|
|
533
|
+
standing: OpenComplianceRequirementStanding.ANSWERED,
|
|
534
|
+
answers: [answerFor(row)],
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
const territorial = deriveTerritorialStanding(source, application.operatingJurisdictionSlugs);
|
|
538
|
+
const withheld = territorial.standing === OpenComplianceSourceTerritorialStanding.OUTSIDE_DECLARED_JURISDICTIONS;
|
|
539
|
+
const shown = withheld ? [] : requirements;
|
|
540
|
+
for (const requirement of shown) {
|
|
541
|
+
if (requirement.standing !== OpenComplianceRequirementStanding.NOTHING_ANSWERS_YET)
|
|
542
|
+
continue;
|
|
543
|
+
unmappedRequirements.push({
|
|
544
|
+
sourceRef,
|
|
545
|
+
requirementRef: requirement.requirementRef,
|
|
546
|
+
locator: requirement.locator,
|
|
547
|
+
...(requirement.subject === undefined ? {} : { subject: requirement.subject }),
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
sources.push({
|
|
551
|
+
sourceRef,
|
|
552
|
+
sourceVersion: source.identity.sourceVersion,
|
|
553
|
+
title: source.canonicalTitle,
|
|
554
|
+
edition: source.edition,
|
|
555
|
+
authorityName: source.authorityName,
|
|
556
|
+
authorityKind: source.authorityKind,
|
|
557
|
+
lifecycleStatus: source.lifecycleStatus,
|
|
558
|
+
canonicalLocator: source.canonicalLocator,
|
|
559
|
+
rightsRef: source.rights.rightsRef,
|
|
560
|
+
attributionNotice: source.rights.attributionNotice,
|
|
561
|
+
contentUse,
|
|
562
|
+
territorialStanding: territorial.standing,
|
|
563
|
+
...(territorial.reason === undefined ? {} : { territorialReason: territorial.reason }),
|
|
564
|
+
denominator: entries.length > 0 ? OpenComplianceSourceDenominator.INVENTORIED : OpenComplianceSourceDenominator.NOT_INVENTORIED,
|
|
565
|
+
scopeLimitations: [...source.scopeLimitations],
|
|
566
|
+
requirements: shown,
|
|
567
|
+
withheldRequirementCount: withheld ? requirements.length : 0,
|
|
568
|
+
counts: {
|
|
569
|
+
[OpenComplianceRequirementStanding.ANSWERED]: shown.filter((requirement) => requirement.standing === OpenComplianceRequirementStanding.ANSWERED).length,
|
|
570
|
+
[OpenComplianceRequirementStanding.NOTHING_ANSWERS_YET]: shown.filter((requirement) => requirement.standing === OpenComplianceRequirementStanding.NOTHING_ANSWERS_YET).length,
|
|
571
|
+
[OpenComplianceRequirementStanding.OUTSIDE_SUPPORTED_SCOPE]: shown.filter((requirement) => requirement.standing === OpenComplianceRequirementStanding.OUTSIDE_SUPPORTED_SCOPE).length,
|
|
572
|
+
},
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
/*
|
|
576
|
+
* Unmapped objectives are measured over EVERY row of the section's sources, including those withheld by territory: an
|
|
577
|
+
* objective answered only by a law outside the declared jurisdictions is answered, and calling it unmapped would
|
|
578
|
+
* misreport the basis to suit the application.
|
|
579
|
+
*/
|
|
580
|
+
const unmappedObjectives = basis.objectiveCatalog.objectives
|
|
581
|
+
.filter((objective) => {
|
|
582
|
+
const ref = objective.identity.objectiveRef;
|
|
583
|
+
return definition.objectiveRefs.includes(ref) || definition.objectiveRefPrefixes.some((prefix) => ref.startsWith(prefix));
|
|
584
|
+
})
|
|
585
|
+
.filter((objective) => !answeredObjectiveRefs.has(objective.identity.objectiveRef))
|
|
586
|
+
.map((objective) => ({ objectiveRef: objective.identity.objectiveRef, title: objective.title, reason: UNMAPPED_OBJECTIVE_REASON }))
|
|
587
|
+
.sort((left, right) => byText(left.objectiveRef, right.objectiveRef));
|
|
588
|
+
const namedObjectiveRefs = new Set([
|
|
589
|
+
...sources.flatMap((source) => source.requirements.flatMap((requirement) => requirement.answers.map((answer) => answer.objectiveRef))),
|
|
590
|
+
...unmappedObjectives.map((objective) => objective.objectiveRef),
|
|
591
|
+
]);
|
|
592
|
+
const objectives = [...namedObjectiveRefs].sort(byText).map((objectiveRef) => {
|
|
593
|
+
const objective = objectiveByRef.get(objectiveRef);
|
|
594
|
+
return { objectiveRef, title: objective.title, intent: objective.intent };
|
|
595
|
+
});
|
|
596
|
+
const pack = {
|
|
597
|
+
schemaVersion: 1,
|
|
598
|
+
packRef: `open-compliance-coverage-pack:${definition.fileStem}`,
|
|
599
|
+
section: input.section,
|
|
600
|
+
title: definition.title,
|
|
601
|
+
purpose: definition.purpose,
|
|
602
|
+
evaluatedAt,
|
|
603
|
+
basis: {
|
|
604
|
+
basisRef: basis.basisRef,
|
|
605
|
+
basisVersion: basis.basisVersion,
|
|
606
|
+
sourceRegistryVersion: basis.sourceRegistry.registryVersion,
|
|
607
|
+
sourceRegistryVerifiedAt: basis.sourceRegistry.verifiedAt,
|
|
608
|
+
objectiveCatalogVersion: basis.objectiveCatalog.catalogVersion,
|
|
609
|
+
},
|
|
610
|
+
application: {
|
|
611
|
+
applicationRef: application.applicationRef,
|
|
612
|
+
applicationRevision: application.applicationRevision,
|
|
613
|
+
operatingJurisdictionSlugs: application.operatingJurisdictionSlugs === null ? null : [...application.operatingJurisdictionSlugs].sort(byText),
|
|
614
|
+
assuranceRepositoryHead: application.assuranceRepositoryHead,
|
|
615
|
+
},
|
|
616
|
+
normativeSourceContentIncluded: false,
|
|
617
|
+
statements: OPEN_COMPLIANCE_COVERAGE_PACK_STATEMENTS,
|
|
618
|
+
attributionNotices: [...attributionNotices].sort(byText),
|
|
619
|
+
sources,
|
|
620
|
+
unmapped: { requirements: unmappedRequirements, objectives: unmappedObjectives },
|
|
621
|
+
objectives,
|
|
622
|
+
};
|
|
623
|
+
assertOpenComplianceClaimsGuarded(collectOpenCompliancePackTexts(pack), input.restrictedTargetReferencePattern);
|
|
624
|
+
return pack;
|
|
625
|
+
}
|
|
626
|
+
/* ------------------------------------------------------------------ renderings */
|
|
627
|
+
/*
|
|
628
|
+
* The words a rendering shows for each vocabulary member: authored once per member, never derived from the member's
|
|
629
|
+
* spelling (`display-text-comes-from-i18n.md`: a formatter turning `OUTSIDE_SUPPORTED_SCOPE` into prose is the defect
|
|
630
|
+
* that rule removes). A report file is not the i18n tree, so the words live here, in `Record`s typed by the enum, which
|
|
631
|
+
* makes a member added tomorrow a compile error until its words are written.
|
|
632
|
+
*/
|
|
633
|
+
const VERDICT_LABEL = Object.freeze({
|
|
634
|
+
[AssuranceEvidenceJudgementVerdict.CONFORMANT]: "conformant (judged, internal evidence)",
|
|
635
|
+
[AssuranceEvidenceJudgementVerdict.OBSERVATION]: "observation (judged)",
|
|
636
|
+
[AssuranceEvidenceJudgementVerdict.NONCONFORMITY]: "nonconformity (judged)",
|
|
637
|
+
[AssuranceEvidenceJudgementVerdict.INSUFFICIENT_EVIDENCE]: "insufficient evidence (judged)",
|
|
638
|
+
[AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED]: "not applicable as configured (derived)",
|
|
639
|
+
});
|
|
640
|
+
const STANDING_LABEL = Object.freeze({
|
|
641
|
+
[OpenComplianceRequirementStanding.ANSWERED]: "answered",
|
|
642
|
+
[OpenComplianceRequirementStanding.NOTHING_ANSWERS_YET]: "nothing answers it yet",
|
|
643
|
+
[OpenComplianceRequirementStanding.OUTSIDE_SUPPORTED_SCOPE]: "not supported yet",
|
|
644
|
+
});
|
|
645
|
+
const TERRITORIAL_STANDING_LABEL = Object.freeze({
|
|
646
|
+
[OpenComplianceSourceTerritorialStanding.UNIVERSAL_GUIDANCE]: "guidance, applies everywhere",
|
|
647
|
+
[OpenComplianceSourceTerritorialStanding.WITHIN_DECLARED_JURISDICTIONS]: "law, within the declared jurisdictions",
|
|
648
|
+
[OpenComplianceSourceTerritorialStanding.JURISDICTION_OWED]: "law, jurisdiction owed",
|
|
649
|
+
[OpenComplianceSourceTerritorialStanding.OUTSIDE_DECLARED_JURISDICTIONS]: "law, outside the declared jurisdictions",
|
|
650
|
+
});
|
|
651
|
+
const DENOMINATOR_LABEL = Object.freeze({
|
|
652
|
+
[OpenComplianceSourceDenominator.INVENTORIED]: "every top-level requirement listed",
|
|
653
|
+
[OpenComplianceSourceDenominator.NOT_INVENTORIED]: "reviewed rows only",
|
|
654
|
+
});
|
|
655
|
+
const LIFECYCLE_LABEL = Object.freeze({
|
|
656
|
+
[AssuranceSourceLifecycleStatus.ACTIVE]: "cited",
|
|
657
|
+
[AssuranceSourceLifecycleStatus.DRAFT]: "registered, cited by nothing yet",
|
|
658
|
+
[AssuranceSourceLifecycleStatus.SUPERSEDED]: "superseded",
|
|
659
|
+
[AssuranceSourceLifecycleStatus.WITHDRAWN]: "withdrawn",
|
|
660
|
+
});
|
|
661
|
+
const HOME_LABEL = Object.freeze({
|
|
662
|
+
[AssuranceEvidenceHome.DECLARED]: "declared",
|
|
663
|
+
[AssuranceEvidenceHome.EMITTED]: "emitted record",
|
|
664
|
+
[AssuranceEvidenceHome.APPLICATION_RECORDED]: "application record",
|
|
665
|
+
[AssuranceEvidenceHome.OBSERVED]: "observed when driven",
|
|
666
|
+
[AssuranceEvidenceHome.PERFORMED]: "host-supplied",
|
|
667
|
+
[AssuranceEvidenceHome.UNPRODUCED]: "nothing produces it yet",
|
|
668
|
+
});
|
|
669
|
+
const PLANE_LABEL = Object.freeze({
|
|
670
|
+
[AssuranceEvidenceExecutionPlane.META_APPLICATION]: "configuration",
|
|
671
|
+
[AssuranceEvidenceExecutionPlane.VERIFICATION]: "verification",
|
|
672
|
+
[AssuranceEvidenceExecutionPlane.PRODUCTION]: "production",
|
|
673
|
+
});
|
|
674
|
+
const CALIBRATION_LABEL = Object.freeze({
|
|
675
|
+
[AssuranceJudgementCalibrationState.CALIBRATED]: "calibrated judge",
|
|
676
|
+
[AssuranceJudgementCalibrationState.UNCALIBRATED]: "uncalibrated judge",
|
|
677
|
+
});
|
|
678
|
+
/** A judged verdict with the revision and date it describes. */
|
|
679
|
+
function describeJudged(judged) {
|
|
680
|
+
return `${VERDICT_LABEL[judged.verdict]} at application revision ${judged.applicationRevision}, recorded ${judged.recordedAt ?? "on an unknown date"}`;
|
|
681
|
+
}
|
|
682
|
+
/** A derived not-applicable verdict with the revision and date it describes. */
|
|
683
|
+
function describeDerived(derived) {
|
|
684
|
+
return `${VERDICT_LABEL[AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED]} at application revision ${derived.applicationRevision}, recorded ${derived.recordedAt ?? "on an unknown date"}`;
|
|
685
|
+
}
|
|
686
|
+
/** The latest verdict of one demand, with the revision and date it describes, so an older verdict never reads as current. */
|
|
687
|
+
function describeDemand(demand) {
|
|
688
|
+
switch (demand.standing) {
|
|
689
|
+
case OpenComplianceEvidenceStanding.JUDGED:
|
|
690
|
+
return demand.derivedNotApplicable ? `${describeJudged(demand.judged)}; also ${describeDerived(demand.derivedNotApplicable)}` : describeJudged(demand.judged);
|
|
691
|
+
case OpenComplianceEvidenceStanding.DERIVED_NOT_APPLICABLE:
|
|
692
|
+
return demand.judged ? `${describeDerived(demand.derivedNotApplicable)}; earlier ${describeJudged(demand.judged)}` : describeDerived(demand.derivedNotApplicable);
|
|
693
|
+
case OpenComplianceEvidenceStanding.NO_EVIDENCE:
|
|
694
|
+
return "no evidence";
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
/** The latest verdict per demand of one answer, as a reader sees it in one cell. */
|
|
698
|
+
function describeAnswerEvidence(answer) {
|
|
699
|
+
if (answer.evidence.length === 0)
|
|
700
|
+
return "no evidence demand bound";
|
|
701
|
+
return answer.evidence.map((demand) => `${demand.demandRef.replace(/^evidence-requirement:/u, "")}: ${describeDemand(demand)}`).join("; ");
|
|
702
|
+
}
|
|
703
|
+
/** A requirement's standing as one cell, with the reason a not-supported entry carries. */
|
|
704
|
+
const describeStanding = (requirement) => requirement.standingReason === undefined ? STANDING_LABEL[requirement.standing] : `${STANDING_LABEL[requirement.standing]}: ${requirement.standingReason}`;
|
|
705
|
+
const markdownCell = (value) => value.replaceAll("\\", "\\\\").replaceAll("|", "\\|").replaceAll("\n", " ");
|
|
706
|
+
/** Link text escapes its brackets; the target is wrapped in angle brackets, so a space or a parenthesis cannot end it. */
|
|
707
|
+
const markdownLink = (text, url) => `[${markdownCell(text).replaceAll("[", "\\[").replaceAll("]", "\\]")}](<${url.replaceAll(">", "%3E")}>)`;
|
|
708
|
+
/**
|
|
709
|
+
* The pack as a page a reader opens: its statements first, then one table per source with the empty column for the
|
|
710
|
+
* reader's own standard, then the answers' evidence, then everything unmapped.
|
|
711
|
+
*/
|
|
712
|
+
export function renderOpenComplianceCoveragePackMarkdown(pack) {
|
|
713
|
+
const lines = [];
|
|
714
|
+
const jurisdictions = pack.application.operatingJurisdictionSlugs === null ? "none declared" : pack.application.operatingJurisdictionSlugs.join(", ");
|
|
715
|
+
lines.push(`# Open-compliance coverage pack: ${pack.title}`, "", pack.purpose, "", `Application \`${pack.application.applicationRef}\` at \`${pack.application.applicationRevision}\` · operating jurisdictions: ${jurisdictions} · assurance repository \`${pack.application.assuranceRepositoryHead ?? "none"}\``, "", `Authority basis \`${pack.basis.basisRef}\` generation ${pack.basis.basisVersion} · source registry version ${pack.basis.sourceRegistryVersion} (verified ${pack.basis.sourceRegistryVerifiedAt}) · objective catalog version ${pack.basis.objectiveCatalogVersion} · generated ${pack.evaluatedAt}`, "", "## What this pack is, and is not", "", ...pack.statements.map((statement) => `- ${statement}`), "", "## Sources", "", "| Source | Standing here | Requirements | Answered | Nothing answers yet | Not supported yet |", "|---|---|---|---|---|---|", ...pack.sources.map((source) => {
|
|
716
|
+
const total = source.requirements.length;
|
|
717
|
+
const shownTotal = source.territorialStanding === OpenComplianceSourceTerritorialStanding.OUTSIDE_DECLARED_JURISDICTIONS ? `${source.withheldRequirementCount} withheld` : `${total}`;
|
|
718
|
+
return `| ${markdownLink(source.title, source.canonicalLocator)} | ${markdownCell(`${TERRITORIAL_STANDING_LABEL[source.territorialStanding]}; ${DENOMINATOR_LABEL[source.denominator]}; ${LIFECYCLE_LABEL[source.lifecycleStatus]}`)} | ${shownTotal} | ${source.counts.ANSWERED} | ${source.counts.NOTHING_ANSWERS_YET} | ${source.counts.OUTSIDE_SUPPORTED_SCOPE} |`;
|
|
719
|
+
}), "");
|
|
720
|
+
for (const source of pack.sources) {
|
|
721
|
+
lines.push(`## ${source.title}`, "", `${source.edition} · ${source.authorityName} · <${source.canonicalLocator}>`, "");
|
|
722
|
+
if (source.territorialReason)
|
|
723
|
+
lines.push(`Territory: ${source.territorialReason}`, "");
|
|
724
|
+
lines.push(`Attribution: ${source.attributionNotice}`, "");
|
|
725
|
+
if (source.contentUse === OpenComplianceSourceContentUse.LINK_ONLY)
|
|
726
|
+
lines.push("Cited by reference only: the pack carries its title, its link and Wildo's requirement slugs.", "");
|
|
727
|
+
if (source.denominator === OpenComplianceSourceDenominator.NOT_INVENTORIED) {
|
|
728
|
+
lines.push("Its top-level requirements are not inventoried: only the reviewed rows citing it are listed, and what it asks beyond them is not.", "");
|
|
729
|
+
}
|
|
730
|
+
lines.push(...source.scopeLimitations.map((limitation) => `- ${limitation}`), "");
|
|
731
|
+
if (source.requirements.length === 0) {
|
|
732
|
+
lines.push(source.withheldRequirementCount > 0
|
|
733
|
+
? `${source.withheldRequirementCount} requirement(s) withheld: the source does not reach the declared operating jurisdictions.`
|
|
734
|
+
: "No requirement of this source is listed: nothing cites it yet.", "");
|
|
735
|
+
continue;
|
|
736
|
+
}
|
|
737
|
+
lines.push("| Open requirement | Locator | Subject | Standing | Wildo objective(s) | Latest verdict | Your standard's requirement |", "|---|---|---|---|---|---|---|");
|
|
738
|
+
for (const requirement of source.requirements) {
|
|
739
|
+
const objectivesCell = requirement.answers.map((answer) => `${answer.objectiveRef} (${answer.reviewedRowRef.replace(/^source-requirement:/u, "")}; ${describeAnswerExtent(answer)})`).join("; ");
|
|
740
|
+
const verdictCell = requirement.answers.map(describeAnswerEvidence).join(" / ");
|
|
741
|
+
lines.push(`| \`${requirement.requirementRef.replace(/^source-requirement:/u, "")}\` | ${markdownCell(requirement.locator)} | ${markdownCell(requirement.subject ?? "")} | ${markdownCell(describeStanding(requirement))} | ${markdownCell(objectivesCell)} | ${markdownCell(verdictCell)} | |`);
|
|
742
|
+
}
|
|
743
|
+
lines.push("");
|
|
744
|
+
}
|
|
745
|
+
const answers = pack.sources.flatMap((source) => source.requirements.flatMap((requirement) => requirement.answers));
|
|
746
|
+
const seenObjectiveRefs = new Set();
|
|
747
|
+
lines.push("## The evidence each answering objective demands", "");
|
|
748
|
+
for (const answer of answers) {
|
|
749
|
+
if (seenObjectiveRefs.has(answer.objectiveRef))
|
|
750
|
+
continue;
|
|
751
|
+
seenObjectiveRefs.add(answer.objectiveRef);
|
|
752
|
+
lines.push(`### ${answer.objectiveRef}: ${answer.objectiveTitle}`, "");
|
|
753
|
+
if (answer.evidence.length === 0)
|
|
754
|
+
lines.push("No evidence demand is bound to it.", "");
|
|
755
|
+
for (const demand of answer.evidence) {
|
|
756
|
+
const records = [demand.judged?.recordPath, demand.derivedNotApplicable?.recordPath].filter((path) => path !== undefined);
|
|
757
|
+
// A calibrated judge that withheld a rule calibrated only the rules that decided a clause (#3025): say how many it did not.
|
|
758
|
+
const withheld = demand.judged && demand.judged.withheldRuleCount > 0 ? ` (${demand.judged.withheldRuleCount} rule(s) withheld, their clauses not run)` : "";
|
|
759
|
+
const measurements = demand.judged ? `, ${demand.judged.measurementCount} measurement(s), ${CALIBRATION_LABEL[demand.judged.calibration]}${withheld}` : "";
|
|
760
|
+
const head = `${describeDemand(demand)}${measurements}${records.length > 0 ? `, ${records.map((path) => `\`${path}\``).join(", ")}` : ", no committed run"}`;
|
|
761
|
+
lines.push(`- \`${demand.demandRef}\`: ${head}`);
|
|
762
|
+
for (const clause of demand.clauses) {
|
|
763
|
+
lines.push(` - ${clause.clauseRef} (${HOME_LABEL[clause.home]}, ${PLANE_LABEL[clause.plane]})${clause.judgedVerdict ? ` ${VERDICT_LABEL[clause.judgedVerdict]}` : ""}: ${clause.obligation}`);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
lines.push("");
|
|
767
|
+
}
|
|
768
|
+
lines.push("## Unmapped", "", "Requirements within the supported scope that no reviewed row answers:", "");
|
|
769
|
+
if (pack.unmapped.requirements.length === 0)
|
|
770
|
+
lines.push("- none", "");
|
|
771
|
+
else
|
|
772
|
+
lines.push(...pack.unmapped.requirements.map((requirement) => `- \`${requirement.requirementRef}\` (${requirement.locator})${requirement.subject ? `: ${requirement.subject}` : ""}`), "");
|
|
773
|
+
lines.push("Objectives of this section no reviewed row answers:", "");
|
|
774
|
+
if (pack.unmapped.objectives.length === 0)
|
|
775
|
+
lines.push("- none", "");
|
|
776
|
+
else
|
|
777
|
+
lines.push(...pack.unmapped.objectives.map((objective) => `- \`${objective.objectiveRef}\`: ${objective.title}. ${objective.reason}`), "");
|
|
778
|
+
lines.push("## The objectives named", "", ...pack.objectives.map((objective) => `- **${objective.objectiveRef}** (${objective.title}): ${objective.intent}`), "");
|
|
779
|
+
lines.push("## Attribution", "", ...pack.attributionNotices.map((notice) => `- ${notice}`), "");
|
|
780
|
+
return `${lines.join("\n")}\n`;
|
|
781
|
+
}
|
|
782
|
+
/** The worksheet's columns, the last one left empty by Wildo for the customer's standard. */
|
|
783
|
+
export const OPEN_COMPLIANCE_BINDING_WORKSHEET_COLUMNS = Object.freeze([
|
|
784
|
+
"section",
|
|
785
|
+
"source",
|
|
786
|
+
"source_locator",
|
|
787
|
+
"open_requirement",
|
|
788
|
+
"requirement_locator",
|
|
789
|
+
"subject",
|
|
790
|
+
"standing",
|
|
791
|
+
"wildo_objectives",
|
|
792
|
+
"latest_verdicts",
|
|
793
|
+
"basis",
|
|
794
|
+
"your_standards_requirement",
|
|
795
|
+
]);
|
|
796
|
+
/**
|
|
797
|
+
* One CSV field. A field a spreadsheet would read as a formula (`=`, `+`, `-`, `@`, a tab or a carriage return first) is
|
|
798
|
+
* prefixed with an apostrophe: the customer opens this file in a spreadsheet, and a cell must never run.
|
|
799
|
+
*/
|
|
800
|
+
const csvField = (raw) => {
|
|
801
|
+
const value = /^[=+\-@\t\r]/u.test(raw) ? `'${raw}` : raw;
|
|
802
|
+
return /[",\n\r]/u.test(value) ? `"${value.replaceAll('"', '""')}"` : value;
|
|
803
|
+
};
|
|
804
|
+
/**
|
|
805
|
+
* The binding worksheet: one line per open requirement, every requirement the pack lists, with the customer's column
|
|
806
|
+
* EMPTY. Withheld requirements are not lines: a customer binds what applies to it.
|
|
807
|
+
*/
|
|
808
|
+
export function renderOpenComplianceBindingWorksheetCsv(pack) {
|
|
809
|
+
const basis = `${pack.basis.basisRef}@${pack.basis.basisVersion}, registry ${pack.basis.sourceRegistryVersion}, ${pack.evaluatedAt}`;
|
|
810
|
+
const rows = pack.sources.flatMap((source) => source.requirements.map((requirement) => [
|
|
811
|
+
pack.section,
|
|
812
|
+
source.sourceRef,
|
|
813
|
+
source.canonicalLocator,
|
|
814
|
+
requirement.requirementRef,
|
|
815
|
+
requirement.locator,
|
|
816
|
+
requirement.subject ?? "",
|
|
817
|
+
describeStanding(requirement),
|
|
818
|
+
requirement.answers.map((answer) => `${answer.objectiveRef} (${describeAnswerExtent(answer)})`).join("; "),
|
|
819
|
+
requirement.answers.map(describeAnswerEvidence).join(" / "),
|
|
820
|
+
basis,
|
|
821
|
+
"",
|
|
822
|
+
]));
|
|
823
|
+
return `${[OPEN_COMPLIANCE_BINDING_WORKSHEET_COLUMNS, ...rows].map((row) => row.map(csvField).join(",")).join("\n")}\n`;
|
|
824
|
+
}
|
|
825
|
+
//# sourceMappingURL=assurance-open-compliance-coverage-pack.js.map
|