@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
|
@@ -132,7 +132,15 @@ export declare enum AssuranceJudgementIndependenceAttainment {
|
|
|
132
132
|
* harness has not earned.
|
|
133
133
|
*/
|
|
134
134
|
export declare enum AssuranceJudgementCalibrationState {
|
|
135
|
-
/**
|
|
135
|
+
/**
|
|
136
|
+
* The planted set has been met, and the suite that did it is named on the record.
|
|
137
|
+
*
|
|
138
|
+
* For a deterministic judge (#3025) the set is met on FIXTURES, never on the collected evidence, and covers
|
|
139
|
+
* exactly the rules that decided a clause of this run. A rule whose planted cases failed, or whose fixture no
|
|
140
|
+
* longer has the shape of the collected facts, decides nothing: its clauses are recorded NOT RUN, and the rule
|
|
141
|
+
* is named in `withheldRules` with the reason. So CALIBRATED says every rule that reached a verdict here was
|
|
142
|
+
* shown to discriminate; it says nothing about a withheld rule.
|
|
143
|
+
*/
|
|
136
144
|
CALIBRATED = "CALIBRATED",
|
|
137
145
|
/** No planted set has been met. Every verdict from this harness carries the label. */
|
|
138
146
|
UNCALIBRATED = "UNCALIBRATED"
|
|
@@ -234,6 +242,21 @@ export declare const AssuranceJudgementIndependenceEntrySchema: z.ZodObject<{
|
|
|
234
242
|
note: z.ZodString;
|
|
235
243
|
}, z.core.$strict>;
|
|
236
244
|
export type AssuranceJudgementIndependenceEntry = z.infer<typeof AssuranceJudgementIndependenceEntrySchema>;
|
|
245
|
+
/**
|
|
246
|
+
* One rule a judge did not trust on one run, and why (#3025).
|
|
247
|
+
*
|
|
248
|
+
* A judge proves each of its rules against planted cases before it uses it. A rule that failed that proof, or
|
|
249
|
+
* whose fixture no longer has the shape of the facts it is about to read, decides no clause: each clause it
|
|
250
|
+
* would have decided is recorded NOT RUN. Naming it here keeps that on the record, so a reader of a CALIBRATED
|
|
251
|
+
* run can see which rules the calibration does not cover, rather than learning it from the judge's console.
|
|
252
|
+
*/
|
|
253
|
+
export declare const AssuranceJudgementWithheldRuleSchema: z.ZodObject<{
|
|
254
|
+
/** The judge's own name for the rule, as it names the rules a run exercised. */
|
|
255
|
+
rule: z.ZodString;
|
|
256
|
+
/** Why it was withheld: the planted cases it missed, or the fact key paths on which its fixture and the evidence differ. */
|
|
257
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
258
|
+
}, z.core.$strict>;
|
|
259
|
+
export type AssuranceJudgementWithheldRule = z.infer<typeof AssuranceJudgementWithheldRuleSchema>;
|
|
237
260
|
/**
|
|
238
261
|
* Every member of {@link AssuranceJudgementIndependenceAxis}, sorted — the population an independence
|
|
239
262
|
* declaration must cover exactly.
|
|
@@ -260,11 +283,36 @@ export declare const ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES: readonly AssuranceJu
|
|
|
260
283
|
export declare function assertClauseJudgementsSupportVerdict(clauseJudgements: readonly {
|
|
261
284
|
readonly verdict: AssuranceEvidenceJudgementVerdict;
|
|
262
285
|
}[], verdict: AssuranceEvidenceJudgementVerdict, context: z.RefinementCtx, path: PropertyKey[]): void;
|
|
263
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* The territorial reason a derived verdict can rest on (#2852): the objective rests only on laws, and none of them
|
|
288
|
+
* reaches a jurisdiction the application declares.
|
|
289
|
+
*/
|
|
290
|
+
export declare const AssuranceEvidenceDerivedJurisdictionReasonSchema: z.ZodObject<{
|
|
291
|
+
/** The jurisdictions the application declared when the verdict was derived. */
|
|
292
|
+
declaredJurisdictionSlugs: z.ZodArray<z.ZodString>;
|
|
293
|
+
/** The laws the objective rests on, none of which reaches a declared jurisdiction. */
|
|
294
|
+
lawSourceRefs: z.ZodArray<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">>;
|
|
295
|
+
}, z.core.$strict>;
|
|
296
|
+
export type AssuranceEvidenceDerivedJurisdictionReason = z.infer<typeof AssuranceEvidenceDerivedJurisdictionReasonSchema>;
|
|
297
|
+
/**
|
|
298
|
+
* A run whose verdict was resolved from the application's configuration before anything was collected.
|
|
299
|
+
*
|
|
300
|
+
* Configuration decides it on two independent axes, and the record names which: the capabilities the application
|
|
301
|
+
* leaves off (`unavailableCapabilityRefs`), or the jurisdictions it declares (`outsideJurisdictions`, #2852). At
|
|
302
|
+
* least one is present; a derived verdict with no reason is a verdict with no evidence. `unavailableCapabilityRefs`
|
|
303
|
+
* stays the field it always was, so a run recorded before the territorial axis existed parses unchanged.
|
|
304
|
+
*/
|
|
264
305
|
export declare const AssuranceEvidenceDerivedRunSchema: z.ZodObject<{
|
|
265
306
|
verdict: z.ZodLiteral<AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED>;
|
|
266
|
-
/** The capabilities whose absence decided it
|
|
267
|
-
unavailableCapabilityRefs: z.ZodArray<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out"
|
|
307
|
+
/** The capabilities whose absence decided it, when that is the axis. */
|
|
308
|
+
unavailableCapabilityRefs: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">>>;
|
|
309
|
+
/** The jurisdictions that decided it, when that is the axis. */
|
|
310
|
+
outsideJurisdictions: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
/** The jurisdictions the application declared when the verdict was derived. */
|
|
312
|
+
declaredJurisdictionSlugs: z.ZodArray<z.ZodString>;
|
|
313
|
+
/** The laws the objective rests on, none of which reaches a declared jurisdiction. */
|
|
314
|
+
lawSourceRefs: z.ZodArray<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">>;
|
|
315
|
+
}, z.core.$strict>>;
|
|
268
316
|
runRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
269
317
|
demandRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
270
318
|
objectiveRef: z.core.$ZodBranded<z.ZodString, "AssuranceWildoObjectiveRef", "out">;
|
|
@@ -323,6 +371,16 @@ export declare const AssuranceEvidenceJudgedRunSchema: z.ZodObject<{
|
|
|
323
371
|
calibration: z.ZodEnum<typeof AssuranceJudgementCalibrationState>;
|
|
324
372
|
/** The planted set this harness met. Required by `CALIBRATED` and refused by `UNCALIBRATED`. */
|
|
325
373
|
calibrationSuiteRef: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">>;
|
|
374
|
+
/**
|
|
375
|
+
* The rules this run did not trust, each with why (#3025). Their clauses are NOT RUN. Optional, and absent when
|
|
376
|
+
* none was withheld, so runs recorded before the field existed read as they always did.
|
|
377
|
+
*/
|
|
378
|
+
withheldRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
379
|
+
/** The judge's own name for the rule, as it names the rules a run exercised. */
|
|
380
|
+
rule: z.ZodString;
|
|
381
|
+
/** Why it was withheld: the planted cases it missed, or the fact key paths on which its fixture and the evidence differ. */
|
|
382
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
383
|
+
}, z.core.$strict>>>;
|
|
326
384
|
runRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
327
385
|
demandRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
328
386
|
objectiveRef: z.core.$ZodBranded<z.ZodString, "AssuranceWildoObjectiveRef", "out">;
|
|
@@ -341,8 +399,15 @@ export type AssuranceEvidenceJudgedRun = z.infer<typeof AssuranceEvidenceJudgedR
|
|
|
341
399
|
/** Any run, discriminated by how its verdict was reached. */
|
|
342
400
|
export declare const AssuranceEvidenceRunSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
343
401
|
verdict: z.ZodLiteral<AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED>;
|
|
344
|
-
/** The capabilities whose absence decided it
|
|
345
|
-
unavailableCapabilityRefs: z.ZodArray<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out"
|
|
402
|
+
/** The capabilities whose absence decided it, when that is the axis. */
|
|
403
|
+
unavailableCapabilityRefs: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">>>;
|
|
404
|
+
/** The jurisdictions that decided it, when that is the axis. */
|
|
405
|
+
outsideJurisdictions: z.ZodOptional<z.ZodObject<{
|
|
406
|
+
/** The jurisdictions the application declared when the verdict was derived. */
|
|
407
|
+
declaredJurisdictionSlugs: z.ZodArray<z.ZodString>;
|
|
408
|
+
/** The laws the objective rests on, none of which reaches a declared jurisdiction. */
|
|
409
|
+
lawSourceRefs: z.ZodArray<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">>;
|
|
410
|
+
}, z.core.$strict>>;
|
|
346
411
|
runRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
347
412
|
demandRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
348
413
|
objectiveRef: z.core.$ZodBranded<z.ZodString, "AssuranceWildoObjectiveRef", "out">;
|
|
@@ -398,6 +463,16 @@ export declare const AssuranceEvidenceRunSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
398
463
|
calibration: z.ZodEnum<typeof AssuranceJudgementCalibrationState>;
|
|
399
464
|
/** The planted set this harness met. Required by `CALIBRATED` and refused by `UNCALIBRATED`. */
|
|
400
465
|
calibrationSuiteRef: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">>;
|
|
466
|
+
/**
|
|
467
|
+
* The rules this run did not trust, each with why (#3025). Their clauses are NOT RUN. Optional, and absent when
|
|
468
|
+
* none was withheld, so runs recorded before the field existed read as they always did.
|
|
469
|
+
*/
|
|
470
|
+
withheldRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
471
|
+
/** The judge's own name for the rule, as it names the rules a run exercised. */
|
|
472
|
+
rule: z.ZodString;
|
|
473
|
+
/** Why it was withheld: the planted cases it missed, or the fact key paths on which its fixture and the evidence differ. */
|
|
474
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
475
|
+
}, z.core.$strict>>>;
|
|
401
476
|
runRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
402
477
|
demandRef: z.core.$ZodBranded<z.ZodString, "AssuranceNamespacedRef", "out">;
|
|
403
478
|
objectiveRef: z.core.$ZodBranded<z.ZodString, "AssuranceWildoObjectiveRef", "out">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assurance-evidence-judgement.schemas.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-evidence-judgement.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,iCAAiC,EAA4C,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAMpJ;;;;;;;GAOG;AACH,oBAAY,+BAA+B;IACzC,2EAA2E;IAC3E,IAAI,SAAS;IACb;;;;;OAKG;IACH,MAAM,WAAW;IACjB;;;;;;;OAOG;IACH,aAAa,kBAAkB;CAChC;AAED;;;;;;;GAOG;AACH,oBAAY,kCAAkC;IAC5C,wHAAwH;IACxH,UAAU,eAAe;IACzB,8GAA8G;IAC9G,QAAQ,aAAa;IACrB,yHAAyH;IACzH,OAAO,YAAY;IACnB,4GAA4G;IAC5G,KAAK,UAAU;IACf;;;;;;;;OAQG;IACH,QAAQ,aAAa;CACtB;AAED,uJAAuJ;AACvJ,oBAAY,wCAAwC;IAClD,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED;;;;;;;GAOG;AACH,oBAAY,kCAAkC;IAC5C
|
|
1
|
+
{"version":3,"file":"assurance-evidence-judgement.schemas.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-evidence-judgement.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,iCAAiC,EAA4C,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAMpJ;;;;;;;GAOG;AACH,oBAAY,+BAA+B;IACzC,2EAA2E;IAC3E,IAAI,SAAS;IACb;;;;;OAKG;IACH,MAAM,WAAW;IACjB;;;;;;;OAOG;IACH,aAAa,kBAAkB;CAChC;AAED;;;;;;;GAOG;AACH,oBAAY,kCAAkC;IAC5C,wHAAwH;IACxH,UAAU,eAAe;IACzB,8GAA8G;IAC9G,QAAQ,aAAa;IACrB,yHAAyH;IACzH,OAAO,YAAY;IACnB,4GAA4G;IAC5G,KAAK,UAAU;IACf;;;;;;;;OAQG;IACH,QAAQ,aAAa;CACtB;AAED,uJAAuJ;AACvJ,oBAAY,wCAAwC;IAClD,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED;;;;;;;GAOG;AACH,oBAAY,kCAAkC;IAC5C;;;;;;;;OAQG;IACH,UAAU,eAAe;IACzB,sFAAsF;IACtF,YAAY,iBAAiB;CAC9B;AAED;;;;;;;GAOG;AACH,oBAAY,wBAAwB;IAClC;;;;;OAKG;IACH,OAAO,YAAY;IACnB,kHAAkH;IAClH,MAAM,WAAW;CAClB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,sCAAsC;;;;kBAIjD,CAAC;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEtG;;;;;;;GAOG;AACH,eAAO,MAAM,kCAAkC;;IAE7C,0DAA0D;;IAE1D;;;;;OAKG;;kBA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AAE,CAAC;IAAC,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAOvG;AAED;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;;;;;;;IAIvC,uIAAuI;;;IAGvI,wEAAwE;;IAExE;;;;;;;OAOG;;IAEH,2EAA2E;;;kBAyB3E,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -139,7 +139,15 @@ export var AssuranceJudgementIndependenceAttainment;
|
|
|
139
139
|
*/
|
|
140
140
|
export var AssuranceJudgementCalibrationState;
|
|
141
141
|
(function (AssuranceJudgementCalibrationState) {
|
|
142
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* The planted set has been met, and the suite that did it is named on the record.
|
|
144
|
+
*
|
|
145
|
+
* For a deterministic judge (#3025) the set is met on FIXTURES, never on the collected evidence, and covers
|
|
146
|
+
* exactly the rules that decided a clause of this run. A rule whose planted cases failed, or whose fixture no
|
|
147
|
+
* longer has the shape of the collected facts, decides nothing: its clauses are recorded NOT RUN, and the rule
|
|
148
|
+
* is named in `withheldRules` with the reason. So CALIBRATED says every rule that reached a verdict here was
|
|
149
|
+
* shown to discriminate; it says nothing about a withheld rule.
|
|
150
|
+
*/
|
|
143
151
|
AssuranceJudgementCalibrationState["CALIBRATED"] = "CALIBRATED";
|
|
144
152
|
/** No planted set has been met. Every verdict from this harness carries the label. */
|
|
145
153
|
AssuranceJudgementCalibrationState["UNCALIBRATED"] = "UNCALIBRATED";
|
|
@@ -248,6 +256,20 @@ export const AssuranceJudgementIndependenceEntrySchema = z.strictObject({
|
|
|
248
256
|
/** Why this attainment, in one sentence. `PARTIAL` and `NOT_ACHIEVED` are claims a reader must be able to weigh. */
|
|
249
257
|
note: z.string().min(1),
|
|
250
258
|
});
|
|
259
|
+
/**
|
|
260
|
+
* One rule a judge did not trust on one run, and why (#3025).
|
|
261
|
+
*
|
|
262
|
+
* A judge proves each of its rules against planted cases before it uses it. A rule that failed that proof, or
|
|
263
|
+
* whose fixture no longer has the shape of the facts it is about to read, decides no clause: each clause it
|
|
264
|
+
* would have decided is recorded NOT RUN. Naming it here keeps that on the record, so a reader of a CALIBRATED
|
|
265
|
+
* run can see which rules the calibration does not cover, rather than learning it from the judge's console.
|
|
266
|
+
*/
|
|
267
|
+
export const AssuranceJudgementWithheldRuleSchema = z.strictObject({
|
|
268
|
+
/** The judge's own name for the rule, as it names the rules a run exercised. */
|
|
269
|
+
rule: z.string().min(1),
|
|
270
|
+
/** Why it was withheld: the planted cases it missed, or the fact key paths on which its fixture and the evidence differ. */
|
|
271
|
+
reasons: z.array(z.string().min(1)).min(1),
|
|
272
|
+
});
|
|
251
273
|
/**
|
|
252
274
|
* Every member of {@link AssuranceJudgementIndependenceAxis}, sorted — the population an independence
|
|
253
275
|
* declaration must cover exactly.
|
|
@@ -316,19 +338,48 @@ const assuranceEvidenceRunIdentityShape = {
|
|
|
316
338
|
*/
|
|
317
339
|
applicationRevision: z.string().min(1),
|
|
318
340
|
};
|
|
319
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* The territorial reason a derived verdict can rest on (#2852): the objective rests only on laws, and none of them
|
|
343
|
+
* reaches a jurisdiction the application declares.
|
|
344
|
+
*/
|
|
345
|
+
export const AssuranceEvidenceDerivedJurisdictionReasonSchema = z.strictObject({
|
|
346
|
+
/** The jurisdictions the application declared when the verdict was derived. */
|
|
347
|
+
declaredJurisdictionSlugs: z.array(z.string().trim().min(1)).min(1),
|
|
348
|
+
/** The laws the objective rests on, none of which reaches a declared jurisdiction. */
|
|
349
|
+
lawSourceRefs: z.array(AssuranceNamespacedRefSchema).min(1),
|
|
350
|
+
});
|
|
351
|
+
/**
|
|
352
|
+
* A run whose verdict was resolved from the application's configuration before anything was collected.
|
|
353
|
+
*
|
|
354
|
+
* Configuration decides it on two independent axes, and the record names which: the capabilities the application
|
|
355
|
+
* leaves off (`unavailableCapabilityRefs`), or the jurisdictions it declares (`outsideJurisdictions`, #2852). At
|
|
356
|
+
* least one is present; a derived verdict with no reason is a verdict with no evidence. `unavailableCapabilityRefs`
|
|
357
|
+
* stays the field it always was, so a run recorded before the territorial axis existed parses unchanged.
|
|
358
|
+
*/
|
|
320
359
|
export const AssuranceEvidenceDerivedRunSchema = z
|
|
321
360
|
.strictObject({
|
|
322
361
|
kind: z.literal(AssuranceEvidenceRunKind.DERIVED),
|
|
323
362
|
...assuranceEvidenceRunIdentityShape,
|
|
324
363
|
verdict: z.literal(AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED),
|
|
325
|
-
/** The capabilities whose absence decided it
|
|
326
|
-
unavailableCapabilityRefs: z.array(AssuranceNamespacedRefSchema).min(1),
|
|
364
|
+
/** The capabilities whose absence decided it, when that is the axis. */
|
|
365
|
+
unavailableCapabilityRefs: z.array(AssuranceNamespacedRefSchema).min(1).optional(),
|
|
366
|
+
/** The jurisdictions that decided it, when that is the axis. */
|
|
367
|
+
outsideJurisdictions: AssuranceEvidenceDerivedJurisdictionReasonSchema.optional(),
|
|
327
368
|
})
|
|
328
369
|
.superRefine((run, context) => {
|
|
329
|
-
if (
|
|
370
|
+
if (run.unavailableCapabilityRefs === undefined && run.outsideJurisdictions === undefined) {
|
|
371
|
+
context.addIssue({ code: "custom", message: "a derived run names its reason: unavailableCapabilityRefs, outsideJurisdictions, or both", path: ["unavailableCapabilityRefs"] });
|
|
372
|
+
}
|
|
373
|
+
if (run.unavailableCapabilityRefs !== undefined && !valuesAreUniqueAndSorted(run.unavailableCapabilityRefs)) {
|
|
330
374
|
context.addIssue({ code: "custom", message: "unavailableCapabilityRefs must be unique and lexically sorted", path: ["unavailableCapabilityRefs"] });
|
|
331
375
|
}
|
|
376
|
+
if (run.outsideJurisdictions !== undefined) {
|
|
377
|
+
for (const field of ["declaredJurisdictionSlugs", "lawSourceRefs"]) {
|
|
378
|
+
if (!valuesAreUniqueAndSorted(run.outsideJurisdictions[field])) {
|
|
379
|
+
context.addIssue({ code: "custom", message: `outsideJurisdictions.${field} must be unique and lexically sorted`, path: ["outsideJurisdictions", field] });
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
332
383
|
});
|
|
333
384
|
/** A run whose verdict a judge reached over collected evidence. */
|
|
334
385
|
export const AssuranceEvidenceJudgedRunSchema = z
|
|
@@ -342,18 +393,24 @@ export const AssuranceEvidenceJudgedRunSchema = z
|
|
|
342
393
|
calibration: z.enum(AssuranceJudgementCalibrationState),
|
|
343
394
|
/** The planted set this harness met. Required by `CALIBRATED` and refused by `UNCALIBRATED`. */
|
|
344
395
|
calibrationSuiteRef: AssuranceNamespacedRefSchema.optional(),
|
|
396
|
+
/**
|
|
397
|
+
* The rules this run did not trust, each with why (#3025). Their clauses are NOT RUN. Optional, and absent when
|
|
398
|
+
* none was withheld, so runs recorded before the field existed read as they always did.
|
|
399
|
+
*/
|
|
400
|
+
withheldRules: z.array(AssuranceJudgementWithheldRuleSchema).min(1).optional(),
|
|
345
401
|
})
|
|
346
402
|
.superRefine((run, context) => {
|
|
347
403
|
/*
|
|
348
404
|
* A judge cannot reach the one verdict that needs no judge. `NOT_APPLICABLE_AS_CONFIGURED` is
|
|
349
|
-
* resolvable from the application's declared capabilities
|
|
405
|
+
* resolvable from the application's configuration (its declared capabilities and, since #2852, its declared
|
|
406
|
+
* operating jurisdictions) before a single row is collected — #302
|
|
350
407
|
* spent two full collection rounds evidencing a demand whose attesting capability the application
|
|
351
408
|
* had never enabled, which is the run this refusal prevents.
|
|
352
409
|
*/
|
|
353
410
|
if (run.verdict === AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED) {
|
|
354
411
|
context.addIssue({
|
|
355
412
|
code: "custom",
|
|
356
|
-
message: "NOT_APPLICABLE_AS_CONFIGURED is derived from
|
|
413
|
+
message: "NOT_APPLICABLE_AS_CONFIGURED is derived from the application's configuration (capabilities, operating jurisdictions) before collection; record it as a DERIVED run, never as a judgement",
|
|
357
414
|
path: ["verdict"],
|
|
358
415
|
});
|
|
359
416
|
}
|
|
@@ -376,6 +433,10 @@ export const AssuranceEvidenceJudgedRunSchema = z
|
|
|
376
433
|
if (run.calibration === AssuranceJudgementCalibrationState.UNCALIBRATED && run.calibrationSuiteRef) {
|
|
377
434
|
context.addIssue({ code: "custom", message: "UNCALIBRATED has met no planted set, so it cannot name one", path: ["calibrationSuiteRef"] });
|
|
378
435
|
}
|
|
436
|
+
const withheld = (run.withheldRules ?? []).map((entry) => entry.rule);
|
|
437
|
+
if (!valuesAreUniqueAndSorted(withheld)) {
|
|
438
|
+
context.addIssue({ code: "custom", message: "withheldRules names each rule once, lexically sorted", path: ["withheldRules"] });
|
|
439
|
+
}
|
|
379
440
|
});
|
|
380
441
|
/** Any run, discriminated by how its verdict was reached. */
|
|
381
442
|
export const AssuranceEvidenceRunSchema = z.discriminatedUnion("kind", [AssuranceEvidenceDerivedRunSchema, AssuranceEvidenceJudgedRunSchema]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assurance-evidence-judgement.schemas.js","sourceRoot":"","sources":["../../../../src/assurance/assurance-evidence-judgement.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAChH,OAAO,EAAE,iCAAiC,EAAE,wCAAwC,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEpJ,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,KAAa,EAAU,EAAE,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CA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AK,+BAA+B,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QACzF,OAAO,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mHAAmH;YAC5H,IAAI,EAAE,CAAC,gBAAgB,CAAC;SACzB,CAAC,CAAC;IACL,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,+BAA+B,CAAC,MAAM,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;QACxF,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,2CAA2C,EAAE,IAAI,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IACvH,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,+BAA+B,CAAC,aAAa,IAAI,CAAC,CAAC,OAAO,CAAC,0BAA0B,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAClJ,OAAO,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,4FAA4F;YACrG,IAAI,EAAE,CAAC,4BAA4B,CAAC;SACrC,CAAC,CAAC;IACL,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,+BAA+B,CAAC,aAAa,IAAI,CAAC,OAAO,CAAC,0BAA0B,IAAI,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAChJ,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,wDAAwD,EAAE,IAAI,EAAE,CAAC,4BAA4B,CAAC,EAAE,CAAC,CAAC;IAChJ,CAAC;AACH,CAAC,CAAC,CAAC","sourcesContent":["/**\n * entrypoint-closure-waiver: MEASURED SAFE — same measurement as `assurance.exports`, of which this\n * module is one publication. It crosses only into sibling `assurance/**` modules the root does not\n * publish, and every exported type is a `z.infer` alias or an `interface`, both of which TypeScript\n * writes out BY NAME (see the alias-shape table in `.claude/rules/package-public-entrypoints.md`). No\n * conditional or intersection alias is declared here, deliberately: `AssuranceNamespacedRefSchema` is\n * BRANDED, a brand's `unique symbol` lives in `zod/v4/core/core`, and no consumer can name it — so a\n * shape that expanded structurally would raise TS4023 in every application's backend build.\n *\n * ── What this module is ──────────────────────────────────────────────────────────────────────────\n *\n * #296 gave every evidence demand a BODY: what would satisfy it, how a collector gathers it, what an\n * absence means. Nothing could record that a demand had been RUN. This is that record — the\n * framework-time vocabulary for #297's standing mechanism.\n *\n * It does not PLAN. Deciding which demands need collecting is `scripts/assurance/plan-evidence-collection.mjs`\n * (`pnpm assurance:collection-plan`), which already resolves applicability before gathering anything and\n * already produces the one derived verdict. A second planner here was written, measured against that\n * one, and deleted before it landed: two planners over one basis are two answers free to disagree.\n *\n * It is derived from real instances rather than designed in the abstract: the paper finding in\n * `__evidence-plane-slice__/security-event-record.finding.md` (the wonder-crm run for #302), and the\n * composed authority basis.\n *\n * ## Three corrections this module carries, each found by USING the first version\n *\n * The first version (`1e6b423e`) was derived from one finding and pinned by ten tests, and it was\n * wrong in three ways that only an attempt to produce runs from the real basis could expose:\n *\n * 1. **A run carried ONE `home` and ONE `plane`.** Measured over the 51 bodies: **42 declare more than\n * one home across their clauses and 39 more than one plane.** #302's instance was single-home, so\n * the field fit the example and would have forced a lossy value onto four fifths of the catalog.\n * Home and plane belong to the CLAUSE, where the body already declares them; a judgement names the\n * clause, and the clause says where its evidence lives.\n * 2. **`clauseRef` was a namespaced ref**, and the body's clause vocabulary is `^C[0-9]+$` (`C1`,\n * `C2`), documented *\"so a finding can name the clause it failed\"*. The schema would have refused\n * every real clause ref, and the fixture used `clause:c1-…`, a vocabulary that exists nowhere. It\n * now REUSES the body's schema, so the two cannot drift.\n * 3. **A derived verdict had to declare five independence axes and a calibration state.** Independence\n * and calibration are properties of a JUDGE; `NOT_APPLICABLE_AS_CONFIGURED` has none. Requiring them\n * would have forced a planner to fabricate \"achieved\" or \"not achieved\" claims about a judge that did\n * not exist. Runs are therefore two kinds, {@link AssuranceEvidenceRunKind}.\n *\n * ## Why the verdict is DERIVED from the clauses rather than asserted beside them\n *\n * #302 stage 1's author verdict was `OBSERVATION`. An independent judge overturned it to\n * `INSUFFICIENT_EVIDENCE`, on the ground that one clause had been passed on COUNTS where the demand\n * asked for ATTRIBUTION. The bodies already state the rule — *\"Record any clause not run as\n * insufficient_evidence for that clause; never let a NOT RUN clause pass on its siblings'\n * evidence\"* — and it lived only as prose, where a run could restate a summary verdict that its own\n * clause table contradicted. {@link assertClauseJudgementsSupportVerdict} makes that unrepresentable.\n *\n * ## Why independence is TOTAL over its axis vocabulary\n *\n * A judgement that declares three of five axes is not a judgement with three axes recorded — it is a\n * claim about the other two that nobody wrote down, and the unstated axes are exactly the ones a\n * reader most needs (`assessor` is IRREDUCIBLE and never achieved; saying so is the point). Total\n * over the enum is the `undeclaredRetentionClasses` pattern `derive-before-you-ask.md` rule 3 asks\n * for: an axis added tomorrow is reported as undeclared by every existing record rather than\n * silently omitted.\n */\nimport { z } from \"zod\";\n\nimport { AssuranceNamespacedRefSchema, AssuranceWildoObjectiveRefSchema } from \"./assurance-foundation.schemas\";\nimport { AssuranceEvidenceJudgementVerdict, AssuranceEvidenceRequirementClauseSchema, AssuranceFindingSeverity } from \"./assurance-program.schemas\";\n\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUniqueAndSorted = (values: readonly string[]): boolean =>\n new Set(values).size === values.length && values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\n/**\n * The lifecycle of a FINDING, which outlives the run that opened it.\n *\n * Two terminal states with deliberately different authorities, and the asymmetry is the design:\n * `CLOSED` is reached by the standing loop OBSERVING the evidence return — re-check is not a\n * ceremony, it is the loop noticing — while `RISK_ACCEPTED` is the only manually-held state and\n * therefore the only one that needs a human decision and an expiry.\n */\nexport enum AssuranceFindingLifecycleStatus {\n /** Recorded and not yet answered. The state every finding is opened in. */\n OPEN = \"OPEN\",\n /**\n * The evidence the finding was about has returned, observed by a later run.\n *\n * Machine-reachable BY CONSTRUCTION: it carries the run that observed the return, never a person's\n * assertion that the problem is gone. A finding closed by an argument is a finding nobody re-measured.\n */\n CLOSED = \"CLOSED\",\n /**\n * A human accepted the risk rather than remediating it.\n *\n * The only state that needs an authority and an expiry, because it is the only one asserting\n * something about the FUTURE. Accepting a CRITICAL-severity risk is a marked gate point under the\n * current posture (`one-source-of-truth.md` D5): it notifies and proceeds, and arming that gate is\n * part of Gate 3's membership test.\n */\n RISK_ACCEPTED = \"RISK_ACCEPTED\",\n}\n\n/**\n * The axes along which a judgement can be independent of the thing it judges.\n *\n * Decomposed rather than expressed as one \"different model\" line, because each axis is bought\n * separately and at a different price — and because a single line lets an expensive axis be claimed\n * on the strength of a cheap one. Measured on #302 stage 1: `context` was achieved, `evidence` was\n * partial, and `authorship`, `model` and `assessor` were not — a spread no scalar could carry.\n */\nexport enum AssuranceJudgementIndependenceAxis {\n /** Whoever wrote the pass condition does not judge against it. Structural once bodies are framework-authored (#296). */\n AUTHORSHIP = \"AUTHORSHIP\",\n /** The judge does not choose its own evidence; the collector executes the body's steps and must not judge. */\n EVIDENCE = \"EVIDENCE\",\n /** The judge never sees the author's or collector's reasoning — a fresh context given the body and raw evidence only. */\n CONTEXT = \"CONTEXT\",\n /** Uncorrelated reasoning failures: a different model family, else a different model, else the same one. */\n MODEL = \"MODEL\",\n /**\n * A party outside the operator.\n *\n * **IRREDUCIBLE and out of scope by design.** A panel inside the system, however adversarial, is\n * still the operator attesting to itself. The cycle produces `EVIDENCED` and a genuine internal\n * audit; `ASSESSED` with certification value requires this axis, and no amount of sophistication\n * elsewhere substitutes for it. It is a member of this vocabulary precisely so every record has to\n * say `NOT_ACHIEVED` out loud rather than leaving the reader to assume.\n */\n ASSESSOR = \"ASSESSOR\",\n}\n\n/** How far one independence axis was actually bought on one run. `PARTIAL` is a real answer, not a hedge — see the `EVIDENCE` axis on #302 stage 1. */\nexport enum AssuranceJudgementIndependenceAttainment {\n ACHIEVED = \"ACHIEVED\",\n PARTIAL = \"PARTIAL\",\n NOT_ACHIEVED = \"NOT_ACHIEVED\",\n}\n\n/**\n * Whether the harness that produced a verdict has met its planted set.\n *\n * Impartiality cannot be proven; detection can be measured. A harness that has not met its planted\n * cases is `UNCALIBRATED`, and every clean pass it emits is LABELLED so rather than withheld —\n * refusing to emit would lose the measurement, and emitting unlabelled would lend it authority the\n * harness has not earned.\n */\nexport enum AssuranceJudgementCalibrationState {\n /** The planted set has been met, and the suite that did it is named on the record. */\n CALIBRATED = \"CALIBRATED\",\n /** No planted set has been met. Every verdict from this harness carries the label. */\n UNCALIBRATED = \"UNCALIBRATED\",\n}\n\n/**\n * How a run's verdict was reached, which decides what the run can honestly carry.\n *\n * Two kinds because a verdict with no judge behind it cannot state a judge's properties. Merging them\n * into one record with optional judge fields was the first version, and it made the absent judge's\n * independence REQUIRED — so the only way to record a derived verdict was to invent claims about a\n * judgement that never happened.\n */\nexport enum AssuranceEvidenceRunKind {\n /**\n * Resolved from the application's declared capabilities alone, before any evidence is collected.\n *\n * Carries the capability refs that decided it — the derivation's own evidence — and nothing a judge\n * would carry, because there is none.\n */\n DERIVED = \"DERIVED\",\n /** Reached by a judge over collected evidence, clause by clause, with its independence and calibration stated. */\n JUDGED = \"JUDGED\",\n}\n\n/**\n * The identity a finding keeps across re-judgement.\n *\n * Judgement text differs on every rerun — a verdict is auditable, not bit-reproducible — so identity\n * cannot be text, and a re-judgement must UPDATE the existing finding rather than duplicate it. The\n * three parts are exactly the ones #302's paper finding carried:\n * `security-event-record · evidence-surface-scope-gap · application-scoped-events`.\n *\n * `deficiencyClassRef` is a namespaced ref rather than an enum ON PURPOSE. The class vocabulary is not\n * yet knowable — it grows one measured deficiency at a time — and an enum invented ahead of the\n * population would be a closed vocabulary whose members nobody measured. A ref is still a named,\n * greppable, refusable value; it is not a free-text field.\n *\n * Keyed by DEMAND, not by objective, although runs are keyed by both: two objectives demanding the same requirement read the same\n * evidence against the same body, so a deficiency in that evidence is one deficiency. What differs\n * between them is applicability, which is a property of the run.\n */\nexport const AssuranceEvidenceFindingIdentitySchema = z.strictObject({\n demandRef: AssuranceNamespacedRefSchema,\n deficiencyClassRef: AssuranceNamespacedRefSchema,\n scopeRef: AssuranceNamespacedRefSchema,\n});\nexport type AssuranceEvidenceFindingIdentity = z.infer<typeof AssuranceEvidenceFindingIdentitySchema>;\n\n/**\n * One independently reproducible MEASUREMENT, separated from any judgement about it.\n *\n * \"61 rows in the store, 23 via the only exposed API, 38 with a null `organizationId`\" is a fact\n * anyone can re-run; \"this is an observation rather than a nonconformity\" is judgement. Keeping them\n * in different fields lets a reader accept the measurement while disputing its classification, and\n * makes the reproduction command a REQUIRED part of the fact rather than a courtesy.\n */\nexport const AssuranceEvidenceMeasurementSchema = z.strictObject({\n measurementRef: AssuranceNamespacedRefSchema,\n /** What was measured, in terms the demand's body uses. */\n statement: z.string().min(1),\n /**\n * How to obtain this number again.\n *\n * Required, because a measurement nobody can re-run is an assertion wearing a number's clothing —\n * and the whole reason the fact and the severity are split is that the fact can be checked.\n */\n reexecutionCommand: z.string().min(1),\n});\nexport type AssuranceEvidenceMeasurement = z.infer<typeof AssuranceEvidenceMeasurementSchema>;\n\n/**\n * One clause of a demand's body, judged on its own evidence. A demand with three clauses has three of these and no shortcuts.\n *\n * `clauseRef` is the body's OWN schema field, not a copy of its pattern — so the vocabulary a finding\n * names a clause in is the vocabulary the body declares it in, by construction.\n */\nexport const AssuranceEvidenceClauseJudgementSchema = z\n .strictObject({\n clauseRef: AssuranceEvidenceRequirementClauseSchema.shape.clauseRef,\n verdict: z.enum(AssuranceEvidenceJudgementVerdict),\n /** What the evidence showed FOR THIS CLAUSE. A clause passing on a sibling's evidence is the defect this field exists to expose. */\n evidenceSummary: z.string().min(1),\n /**\n * What this failure EXPOSES, when the rule that decided it could say.\n *\n * OPTIONAL, and its absence is a first-class answer rather than a default: it means the rule that\n * reached this verdict stated no severity, which is true of every generic rule that counts rows or\n * reads a probe outcome — those know the clause failed and nothing about what the body says that\n * costs. A `MAJOR` default would have invented the most alarming reading for exactly the cases\n * nobody assessed, and a `MINOR` one the most reassuring.\n *\n * Only ever set on {@link AssuranceEvidenceJudgementVerdict.NONCONFORMITY}; see\n * {@link AssuranceFindingSeverity} for why no other verdict may carry one.\n */\n severity: z.enum(AssuranceFindingSeverity).optional(),\n })\n .superRefine((judgement, context) => {\n if (judgement.severity && judgement.verdict !== AssuranceEvidenceJudgementVerdict.NONCONFORMITY) {\n context.addIssue({\n code: \"custom\",\n message: `a severity grades a ${AssuranceEvidenceJudgementVerdict.NONCONFORMITY} and this clause is ${judgement.verdict} — an OBSERVATION asserts the demand is not failed, and an INSUFFICIENT_EVIDENCE is an absence of evidence rather than a mild failure`,\n path: [\"severity\"],\n });\n }\n });\nexport type AssuranceEvidenceClauseJudgement = z.infer<typeof AssuranceEvidenceClauseJudgementSchema>;\n\n/** One axis of independence, and how far it was bought on this run. */\nexport const AssuranceJudgementIndependenceEntrySchema = z.strictObject({\n axis: z.enum(AssuranceJudgementIndependenceAxis),\n attainment: z.enum(AssuranceJudgementIndependenceAttainment),\n /** Why this attainment, in one sentence. `PARTIAL` and `NOT_ACHIEVED` are claims a reader must be able to weigh. */\n note: z.string().min(1),\n});\nexport type AssuranceJudgementIndependenceEntry = z.infer<typeof AssuranceJudgementIndependenceEntrySchema>;\n\n/**\n * Every member of {@link AssuranceJudgementIndependenceAxis}, sorted — the population an independence\n * declaration must cover exactly.\n *\n * Derived from the enum rather than transcribed, so an axis added tomorrow makes every existing\n * record fail the totality check instead of passing with a silent omission.\n */\nexport const ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES: readonly AssuranceJudgementIndependenceAxis[] = Object.values(AssuranceJudgementIndependenceAxis)\n .slice()\n .sort();\n\n/**\n * A clause table and a summary verdict must agree, and the clause table wins.\n *\n * Exported so a collector, a judge and a test all reach the same predicate rather than three\n * re-derivations of it — the shape `invariant-call-site-enumeration.md` asks for when an invariant\n * has more than one call site.\n *\n * Two rules, and only the first was ever written down before:\n *\n * 1. **A clause that was not evidenced cannot be carried by its siblings.** Any clause at\n * `INSUFFICIENT_EVIDENCE` forces the run to `INSUFFICIENT_EVIDENCE` — never `CONFORMANT`, and\n * never `OBSERVATION`, which is the verdict #302 stage 1 actually reached and had overturned.\n * 2. **A clause that FAILED outranks one that merely observed.** Any clause at `NONCONFORMITY` forces\n * the run to `NONCONFORMITY`; a run cannot summarise a failed clause as an observation.\n */\nexport function assertClauseJudgementsSupportVerdict(\n clauseJudgements: readonly { readonly verdict: AssuranceEvidenceJudgementVerdict }[],\n verdict: AssuranceEvidenceJudgementVerdict,\n context: z.RefinementCtx,\n path: PropertyKey[],\n): void {\n if (clauseJudgements.some((clause) => clause.verdict === AssuranceEvidenceJudgementVerdict.NONCONFORMITY) && verdict !== AssuranceEvidenceJudgementVerdict.NONCONFORMITY) {\n context.addIssue({\n code: \"custom\",\n message: \"a clause judged NONCONFORMITY forces the run verdict to NONCONFORMITY; a failed clause cannot be summarised as anything weaker\",\n path,\n });\n return;\n }\n if (\n clauseJudgements.some((clause) => clause.verdict === AssuranceEvidenceJudgementVerdict.INSUFFICIENT_EVIDENCE) &&\n verdict !== AssuranceEvidenceJudgementVerdict.INSUFFICIENT_EVIDENCE &&\n verdict !== AssuranceEvidenceJudgementVerdict.NONCONFORMITY\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"a clause judged INSUFFICIENT_EVIDENCE forces the run verdict to INSUFFICIENT_EVIDENCE; a clause that was not evidenced never passes on its siblings' evidence\",\n path,\n });\n }\n}\n\n/**\n * The fields every run carries, whatever reached its verdict.\n *\n * Keyed by OBJECTIVE and DEMAND together. Measured 2026-09-12 against the composed basis: 51 bindings\n * name 50 distinct evidence requirements, because `evidence-requirement:authorization-decision-record`\n * is demanded by both `WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT` and `WILDO.ACCESS.LEAST_PRIVILEGE`.\n * On wonder-crm, which does not enable the audit trail, that one demand is `NOT_APPLICABLE` for the\n * first objective and `UNDETERMINED` for the second — so a run identified by demand alone would have\n * to report one of two contradictory verdicts, and either would be false.\n */\nconst assuranceEvidenceRunIdentityShape = {\n runRef: AssuranceNamespacedRefSchema,\n demandRef: AssuranceNamespacedRefSchema,\n objectiveRef: AssuranceWildoObjectiveRefSchema,\n /**\n * The application revision this run concerns.\n *\n * Required on every run, not only verification-plane ones. An execution attests the BUILD it ran\n * against and never the deployment forever, and a derived verdict is a function of the configuration\n * at that revision — so the standing loop can treat a revision change as staleness for either kind\n * only if both carry it.\n */\n applicationRevision: z.string().min(1),\n};\n\n/** A run whose verdict was resolved from declared capabilities before anything was collected. */\nexport const AssuranceEvidenceDerivedRunSchema = z\n .strictObject({\n kind: z.literal(AssuranceEvidenceRunKind.DERIVED),\n ...assuranceEvidenceRunIdentityShape,\n verdict: z.literal(AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED),\n /** The capabilities whose absence decided it. The derivation's evidence, and the only evidence it has. */\n unavailableCapabilityRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n })\n .superRefine((run, context) => {\n if (!valuesAreUniqueAndSorted(run.unavailableCapabilityRefs)) {\n context.addIssue({ code: \"custom\", message: \"unavailableCapabilityRefs must be unique and lexically sorted\", path: [\"unavailableCapabilityRefs\"] });\n }\n });\nexport type AssuranceEvidenceDerivedRun = z.infer<typeof AssuranceEvidenceDerivedRunSchema>;\n\n/** A run whose verdict a judge reached over collected evidence. */\nexport const AssuranceEvidenceJudgedRunSchema = z\n .strictObject({\n kind: z.literal(AssuranceEvidenceRunKind.JUDGED),\n ...assuranceEvidenceRunIdentityShape,\n verdict: z.enum(AssuranceEvidenceJudgementVerdict),\n clauseJudgements: z.array(AssuranceEvidenceClauseJudgementSchema).min(1),\n measurements: z.array(AssuranceEvidenceMeasurementSchema),\n independence: z.array(AssuranceJudgementIndependenceEntrySchema),\n calibration: z.enum(AssuranceJudgementCalibrationState),\n /** The planted set this harness met. Required by `CALIBRATED` and refused by `UNCALIBRATED`. */\n calibrationSuiteRef: AssuranceNamespacedRefSchema.optional(),\n })\n .superRefine((run, context) => {\n /*\n * A judge cannot reach the one verdict that needs no judge. `NOT_APPLICABLE_AS_CONFIGURED` is\n * resolvable from the application's declared capabilities before a single row is collected — #302\n * spent two full collection rounds evidencing a demand whose attesting capability the application\n * had never enabled, which is the run this refusal prevents.\n */\n if (run.verdict === AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED) {\n context.addIssue({\n code: \"custom\",\n message: \"NOT_APPLICABLE_AS_CONFIGURED is derived from declared capabilities before collection; record it as a DERIVED run, never as a judgement\",\n path: [\"verdict\"],\n });\n }\n\n assertClauseJudgementsSupportVerdict(run.clauseJudgements, run.verdict, context, [\"verdict\"]);\n\n const clauseRefs = run.clauseJudgements.map((clause) => clause.clauseRef);\n if (new Set(clauseRefs).size !== clauseRefs.length) {\n context.addIssue({ code: \"custom\", message: \"each clause is judged at most once; two judgements of one clause let the weaker one be read\", path: [\"clauseJudgements\"] });\n }\n\n const declaredAxes = run.independence.map((entry) => entry.axis).sort();\n if (declaredAxes.length !== ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES.length || declaredAxes.some((axis, index) => axis !== ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES[index])) {\n context.addIssue({\n code: \"custom\",\n message: `independence states every axis exactly once (${ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES.join(\", \")}); an omitted axis is an unwritten claim about the axis a reader most needs`,\n path: [\"independence\"],\n });\n }\n\n if (run.calibration === AssuranceJudgementCalibrationState.CALIBRATED && !run.calibrationSuiteRef) {\n context.addIssue({ code: \"custom\", message: \"CALIBRATED names the planted set it met\", path: [\"calibrationSuiteRef\"] });\n }\n if (run.calibration === AssuranceJudgementCalibrationState.UNCALIBRATED && run.calibrationSuiteRef) {\n context.addIssue({ code: \"custom\", message: \"UNCALIBRATED has met no planted set, so it cannot name one\", path: [\"calibrationSuiteRef\"] });\n }\n });\nexport type AssuranceEvidenceJudgedRun = z.infer<typeof AssuranceEvidenceJudgedRunSchema>;\n\n/** Any run, discriminated by how its verdict was reached. */\nexport const AssuranceEvidenceRunSchema = z.discriminatedUnion(\"kind\", [AssuranceEvidenceDerivedRunSchema, AssuranceEvidenceJudgedRunSchema]);\nexport type AssuranceEvidenceRun = z.infer<typeof AssuranceEvidenceRunSchema>;\n\n/**\n * Which of a body's clauses a judged run left unjudged, and which clauses it judged that the body does\n * not declare.\n *\n * A clause the run never mentions is the population-level form of the defect\n * {@link assertClauseJudgementsSupportVerdict} refuses at the clause level: nothing marked it\n * `INSUFFICIENT_EVIDENCE`, so nothing forces the verdict down, and the summary reads as if every clause\n * had been evidenced. The schema cannot see the body, so this is a function a judge and a collector\n * both call rather than a refinement.\n */\nexport function collectJudgedRunClauseCoverage(input: {\n readonly bodyClauses: readonly { readonly clauseRef: string }[];\n readonly clauseJudgements: readonly { readonly clauseRef: string }[];\n}): { readonly unjudgedClauseRefs: readonly string[]; readonly undeclaredClauseRefs: readonly string[] } {\n const declared = new Set(input.bodyClauses.map((clause) => clause.clauseRef));\n const judged = new Set(input.clauseJudgements.map((clause) => clause.clauseRef));\n return {\n unjudgedClauseRefs: [...declared].filter((clauseRef) => !judged.has(clauseRef)).sort(compareCanonicalText),\n undeclaredClauseRefs: [...judged].filter((clauseRef) => !declared.has(clauseRef)).sort(compareCanonicalText),\n };\n}\n\n/**\n * A finding: what persists across runs, under a stable identity.\n *\n * The lifecycle fields are mutually exclusive by authority, which is the whole asymmetry between the\n * two terminal states — `CLOSED` is something a machine OBSERVED, `RISK_ACCEPTED` is something a\n * person DECIDED, and neither may be recorded in the other's currency.\n */\nexport const AssuranceEvidenceFindingSchema = z\n .strictObject({\n identity: AssuranceEvidenceFindingIdentitySchema,\n status: z.enum(AssuranceFindingLifecycleStatus),\n /** The run that opened it, and the most recent run that updated it. A re-judgement advances the second and never forks the finding. */\n openedByRunRef: AssuranceNamespacedRefSchema,\n lastObservedByRunRef: AssuranceNamespacedRefSchema,\n /** The run whose evidence closed it. Only a run can close a finding. */\n closedByRunRef: AssuranceNamespacedRefSchema.optional(),\n /**\n * What this finding EXPOSES, carried from the clause judgement that last observed it.\n *\n * Not stored as an independent decision: a finding's severity IS its clause's, so re-judging\n * updates it rather than letting a stale grade outlive the evidence that set it. Absent means the\n * rule that judged the clause stated none — which the snapshot reports as a count rather than\n * filling in.\n */\n severity: z.enum(AssuranceFindingSeverity).optional(),\n /** Who accepted the risk, and until when. Only a person can accept one. */\n riskAcceptanceAuthorityRef: AssuranceNamespacedRefSchema.optional(),\n riskAcceptanceExpiresOn: z.string().date().optional(),\n })\n .superRefine((finding, context) => {\n if (finding.status === AssuranceFindingLifecycleStatus.CLOSED && !finding.closedByRunRef) {\n context.addIssue({\n code: \"custom\",\n message: \"CLOSED names the run that observed the evidence return; a finding closed by an argument is one nobody re-measured\",\n path: [\"closedByRunRef\"],\n });\n }\n if (finding.status !== AssuranceFindingLifecycleStatus.CLOSED && finding.closedByRunRef) {\n context.addIssue({ code: \"custom\", message: \"only a CLOSED finding names a closing run\", path: [\"closedByRunRef\"] });\n }\n if (finding.status === AssuranceFindingLifecycleStatus.RISK_ACCEPTED && (!finding.riskAcceptanceAuthorityRef || !finding.riskAcceptanceExpiresOn)) {\n context.addIssue({\n code: \"custom\",\n message: \"RISK_ACCEPTED is the only manually-held state and states both its authority and its expiry\",\n path: [\"riskAcceptanceAuthorityRef\"],\n });\n }\n if (finding.status !== AssuranceFindingLifecycleStatus.RISK_ACCEPTED && (finding.riskAcceptanceAuthorityRef || finding.riskAcceptanceExpiresOn)) {\n context.addIssue({ code: \"custom\", message: \"only a RISK_ACCEPTED finding carries a risk acceptance\", path: [\"riskAcceptanceAuthorityRef\"] });\n }\n });\nexport type AssuranceEvidenceFinding = z.infer<typeof AssuranceEvidenceFindingSchema>;\n"]}
|
|
1
|
+
{"version":3,"file":"assurance-evidence-judgement.schemas.js","sourceRoot":"","sources":["../../../../src/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AAE;IAChC,IAAI,OAAO,CAAC,MAAM,KAAK,+BAA+B,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QACzF,OAAO,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mHAAmH;YAC5H,IAAI,EAAE,CAAC,gBAAgB,CAAC;SACzB,CAAC,CAAC;IACL,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,+BAA+B,CAAC,MAAM,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;QACxF,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,2CAA2C,EAAE,IAAI,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IACvH,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,+BAA+B,CAAC,aAAa,IAAI,CAAC,CAAC,OAAO,CAAC,0BAA0B,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAClJ,OAAO,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,4FAA4F;YACrG,IAAI,EAAE,CAAC,4BAA4B,CAAC;SACrC,CAAC,CAAC;IACL,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,+BAA+B,CAAC,aAAa,IAAI,CAAC,OAAO,CAAC,0BAA0B,IAAI,OAAO,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAChJ,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,wDAAwD,EAAE,IAAI,EAAE,CAAC,4BAA4B,CAAC,EAAE,CAAC,CAAC;IAChJ,CAAC;AACH,CAAC,CAAC,CAAC","sourcesContent":["/**\n * entrypoint-closure-waiver: MEASURED SAFE — same measurement as `assurance.exports`, of which this\n * module is one publication. It crosses only into sibling `assurance/**` modules the root does not\n * publish, and every exported type is a `z.infer` alias or an `interface`, both of which TypeScript\n * writes out BY NAME (see the alias-shape table in `.claude/rules/package-public-entrypoints.md`). No\n * conditional or intersection alias is declared here, deliberately: `AssuranceNamespacedRefSchema` is\n * BRANDED, a brand's `unique symbol` lives in `zod/v4/core/core`, and no consumer can name it — so a\n * shape that expanded structurally would raise TS4023 in every application's backend build.\n *\n * ── What this module is ──────────────────────────────────────────────────────────────────────────\n *\n * #296 gave every evidence demand a BODY: what would satisfy it, how a collector gathers it, what an\n * absence means. Nothing could record that a demand had been RUN. This is that record — the\n * framework-time vocabulary for #297's standing mechanism.\n *\n * It does not PLAN. Deciding which demands need collecting is `scripts/assurance/plan-evidence-collection.mjs`\n * (`pnpm assurance:collection-plan`), which already resolves applicability before gathering anything and\n * already produces the one derived verdict. A second planner here was written, measured against that\n * one, and deleted before it landed: two planners over one basis are two answers free to disagree.\n *\n * It is derived from real instances rather than designed in the abstract: the paper finding in\n * `__evidence-plane-slice__/security-event-record.finding.md` (the wonder-crm run for #302), and the\n * composed authority basis.\n *\n * ## Three corrections this module carries, each found by USING the first version\n *\n * The first version (`1e6b423e`) was derived from one finding and pinned by ten tests, and it was\n * wrong in three ways that only an attempt to produce runs from the real basis could expose:\n *\n * 1. **A run carried ONE `home` and ONE `plane`.** Measured over the 51 bodies: **42 declare more than\n * one home across their clauses and 39 more than one plane.** #302's instance was single-home, so\n * the field fit the example and would have forced a lossy value onto four fifths of the catalog.\n * Home and plane belong to the CLAUSE, where the body already declares them; a judgement names the\n * clause, and the clause says where its evidence lives.\n * 2. **`clauseRef` was a namespaced ref**, and the body's clause vocabulary is `^C[0-9]+$` (`C1`,\n * `C2`), documented *\"so a finding can name the clause it failed\"*. The schema would have refused\n * every real clause ref, and the fixture used `clause:c1-…`, a vocabulary that exists nowhere. It\n * now REUSES the body's schema, so the two cannot drift.\n * 3. **A derived verdict had to declare five independence axes and a calibration state.** Independence\n * and calibration are properties of a JUDGE; `NOT_APPLICABLE_AS_CONFIGURED` has none. Requiring them\n * would have forced a planner to fabricate \"achieved\" or \"not achieved\" claims about a judge that did\n * not exist. Runs are therefore two kinds, {@link AssuranceEvidenceRunKind}.\n *\n * ## Why the verdict is DERIVED from the clauses rather than asserted beside them\n *\n * #302 stage 1's author verdict was `OBSERVATION`. An independent judge overturned it to\n * `INSUFFICIENT_EVIDENCE`, on the ground that one clause had been passed on COUNTS where the demand\n * asked for ATTRIBUTION. The bodies already state the rule — *\"Record any clause not run as\n * insufficient_evidence for that clause; never let a NOT RUN clause pass on its siblings'\n * evidence\"* — and it lived only as prose, where a run could restate a summary verdict that its own\n * clause table contradicted. {@link assertClauseJudgementsSupportVerdict} makes that unrepresentable.\n *\n * ## Why independence is TOTAL over its axis vocabulary\n *\n * A judgement that declares three of five axes is not a judgement with three axes recorded — it is a\n * claim about the other two that nobody wrote down, and the unstated axes are exactly the ones a\n * reader most needs (`assessor` is IRREDUCIBLE and never achieved; saying so is the point). Total\n * over the enum is the `undeclaredRetentionClasses` pattern `derive-before-you-ask.md` rule 3 asks\n * for: an axis added tomorrow is reported as undeclared by every existing record rather than\n * silently omitted.\n */\nimport { z } from \"zod\";\n\nimport { AssuranceNamespacedRefSchema, AssuranceWildoObjectiveRefSchema } from \"./assurance-foundation.schemas\";\nimport { AssuranceEvidenceJudgementVerdict, AssuranceEvidenceRequirementClauseSchema, AssuranceFindingSeverity } from \"./assurance-program.schemas\";\n\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUniqueAndSorted = (values: readonly string[]): boolean =>\n new Set(values).size === values.length && values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\n/**\n * The lifecycle of a FINDING, which outlives the run that opened it.\n *\n * Two terminal states with deliberately different authorities, and the asymmetry is the design:\n * `CLOSED` is reached by the standing loop OBSERVING the evidence return — re-check is not a\n * ceremony, it is the loop noticing — while `RISK_ACCEPTED` is the only manually-held state and\n * therefore the only one that needs a human decision and an expiry.\n */\nexport enum AssuranceFindingLifecycleStatus {\n /** Recorded and not yet answered. The state every finding is opened in. */\n OPEN = \"OPEN\",\n /**\n * The evidence the finding was about has returned, observed by a later run.\n *\n * Machine-reachable BY CONSTRUCTION: it carries the run that observed the return, never a person's\n * assertion that the problem is gone. A finding closed by an argument is a finding nobody re-measured.\n */\n CLOSED = \"CLOSED\",\n /**\n * A human accepted the risk rather than remediating it.\n *\n * The only state that needs an authority and an expiry, because it is the only one asserting\n * something about the FUTURE. Accepting a CRITICAL-severity risk is a marked gate point under the\n * current posture (`one-source-of-truth.md` D5): it notifies and proceeds, and arming that gate is\n * part of Gate 3's membership test.\n */\n RISK_ACCEPTED = \"RISK_ACCEPTED\",\n}\n\n/**\n * The axes along which a judgement can be independent of the thing it judges.\n *\n * Decomposed rather than expressed as one \"different model\" line, because each axis is bought\n * separately and at a different price — and because a single line lets an expensive axis be claimed\n * on the strength of a cheap one. Measured on #302 stage 1: `context` was achieved, `evidence` was\n * partial, and `authorship`, `model` and `assessor` were not — a spread no scalar could carry.\n */\nexport enum AssuranceJudgementIndependenceAxis {\n /** Whoever wrote the pass condition does not judge against it. Structural once bodies are framework-authored (#296). */\n AUTHORSHIP = \"AUTHORSHIP\",\n /** The judge does not choose its own evidence; the collector executes the body's steps and must not judge. */\n EVIDENCE = \"EVIDENCE\",\n /** The judge never sees the author's or collector's reasoning — a fresh context given the body and raw evidence only. */\n CONTEXT = \"CONTEXT\",\n /** Uncorrelated reasoning failures: a different model family, else a different model, else the same one. */\n MODEL = \"MODEL\",\n /**\n * A party outside the operator.\n *\n * **IRREDUCIBLE and out of scope by design.** A panel inside the system, however adversarial, is\n * still the operator attesting to itself. The cycle produces `EVIDENCED` and a genuine internal\n * audit; `ASSESSED` with certification value requires this axis, and no amount of sophistication\n * elsewhere substitutes for it. It is a member of this vocabulary precisely so every record has to\n * say `NOT_ACHIEVED` out loud rather than leaving the reader to assume.\n */\n ASSESSOR = \"ASSESSOR\",\n}\n\n/** How far one independence axis was actually bought on one run. `PARTIAL` is a real answer, not a hedge — see the `EVIDENCE` axis on #302 stage 1. */\nexport enum AssuranceJudgementIndependenceAttainment {\n ACHIEVED = \"ACHIEVED\",\n PARTIAL = \"PARTIAL\",\n NOT_ACHIEVED = \"NOT_ACHIEVED\",\n}\n\n/**\n * Whether the harness that produced a verdict has met its planted set.\n *\n * Impartiality cannot be proven; detection can be measured. A harness that has not met its planted\n * cases is `UNCALIBRATED`, and every clean pass it emits is LABELLED so rather than withheld —\n * refusing to emit would lose the measurement, and emitting unlabelled would lend it authority the\n * harness has not earned.\n */\nexport enum AssuranceJudgementCalibrationState {\n /**\n * The planted set has been met, and the suite that did it is named on the record.\n *\n * For a deterministic judge (#3025) the set is met on FIXTURES, never on the collected evidence, and covers\n * exactly the rules that decided a clause of this run. A rule whose planted cases failed, or whose fixture no\n * longer has the shape of the collected facts, decides nothing: its clauses are recorded NOT RUN, and the rule\n * is named in `withheldRules` with the reason. So CALIBRATED says every rule that reached a verdict here was\n * shown to discriminate; it says nothing about a withheld rule.\n */\n CALIBRATED = \"CALIBRATED\",\n /** No planted set has been met. Every verdict from this harness carries the label. */\n UNCALIBRATED = \"UNCALIBRATED\",\n}\n\n/**\n * How a run's verdict was reached, which decides what the run can honestly carry.\n *\n * Two kinds because a verdict with no judge behind it cannot state a judge's properties. Merging them\n * into one record with optional judge fields was the first version, and it made the absent judge's\n * independence REQUIRED — so the only way to record a derived verdict was to invent claims about a\n * judgement that never happened.\n */\nexport enum AssuranceEvidenceRunKind {\n /**\n * Resolved from the application's declared capabilities alone, before any evidence is collected.\n *\n * Carries the capability refs that decided it — the derivation's own evidence — and nothing a judge\n * would carry, because there is none.\n */\n DERIVED = \"DERIVED\",\n /** Reached by a judge over collected evidence, clause by clause, with its independence and calibration stated. */\n JUDGED = \"JUDGED\",\n}\n\n/**\n * The identity a finding keeps across re-judgement.\n *\n * Judgement text differs on every rerun — a verdict is auditable, not bit-reproducible — so identity\n * cannot be text, and a re-judgement must UPDATE the existing finding rather than duplicate it. The\n * three parts are exactly the ones #302's paper finding carried:\n * `security-event-record · evidence-surface-scope-gap · application-scoped-events`.\n *\n * `deficiencyClassRef` is a namespaced ref rather than an enum ON PURPOSE. The class vocabulary is not\n * yet knowable — it grows one measured deficiency at a time — and an enum invented ahead of the\n * population would be a closed vocabulary whose members nobody measured. A ref is still a named,\n * greppable, refusable value; it is not a free-text field.\n *\n * Keyed by DEMAND, not by objective, although runs are keyed by both: two objectives demanding the same requirement read the same\n * evidence against the same body, so a deficiency in that evidence is one deficiency. What differs\n * between them is applicability, which is a property of the run.\n */\nexport const AssuranceEvidenceFindingIdentitySchema = z.strictObject({\n demandRef: AssuranceNamespacedRefSchema,\n deficiencyClassRef: AssuranceNamespacedRefSchema,\n scopeRef: AssuranceNamespacedRefSchema,\n});\nexport type AssuranceEvidenceFindingIdentity = z.infer<typeof AssuranceEvidenceFindingIdentitySchema>;\n\n/**\n * One independently reproducible MEASUREMENT, separated from any judgement about it.\n *\n * \"61 rows in the store, 23 via the only exposed API, 38 with a null `organizationId`\" is a fact\n * anyone can re-run; \"this is an observation rather than a nonconformity\" is judgement. Keeping them\n * in different fields lets a reader accept the measurement while disputing its classification, and\n * makes the reproduction command a REQUIRED part of the fact rather than a courtesy.\n */\nexport const AssuranceEvidenceMeasurementSchema = z.strictObject({\n measurementRef: AssuranceNamespacedRefSchema,\n /** What was measured, in terms the demand's body uses. */\n statement: z.string().min(1),\n /**\n * How to obtain this number again.\n *\n * Required, because a measurement nobody can re-run is an assertion wearing a number's clothing —\n * and the whole reason the fact and the severity are split is that the fact can be checked.\n */\n reexecutionCommand: z.string().min(1),\n});\nexport type AssuranceEvidenceMeasurement = z.infer<typeof AssuranceEvidenceMeasurementSchema>;\n\n/**\n * One clause of a demand's body, judged on its own evidence. A demand with three clauses has three of these and no shortcuts.\n *\n * `clauseRef` is the body's OWN schema field, not a copy of its pattern — so the vocabulary a finding\n * names a clause in is the vocabulary the body declares it in, by construction.\n */\nexport const AssuranceEvidenceClauseJudgementSchema = z\n .strictObject({\n clauseRef: AssuranceEvidenceRequirementClauseSchema.shape.clauseRef,\n verdict: z.enum(AssuranceEvidenceJudgementVerdict),\n /** What the evidence showed FOR THIS CLAUSE. A clause passing on a sibling's evidence is the defect this field exists to expose. */\n evidenceSummary: z.string().min(1),\n /**\n * What this failure EXPOSES, when the rule that decided it could say.\n *\n * OPTIONAL, and its absence is a first-class answer rather than a default: it means the rule that\n * reached this verdict stated no severity, which is true of every generic rule that counts rows or\n * reads a probe outcome — those know the clause failed and nothing about what the body says that\n * costs. A `MAJOR` default would have invented the most alarming reading for exactly the cases\n * nobody assessed, and a `MINOR` one the most reassuring.\n *\n * Only ever set on {@link AssuranceEvidenceJudgementVerdict.NONCONFORMITY}; see\n * {@link AssuranceFindingSeverity} for why no other verdict may carry one.\n */\n severity: z.enum(AssuranceFindingSeverity).optional(),\n })\n .superRefine((judgement, context) => {\n if (judgement.severity && judgement.verdict !== AssuranceEvidenceJudgementVerdict.NONCONFORMITY) {\n context.addIssue({\n code: \"custom\",\n message: `a severity grades a ${AssuranceEvidenceJudgementVerdict.NONCONFORMITY} and this clause is ${judgement.verdict} — an OBSERVATION asserts the demand is not failed, and an INSUFFICIENT_EVIDENCE is an absence of evidence rather than a mild failure`,\n path: [\"severity\"],\n });\n }\n });\nexport type AssuranceEvidenceClauseJudgement = z.infer<typeof AssuranceEvidenceClauseJudgementSchema>;\n\n/** One axis of independence, and how far it was bought on this run. */\nexport const AssuranceJudgementIndependenceEntrySchema = z.strictObject({\n axis: z.enum(AssuranceJudgementIndependenceAxis),\n attainment: z.enum(AssuranceJudgementIndependenceAttainment),\n /** Why this attainment, in one sentence. `PARTIAL` and `NOT_ACHIEVED` are claims a reader must be able to weigh. */\n note: z.string().min(1),\n});\nexport type AssuranceJudgementIndependenceEntry = z.infer<typeof AssuranceJudgementIndependenceEntrySchema>;\n\n/**\n * One rule a judge did not trust on one run, and why (#3025).\n *\n * A judge proves each of its rules against planted cases before it uses it. A rule that failed that proof, or\n * whose fixture no longer has the shape of the facts it is about to read, decides no clause: each clause it\n * would have decided is recorded NOT RUN. Naming it here keeps that on the record, so a reader of a CALIBRATED\n * run can see which rules the calibration does not cover, rather than learning it from the judge's console.\n */\nexport const AssuranceJudgementWithheldRuleSchema = z.strictObject({\n /** The judge's own name for the rule, as it names the rules a run exercised. */\n rule: z.string().min(1),\n /** Why it was withheld: the planted cases it missed, or the fact key paths on which its fixture and the evidence differ. */\n reasons: z.array(z.string().min(1)).min(1),\n});\nexport type AssuranceJudgementWithheldRule = z.infer<typeof AssuranceJudgementWithheldRuleSchema>;\n\n/**\n * Every member of {@link AssuranceJudgementIndependenceAxis}, sorted — the population an independence\n * declaration must cover exactly.\n *\n * Derived from the enum rather than transcribed, so an axis added tomorrow makes every existing\n * record fail the totality check instead of passing with a silent omission.\n */\nexport const ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES: readonly AssuranceJudgementIndependenceAxis[] = Object.values(AssuranceJudgementIndependenceAxis)\n .slice()\n .sort();\n\n/**\n * A clause table and a summary verdict must agree, and the clause table wins.\n *\n * Exported so a collector, a judge and a test all reach the same predicate rather than three\n * re-derivations of it — the shape `invariant-call-site-enumeration.md` asks for when an invariant\n * has more than one call site.\n *\n * Two rules, and only the first was ever written down before:\n *\n * 1. **A clause that was not evidenced cannot be carried by its siblings.** Any clause at\n * `INSUFFICIENT_EVIDENCE` forces the run to `INSUFFICIENT_EVIDENCE` — never `CONFORMANT`, and\n * never `OBSERVATION`, which is the verdict #302 stage 1 actually reached and had overturned.\n * 2. **A clause that FAILED outranks one that merely observed.** Any clause at `NONCONFORMITY` forces\n * the run to `NONCONFORMITY`; a run cannot summarise a failed clause as an observation.\n */\nexport function assertClauseJudgementsSupportVerdict(\n clauseJudgements: readonly { readonly verdict: AssuranceEvidenceJudgementVerdict }[],\n verdict: AssuranceEvidenceJudgementVerdict,\n context: z.RefinementCtx,\n path: PropertyKey[],\n): void {\n if (clauseJudgements.some((clause) => clause.verdict === AssuranceEvidenceJudgementVerdict.NONCONFORMITY) && verdict !== AssuranceEvidenceJudgementVerdict.NONCONFORMITY) {\n context.addIssue({\n code: \"custom\",\n message: \"a clause judged NONCONFORMITY forces the run verdict to NONCONFORMITY; a failed clause cannot be summarised as anything weaker\",\n path,\n });\n return;\n }\n if (\n clauseJudgements.some((clause) => clause.verdict === AssuranceEvidenceJudgementVerdict.INSUFFICIENT_EVIDENCE) &&\n verdict !== AssuranceEvidenceJudgementVerdict.INSUFFICIENT_EVIDENCE &&\n verdict !== AssuranceEvidenceJudgementVerdict.NONCONFORMITY\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"a clause judged INSUFFICIENT_EVIDENCE forces the run verdict to INSUFFICIENT_EVIDENCE; a clause that was not evidenced never passes on its siblings' evidence\",\n path,\n });\n }\n}\n\n/**\n * The fields every run carries, whatever reached its verdict.\n *\n * Keyed by OBJECTIVE and DEMAND together. Measured 2026-09-12 against the composed basis: 51 bindings\n * name 50 distinct evidence requirements, because `evidence-requirement:authorization-decision-record`\n * is demanded by both `WILDO.ACCESS.AUTHORIZATION_DECISION_AUDIT` and `WILDO.ACCESS.LEAST_PRIVILEGE`.\n * On wonder-crm, which does not enable the audit trail, that one demand is `NOT_APPLICABLE` for the\n * first objective and `UNDETERMINED` for the second — so a run identified by demand alone would have\n * to report one of two contradictory verdicts, and either would be false.\n */\nconst assuranceEvidenceRunIdentityShape = {\n runRef: AssuranceNamespacedRefSchema,\n demandRef: AssuranceNamespacedRefSchema,\n objectiveRef: AssuranceWildoObjectiveRefSchema,\n /**\n * The application revision this run concerns.\n *\n * Required on every run, not only verification-plane ones. An execution attests the BUILD it ran\n * against and never the deployment forever, and a derived verdict is a function of the configuration\n * at that revision — so the standing loop can treat a revision change as staleness for either kind\n * only if both carry it.\n */\n applicationRevision: z.string().min(1),\n};\n\n/**\n * The territorial reason a derived verdict can rest on (#2852): the objective rests only on laws, and none of them\n * reaches a jurisdiction the application declares.\n */\nexport const AssuranceEvidenceDerivedJurisdictionReasonSchema = z.strictObject({\n /** The jurisdictions the application declared when the verdict was derived. */\n declaredJurisdictionSlugs: z.array(z.string().trim().min(1)).min(1),\n /** The laws the objective rests on, none of which reaches a declared jurisdiction. */\n lawSourceRefs: z.array(AssuranceNamespacedRefSchema).min(1),\n});\nexport type AssuranceEvidenceDerivedJurisdictionReason = z.infer<typeof AssuranceEvidenceDerivedJurisdictionReasonSchema>;\n\n/**\n * A run whose verdict was resolved from the application's configuration before anything was collected.\n *\n * Configuration decides it on two independent axes, and the record names which: the capabilities the application\n * leaves off (`unavailableCapabilityRefs`), or the jurisdictions it declares (`outsideJurisdictions`, #2852). At\n * least one is present; a derived verdict with no reason is a verdict with no evidence. `unavailableCapabilityRefs`\n * stays the field it always was, so a run recorded before the territorial axis existed parses unchanged.\n */\nexport const AssuranceEvidenceDerivedRunSchema = z\n .strictObject({\n kind: z.literal(AssuranceEvidenceRunKind.DERIVED),\n ...assuranceEvidenceRunIdentityShape,\n verdict: z.literal(AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED),\n /** The capabilities whose absence decided it, when that is the axis. */\n unavailableCapabilityRefs: z.array(AssuranceNamespacedRefSchema).min(1).optional(),\n /** The jurisdictions that decided it, when that is the axis. */\n outsideJurisdictions: AssuranceEvidenceDerivedJurisdictionReasonSchema.optional(),\n })\n .superRefine((run, context) => {\n if (run.unavailableCapabilityRefs === undefined && run.outsideJurisdictions === undefined) {\n context.addIssue({ code: \"custom\", message: \"a derived run names its reason: unavailableCapabilityRefs, outsideJurisdictions, or both\", path: [\"unavailableCapabilityRefs\"] });\n }\n if (run.unavailableCapabilityRefs !== undefined && !valuesAreUniqueAndSorted(run.unavailableCapabilityRefs)) {\n context.addIssue({ code: \"custom\", message: \"unavailableCapabilityRefs must be unique and lexically sorted\", path: [\"unavailableCapabilityRefs\"] });\n }\n if (run.outsideJurisdictions !== undefined) {\n for (const field of [\"declaredJurisdictionSlugs\", \"lawSourceRefs\"] as const) {\n if (!valuesAreUniqueAndSorted(run.outsideJurisdictions[field])) {\n context.addIssue({ code: \"custom\", message: `outsideJurisdictions.${field} must be unique and lexically sorted`, path: [\"outsideJurisdictions\", field] });\n }\n }\n }\n });\nexport type AssuranceEvidenceDerivedRun = z.infer<typeof AssuranceEvidenceDerivedRunSchema>;\n\n/** A run whose verdict a judge reached over collected evidence. */\nexport const AssuranceEvidenceJudgedRunSchema = z\n .strictObject({\n kind: z.literal(AssuranceEvidenceRunKind.JUDGED),\n ...assuranceEvidenceRunIdentityShape,\n verdict: z.enum(AssuranceEvidenceJudgementVerdict),\n clauseJudgements: z.array(AssuranceEvidenceClauseJudgementSchema).min(1),\n measurements: z.array(AssuranceEvidenceMeasurementSchema),\n independence: z.array(AssuranceJudgementIndependenceEntrySchema),\n calibration: z.enum(AssuranceJudgementCalibrationState),\n /** The planted set this harness met. Required by `CALIBRATED` and refused by `UNCALIBRATED`. */\n calibrationSuiteRef: AssuranceNamespacedRefSchema.optional(),\n /**\n * The rules this run did not trust, each with why (#3025). Their clauses are NOT RUN. Optional, and absent when\n * none was withheld, so runs recorded before the field existed read as they always did.\n */\n withheldRules: z.array(AssuranceJudgementWithheldRuleSchema).min(1).optional(),\n })\n .superRefine((run, context) => {\n /*\n * A judge cannot reach the one verdict that needs no judge. `NOT_APPLICABLE_AS_CONFIGURED` is\n * resolvable from the application's configuration (its declared capabilities and, since #2852, its declared\n * operating jurisdictions) before a single row is collected — #302\n * spent two full collection rounds evidencing a demand whose attesting capability the application\n * had never enabled, which is the run this refusal prevents.\n */\n if (run.verdict === AssuranceEvidenceJudgementVerdict.NOT_APPLICABLE_AS_CONFIGURED) {\n context.addIssue({\n code: \"custom\",\n message: \"NOT_APPLICABLE_AS_CONFIGURED is derived from the application's configuration (capabilities, operating jurisdictions) before collection; record it as a DERIVED run, never as a judgement\",\n path: [\"verdict\"],\n });\n }\n\n assertClauseJudgementsSupportVerdict(run.clauseJudgements, run.verdict, context, [\"verdict\"]);\n\n const clauseRefs = run.clauseJudgements.map((clause) => clause.clauseRef);\n if (new Set(clauseRefs).size !== clauseRefs.length) {\n context.addIssue({ code: \"custom\", message: \"each clause is judged at most once; two judgements of one clause let the weaker one be read\", path: [\"clauseJudgements\"] });\n }\n\n const declaredAxes = run.independence.map((entry) => entry.axis).sort();\n if (declaredAxes.length !== ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES.length || declaredAxes.some((axis, index) => axis !== ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES[index])) {\n context.addIssue({\n code: \"custom\",\n message: `independence states every axis exactly once (${ASSURANCE_JUDGEMENT_INDEPENDENCE_AXES.join(\", \")}); an omitted axis is an unwritten claim about the axis a reader most needs`,\n path: [\"independence\"],\n });\n }\n\n if (run.calibration === AssuranceJudgementCalibrationState.CALIBRATED && !run.calibrationSuiteRef) {\n context.addIssue({ code: \"custom\", message: \"CALIBRATED names the planted set it met\", path: [\"calibrationSuiteRef\"] });\n }\n if (run.calibration === AssuranceJudgementCalibrationState.UNCALIBRATED && run.calibrationSuiteRef) {\n context.addIssue({ code: \"custom\", message: \"UNCALIBRATED has met no planted set, so it cannot name one\", path: [\"calibrationSuiteRef\"] });\n }\n const withheld = (run.withheldRules ?? []).map((entry) => entry.rule);\n if (!valuesAreUniqueAndSorted(withheld)) {\n context.addIssue({ code: \"custom\", message: \"withheldRules names each rule once, lexically sorted\", path: [\"withheldRules\"] });\n }\n });\nexport type AssuranceEvidenceJudgedRun = z.infer<typeof AssuranceEvidenceJudgedRunSchema>;\n\n/** Any run, discriminated by how its verdict was reached. */\nexport const AssuranceEvidenceRunSchema = z.discriminatedUnion(\"kind\", [AssuranceEvidenceDerivedRunSchema, AssuranceEvidenceJudgedRunSchema]);\nexport type AssuranceEvidenceRun = z.infer<typeof AssuranceEvidenceRunSchema>;\n\n/**\n * Which of a body's clauses a judged run left unjudged, and which clauses it judged that the body does\n * not declare.\n *\n * A clause the run never mentions is the population-level form of the defect\n * {@link assertClauseJudgementsSupportVerdict} refuses at the clause level: nothing marked it\n * `INSUFFICIENT_EVIDENCE`, so nothing forces the verdict down, and the summary reads as if every clause\n * had been evidenced. The schema cannot see the body, so this is a function a judge and a collector\n * both call rather than a refinement.\n */\nexport function collectJudgedRunClauseCoverage(input: {\n readonly bodyClauses: readonly { readonly clauseRef: string }[];\n readonly clauseJudgements: readonly { readonly clauseRef: string }[];\n}): { readonly unjudgedClauseRefs: readonly string[]; readonly undeclaredClauseRefs: readonly string[] } {\n const declared = new Set(input.bodyClauses.map((clause) => clause.clauseRef));\n const judged = new Set(input.clauseJudgements.map((clause) => clause.clauseRef));\n return {\n unjudgedClauseRefs: [...declared].filter((clauseRef) => !judged.has(clauseRef)).sort(compareCanonicalText),\n undeclaredClauseRefs: [...judged].filter((clauseRef) => !declared.has(clauseRef)).sort(compareCanonicalText),\n };\n}\n\n/**\n * A finding: what persists across runs, under a stable identity.\n *\n * The lifecycle fields are mutually exclusive by authority, which is the whole asymmetry between the\n * two terminal states — `CLOSED` is something a machine OBSERVED, `RISK_ACCEPTED` is something a\n * person DECIDED, and neither may be recorded in the other's currency.\n */\nexport const AssuranceEvidenceFindingSchema = z\n .strictObject({\n identity: AssuranceEvidenceFindingIdentitySchema,\n status: z.enum(AssuranceFindingLifecycleStatus),\n /** The run that opened it, and the most recent run that updated it. A re-judgement advances the second and never forks the finding. */\n openedByRunRef: AssuranceNamespacedRefSchema,\n lastObservedByRunRef: AssuranceNamespacedRefSchema,\n /** The run whose evidence closed it. Only a run can close a finding. */\n closedByRunRef: AssuranceNamespacedRefSchema.optional(),\n /**\n * What this finding EXPOSES, carried from the clause judgement that last observed it.\n *\n * Not stored as an independent decision: a finding's severity IS its clause's, so re-judging\n * updates it rather than letting a stale grade outlive the evidence that set it. Absent means the\n * rule that judged the clause stated none — which the snapshot reports as a count rather than\n * filling in.\n */\n severity: z.enum(AssuranceFindingSeverity).optional(),\n /** Who accepted the risk, and until when. Only a person can accept one. */\n riskAcceptanceAuthorityRef: AssuranceNamespacedRefSchema.optional(),\n riskAcceptanceExpiresOn: z.string().date().optional(),\n })\n .superRefine((finding, context) => {\n if (finding.status === AssuranceFindingLifecycleStatus.CLOSED && !finding.closedByRunRef) {\n context.addIssue({\n code: \"custom\",\n message: \"CLOSED names the run that observed the evidence return; a finding closed by an argument is one nobody re-measured\",\n path: [\"closedByRunRef\"],\n });\n }\n if (finding.status !== AssuranceFindingLifecycleStatus.CLOSED && finding.closedByRunRef) {\n context.addIssue({ code: \"custom\", message: \"only a CLOSED finding names a closing run\", path: [\"closedByRunRef\"] });\n }\n if (finding.status === AssuranceFindingLifecycleStatus.RISK_ACCEPTED && (!finding.riskAcceptanceAuthorityRef || !finding.riskAcceptanceExpiresOn)) {\n context.addIssue({\n code: \"custom\",\n message: \"RISK_ACCEPTED is the only manually-held state and states both its authority and its expiry\",\n path: [\"riskAcceptanceAuthorityRef\"],\n });\n }\n if (finding.status !== AssuranceFindingLifecycleStatus.RISK_ACCEPTED && (finding.riskAcceptanceAuthorityRef || finding.riskAcceptanceExpiresOn)) {\n context.addIssue({ code: \"custom\", message: \"only a RISK_ACCEPTED finding carries a risk acceptance\", path: [\"riskAcceptanceAuthorityRef\"] });\n }\n });\nexport type AssuranceEvidenceFinding = z.infer<typeof AssuranceEvidenceFindingSchema>;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assurance-evidence-requirement-bodies.definitions.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-evidence-requirement-bodies.definitions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assurance-evidence-requirement-bodies.definitions.d.ts","sourceRoot":"","sources":["../../../../src/assurance/assurance-evidence-requirement-bodies.definitions.ts"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,gCAAgC,EACtC,MAAM,6BAA6B,CAAC;AAgIrC,eAAO,MAAM,qCAAqC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CA6wM5G,CAAC"}
|