@sourcey/catalog-verifier 1.0.0 → 1.1.1
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/README.md +1 -1
- package/SBOM.cdx.json +3 -3
- package/SOURCEY-CLOSURE.json +712 -232
- package/SOURCEY-LICENSE-POLICY.json +19 -1
- package/SOURCEY-TOOLCHAIN.json +1 -1
- package/THIRD_PARTY_NOTICES.json +1 -1
- package/dist/contracts/agent-readiness/src/declaration.d.ts +30 -30
- package/dist/contracts/agent-readiness/src/index.d.ts +82 -74
- package/dist/contracts/agent-readiness/src/index.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/index.js +29 -8
- package/dist/contracts/agent-readiness/src/index.js.map +1 -1
- package/dist/contracts/agent-readiness/src/method-pack.d.ts +1 -0
- package/dist/contracts/agent-readiness/src/method-pack.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/method-pack.js.map +1 -1
- package/dist/contracts/agent-readiness/src/shared.d.ts +2 -0
- package/dist/contracts/agent-readiness/src/shared.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/shared.js +3 -1
- package/dist/contracts/agent-readiness/src/shared.js.map +1 -1
- package/dist/contracts/api/src/index.d.ts +29445 -17733
- package/dist/contracts/api/src/index.d.ts.map +1 -1
- package/dist/contracts/api/src/index.js +157 -17
- package/dist/contracts/api/src/index.js.map +1 -1
- package/dist/contracts/artifact/src/index.d.ts +1069 -251
- package/dist/contracts/artifact/src/index.d.ts.map +1 -1
- package/dist/contracts/artifact/src/index.js +66 -5
- package/dist/contracts/artifact/src/index.js.map +1 -1
- package/dist/contracts/assets/src/index.d.ts +30 -0
- package/dist/contracts/assets/src/index.d.ts.map +1 -1
- package/dist/contracts/assets/src/index.js +16 -0
- package/dist/contracts/assets/src/index.js.map +1 -1
- package/dist/contracts/assurance/src/index.d.ts +149 -0
- package/dist/contracts/assurance/src/index.d.ts.map +1 -0
- package/dist/contracts/assurance/src/index.js +146 -0
- package/dist/contracts/assurance/src/index.js.map +1 -0
- package/dist/contracts/authoring/src/index.d.ts +18 -0
- package/dist/contracts/authoring/src/index.d.ts.map +1 -1
- package/dist/contracts/authoring/src/index.js +35 -2
- package/dist/contracts/authoring/src/index.js.map +1 -1
- package/dist/contracts/authority/src/index.d.ts.map +1 -1
- package/dist/contracts/authority/src/index.js +3 -2
- package/dist/contracts/authority/src/index.js.map +1 -1
- package/dist/contracts/billing/src/index.d.ts +54 -0
- package/dist/contracts/billing/src/index.d.ts.map +1 -1
- package/dist/contracts/billing/src/index.js +77 -11
- package/dist/contracts/billing/src/index.js.map +1 -1
- package/dist/contracts/catalog-verifier/src/index.d.ts +50 -0
- package/dist/contracts/catalog-verifier/src/index.d.ts.map +1 -1
- package/dist/contracts/catalog-verifier/src/index.js +31 -3
- package/dist/contracts/catalog-verifier/src/index.js.map +1 -1
- package/dist/contracts/commercial-work/src/index.d.ts +1330 -392
- package/dist/contracts/commercial-work/src/index.d.ts.map +1 -1
- package/dist/contracts/commercial-work/src/index.js +554 -111
- package/dist/contracts/commercial-work/src/index.js.map +1 -1
- package/dist/contracts/datasets/src/index.d.ts +915 -0
- package/dist/contracts/datasets/src/index.d.ts.map +1 -0
- package/dist/contracts/datasets/src/index.js +80 -0
- package/dist/contracts/datasets/src/index.js.map +1 -0
- package/dist/contracts/events/src/index.d.ts +67 -56
- package/dist/contracts/events/src/index.d.ts.map +1 -1
- package/dist/contracts/events/src/index.js +100 -53
- package/dist/contracts/events/src/index.js.map +1 -1
- package/dist/contracts/evidence/src/index.d.ts +4 -0
- package/dist/contracts/evidence/src/index.d.ts.map +1 -1
- package/dist/contracts/evidence/src/index.js +1 -0
- package/dist/contracts/evidence/src/index.js.map +1 -1
- package/dist/contracts/funded-work/src/index.d.ts +2 -2
- package/dist/contracts/funded-work/src/index.js +1 -1
- package/dist/contracts/funded-work/src/index.js.map +1 -1
- package/dist/contracts/observations/src/index.d.ts +2 -2
- package/dist/contracts/observations/src/index.d.ts.map +1 -1
- package/dist/contracts/observations/src/index.js +2 -2
- package/dist/contracts/observations/src/index.js.map +1 -1
- package/dist/contracts/policies/src/index.d.ts.map +1 -1
- package/dist/contracts/policies/src/index.js +3 -0
- package/dist/contracts/policies/src/index.js.map +1 -1
- package/dist/contracts/publication/src/index.d.ts +2472 -7
- package/dist/contracts/publication/src/index.d.ts.map +1 -1
- package/dist/contracts/publication/src/index.js +77 -6
- package/dist/contracts/publication/src/index.js.map +1 -1
- package/dist/contracts/release/src/index.d.ts +415 -42
- package/dist/contracts/release/src/index.d.ts.map +1 -1
- package/dist/contracts/release/src/index.js +49 -1
- package/dist/contracts/release/src/index.js.map +1 -1
- package/dist/contracts/revisions/src/index.d.ts +66 -0
- package/dist/contracts/revisions/src/index.d.ts.map +1 -1
- package/dist/contracts/revisions/src/index.js +59 -8
- package/dist/contracts/revisions/src/index.js.map +1 -1
- package/dist/contracts/routes/src/index.d.ts +66 -0
- package/dist/contracts/routes/src/index.d.ts.map +1 -1
- package/dist/contracts/routes/src/index.js +102 -4
- package/dist/contracts/routes/src/index.js.map +1 -1
- package/dist/contracts/routes/src/public-route-allocations.generated.d.ts +1 -1
- package/dist/contracts/routes/src/public-route-allocations.generated.d.ts.map +1 -1
- package/dist/contracts/routes/src/public-route-allocations.generated.js +3 -0
- package/dist/contracts/routes/src/public-route-allocations.generated.js.map +1 -1
- package/dist/contracts/taxonomy/src/index.d.ts +1 -0
- package/dist/contracts/taxonomy/src/index.d.ts.map +1 -1
- package/dist/contracts/taxonomy/src/index.js +16 -1
- package/dist/contracts/taxonomy/src/index.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js +2 -2
- package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/current-policy-validation.d.ts +4 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-validation.d.ts.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-validation.js +11 -0
- package/dist/modules/agent-readiness-policy/src/current-policy-validation.js.map +1 -0
- package/dist/modules/agent-readiness-policy/src/current-policy.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/current-policy.js +10 -15
- package/dist/modules/agent-readiness-policy/src/current-policy.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/grading.js +1 -1
- package/dist/modules/agent-readiness-policy/src/impact.d.ts +4 -3
- package/dist/modules/agent-readiness-policy/src/impact.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/impact.js +5 -6
- package/dist/modules/agent-readiness-policy/src/impact.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/index.d.ts +3 -0
- package/dist/modules/agent-readiness-policy/src/index.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/index.js +14 -4
- package/dist/modules/agent-readiness-policy/src/index.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts +6 -0
- package/dist/modules/agent-readiness-policy/src/offer-relations.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/offer-relations.js +6 -0
- package/dist/modules/agent-readiness-policy/src/offer-relations.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts +0 -1
- package/dist/modules/agent-readiness-policy/src/policy-validation.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/policy-validation.js +3 -23
- package/dist/modules/agent-readiness-policy/src/policy-validation.js.map +1 -1
- package/dist/modules/agent-readiness-policy/src/standard-mapping.d.ts.map +1 -1
- package/dist/modules/agent-readiness-policy/src/standard-mapping.js +2 -1
- package/dist/modules/agent-readiness-policy/src/standard-mapping.js.map +1 -1
- package/dist/modules/agent-readiness-repository/src/admission.d.ts.map +1 -1
- package/dist/modules/agent-readiness-repository/src/admission.js +2 -2
- package/dist/modules/agent-readiness-repository/src/admission.js.map +1 -1
- package/dist/modules/agent-readiness-repository/src/change.js +2 -2
- package/dist/modules/agent-readiness-repository/src/change.js.map +1 -1
- package/dist/modules/artifact/src/index.d.ts +9 -3
- package/dist/modules/artifact/src/index.d.ts.map +1 -1
- package/dist/modules/artifact/src/index.js +50 -65
- package/dist/modules/artifact/src/index.js.map +1 -1
- package/dist/modules/artifact/src/policy-closure.d.ts +12 -0
- package/dist/modules/artifact/src/policy-closure.d.ts.map +1 -0
- package/dist/modules/artifact/src/policy-closure.js +52 -0
- package/dist/modules/artifact/src/policy-closure.js.map +1 -0
- package/dist/modules/{release → artifact}/src/release-directory-files.d.ts +2 -0
- package/dist/modules/artifact/src/release-directory-files.d.ts.map +1 -0
- package/dist/modules/artifact/src/release-directory-files.js +38 -0
- package/dist/modules/artifact/src/release-directory-files.js.map +1 -0
- package/dist/modules/assets/src/authority-bundle.d.ts +13 -0
- package/dist/modules/assets/src/authority-bundle.d.ts.map +1 -1
- package/dist/modules/assets/src/authority-bundle.js +38 -9
- package/dist/modules/assets/src/authority-bundle.js.map +1 -1
- package/dist/modules/assets/src/index.d.ts.map +1 -1
- package/dist/modules/assets/src/index.js +13 -4
- package/dist/modules/assets/src/index.js.map +1 -1
- package/dist/modules/assurance/src/index.d.ts +22 -0
- package/dist/modules/assurance/src/index.d.ts.map +1 -0
- package/dist/modules/assurance/src/index.js +73 -0
- package/dist/modules/assurance/src/index.js.map +1 -0
- package/dist/modules/authority/src/index.d.ts +9 -2
- package/dist/modules/authority/src/index.d.ts.map +1 -1
- package/dist/modules/authority/src/index.js +32 -2
- package/dist/modules/authority/src/index.js.map +1 -1
- package/dist/modules/authority/src/retained-capture-receipt.d.ts +95 -0
- package/dist/modules/authority/src/retained-capture-receipt.d.ts.map +1 -0
- package/dist/modules/authority/src/retained-capture-receipt.js +76 -0
- package/dist/modules/authority/src/retained-capture-receipt.js.map +1 -0
- package/dist/modules/authority-state/src/index.d.ts +1 -1
- package/dist/modules/authority-state/src/index.d.ts.map +1 -1
- package/dist/modules/authority-state/src/index.js +5 -9
- package/dist/modules/authority-state/src/index.js.map +1 -1
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts +66 -17
- package/dist/modules/catalog-admission/src/admission-conflicts.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/admission-conflicts.js +103 -43
- package/dist/modules/catalog-admission/src/admission-conflicts.js.map +1 -1
- package/dist/modules/catalog-admission/src/change-analysis.d.ts +50 -0
- package/dist/modules/catalog-admission/src/change-analysis.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/change-analysis.js +113 -0
- package/dist/modules/catalog-admission/src/change-analysis.js.map +1 -0
- package/dist/modules/catalog-admission/src/index.d.ts +11 -37
- package/dist/modules/catalog-admission/src/index.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/index.js +20 -56
- package/dist/modules/catalog-admission/src/index.js.map +1 -1
- package/dist/modules/catalog-admission/src/machine-admission.d.ts +1215 -0
- package/dist/modules/catalog-admission/src/machine-admission.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/machine-admission.js +156 -12
- package/dist/modules/catalog-admission/src/machine-admission.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-authorities.d.ts +6 -0
- package/dist/modules/catalog-admission/src/publication-authorities.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication-authorities.js +28 -0
- package/dist/modules/catalog-admission/src/publication-authorities.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication-composition.d.ts +421 -0
- package/dist/modules/catalog-admission/src/publication-composition.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication-composition.js +290 -0
- package/dist/modules/catalog-admission/src/publication-composition.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication-dependencies.d.ts +25 -1
- package/dist/modules/catalog-admission/src/publication-dependencies.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication-dependencies.js +31 -1
- package/dist/modules/catalog-admission/src/publication-dependencies.js.map +1 -1
- package/dist/modules/catalog-admission/src/publication-recomposition.d.ts +2 -2
- package/dist/modules/catalog-admission/src/publication-state.d.ts +19 -0
- package/dist/modules/catalog-admission/src/publication-state.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/publication-state.js +97 -0
- package/dist/modules/catalog-admission/src/publication-state.js.map +1 -0
- package/dist/modules/catalog-admission/src/publication.d.ts +26 -24
- package/dist/modules/catalog-admission/src/publication.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/publication.js +47 -106
- package/dist/modules/catalog-admission/src/publication.js.map +1 -1
- package/dist/modules/catalog-admission/src/submission-input.d.ts +44 -0
- package/dist/modules/catalog-admission/src/submission-input.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/submission-input.js +174 -0
- package/dist/modules/catalog-admission/src/submission-input.js.map +1 -0
- package/dist/modules/catalog-admission/src/submission-state.d.ts +9 -0
- package/dist/modules/catalog-admission/src/submission-state.d.ts.map +1 -0
- package/dist/modules/catalog-admission/src/submission-state.js +24 -0
- package/dist/modules/catalog-admission/src/submission-state.js.map +1 -0
- package/dist/modules/catalog-admission/src/submission.d.ts +99 -19
- package/dist/modules/catalog-admission/src/submission.d.ts.map +1 -1
- package/dist/modules/catalog-admission/src/submission.js +160 -111
- package/dist/modules/catalog-admission/src/submission.js.map +1 -1
- package/dist/modules/catalog-model/src/index.d.ts +2 -1
- package/dist/modules/catalog-model/src/index.d.ts.map +1 -1
- package/dist/modules/catalog-model/src/index.js +3 -3
- package/dist/modules/catalog-model/src/index.js.map +1 -1
- package/dist/modules/catalog-query/src/contracts.d.ts +13 -0
- package/dist/modules/catalog-query/src/contracts.d.ts.map +1 -0
- package/dist/modules/catalog-query/src/contracts.js +13 -0
- package/dist/modules/catalog-query/src/contracts.js.map +1 -0
- package/dist/modules/catalog-read-port/src/index.d.ts +34 -0
- package/dist/modules/catalog-read-port/src/index.d.ts.map +1 -0
- package/dist/modules/catalog-read-port/src/index.js +2 -0
- package/dist/modules/catalog-read-port/src/index.js.map +1 -0
- package/dist/modules/deterministic-release-archive/src/files.d.ts +8 -0
- package/dist/modules/deterministic-release-archive/src/files.d.ts.map +1 -0
- package/dist/modules/deterministic-release-archive/src/files.js +23 -0
- package/dist/modules/deterministic-release-archive/src/files.js.map +1 -0
- package/dist/modules/evidence-operations/src/configuration.d.ts +283 -0
- package/dist/modules/evidence-operations/src/configuration.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/configuration.js +213 -0
- package/dist/modules/evidence-operations/src/configuration.js.map +1 -0
- package/dist/modules/evidence-operations/src/evidence-authority.d.ts +2552 -0
- package/dist/modules/evidence-operations/src/evidence-authority.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/evidence-authority.js +545 -0
- package/dist/modules/evidence-operations/src/evidence-authority.js.map +1 -0
- package/dist/modules/evidence-operations/src/evidence-normalization.d.ts +5 -0
- package/dist/modules/evidence-operations/src/evidence-normalization.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/evidence-normalization.js +11 -2
- package/dist/modules/evidence-operations/src/evidence-normalization.js.map +1 -1
- package/dist/modules/evidence-operations/src/proof-graph.d.ts +4 -7
- package/dist/modules/evidence-operations/src/proof-graph.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/proof-graph.js +6 -7
- package/dist/modules/evidence-operations/src/proof-graph.js.map +1 -1
- package/dist/modules/evidence-operations/src/retained-revision.d.ts +6 -0
- package/dist/modules/evidence-operations/src/retained-revision.d.ts.map +1 -0
- package/dist/modules/evidence-operations/src/retained-revision.js +29 -0
- package/dist/modules/evidence-operations/src/retained-revision.js.map +1 -0
- package/dist/modules/evidence-operations/src/submission-verifier.d.ts +5 -2
- package/dist/modules/evidence-operations/src/submission-verifier.d.ts.map +1 -1
- package/dist/modules/evidence-operations/src/submission-verifier.js.map +1 -1
- package/dist/modules/git-input/src/index.d.ts +31 -0
- package/dist/modules/git-input/src/index.d.ts.map +1 -0
- package/dist/modules/git-input/src/index.js +158 -0
- package/dist/modules/git-input/src/index.js.map +1 -0
- package/dist/modules/policy-identity/src/index.d.ts +7 -0
- package/dist/modules/policy-identity/src/index.d.ts.map +1 -0
- package/dist/modules/policy-identity/src/index.js +23 -0
- package/dist/modules/policy-identity/src/index.js.map +1 -0
- package/dist/modules/primitives/src/index.d.ts +8 -0
- package/dist/modules/primitives/src/index.d.ts.map +1 -1
- package/dist/modules/primitives/src/index.js +26 -2
- package/dist/modules/primitives/src/index.js.map +1 -1
- package/dist/modules/projection-identity/src/index.d.ts +14 -0
- package/dist/modules/projection-identity/src/index.d.ts.map +1 -0
- package/dist/modules/projection-identity/src/index.js +23 -0
- package/dist/modules/projection-identity/src/index.js.map +1 -0
- package/dist/modules/provenance/src/index.d.ts +7 -3
- package/dist/modules/provenance/src/index.d.ts.map +1 -1
- package/dist/modules/provenance/src/index.js +52 -68
- package/dist/modules/provenance/src/index.js.map +1 -1
- package/dist/modules/release/src/agent-readiness-publication-inputs.d.ts +12 -0
- package/dist/modules/release/src/agent-readiness-publication-inputs.d.ts.map +1 -0
- package/dist/modules/release/src/agent-readiness-publication-inputs.js +48 -0
- package/dist/modules/release/src/agent-readiness-publication-inputs.js.map +1 -0
- package/dist/modules/release/src/agent-readiness-regrade-evidence.d.ts +223 -0
- package/dist/modules/release/src/agent-readiness-regrade-evidence.d.ts.map +1 -0
- package/dist/modules/release/src/agent-readiness-regrade-evidence.js +192 -0
- package/dist/modules/release/src/agent-readiness-regrade-evidence.js.map +1 -0
- package/dist/modules/release/src/changes.d.ts.map +1 -1
- package/dist/modules/release/src/changes.js +21 -25
- package/dist/modules/release/src/changes.js.map +1 -1
- package/dist/modules/release/src/evidence-admission.d.ts +59 -0
- package/dist/modules/release/src/evidence-admission.d.ts.map +1 -0
- package/dist/modules/release/src/evidence-admission.js +539 -0
- package/dist/modules/release/src/evidence-admission.js.map +1 -0
- package/dist/modules/release/src/evidence-bundle-tree.d.ts +14 -0
- package/dist/modules/release/src/evidence-bundle-tree.d.ts.map +1 -0
- package/dist/modules/release/src/evidence-bundle-tree.js +58 -0
- package/dist/modules/release/src/evidence-bundle-tree.js.map +1 -0
- package/dist/modules/release/src/identity.d.ts +4 -4
- package/dist/modules/release/src/identity.d.ts.map +1 -1
- package/dist/modules/release/src/identity.js +43 -1
- package/dist/modules/release/src/identity.js.map +1 -1
- package/dist/modules/release/src/inputs.d.ts +15 -7
- package/dist/modules/release/src/inputs.d.ts.map +1 -1
- package/dist/modules/release/src/inputs.js +15 -21
- package/dist/modules/release/src/inputs.js.map +1 -1
- package/dist/modules/release/src/publication-authorities.d.ts +267 -0
- package/dist/modules/release/src/publication-authorities.d.ts.map +1 -0
- package/dist/modules/release/src/publication-authorities.js +56 -0
- package/dist/modules/release/src/publication-authorities.js.map +1 -0
- package/dist/modules/release/src/publication-inputs.d.ts +2 -6
- package/dist/modules/release/src/publication-inputs.d.ts.map +1 -1
- package/dist/modules/release/src/publication-inputs.js +29 -15
- package/dist/modules/release/src/publication-inputs.js.map +1 -1
- package/dist/modules/release/src/publication-parent-guard.d.ts +17 -0
- package/dist/modules/release/src/publication-parent-guard.d.ts.map +1 -0
- package/dist/modules/release/src/publication-parent-guard.js +18 -0
- package/dist/modules/release/src/publication-parent-guard.js.map +1 -0
- package/dist/modules/release/src/publication-parent-relations.d.ts +24 -0
- package/dist/modules/release/src/publication-parent-relations.d.ts.map +1 -0
- package/dist/modules/release/src/publication-parent-relations.js +104 -0
- package/dist/modules/release/src/publication-parent-relations.js.map +1 -0
- package/dist/modules/release/src/submission-verification.d.ts +20 -0
- package/dist/modules/release/src/submission-verification.d.ts.map +1 -0
- package/dist/modules/release/src/submission-verification.js +39 -0
- package/dist/modules/release/src/submission-verification.js.map +1 -0
- package/dist/modules/release/src/transition.d.ts.map +1 -1
- package/dist/modules/release/src/transition.js +17 -10
- package/dist/modules/release/src/transition.js.map +1 -1
- package/dist/modules/release/src/verification-changes.d.ts +6 -0
- package/dist/modules/release/src/verification-changes.d.ts.map +1 -0
- package/dist/modules/release/src/verification-changes.js +56 -0
- package/dist/modules/release/src/verification-changes.js.map +1 -0
- package/dist/modules/release/src/verification-policies.d.ts +22 -0
- package/dist/modules/release/src/verification-policies.d.ts.map +1 -1
- package/dist/modules/release/src/verification-policies.js +6 -0
- package/dist/modules/release/src/verification-policies.js.map +1 -1
- package/dist/modules/release/src/verification-transitions.d.ts +14 -1
- package/dist/modules/release/src/verification-transitions.d.ts.map +1 -1
- package/dist/modules/release/src/verification-transitions.js +55 -1
- package/dist/modules/release/src/verification-transitions.js.map +1 -1
- package/dist/modules/release/src/verifier.d.ts +5 -3
- package/dist/modules/release/src/verifier.d.ts.map +1 -1
- package/dist/modules/release/src/verifier.js +71 -80
- package/dist/modules/release/src/verifier.js.map +1 -1
- package/dist/packages/catalog-verifier/src/application.d.ts +2 -0
- package/dist/packages/catalog-verifier/src/application.d.ts.map +1 -1
- package/dist/packages/catalog-verifier/src/application.js +10 -9
- package/dist/packages/catalog-verifier/src/application.js.map +1 -1
- package/dist/packages/catalog-verifier/src/index.d.ts +3 -0
- package/dist/packages/catalog-verifier/src/index.d.ts.map +1 -1
- package/dist/packages/catalog-verifier/src/index.js +3 -0
- package/dist/packages/catalog-verifier/src/index.js.map +1 -1
- package/dist/packages/catalog-verifier/src/program.d.ts.map +1 -1
- package/dist/packages/catalog-verifier/src/program.js +13 -10
- package/dist/packages/catalog-verifier/src/program.js.map +1 -1
- package/package.json +1 -1
- package/taxonomy.json +27 -1
- package/dist/modules/release/src/release-directory-files.d.ts.map +0 -1
- package/dist/modules/release/src/release-directory-files.js +0 -49
- package/dist/modules/release/src/release-directory-files.js.map +0 -1
|
@@ -19,6 +19,30 @@ export declare const releaseObjectManifestSchema: z.ZodObject<{
|
|
|
19
19
|
* so a new capability does not change the release envelope shape.
|
|
20
20
|
*/
|
|
21
21
|
export declare const releaseResourceDigestsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
22
|
+
export declare const releasePolicyInputsSchema: z.ZodObject<{
|
|
23
|
+
input_contract: z.ZodLiteral<"sourcey.policy-inputs/v1alpha1">;
|
|
24
|
+
agent_readiness_policy_digest: z.ZodString;
|
|
25
|
+
assurance_method_policy_digest: z.ZodString;
|
|
26
|
+
coverage_policy_digest: z.ZodString;
|
|
27
|
+
freshness_policy_digest: z.ZodString;
|
|
28
|
+
public_policy_digests: z.ZodArray<z.ZodString>;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
/** One immutable source of production policy paths shared by release and evidence runtimes. */
|
|
31
|
+
export declare const productionReleaseConfigurationSchema: z.ZodObject<{
|
|
32
|
+
configuration_contract: z.ZodLiteral<"sourcey.production-release-configuration/v1alpha1">;
|
|
33
|
+
policy_as_of: z.ZodISODateTime;
|
|
34
|
+
paths: z.ZodObject<{
|
|
35
|
+
taxonomy: z.ZodString;
|
|
36
|
+
root_set: z.ZodString;
|
|
37
|
+
signer_registry: z.ZodString;
|
|
38
|
+
agent_readiness_policy: z.ZodString;
|
|
39
|
+
assurance_method_policy: z.ZodString;
|
|
40
|
+
coverage_policy: z.ZodString;
|
|
41
|
+
freshness_policy: z.ZodString;
|
|
42
|
+
public_policy_root: z.ZodString;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
export type ProductionReleaseConfiguration = z.infer<typeof productionReleaseConfigurationSchema>;
|
|
22
46
|
export declare const RELEASE_RESOURCES: {
|
|
23
47
|
readonly agentReadinessIndex: "agent-readiness-index";
|
|
24
48
|
readonly agentReadinessInputs: "agent-readiness-inputs";
|
|
@@ -28,6 +52,7 @@ export declare const RELEASE_RESOURCES: {
|
|
|
28
52
|
readonly assetIndex: "asset-index";
|
|
29
53
|
readonly assetInputs: "asset-inputs";
|
|
30
54
|
readonly assetManifest: "asset-manifest";
|
|
55
|
+
readonly assuranceMethodPolicy: "assurance-method-policy";
|
|
31
56
|
readonly coveragePolicy: "coverage-policy";
|
|
32
57
|
readonly freshnessPolicy: "freshness-policy";
|
|
33
58
|
readonly identities: "identities";
|
|
@@ -572,11 +597,6 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
572
597
|
category: z.ZodString;
|
|
573
598
|
revision_digest: z.ZodString;
|
|
574
599
|
provenance: z.ZodObject<{
|
|
575
|
-
tier: z.ZodEnum<{
|
|
576
|
-
observed: "observed";
|
|
577
|
-
signed: "signed";
|
|
578
|
-
verified: "verified";
|
|
579
|
-
}>;
|
|
580
600
|
freshness: z.ZodEnum<{
|
|
581
601
|
unknown: "unknown";
|
|
582
602
|
fresh: "fresh";
|
|
@@ -613,9 +633,24 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
613
633
|
stale: "stale";
|
|
614
634
|
}>;
|
|
615
635
|
}, z.core.$strict>>;
|
|
616
|
-
|
|
617
|
-
|
|
636
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
637
|
+
status: z.ZodLiteral<"none">;
|
|
638
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
639
|
+
status: z.ZodLiteral<"current">;
|
|
640
|
+
event_id: z.ZodString;
|
|
641
|
+
attested_at: z.ZodISODateTime;
|
|
642
|
+
}, z.core.$strict>], "status">;
|
|
618
643
|
}, z.core.$strict>;
|
|
644
|
+
identity_assurance: z.ZodOptional<z.ZodObject<{
|
|
645
|
+
status: z.ZodLiteral<"verified">;
|
|
646
|
+
assurance_id: z.ZodString;
|
|
647
|
+
verified_at: z.ZodISODateTime;
|
|
648
|
+
identity_epoch_digest: z.ZodString;
|
|
649
|
+
method_policy_digest: z.ZodString;
|
|
650
|
+
coverage_policy_digest: z.ZodString;
|
|
651
|
+
event_id: z.ZodString;
|
|
652
|
+
receipt_digest: z.ZodString;
|
|
653
|
+
}, z.core.$strict>>;
|
|
619
654
|
programs: z.ZodArray<z.ZodObject<{
|
|
620
655
|
program_id: z.ZodString;
|
|
621
656
|
slug: z.ZodString;
|
|
@@ -623,11 +658,6 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
623
658
|
summary: z.ZodOptional<z.ZodString>;
|
|
624
659
|
revision_digest: z.ZodString;
|
|
625
660
|
provenance: z.ZodObject<{
|
|
626
|
-
tier: z.ZodEnum<{
|
|
627
|
-
observed: "observed";
|
|
628
|
-
signed: "signed";
|
|
629
|
-
verified: "verified";
|
|
630
|
-
}>;
|
|
631
661
|
freshness: z.ZodEnum<{
|
|
632
662
|
unknown: "unknown";
|
|
633
663
|
fresh: "fresh";
|
|
@@ -664,8 +694,13 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
664
694
|
stale: "stale";
|
|
665
695
|
}>;
|
|
666
696
|
}, z.core.$strict>>;
|
|
667
|
-
|
|
668
|
-
|
|
697
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
698
|
+
status: z.ZodLiteral<"none">;
|
|
699
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
700
|
+
status: z.ZodLiteral<"current">;
|
|
701
|
+
event_id: z.ZodString;
|
|
702
|
+
attested_at: z.ZodISODateTime;
|
|
703
|
+
}, z.core.$strict>], "status">;
|
|
669
704
|
}, z.core.$strict>;
|
|
670
705
|
}, z.core.$strict>>;
|
|
671
706
|
offers: z.ZodArray<z.ZodObject<{
|
|
@@ -888,11 +923,6 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
888
923
|
effective_until: z.ZodOptional<z.ZodISODateTime>;
|
|
889
924
|
revision_digest: z.ZodString;
|
|
890
925
|
provenance: z.ZodObject<{
|
|
891
|
-
tier: z.ZodEnum<{
|
|
892
|
-
observed: "observed";
|
|
893
|
-
signed: "signed";
|
|
894
|
-
verified: "verified";
|
|
895
|
-
}>;
|
|
896
926
|
freshness: z.ZodEnum<{
|
|
897
927
|
unknown: "unknown";
|
|
898
928
|
fresh: "fresh";
|
|
@@ -929,9 +959,177 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
929
959
|
stale: "stale";
|
|
930
960
|
}>;
|
|
931
961
|
}, z.core.$strict>>;
|
|
932
|
-
|
|
933
|
-
|
|
962
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
963
|
+
status: z.ZodLiteral<"none">;
|
|
964
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
965
|
+
status: z.ZodLiteral<"current">;
|
|
966
|
+
event_id: z.ZodString;
|
|
967
|
+
attested_at: z.ZodISODateTime;
|
|
968
|
+
}, z.core.$strict>], "status">;
|
|
934
969
|
}, z.core.$strict>;
|
|
970
|
+
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
971
|
+
status: z.ZodLiteral<"checked">;
|
|
972
|
+
assurance_id: z.ZodString;
|
|
973
|
+
checked_at: z.ZodISODateTime;
|
|
974
|
+
revision_digest: z.ZodString;
|
|
975
|
+
method_policy_digest: z.ZodString;
|
|
976
|
+
coverage_policy_digest: z.ZodString;
|
|
977
|
+
event_id: z.ZodString;
|
|
978
|
+
receipt_digest: z.ZodString;
|
|
979
|
+
}, z.core.$strict>>;
|
|
980
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
981
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
982
|
+
benefit_id: z.ZodString;
|
|
983
|
+
basis: z.ZodEnum<{
|
|
984
|
+
typed: "typed";
|
|
985
|
+
described: "described";
|
|
986
|
+
}>;
|
|
987
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
988
|
+
kind: z.ZodLiteral<"credit">;
|
|
989
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
990
|
+
kind: z.ZodLiteral<"exact">;
|
|
991
|
+
amount: z.ZodObject<{
|
|
992
|
+
currency: z.ZodString;
|
|
993
|
+
minor_units: z.ZodNumber;
|
|
994
|
+
}, z.core.$strict>;
|
|
995
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
996
|
+
kind: z.ZodLiteral<"up-to">;
|
|
997
|
+
amount: z.ZodObject<{
|
|
998
|
+
currency: z.ZodString;
|
|
999
|
+
minor_units: z.ZodNumber;
|
|
1000
|
+
}, z.core.$strict>;
|
|
1001
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1002
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1003
|
+
amount: z.ZodObject<{
|
|
1004
|
+
currency: z.ZodString;
|
|
1005
|
+
minor_units: z.ZodNumber;
|
|
1006
|
+
}, z.core.$strict>;
|
|
1007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1008
|
+
kind: z.ZodLiteral<"range">;
|
|
1009
|
+
minimum: z.ZodObject<{
|
|
1010
|
+
currency: z.ZodString;
|
|
1011
|
+
minor_units: z.ZodNumber;
|
|
1012
|
+
}, z.core.$strict>;
|
|
1013
|
+
maximum: z.ZodObject<{
|
|
1014
|
+
currency: z.ZodString;
|
|
1015
|
+
minor_units: z.ZodNumber;
|
|
1016
|
+
}, z.core.$strict>;
|
|
1017
|
+
}, z.core.$strict>], "kind">;
|
|
1018
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1019
|
+
kind: z.ZodLiteral<"exact">;
|
|
1020
|
+
value: z.ZodString;
|
|
1021
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1022
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1023
|
+
value: z.ZodString;
|
|
1024
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1025
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1026
|
+
value: z.ZodString;
|
|
1027
|
+
}, z.core.$strict>], "kind">>;
|
|
1028
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1029
|
+
kind: z.ZodLiteral<"discount">;
|
|
1030
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1031
|
+
kind: z.ZodLiteral<"exact">;
|
|
1032
|
+
basis_points: z.ZodNumber;
|
|
1033
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1034
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1035
|
+
basis_points: z.ZodNumber;
|
|
1036
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1037
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1038
|
+
basis_points: z.ZodNumber;
|
|
1039
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1040
|
+
kind: z.ZodLiteral<"range">;
|
|
1041
|
+
minimum_basis_points: z.ZodNumber;
|
|
1042
|
+
maximum_basis_points: z.ZodNumber;
|
|
1043
|
+
}, z.core.$strict>], "kind">;
|
|
1044
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1046
|
+
kind: z.ZodLiteral<"exact">;
|
|
1047
|
+
value: z.ZodString;
|
|
1048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1049
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1050
|
+
value: z.ZodString;
|
|
1051
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1052
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1053
|
+
value: z.ZodString;
|
|
1054
|
+
}, z.core.$strict>], "kind">>;
|
|
1055
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1056
|
+
kind: z.ZodLiteral<"cashback">;
|
|
1057
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1058
|
+
kind: z.ZodLiteral<"money">;
|
|
1059
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1060
|
+
kind: z.ZodLiteral<"exact">;
|
|
1061
|
+
amount: z.ZodObject<{
|
|
1062
|
+
currency: z.ZodString;
|
|
1063
|
+
minor_units: z.ZodNumber;
|
|
1064
|
+
}, z.core.$strict>;
|
|
1065
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1066
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1067
|
+
amount: z.ZodObject<{
|
|
1068
|
+
currency: z.ZodString;
|
|
1069
|
+
minor_units: z.ZodNumber;
|
|
1070
|
+
}, z.core.$strict>;
|
|
1071
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1072
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1073
|
+
amount: z.ZodObject<{
|
|
1074
|
+
currency: z.ZodString;
|
|
1075
|
+
minor_units: z.ZodNumber;
|
|
1076
|
+
}, z.core.$strict>;
|
|
1077
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1078
|
+
kind: z.ZodLiteral<"range">;
|
|
1079
|
+
minimum: z.ZodObject<{
|
|
1080
|
+
currency: z.ZodString;
|
|
1081
|
+
minor_units: z.ZodNumber;
|
|
1082
|
+
}, z.core.$strict>;
|
|
1083
|
+
maximum: z.ZodObject<{
|
|
1084
|
+
currency: z.ZodString;
|
|
1085
|
+
minor_units: z.ZodNumber;
|
|
1086
|
+
}, z.core.$strict>;
|
|
1087
|
+
}, z.core.$strict>], "kind">;
|
|
1088
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1089
|
+
kind: z.ZodLiteral<"percentage">;
|
|
1090
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1091
|
+
kind: z.ZodLiteral<"exact">;
|
|
1092
|
+
basis_points: z.ZodNumber;
|
|
1093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1094
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1095
|
+
basis_points: z.ZodNumber;
|
|
1096
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1097
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1098
|
+
basis_points: z.ZodNumber;
|
|
1099
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1100
|
+
kind: z.ZodLiteral<"range">;
|
|
1101
|
+
minimum_basis_points: z.ZodNumber;
|
|
1102
|
+
maximum_basis_points: z.ZodNumber;
|
|
1103
|
+
}, z.core.$strict>], "kind">;
|
|
1104
|
+
}, z.core.$strict>], "kind">;
|
|
1105
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1106
|
+
kind: z.ZodLiteral<"exact">;
|
|
1107
|
+
value: z.ZodString;
|
|
1108
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1109
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1110
|
+
value: z.ZodString;
|
|
1111
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1112
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1113
|
+
value: z.ZodString;
|
|
1114
|
+
}, z.core.$strict>], "kind">>;
|
|
1115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1116
|
+
kind: z.ZodLiteral<"free-service">;
|
|
1117
|
+
service: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1119
|
+
kind: z.ZodLiteral<"exact">;
|
|
1120
|
+
value: z.ZodString;
|
|
1121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1122
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1123
|
+
value: z.ZodString;
|
|
1124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1125
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1126
|
+
value: z.ZodString;
|
|
1127
|
+
}, z.core.$strict>], "kind">;
|
|
1128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1129
|
+
kind: z.ZodLiteral<"waiver">;
|
|
1130
|
+
waived_item: z.ZodString;
|
|
1131
|
+
}, z.core.$strict>], "kind">;
|
|
1132
|
+
}, z.core.$strict>>;
|
|
935
1133
|
}, z.core.$strict>>;
|
|
936
1134
|
}, z.core.$strict>;
|
|
937
1135
|
prior_entity: z.ZodNullable<z.ZodObject<{
|
|
@@ -945,11 +1143,6 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
945
1143
|
category: z.ZodString;
|
|
946
1144
|
revision_digest: z.ZodString;
|
|
947
1145
|
provenance: z.ZodObject<{
|
|
948
|
-
tier: z.ZodEnum<{
|
|
949
|
-
observed: "observed";
|
|
950
|
-
signed: "signed";
|
|
951
|
-
verified: "verified";
|
|
952
|
-
}>;
|
|
953
1146
|
freshness: z.ZodEnum<{
|
|
954
1147
|
unknown: "unknown";
|
|
955
1148
|
fresh: "fresh";
|
|
@@ -986,9 +1179,24 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
986
1179
|
stale: "stale";
|
|
987
1180
|
}>;
|
|
988
1181
|
}, z.core.$strict>>;
|
|
989
|
-
|
|
990
|
-
|
|
1182
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1183
|
+
status: z.ZodLiteral<"none">;
|
|
1184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1185
|
+
status: z.ZodLiteral<"current">;
|
|
1186
|
+
event_id: z.ZodString;
|
|
1187
|
+
attested_at: z.ZodISODateTime;
|
|
1188
|
+
}, z.core.$strict>], "status">;
|
|
991
1189
|
}, z.core.$strict>;
|
|
1190
|
+
identity_assurance: z.ZodOptional<z.ZodObject<{
|
|
1191
|
+
status: z.ZodLiteral<"verified">;
|
|
1192
|
+
assurance_id: z.ZodString;
|
|
1193
|
+
verified_at: z.ZodISODateTime;
|
|
1194
|
+
identity_epoch_digest: z.ZodString;
|
|
1195
|
+
method_policy_digest: z.ZodString;
|
|
1196
|
+
coverage_policy_digest: z.ZodString;
|
|
1197
|
+
event_id: z.ZodString;
|
|
1198
|
+
receipt_digest: z.ZodString;
|
|
1199
|
+
}, z.core.$strict>>;
|
|
992
1200
|
programs: z.ZodArray<z.ZodObject<{
|
|
993
1201
|
program_id: z.ZodString;
|
|
994
1202
|
slug: z.ZodString;
|
|
@@ -996,11 +1204,6 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
996
1204
|
summary: z.ZodOptional<z.ZodString>;
|
|
997
1205
|
revision_digest: z.ZodString;
|
|
998
1206
|
provenance: z.ZodObject<{
|
|
999
|
-
tier: z.ZodEnum<{
|
|
1000
|
-
observed: "observed";
|
|
1001
|
-
signed: "signed";
|
|
1002
|
-
verified: "verified";
|
|
1003
|
-
}>;
|
|
1004
1207
|
freshness: z.ZodEnum<{
|
|
1005
1208
|
unknown: "unknown";
|
|
1006
1209
|
fresh: "fresh";
|
|
@@ -1037,8 +1240,13 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
1037
1240
|
stale: "stale";
|
|
1038
1241
|
}>;
|
|
1039
1242
|
}, z.core.$strict>>;
|
|
1040
|
-
|
|
1041
|
-
|
|
1243
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1244
|
+
status: z.ZodLiteral<"none">;
|
|
1245
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1246
|
+
status: z.ZodLiteral<"current">;
|
|
1247
|
+
event_id: z.ZodString;
|
|
1248
|
+
attested_at: z.ZodISODateTime;
|
|
1249
|
+
}, z.core.$strict>], "status">;
|
|
1042
1250
|
}, z.core.$strict>;
|
|
1043
1251
|
}, z.core.$strict>>;
|
|
1044
1252
|
offers: z.ZodArray<z.ZodObject<{
|
|
@@ -1261,11 +1469,6 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
1261
1469
|
effective_until: z.ZodOptional<z.ZodISODateTime>;
|
|
1262
1470
|
revision_digest: z.ZodString;
|
|
1263
1471
|
provenance: z.ZodObject<{
|
|
1264
|
-
tier: z.ZodEnum<{
|
|
1265
|
-
observed: "observed";
|
|
1266
|
-
signed: "signed";
|
|
1267
|
-
verified: "verified";
|
|
1268
|
-
}>;
|
|
1269
1472
|
freshness: z.ZodEnum<{
|
|
1270
1473
|
unknown: "unknown";
|
|
1271
1474
|
fresh: "fresh";
|
|
@@ -1302,9 +1505,177 @@ export declare const catalogDeltaEntityObjectSchema: z.ZodObject<{
|
|
|
1302
1505
|
stale: "stale";
|
|
1303
1506
|
}>;
|
|
1304
1507
|
}, z.core.$strict>>;
|
|
1305
|
-
|
|
1306
|
-
|
|
1508
|
+
vendor_attestation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1509
|
+
status: z.ZodLiteral<"none">;
|
|
1510
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1511
|
+
status: z.ZodLiteral<"current">;
|
|
1512
|
+
event_id: z.ZodString;
|
|
1513
|
+
attested_at: z.ZodISODateTime;
|
|
1514
|
+
}, z.core.$strict>], "status">;
|
|
1307
1515
|
}, z.core.$strict>;
|
|
1516
|
+
terms_assurance: z.ZodOptional<z.ZodObject<{
|
|
1517
|
+
status: z.ZodLiteral<"checked">;
|
|
1518
|
+
assurance_id: z.ZodString;
|
|
1519
|
+
checked_at: z.ZodISODateTime;
|
|
1520
|
+
revision_digest: z.ZodString;
|
|
1521
|
+
method_policy_digest: z.ZodString;
|
|
1522
|
+
coverage_policy_digest: z.ZodString;
|
|
1523
|
+
event_id: z.ZodString;
|
|
1524
|
+
receipt_digest: z.ZodString;
|
|
1525
|
+
}, z.core.$strict>>;
|
|
1526
|
+
headline: z.ZodOptional<z.ZodObject<{
|
|
1527
|
+
rule: z.ZodLiteral<"sourcey.offer-headline/v1">;
|
|
1528
|
+
benefit_id: z.ZodString;
|
|
1529
|
+
basis: z.ZodEnum<{
|
|
1530
|
+
typed: "typed";
|
|
1531
|
+
described: "described";
|
|
1532
|
+
}>;
|
|
1533
|
+
figure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1534
|
+
kind: z.ZodLiteral<"credit">;
|
|
1535
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1536
|
+
kind: z.ZodLiteral<"exact">;
|
|
1537
|
+
amount: z.ZodObject<{
|
|
1538
|
+
currency: z.ZodString;
|
|
1539
|
+
minor_units: z.ZodNumber;
|
|
1540
|
+
}, z.core.$strict>;
|
|
1541
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1542
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1543
|
+
amount: z.ZodObject<{
|
|
1544
|
+
currency: z.ZodString;
|
|
1545
|
+
minor_units: z.ZodNumber;
|
|
1546
|
+
}, z.core.$strict>;
|
|
1547
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1548
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1549
|
+
amount: z.ZodObject<{
|
|
1550
|
+
currency: z.ZodString;
|
|
1551
|
+
minor_units: z.ZodNumber;
|
|
1552
|
+
}, z.core.$strict>;
|
|
1553
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1554
|
+
kind: z.ZodLiteral<"range">;
|
|
1555
|
+
minimum: z.ZodObject<{
|
|
1556
|
+
currency: z.ZodString;
|
|
1557
|
+
minor_units: z.ZodNumber;
|
|
1558
|
+
}, z.core.$strict>;
|
|
1559
|
+
maximum: z.ZodObject<{
|
|
1560
|
+
currency: z.ZodString;
|
|
1561
|
+
minor_units: z.ZodNumber;
|
|
1562
|
+
}, z.core.$strict>;
|
|
1563
|
+
}, z.core.$strict>], "kind">;
|
|
1564
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1565
|
+
kind: z.ZodLiteral<"exact">;
|
|
1566
|
+
value: z.ZodString;
|
|
1567
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1568
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1569
|
+
value: z.ZodString;
|
|
1570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1571
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1572
|
+
value: z.ZodString;
|
|
1573
|
+
}, z.core.$strict>], "kind">>;
|
|
1574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1575
|
+
kind: z.ZodLiteral<"discount">;
|
|
1576
|
+
percentage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1577
|
+
kind: z.ZodLiteral<"exact">;
|
|
1578
|
+
basis_points: z.ZodNumber;
|
|
1579
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1580
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1581
|
+
basis_points: z.ZodNumber;
|
|
1582
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1583
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1584
|
+
basis_points: z.ZodNumber;
|
|
1585
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1586
|
+
kind: z.ZodLiteral<"range">;
|
|
1587
|
+
minimum_basis_points: z.ZodNumber;
|
|
1588
|
+
maximum_basis_points: z.ZodNumber;
|
|
1589
|
+
}, z.core.$strict>], "kind">;
|
|
1590
|
+
applies_to: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1592
|
+
kind: z.ZodLiteral<"exact">;
|
|
1593
|
+
value: z.ZodString;
|
|
1594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1595
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1596
|
+
value: z.ZodString;
|
|
1597
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1598
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1599
|
+
value: z.ZodString;
|
|
1600
|
+
}, z.core.$strict>], "kind">>;
|
|
1601
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1602
|
+
kind: z.ZodLiteral<"cashback">;
|
|
1603
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1604
|
+
kind: z.ZodLiteral<"money">;
|
|
1605
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1606
|
+
kind: z.ZodLiteral<"exact">;
|
|
1607
|
+
amount: z.ZodObject<{
|
|
1608
|
+
currency: z.ZodString;
|
|
1609
|
+
minor_units: z.ZodNumber;
|
|
1610
|
+
}, z.core.$strict>;
|
|
1611
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1612
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1613
|
+
amount: z.ZodObject<{
|
|
1614
|
+
currency: z.ZodString;
|
|
1615
|
+
minor_units: z.ZodNumber;
|
|
1616
|
+
}, z.core.$strict>;
|
|
1617
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1618
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1619
|
+
amount: z.ZodObject<{
|
|
1620
|
+
currency: z.ZodString;
|
|
1621
|
+
minor_units: z.ZodNumber;
|
|
1622
|
+
}, z.core.$strict>;
|
|
1623
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1624
|
+
kind: z.ZodLiteral<"range">;
|
|
1625
|
+
minimum: z.ZodObject<{
|
|
1626
|
+
currency: z.ZodString;
|
|
1627
|
+
minor_units: z.ZodNumber;
|
|
1628
|
+
}, z.core.$strict>;
|
|
1629
|
+
maximum: z.ZodObject<{
|
|
1630
|
+
currency: z.ZodString;
|
|
1631
|
+
minor_units: z.ZodNumber;
|
|
1632
|
+
}, z.core.$strict>;
|
|
1633
|
+
}, z.core.$strict>], "kind">;
|
|
1634
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1635
|
+
kind: z.ZodLiteral<"percentage">;
|
|
1636
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1637
|
+
kind: z.ZodLiteral<"exact">;
|
|
1638
|
+
basis_points: z.ZodNumber;
|
|
1639
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1640
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1641
|
+
basis_points: z.ZodNumber;
|
|
1642
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1643
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1644
|
+
basis_points: z.ZodNumber;
|
|
1645
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1646
|
+
kind: z.ZodLiteral<"range">;
|
|
1647
|
+
minimum_basis_points: z.ZodNumber;
|
|
1648
|
+
maximum_basis_points: z.ZodNumber;
|
|
1649
|
+
}, z.core.$strict>], "kind">;
|
|
1650
|
+
}, z.core.$strict>], "kind">;
|
|
1651
|
+
duration: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1652
|
+
kind: z.ZodLiteral<"exact">;
|
|
1653
|
+
value: z.ZodString;
|
|
1654
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1655
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1656
|
+
value: z.ZodString;
|
|
1657
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1658
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1659
|
+
value: z.ZodString;
|
|
1660
|
+
}, z.core.$strict>], "kind">>;
|
|
1661
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1662
|
+
kind: z.ZodLiteral<"free-service">;
|
|
1663
|
+
service: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1665
|
+
kind: z.ZodLiteral<"exact">;
|
|
1666
|
+
value: z.ZodString;
|
|
1667
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1668
|
+
kind: z.ZodLiteral<"up-to">;
|
|
1669
|
+
value: z.ZodString;
|
|
1670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1671
|
+
kind: z.ZodLiteral<"at-least">;
|
|
1672
|
+
value: z.ZodString;
|
|
1673
|
+
}, z.core.$strict>], "kind">;
|
|
1674
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1675
|
+
kind: z.ZodLiteral<"waiver">;
|
|
1676
|
+
waived_item: z.ZodString;
|
|
1677
|
+
}, z.core.$strict>], "kind">;
|
|
1678
|
+
}, z.core.$strict>>;
|
|
1308
1679
|
}, z.core.$strict>>;
|
|
1309
1680
|
}, z.core.$strict>>;
|
|
1310
1681
|
}, z.core.$strict>;
|
|
@@ -1911,6 +2282,8 @@ export declare const catalogReleaseBundleSchema: z.ZodObject<{
|
|
|
1911
2282
|
}, z.core.$strict>>;
|
|
1912
2283
|
bundle_digest: z.ZodString;
|
|
1913
2284
|
}, z.core.$strict>;
|
|
2285
|
+
/** Verifies the immutable bundle envelope; evidence admission is separate. */
|
|
2286
|
+
export declare function verifyCatalogReleaseBundle(input: unknown): CatalogReleaseBundle;
|
|
1914
2287
|
/**
|
|
1915
2288
|
* Stable current-parent metadata used by publication planning. Immutable bundle
|
|
1916
2289
|
* bytes remain verifier-bound audit evidence and are never a runtime parent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../contracts/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AAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { DIGEST_PATTERN, digestPathSegment, ENTITY_ID_PATTERN, IDENTIFIER_PATTERN, } from "../../../modules/primitives/src/index.js";
|
|
2
|
+
import { digest as canonicalDigest, DIGEST_PATTERN, digestPathSegment, ENTITY_ID_PATTERN, IDENTIFIER_PATTERN, } from "../../../modules/primitives/src/index.js";
|
|
3
3
|
import { canonicalArtifactCoreSchema, compiledEntitySchema, identityIndexSchema, provenanceIndexSchema, } from "../../artifact/src/index.js";
|
|
4
4
|
import { entityAuthoringSchema } from "../../authoring/src/index.js";
|
|
5
5
|
import { protectedSignatureSchema } from "../../authority/src/index.js";
|
|
@@ -45,6 +45,44 @@ export const releaseObjectManifestSchema = z
|
|
|
45
45
|
* so a new capability does not change the release envelope shape.
|
|
46
46
|
*/
|
|
47
47
|
export const releaseResourceDigestsSchema = z.record(resourceName, digest);
|
|
48
|
+
export const releasePolicyInputsSchema = z
|
|
49
|
+
.object({
|
|
50
|
+
input_contract: z.literal("sourcey.policy-inputs/v1alpha1"),
|
|
51
|
+
agent_readiness_policy_digest: digest,
|
|
52
|
+
assurance_method_policy_digest: digest,
|
|
53
|
+
coverage_policy_digest: digest,
|
|
54
|
+
freshness_policy_digest: digest,
|
|
55
|
+
public_policy_digests: z.array(digest).superRefine((values, context) => {
|
|
56
|
+
const canonical = [...new Set(values)].sort();
|
|
57
|
+
if (canonical.length !== values.length ||
|
|
58
|
+
values.some((value, index) => value !== canonical[index])) {
|
|
59
|
+
context.addIssue({
|
|
60
|
+
code: "custom",
|
|
61
|
+
message: "Public policy digests must be canonical and unique.",
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}),
|
|
65
|
+
})
|
|
66
|
+
.strict();
|
|
67
|
+
/** One immutable source of production policy paths shared by release and evidence runtimes. */
|
|
68
|
+
export const productionReleaseConfigurationSchema = z
|
|
69
|
+
.object({
|
|
70
|
+
configuration_contract: z.literal("sourcey.production-release-configuration/v1alpha1"),
|
|
71
|
+
policy_as_of: instant,
|
|
72
|
+
paths: z
|
|
73
|
+
.object({
|
|
74
|
+
taxonomy: z.string().min(1),
|
|
75
|
+
root_set: z.string().min(1),
|
|
76
|
+
signer_registry: z.string().min(1),
|
|
77
|
+
agent_readiness_policy: z.string().min(1),
|
|
78
|
+
assurance_method_policy: z.string().min(1),
|
|
79
|
+
coverage_policy: z.string().min(1),
|
|
80
|
+
freshness_policy: z.string().min(1),
|
|
81
|
+
public_policy_root: z.string().min(1),
|
|
82
|
+
})
|
|
83
|
+
.strict(),
|
|
84
|
+
})
|
|
85
|
+
.strict();
|
|
48
86
|
export const RELEASE_RESOURCES = {
|
|
49
87
|
agentReadinessIndex: "agent-readiness-index",
|
|
50
88
|
agentReadinessInputs: "agent-readiness-inputs",
|
|
@@ -54,6 +92,7 @@ export const RELEASE_RESOURCES = {
|
|
|
54
92
|
assetIndex: "asset-index",
|
|
55
93
|
assetInputs: "asset-inputs",
|
|
56
94
|
assetManifest: "asset-manifest",
|
|
95
|
+
assuranceMethodPolicy: "assurance-method-policy",
|
|
57
96
|
coveragePolicy: "coverage-policy",
|
|
58
97
|
freshnessPolicy: "freshness-policy",
|
|
59
98
|
identities: "identities",
|
|
@@ -215,6 +254,15 @@ export const catalogReleaseBundleSchema = catalogReleaseBundleCoreSchema
|
|
|
215
254
|
bundle_digest: digest,
|
|
216
255
|
})
|
|
217
256
|
.strict();
|
|
257
|
+
/** Verifies the immutable bundle envelope; evidence admission is separate. */
|
|
258
|
+
export function verifyCatalogReleaseBundle(input) {
|
|
259
|
+
const bundle = catalogReleaseBundleSchema.parse(input);
|
|
260
|
+
const { bundle_digest: bundleDigest, ...core } = bundle;
|
|
261
|
+
if (canonicalDigest(core) !== bundleDigest) {
|
|
262
|
+
throw new Error("Release bundle digest does not match its canonical core.");
|
|
263
|
+
}
|
|
264
|
+
return bundle;
|
|
265
|
+
}
|
|
218
266
|
/**
|
|
219
267
|
* Stable current-parent metadata used by publication planning. Immutable bundle
|
|
220
268
|
* bytes remain verifier-bound audit evidence and are never a runtime parent
|