@xemahq/contracts 0.82.0 → 0.84.0
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/.source-stamp.json +2 -2
- package/dist/address/lib/resource-instance-address.d.ts.map +1 -1
- package/dist/address/lib/resource-instance-address.js.map +1 -1
- package/dist/agent-composition/lib/agent-ref-resolution.d.ts.map +1 -1
- package/dist/agent-composition/lib/agent-ref-resolution.js.map +1 -1
- package/dist/agent-composition/lib/agent.d.ts.map +1 -1
- package/dist/agent-composition/lib/agent.js.map +1 -1
- package/dist/agent-session/lib/lifecycle.d.ts +1 -1
- package/dist/biome/lib/biome-component.d.ts +24 -0
- package/dist/biome/lib/biome-component.d.ts.map +1 -1
- package/dist/biome/lib/biome-component.js +69 -14
- package/dist/biome/lib/biome-component.js.map +1 -1
- package/dist/biome/lib/biome-kind.d.ts.map +1 -1
- package/dist/biome/lib/biome-kind.js.map +1 -1
- package/dist/biome/lib/biome-manifest.d.ts +94 -0
- package/dist/biome/lib/biome-manifest.d.ts.map +1 -1
- package/dist/biome/lib/biome-manifest.js +26 -1
- package/dist/biome/lib/biome-manifest.js.map +1 -1
- package/dist/biome/xema-biome.schema.json +214 -2
- package/dist/biome-catalog/lib/biome-permission-digest.d.ts +18 -0
- package/dist/biome-catalog/lib/biome-permission-digest.d.ts.map +1 -1
- package/dist/biome-catalog/lib/biome-permission-digest.js +14 -0
- package/dist/biome-catalog/lib/biome-permission-digest.js.map +1 -1
- package/dist/biome-dependency/lib/peer-seam-table.d.ts.map +1 -1
- package/dist/biome-dependency/lib/peer-seam-table.js +18 -0
- package/dist/biome-dependency/lib/peer-seam-table.js.map +1 -1
- package/dist/caller-context/index.d.ts +2 -0
- package/dist/caller-context/index.d.ts.map +1 -1
- package/dist/caller-context/index.js +2 -0
- package/dist/caller-context/index.js.map +1 -1
- package/dist/caller-context/lib/acting-chain.d.ts +20 -0
- package/dist/caller-context/lib/acting-chain.d.ts.map +1 -0
- package/dist/caller-context/lib/acting-chain.js +46 -0
- package/dist/caller-context/lib/acting-chain.js.map +1 -0
- package/dist/caller-context/lib/org-authority.d.ts.map +1 -1
- package/dist/caller-context/lib/org-authority.js.map +1 -1
- package/dist/caller-context/lib/platform-sweep.d.ts +5 -1
- package/dist/caller-context/lib/platform-sweep.d.ts.map +1 -1
- package/dist/caller-context/lib/platform-sweep.js +10 -0
- package/dist/caller-context/lib/platform-sweep.js.map +1 -1
- package/dist/caller-context/lib/request-context.d.ts +2 -0
- package/dist/caller-context/lib/request-context.d.ts.map +1 -1
- package/dist/caller-context/lib/request-context.js.map +1 -1
- package/dist/caller-context/lib/workflow-step-credential.d.ts +120 -0
- package/dist/caller-context/lib/workflow-step-credential.d.ts.map +1 -0
- package/dist/caller-context/lib/workflow-step-credential.js +169 -0
- package/dist/caller-context/lib/workflow-step-credential.js.map +1 -0
- package/dist/capability/index.d.ts +3 -3
- package/dist/capability/index.d.ts.map +1 -1
- package/dist/capability/index.js +3 -3
- package/dist/capability/index.js.map +1 -1
- package/dist/capability/lib/capability-aperture.js +1 -1
- package/dist/capability/lib/capability-aperture.js.map +1 -1
- package/dist/capability/lib/capability-caller-constraint.d.ts +23 -0
- package/dist/capability/lib/capability-caller-constraint.d.ts.map +1 -0
- package/dist/capability/lib/capability-caller-constraint.js +45 -0
- package/dist/capability/lib/capability-caller-constraint.js.map +1 -0
- package/dist/capability/lib/capability-contribution.d.ts +3 -0
- package/dist/capability/lib/capability-contribution.d.ts.map +1 -1
- package/dist/capability/lib/capability-contribution.js +11 -0
- package/dist/capability/lib/capability-contribution.js.map +1 -1
- package/dist/capability/lib/capability-ref-error.d.ts +12 -0
- package/dist/capability/lib/capability-ref-error.d.ts.map +1 -0
- package/dist/capability/lib/capability-ref-error.js +18 -0
- package/dist/capability/lib/capability-ref-error.js.map +1 -0
- package/dist/capability/lib/capability-ref.js +7 -7
- package/dist/capability/lib/capability-ref.js.map +1 -1
- package/dist/capability/lib/connector-capability-ref.js +4 -4
- package/dist/capability/lib/connector-capability-ref.js.map +1 -1
- package/dist/capability-domain/index.d.ts +2 -0
- package/dist/capability-domain/index.d.ts.map +1 -0
- package/dist/capability-domain/index.js +18 -0
- package/dist/capability-domain/index.js.map +1 -0
- package/dist/capability-domain/lib/capability-domain.d.ts.map +1 -0
- package/dist/capability-domain/lib/capability-domain.js.map +1 -0
- package/dist/capability-error/index.d.ts +3 -0
- package/dist/capability-error/index.d.ts.map +1 -0
- package/dist/capability-error/index.js +19 -0
- package/dist/capability-error/index.js.map +1 -0
- package/dist/capability-error/lib/capability-invocation-descriptor.d.ts.map +1 -0
- package/dist/{capability → capability-error}/lib/capability-invocation-descriptor.js +2 -2
- package/dist/capability-error/lib/capability-invocation-descriptor.js.map +1 -0
- package/dist/{capability → capability-error}/lib/errors.d.ts +3 -7
- package/dist/capability-error/lib/errors.d.ts.map +1 -0
- package/dist/{capability → capability-error}/lib/errors.js +4 -12
- package/dist/capability-error/lib/errors.js.map +1 -0
- package/dist/capability-projection/lib/projected-capability.d.ts +1 -0
- package/dist/capability-projection/lib/projected-capability.d.ts.map +1 -1
- package/dist/conformance/customer-edition-definition.vectors.json +987 -0
- package/dist/conformance/edition-source-pins.vectors.json +298 -0
- package/dist/conformance/optional-operation-admission.vectors.json +44 -0
- package/dist/conformance/verify-store-package.vectors.json +2081 -0
- package/dist/connector/index.d.ts +2 -0
- package/dist/connector/index.d.ts.map +1 -1
- package/dist/connector/index.js +2 -0
- package/dist/connector/index.js.map +1 -1
- package/dist/connector/lib/connector-adapter-contribution.d.ts +10 -3
- package/dist/connector/lib/connector-adapter-contribution.d.ts.map +1 -1
- package/dist/connector/lib/connector-adapter-contribution.js +78 -21
- package/dist/connector/lib/connector-adapter-contribution.js.map +1 -1
- package/dist/connector/lib/connector-endpoint-source-declaration.d.ts +19 -0
- package/dist/connector/lib/connector-endpoint-source-declaration.d.ts.map +1 -0
- package/dist/connector/lib/connector-endpoint-source-declaration.js +50 -0
- package/dist/connector/lib/connector-endpoint-source-declaration.js.map +1 -0
- package/dist/connector/lib/connector-endpoint-source.d.ts +5 -0
- package/dist/connector/lib/connector-endpoint-source.d.ts.map +1 -0
- package/dist/connector/lib/connector-endpoint-source.js +9 -0
- package/dist/connector/lib/connector-endpoint-source.js.map +1 -0
- package/dist/connector/lib/provider-descriptor.d.ts.map +1 -1
- package/dist/connector/lib/provider-descriptor.js.map +1 -1
- package/dist/contribution/lib/contribution-kind.d.ts.map +1 -1
- package/dist/contribution/lib/contribution-kind.js.map +1 -1
- package/dist/contribution/lib/sync.d.ts +6 -2
- package/dist/contribution/lib/sync.d.ts.map +1 -1
- package/dist/contribution/lib/sync.js +26 -6
- package/dist/contribution/lib/sync.js.map +1 -1
- package/dist/deployment/index.d.ts +6 -0
- package/dist/deployment/index.d.ts.map +1 -1
- package/dist/deployment/index.js +6 -0
- package/dist/deployment/index.js.map +1 -1
- package/dist/deployment/lib/artifact-signer-trust.d.ts +71 -9
- package/dist/deployment/lib/artifact-signer-trust.d.ts.map +1 -1
- package/dist/deployment/lib/artifact-signer-trust.js +228 -16
- package/dist/deployment/lib/artifact-signer-trust.js.map +1 -1
- package/dist/deployment/lib/code-unit-order.d.ts +2 -0
- package/dist/deployment/lib/code-unit-order.d.ts.map +1 -0
- package/dist/deployment/lib/code-unit-order.js +7 -0
- package/dist/deployment/lib/code-unit-order.js.map +1 -0
- package/dist/deployment/lib/event-subscription-grant.d.ts +46 -0
- package/dist/deployment/lib/event-subscription-grant.d.ts.map +1 -0
- package/dist/deployment/lib/event-subscription-grant.js +52 -0
- package/dist/deployment/lib/event-subscription-grant.js.map +1 -0
- package/dist/deployment/lib/installed-event-subscription-grant.d.ts +60 -0
- package/dist/deployment/lib/installed-event-subscription-grant.d.ts.map +1 -0
- package/dist/deployment/lib/installed-event-subscription-grant.js +107 -0
- package/dist/deployment/lib/installed-event-subscription-grant.js.map +1 -0
- package/dist/deployment/lib/installed-workload-grant.d.ts +80 -0
- package/dist/deployment/lib/installed-workload-grant.d.ts.map +1 -0
- package/dist/deployment/lib/installed-workload-grant.js +119 -0
- package/dist/deployment/lib/installed-workload-grant.js.map +1 -0
- package/dist/deployment/lib/operation-grant.d.ts +19 -0
- package/dist/deployment/lib/operation-grant.d.ts.map +1 -1
- package/dist/deployment/lib/operation-grant.js +18 -9
- package/dist/deployment/lib/operation-grant.js.map +1 -1
- package/dist/deployment/lib/org-context-relay.d.ts +10 -0
- package/dist/deployment/lib/org-context-relay.d.ts.map +1 -0
- package/dist/deployment/lib/org-context-relay.js +22 -0
- package/dist/deployment/lib/org-context-relay.js.map +1 -0
- package/dist/deployment/lib/organization-sweep-grant.d.ts.map +1 -1
- package/dist/deployment/lib/organization-sweep-grant.js +4 -6
- package/dist/deployment/lib/organization-sweep-grant.js.map +1 -1
- package/dist/deployment/lib/platform-sweep.d.ts +3 -1
- package/dist/deployment/lib/platform-sweep.d.ts.map +1 -1
- package/dist/deployment/lib/platform-sweep.js +17 -1
- package/dist/deployment/lib/platform-sweep.js.map +1 -1
- package/dist/deployment/lib/resolved-deployment.d.ts +121 -2
- package/dist/deployment/lib/resolved-deployment.d.ts.map +1 -1
- package/dist/deployment/lib/resolved-deployment.js +140 -13
- package/dist/deployment/lib/resolved-deployment.js.map +1 -1
- package/dist/deployment/lib/store-event-ceiling.d.ts +43 -0
- package/dist/deployment/lib/store-event-ceiling.d.ts.map +1 -0
- package/dist/deployment/lib/store-event-ceiling.js +80 -0
- package/dist/deployment/lib/store-event-ceiling.js.map +1 -0
- package/dist/deployment/lib/store-workload-grant-ceiling.d.ts +59 -0
- package/dist/deployment/lib/store-workload-grant-ceiling.d.ts.map +1 -0
- package/dist/deployment/lib/store-workload-grant-ceiling.js +102 -0
- package/dist/deployment/lib/store-workload-grant-ceiling.js.map +1 -0
- package/dist/distribution/index.d.ts +9 -0
- package/dist/distribution/index.d.ts.map +1 -1
- package/dist/distribution/index.js +18 -6
- package/dist/distribution/index.js.map +1 -1
- package/dist/distribution/lib/customer-edition-definition.d.ts +8 -1
- package/dist/distribution/lib/customer-edition-definition.d.ts.map +1 -1
- package/dist/distribution/lib/customer-edition-definition.js +51 -2
- package/dist/distribution/lib/customer-edition-definition.js.map +1 -1
- package/dist/distribution/lib/distribution-lock.d.ts +10 -1
- package/dist/distribution/lib/distribution-lock.d.ts.map +1 -1
- package/dist/distribution/lib/distribution-lock.js +38 -11
- package/dist/distribution/lib/distribution-lock.js.map +1 -1
- package/dist/distribution/lib/distribution.d.ts +16 -0
- package/dist/distribution/lib/distribution.d.ts.map +1 -1
- package/dist/distribution/lib/distribution.js +39 -1
- package/dist/distribution/lib/distribution.js.map +1 -1
- package/dist/distribution/lib/event-subscription-admission.d.ts +22 -0
- package/dist/distribution/lib/event-subscription-admission.d.ts.map +1 -0
- package/dist/distribution/lib/event-subscription-admission.js +72 -0
- package/dist/distribution/lib/event-subscription-admission.js.map +1 -0
- package/dist/distribution/lib/image-lock.d.ts.map +1 -1
- package/dist/distribution/lib/image-lock.js +2 -10
- package/dist/distribution/lib/image-lock.js.map +1 -1
- package/dist/distribution/lib/image-producer-evidence.d.ts +114 -10
- package/dist/distribution/lib/image-producer-evidence.d.ts.map +1 -1
- package/dist/distribution/lib/image-producer-evidence.js +78 -31
- package/dist/distribution/lib/image-producer-evidence.js.map +1 -1
- package/dist/distribution/lib/installed-operation-ceiling-admission.d.ts +21 -0
- package/dist/distribution/lib/installed-operation-ceiling-admission.d.ts.map +1 -0
- package/dist/distribution/lib/installed-operation-ceiling-admission.js +54 -0
- package/dist/distribution/lib/installed-operation-ceiling-admission.js.map +1 -0
- package/dist/distribution/lib/kernel-contract-source-paths.d.ts +1 -1
- package/dist/distribution/lib/kernel-contract-source-paths.d.ts.map +1 -1
- package/dist/distribution/lib/kernel-contract-source-paths.js +24 -3
- package/dist/distribution/lib/kernel-contract-source-paths.js.map +1 -1
- package/dist/distribution/lib/operation-grant-admission.d.ts +29 -2
- package/dist/distribution/lib/operation-grant-admission.d.ts.map +1 -1
- package/dist/distribution/lib/operation-grant-admission.js +97 -19
- package/dist/distribution/lib/operation-grant-admission.js.map +1 -1
- package/dist/distribution/lib/org-context-relay-admission.d.ts +19 -0
- package/dist/distribution/lib/org-context-relay-admission.d.ts.map +1 -0
- package/dist/distribution/lib/org-context-relay-admission.js +50 -0
- package/dist/distribution/lib/org-context-relay-admission.js.map +1 -0
- package/dist/distribution/lib/organization-sweep-admission.d.ts +1 -0
- package/dist/distribution/lib/organization-sweep-admission.d.ts.map +1 -1
- package/dist/distribution/lib/organization-sweep-admission.js +4 -0
- package/dist/distribution/lib/organization-sweep-admission.js.map +1 -1
- package/dist/distribution/lib/package-image-lock.d.ts +99 -0
- package/dist/distribution/lib/package-image-lock.d.ts.map +1 -0
- package/dist/distribution/lib/package-image-lock.js +167 -0
- package/dist/distribution/lib/package-image-lock.js.map +1 -0
- package/dist/distribution/lib/package-image-trust.d.ts +36 -0
- package/dist/distribution/lib/package-image-trust.d.ts.map +1 -0
- package/dist/distribution/lib/package-image-trust.js +112 -0
- package/dist/distribution/lib/package-image-trust.js.map +1 -0
- package/dist/distribution/lib/resolve-unsplit-deployment.d.ts.map +1 -1
- package/dist/distribution/lib/resolve-unsplit-deployment.js +31 -0
- package/dist/distribution/lib/resolve-unsplit-deployment.js.map +1 -1
- package/dist/distribution/lib/store-workload-ceiling-admission.d.ts +17 -0
- package/dist/distribution/lib/store-workload-ceiling-admission.d.ts.map +1 -0
- package/dist/distribution/lib/store-workload-ceiling-admission.js +40 -0
- package/dist/distribution/lib/store-workload-ceiling-admission.js.map +1 -0
- package/dist/distribution/lib/store-workload-ceiling.d.ts +6 -0
- package/dist/distribution/lib/store-workload-ceiling.d.ts.map +1 -0
- package/dist/distribution/lib/store-workload-ceiling.js +13 -0
- package/dist/distribution/lib/store-workload-ceiling.js.map +1 -0
- package/dist/distribution/lib/verify-resolved-deployment.d.ts +12 -0
- package/dist/distribution/lib/verify-resolved-deployment.d.ts.map +1 -1
- package/dist/distribution/lib/verify-resolved-deployment.js +148 -4
- package/dist/distribution/lib/verify-resolved-deployment.js.map +1 -1
- package/dist/distribution/server/index.d.ts +8 -0
- package/dist/distribution/server/index.d.ts.map +1 -1
- package/dist/distribution/server/index.js +10 -0
- package/dist/distribution/server/index.js.map +1 -1
- package/dist/edition-protocol/edition-contract.schema.json +1 -1
- package/dist/edition-protocol/edition-protocol.json +1 -1
- package/dist/edition-protocol/lib/edition-protocol.d.ts +1 -1
- package/dist/edition-protocol/lib/edition-protocol.d.ts.map +1 -1
- package/dist/edition-protocol/lib/edition-protocol.js +3 -2
- package/dist/edition-protocol/lib/edition-protocol.js.map +1 -1
- package/dist/event-subscription/index.d.ts +4 -0
- package/dist/event-subscription/index.d.ts.map +1 -0
- package/dist/event-subscription/index.js +20 -0
- package/dist/event-subscription/index.js.map +1 -0
- package/dist/event-subscription/lib/event-subscription-clause.d.ts +61 -0
- package/dist/event-subscription/lib/event-subscription-clause.d.ts.map +1 -0
- package/dist/event-subscription/lib/event-subscription-clause.js +102 -0
- package/dist/event-subscription/lib/event-subscription-clause.js.map +1 -0
- package/dist/event-subscription/lib/event-type-pattern.d.ts +12 -0
- package/dist/event-subscription/lib/event-type-pattern.d.ts.map +1 -0
- package/dist/event-subscription/lib/event-type-pattern.js +47 -0
- package/dist/event-subscription/lib/event-type-pattern.js.map +1 -0
- package/dist/event-subscription/lib/visibility-tier.d.ts +10 -0
- package/dist/event-subscription/lib/visibility-tier.d.ts.map +1 -0
- package/dist/event-subscription/lib/visibility-tier.js +22 -0
- package/dist/event-subscription/lib/visibility-tier.js.map +1 -0
- package/dist/execution-environment/lib/execution-environment.d.ts +4 -2
- package/dist/execution-environment/lib/execution-environment.d.ts.map +1 -1
- package/dist/execution-environment/lib/execution-environment.js +5 -6
- package/dist/execution-environment/lib/execution-environment.js.map +1 -1
- package/dist/http/lib/problem-details.d.ts.map +1 -1
- package/dist/http/lib/problem-details.js.map +1 -1
- package/dist/http/lib/xema-error.d.ts.map +1 -1
- package/dist/http/lib/xema-error.js.map +1 -1
- package/dist/resolved-deployment-fixture/lib/resolved-deployment-fixture.d.ts +21 -1
- package/dist/resolved-deployment-fixture/lib/resolved-deployment-fixture.d.ts.map +1 -1
- package/dist/resolved-deployment-fixture/lib/resolved-deployment-fixture.js +76 -2
- package/dist/resolved-deployment-fixture/lib/resolved-deployment-fixture.js.map +1 -1
- package/dist/resource/lib/resource-kind.d.ts +7 -1
- package/dist/resource/lib/resource-kind.d.ts.map +1 -1
- package/dist/resource/lib/resource-kind.js +6 -0
- package/dist/resource/lib/resource-kind.js.map +1 -1
- package/dist/resource-accounting/index.d.ts +0 -1
- package/dist/resource-accounting/index.d.ts.map +1 -1
- package/dist/resource-accounting/index.js +0 -1
- package/dist/resource-accounting/index.js.map +1 -1
- package/dist/resource-accounting/lib/producer.d.ts +0 -2
- package/dist/resource-accounting/lib/producer.d.ts.map +1 -1
- package/dist/resource-accounting/lib/producer.js +0 -1
- package/dist/resource-accounting/lib/producer.js.map +1 -1
- package/dist/revision-target/lib/revision-target.d.ts +10 -4
- package/dist/revision-target/lib/revision-target.d.ts.map +1 -1
- package/dist/revision-target/lib/revision-target.js +26 -5
- package/dist/revision-target/lib/revision-target.js.map +1 -1
- package/dist/setting/index.d.ts +1 -0
- package/dist/setting/index.d.ts.map +1 -1
- package/dist/setting/index.js +1 -0
- package/dist/setting/index.js.map +1 -1
- package/dist/setting/lib/setting-lifecycle.d.ts +33 -0
- package/dist/setting/lib/setting-lifecycle.d.ts.map +1 -0
- package/dist/setting/lib/setting-lifecycle.js +64 -0
- package/dist/setting/lib/setting-lifecycle.js.map +1 -0
- package/dist/store-package/index.d.ts +3 -0
- package/dist/store-package/index.d.ts.map +1 -0
- package/dist/store-package/index.js +10 -0
- package/dist/store-package/index.js.map +1 -0
- package/dist/store-package/lib/store-package-signatures.d.ts +22 -0
- package/dist/store-package/lib/store-package-signatures.d.ts.map +1 -0
- package/dist/store-package/lib/store-package-signatures.js +51 -0
- package/dist/store-package/lib/store-package-signatures.js.map +1 -0
- package/dist/store-package/lib/store-package-verdict.d.ts +50 -0
- package/dist/store-package/lib/store-package-verdict.d.ts.map +1 -0
- package/dist/store-package/lib/store-package-verdict.js +28 -0
- package/dist/store-package/lib/store-package-verdict.js.map +1 -0
- package/dist/store-package/server/index.d.ts +17 -0
- package/dist/store-package/server/index.d.ts.map +1 -0
- package/dist/store-package/server/index.js +66 -0
- package/dist/store-package/server/index.js.map +1 -0
- package/dist/workflow/lib/compiled-run.d.ts +1 -1
- package/dist/workflow/lib/compiled-run.d.ts.map +1 -1
- package/dist/workflow/lib/enums.d.ts +2 -0
- package/dist/workflow/lib/enums.d.ts.map +1 -1
- package/dist/workflow/lib/enums.js +7 -1
- package/dist/workflow/lib/enums.js.map +1 -1
- package/dist/workflow/lib/errors.d.ts +1 -0
- package/dist/workflow/lib/errors.d.ts.map +1 -1
- package/dist/workflow/lib/errors.js +2 -0
- package/dist/workflow/lib/errors.js.map +1 -1
- package/package.json +14 -3
- package/dist/capability/lib/capability-domain.d.ts.map +0 -1
- package/dist/capability/lib/capability-domain.js.map +0 -1
- package/dist/capability/lib/capability-invocation-descriptor.d.ts.map +0 -1
- package/dist/capability/lib/capability-invocation-descriptor.js.map +0 -1
- package/dist/capability/lib/errors.d.ts.map +0 -1
- package/dist/capability/lib/errors.js.map +0 -1
- package/dist/resource-accounting/lib/reconciliation.d.ts +0 -81
- package/dist/resource-accounting/lib/reconciliation.d.ts.map +0 -1
- package/dist/resource-accounting/lib/reconciliation.js +0 -111
- package/dist/resource-accounting/lib/reconciliation.js.map +0 -1
- /package/dist/{capability → capability-domain}/lib/capability-domain.d.ts +0 -0
- /package/dist/{capability → capability-domain}/lib/capability-domain.js +0 -0
- /package/dist/{capability → capability-error}/lib/capability-invocation-descriptor.d.ts +0 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Conformance vectors for the vendor edition `sourcePins` key. `schema` names the definition schema the vector is parsed with. Every identifier is a fixture name. `issue` is a substring the refusal message carries. Whether a repository exists in the data root, and whether a ref differs from the shared pin, are not schema checks.",
|
|
3
|
+
"vectors": [
|
|
4
|
+
{
|
|
5
|
+
"name": "one-pin",
|
|
6
|
+
"schema": "distribution",
|
|
7
|
+
"expect": "accept",
|
|
8
|
+
"why": "A vendor edition holding one repository at an exact commit, with its exit condition.",
|
|
9
|
+
"definition": {
|
|
10
|
+
"schemaVersion": 1,
|
|
11
|
+
"id": "fixture-vendor",
|
|
12
|
+
"displayName": "Fixture vendor edition",
|
|
13
|
+
"requiredPlatforms": [
|
|
14
|
+
"linux/amd64"
|
|
15
|
+
],
|
|
16
|
+
"include": [],
|
|
17
|
+
"sourcePins": [
|
|
18
|
+
{
|
|
19
|
+
"repo": "repos/fixture-service",
|
|
20
|
+
"ref": "0123456789abcdef0123456789abcdef01234567",
|
|
21
|
+
"until": "the fixture fix is released"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "two-pins-graph-repos",
|
|
28
|
+
"schema": "distribution",
|
|
29
|
+
"expect": "accept",
|
|
30
|
+
"why": "repos/ and submodules/ paths, one entry per repository.",
|
|
31
|
+
"definition": {
|
|
32
|
+
"schemaVersion": 1,
|
|
33
|
+
"id": "fixture-vendor",
|
|
34
|
+
"displayName": "Fixture vendor edition",
|
|
35
|
+
"requiredPlatforms": [
|
|
36
|
+
"linux/amd64"
|
|
37
|
+
],
|
|
38
|
+
"include": [],
|
|
39
|
+
"sourcePins": [
|
|
40
|
+
{
|
|
41
|
+
"repo": "repos/fixture-service",
|
|
42
|
+
"ref": "0123456789abcdef0123456789abcdef01234567",
|
|
43
|
+
"until": "the fixture fix is released"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"repo": "submodules/fixture-generic-api",
|
|
47
|
+
"ref": "fedcba9876543210fedcba9876543210fedcba98",
|
|
48
|
+
"until": "the fixture fix is released"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "absent",
|
|
55
|
+
"schema": "distribution",
|
|
56
|
+
"expect": "accept",
|
|
57
|
+
"why": "Absent holds nothing; the key is never defaulted.",
|
|
58
|
+
"definition": {
|
|
59
|
+
"schemaVersion": 1,
|
|
60
|
+
"id": "fixture-vendor",
|
|
61
|
+
"displayName": "Fixture vendor edition",
|
|
62
|
+
"requiredPlatforms": [
|
|
63
|
+
"linux/amd64"
|
|
64
|
+
],
|
|
65
|
+
"include": []
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "empty-list",
|
|
70
|
+
"schema": "distribution",
|
|
71
|
+
"expect": "refuse",
|
|
72
|
+
"why": "An empty list says nothing; omit the key.",
|
|
73
|
+
"issue": "omit the key",
|
|
74
|
+
"definition": {
|
|
75
|
+
"schemaVersion": 1,
|
|
76
|
+
"id": "fixture-vendor",
|
|
77
|
+
"displayName": "Fixture vendor edition",
|
|
78
|
+
"requiredPlatforms": [
|
|
79
|
+
"linux/amd64"
|
|
80
|
+
],
|
|
81
|
+
"include": [],
|
|
82
|
+
"sourcePins": []
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "duplicate-repo",
|
|
87
|
+
"schema": "distribution",
|
|
88
|
+
"expect": "refuse",
|
|
89
|
+
"why": "A repository is held once.",
|
|
90
|
+
"issue": "is pinned twice",
|
|
91
|
+
"definition": {
|
|
92
|
+
"schemaVersion": 1,
|
|
93
|
+
"id": "fixture-vendor",
|
|
94
|
+
"displayName": "Fixture vendor edition",
|
|
95
|
+
"requiredPlatforms": [
|
|
96
|
+
"linux/amd64"
|
|
97
|
+
],
|
|
98
|
+
"include": [],
|
|
99
|
+
"sourcePins": [
|
|
100
|
+
{
|
|
101
|
+
"repo": "repos/fixture-service",
|
|
102
|
+
"ref": "0123456789abcdef0123456789abcdef01234567",
|
|
103
|
+
"until": "the fixture fix is released"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"repo": "repos/fixture-service",
|
|
107
|
+
"ref": "fedcba9876543210fedcba9876543210fedcba98",
|
|
108
|
+
"until": "the fixture fix is released"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "branch-ref",
|
|
115
|
+
"schema": "distribution",
|
|
116
|
+
"expect": "refuse",
|
|
117
|
+
"why": "A branch moves under a lock; only a commit is a hold.",
|
|
118
|
+
"issue": "exact lowercase 40-hex commit",
|
|
119
|
+
"definition": {
|
|
120
|
+
"schemaVersion": 1,
|
|
121
|
+
"id": "fixture-vendor",
|
|
122
|
+
"displayName": "Fixture vendor edition",
|
|
123
|
+
"requiredPlatforms": [
|
|
124
|
+
"linux/amd64"
|
|
125
|
+
],
|
|
126
|
+
"include": [],
|
|
127
|
+
"sourcePins": [
|
|
128
|
+
{
|
|
129
|
+
"repo": "repos/fixture-service",
|
|
130
|
+
"ref": "main",
|
|
131
|
+
"until": "the fixture fix is released"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "abbreviated-ref",
|
|
138
|
+
"schema": "distribution",
|
|
139
|
+
"expect": "refuse",
|
|
140
|
+
"why": "An abbreviation is not a commit id.",
|
|
141
|
+
"issue": "exact lowercase 40-hex commit",
|
|
142
|
+
"definition": {
|
|
143
|
+
"schemaVersion": 1,
|
|
144
|
+
"id": "fixture-vendor",
|
|
145
|
+
"displayName": "Fixture vendor edition",
|
|
146
|
+
"requiredPlatforms": [
|
|
147
|
+
"linux/amd64"
|
|
148
|
+
],
|
|
149
|
+
"include": [],
|
|
150
|
+
"sourcePins": [
|
|
151
|
+
{
|
|
152
|
+
"repo": "repos/fixture-service",
|
|
153
|
+
"ref": "0123456",
|
|
154
|
+
"until": "the fixture fix is released"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "uppercase-ref",
|
|
161
|
+
"schema": "distribution",
|
|
162
|
+
"expect": "refuse",
|
|
163
|
+
"why": "The commit id is lowercase.",
|
|
164
|
+
"issue": "exact lowercase 40-hex commit",
|
|
165
|
+
"definition": {
|
|
166
|
+
"schemaVersion": 1,
|
|
167
|
+
"id": "fixture-vendor",
|
|
168
|
+
"displayName": "Fixture vendor edition",
|
|
169
|
+
"requiredPlatforms": [
|
|
170
|
+
"linux/amd64"
|
|
171
|
+
],
|
|
172
|
+
"include": [],
|
|
173
|
+
"sourcePins": [
|
|
174
|
+
{
|
|
175
|
+
"repo": "repos/fixture-service",
|
|
176
|
+
"ref": "0123456789ABCDEF0123456789ABCDEF01234567",
|
|
177
|
+
"until": "the fixture fix is released"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "missing-until",
|
|
184
|
+
"schema": "distribution",
|
|
185
|
+
"expect": "refuse",
|
|
186
|
+
"why": "A hold states when it ends.",
|
|
187
|
+
"issue": "until",
|
|
188
|
+
"definition": {
|
|
189
|
+
"schemaVersion": 1,
|
|
190
|
+
"id": "fixture-vendor",
|
|
191
|
+
"displayName": "Fixture vendor edition",
|
|
192
|
+
"requiredPlatforms": [
|
|
193
|
+
"linux/amd64"
|
|
194
|
+
],
|
|
195
|
+
"include": [],
|
|
196
|
+
"sourcePins": [
|
|
197
|
+
{
|
|
198
|
+
"repo": "repos/fixture-service",
|
|
199
|
+
"ref": "0123456789abcdef0123456789abcdef01234567"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "blank-until",
|
|
206
|
+
"schema": "distribution",
|
|
207
|
+
"expect": "refuse",
|
|
208
|
+
"why": "A blank exit condition states nothing.",
|
|
209
|
+
"issue": "non-empty text",
|
|
210
|
+
"definition": {
|
|
211
|
+
"schemaVersion": 1,
|
|
212
|
+
"id": "fixture-vendor",
|
|
213
|
+
"displayName": "Fixture vendor edition",
|
|
214
|
+
"requiredPlatforms": [
|
|
215
|
+
"linux/amd64"
|
|
216
|
+
],
|
|
217
|
+
"include": [],
|
|
218
|
+
"sourcePins": [
|
|
219
|
+
{
|
|
220
|
+
"repo": "repos/fixture-service",
|
|
221
|
+
"ref": "0123456789abcdef0123456789abcdef01234567",
|
|
222
|
+
"until": " "
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "not-a-graph-path",
|
|
229
|
+
"schema": "distribution",
|
|
230
|
+
"expect": "refuse",
|
|
231
|
+
"why": "repo is a data-root relative repository path.",
|
|
232
|
+
"issue": "repository path",
|
|
233
|
+
"definition": {
|
|
234
|
+
"schemaVersion": 1,
|
|
235
|
+
"id": "fixture-vendor",
|
|
236
|
+
"displayName": "Fixture vendor edition",
|
|
237
|
+
"requiredPlatforms": [
|
|
238
|
+
"linux/amd64"
|
|
239
|
+
],
|
|
240
|
+
"include": [],
|
|
241
|
+
"sourcePins": [
|
|
242
|
+
{
|
|
243
|
+
"repo": "/abs/repos/fixture-service",
|
|
244
|
+
"ref": "0123456789abcdef0123456789abcdef01234567",
|
|
245
|
+
"until": "the fixture fix is released"
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "unknown-key",
|
|
252
|
+
"schema": "distribution",
|
|
253
|
+
"expect": "refuse",
|
|
254
|
+
"why": "An entry is exactly {repo, ref, until}.",
|
|
255
|
+
"issue": "note",
|
|
256
|
+
"definition": {
|
|
257
|
+
"schemaVersion": 1,
|
|
258
|
+
"id": "fixture-vendor",
|
|
259
|
+
"displayName": "Fixture vendor edition",
|
|
260
|
+
"requiredPlatforms": [
|
|
261
|
+
"linux/amd64"
|
|
262
|
+
],
|
|
263
|
+
"include": [],
|
|
264
|
+
"sourcePins": [
|
|
265
|
+
{
|
|
266
|
+
"repo": "repos/fixture-service",
|
|
267
|
+
"ref": "0123456789abcdef0123456789abcdef01234567",
|
|
268
|
+
"until": "the fixture fix is released",
|
|
269
|
+
"note": "x"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "customer-refuses",
|
|
276
|
+
"schema": "customer",
|
|
277
|
+
"expect": "refuse",
|
|
278
|
+
"why": "sourcePins holds a repository of the vendor graph; a customer definition refuses it.",
|
|
279
|
+
"issue": "sourcePins",
|
|
280
|
+
"definition": {
|
|
281
|
+
"schemaVersion": 1,
|
|
282
|
+
"id": "fixture-vendor",
|
|
283
|
+
"displayName": "Fixture vendor edition",
|
|
284
|
+
"requiredPlatforms": [
|
|
285
|
+
"linux/amd64"
|
|
286
|
+
],
|
|
287
|
+
"include": [],
|
|
288
|
+
"sourcePins": [
|
|
289
|
+
{
|
|
290
|
+
"repo": "repos/fixture-service",
|
|
291
|
+
"ref": "0123456789abcdef0123456789abcdef01234567",
|
|
292
|
+
"until": "the fixture fix is released"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Conformance vectors for optional operation requirements. A `caller` biome with one service declares `requiresOperations` and `optionalOperations`; `lockBiomes` are the other biomes in the lock; `owners` map an operation domain to its owning biome (an owner need not be in the lock). Every admission implementation (kernel-contracts admitOperationGrants and the CLI resolver) must produce `grantedOperations` and `refusals` exactly; `manifestError` marks a manifest the schema must refuse.",
|
|
3
|
+
"vectors": [
|
|
4
|
+
{
|
|
5
|
+
"name": "owner-present-is-granted",
|
|
6
|
+
"caller": { "requiresOperations": [], "optionalOperations": ["billing:invoice.read@1"] },
|
|
7
|
+
"lockBiomes": ["billing"],
|
|
8
|
+
"owners": { "billing": "billing" },
|
|
9
|
+
"manifestError": false,
|
|
10
|
+
"ungrantedOperations": [], "grantedOperations": ["billing:invoice.read@1"],
|
|
11
|
+
"refusals": []
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "owner-absent-is-not-granted-and-not-refused",
|
|
15
|
+
"caller": { "requiresOperations": [], "optionalOperations": ["billing:invoice.read@1"] },
|
|
16
|
+
"lockBiomes": [],
|
|
17
|
+
"owners": { "billing": "billing" },
|
|
18
|
+
"manifestError": false,
|
|
19
|
+
"ungrantedOperations": ["billing:invoice.read@1"], "grantedOperations": [],
|
|
20
|
+
"refusals": []
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "unknown-domain-is-refused",
|
|
24
|
+
"caller": { "requiresOperations": [], "optionalOperations": ["ghost:thing.read@1"] },
|
|
25
|
+
"lockBiomes": ["billing"],
|
|
26
|
+
"owners": { "billing": "billing" },
|
|
27
|
+
"manifestError": false,
|
|
28
|
+
"ungrantedOperations": [], "grantedOperations": [],
|
|
29
|
+
"refusals": [{ "operation": "ghost:thing.read@1", "code": "unowned-domain" }]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "required-and-optional-duplicate-is-refused",
|
|
33
|
+
"caller": {
|
|
34
|
+
"requiresOperations": ["billing:invoice.read@1"],
|
|
35
|
+
"optionalOperations": ["billing:invoice.read@1"]
|
|
36
|
+
},
|
|
37
|
+
"lockBiomes": ["billing"],
|
|
38
|
+
"owners": { "billing": "billing" },
|
|
39
|
+
"manifestError": true,
|
|
40
|
+
"ungrantedOperations": [], "grantedOperations": ["billing:invoice.read@1"],
|
|
41
|
+
"refusals": [{ "operation": "billing:invoice.read@1", "code": "required-and-optional" }]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|